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