21 references to SkippedTokensTriviaSyntax
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (7)
src\Analyzers\CSharp\CodeFixes\FixIncorrectConstraint\CSharpFixIncorrectConstraintCodeFixProvider.cs (2)
55
var
structure = (
SkippedTokensTriviaSyntax
)firstTrivia.GetStructure()!;
src\Analyzers\CSharp\CodeFixes\TransposeRecordKeyword\CSharpTransposeRecordKeywordCodeFixProvider.cs (2)
49
var
structure = (
SkippedTokensTriviaSyntax
)skippedTrivia.GetStructure()!;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationHelpers.cs (3)
116
var
syntax = (
SkippedTokensTriviaSyntax
?)skippedTokensTrivia.GetStructure();
122
var
updatedSyntax = syntax.WithTokens(updatedTokens);
Microsoft.CodeAnalysis.CSharp.Features (4)
src\Analyzers\CSharp\CodeFixes\FixIncorrectConstraint\CSharpFixIncorrectConstraintCodeFixProvider.cs (2)
55
var
structure = (
SkippedTokensTriviaSyntax
)firstTrivia.GetStructure()!;
src\Analyzers\CSharp\CodeFixes\TransposeRecordKeyword\CSharpTransposeRecordKeywordCodeFixProvider.cs (2)
49
var
structure = (
SkippedTokensTriviaSyntax
)skippedTrivia.GetStructure()!;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (5)
Generated\Syntax.Test.xml.Generated.cs (5)
10829
private static
SkippedTokensTriviaSyntax
GenerateSkippedTokensTrivia()
13520
var
node = GenerateSkippedTokensTrivia();
13523
var
newNode = node.WithTokens(node.Tokens);
19299
var
oldNode = GenerateSkippedTokensTrivia();
19315
var
oldNode = GenerateSkippedTokensTrivia();
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
Classification\Worker.cs (2)
220
ClassifySkippedTokens((
SkippedTokensTriviaSyntax
)trivia.GetStructure()!);
259
private void ClassifySkippedTokens(
SkippedTokensTriviaSyntax
skippedTokens)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpCodeGenerationHelpers.cs (3)
116
var
syntax = (
SkippedTokensTriviaSyntax
?)skippedTokensTrivia.GetStructure();
122
var
updatedSyntax = syntax.WithTokens(updatedTokens);