We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a8138b commit 070f782Copy full SHA for 070f782
1 file changed
PropertyChangedAnalyzers.Test/HandlesRecursion.cs
@@ -123,7 +123,7 @@ public int P2
123
[TestCaseSource(nameof(AllAnalyzers))]
124
public static void InProperty(DiagnosticAnalyzer analyzer)
125
{
126
- var fooCode = @"
+ var code = @"
127
namespace N
128
129
using System;
@@ -266,13 +266,15 @@ protected virtual void OnPropertyChanged([CallerMemberName] string propertyName
266
}
267
268
}";
269
- _ = Analyze.GetDiagnostics(analyzer, new[] { fooCode });
+
270
+ _ = Analyze.GetDiagnostics(analyzer, code);
271
272
273
274
public static void Repro(DiagnosticAnalyzer analyzer)
275
276
var code = @"
277
+#nullable disable
278
279
280
0 commit comments