33 references to BarToken
Microsoft.CodeAnalysis.CSharp (10)
Binder\Semantics\Operators\OperatorFacts.cs (1)
80case SyntaxKind.BarToken: return WellKnownMemberNames.BitwiseOrOperatorName;
Parser\LanguageParser.cs (2)
5922case SyntaxKind.BarToken: 12619case SyntaxKind.BarToken:
Parser\Lexer.cs (2)
609TextWindow.TryAdvance('|') ? SyntaxKind.BarBarToken : SyntaxKind.BarToken; 3707info.Kind = SyntaxKind.BarToken;
SymbolDisplay\SymbolDisplayVisitor_Constants.cs (1)
66AddPunctuation(SyntaxKind.BarToken);
Syntax\SyntaxKindFacts.cs (4)
500case SyntaxKind.BarToken: 627case SyntaxKind.BarToken: 1028case WellKnownMemberNames.BitwiseOrOperatorName: return SyntaxKind.BarToken; 1399case SyntaxKind.BarToken:
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
382case SyntaxKind.BarToken:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpDeclarationComparer.cs (1)
48{ SyntaxKind.BarToken, 10 },
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (2)
997SyntaxKind.BarToken or 1026case SyntaxKind.BarToken:
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\CompletionProviders\EnumAndCompletionListTagCompletionProvider.cs (1)
286if (token.Kind() is SyntaxKind.BarToken or
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (13)
LexicalAndXml\CrefLexerTests.cs (2)
221AssertTokens("|", Token(SyntaxKind.BarToken)); 247AssertTokens("|", Token(SyntaxKind.BarToken, "|", "|"));
LexicalAndXml\LexicalTests.cs (1)
915TestPunctuation(SyntaxKind.BarToken);
LexicalAndXml\NameAttributeValueLexerTests.cs (2)
228AssertTokens("|", Token(SyntaxKind.BarToken)); 254AssertTokens("|", Token(SyntaxKind.BarToken, "|", "|"));
Parsing\DeclarationParsingTests.cs (1)
5336TestClassBinaryOperatorMethod(SyntaxKind.BarToken);
Parsing\ExpressionParsingTests.cs (1)
658TestBinary(SyntaxKind.BarToken);
Parsing\ImplicitObjectCreationParsingTests.cs (1)
299[InlineData(SyntaxKind.BitwiseOrExpression, SyntaxKind.BarToken)]
Parsing\MemberDeclarationParsingTests.cs (3)
9769[InlineData("|", SyntaxKind.BarToken)] 9835[InlineData("|", SyntaxKind.BarToken)] 10051[InlineData("|", SyntaxKind.BarToken)]
Parsing\PatternParsingTests.cs (2)
7353N(SyntaxKind.BarToken); 7421N(SyntaxKind.BarToken);
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
Classification\ClassificationHelpers.cs (1)
406case SyntaxKind.BarToken:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
382case SyntaxKind.BarToken:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpDeclarationComparer.cs (1)
48{ SyntaxKind.BarToken, 10 },
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (2)
997SyntaxKind.BarToken or 1026case SyntaxKind.BarToken: