1 instantiation of MockProjectDiagnosticAnalyzer
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
Diagnostics\WorkspaceProjectDiagnosticsTests.cs (1)
67
=> new(ImmutableDictionary<string, ImmutableArray<DiagnosticAnalyzer>>.Empty.Add(LanguageNames.CSharp, [DiagnosticExtensions.GetCompilerDiagnosticAnalyzer(LanguageNames.CSharp), new
MockProjectDiagnosticAnalyzer
()]));
3 references to MockProjectDiagnosticAnalyzer
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (3)
Diagnostics\WorkspaceProjectDiagnosticsTests.cs (3)
32
Assert.Equal(
MockProjectDiagnosticAnalyzer
.Id, results[1].Diagnostics!.Single().Code);
49
Assert.Equal(
MockProjectDiagnosticAnalyzer
.Id, results[1].Diagnostics!.Single().Code);
64
protected override TestComposition Composition => base.Composition.AddParts(typeof(
MockProjectDiagnosticAnalyzer
));