59 references to PostSkipAction
Microsoft.CodeAnalysis.CSharp (59)
Parser\LanguageParser.cs (55)
1173static PostSkipAction skipBadAttributeListTokens( 1228static PostSkipAction skipBadAttributeArgumentTokens( 2088else if (skipBadBaseListTokens(ref colon, list, SyntaxKind.CommaToken) == PostSkipAction.Abort) 2096PostSkipAction skipBadBaseListTokens(ref SyntaxToken colon, SeparatedSyntaxListBuilder<BaseTypeSyntax> list, SyntaxKind expected) 2176else if (skipBadTypeParameterConstraintTokens(bounds, SyntaxKind.CommaToken) == PostSkipAction.Abort) 2189PostSkipAction skipBadTypeParameterConstraintTokens(SeparatedSyntaxListBuilder<TypeParameterConstraintSyntax> list, SyntaxKind expected) 4117declaringKind == AccessorDeclaringKind.Event ? ErrorCode.ERR_AddOrRemoveExpected : ErrorCode.ERR_GetOrSetExpected) == PostSkipAction.Abort) 4150private PostSkipAction SkipBadAccessorListTokens(ref SyntaxToken openBrace, SyntaxListBuilder<AccessorDeclarationSyntax> list, ErrorCode error) 4224private PostSkipAction SkipBadSeparatedListTokensWithExpectedKind<T, TNode>( 4237var action = this.SkipBadListTokensWithExpectedKindHelper(list.UnderlyingBuilder, isNotExpectedFunction, abortFunction, expected, closeKind, out trailingTrivia); 4245private PostSkipAction SkipBadListTokensWithErrorCode<T, TNode>( 4255var action = this.SkipBadListTokensWithErrorCodeHelper(list, isNotExpectedFunction, abortFunction, error, out trailingTrivia); 4267private PostSkipAction SkipBadListTokensWithExpectedKindHelper( 4282var action = SkipBadTokensWithExpectedKind(isNotExpectedFunction, abortFunction, expected, closeKind, out lastItemTrailingTrivia); 4292private PostSkipAction SkipBadListTokensWithErrorCodeHelper<TNode>( 4306var action = SkipBadTokensWithErrorCode(isNotExpectedFunction, abortFunction, error, out lastItemTrailingTrivia); 4316private PostSkipAction SkipBadTokensWithExpectedKind( 4325var action = PostSkipAction.Continue; 4330action = PostSkipAction.Abort; 4343private PostSkipAction SkipBadTokensWithErrorCode( 4351var action = PostSkipAction.Continue; 4356action = PostSkipAction.Abort; 4591static PostSkipAction skipBadParameterListTokens( 5045else if (!variableDeclarationsExpected || this.SkipBadVariableListTokens(variables, SyntaxKind.CommaToken) == PostSkipAction.Abort) 5052private PostSkipAction SkipBadVariableListTokens(SeparatedSyntaxListBuilder<VariableDeclaratorSyntax> list, SyntaxKind expected) 5557static PostSkipAction skipBadEnumMemberListTokens( 5760static PostSkipAction skipBadTypeParameterListTokens( 6231else if (this.SkipBadTypeArgumentListTokens(types, SyntaxKind.CommaToken) == PostSkipAction.Abort) 6291private PostSkipAction SkipBadTypeArgumentListTokens(SeparatedSyntaxListBuilder<TypeSyntax> list, SyntaxKind expected) 7076if (skipBadFunctionPointerTokens() == PostSkipAction.Abort) 7119if (skipBadFunctionPointerTokens() == PostSkipAction.Abort) 7145PostSkipAction skipBadFunctionPointerTokens() 7515else if (this.SkipBadArrayRankSpecifierTokens(ref open, list, SyntaxKind.CommaToken) == PostSkipAction.Abort) 7591private PostSkipAction SkipBadArrayRankSpecifierTokens(ref SyntaxToken openBracket, SeparatedSyntaxListBuilder<ExpressionSyntax> list, SyntaxKind expected) 7680if (skipBadFunctionPointerTokens(types) == PostSkipAction.Abort) 7705PostSkipAction skipBadFunctionPointerTokens<T>(SeparatedSyntaxListBuilder<T> list) where T : CSharpSyntaxNode 7760if (skipBadFunctionPointerTokens(callingConventionModifiers) == PostSkipAction.Abort) 8720var action = this.SkipBadStatementListTokens(statements, SyntaxKind.CloseBraceToken, out trailingTrivia); 8726if (action == PostSkipAction.Abort) 8741private PostSkipAction SkipBadStatementListTokens(SyntaxListBuilder<StatementSyntax> statements, SyntaxKind expected, out GreenNode trailingTrivia) 9249static PostSkipAction skipBadForStatementExpressionListTokens( 9253return PostSkipAction.Abort; 11925static PostSkipAction skipBadArgumentListTokens( 11929return PostSkipAction.Abort; 12690static PostSkipAction skipBadCollectionElementTokens( 12947private static PostSkipAction SkipBadInitializerListTokens<T>( 13065static PostSkipAction skipBadArrayInitializerTokens( 13337static PostSkipAction skipBadLambdaParameterListTokens( 13702else if (skipBadOrderingListTokens(list, SyntaxKind.CommaToken) == PostSkipAction.Abort) 13712PostSkipAction skipBadOrderingListTokens(SeparatedSyntaxListBuilder<OrderingSyntax> list, SyntaxKind expected) 13823private delegate PostSkipAction SkipBadTokens<TNode>( 13940if (skipBadTokens(this, ref openToken, nodes, separatorTokenKind, closeTokenKind) == PostSkipAction.Abort) 13944else if (skipBadTokens(this, ref openToken, nodes, SyntaxKind.IdentifierToken, closeTokenKind) == PostSkipAction.Continue)
Parser\LanguageParser_Patterns.cs (4)
539private static PostSkipAction SkipBadPatternListTokens<T>( 544return PostSkipAction.Abort; 551return PostSkipAction.Abort; 560return PostSkipAction.Abort;