8 references to Instance
Microsoft.CodeAnalysis.CSharp.Features (6)
ConvertToRawString\ConvertInterpolatedStringToRawStringCodeRefactoringProvider.cs (1)
57
=> CSharpVirtualCharService.
Instance
.TryConvertToVirtualChars(token);
ConvertToRawString\ConvertRegularStringToRawStringCodeRefactoringProvider.cs (2)
53
var characters = CSharpVirtualCharService.
Instance
.TryConvertToVirtualChars(token);
143
var characters = CSharpVirtualCharService.
Instance
.TryConvertToVirtualChars(token);
EmbeddedLanguages\CSharpEmbeddedLanguagesProvider.cs (1)
24
CSharpVirtualCharService.
Instance
);
EmbeddedLanguages\CSharpTestEmbeddedLanguageClassifier.cs (1)
38
var virtualCharsWithMarkup = CSharpVirtualCharService.
Instance
.TryConvertToVirtualChars(token);
src\roslyn\src\Analyzers\CSharp\Analyzers\SimplifyInterpolation\CSharpSimplifyInterpolationDiagnosticAnalyzer.cs (1)
21
protected override IVirtualCharService VirtualCharService => CSharpVirtualCharService.
Instance
;
Microsoft.CodeAnalysis.Features.ExternalAccess (2)
AspNetCore\EmbeddedLanguages\AspNetCoreCSharpVirtualCharService.cs (2)
19
/// <inheritdoc cref="CSharpVirtualCharService.
Instance
"/>
20
public static AspNetCoreCSharpVirtualCharService Instance { get; } = new AspNetCoreCSharpVirtualCharService(CSharpVirtualCharService.
Instance
);