82 writes to _termState
Microsoft.CodeAnalysis.CSharp (82)
Parser\LanguageParser.cs (78)
575_termState |= TerminatorState.IsNamespaceMemberStartOrStop; 769_termState = saveTerm; 1077_termState |= TerminatorState.IsAttributeDeclarationTerminator; 1104_termState = saveTerm; 1742_termState |= TerminatorState.IsEndOfTypeSignature; 1745_termState |= TerminatorState.IsPossibleAggregateClauseStartOrStop; 1768_termState = saveTerm; 1782_termState = outerSaveTerm; 1817_termState |= TerminatorState.IsPossibleMemberStartOrStop; 1831_termState = saveTerm2; 2691_termState |= TerminatorState.IsPossibleStatementStartOrStop; // partial statements can abort if a new statement starts 2701_termState = saveTerm; 2742_termState |= TerminatorState.IsPossibleStatementStartOrStop; 2762_termState = saveTerm; 2837_termState = saveTermState; 2868_termState |= TerminatorState.IsPossibleStatementStartOrStop; // partial statements can abort if a new statement starts 2874_termState = saveTerm; 3315_termState = saveTermState; 3437_termState |= TerminatorState.IsEndOfMethodSignature; 3449_termState = saveTerm; 3612_termState |= TerminatorState.IsEndOfMethodSignature; 3637_termState = saveTerm; 3664_termState |= TerminatorState.IsEndOfReturnType; 3666_termState = saveTerm; 4787_termState |= TerminatorState.IsEndOfParameterList; 4803_termState = saveTerm; 5203_termState |= TerminatorState.IsEndOfFieldDeclaration; 5219_termState = saveTerm; 5571_termState |= TerminatorState.IsPossibleEndOfVariableDeclaration; 5573_termState = saveTerm; 5579_termState |= TerminatorState.IsPossibleEndOfVariableDeclaration; 5581_termState = saveTerm; 5713_termState |= TerminatorState.IsEndOfMethodSignature; 5725_termState = saveTerm; 5996_termState |= TerminatorState.IsEndOfTypeParameterList; 6009_termState = saveTerm; 6045_termState = TerminatorState.IsEndOfTypeArgumentList; 6047_termState = saveTerm; 6578_termState = TerminatorState.IsEndOfTypeArgumentList; 6580_termState = saveTerm; 6788_termState |= TerminatorState.IsEndOfNameInExplicitInterface; 6822_termState = saveTerm; 7331_termState |= TerminatorState.IsEndOfFunctionPointerCallingConvention; 7352_termState = saveTerm; 7370_termState |= validStartingToken ? TerminatorState.IsEndOfFunctionPointerParameterList : TerminatorState.IsEndOfFunctionPointerParameterListErrored; 7393_termState = saveTerm; 7923_termState |= (lessThanToken.IsMissing ? TerminatorState.IsEndOfFunctionPointerParameterListErrored : TerminatorState.IsEndOfFunctionPointerParameterList); 7961_termState = saveTerm; 8011_termState |= TerminatorState.IsEndOfFunctionPointerCallingConvention; 8036_termState = saveTerm; 8633_termState |= TerminatorState.IsEndOfFieldDeclaration; 8636_termState = saveTerm; 8645_termState |= TerminatorState.IsEndOfMethodSignature; 8649_termState = saveTerm; 9023_termState |= TerminatorState.IsPossibleStatementStartOrStop; // partial statements can abort if a new statement starts 9026_termState |= TerminatorState.IsSwitchSectionStart; 9057_termState = saveTerm; 9149_termState |= TerminatorState.IsEndOfFixedStatement; 9151_termState = saveTerm; 9247_termState |= TerminatorState.IsEndOfTryBlock; 9249_termState = saveTerm; 9314_termState |= TerminatorState.IsEndOfCatchClause; 9322_termState = saveTerm; 9344_termState |= TerminatorState.IsEndOfFilterClause; 9348_termState = saveTerm; 9353_termState |= TerminatorState.IsEndOfCatchBlock; 9355_termState = saveTerm; 9410_termState |= TerminatorState.IsEndOfDoWhileExpression; 9412_termState = saveTerm; 9468_termState |= TerminatorState.IsEndOfForStatementArgument; 9501_termState = saveTerm; 10609_termState |= TerminatorState.IsEndOfDeclarationClause; 10620_termState = saveTerm; 12312_termState |= TerminatorState.IsEndOfArgumentList; 12355_termState = saveTerm; 13691_termState |= TerminatorState.IsEndOfParameterList; 13703_termState = saveTerm; 14368_termState = state.TerminatorState;
Parser\LanguageParser_Patterns.cs (4)
437_termState |= TerminatorState.IsExpressionOrPatternInCaseLabelOfSwitchStatement; 439_termState = savedState; 595_termState |= TerminatorState.IsPatternInSwitchExpressionArm; 597_termState = savedState;
45 references to _termState
Microsoft.CodeAnalysis.CSharp (45)
Parser\LanguageParser.cs (41)
103switch (_termState & (TerminatorState)i) 574var saveTerm = _termState; 1076var saveTerm = _termState; 1091if (saveTerm == _termState) 1741var outerSaveTerm = _termState; 1744var saveTerm = _termState; 1816var saveTerm2 = _termState; 2094Debug.Assert((_termState & TerminatorState.IsEndOfTypeSignature) != 0); 2203|| ((_termState & TerminatorState.IsEndOfTypeSignature) != 0 && this.CurrentToken.Kind == SyntaxKind.SemicolonToken) 2529var saveTermState = _termState; 2690var saveTerm = _termState; 2737var saveTerm = _termState; 2867var saveTerm = _termState; 3175var saveTermState = _termState; 3436var saveTerm = _termState; 3611var saveTerm = _termState; 3663var saveTerm = _termState; 4786var saveTerm = _termState; 5202var saveTerm = _termState; 5511TerminatorState saveTerm = _termState; 5712var saveTerm = _termState; 5995var saveTerm = _termState; 6044var saveTerm = _termState; 6577var saveTerm = _termState; 6787var saveTerm = _termState; 7330saveTerm = _termState; 7369saveTerm = _termState; 7922var saveTerm = _termState; 8010var saveTerm = _termState; 8632var saveTerm = _termState; 8644var saveTerm = _termState; 9022var saveTerm = _termState; 9148var saveTerm = _termState; 9246var saveTerm = _termState; 9308var saveTerm = _termState; 9409var saveTerm = _termState; 9467var saveTerm = _termState; 10608var saveTerm = _termState; 12311var saveTerm = _termState; 13690var saveTerm = _termState; 14360_termState,
Parser\LanguageParser_Patterns.cs (4)
436var savedState = _termState; 550if (@this._termState.HasFlag(TerminatorState.IsExpressionOrPatternInCaseLabelOfSwitchStatement) && @this.CurrentToken.Kind is SyntaxKind.ColonToken) 559if (@this._termState.HasFlag(TerminatorState.IsPatternInSwitchExpressionArm) && @this.CurrentToken.Kind is SyntaxKind.EqualsGreaterThanToken or SyntaxKind.ColonToken) 594var savedState = _termState;