52 references to ConflictMarkerTrivia
Microsoft.CodeAnalysis.CSharp (2)
Syntax\InternalSyntax\SyntaxFactory.cs (1)
104
=> SyntaxTrivia.Create(SyntaxKind.
ConflictMarkerTrivia
, text);
Syntax\SyntaxKindFacts.cs (1)
265
case SyntaxKind.
ConflictMarkerTrivia
:
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTreeExtensions.cs (1)
265
return trivia.Kind() == SyntaxKind.
ConflictMarkerTrivia
;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\TriviaDataFactory.Analyzer.cs (1)
122
else if (trivia.Kind() == SyntaxKind.
ConflictMarkerTrivia
)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
25
public int ConflictMarkerTrivia => (int)SyntaxKind.
ConflictMarkerTrivia
;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (42)
LexicalAndXml\LexicalTests.cs (42)
3825
t => t.LeadingTrivia.Any(SyntaxKind.
ConflictMarkerTrivia
) ||
3826
t.TrailingTrivia.Any(SyntaxKind.
ConflictMarkerTrivia
)));
3851
Assert.True(trivia.Kind() == SyntaxKind.
ConflictMarkerTrivia
);
3877
Assert.True(trivia.Kind() == SyntaxKind.
ConflictMarkerTrivia
);
3950
Assert.True(token.LeadingTrivia.Single().Kind() == SyntaxKind.
ConflictMarkerTrivia
);
3957
Assert.True(trivia.Kind() == SyntaxKind.
ConflictMarkerTrivia
);
3970
Assert.True(trivia.Kind() == SyntaxKind.
ConflictMarkerTrivia
);
3994
Assert.True(trivia.Kind() == SyntaxKind.
ConflictMarkerTrivia
);
4015
Assert.True(trivia1.Kind() == SyntaxKind.
ConflictMarkerTrivia
);
4034
Assert.True(trivia4.Kind() == SyntaxKind.
ConflictMarkerTrivia
);
4048
Assert.True(trivia1.Kind() == SyntaxKind.
ConflictMarkerTrivia
);
4062
Assert.True(trivia3.Kind() == SyntaxKind.
ConflictMarkerTrivia
);
4089
Assert.True(token.LeadingTrivia.Single().Kind() == SyntaxKind.
ConflictMarkerTrivia
);
4096
Assert.True(trivia.Kind() == SyntaxKind.
ConflictMarkerTrivia
);
4104
Assert.True(trivia.Kind() == SyntaxKind.
ConflictMarkerTrivia
);
4123
Assert.True(trivia.Kind() == SyntaxKind.
ConflictMarkerTrivia
);
4139
Assert.True(trivia1.Kind() == SyntaxKind.
ConflictMarkerTrivia
);
4153
Assert.True(trivia4.Kind() == SyntaxKind.
ConflictMarkerTrivia
);
4174
Assert.True(trivia.Kind() == SyntaxKind.
ConflictMarkerTrivia
);
4192
Assert.True(trivia.Kind() == SyntaxKind.
ConflictMarkerTrivia
);
4214
Assert.True(trivia.Kind() == SyntaxKind.
ConflictMarkerTrivia
);
4232
Assert.True(trivia.Kind() == SyntaxKind.
ConflictMarkerTrivia
);
4255
Assert.True(token.LeadingTrivia.Single().Kind() == SyntaxKind.
ConflictMarkerTrivia
);
4262
Assert.True(trivia.Kind() == SyntaxKind.
ConflictMarkerTrivia
);
4277
Assert.True(trivia.Kind() == SyntaxKind.
ConflictMarkerTrivia
);
4300
Assert.True(trivia.Kind() == SyntaxKind.
ConflictMarkerTrivia
);
4322
Assert.True(trivia1.Kind() == SyntaxKind.
ConflictMarkerTrivia
);
4336
Assert.True(trivia4.Kind() == SyntaxKind.
ConflictMarkerTrivia
);
4351
Assert.True(trivia1.Kind() == SyntaxKind.
ConflictMarkerTrivia
);
4362
Assert.True(trivia3.Kind() == SyntaxKind.
ConflictMarkerTrivia
);
4383
Assert.True(trivia.Kind() == SyntaxKind.
ConflictMarkerTrivia
);
4392
Assert.True(trivia.Kind() == SyntaxKind.
ConflictMarkerTrivia
);
4401
Assert.True(trivia.Kind() == SyntaxKind.
ConflictMarkerTrivia
);
4422
Assert.True(trivia.Kind() == SyntaxKind.
ConflictMarkerTrivia
);
4438
Assert.True(trivia.Kind() == SyntaxKind.
ConflictMarkerTrivia
);
4454
Assert.True(trivia.Kind() == SyntaxKind.
ConflictMarkerTrivia
);
4478
Assert.True(trivia.Kind() == SyntaxKind.
ConflictMarkerTrivia
);
4494
Assert.True(trivia.Kind() == SyntaxKind.
ConflictMarkerTrivia
);
4512
Assert.True(trivia.Kind() == SyntaxKind.
ConflictMarkerTrivia
);
4536
Assert.True(trivia.Kind() == SyntaxKind.
ConflictMarkerTrivia
);
4554
Assert.True(trivia.Kind() == SyntaxKind.
ConflictMarkerTrivia
);
4570
Assert.True(trivia.Kind() == SyntaxKind.
ConflictMarkerTrivia
);
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
Classification\Worker.cs (2)
232
case SyntaxKind.
ConflictMarkerTrivia
:
281
triviaList[index - 2].Kind() == SyntaxKind.
ConflictMarkerTrivia
)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxTreeExtensions.cs (1)
265
return trivia.Kind() == SyntaxKind.
ConflictMarkerTrivia
;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\TriviaDataFactory.Analyzer.cs (1)
122
else if (trivia.Kind() == SyntaxKind.
ConflictMarkerTrivia
)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
25
public int ConflictMarkerTrivia => (int)SyntaxKind.
ConflictMarkerTrivia
;