59 references to PostSkipAction
Microsoft.CodeAnalysis.CSharp (59)
Parser\LanguageParser.cs (55)
1173static PostSkipAction skipBadAttributeListTokens( 1228static PostSkipAction skipBadAttributeArgumentTokens( 2141if (skipBadBaseListTokens(ref colon, list, SyntaxKind.CommaToken) == PostSkipAction.Abort) 2149PostSkipAction skipBadBaseListTokens(ref SyntaxToken colon, SeparatedSyntaxListBuilder<BaseTypeSyntax> list, SyntaxKind expected) 2229else if (skipBadTypeParameterConstraintTokens(bounds, SyntaxKind.CommaToken) == PostSkipAction.Abort) 2242PostSkipAction skipBadTypeParameterConstraintTokens(SeparatedSyntaxListBuilder<TypeParameterConstraintSyntax> list, SyntaxKind expected) 4186declaringKind == AccessorDeclaringKind.Event ? ErrorCode.ERR_AddOrRemoveExpected : ErrorCode.ERR_GetOrSetExpected) == PostSkipAction.Abort) 4219private PostSkipAction SkipBadAccessorListTokens(ref SyntaxToken openBrace, SyntaxListBuilder<AccessorDeclarationSyntax> list, ErrorCode error) 4293private PostSkipAction SkipBadSeparatedListTokensWithExpectedKind<T, TNode>( 4306var action = this.SkipBadListTokensWithExpectedKindHelper(list.UnderlyingBuilder, isNotExpectedFunction, abortFunction, expected, closeKind, out trailingTrivia); 4314private PostSkipAction SkipBadListTokensWithErrorCode<T, TNode>( 4324var action = this.SkipBadListTokensWithErrorCodeHelper(list, isNotExpectedFunction, abortFunction, error, out trailingTrivia); 4336private PostSkipAction SkipBadListTokensWithExpectedKindHelper( 4351var action = SkipBadTokensWithExpectedKind(isNotExpectedFunction, abortFunction, expected, closeKind, out lastItemTrailingTrivia); 4361private PostSkipAction SkipBadListTokensWithErrorCodeHelper<TNode>( 4375var action = SkipBadTokensWithErrorCode(isNotExpectedFunction, abortFunction, error, out lastItemTrailingTrivia); 4385private PostSkipAction SkipBadTokensWithExpectedKind( 4394var action = PostSkipAction.Continue; 4399action = PostSkipAction.Abort; 4412private PostSkipAction SkipBadTokensWithErrorCode( 4420var action = PostSkipAction.Continue; 4425action = PostSkipAction.Abort; 4666static PostSkipAction skipBadParameterListTokens( 5157else if (!variableDeclarationsExpected || this.SkipBadVariableListTokens(variables, SyntaxKind.CommaToken) == PostSkipAction.Abort) 5164private PostSkipAction SkipBadVariableListTokens(SeparatedSyntaxListBuilder<VariableDeclaratorSyntax> list, SyntaxKind expected) 5671static PostSkipAction skipBadEnumMemberListTokens( 5874static PostSkipAction skipBadTypeParameterListTokens( 6354else if (this.SkipBadTypeArgumentListTokens(types, SyntaxKind.CommaToken) == PostSkipAction.Abort) 6414private PostSkipAction SkipBadTypeArgumentListTokens(SeparatedSyntaxListBuilder<TypeSyntax> list, SyntaxKind expected) 7199if (skipBadFunctionPointerTokens() == PostSkipAction.Abort) 7242if (skipBadFunctionPointerTokens() == PostSkipAction.Abort) 7268PostSkipAction skipBadFunctionPointerTokens() 7638else if (this.SkipBadArrayRankSpecifierTokens(ref open, list, SyntaxKind.CommaToken) == PostSkipAction.Abort) 7714private PostSkipAction SkipBadArrayRankSpecifierTokens(ref SyntaxToken openBracket, SeparatedSyntaxListBuilder<ExpressionSyntax> list, SyntaxKind expected) 7803if (skipBadFunctionPointerTokens(types) == PostSkipAction.Abort) 7828PostSkipAction skipBadFunctionPointerTokens<T>(SeparatedSyntaxListBuilder<T> list) where T : CSharpSyntaxNode 7883if (skipBadFunctionPointerTokens(callingConventionModifiers) == PostSkipAction.Abort) 8843var action = this.SkipBadStatementListTokens(statements, SyntaxKind.CloseBraceToken, out trailingTrivia); 8849if (action == PostSkipAction.Abort) 8864private PostSkipAction SkipBadStatementListTokens(SyntaxListBuilder<StatementSyntax> statements, SyntaxKind expected, out GreenNode trailingTrivia) 9367static PostSkipAction skipBadForStatementExpressionListTokens( 9371return PostSkipAction.Abort; 12141static PostSkipAction skipBadArgumentListTokens( 12145return PostSkipAction.Abort; 12853static PostSkipAction skipBadCollectionElementTokens( 13110private static PostSkipAction SkipBadInitializerListTokens<T>( 13228static PostSkipAction skipBadArrayInitializerTokens( 13500static PostSkipAction skipBadLambdaParameterListTokens( 13865else if (skipBadOrderingListTokens(list, SyntaxKind.CommaToken) == PostSkipAction.Abort) 13875PostSkipAction skipBadOrderingListTokens(SeparatedSyntaxListBuilder<OrderingSyntax> list, SyntaxKind expected) 13986private delegate PostSkipAction SkipBadTokens<TNode>( 14103if (skipBadTokens(this, ref openToken, nodes, separatorTokenKind, closeTokenKind) == PostSkipAction.Abort) 14107else 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;