8 references to ContainsToken
Microsoft.CodeAnalysis.CSharp.Workspaces (8)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpDeclarationComparer.cs (8)
316
if (
ContainsToken
(modifiers, SyntaxKind.PublicKeyword))
320
else if (
ContainsToken
(modifiers, SyntaxKind.ProtectedKeyword))
322
if (
ContainsToken
(modifiers, SyntaxKind.InternalKeyword))
327
if (
ContainsToken
(modifiers, SyntaxKind.PrivateKeyword))
334
else if (
ContainsToken
(modifiers, SyntaxKind.InternalKeyword))
338
else if (
ContainsToken
(modifiers, SyntaxKind.PrivateKeyword))
364
var xHasModifier =
ContainsToken
(x, modifierKind);
365
var yHasModifier =
ContainsToken
(y, modifierKind);