1 interface inheriting from IVirtualCharService
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\EmbeddedLanguages\VirtualChars\IVirtualCharLanguageService.cs (1)
9internal interface IVirtualCharLanguageService : IVirtualCharService, ILanguageService
1 implementation of IVirtualCharService
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\AbstractVirtualCharService.cs (1)
14internal abstract partial class AbstractVirtualCharService : IVirtualCharService
27 references to IVirtualCharService
Microsoft.CodeAnalysis.CSharp.EditorFeatures2.UnitTests (2)
EmbeddedLanguages\Json\CSharpJsonParserTests.cs (1)
29private readonly IVirtualCharService _service = CSharpVirtualCharService.Instance;
EmbeddedLanguages\RegularExpressions\CSharpRegexParserTests.cs (1)
30private readonly IVirtualCharService _service = CSharpVirtualCharService.Instance;
Microsoft.CodeAnalysis.CSharp.Features (13)
ConvertBetweenRegularAndVerbatimString\AbstractConvertBetweenRegularAndVerbatimStringCodeRefactoringProvider.cs (6)
32protected abstract TStringExpressionSyntax CreateVerbatimStringExpression(IVirtualCharService charService, StringBuilder sb, TStringExpressionSyntax stringExpression); 33protected abstract TStringExpressionSyntax CreateRegularStringExpression(IVirtualCharService charService, StringBuilder sb, TStringExpressionSyntax stringExpression); 82Func<IVirtualCharService, StringBuilder, TStringExpressionSyntax, TStringExpressionSyntax> convert, 101IVirtualCharService charService, StringBuilder sb, SyntaxToken stringToken) 133IVirtualCharService charService, StringBuilder sb, SyntaxToken stringToken) 157IVirtualCharService charService, ArrayBuilder<SyntaxToken> subTokens)
ConvertBetweenRegularAndVerbatimString\ConvertBetweenRegularAndVerbatimInterpolatedStringCodeRefactoringProvider.cs (4)
45IVirtualCharService charService, StringBuilder sb, InterpolatedStringExpressionSyntax stringExpression, 46SyntaxKind newStartKind, Action<IVirtualCharService, StringBuilder, SyntaxToken> addStringText) 86protected override InterpolatedStringExpressionSyntax CreateVerbatimStringExpression(IVirtualCharService charService, StringBuilder sb, InterpolatedStringExpressionSyntax stringExpression) 90protected override InterpolatedStringExpressionSyntax CreateRegularStringExpression(IVirtualCharService charService, StringBuilder sb, InterpolatedStringExpressionSyntax stringExpression)
ConvertBetweenRegularAndVerbatimString\ConvertBetweenRegularAndVerbatimStringCodeRefactoringProvider.cs (2)
38protected override LiteralExpressionSyntax CreateVerbatimStringExpression(IVirtualCharService charService, StringBuilder sb, LiteralExpressionSyntax stringExpression) 48protected override LiteralExpressionSyntax CreateRegularStringExpression(IVirtualCharService charService, StringBuilder sb, LiteralExpressionSyntax stringExpression)
src\Analyzers\CSharp\Analyzers\SimplifyInterpolation\CSharpSimplifyInterpolationDiagnosticAnalyzer.cs (1)
21protected override IVirtualCharService VirtualCharService => CSharpVirtualCharService.Instance;
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\EmbeddedLanguages\VirtualChars\CSharpVirtualCharService.cs (1)
23public static readonly IVirtualCharService Instance = new CSharpVirtualCharService();
Microsoft.CodeAnalysis.ExternalAccess.AspNetCore (3)
EmbeddedLanguages\AspNetCoreCSharpVirtualCharService.cs (3)
12private readonly IVirtualCharService _virtualCharService; 14private AspNetCoreCSharpVirtualCharService(IVirtualCharService virtualCharService) 22/// <inheritdoc cref="IVirtualCharService.TryConvertToVirtualChars"/>
Microsoft.CodeAnalysis.Features (8)
EmbeddedLanguages\Classification\EmbeddedLanguageClassifierContext.cs (2)
39internal readonly IVirtualCharService VirtualCharService; 48IVirtualCharService virtualCharService,
EmbeddedLanguages\EmbeddedLanguageInfo.cs (2)
18public readonly IVirtualCharService VirtualCharService; 26IVirtualCharService virtualCharService)
src\Analyzers\Core\Analyzers\SimplifyInterpolation\AbstractSimplifyInterpolationDiagnosticAnalyzer.cs (1)
27protected abstract IVirtualCharService VirtualCharService { get; }
src\Analyzers\Core\Analyzers\SimplifyInterpolation\AbstractSimplifyInterpolationHelpers.cs (3)
64IVirtualCharService virtualCharService, 117IVirtualCharService virtualCharService, 243private static TextSpan GetSpanWithinLiteralQuotes(IVirtualCharService virtualCharService, SyntaxToken formatToken)