18 references to EmbeddedSyntaxTrivia
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (4)
EmbeddedLanguages\StackFrame\StackFrameSyntaxFactory.cs (4)
24leadingTrivia.IsDefaultOrEmpty ? ImmutableArray<StackFrameTrivia>.Empty : leadingTrivia, 26trailingTrivia.IsDefaultOrEmpty ? ImmutableArray<StackFrameTrivia>.Empty : trailingTrivia, 116current = Identifier(IdentifierToken(identifier, leadingTrivia: leadingTrivia, trailingTrivia: ImmutableArray<StackFrameTrivia>.Empty)); 120var rhs = Identifier(IdentifierToken(identifier, leadingTrivia: ImmutableArray<StackFrameTrivia>.Empty, trailingTrivia: trailingTrivia));
Microsoft.CodeAnalysis.Features (4)
EmbeddedLanguages\Json\JsonLexer.cs (1)
197using var _ = ArrayBuilder<JsonTrivia>.GetInstance(out var result);
EmbeddedLanguages\RegularExpressions\RegexLexer.cs (2)
106using var _ = ArrayBuilder<RegexTrivia>.GetInstance(out var result); 349: CreateToken(RegexKind.OptionsToken, ImmutableArray<RegexTrivia>.Empty, GetSubPatternToCurrentPos(start));
EmbeddedLanguages\StackFrame\StackFrameLexer.cs (1)
426using var _ = ArrayBuilder<StackFrameTrivia>.GetInstance(out var builder);
Microsoft.CodeAnalysis.Workspaces (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\Common\EmbeddedSyntaxToken.cs (8)
18public readonly ImmutableArray<EmbeddedSyntaxTrivia<TSyntaxKind>> LeadingTrivia; 20public readonly ImmutableArray<EmbeddedSyntaxTrivia<TSyntaxKind>> TrailingTrivia; 31ImmutableArray<EmbeddedSyntaxTrivia<TSyntaxKind>> leadingTrivia, 33ImmutableArray<EmbeddedSyntaxTrivia<TSyntaxKind>> trailingTrivia, 58Optional<ImmutableArray<EmbeddedSyntaxTrivia<TSyntaxKind>>> leadingTrivia = default, 60Optional<ImmutableArray<EmbeddedSyntaxTrivia<TSyntaxKind>>> trailingTrivia = default, 117foreach (var trivia in LeadingTrivia) 127foreach (var trivia in TrailingTrivia)
Microsoft.VisualStudio.LanguageServices (2)
StackTraceExplorer\StackFrameViewModel.cs (2)
237return ImmutableArray<StackFrameTrivia>.Empty; 253return ImmutableArray<StackFrameTrivia>.Empty;