553 references to GetDiagnostics
Microsoft.CodeAnalysis (10)
Syntax\GreenNode.cs (2)
995if (GetDiagnostics() == null) 1002errorInfos = GetDiagnostics();
Syntax\GreenNodeExtensions.cs (1)
117var current = node.GetDiagnostics();
Syntax\InternalSyntax\SyntaxDiagnosticInfoList.cs (1)
76var diags = node.GetDiagnostics();
Syntax\InternalSyntax\SyntaxList.WithLotsOfChildren.cs (1)
68return new WithLotsOfChildren(GetDiagnostics(), annotations, children, _childOffsets);
Syntax\InternalSyntax\SyntaxList.WithManyChildren.cs (1)
112return new WithManyChildren(GetDiagnostics(), annotations, children);
Syntax\InternalSyntax\SyntaxList.WithThreeChildren.cs (1)
74return new WithThreeChildren(GetDiagnostics(), annotations, _child0, _child1, _child2);
Syntax\InternalSyntax\SyntaxList.WithTwoChildren.cs (1)
66return new WithTwoChildren(GetDiagnostics(), annotations, _child0, _child1);
Syntax\SyntaxToken.cs (1)
668var diagnostics = Node.GetDiagnostics();
Syntax\SyntaxTrivia.cs (1)
434var diagnostics = UnderlyingNode.GetDiagnostics();
Microsoft.CodeAnalysis.CSharp (543)
_generated\1\Syntax.xml.Internal.Generated.cs (500)
91var diags = GetDiagnostics(); 107=> new IdentifierNameSyntax(this.Kind, this.identifier, GetDiagnostics(), annotations); 180var diags = GetDiagnostics(); 196=> new QualifiedNameSyntax(this.Kind, this.left, this.dotToken, this.right, GetDiagnostics(), annotations); 259var diags = GetDiagnostics(); 275=> new GenericNameSyntax(this.Kind, this.identifier, this.typeArgumentList, GetDiagnostics(), annotations); 357var diags = GetDiagnostics(); 373=> new TypeArgumentListSyntax(this.Kind, this.lessThanToken, this.arguments, this.greaterThanToken, GetDiagnostics(), annotations); 446var diags = GetDiagnostics(); 462=> new AliasQualifiedNameSyntax(this.Kind, this.alias, this.colonColonToken, this.name, GetDiagnostics(), annotations); 525var diags = GetDiagnostics(); 541=> new PredefinedTypeSyntax(this.Kind, this.keyword, GetDiagnostics(), annotations); 613var diags = GetDiagnostics(); 629=> new ArrayTypeSyntax(this.Kind, this.elementType, this.rankSpecifiers, GetDiagnostics(), annotations); 707var diags = GetDiagnostics(); 723=> new ArrayRankSpecifierSyntax(this.Kind, this.openBracketToken, this.sizes, this.closeBracketToken, GetDiagnostics(), annotations); 786var diags = GetDiagnostics(); 802=> new PointerTypeSyntax(this.Kind, this.elementType, this.asteriskToken, GetDiagnostics(), annotations); 893var diags = GetDiagnostics(); 909=> new FunctionPointerTypeSyntax(this.Kind, this.delegateKeyword, this.asteriskToken, this.callingConvention, this.parameterList, GetDiagnostics(), annotations); 991var diags = GetDiagnostics(); 1007=> new FunctionPointerParameterListSyntax(this.Kind, this.lessThanToken, this.parameters, this.greaterThanToken, GetDiagnostics(), annotations); 1079var diags = GetDiagnostics(); 1095=> new FunctionPointerCallingConventionSyntax(this.Kind, this.managedOrUnmanagedKeyword, this.unmanagedCallingConventionList, GetDiagnostics(), annotations); 1177var diags = GetDiagnostics(); 1193=> new FunctionPointerUnmanagedCallingConventionListSyntax(this.Kind, this.openBracketToken, this.callingConventions, this.closeBracketToken, GetDiagnostics(), annotations); 1242var diags = GetDiagnostics(); 1258=> new FunctionPointerUnmanagedCallingConventionSyntax(this.Kind, this.name, GetDiagnostics(), annotations); 1321var diags = GetDiagnostics(); 1337=> new NullableTypeSyntax(this.Kind, this.elementType, this.questionToken, GetDiagnostics(), annotations); 1418var diags = GetDiagnostics(); 1434=> new TupleTypeSyntax(this.Kind, this.openParenToken, this.elements, this.closeParenToken, GetDiagnostics(), annotations); 1506var diags = GetDiagnostics(); 1522=> new TupleElementSyntax(this.Kind, this.type, this.identifier, GetDiagnostics(), annotations); 1571var diags = GetDiagnostics(); 1587=> new OmittedTypeArgumentSyntax(this.Kind, this.omittedTypeArgumentToken, GetDiagnostics(), annotations); 1667var diags = GetDiagnostics(); 1683=> new RefTypeSyntax(this.Kind, this.refKeyword, this.readOnlyKeyword, this.type, GetDiagnostics(), annotations); 1744var diags = GetDiagnostics(); 1760=> new ScopedTypeSyntax(this.Kind, this.scopedKeyword, this.type, GetDiagnostics(), annotations); 1860var diags = GetDiagnostics(); 1876=> new ParenthesizedExpressionSyntax(this.Kind, this.openParenToken, this.expression, this.closeParenToken, GetDiagnostics(), annotations); 1958var diags = GetDiagnostics(); 1974=> new TupleExpressionSyntax(this.Kind, this.openParenToken, this.arguments, this.closeParenToken, GetDiagnostics(), annotations); 2037var diags = GetDiagnostics(); 2053=> new PrefixUnaryExpressionSyntax(this.Kind, this.operatorToken, this.operand, GetDiagnostics(), annotations); 2116var diags = GetDiagnostics(); 2132=> new AwaitExpressionSyntax(this.Kind, this.awaitKeyword, this.expression, GetDiagnostics(), annotations); 2195var diags = GetDiagnostics(); 2211=> new PostfixUnaryExpressionSyntax(this.Kind, this.operand, this.operatorToken, GetDiagnostics(), annotations); 2284var diags = GetDiagnostics(); 2300=> new MemberAccessExpressionSyntax(this.Kind, this.expression, this.operatorToken, this.name, GetDiagnostics(), annotations); 2373var diags = GetDiagnostics(); 2389=> new ConditionalAccessExpressionSyntax(this.Kind, this.expression, this.operatorToken, this.whenNotNull, GetDiagnostics(), annotations); 2452var diags = GetDiagnostics(); 2468=> new MemberBindingExpressionSyntax(this.Kind, this.operatorToken, this.name, GetDiagnostics(), annotations); 2517var diags = GetDiagnostics(); 2533=> new ElementBindingExpressionSyntax(this.Kind, this.argumentList, GetDiagnostics(), annotations); 2624var diags = GetDiagnostics(); 2640=> new RangeExpressionSyntax(this.Kind, this.leftOperand, this.operatorToken, this.rightOperand, GetDiagnostics(), annotations); 2689var diags = GetDiagnostics(); 2705=> new ImplicitElementAccessSyntax(this.Kind, this.argumentList, GetDiagnostics(), annotations); 2778var diags = GetDiagnostics(); 2794=> new BinaryExpressionSyntax(this.Kind, this.left, this.operatorToken, this.right, GetDiagnostics(), annotations); 2867var diags = GetDiagnostics(); 2883=> new AssignmentExpressionSyntax(this.Kind, this.left, this.operatorToken, this.right, GetDiagnostics(), annotations); 2976var diags = GetDiagnostics(); 2992=> new ConditionalExpressionSyntax(this.Kind, this.condition, this.questionToken, this.whenTrue, this.colonToken, this.whenFalse, GetDiagnostics(), annotations); 3055var diags = GetDiagnostics(); 3071=> new ThisExpressionSyntax(this.Kind, this.token, GetDiagnostics(), annotations); 3120var diags = GetDiagnostics(); 3136=> new BaseExpressionSyntax(this.Kind, this.token, GetDiagnostics(), annotations); 3185var diags = GetDiagnostics(); 3201=> new LiteralExpressionSyntax(this.Kind, this.token, GetDiagnostics(), annotations); 3250var diags = GetDiagnostics(); 3266=> new FieldExpressionSyntax(this.Kind, this.token, GetDiagnostics(), annotations); 3349var diags = GetDiagnostics(); 3365=> new MakeRefExpressionSyntax(this.Kind, this.keyword, this.openParenToken, this.expression, this.closeParenToken, GetDiagnostics(), annotations); 3448var diags = GetDiagnostics(); 3464=> new RefTypeExpressionSyntax(this.Kind, this.keyword, this.openParenToken, this.expression, this.closeParenToken, GetDiagnostics(), annotations); 3567var diags = GetDiagnostics(); 3583=> new RefValueExpressionSyntax(this.Kind, this.keyword, this.openParenToken, this.expression, this.comma, this.type, this.closeParenToken, GetDiagnostics(), annotations); 3666var diags = GetDiagnostics(); 3682=> new CheckedExpressionSyntax(this.Kind, this.keyword, this.openParenToken, this.expression, this.closeParenToken, GetDiagnostics(), annotations); 3765var diags = GetDiagnostics(); 3781=> new UnsafeExpressionSyntax(this.Kind, this.keyword, this.openParenToken, this.expression, this.closeParenToken, GetDiagnostics(), annotations); 3864var diags = GetDiagnostics(); 3880=> new DefaultExpressionSyntax(this.Kind, this.keyword, this.openParenToken, this.type, this.closeParenToken, GetDiagnostics(), annotations); 3963var diags = GetDiagnostics(); 3979=> new TypeOfExpressionSyntax(this.Kind, this.keyword, this.openParenToken, this.type, this.closeParenToken, GetDiagnostics(), annotations); 4062var diags = GetDiagnostics(); 4078=> new SizeOfExpressionSyntax(this.Kind, this.keyword, this.openParenToken, this.type, this.closeParenToken, GetDiagnostics(), annotations); 4141var diags = GetDiagnostics(); 4157=> new InvocationExpressionSyntax(this.Kind, this.expression, this.argumentList, GetDiagnostics(), annotations); 4220var diags = GetDiagnostics(); 4236=> new ElementAccessExpressionSyntax(this.Kind, this.expression, this.argumentList, GetDiagnostics(), annotations); 4335var diags = GetDiagnostics(); 4351=> new ArgumentListSyntax(this.Kind, this.openParenToken, this.arguments, this.closeParenToken, GetDiagnostics(), annotations); 4433var diags = GetDiagnostics(); 4449=> new BracketedArgumentListSyntax(this.Kind, this.openBracketToken, this.arguments, this.closeBracketToken, GetDiagnostics(), annotations); 4540var diags = GetDiagnostics(); 4556=> new ArgumentSyntax(this.Kind, this.nameColon, this.refKindKeyword, this.expression, GetDiagnostics(), annotations); 4633var diags = GetDiagnostics(); 4649=> new ExpressionColonSyntax(this.Kind, this.expression, this.colonToken, GetDiagnostics(), annotations); 4712var diags = GetDiagnostics(); 4728=> new NameColonSyntax(this.Kind, this.name, this.colonToken, GetDiagnostics(), annotations); 4790var diags = GetDiagnostics(); 4806=> new DeclarationExpressionSyntax(this.Kind, this.type, this.designation, GetDiagnostics(), annotations); 4889var diags = GetDiagnostics(); 4905=> new CastExpressionSyntax(this.Kind, this.openParenToken, this.type, this.closeParenToken, this.expression, GetDiagnostics(), annotations); 5058var diags = GetDiagnostics(); 5074=> new AnonymousMethodExpressionSyntax(this.Kind, this.modifiers, this.delegateKeyword, this.parameterList, this.block, this.expressionBody, GetDiagnostics(), annotations); 5236var diags = GetDiagnostics(); 5252=> new SimpleLambdaExpressionSyntax(this.Kind, this.attributeLists, this.modifiers, this.parameter, this.arrowToken, this.block, this.expressionBody, GetDiagnostics(), annotations); 5312var diags = GetDiagnostics(); 5328=> new RefExpressionSyntax(this.Kind, this.refKeyword, this.expression, GetDiagnostics(), annotations); 5489var diags = GetDiagnostics(); 5505=> new ParenthesizedLambdaExpressionSyntax(this.Kind, this.attributeLists, this.modifiers, this.returnType, this.parameterList, this.arrowToken, this.block, this.expressionBody, GetDiagnostics(), annotations); 5587var diags = GetDiagnostics(); 5603=> new InitializerExpressionSyntax(this.Kind, this.openBraceToken, this.expressions, this.closeBraceToken, GetDiagnostics(), annotations); 5707var diags = GetDiagnostics(); 5723=> new ImplicitObjectCreationExpressionSyntax(this.Kind, this.newKeyword, this.argumentList, this.initializer, GetDiagnostics(), annotations); 5824var diags = GetDiagnostics(); 5840=> new ObjectCreationExpressionSyntax(this.Kind, this.newKeyword, this.type, this.argumentList, this.initializer, GetDiagnostics(), annotations); 5910var diags = GetDiagnostics(); 5926=> new WithExpressionSyntax(this.Kind, this.expression, this.withKeyword, this.initializer, GetDiagnostics(), annotations); 5997var diags = GetDiagnostics(); 6013=> new AnonymousObjectMemberDeclaratorSyntax(this.Kind, this.nameEquals, this.expression, GetDiagnostics(), annotations); 6105var diags = GetDiagnostics(); 6121=> new AnonymousObjectCreationExpressionSyntax(this.Kind, this.newKeyword, this.openBraceToken, this.initializers, this.closeBraceToken, GetDiagnostics(), annotations); 6203var diags = GetDiagnostics(); 6219=> new ArrayCreationExpressionSyntax(this.Kind, this.newKeyword, this.type, this.initializer, GetDiagnostics(), annotations); 6321var diags = GetDiagnostics(); 6337=> new ImplicitArrayCreationExpressionSyntax(this.Kind, this.newKeyword, this.openBracketToken, this.commas, this.closeBracketToken, this.initializer, GetDiagnostics(), annotations); 6419var diags = GetDiagnostics(); 6435=> new StackAllocArrayCreationExpressionSyntax(this.Kind, this.stackAllocKeyword, this.type, this.initializer, GetDiagnostics(), annotations); 6518var diags = GetDiagnostics(); 6534=> new ImplicitStackAllocArrayCreationExpressionSyntax(this.Kind, this.stackAllocKeyword, this.openBracketToken, this.closeBracketToken, this.initializer, GetDiagnostics(), annotations); 6613var diags = GetDiagnostics(); 6629=> new CollectionExpressionSyntax(this.Kind, this.openBracketToken, this.elements, this.closeBracketToken, GetDiagnostics(), annotations); 6689var diags = GetDiagnostics(); 6705=> new ExpressionElementSyntax(this.Kind, this.expression, GetDiagnostics(), annotations); 6765var diags = GetDiagnostics(); 6781=> new SpreadElementSyntax(this.Kind, this.operatorToken, this.expression, GetDiagnostics(), annotations); 6841var diags = GetDiagnostics(); 6857=> new WithElementSyntax(this.Kind, this.withKeyword, this.argumentList, GetDiagnostics(), annotations); 6943var diags = GetDiagnostics(); 6959=> new QueryExpressionSyntax(this.Kind, this.fromClause, this.body, GetDiagnostics(), annotations); 7046var diags = GetDiagnostics(); 7062=> new QueryBodySyntax(this.Kind, this.clauses, this.selectOrGroup, this.continuation, GetDiagnostics(), annotations); 7159var diags = GetDiagnostics(); 7175=> new FromClauseSyntax(this.Kind, this.fromKeyword, this.type, this.identifier, this.inKeyword, this.expression, GetDiagnostics(), annotations); 7254var diags = GetDiagnostics(); 7270=> new LetClauseSyntax(this.Kind, this.letKeyword, this.identifier, this.equalsToken, this.expression, GetDiagnostics(), annotations); 7421var diags = GetDiagnostics(); 7437=> new JoinClauseSyntax(this.Kind, this.joinKeyword, this.type, this.identifier, this.inKeyword, this.inExpression, this.onKeyword, this.leftExpression, this.equalsKeyword, this.rightExpression, this.into, GetDiagnostics(), annotations); 7498var diags = GetDiagnostics(); 7514=> new JoinIntoClauseSyntax(this.Kind, this.intoKeyword, this.identifier, GetDiagnostics(), annotations); 7574var diags = GetDiagnostics(); 7590=> new WhereClauseSyntax(this.Kind, this.whereKeyword, this.condition, GetDiagnostics(), annotations); 7659var diags = GetDiagnostics(); 7675=> new OrderByClauseSyntax(this.Kind, this.orderByKeyword, this.orderings, GetDiagnostics(), annotations); 7744var diags = GetDiagnostics(); 7760=> new OrderingSyntax(this.Kind, this.expression, this.ascendingOrDescendingKeyword, GetDiagnostics(), annotations); 7820var diags = GetDiagnostics(); 7836=> new SelectClauseSyntax(this.Kind, this.selectKeyword, this.expression, GetDiagnostics(), annotations); 7914var diags = GetDiagnostics(); 7930=> new GroupClauseSyntax(this.Kind, this.groupKeyword, this.groupExpression, this.byKeyword, this.byExpression, GetDiagnostics(), annotations); 8000var diags = GetDiagnostics(); 8016=> new QueryContinuationSyntax(this.Kind, this.intoKeyword, this.identifier, this.body, GetDiagnostics(), annotations); 8065var diags = GetDiagnostics(); 8081=> new OmittedArraySizeExpressionSyntax(this.Kind, this.omittedArraySizeExpressionToken, GetDiagnostics(), annotations); 8162var diags = GetDiagnostics(); 8178=> new InterpolatedStringExpressionSyntax(this.Kind, this.stringStartToken, this.contents, this.stringEndToken, GetDiagnostics(), annotations); 8250var diags = GetDiagnostics(); 8266=> new IsPatternExpressionSyntax(this.Kind, this.expression, this.isKeyword, this.pattern, GetDiagnostics(), annotations); 8326var diags = GetDiagnostics(); 8342=> new ThrowExpressionSyntax(this.Kind, this.throwKeyword, this.expression, GetDiagnostics(), annotations); 8402var diags = GetDiagnostics(); 8418=> new WhenClauseSyntax(this.Kind, this.whenKeyword, this.condition, GetDiagnostics(), annotations); 8478var diags = GetDiagnostics(); 8494=> new DiscardPatternSyntax(this.Kind, this.underscoreToken, GetDiagnostics(), annotations); 8554var diags = GetDiagnostics(); 8570=> new DeclarationPatternSyntax(this.Kind, this.type, this.designation, GetDiagnostics(), annotations); 8630var diags = GetDiagnostics(); 8646=> new VarPatternSyntax(this.Kind, this.varKeyword, this.designation, GetDiagnostics(), annotations); 8760var diags = GetDiagnostics(); 8776=> new RecursivePatternSyntax(this.Kind, this.type, this.positionalPatternClause, this.propertyPatternClause, this.designation, GetDiagnostics(), annotations); 8854var diags = GetDiagnostics(); 8870=> new PositionalPatternClauseSyntax(this.Kind, this.openParenToken, this.subpatterns, this.closeParenToken, GetDiagnostics(), annotations); 8948var diags = GetDiagnostics(); 8964=> new PropertyPatternClauseSyntax(this.Kind, this.openBraceToken, this.subpatterns, this.closeBraceToken, GetDiagnostics(), annotations); 9033var diags = GetDiagnostics(); 9049=> new SubpatternSyntax(this.Kind, this.expressionColon, this.pattern, GetDiagnostics(), annotations); 9097var diags = GetDiagnostics(); 9113=> new ConstantPatternSyntax(this.Kind, this.expression, GetDiagnostics(), annotations); 9182var diags = GetDiagnostics(); 9198=> new ParenthesizedPatternSyntax(this.Kind, this.openParenToken, this.pattern, this.closeParenToken, GetDiagnostics(), annotations); 9259var diags = GetDiagnostics(); 9275=> new RelationalPatternSyntax(this.Kind, this.operatorToken, this.expression, GetDiagnostics(), annotations); 9323var diags = GetDiagnostics(); 9339=> new TypePatternSyntax(this.Kind, this.type, GetDiagnostics(), annotations); 9408var diags = GetDiagnostics(); 9424=> new BinaryPatternSyntax(this.Kind, this.left, this.operatorToken, this.right, GetDiagnostics(), annotations); 9484var diags = GetDiagnostics(); 9500=> new UnaryPatternSyntax(this.Kind, this.operatorToken, this.pattern, GetDiagnostics(), annotations); 9596var diags = GetDiagnostics(); 9612=> new ListPatternSyntax(this.Kind, this.openBracketToken, this.patterns, this.closeBracketToken, this.designation, GetDiagnostics(), annotations); 9681var diags = GetDiagnostics(); 9697=> new SlicePatternSyntax(this.Kind, this.dotDotToken, this.pattern, GetDiagnostics(), annotations); 9758var diags = GetDiagnostics(); 9774=> new InterpolatedStringTextSyntax(this.Kind, this.textToken, GetDiagnostics(), annotations); 9883var diags = GetDiagnostics(); 9899=> new InterpolationSyntax(this.Kind, this.openBraceToken, this.expression, this.alignmentClause, this.formatClause, this.closeBraceToken, GetDiagnostics(), annotations); 9959var diags = GetDiagnostics(); 9975=> new InterpolationAlignmentClauseSyntax(this.Kind, this.commaToken, this.value, GetDiagnostics(), annotations); 10036var diags = GetDiagnostics(); 10052=> new InterpolationFormatClauseSyntax(this.Kind, this.colonToken, this.formatStringToken, GetDiagnostics(), annotations); 10140var diags = GetDiagnostics(); 10156=> new GlobalStatementSyntax(this.Kind, this.attributeLists, this.modifiers, this.statement, GetDiagnostics(), annotations); 10268var diags = GetDiagnostics(); 10284=> new BlockSyntax(this.Kind, this.attributeLists, this.openBraceToken, this.statements, this.closeBraceToken, GetDiagnostics(), annotations); 10481var diags = GetDiagnostics(); 10497=> new LocalFunctionStatementSyntax(this.Kind, this.attributeLists, this.modifiers, this.returnType, this.identifier, this.typeParameterList, this.parameterList, this.constraintClauses, this.body, this.expressionBody, this.semicolonToken, GetDiagnostics(), annotations); 10630var diags = GetDiagnostics(); 10646=> new LocalDeclarationStatementSyntax(this.Kind, this.attributeLists, this.awaitKeyword, this.usingKeyword, this.modifiers, this.declaration, this.semicolonToken, GetDiagnostics(), annotations); 10715var diags = GetDiagnostics(); 10731=> new VariableDeclarationSyntax(this.Kind, this.type, this.variables, GetDiagnostics(), annotations); 10819var diags = GetDiagnostics(); 10835=> new VariableDeclaratorSyntax(this.Kind, this.identifier, this.argumentList, this.initializer, GetDiagnostics(), annotations); 10895var diags = GetDiagnostics(); 10911=> new EqualsValueClauseSyntax(this.Kind, this.equalsToken, this.value, GetDiagnostics(), annotations); 10971var diags = GetDiagnostics(); 10987=> new SingleVariableDesignationSyntax(this.Kind, this.identifier, GetDiagnostics(), annotations); 11034var diags = GetDiagnostics(); 11050=> new DiscardDesignationSyntax(this.Kind, this.underscoreToken, GetDiagnostics(), annotations); 11128var diags = GetDiagnostics(); 11144=> new ParenthesizedVariableDesignationSyntax(this.Kind, this.openParenToken, this.variables, this.closeParenToken, GetDiagnostics(), annotations); 11222var diags = GetDiagnostics(); 11238=> new ExpressionStatementSyntax(this.Kind, this.attributeLists, this.expression, this.semicolonToken, GetDiagnostics(), annotations); 11307var diags = GetDiagnostics(); 11323=> new EmptyStatementSyntax(this.Kind, this.attributeLists, this.semicolonToken, GetDiagnostics(), annotations); 11413var diags = GetDiagnostics(); 11429=> new LabeledStatementSyntax(this.Kind, this.attributeLists, this.identifier, this.colonToken, this.statement, GetDiagnostics(), annotations); 11558var diags = GetDiagnostics(); 11574=> new GotoStatementSyntax(this.Kind, this.attributeLists, this.gotoKeyword, this.caseOrDefaultKeyword, this.expression, this.semicolonToken, GetDiagnostics(), annotations); 11670var diags = GetDiagnostics(); 11686=> new BreakStatementSyntax(this.Kind, this.attributeLists, this.breakKeyword, this.name, this.semicolonToken, GetDiagnostics(), annotations); 11782var diags = GetDiagnostics(); 11798=> new ContinueStatementSyntax(this.Kind, this.attributeLists, this.continueKeyword, this.name, this.semicolonToken, GetDiagnostics(), annotations); 11894var diags = GetDiagnostics(); 11910=> new ReturnStatementSyntax(this.Kind, this.attributeLists, this.returnKeyword, this.expression, this.semicolonToken, GetDiagnostics(), annotations); 12006var diags = GetDiagnostics(); 12022=> new ThrowStatementSyntax(this.Kind, this.attributeLists, this.throwKeyword, this.expression, this.semicolonToken, GetDiagnostics(), annotations); 12127var diags = GetDiagnostics(); 12143=> new YieldStatementSyntax(this.Kind, this.attributeLists, this.yieldKeyword, this.returnOrBreakKeyword, this.expression, this.semicolonToken, GetDiagnostics(), annotations); 12248var diags = GetDiagnostics(); 12264=> new WhileStatementSyntax(this.Kind, this.attributeLists, this.whileKeyword, this.openParenToken, this.condition, this.closeParenToken, this.statement, GetDiagnostics(), annotations); 12387var diags = GetDiagnostics(); 12403=> new DoStatementSyntax(this.Kind, this.attributeLists, this.doKeyword, this.statement, this.whileKeyword, this.openParenToken, this.condition, this.closeParenToken, this.semicolonToken, GetDiagnostics(), annotations); 12589var diags = GetDiagnostics(); 12605=> new ForStatementSyntax(this.Kind, this.attributeLists, this.forKeyword, this.openParenToken, this.declaration, this.initializers, this.firstSemicolonToken, this.condition, this.secondSemicolonToken, this.incrementors, this.closeParenToken, this.statement, GetDiagnostics(), annotations); 12783var diags = GetDiagnostics(); 12799=> new ForEachStatementSyntax(this.Kind, this.attributeLists, this.awaitKeyword, this.forEachKeyword, this.openParenToken, this.type, this.identifier, this.inKeyword, this.expression, this.closeParenToken, this.statement, GetDiagnostics(), annotations); 12946var diags = GetDiagnostics(); 12962=> new ForEachVariableStatementSyntax(this.Kind, this.attributeLists, this.awaitKeyword, this.forEachKeyword, this.openParenToken, this.variable, this.inKeyword, this.expression, this.closeParenToken, this.statement, GetDiagnostics(), annotations); 13112var diags = GetDiagnostics(); 13128=> new UsingStatementSyntax(this.Kind, this.attributeLists, this.awaitKeyword, this.usingKeyword, this.openParenToken, this.declaration, this.expression, this.closeParenToken, this.statement, GetDiagnostics(), annotations); 13233var diags = GetDiagnostics(); 13249=> new FixedStatementSyntax(this.Kind, this.attributeLists, this.fixedKeyword, this.openParenToken, this.declaration, this.closeParenToken, this.statement, GetDiagnostics(), annotations); 13327var diags = GetDiagnostics(); 13343=> new CheckedStatementSyntax(this.Kind, this.attributeLists, this.keyword, this.block, GetDiagnostics(), annotations); 13421var diags = GetDiagnostics(); 13437=> new UnsafeStatementSyntax(this.Kind, this.attributeLists, this.unsafeKeyword, this.block, GetDiagnostics(), annotations); 13542var diags = GetDiagnostics(); 13558=> new LockStatementSyntax(this.Kind, this.attributeLists, this.lockKeyword, this.openParenToken, this.expression, this.closeParenToken, this.statement, GetDiagnostics(), annotations); 13702var diags = GetDiagnostics(); 13718=> new IfStatementSyntax(this.Kind, this.attributeLists, this.ifKeyword, this.openParenToken, this.condition, this.closeParenToken, this.statement, this.@else, GetDiagnostics(), annotations); 13782var diags = GetDiagnostics(); 13798=> new ElseClauseSyntax(this.Kind, this.elseKeyword, this.statement, GetDiagnostics(), annotations); 13970var diags = GetDiagnostics(); 13986=> new SwitchStatementSyntax(this.Kind, this.attributeLists, this.switchKeyword, this.openParenToken, this.expression, this.closeParenToken, this.openBraceToken, this.sections, this.closeBraceToken, GetDiagnostics(), annotations); 14071var diags = GetDiagnostics(); 14087=> new SwitchSectionSyntax(this.Kind, this.labels, this.statements, GetDiagnostics(), annotations); 14203var diags = GetDiagnostics(); 14219=> new CasePatternSwitchLabelSyntax(this.Kind, this.keyword, this.pattern, this.whenClause, this.colonToken, GetDiagnostics(), annotations); 14293var diags = GetDiagnostics(); 14309=> new CaseSwitchLabelSyntax(this.Kind, this.keyword, this.value, this.colonToken, GetDiagnostics(), annotations); 14371var diags = GetDiagnostics(); 14387=> new DefaultSwitchLabelSyntax(this.Kind, this.keyword, this.colonToken, GetDiagnostics(), annotations); 14483var diags = GetDiagnostics(); 14499=> new SwitchExpressionSyntax(this.Kind, this.governingExpression, this.switchKeyword, this.openBraceToken, this.arms, this.closeBraceToken, GetDiagnostics(), annotations); 14586var diags = GetDiagnostics(); 14602=> new SwitchExpressionArmSyntax(this.Kind, this.pattern, this.whenClause, this.equalsGreaterThanToken, this.expression, GetDiagnostics(), annotations); 14716var diags = GetDiagnostics(); 14732=> new TryStatementSyntax(this.Kind, this.attributeLists, this.tryKeyword, this.block, this.catches, this.@finally, GetDiagnostics(), annotations); 14828var diags = GetDiagnostics(); 14844=> new CatchClauseSyntax(this.Kind, this.catchKeyword, this.declaration, this.filter, this.block, GetDiagnostics(), annotations); 14931var diags = GetDiagnostics(); 14947=> new CatchDeclarationSyntax(this.Kind, this.openParenToken, this.type, this.identifier, this.closeParenToken, GetDiagnostics(), annotations); 15025var diags = GetDiagnostics(); 15041=> new CatchFilterClauseSyntax(this.Kind, this.whenKeyword, this.openParenToken, this.filterExpression, this.closeParenToken, GetDiagnostics(), annotations); 15101var diags = GetDiagnostics(); 15117=> new FinallyClauseSyntax(this.Kind, this.finallyKeyword, this.block, GetDiagnostics(), annotations); 15241var diags = GetDiagnostics(); 15257=> new CompilationUnitSyntax(this.Kind, this.externs, this.usings, this.attributeLists, this.members, this.endOfFileToken, GetDiagnostics(), annotations); 15342var diags = GetDiagnostics(); 15358=> new ExternAliasDirectiveSyntax(this.Kind, this.externKeyword, this.aliasKeyword, this.identifier, this.semicolonToken, GetDiagnostics(), annotations); 15499var diags = GetDiagnostics(); 15515=> new UsingDirectiveSyntax(this.Kind, this.globalKeyword, this.usingKeyword, this.staticKeyword, this.unsafeKeyword, this.alias, this.namespaceOrType, this.semicolonToken, GetDiagnostics(), annotations); 15745var diags = GetDiagnostics(); 15761=> new NamespaceDeclarationSyntax(this.Kind, this.attributeLists, this.modifiers, this.namespaceKeyword, this.name, this.openBraceToken, this.externs, this.usings, this.members, this.closeBraceToken, this.semicolonToken, GetDiagnostics(), annotations); 15920var diags = GetDiagnostics(); 15936=> new FileScopedNamespaceDeclarationSyntax(this.Kind, this.attributeLists, this.modifiers, this.namespaceKeyword, this.name, this.semicolonToken, this.externs, this.usings, this.members, GetDiagnostics(), annotations); 16037var diags = GetDiagnostics(); 16053=> new AttributeListSyntax(this.Kind, this.openBracketToken, this.target, this.attributes, this.closeBracketToken, GetDiagnostics(), annotations); 16116var diags = GetDiagnostics(); 16132=> new AttributeTargetSpecifierSyntax(this.Kind, this.identifier, this.colonToken, GetDiagnostics(), annotations); 16206var diags = GetDiagnostics(); 16222=> new AttributeSyntax(this.Kind, this.name, this.argumentList, GetDiagnostics(), annotations); 16304var diags = GetDiagnostics(); 16320=> new AttributeArgumentListSyntax(this.Kind, this.openParenToken, this.arguments, this.closeParenToken, GetDiagnostics(), annotations); 16409var diags = GetDiagnostics(); 16425=> new AttributeArgumentSyntax(this.Kind, this.nameEquals, this.nameColon, this.expression, GetDiagnostics(), annotations); 16487var diags = GetDiagnostics(); 16503=> new NameEqualsSyntax(this.Kind, this.name, this.equalsToken, GetDiagnostics(), annotations); 16585var diags = GetDiagnostics(); 16601=> new TypeParameterListSyntax(this.Kind, this.lessThanToken, this.parameters, this.greaterThanToken, GetDiagnostics(), annotations); 16691var diags = GetDiagnostics(); 16707=> new TypeParameterSyntax(this.Kind, this.attributeLists, this.varianceKeyword, this.identifier, GetDiagnostics(), annotations); 17005var diags = GetDiagnostics(); 17021=> new ClassDeclarationSyntax(this.Kind, this.attributeLists, this.modifiers, this.keyword, this.identifier, this.typeParameterList, this.parameterList, this.baseList, this.constraintClauses, this.openBraceToken, this.members, this.closeBraceToken, this.semicolonToken, GetDiagnostics(), annotations); 17263var diags = GetDiagnostics(); 17279=> new StructDeclarationSyntax(this.Kind, this.attributeLists, this.modifiers, this.keyword, this.identifier, this.typeParameterList, this.parameterList, this.baseList, this.constraintClauses, this.openBraceToken, this.members, this.closeBraceToken, this.semicolonToken, GetDiagnostics(), annotations); 17521var diags = GetDiagnostics(); 17537=> new UnionDeclarationSyntax(this.Kind, this.attributeLists, this.modifiers, this.keyword, this.identifier, this.typeParameterList, this.parameterList, this.baseList, this.constraintClauses, this.openBraceToken, this.members, this.closeBraceToken, this.semicolonToken, GetDiagnostics(), annotations); 17779var diags = GetDiagnostics(); 17795=> new InterfaceDeclarationSyntax(this.Kind, this.attributeLists, this.modifiers, this.keyword, this.identifier, this.typeParameterList, this.parameterList, this.baseList, this.constraintClauses, this.openBraceToken, this.members, this.closeBraceToken, this.semicolonToken, GetDiagnostics(), annotations); 18053var diags = GetDiagnostics(); 18069=> new RecordDeclarationSyntax(this.Kind, this.attributeLists, this.modifiers, this.keyword, this.classOrStructKeyword, this.identifier, this.typeParameterList, this.parameterList, this.baseList, this.constraintClauses, this.openBraceToken, this.members, this.closeBraceToken, this.semicolonToken, GetDiagnostics(), annotations); 18259var diags = GetDiagnostics(); 18275=> new EnumDeclarationSyntax(this.Kind, this.attributeLists, this.modifiers, this.enumKeyword, this.identifier, this.baseList, this.openBraceToken, this.members, this.closeBraceToken, this.semicolonToken, GetDiagnostics(), annotations); 18441var diags = GetDiagnostics(); 18457=> new DelegateDeclarationSyntax(this.Kind, this.attributeLists, this.modifiers, this.delegateKeyword, this.returnType, this.identifier, this.typeParameterList, this.parameterList, this.constraintClauses, this.semicolonToken, GetDiagnostics(), annotations); 18563var diags = GetDiagnostics(); 18579=> new EnumMemberDeclarationSyntax(this.Kind, this.attributeLists, this.modifiers, this.identifier, this.equalsValue, GetDiagnostics(), annotations); 18793var diags = GetDiagnostics(); 18809=> new ExtensionBlockDeclarationSyntax(this.Kind, this.attributeLists, this.modifiers, this.keyword, this.typeParameterList, this.parameterList, this.constraintClauses, this.openBraceToken, this.members, this.closeBraceToken, this.semicolonToken, GetDiagnostics(), annotations); 18881var diags = GetDiagnostics(); 18897=> new BaseListSyntax(this.Kind, this.colonToken, this.types, GetDiagnostics(), annotations); 18960var diags = GetDiagnostics(); 18976=> new SimpleBaseTypeSyntax(this.Kind, this.type, GetDiagnostics(), annotations); 19036var diags = GetDiagnostics(); 19052=> new PrimaryConstructorBaseTypeSyntax(this.Kind, this.type, this.argumentList, GetDiagnostics(), annotations); 19143var diags = GetDiagnostics(); 19159=> new TypeParameterConstraintClauseSyntax(this.Kind, this.whereKeyword, this.name, this.colonToken, this.constraints, GetDiagnostics(), annotations); 19246var diags = GetDiagnostics(); 19262=> new ConstructorConstraintSyntax(this.Kind, this.newKeyword, this.openParenToken, this.closeParenToken, GetDiagnostics(), annotations); 19334var diags = GetDiagnostics(); 19350=> new ClassOrStructConstraintSyntax(this.Kind, this.classOrStructKeyword, this.questionToken, GetDiagnostics(), annotations); 19399var diags = GetDiagnostics(); 19415=> new TypeConstraintSyntax(this.Kind, this.type, GetDiagnostics(), annotations); 19464var diags = GetDiagnostics(); 19480=> new DefaultConstraintSyntax(this.Kind, this.defaultKeyword, GetDiagnostics(), annotations); 19551var diags = GetDiagnostics(); 19567=> new AllowsConstraintClauseSyntax(this.Kind, this.allowsKeyword, this.constraints, GetDiagnostics(), annotations); 19644var diags = GetDiagnostics(); 19660=> new RefStructConstraintSyntax(this.Kind, this.refKeyword, this.structKeyword, GetDiagnostics(), annotations); 19773var diags = GetDiagnostics(); 19789=> new FieldDeclarationSyntax(this.Kind, this.attributeLists, this.modifiers, this.declaration, this.semicolonToken, GetDiagnostics(), annotations); 19894var diags = GetDiagnostics(); 19910=> new EventFieldDeclarationSyntax(this.Kind, this.attributeLists, this.modifiers, this.eventKeyword, this.declaration, this.semicolonToken, GetDiagnostics(), annotations); 19970var diags = GetDiagnostics(); 19986=> new ExplicitInterfaceSpecifierSyntax(this.Kind, this.name, this.dotToken, GetDiagnostics(), annotations); 20228var diags = GetDiagnostics(); 20244=> new MethodDeclarationSyntax(this.Kind, this.attributeLists, this.modifiers, this.returnType, this.explicitInterfaceSpecifier, this.identifier, this.typeParameterList, this.parameterList, this.constraintClauses, this.body, this.expressionBody, this.semicolonToken, GetDiagnostics(), annotations); 20454var diags = GetDiagnostics(); 20470=> new OperatorDeclarationSyntax(this.Kind, this.attributeLists, this.modifiers, this.returnType, this.explicitInterfaceSpecifier, this.operatorKeyword, this.checkedKeyword, this.operatorToken, this.parameterList, this.body, this.expressionBody, this.semicolonToken, GetDiagnostics(), annotations); 20680var diags = GetDiagnostics(); 20696=> new ConversionOperatorDeclarationSyntax(this.Kind, this.attributeLists, this.modifiers, this.implicitOrExplicitKeyword, this.explicitInterfaceSpecifier, this.operatorKeyword, this.checkedKeyword, this.type, this.parameterList, this.body, this.expressionBody, this.semicolonToken, GetDiagnostics(), annotations); 20867var diags = GetDiagnostics(); 20883=> new ConstructorDeclarationSyntax(this.Kind, this.attributeLists, this.modifiers, this.identifier, this.parameterList, this.initializer, this.body, this.expressionBody, this.semicolonToken, GetDiagnostics(), annotations); 20955var diags = GetDiagnostics(); 20971=> new ConstructorInitializerSyntax(this.Kind, this.colonToken, this.thisOrBaseKeyword, this.argumentList, GetDiagnostics(), annotations); 21134var diags = GetDiagnostics(); 21150=> new DestructorDeclarationSyntax(this.Kind, this.attributeLists, this.modifiers, this.tildeToken, this.identifier, this.parameterList, this.body, this.expressionBody, this.semicolonToken, GetDiagnostics(), annotations); 21359var diags = GetDiagnostics(); 21375=> new PropertyDeclarationSyntax(this.Kind, this.attributeLists, this.modifiers, this.type, this.explicitInterfaceSpecifier, this.identifier, this.accessorList, this.expressionBody, this.initializer, this.semicolonToken, GetDiagnostics(), annotations); 21436var diags = GetDiagnostics(); 21452=> new ArrowExpressionClauseSyntax(this.Kind, this.arrowToken, this.expression, GetDiagnostics(), annotations); 21612var diags = GetDiagnostics(); 21628=> new EventDeclarationSyntax(this.Kind, this.attributeLists, this.modifiers, this.eventKeyword, this.type, this.explicitInterfaceSpecifier, this.identifier, this.accessorList, this.semicolonToken, GetDiagnostics(), annotations); 21806var diags = GetDiagnostics(); 21822=> new IndexerDeclarationSyntax(this.Kind, this.attributeLists, this.modifiers, this.type, this.explicitInterfaceSpecifier, this.thisKeyword, this.parameterList, this.accessorList, this.expressionBody, this.semicolonToken, GetDiagnostics(), annotations); 21900var diags = GetDiagnostics(); 21916=> new AccessorListSyntax(this.Kind, this.openBraceToken, this.accessors, this.closeBraceToken, GetDiagnostics(), annotations); 22063var diags = GetDiagnostics(); 22079=> new AccessorDeclarationSyntax(this.Kind, this.attributeLists, this.modifiers, this.keyword, this.body, this.expressionBody, this.semicolonToken, GetDiagnostics(), annotations); 22177var diags = GetDiagnostics(); 22193=> new ParameterListSyntax(this.Kind, this.openParenToken, this.parameters, this.closeParenToken, GetDiagnostics(), annotations); 22274var diags = GetDiagnostics(); 22290=> new BracketedParameterListSyntax(this.Kind, this.openBracketToken, this.parameters, this.closeBracketToken, GetDiagnostics(), annotations); 22448var diags = GetDiagnostics(); 22464=> new ParameterSyntax(this.Kind, this.attributeLists, this.modifiers, this.type, this.identifier, this.@default, GetDiagnostics(), annotations); 22554var diags = GetDiagnostics(); 22570=> new FunctionPointerParameterSyntax(this.Kind, this.attributeLists, this.modifiers, this.type, GetDiagnostics(), annotations); 22666var diags = GetDiagnostics(); 22682=> new IncompleteMemberSyntax(this.Kind, this.attributeLists, this.modifiers, this.type, GetDiagnostics(), annotations); 22738var diags = GetDiagnostics(); 22754=> new SkippedTokensTriviaSyntax(this.Kind, this.tokens, GetDiagnostics(), annotations); 22823var diags = GetDiagnostics(); 22839=> new DocumentationCommentTriviaSyntax(this.Kind, this.content, this.endOfComment, GetDiagnostics(), annotations); 22910var diags = GetDiagnostics(); 22926=> new TypeCrefSyntax(this.Kind, this.type, GetDiagnostics(), annotations); 23002var diags = GetDiagnostics(); 23018=> new QualifiedCrefSyntax(this.Kind, this.container, this.dotToken, this.member, GetDiagnostics(), annotations); 23113var diags = GetDiagnostics(); 23129=> new NameMemberCrefSyntax(this.Kind, this.name, this.parameters, GetDiagnostics(), annotations); 23225var diags = GetDiagnostics(); 23241=> new ExtensionMemberCrefSyntax(this.Kind, this.extensionKeyword, this.typeArgumentList, this.parameters, this.dotToken, this.member, GetDiagnostics(), annotations); 23314var diags = GetDiagnostics(); 23330=> new IndexerMemberCrefSyntax(this.Kind, this.thisKeyword, this.parameters, GetDiagnostics(), annotations); 23432var diags = GetDiagnostics(); 23448=> new OperatorMemberCrefSyntax(this.Kind, this.operatorKeyword, this.checkedKeyword, this.operatorToken, this.parameters, GetDiagnostics(), annotations); 23557var diags = GetDiagnostics(); 23573=> new ConversionOperatorMemberCrefSyntax(this.Kind, this.implicitOrExplicitKeyword, this.operatorKeyword, this.checkedKeyword, this.type, this.parameters, GetDiagnostics(), annotations); 23676var diags = GetDiagnostics(); 23692=> new CrefParameterListSyntax(this.Kind, this.openParenToken, this.parameters, this.closeParenToken, GetDiagnostics(), annotations); 23775var diags = GetDiagnostics(); 23791=> new CrefBracketedParameterListSyntax(this.Kind, this.openBracketToken, this.parameters, this.closeBracketToken, GetDiagnostics(), annotations); 23884var diags = GetDiagnostics(); 23900=> new CrefParameterSyntax(this.Kind, this.refKindKeyword, this.readOnlyKeyword, this.type, GetDiagnostics(), annotations); 23991var diags = GetDiagnostics(); 24007=> new XmlElementSyntax(this.Kind, this.startTag, this.content, this.endTag, GetDiagnostics(), annotations); 24094var diags = GetDiagnostics(); 24110=> new XmlElementStartTagSyntax(this.Kind, this.lessThanToken, this.name, this.attributes, this.greaterThanToken, GetDiagnostics(), annotations); 24179var diags = GetDiagnostics(); 24195=> new XmlElementEndTagSyntax(this.Kind, this.lessThanSlashToken, this.name, this.greaterThanToken, GetDiagnostics(), annotations); 24282var diags = GetDiagnostics(); 24298=> new XmlEmptyElementSyntax(this.Kind, this.lessThanToken, this.name, this.attributes, this.slashGreaterThanToken, GetDiagnostics(), annotations); 24367var diags = GetDiagnostics(); 24383=> new XmlNameSyntax(this.Kind, this.prefix, this.localName, GetDiagnostics(), annotations); 24443var diags = GetDiagnostics(); 24459=> new XmlPrefixSyntax(this.Kind, this.prefix, this.colonToken, GetDiagnostics(), annotations); 24576var diags = GetDiagnostics(); 24592=> new XmlTextAttributeSyntax(this.Kind, this.name, this.equalsToken, this.startQuoteToken, this.textTokens, this.endQuoteToken, GetDiagnostics(), annotations); 24679var diags = GetDiagnostics(); 24695=> new XmlCrefAttributeSyntax(this.Kind, this.name, this.equalsToken, this.startQuoteToken, this.cref, this.endQuoteToken, GetDiagnostics(), annotations); 24782var diags = GetDiagnostics(); 24798=> new XmlNameAttributeSyntax(this.Kind, this.name, this.equalsToken, this.startQuoteToken, this.identifier, this.endQuoteToken, GetDiagnostics(), annotations); 24854var diags = GetDiagnostics(); 24870=> new XmlTextSyntax(this.Kind, this.textTokens, GetDiagnostics(), annotations); 24948var diags = GetDiagnostics(); 24964=> new XmlCDataSectionSyntax(this.Kind, this.startCDataToken, this.textTokens, this.endCDataToken, GetDiagnostics(), annotations); 25051var diags = GetDiagnostics(); 25067=> new XmlProcessingInstructionSyntax(this.Kind, this.startProcessingInstructionToken, this.name, this.textTokens, this.endProcessingInstructionToken, GetDiagnostics(), annotations); 25145var diags = GetDiagnostics(); 25161=> new XmlCommentSyntax(this.Kind, this.lessThanExclamationMinusMinusToken, this.textTokens, this.minusMinusGreaterThanToken, GetDiagnostics(), annotations); 25307var diags = GetDiagnostics(); 25323=> new IfDirectiveTriviaSyntax(this.Kind, this.hashToken, this.ifKeyword, this.condition, this.endOfDirectiveToken, this.isActive, this.branchTaken, this.conditionValue, GetDiagnostics(), annotations); 25416var diags = GetDiagnostics(); 25432=> new ElifDirectiveTriviaSyntax(this.Kind, this.hashToken, this.elifKeyword, this.condition, this.endOfDirectiveToken, this.isActive, this.branchTaken, this.conditionValue, GetDiagnostics(), annotations); 25511var diags = GetDiagnostics(); 25527=> new ElseDirectiveTriviaSyntax(this.Kind, this.hashToken, this.elseKeyword, this.endOfDirectiveToken, this.isActive, this.branchTaken, GetDiagnostics(), annotations); 25601var diags = GetDiagnostics(); 25617=> new EndIfDirectiveTriviaSyntax(this.Kind, this.hashToken, this.endIfKeyword, this.endOfDirectiveToken, this.isActive, GetDiagnostics(), annotations); 25691var diags = GetDiagnostics(); 25707=> new RegionDirectiveTriviaSyntax(this.Kind, this.hashToken, this.regionKeyword, this.endOfDirectiveToken, this.isActive, GetDiagnostics(), annotations); 25781var diags = GetDiagnostics(); 25797=> new EndRegionDirectiveTriviaSyntax(this.Kind, this.hashToken, this.endRegionKeyword, this.endOfDirectiveToken, this.isActive, GetDiagnostics(), annotations); 25871var diags = GetDiagnostics(); 25887=> new ErrorDirectiveTriviaSyntax(this.Kind, this.hashToken, this.errorKeyword, this.endOfDirectiveToken, this.isActive, GetDiagnostics(), annotations); 25961var diags = GetDiagnostics(); 25977=> new WarningDirectiveTriviaSyntax(this.Kind, this.hashToken, this.warningKeyword, this.endOfDirectiveToken, this.isActive, GetDiagnostics(), annotations); 26051var diags = GetDiagnostics(); 26067=> new BadDirectiveTriviaSyntax(this.Kind, this.hashToken, this.identifier, this.endOfDirectiveToken, this.isActive, GetDiagnostics(), annotations); 26150var diags = GetDiagnostics(); 26166=> new DefineDirectiveTriviaSyntax(this.Kind, this.hashToken, this.defineKeyword, this.name, this.endOfDirectiveToken, this.isActive, GetDiagnostics(), annotations); 26249var diags = GetDiagnostics(); 26265=> new UndefDirectiveTriviaSyntax(this.Kind, this.hashToken, this.undefKeyword, this.name, this.endOfDirectiveToken, this.isActive, GetDiagnostics(), annotations); 26383var diags = GetDiagnostics(); 26399=> new LineDirectiveTriviaSyntax(this.Kind, this.hashToken, this.lineKeyword, this.line, this.file, this.endOfDirectiveToken, this.isActive, GetDiagnostics(), annotations); 26486var diags = GetDiagnostics(); 26502=> new LineDirectivePositionSyntax(this.Kind, this.openParenToken, this.line, this.commaToken, this.character, this.closeParenToken, GetDiagnostics(), annotations); 26630var diags = GetDiagnostics(); 26646=> new LineSpanDirectiveTriviaSyntax(this.Kind, this.hashToken, this.lineKeyword, this.start, this.minusToken, this.end, this.characterOffset, this.file, this.endOfDirectiveToken, this.isActive, GetDiagnostics(), annotations); 26756var diags = GetDiagnostics(); 26772=> new PragmaWarningDirectiveTriviaSyntax(this.Kind, this.hashToken, this.pragmaKeyword, this.warningKeyword, this.disableOrRestoreKeyword, this.errorCodes, this.endOfDirectiveToken, this.isActive, GetDiagnostics(), annotations); 26882var diags = GetDiagnostics(); 26898=> new PragmaChecksumDirectiveTriviaSyntax(this.Kind, this.hashToken, this.pragmaKeyword, this.checksumKeyword, this.file, this.guid, this.bytes, this.endOfDirectiveToken, this.isActive, GetDiagnostics(), annotations); 26981var diags = GetDiagnostics(); 26997=> new ReferenceDirectiveTriviaSyntax(this.Kind, this.hashToken, this.referenceKeyword, this.file, this.endOfDirectiveToken, this.isActive, GetDiagnostics(), annotations); 27080var diags = GetDiagnostics(); 27096=> new LoadDirectiveTriviaSyntax(this.Kind, this.hashToken, this.loadKeyword, this.file, this.endOfDirectiveToken, this.isActive, GetDiagnostics(), annotations); 27170var diags = GetDiagnostics(); 27186=> new ShebangDirectiveTriviaSyntax(this.Kind, this.hashToken, this.exclamationToken, this.endOfDirectiveToken, this.isActive, GetDiagnostics(), annotations); 27278var diags = GetDiagnostics(); 27294=> new IgnoredDirectiveTriviaSyntax(this.Kind, this.hashToken, this.colonToken, this.content, this.endOfDirectiveToken, this.isActive, GetDiagnostics(), annotations); 27395var diags = GetDiagnostics(); 27411=> new NullableDirectiveTriviaSyntax(this.Kind, this.hashToken, this.nullableKeyword, this.settingToken, this.targetToken, this.endOfDirectiveToken, this.isActive, GetDiagnostics(), annotations);
Parser\LanguageParser.cs (5)
1252literalToken.GetDiagnostics().Contains(d => d.Code == (int)ErrorCode.ERR_NewlineInConst)) 7151return WithAdditionalDiagnostics(_syntaxFactory.AliasQualifiedName(identifierLeft, separator, right), left.GetDiagnostics()); 9383!semicolonToken.GetDiagnostics().Contains(diagnosticInfo => (ErrorCode)diagnosticInfo.Code == ErrorCode.ERR_SemicolonExpected)) 10272Debug.Assert(parenExpression.GetDiagnostics().Length == 0); 14746foreach (var diagnostic in current.GetDiagnostics())
Parser\LanguageParser_InterpolatedString.cs (3)
54diagnosticsBuilder.AddRange(interpolatedString.GetDiagnostics()); 61var textTokenDiagnostics = MoveDiagnostics(interpolatedText.GetDiagnostics(), interpolatedString.StringStartToken.Width); 598result = result.WithDiagnosticsGreen(MoveDiagnostics(token.GetDiagnostics(), -prefix.Length));
Parser\SyntaxParser.cs (5)
734DiagnosticInfo[] existingDiags = node.GetDiagnostics(); 1063var existing = (SyntaxDiagnosticInfo)token.GetDiagnostics().FirstOrDefault(); 1080var existing = (SyntaxDiagnosticInfo)node.GetDiagnostics().FirstOrDefault(); 1111var d = token.GetDiagnostics(); 1129identifier = identifier.WithDiagnosticsGreen(token.GetDiagnostics());
Syntax\InternalSyntax\SyntaxFirstTokenReplacer.cs (1)
61DiagnosticInfo[] oldDiagnostics = node.GetDiagnostics();
Syntax\InternalSyntax\SyntaxToken.cs (3)
349return new SyntaxTokenWithTrivia(this.Kind, trivia, null, this.GetDiagnostics(), this.GetAnnotations()); 359return new SyntaxTokenWithTrivia(this.Kind, null, trivia, this.GetDiagnostics(), this.GetAnnotations()); 371return new SyntaxToken(this.Kind, this.FullWidth, this.GetDiagnostics(), annotations);
Syntax\InternalSyntax\SyntaxToken.MissingTokenWithTrivia.cs (3)
49return new MissingTokenWithTrivia(this.Kind, trivia, this.TrailingField, this.GetDiagnostics(), this.GetAnnotations()); 54return new MissingTokenWithTrivia(this.Kind, this.LeadingField, trivia, this.GetDiagnostics(), this.GetAnnotations()); 64return new MissingTokenWithTrivia(this.Kind, this.LeadingField, this.TrailingField, this.GetDiagnostics(), annotations);
Syntax\InternalSyntax\SyntaxToken.SyntaxIdentifier.cs (3)
46return new SyntaxIdentifierWithTrivia(this.Kind, this.TextField, this.TextField, trivia, null, this.GetDiagnostics(), this.GetAnnotations()); 51return new SyntaxIdentifierWithTrivia(this.Kind, this.TextField, this.TextField, null, trivia, this.GetDiagnostics(), this.GetAnnotations()); 61return new SyntaxIdentifier(this.Text, this.GetDiagnostics(), annotations);
Syntax\InternalSyntax\SyntaxToken.SyntaxIdentifierExtended.cs (3)
49return new SyntaxIdentifierWithTrivia(this.contextualKind, this.TextField, this.valueText, trivia, null, this.GetDiagnostics(), this.GetAnnotations()); 54return new SyntaxIdentifierWithTrivia(this.contextualKind, this.TextField, this.valueText, null, trivia, this.GetDiagnostics(), this.GetAnnotations()); 64return new SyntaxIdentifierExtended(this.contextualKind, this.TextField, this.valueText, this.GetDiagnostics(), annotations);
Syntax\InternalSyntax\SyntaxToken.SyntaxIdentifierWithTrailingTrivia.cs (3)
42return new SyntaxIdentifierWithTrivia(this.Kind, this.TextField, this.TextField, trivia, _trailing, this.GetDiagnostics(), this.GetAnnotations()); 47return new SyntaxIdentifierWithTrailingTrivia(this.TextField, trivia, this.GetDiagnostics(), this.GetAnnotations()); 57return new SyntaxIdentifierWithTrailingTrivia(this.TextField, _trailing, this.GetDiagnostics(), annotations);
Syntax\InternalSyntax\SyntaxToken.SyntaxIdentifierWithTrivia.cs (3)
70return new SyntaxIdentifierWithTrivia(this.contextualKind, this.TextField, this.valueText, trivia, _trailing, this.GetDiagnostics(), this.GetAnnotations()); 75return new SyntaxIdentifierWithTrivia(this.contextualKind, this.TextField, this.valueText, _leading, trivia, this.GetDiagnostics(), this.GetAnnotations()); 85return new SyntaxIdentifierWithTrivia(this.contextualKind, this.TextField, this.valueText, _leading, _trailing, this.GetDiagnostics(), annotations);
Syntax\InternalSyntax\SyntaxToken.SyntaxLiteral.cs (3)
59return new SyntaxTokenWithValueAndTrivia<T>(this.Kind, this.TextField, this.ValueField, trivia, null, this.GetDiagnostics(), this.GetAnnotations()); 64return new SyntaxTokenWithValueAndTrivia<T>(this.Kind, this.TextField, this.ValueField, null, trivia, this.GetDiagnostics(), this.GetAnnotations()); 74return new SyntaxTokenWithValue<T>(this.Kind, this.TextField, this.ValueField, this.GetDiagnostics(), annotations);
Syntax\InternalSyntax\SyntaxToken.SyntaxLiteralWithTrivia.cs (3)
65return new SyntaxTokenWithValueAndTrivia<T>(this.Kind, this.TextField, this.ValueField, trivia, _trailing, this.GetDiagnostics(), this.GetAnnotations()); 70return new SyntaxTokenWithValueAndTrivia<T>(this.Kind, this.TextField, this.ValueField, _leading, trivia, this.GetDiagnostics(), this.GetAnnotations()); 80return new SyntaxTokenWithValueAndTrivia<T>(this.Kind, this.TextField, this.ValueField, _leading, _trailing, this.GetDiagnostics(), annotations);
Syntax\InternalSyntax\SyntaxToken.SyntaxTokenWithTrivia.cs (3)
58return new SyntaxTokenWithTrivia(this.Kind, trivia, this.TrailingField, this.GetDiagnostics(), this.GetAnnotations()); 63return new SyntaxTokenWithTrivia(this.Kind, this.LeadingField, trivia, this.GetDiagnostics(), this.GetAnnotations()); 73return new SyntaxTokenWithTrivia(this.Kind, this.LeadingField, this.TrailingField, this.GetDiagnostics(), annotations);
Syntax\InternalSyntax\SyntaxTrivia.cs (1)
72return new SyntaxTrivia(this.Kind, this.Text, GetDiagnostics(), annotations);
Syntax\SyntaxTreeDiagnosticEnumerator.cs (1)
50foreach (SyntaxDiagnosticInfo sdi in node.GetDiagnostics())