34 references to BarToken
Microsoft.CodeAnalysis.CSharp (10)
Binder\Semantics\Operators\OperatorFacts.cs (1)
80case SyntaxKind.BarToken: return WellKnownMemberNames.BitwiseOrOperatorName;
Parser\LanguageParser.cs (2)
5638case SyntaxKind.BarToken: 11806case SyntaxKind.BarToken:
Parser\Lexer.cs (2)
723info.Kind = SyntaxKind.BarToken; 4082info.Kind = SyntaxKind.BarToken;
SymbolDisplay\SymbolDisplayVisitor_Constants.cs (1)
68AddPunctuation(SyntaxKind.BarToken);
Syntax\SyntaxKindFacts.cs (4)
472case SyntaxKind.BarToken: 599case SyntaxKind.BarToken: 1000case WellKnownMemberNames.BitwiseOrOperatorName: return SyntaxKind.BarToken; 1363case SyntaxKind.BarToken:
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
CSharpSyntaxFacts.cs (1)
386case SyntaxKind.BarToken:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
CSharpDeclarationComparer.cs (1)
48{ SyntaxKind.BarToken, 10 },
CSharpTypeInferenceService.TypeInferrer.cs (2)
1017SyntaxKind.BarToken or 1046case SyntaxKind.BarToken:
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\CompletionProviders\EnumAndCompletionListTagCompletionProvider.cs (1)
283if (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)
588TestPunctuation(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)
9780[InlineData("|", SyntaxKind.BarToken)] 9846[InlineData("|", SyntaxKind.BarToken)] 10062[InlineData("|", SyntaxKind.BarToken)]
Parsing\PatternParsingTests.cs (2)
7392N(SyntaxKind.BarToken); 7460N(SyntaxKind.BarToken);
Microsoft.CodeAnalysis.CSharp.Workspaces (6)
Classification\ClassificationHelpers.cs (1)
405case SyntaxKind.BarToken:
CodeGeneration\CSharpSyntaxGenerator.cs (1)
298OperatorKind.BitwiseOr => SyntaxKind.BarToken,
CSharpDeclarationComparer.cs (1)
48{ SyntaxKind.BarToken, 10 },
CSharpSyntaxFacts.cs (1)
386case SyntaxKind.BarToken:
CSharpTypeInferenceService.TypeInferrer.cs (2)
1017SyntaxKind.BarToken or 1046case SyntaxKind.BarToken: