We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb96274 commit e3bb82aCopy full SHA for e3bb82a
1 file changed
StyleCop.Analyzers/StyleCop.Analyzers.Test/SpecialRules/SA0001UnitTests.cs
@@ -42,7 +42,8 @@ public async Task TestDisabledDocumentationModesAsync(DocumentationMode document
42
}
43
";
44
45
- DiagnosticResult expected = this.CSharpDiagnostic().WithLocation(null, 0, 0);
+ // This diagnostic is reported without a location
46
+ DiagnosticResult expected = this.CSharpDiagnostic();
47
48
this.documentationMode = documentationMode;
49
await this.VerifyCSharpDiagnosticAsync(testCode, expected, CancellationToken.None).ConfigureAwait(false);
0 commit comments