1 instantiation of VSInternalCommitCharacter
Microsoft.CodeAnalysis.Razor.Workspaces (1)
Completion\VSInternalCompletionItemExtensions.cs (1)
67
commitCharacter =
new
() { Character = c.Character, Insert = c.Insert };
9 references to VSInternalCommitCharacter
Microsoft.CodeAnalysis.LanguageServer.Protocol (3)
Protocol\Internal\Efficiency\OptimizedVSCompletionListJsonConverter.cs (1)
131
else if (vsCompletionItem.VsCommitCharacters?.Value is
VSInternalCommitCharacter
[] augmentedCommitCharacters
Protocol\Internal\VSInternalCompletionItem.cs (1)
45
public SumType<string[],
VSInternalCommitCharacter
[]>? VsCommitCharacters { get; set; }
Protocol\Internal\VSInternalCompletionList.cs (1)
60
public SumType<string[],
VSInternalCommitCharacter
[]>? CommitCharacters { get; set; }
Microsoft.CodeAnalysis.Razor.Workspaces (6)
Completion\CompletionListOptimizer.cs (3)
6
using AliasedVSCommitCharacters = Roslyn.LanguageServer.Protocol.SumType<string[], Roslyn.LanguageServer.Protocol.
VSInternalCommitCharacter
[]>;
160
var
aCommitCharacter = aSecondValue[i];
161
var
bCommitCharacter = bSecondValue[i];
Completion\VSInternalCompletionItemExtensions.cs (3)
14
private static readonly Dictionary<RazorCommitCharacter,
VSInternalCommitCharacter
> s_commitCharacterCache = [];
59
using var builder = new PooledArrayBuilder<
VSInternalCommitCharacter
>(capacity: razorCommitCharacters.Length);
65
if (!s_commitCharacterCache.TryGetValue(c, out
var
commitCharacter))