52 references to ConflictMarkerTrivia
Microsoft.CodeAnalysis.CSharp (2)
Syntax\InternalSyntax\SyntaxFactory.cs (1)
104=> SyntaxTrivia.Create(SyntaxKind.ConflictMarkerTrivia, text);
Syntax\SyntaxKindFacts.cs (1)
237case SyntaxKind.ConflictMarkerTrivia:
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
CSharpSyntaxKinds.cs (1)
25public int ConflictMarkerTrivia => (int)SyntaxKind.ConflictMarkerTrivia;
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTreeExtensions.cs\SyntaxTreeExtensions.cs (1)
308return trivia.Kind() == SyntaxKind.ConflictMarkerTrivia;
TriviaDataFactory.Analyzer.cs (1)
122else if (trivia.Kind() == SyntaxKind.ConflictMarkerTrivia)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (42)
LexicalAndXml\LexicalTests.cs (42)
3410t => t.LeadingTrivia.Any(SyntaxKind.ConflictMarkerTrivia) || 3411t.TrailingTrivia.Any(SyntaxKind.ConflictMarkerTrivia))); 3436Assert.True(trivia.Kind() == SyntaxKind.ConflictMarkerTrivia); 3462Assert.True(trivia.Kind() == SyntaxKind.ConflictMarkerTrivia); 3535Assert.True(token.LeadingTrivia.Single().Kind() == SyntaxKind.ConflictMarkerTrivia); 3542Assert.True(trivia.Kind() == SyntaxKind.ConflictMarkerTrivia); 3555Assert.True(trivia.Kind() == SyntaxKind.ConflictMarkerTrivia); 3579Assert.True(trivia.Kind() == SyntaxKind.ConflictMarkerTrivia); 3600Assert.True(trivia1.Kind() == SyntaxKind.ConflictMarkerTrivia); 3619Assert.True(trivia4.Kind() == SyntaxKind.ConflictMarkerTrivia); 3633Assert.True(trivia1.Kind() == SyntaxKind.ConflictMarkerTrivia); 3647Assert.True(trivia3.Kind() == SyntaxKind.ConflictMarkerTrivia); 3674Assert.True(token.LeadingTrivia.Single().Kind() == SyntaxKind.ConflictMarkerTrivia); 3681Assert.True(trivia.Kind() == SyntaxKind.ConflictMarkerTrivia); 3689Assert.True(trivia.Kind() == SyntaxKind.ConflictMarkerTrivia); 3708Assert.True(trivia.Kind() == SyntaxKind.ConflictMarkerTrivia); 3724Assert.True(trivia1.Kind() == SyntaxKind.ConflictMarkerTrivia); 3738Assert.True(trivia4.Kind() == SyntaxKind.ConflictMarkerTrivia); 3759Assert.True(trivia.Kind() == SyntaxKind.ConflictMarkerTrivia); 3777Assert.True(trivia.Kind() == SyntaxKind.ConflictMarkerTrivia); 3799Assert.True(trivia.Kind() == SyntaxKind.ConflictMarkerTrivia); 3817Assert.True(trivia.Kind() == SyntaxKind.ConflictMarkerTrivia); 3840Assert.True(token.LeadingTrivia.Single().Kind() == SyntaxKind.ConflictMarkerTrivia); 3847Assert.True(trivia.Kind() == SyntaxKind.ConflictMarkerTrivia); 3862Assert.True(trivia.Kind() == SyntaxKind.ConflictMarkerTrivia); 3885Assert.True(trivia.Kind() == SyntaxKind.ConflictMarkerTrivia); 3907Assert.True(trivia1.Kind() == SyntaxKind.ConflictMarkerTrivia); 3921Assert.True(trivia4.Kind() == SyntaxKind.ConflictMarkerTrivia); 3936Assert.True(trivia1.Kind() == SyntaxKind.ConflictMarkerTrivia); 3947Assert.True(trivia3.Kind() == SyntaxKind.ConflictMarkerTrivia); 3968Assert.True(trivia.Kind() == SyntaxKind.ConflictMarkerTrivia); 3977Assert.True(trivia.Kind() == SyntaxKind.ConflictMarkerTrivia); 3986Assert.True(trivia.Kind() == SyntaxKind.ConflictMarkerTrivia); 4007Assert.True(trivia.Kind() == SyntaxKind.ConflictMarkerTrivia); 4023Assert.True(trivia.Kind() == SyntaxKind.ConflictMarkerTrivia); 4039Assert.True(trivia.Kind() == SyntaxKind.ConflictMarkerTrivia); 4063Assert.True(trivia.Kind() == SyntaxKind.ConflictMarkerTrivia); 4079Assert.True(trivia.Kind() == SyntaxKind.ConflictMarkerTrivia); 4097Assert.True(trivia.Kind() == SyntaxKind.ConflictMarkerTrivia); 4121Assert.True(trivia.Kind() == SyntaxKind.ConflictMarkerTrivia); 4139Assert.True(trivia.Kind() == SyntaxKind.ConflictMarkerTrivia); 4155Assert.True(trivia.Kind() == SyntaxKind.ConflictMarkerTrivia);
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
Classification\Worker.cs (2)
204case SyntaxKind.ConflictMarkerTrivia: 253triviaList[index - 2].Kind() == SyntaxKind.ConflictMarkerTrivia)
CSharpSyntaxKinds.cs (1)
25public int ConflictMarkerTrivia => (int)SyntaxKind.ConflictMarkerTrivia;
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTreeExtensions.cs\SyntaxTreeExtensions.cs (1)
308return trivia.Kind() == SyntaxKind.ConflictMarkerTrivia;
TriviaDataFactory.Analyzer.cs (1)
122else if (trivia.Kind() == SyntaxKind.ConflictMarkerTrivia)