59 references to PostSkipAction
Microsoft.CodeAnalysis.CSharp (59)
Parser\LanguageParser.cs (55)
1174static PostSkipAction skipBadAttributeListTokens( 1229static PostSkipAction skipBadAttributeArgumentTokens( 2107if (skipBadBaseListTokens(ref colon, list, SyntaxKind.CommaToken) == PostSkipAction.Abort) 2115PostSkipAction skipBadBaseListTokens(ref SyntaxToken colon, SeparatedSyntaxListBuilder<BaseTypeSyntax> list, SyntaxKind expected) 2195else if (skipBadTypeParameterConstraintTokens(bounds, SyntaxKind.CommaToken) == PostSkipAction.Abort) 2208PostSkipAction skipBadTypeParameterConstraintTokens(SeparatedSyntaxListBuilder<TypeParameterConstraintSyntax> list, SyntaxKind expected) 4136declaringKind == AccessorDeclaringKind.Event ? ErrorCode.ERR_AddOrRemoveExpected : ErrorCode.ERR_GetOrSetExpected) == PostSkipAction.Abort) 4169private PostSkipAction SkipBadAccessorListTokens(ref SyntaxToken openBrace, SyntaxListBuilder<AccessorDeclarationSyntax> list, ErrorCode error) 4243private PostSkipAction SkipBadSeparatedListTokensWithExpectedKind<T, TNode>( 4256var action = this.SkipBadListTokensWithExpectedKindHelper(list.UnderlyingBuilder, isNotExpectedFunction, abortFunction, expected, closeKind, out trailingTrivia); 4264private PostSkipAction SkipBadListTokensWithErrorCode<T, TNode>( 4274var action = this.SkipBadListTokensWithErrorCodeHelper(list, isNotExpectedFunction, abortFunction, error, out trailingTrivia); 4286private PostSkipAction SkipBadListTokensWithExpectedKindHelper( 4301var action = SkipBadTokensWithExpectedKind(isNotExpectedFunction, abortFunction, expected, closeKind, out lastItemTrailingTrivia); 4311private PostSkipAction SkipBadListTokensWithErrorCodeHelper<TNode>( 4325var action = SkipBadTokensWithErrorCode(isNotExpectedFunction, abortFunction, error, out lastItemTrailingTrivia); 4335private PostSkipAction SkipBadTokensWithExpectedKind( 4344var action = PostSkipAction.Continue; 4349action = PostSkipAction.Abort; 4362private PostSkipAction SkipBadTokensWithErrorCode( 4370var action = PostSkipAction.Continue; 4375action = PostSkipAction.Abort; 4610static PostSkipAction skipBadParameterListTokens( 5086else if (!variableDeclarationsExpected || this.SkipBadVariableListTokens(variables, SyntaxKind.CommaToken) == PostSkipAction.Abort) 5093private PostSkipAction SkipBadVariableListTokens(SeparatedSyntaxListBuilder<VariableDeclaratorSyntax> list, SyntaxKind expected) 5600static PostSkipAction skipBadEnumMemberListTokens( 5803static PostSkipAction skipBadTypeParameterListTokens( 6283else if (this.SkipBadTypeArgumentListTokens(types, SyntaxKind.CommaToken) == PostSkipAction.Abort) 6343private PostSkipAction SkipBadTypeArgumentListTokens(SeparatedSyntaxListBuilder<TypeSyntax> list, SyntaxKind expected) 7128if (skipBadFunctionPointerTokens() == PostSkipAction.Abort) 7171if (skipBadFunctionPointerTokens() == PostSkipAction.Abort) 7197PostSkipAction skipBadFunctionPointerTokens() 7567else if (this.SkipBadArrayRankSpecifierTokens(ref open, list, SyntaxKind.CommaToken) == PostSkipAction.Abort) 7643private PostSkipAction SkipBadArrayRankSpecifierTokens(ref SyntaxToken openBracket, SeparatedSyntaxListBuilder<ExpressionSyntax> list, SyntaxKind expected) 7732if (skipBadFunctionPointerTokens(types) == PostSkipAction.Abort) 7757PostSkipAction skipBadFunctionPointerTokens<T>(SeparatedSyntaxListBuilder<T> list) where T : CSharpSyntaxNode 7812if (skipBadFunctionPointerTokens(callingConventionModifiers) == PostSkipAction.Abort) 8772var action = this.SkipBadStatementListTokens(statements, SyntaxKind.CloseBraceToken, out trailingTrivia); 8778if (action == PostSkipAction.Abort) 8793private PostSkipAction SkipBadStatementListTokens(SyntaxListBuilder<StatementSyntax> statements, SyntaxKind expected, out GreenNode trailingTrivia) 9296static PostSkipAction skipBadForStatementExpressionListTokens( 9300return PostSkipAction.Abort; 11991static PostSkipAction skipBadArgumentListTokens( 11995return PostSkipAction.Abort; 12756static PostSkipAction skipBadCollectionElementTokens( 13013private static PostSkipAction SkipBadInitializerListTokens<T>( 13131static PostSkipAction skipBadArrayInitializerTokens( 13403static PostSkipAction skipBadLambdaParameterListTokens( 13768else if (skipBadOrderingListTokens(list, SyntaxKind.CommaToken) == PostSkipAction.Abort) 13778PostSkipAction skipBadOrderingListTokens(SeparatedSyntaxListBuilder<OrderingSyntax> list, SyntaxKind expected) 13889private delegate PostSkipAction SkipBadTokens<TNode>( 14006if (skipBadTokens(this, ref openToken, nodes, separatorTokenKind, closeTokenKind) == PostSkipAction.Abort) 14010else 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;