82 writes to _termState
Microsoft.CodeAnalysis.CSharp (82)
Parser\LanguageParser.cs (78)
575_termState |= TerminatorState.IsNamespaceMemberStartOrStop; 761_termState = saveTerm; 1069_termState |= TerminatorState.IsAttributeDeclarationTerminator; 1096_termState = saveTerm; 1732_termState |= TerminatorState.IsEndOfRecordOrClassOrStructOrInterfaceSignature; 1735_termState |= TerminatorState.IsPossibleAggregateClauseStartOrStop; 1744_termState = saveTerm; 1758_termState = outerSaveTerm; 1793_termState |= TerminatorState.IsPossibleMemberStartOrStop; 1807_termState = saveTerm2; 2657_termState |= TerminatorState.IsPossibleStatementStartOrStop; // partial statements can abort if a new statement starts 2669_termState = saveTerm; 2710_termState |= TerminatorState.IsPossibleStatementStartOrStop; 2730_termState = saveTerm; 2804_termState = saveTermState; 2837_termState |= TerminatorState.IsPossibleStatementStartOrStop; // partial statements can abort if a new statement starts 2844_termState = saveTerm; 3192_termState = saveTermState; 3307_termState |= TerminatorState.IsEndOfMethodSignature; 3321_termState = saveTerm; 3474_termState |= TerminatorState.IsEndOfMethodSignature; 3499_termState = saveTerm; 3529_termState |= TerminatorState.IsEndOfReturnType; 3531_termState = saveTerm; 4592_termState |= TerminatorState.IsEndOfParameterList; 4604_termState = saveTerm; 4993_termState |= TerminatorState.IsEndOfFieldDeclaration; 5009_termState = saveTerm; 5360_termState |= TerminatorState.IsPossibleEndOfVariableDeclaration; 5362_termState = saveTerm; 5368_termState |= TerminatorState.IsPossibleEndOfVariableDeclaration; 5370_termState = saveTerm; 5502_termState |= TerminatorState.IsEndOfMethodSignature; 5514_termState = saveTerm; 5785_termState |= TerminatorState.IsEndOfTypeParameterList; 5798_termState = saveTerm; 5845_termState = TerminatorState.IsEndOfTypeArgumentList; 5847_termState = saveTerm; 6369_termState = TerminatorState.IsEndOfTypeArgumentList; 6371_termState = saveTerm; 6579_termState |= TerminatorState.IsEndOfNameInExplicitInterface; 6613_termState = saveTerm; 7122_termState |= TerminatorState.IsEndOfFunctionPointerCallingConvention; 7143_termState = saveTerm; 7161_termState |= validStartingToken ? TerminatorState.IsEndOfFunctionPointerParameterList : TerminatorState.IsEndOfFunctionPointerParameterListErrored; 7184_termState = saveTerm; 7718_termState |= (lessThanToken.IsMissing ? TerminatorState.IsEndOfFunctionPointerParameterListErrored : TerminatorState.IsEndOfFunctionPointerParameterList); 7756_termState = saveTerm; 7806_termState |= TerminatorState.IsEndOfFunctionPointerCallingConvention; 7831_termState = saveTerm; 8418_termState |= TerminatorState.IsEndOfFieldDeclaration; 8421_termState = saveTerm; 8430_termState |= TerminatorState.IsEndOfMethodSignature; 8434_termState = saveTerm; 8752_termState |= TerminatorState.IsPossibleStatementStartOrStop; // partial statements can abort if a new statement starts 8755_termState |= TerminatorState.IsSwitchSectionStart; 8786_termState = saveTerm; 8860_termState |= TerminatorState.IsEndOfFixedStatement; 8862_termState = saveTerm; 8958_termState |= TerminatorState.IsEndOfTryBlock; 8960_termState = saveTerm; 9025_termState |= TerminatorState.IsEndOfCatchClause; 9033_termState = saveTerm; 9055_termState |= TerminatorState.IsEndOfFilterClause; 9059_termState = saveTerm; 9064_termState |= TerminatorState.IsEndOfCatchBlock; 9066_termState = saveTerm; 9121_termState |= TerminatorState.IsEndOfDoWhileExpression; 9123_termState = saveTerm; 9179_termState |= TerminatorState.IsEndOfForStatementArgument; 9212_termState = saveTerm; 10320_termState |= TerminatorState.IsEndOfDeclarationClause; 10331_termState = saveTerm; 11967_termState |= TerminatorState.IsEndOfArgumentList; 12010_termState = saveTerm; 13359_termState |= TerminatorState.IsEndOfParameterList; 13371_termState = saveTerm; 14032_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; 1068var saveTerm = _termState; 1083if (saveTerm == _termState) 1731var outerSaveTerm = _termState; 1734var saveTerm = _termState; 1792var saveTerm2 = _termState; 2057Debug.Assert((_termState & TerminatorState.IsEndOfRecordOrClassOrStructOrInterfaceSignature) != 0); 2166|| ((_termState & TerminatorState.IsEndOfRecordOrClassOrStructOrInterfaceSignature) != 0 && this.CurrentToken.Kind == SyntaxKind.SemicolonToken) 2486var saveTermState = _termState; 2656var saveTerm = _termState; 2705var saveTerm = _termState; 2836var saveTerm = _termState; 3058var saveTermState = _termState; 3306var saveTerm = _termState; 3473var saveTerm = _termState; 3528var saveTerm = _termState; 4591var saveTerm = _termState; 4992var saveTerm = _termState; 5300TerminatorState saveTerm = _termState; 5501var saveTerm = _termState; 5784var saveTerm = _termState; 5844var saveTerm = _termState; 6368var saveTerm = _termState; 6578var saveTerm = _termState; 7121saveTerm = _termState; 7160saveTerm = _termState; 7717var saveTerm = _termState; 7805var saveTerm = _termState; 8417var saveTerm = _termState; 8429var saveTerm = _termState; 8751var saveTerm = _termState; 8859var saveTerm = _termState; 8957var saveTerm = _termState; 9019var saveTerm = _termState; 9120var saveTerm = _termState; 9178var saveTerm = _termState; 10319var saveTerm = _termState; 11966var saveTerm = _termState; 13358var saveTerm = _termState; 14024_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;