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