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