-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
The code fix for WPF0060 produces this code:
/// <summary>Identifies the <see cref="SomeDependencyProperty"/> dependency property.</summary>
public static readonly DependencyProperty SomeDependencyPropertyProperty=
DependencyProperty.Register(nameof(SomeDependencyProperty), typeof(bool), typeof(Whatever), new PropertyMetadata(false));
Reformatting (with R# or any other tool) to
/// <summary>
/// Identifies the <see cref="SomeDependencyProperty" /> dependency property.
/// </summary>
public static readonly DependencyProperty SomeDependencyPropertyProperty=
DependencyProperty.Register(nameof(SomeDependencyProperty), typeof(bool), typeof(Whatever), new PropertyMetadata(false));
triggers the warning again. Even altering the whitespace from the code fix, i.e.
/// <summary> Identifies the <see cref="SomeDependencyProperty"/> dependency property. </summary>
does so.
Whitespace and Newlines shouldn't be triggering the analyzer as long as the string is correct. For comparison SA1624, which is the same for ctor documentation, allows this, as long as the text matches the one required by the analyzer.