59 references to PostSkipAction
Microsoft.CodeAnalysis.CSharp (59)
Parser\LanguageParser.cs (55)
1181static PostSkipAction skipBadAttributeListTokens( 1236static PostSkipAction skipBadAttributeArgumentTokens( 2143if (skipBadBaseListTokens(ref colon, list, SyntaxKind.CommaToken) == PostSkipAction.Abort) 2151PostSkipAction skipBadBaseListTokens(ref SyntaxToken colon, SeparatedSyntaxListBuilder<BaseTypeSyntax> list, SyntaxKind expected) 2231else if (skipBadTypeParameterConstraintTokens(bounds, SyntaxKind.CommaToken) == PostSkipAction.Abort) 2244PostSkipAction skipBadTypeParameterConstraintTokens(SeparatedSyntaxListBuilder<TypeParameterConstraintSyntax> list, SyntaxKind expected) 4329declaringKind == AccessorDeclaringKind.Event ? ErrorCode.ERR_AddOrRemoveExpected : ErrorCode.ERR_GetOrSetExpected) == PostSkipAction.Abort) 4362private PostSkipAction SkipBadAccessorListTokens(ref SyntaxToken openBrace, SyntaxListBuilder<AccessorDeclarationSyntax> list, ErrorCode error) 4436private PostSkipAction SkipBadSeparatedListTokensWithExpectedKind<T, TNode>( 4449var action = this.SkipBadListTokensWithExpectedKindHelper(list.UnderlyingBuilder, isNotExpectedFunction, abortFunction, expected, closeKind, out trailingTrivia); 4457private PostSkipAction SkipBadListTokensWithErrorCode<T, TNode>( 4467var action = this.SkipBadListTokensWithErrorCodeHelper(list, isNotExpectedFunction, abortFunction, error, out trailingTrivia); 4479private PostSkipAction SkipBadListTokensWithExpectedKindHelper( 4494var action = SkipBadTokensWithExpectedKind(isNotExpectedFunction, abortFunction, expected, closeKind, out lastItemTrailingTrivia); 4504private PostSkipAction SkipBadListTokensWithErrorCodeHelper<TNode>( 4518var action = SkipBadTokensWithErrorCode(isNotExpectedFunction, abortFunction, error, out lastItemTrailingTrivia); 4528private PostSkipAction SkipBadTokensWithExpectedKind( 4537var action = PostSkipAction.Continue; 4542action = PostSkipAction.Abort; 4555private PostSkipAction SkipBadTokensWithErrorCode( 4563var action = PostSkipAction.Continue; 4568action = PostSkipAction.Abort; 4808static PostSkipAction skipBadParameterListTokens( 5299else if (!variableDeclarationsExpected || this.SkipBadVariableListTokens(variables, SyntaxKind.CommaToken) == PostSkipAction.Abort) 5306private PostSkipAction SkipBadVariableListTokens(SeparatedSyntaxListBuilder<VariableDeclaratorSyntax> list, SyntaxKind expected) 5813static PostSkipAction skipBadEnumMemberListTokens( 6016static PostSkipAction skipBadTypeParameterListTokens( 6494else if (this.SkipBadTypeArgumentListTokens(types, SyntaxKind.CommaToken) == PostSkipAction.Abort) 6554private PostSkipAction SkipBadTypeArgumentListTokens(SeparatedSyntaxListBuilder<TypeSyntax> list, SyntaxKind expected) 7339if (skipBadFunctionPointerTokens() == PostSkipAction.Abort) 7382if (skipBadFunctionPointerTokens() == PostSkipAction.Abort) 7408PostSkipAction skipBadFunctionPointerTokens() 7778else if (this.SkipBadArrayRankSpecifierTokens(ref open, list, SyntaxKind.CommaToken) == PostSkipAction.Abort) 7850private PostSkipAction SkipBadArrayRankSpecifierTokens(ref SyntaxToken openBracket, SeparatedSyntaxListBuilder<ExpressionSyntax> list, SyntaxKind expected) 7939if (skipBadFunctionPointerTokens(types) == PostSkipAction.Abort) 7964PostSkipAction skipBadFunctionPointerTokens<T>(SeparatedSyntaxListBuilder<T> list) where T : CSharpSyntaxNode 8019if (skipBadFunctionPointerTokens(callingConventionModifiers) == PostSkipAction.Abort) 9045var action = this.SkipBadStatementListTokens(statements, SyntaxKind.CloseBraceToken, out trailingTrivia); 9051if (action == PostSkipAction.Abort) 9066private PostSkipAction SkipBadStatementListTokens(SyntaxListBuilder<StatementSyntax> statements, SyntaxKind expected, out GreenNode trailingTrivia) 9587static PostSkipAction skipBadForStatementExpressionListTokens( 9591return PostSkipAction.Abort; 12364static PostSkipAction skipBadArgumentListTokens( 12368return PostSkipAction.Abort; 13076static PostSkipAction skipBadCollectionElementTokens( 13338private static PostSkipAction SkipBadInitializerListTokens<T>( 13458static PostSkipAction skipBadArrayInitializerTokens( 13710static PostSkipAction skipBadLambdaParameterListTokens( 14074else if (skipBadOrderingListTokens(list, SyntaxKind.CommaToken) == PostSkipAction.Abort) 14084PostSkipAction skipBadOrderingListTokens(SeparatedSyntaxListBuilder<OrderingSyntax> list, SyntaxKind expected) 14195private delegate PostSkipAction SkipBadTokens<TNode>( 14317if (skipBadTokens(this, ref openToken, nodes, separatorTokenKind, closeTokenKind) == PostSkipAction.Abort) 14321else 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;