3 references to IsPatternInSwitchExpressionArm
Microsoft.CodeAnalysis.CSharp (3)
Parser\LanguageParser.cs (1)
93private const int LastTerminatorState = (int)TerminatorState.IsPatternInSwitchExpressionArm;
Parser\LanguageParser_Patterns.cs (2)
559if (@this._termState.HasFlag(TerminatorState.IsPatternInSwitchExpressionArm) && @this.CurrentToken.Kind is SyntaxKind.EqualsGreaterThanToken or SyntaxKind.ColonToken) 595_termState |= TerminatorState.IsPatternInSwitchExpressionArm;