11 references to Instance
Microsoft.CodeAnalysis.CSharp.EditorFeatures2.UnitTests (2)
EmbeddedLanguages\Json\CSharpJsonParserTests.cs (1)
29private readonly IVirtualCharService _service = CSharpVirtualCharService.Instance;
EmbeddedLanguages\RegularExpressions\CSharpRegexParserTests.cs (1)
28private readonly IVirtualCharService _service = CSharpVirtualCharService.Instance;
Microsoft.CodeAnalysis.CSharp.Features (4)
ConvertToRawString\ConvertRegularStringToRawStringCodeRefactoringProvider.cs (2)
126var characters = CSharpVirtualCharService.Instance.TryConvertToVirtualChars(token); 273var characters = CSharpVirtualCharService.Instance.TryConvertToVirtualChars(token);
CSharpSimplifyInterpolationDiagnosticAnalyzer.cs (1)
21=> CSharpVirtualCharService.Instance;
EmbeddedLanguages\CSharpEmbeddedLanguagesProvider.cs (1)
21CSharpVirtualCharService.Instance);
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (3)
EmbeddedLanguages\VirtualChars\CSharpVirtualCharServiceTests.cs (3)
54var virtualCharsArray = tokens.Select(CSharpVirtualCharService.Instance.TryConvertToVirtualChars); 76var virtualChars = CSharpVirtualCharService.Instance.TryConvertToVirtualChars(token); 125var virtualChars = CSharpVirtualCharService.Instance.TryConvertToVirtualChars(skippedTrivia.Token);
Microsoft.CodeAnalysis.ExternalAccess.AspNetCore (2)
EmbeddedLanguages\AspNetCoreCSharpVirtualCharService.cs (2)
15new AspNetCoreCSharpVirtualCharService(CSharpVirtualCharService.Instance); 24/// <inheritdoc cref="CSharpVirtualCharService.Instance"/>