2 instantiations of VirtualCharSequence
Microsoft.CodeAnalysis.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.cs (2)
87
=>
new
(_leafCharacters, new TextSpan(_span.Start + span.Start, span.Length));
209
return new
VirtualCharSequence
(
37 references to VirtualCharSequence
Microsoft.CodeAnalysis.CodeStyle (37)
src\Analyzers\Core\Analyzers\SimplifyInterpolation\AbstractSimplifyInterpolationHelpers.cs (1)
185
var
sequence = virtualCharService.TryConvertToVirtualChars(formatToken);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\Common\EmbeddedSyntaxHelpers.cs (1)
15
public static TextSpan GetSpan(
VirtualCharSequence
virtualChars)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\Common\EmbeddedSyntaxToken.cs (3)
19
public readonly
VirtualCharSequence
VirtualChars;
32
VirtualCharSequence
virtualChars,
59
Optional<
VirtualCharSequence
> virtualChars = default,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\Common\EmbeddedSyntaxTree.cs (2)
15
public readonly
VirtualCharSequence
Text;
20
VirtualCharSequence
text,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\Common\EmbeddedSyntaxTrivia.cs (2)
18
public readonly
VirtualCharSequence
VirtualChars;
26
public EmbeddedSyntaxTrivia(TSyntaxKind kind,
VirtualCharSequence
virtualChars, ImmutableArray<EmbeddedDiagnostic> diagnostics)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\AbstractVirtualCharService.cs (9)
21
protected abstract
VirtualCharSequence
TryConvertToVirtualCharsWorker(SyntaxToken token);
48
public
VirtualCharSequence
TryConvertToVirtualChars(SyntaxToken token)
58
var
result = TryConvertToVirtualCharsWorker(token);
65
private void CheckInvariants(SyntaxToken token,
VirtualCharSequence
result)
133
protected static
VirtualCharSequence
TryConvertSimpleDoubleQuoteString(
229
protected static
VirtualCharSequence
CreateVirtualCharSequence(
241
var
sequence =
VirtualCharSequence
.Create(offset, tokenText);
245
return
VirtualCharSequence
.Create(result.ToImmutable());
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\IVirtualCharService.cs (1)
62
VirtualCharSequence
TryConvertToVirtualChars(SyntaxToken token);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.Chunks.cs (1)
78
/// do not want that should then ask for an appropriate <see cref="
VirtualCharSequence
.GetSubSequence"/>
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.cs (16)
30
public static readonly
VirtualCharSequence
Empty = Create(ImmutableSegmentedList<VirtualChar>.Empty);
32
public static
VirtualCharSequence
Create(ImmutableSegmentedList<VirtualChar> virtualChars)
35
public static
VirtualCharSequence
Create(int firstVirtualCharPosition, string underlyingData)
39
/// The actual characters that this <see cref="
VirtualCharSequence
"/> is a portion of.
67
/// Gets the number of elements contained in the <see cref="
VirtualCharSequence
"/>.
77
/// Gets a value indicating whether the <see cref="
VirtualCharSequence
"/> was declared but not initialized.
84
/// Retreives a sub-sequence from this <see cref="
VirtualCharSequence
"/>.
86
public
VirtualCharSequence
GetSubSequence(TextSpan span)
164
public
VirtualCharSequence
Skip(int count)
167
public
VirtualCharSequence
SkipWhile(Func<VirtualChar, bool> predicate)
182
/// Create a <see cref="string"/> from the <see cref="
VirtualCharSequence
"/>.
194
public void AssertAdjacentTo(
VirtualCharSequence
virtualChars)
201
/// Combines two <see cref="
VirtualCharSequence
"/>s, producing a final
205
public static
VirtualCharSequence
FromBounds(
206
VirtualCharSequence
chars1,
VirtualCharSequence
chars2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.Enumerator.cs (1)
13
public struct Enumerator(
VirtualCharSequence
virtualCharSequence) : IEnumerator<VirtualChar>