2 references to s_featuresCompositionWithMockDiagnosticUpdateSourceRegistrationService
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
Diagnostics\DiagnosticAnalyzerServiceTests.cs (2)
42
=> new AdhocWorkspace(
s_featuresCompositionWithMockDiagnosticUpdateSourceRegistrationService
.AddParts(additionalParts).GetHostServices());
854
using var workspace = EditorTestWorkspace.CreateCSharp("// This file will get a diagnostic", composition:
s_featuresCompositionWithMockDiagnosticUpdateSourceRegistrationService
.WithTestHostParts(testHost));