13 references to VirtualCharGreen
Microsoft.CodeAnalysis.CodeStyle (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\AbstractVirtualCharService.cs (3)
166result.Add(new VirtualCharGreen('"', offset: index, width: 2)); 175result.Add(new VirtualCharGreen(tokenText[index], offset: index, width: width)); 201result.Add(new VirtualCharGreen(ch, offset: index, width: 1));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualChar.cs (1)
59=> new(this.Char, offset, this.Width);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharGreenSequence.Chunks.cs (1)
87=> new(data[index], offset: index, width: 1);
Microsoft.CodeAnalysis.CSharp.CodeStyle (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\EmbeddedLanguages\VirtualChars\CSharpVirtualCharService.cs (8)
274charResults.Add(new VirtualCharGreen(ch, index, braceWidth)); 279charResults.Add(new VirtualCharGreen(ch, index, width: 1)); 351result.Add(new VirtualCharGreen(ch, offset: index, width: 2)); 423result.Add(new VirtualCharGreen((char)uintChar, offset: startIndex, width: 2 + 8)); 435result.Add(new VirtualCharGreen((char)highSurrogate, offset: startIndex, width: prefix.Length)); 436result.Add(new VirtualCharGreen((char)lowSurrogate, offset: startIndex + prefix.Length, width: 4)); 466result.Add(new VirtualCharGreen(character, offset: startIndex, width)); 497result.Add(new VirtualCharGreen(character, offset: startIndex, width));