5 references to Diagnostic
Microsoft.CodeAnalysis.Analyzers.UnitTests (2)
MetaAnalyzers\SymbolIsBannedInAnalyzersTests.cs (2)
187
VerifyVB.
Diagnostic
("RS1035").WithSpan(11, 9, 11, 33).WithArguments("File", ": Do not do file IO in analyzers"),
223
VerifyVB.
Diagnostic
("RS1036").WithSpan(6, 7, 6, 27).WithArguments("MyDiagnosticAnalyzer"),
Microsoft.CodeAnalysis.NetAnalyzers.UnitTests (3)
Microsoft.NetCore.Analyzers\Performance\DoNotUseCountWhenAnyCanBeUsedTests.Code.cs (1)
499
Test.Utilities.VisualBasicCodeFixVerifier<TAnalyzer, TCodeFix>.
Diagnostic
(this.DiagnosticId)
Microsoft.NetCore.Analyzers\Performance\PreferDictionaryTryAddOverGuardedAddTests.cs (1)
466
var diagnostic = VerifyVB.
Diagnostic
(PreferDictionaryTryMethodsOverContainsKeyGuardAnalyzer.PreferTryAddRuleId).WithLocation(0).WithLocation(1);
Microsoft.NetCore.Analyzers\Usage\ProvideHttpClientHandlerMaxResponseHeaderLengthValueCorrectlyTests.cs (1)
90
VerifyVB.
Diagnostic
(ProvideHttpClientHandlerMaxResponseHeaderLengthValueCorrectly.RuleId).WithLocation(0).WithArguments(65536)