550 references to GetDiagnostics
Microsoft.CodeAnalysis (10)
Syntax\GreenNode.cs (2)
1043if (GetDiagnostics() == null) 1050errorInfos = 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 (539)
Parser\LanguageParser.cs (5)
1251literalToken.GetDiagnostics().Contains(d => d.Code == (int)ErrorCode.ERR_NewlineInConst)) 7057return WithAdditionalDiagnostics(_syntaxFactory.AliasQualifiedName(identifierLeft, separator, right), left.GetDiagnostics()); 9273!semicolonToken.GetDiagnostics().Contains(diagnosticInfo => (ErrorCode)diagnosticInfo.Code == ErrorCode.ERR_SemicolonExpected)) 10160Debug.Assert(parenExpression.GetDiagnostics().Length == 0); 14617foreach (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.xml.Internal.Generated.cs (496)
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 DefaultExpressionSyntax(this.Kind, this.keyword, this.openParenToken, this.type, this.closeParenToken, GetDiagnostics(), annotations); 3864var diags = GetDiagnostics(); 3880=> new TypeOfExpressionSyntax(this.Kind, this.keyword, this.openParenToken, this.type, this.closeParenToken, GetDiagnostics(), annotations); 3963var diags = GetDiagnostics(); 3979=> new SizeOfExpressionSyntax(this.Kind, this.keyword, this.openParenToken, this.type, this.closeParenToken, GetDiagnostics(), annotations); 4042var diags = GetDiagnostics(); 4058=> new InvocationExpressionSyntax(this.Kind, this.expression, this.argumentList, GetDiagnostics(), annotations); 4121var diags = GetDiagnostics(); 4137=> new ElementAccessExpressionSyntax(this.Kind, this.expression, this.argumentList, GetDiagnostics(), annotations); 4236var diags = GetDiagnostics(); 4252=> new ArgumentListSyntax(this.Kind, this.openParenToken, this.arguments, this.closeParenToken, GetDiagnostics(), annotations); 4334var diags = GetDiagnostics(); 4350=> new BracketedArgumentListSyntax(this.Kind, this.openBracketToken, this.arguments, this.closeBracketToken, GetDiagnostics(), annotations); 4441var diags = GetDiagnostics(); 4457=> new ArgumentSyntax(this.Kind, this.nameColon, this.refKindKeyword, this.expression, GetDiagnostics(), annotations); 4534var diags = GetDiagnostics(); 4550=> new ExpressionColonSyntax(this.Kind, this.expression, this.colonToken, GetDiagnostics(), annotations); 4613var diags = GetDiagnostics(); 4629=> new NameColonSyntax(this.Kind, this.name, this.colonToken, GetDiagnostics(), annotations); 4691var diags = GetDiagnostics(); 4707=> new DeclarationExpressionSyntax(this.Kind, this.type, this.designation, GetDiagnostics(), annotations); 4790var diags = GetDiagnostics(); 4806=> new CastExpressionSyntax(this.Kind, this.openParenToken, this.type, this.closeParenToken, this.expression, GetDiagnostics(), annotations); 4959var diags = GetDiagnostics(); 4975=> new AnonymousMethodExpressionSyntax(this.Kind, this.modifiers, this.delegateKeyword, this.parameterList, this.block, this.expressionBody, GetDiagnostics(), annotations); 5137var diags = GetDiagnostics(); 5153=> new SimpleLambdaExpressionSyntax(this.Kind, this.attributeLists, this.modifiers, this.parameter, this.arrowToken, this.block, this.expressionBody, GetDiagnostics(), annotations); 5213var diags = GetDiagnostics(); 5229=> new RefExpressionSyntax(this.Kind, this.refKeyword, this.expression, GetDiagnostics(), annotations); 5390var diags = GetDiagnostics(); 5406=> new ParenthesizedLambdaExpressionSyntax(this.Kind, this.attributeLists, this.modifiers, this.returnType, this.parameterList, this.arrowToken, this.block, this.expressionBody, GetDiagnostics(), annotations); 5488var diags = GetDiagnostics(); 5504=> new InitializerExpressionSyntax(this.Kind, this.openBraceToken, this.expressions, this.closeBraceToken, GetDiagnostics(), annotations); 5608var diags = GetDiagnostics(); 5624=> new ImplicitObjectCreationExpressionSyntax(this.Kind, this.newKeyword, this.argumentList, this.initializer, GetDiagnostics(), annotations); 5725var diags = GetDiagnostics(); 5741=> new ObjectCreationExpressionSyntax(this.Kind, this.newKeyword, this.type, this.argumentList, this.initializer, GetDiagnostics(), annotations); 5811var diags = GetDiagnostics(); 5827=> new WithExpressionSyntax(this.Kind, this.expression, this.withKeyword, this.initializer, GetDiagnostics(), annotations); 5898var diags = GetDiagnostics(); 5914=> new AnonymousObjectMemberDeclaratorSyntax(this.Kind, this.nameEquals, this.expression, GetDiagnostics(), annotations); 6006var diags = GetDiagnostics(); 6022=> new AnonymousObjectCreationExpressionSyntax(this.Kind, this.newKeyword, this.openBraceToken, this.initializers, this.closeBraceToken, GetDiagnostics(), annotations); 6104var diags = GetDiagnostics(); 6120=> new ArrayCreationExpressionSyntax(this.Kind, this.newKeyword, this.type, this.initializer, GetDiagnostics(), annotations); 6222var diags = GetDiagnostics(); 6238=> new ImplicitArrayCreationExpressionSyntax(this.Kind, this.newKeyword, this.openBracketToken, this.commas, this.closeBracketToken, this.initializer, GetDiagnostics(), annotations); 6320var diags = GetDiagnostics(); 6336=> new StackAllocArrayCreationExpressionSyntax(this.Kind, this.stackAllocKeyword, this.type, this.initializer, GetDiagnostics(), annotations); 6419var diags = GetDiagnostics(); 6435=> new ImplicitStackAllocArrayCreationExpressionSyntax(this.Kind, this.stackAllocKeyword, this.openBracketToken, this.closeBracketToken, this.initializer, GetDiagnostics(), annotations); 6514var diags = GetDiagnostics(); 6530=> new CollectionExpressionSyntax(this.Kind, this.openBracketToken, this.elements, this.closeBracketToken, GetDiagnostics(), annotations); 6590var diags = GetDiagnostics(); 6606=> new ExpressionElementSyntax(this.Kind, this.expression, GetDiagnostics(), annotations); 6666var diags = GetDiagnostics(); 6682=> new SpreadElementSyntax(this.Kind, this.operatorToken, this.expression, GetDiagnostics(), annotations); 6742var diags = GetDiagnostics(); 6758=> new WithElementSyntax(this.Kind, this.withKeyword, this.argumentList, GetDiagnostics(), annotations); 6844var diags = GetDiagnostics(); 6860=> new QueryExpressionSyntax(this.Kind, this.fromClause, this.body, GetDiagnostics(), annotations); 6947var diags = GetDiagnostics(); 6963=> new QueryBodySyntax(this.Kind, this.clauses, this.selectOrGroup, this.continuation, GetDiagnostics(), annotations); 7060var diags = GetDiagnostics(); 7076=> new FromClauseSyntax(this.Kind, this.fromKeyword, this.type, this.identifier, this.inKeyword, this.expression, GetDiagnostics(), annotations); 7155var diags = GetDiagnostics(); 7171=> new LetClauseSyntax(this.Kind, this.letKeyword, this.identifier, this.equalsToken, this.expression, GetDiagnostics(), annotations); 7322var diags = GetDiagnostics(); 7338=> 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); 7399var diags = GetDiagnostics(); 7415=> new JoinIntoClauseSyntax(this.Kind, this.intoKeyword, this.identifier, GetDiagnostics(), annotations); 7475var diags = GetDiagnostics(); 7491=> new WhereClauseSyntax(this.Kind, this.whereKeyword, this.condition, GetDiagnostics(), annotations); 7560var diags = GetDiagnostics(); 7576=> new OrderByClauseSyntax(this.Kind, this.orderByKeyword, this.orderings, GetDiagnostics(), annotations); 7645var diags = GetDiagnostics(); 7661=> new OrderingSyntax(this.Kind, this.expression, this.ascendingOrDescendingKeyword, GetDiagnostics(), annotations); 7721var diags = GetDiagnostics(); 7737=> new SelectClauseSyntax(this.Kind, this.selectKeyword, this.expression, GetDiagnostics(), annotations); 7815var diags = GetDiagnostics(); 7831=> new GroupClauseSyntax(this.Kind, this.groupKeyword, this.groupExpression, this.byKeyword, this.byExpression, GetDiagnostics(), annotations); 7901var diags = GetDiagnostics(); 7917=> new QueryContinuationSyntax(this.Kind, this.intoKeyword, this.identifier, this.body, GetDiagnostics(), annotations); 7966var diags = GetDiagnostics(); 7982=> new OmittedArraySizeExpressionSyntax(this.Kind, this.omittedArraySizeExpressionToken, GetDiagnostics(), annotations); 8063var diags = GetDiagnostics(); 8079=> new InterpolatedStringExpressionSyntax(this.Kind, this.stringStartToken, this.contents, this.stringEndToken, GetDiagnostics(), annotations); 8151var diags = GetDiagnostics(); 8167=> new IsPatternExpressionSyntax(this.Kind, this.expression, this.isKeyword, this.pattern, GetDiagnostics(), annotations); 8227var diags = GetDiagnostics(); 8243=> new ThrowExpressionSyntax(this.Kind, this.throwKeyword, this.expression, GetDiagnostics(), annotations); 8303var diags = GetDiagnostics(); 8319=> new WhenClauseSyntax(this.Kind, this.whenKeyword, this.condition, GetDiagnostics(), annotations); 8379var diags = GetDiagnostics(); 8395=> new DiscardPatternSyntax(this.Kind, this.underscoreToken, GetDiagnostics(), annotations); 8455var diags = GetDiagnostics(); 8471=> new DeclarationPatternSyntax(this.Kind, this.type, this.designation, GetDiagnostics(), annotations); 8531var diags = GetDiagnostics(); 8547=> new VarPatternSyntax(this.Kind, this.varKeyword, this.designation, GetDiagnostics(), annotations); 8661var diags = GetDiagnostics(); 8677=> new RecursivePatternSyntax(this.Kind, this.type, this.positionalPatternClause, this.propertyPatternClause, this.designation, GetDiagnostics(), annotations); 8755var diags = GetDiagnostics(); 8771=> new PositionalPatternClauseSyntax(this.Kind, this.openParenToken, this.subpatterns, this.closeParenToken, GetDiagnostics(), annotations); 8849var diags = GetDiagnostics(); 8865=> new PropertyPatternClauseSyntax(this.Kind, this.openBraceToken, this.subpatterns, this.closeBraceToken, GetDiagnostics(), annotations); 8934var diags = GetDiagnostics(); 8950=> new SubpatternSyntax(this.Kind, this.expressionColon, this.pattern, GetDiagnostics(), annotations); 8998var diags = GetDiagnostics(); 9014=> new ConstantPatternSyntax(this.Kind, this.expression, GetDiagnostics(), annotations); 9083var diags = GetDiagnostics(); 9099=> new ParenthesizedPatternSyntax(this.Kind, this.openParenToken, this.pattern, this.closeParenToken, GetDiagnostics(), annotations); 9160var diags = GetDiagnostics(); 9176=> new RelationalPatternSyntax(this.Kind, this.operatorToken, this.expression, GetDiagnostics(), annotations); 9224var diags = GetDiagnostics(); 9240=> new TypePatternSyntax(this.Kind, this.type, GetDiagnostics(), annotations); 9309var diags = GetDiagnostics(); 9325=> new BinaryPatternSyntax(this.Kind, this.left, this.operatorToken, this.right, GetDiagnostics(), annotations); 9385var diags = GetDiagnostics(); 9401=> new UnaryPatternSyntax(this.Kind, this.operatorToken, this.pattern, GetDiagnostics(), annotations); 9497var diags = GetDiagnostics(); 9513=> new ListPatternSyntax(this.Kind, this.openBracketToken, this.patterns, this.closeBracketToken, this.designation, GetDiagnostics(), annotations); 9582var diags = GetDiagnostics(); 9598=> new SlicePatternSyntax(this.Kind, this.dotDotToken, this.pattern, GetDiagnostics(), annotations); 9659var diags = GetDiagnostics(); 9675=> new InterpolatedStringTextSyntax(this.Kind, this.textToken, GetDiagnostics(), annotations); 9784var diags = GetDiagnostics(); 9800=> new InterpolationSyntax(this.Kind, this.openBraceToken, this.expression, this.alignmentClause, this.formatClause, this.closeBraceToken, GetDiagnostics(), annotations); 9860var diags = GetDiagnostics(); 9876=> new InterpolationAlignmentClauseSyntax(this.Kind, this.commaToken, this.value, GetDiagnostics(), annotations); 9937var diags = GetDiagnostics(); 9953=> new InterpolationFormatClauseSyntax(this.Kind, this.colonToken, this.formatStringToken, GetDiagnostics(), annotations); 10041var diags = GetDiagnostics(); 10057=> new GlobalStatementSyntax(this.Kind, this.attributeLists, this.modifiers, this.statement, GetDiagnostics(), annotations); 10169var diags = GetDiagnostics(); 10185=> new BlockSyntax(this.Kind, this.attributeLists, this.openBraceToken, this.statements, this.closeBraceToken, GetDiagnostics(), annotations); 10382var diags = GetDiagnostics(); 10398=> 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); 10531var diags = GetDiagnostics(); 10547=> new LocalDeclarationStatementSyntax(this.Kind, this.attributeLists, this.awaitKeyword, this.usingKeyword, this.modifiers, this.declaration, this.semicolonToken, GetDiagnostics(), annotations); 10616var diags = GetDiagnostics(); 10632=> new VariableDeclarationSyntax(this.Kind, this.type, this.variables, GetDiagnostics(), annotations); 10720var diags = GetDiagnostics(); 10736=> new VariableDeclaratorSyntax(this.Kind, this.identifier, this.argumentList, this.initializer, GetDiagnostics(), annotations); 10796var diags = GetDiagnostics(); 10812=> new EqualsValueClauseSyntax(this.Kind, this.equalsToken, this.value, GetDiagnostics(), annotations); 10872var diags = GetDiagnostics(); 10888=> new SingleVariableDesignationSyntax(this.Kind, this.identifier, GetDiagnostics(), annotations); 10935var diags = GetDiagnostics(); 10951=> new DiscardDesignationSyntax(this.Kind, this.underscoreToken, GetDiagnostics(), annotations); 11029var diags = GetDiagnostics(); 11045=> new ParenthesizedVariableDesignationSyntax(this.Kind, this.openParenToken, this.variables, this.closeParenToken, GetDiagnostics(), annotations); 11123var diags = GetDiagnostics(); 11139=> new ExpressionStatementSyntax(this.Kind, this.attributeLists, this.expression, this.semicolonToken, GetDiagnostics(), annotations); 11208var diags = GetDiagnostics(); 11224=> new EmptyStatementSyntax(this.Kind, this.attributeLists, this.semicolonToken, GetDiagnostics(), annotations); 11314var diags = GetDiagnostics(); 11330=> new LabeledStatementSyntax(this.Kind, this.attributeLists, this.identifier, this.colonToken, this.statement, GetDiagnostics(), annotations); 11459var diags = GetDiagnostics(); 11475=> new GotoStatementSyntax(this.Kind, this.attributeLists, this.gotoKeyword, this.caseOrDefaultKeyword, this.expression, this.semicolonToken, GetDiagnostics(), annotations); 11553var diags = GetDiagnostics(); 11569=> new BreakStatementSyntax(this.Kind, this.attributeLists, this.breakKeyword, this.semicolonToken, GetDiagnostics(), annotations); 11647var diags = GetDiagnostics(); 11663=> new ContinueStatementSyntax(this.Kind, this.attributeLists, this.continueKeyword, this.semicolonToken, GetDiagnostics(), annotations); 11759var diags = GetDiagnostics(); 11775=> new ReturnStatementSyntax(this.Kind, this.attributeLists, this.returnKeyword, this.expression, this.semicolonToken, GetDiagnostics(), annotations); 11871var diags = GetDiagnostics(); 11887=> new ThrowStatementSyntax(this.Kind, this.attributeLists, this.throwKeyword, this.expression, this.semicolonToken, GetDiagnostics(), annotations); 11992var diags = GetDiagnostics(); 12008=> new YieldStatementSyntax(this.Kind, this.attributeLists, this.yieldKeyword, this.returnOrBreakKeyword, this.expression, this.semicolonToken, GetDiagnostics(), annotations); 12113var diags = GetDiagnostics(); 12129=> new WhileStatementSyntax(this.Kind, this.attributeLists, this.whileKeyword, this.openParenToken, this.condition, this.closeParenToken, this.statement, GetDiagnostics(), annotations); 12252var diags = GetDiagnostics(); 12268=> new DoStatementSyntax(this.Kind, this.attributeLists, this.doKeyword, this.statement, this.whileKeyword, this.openParenToken, this.condition, this.closeParenToken, this.semicolonToken, GetDiagnostics(), annotations); 12454var diags = GetDiagnostics(); 12470=> 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); 12648var diags = GetDiagnostics(); 12664=> 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); 12811var diags = GetDiagnostics(); 12827=> new ForEachVariableStatementSyntax(this.Kind, this.attributeLists, this.awaitKeyword, this.forEachKeyword, this.openParenToken, this.variable, this.inKeyword, this.expression, this.closeParenToken, this.statement, GetDiagnostics(), annotations); 12977var diags = GetDiagnostics(); 12993=> new UsingStatementSyntax(this.Kind, this.attributeLists, this.awaitKeyword, this.usingKeyword, this.openParenToken, this.declaration, this.expression, this.closeParenToken, this.statement, GetDiagnostics(), annotations); 13098var diags = GetDiagnostics(); 13114=> new FixedStatementSyntax(this.Kind, this.attributeLists, this.fixedKeyword, this.openParenToken, this.declaration, this.closeParenToken, this.statement, GetDiagnostics(), annotations); 13192var diags = GetDiagnostics(); 13208=> new CheckedStatementSyntax(this.Kind, this.attributeLists, this.keyword, this.block, GetDiagnostics(), annotations); 13286var diags = GetDiagnostics(); 13302=> new UnsafeStatementSyntax(this.Kind, this.attributeLists, this.unsafeKeyword, this.block, GetDiagnostics(), annotations); 13407var diags = GetDiagnostics(); 13423=> new LockStatementSyntax(this.Kind, this.attributeLists, this.lockKeyword, this.openParenToken, this.expression, this.closeParenToken, this.statement, GetDiagnostics(), annotations); 13567var diags = GetDiagnostics(); 13583=> new IfStatementSyntax(this.Kind, this.attributeLists, this.ifKeyword, this.openParenToken, this.condition, this.closeParenToken, this.statement, this.@else, GetDiagnostics(), annotations); 13647var diags = GetDiagnostics(); 13663=> new ElseClauseSyntax(this.Kind, this.elseKeyword, this.statement, GetDiagnostics(), annotations); 13835var diags = GetDiagnostics(); 13851=> new SwitchStatementSyntax(this.Kind, this.attributeLists, this.switchKeyword, this.openParenToken, this.expression, this.closeParenToken, this.openBraceToken, this.sections, this.closeBraceToken, GetDiagnostics(), annotations); 13936var diags = GetDiagnostics(); 13952=> new SwitchSectionSyntax(this.Kind, this.labels, this.statements, GetDiagnostics(), annotations); 14068var diags = GetDiagnostics(); 14084=> new CasePatternSwitchLabelSyntax(this.Kind, this.keyword, this.pattern, this.whenClause, this.colonToken, GetDiagnostics(), annotations); 14158var diags = GetDiagnostics(); 14174=> new CaseSwitchLabelSyntax(this.Kind, this.keyword, this.value, this.colonToken, GetDiagnostics(), annotations); 14236var diags = GetDiagnostics(); 14252=> new DefaultSwitchLabelSyntax(this.Kind, this.keyword, this.colonToken, GetDiagnostics(), annotations); 14348var diags = GetDiagnostics(); 14364=> new SwitchExpressionSyntax(this.Kind, this.governingExpression, this.switchKeyword, this.openBraceToken, this.arms, this.closeBraceToken, GetDiagnostics(), annotations); 14451var diags = GetDiagnostics(); 14467=> new SwitchExpressionArmSyntax(this.Kind, this.pattern, this.whenClause, this.equalsGreaterThanToken, this.expression, GetDiagnostics(), annotations); 14581var diags = GetDiagnostics(); 14597=> new TryStatementSyntax(this.Kind, this.attributeLists, this.tryKeyword, this.block, this.catches, this.@finally, GetDiagnostics(), annotations); 14693var diags = GetDiagnostics(); 14709=> new CatchClauseSyntax(this.Kind, this.catchKeyword, this.declaration, this.filter, this.block, GetDiagnostics(), annotations); 14796var diags = GetDiagnostics(); 14812=> new CatchDeclarationSyntax(this.Kind, this.openParenToken, this.type, this.identifier, this.closeParenToken, GetDiagnostics(), annotations); 14890var diags = GetDiagnostics(); 14906=> new CatchFilterClauseSyntax(this.Kind, this.whenKeyword, this.openParenToken, this.filterExpression, this.closeParenToken, GetDiagnostics(), annotations); 14966var diags = GetDiagnostics(); 14982=> new FinallyClauseSyntax(this.Kind, this.finallyKeyword, this.block, GetDiagnostics(), annotations); 15106var diags = GetDiagnostics(); 15122=> new CompilationUnitSyntax(this.Kind, this.externs, this.usings, this.attributeLists, this.members, this.endOfFileToken, GetDiagnostics(), annotations); 15207var diags = GetDiagnostics(); 15223=> new ExternAliasDirectiveSyntax(this.Kind, this.externKeyword, this.aliasKeyword, this.identifier, this.semicolonToken, GetDiagnostics(), annotations); 15364var diags = GetDiagnostics(); 15380=> new UsingDirectiveSyntax(this.Kind, this.globalKeyword, this.usingKeyword, this.staticKeyword, this.unsafeKeyword, this.alias, this.namespaceOrType, this.semicolonToken, GetDiagnostics(), annotations); 15610var diags = GetDiagnostics(); 15626=> 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); 15785var diags = GetDiagnostics(); 15801=> new FileScopedNamespaceDeclarationSyntax(this.Kind, this.attributeLists, this.modifiers, this.namespaceKeyword, this.name, this.semicolonToken, this.externs, this.usings, this.members, GetDiagnostics(), annotations); 15902var diags = GetDiagnostics(); 15918=> new AttributeListSyntax(this.Kind, this.openBracketToken, this.target, this.attributes, this.closeBracketToken, GetDiagnostics(), annotations); 15981var diags = GetDiagnostics(); 15997=> new AttributeTargetSpecifierSyntax(this.Kind, this.identifier, this.colonToken, GetDiagnostics(), annotations); 16071var diags = GetDiagnostics(); 16087=> new AttributeSyntax(this.Kind, this.name, this.argumentList, GetDiagnostics(), annotations); 16169var diags = GetDiagnostics(); 16185=> new AttributeArgumentListSyntax(this.Kind, this.openParenToken, this.arguments, this.closeParenToken, GetDiagnostics(), annotations); 16274var diags = GetDiagnostics(); 16290=> new AttributeArgumentSyntax(this.Kind, this.nameEquals, this.nameColon, this.expression, GetDiagnostics(), annotations); 16352var diags = GetDiagnostics(); 16368=> new NameEqualsSyntax(this.Kind, this.name, this.equalsToken, GetDiagnostics(), annotations); 16450var diags = GetDiagnostics(); 16466=> new TypeParameterListSyntax(this.Kind, this.lessThanToken, this.parameters, this.greaterThanToken, GetDiagnostics(), annotations); 16556var diags = GetDiagnostics(); 16572=> new TypeParameterSyntax(this.Kind, this.attributeLists, this.varianceKeyword, this.identifier, GetDiagnostics(), annotations); 16870var diags = GetDiagnostics(); 16886=> 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); 17128var diags = GetDiagnostics(); 17144=> 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); 17386var diags = GetDiagnostics(); 17402=> 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); 17660var diags = GetDiagnostics(); 17676=> 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); 17866var diags = GetDiagnostics(); 17882=> new EnumDeclarationSyntax(this.Kind, this.attributeLists, this.modifiers, this.enumKeyword, this.identifier, this.baseList, this.openBraceToken, this.members, this.closeBraceToken, this.semicolonToken, GetDiagnostics(), annotations); 18048var diags = GetDiagnostics(); 18064=> new DelegateDeclarationSyntax(this.Kind, this.attributeLists, this.modifiers, this.delegateKeyword, this.returnType, this.identifier, this.typeParameterList, this.parameterList, this.constraintClauses, this.semicolonToken, GetDiagnostics(), annotations); 18170var diags = GetDiagnostics(); 18186=> new EnumMemberDeclarationSyntax(this.Kind, this.attributeLists, this.modifiers, this.identifier, this.equalsValue, GetDiagnostics(), annotations); 18400var diags = GetDiagnostics(); 18416=> 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); 18488var diags = GetDiagnostics(); 18504=> new BaseListSyntax(this.Kind, this.colonToken, this.types, GetDiagnostics(), annotations); 18567var diags = GetDiagnostics(); 18583=> new SimpleBaseTypeSyntax(this.Kind, this.type, GetDiagnostics(), annotations); 18643var diags = GetDiagnostics(); 18659=> new PrimaryConstructorBaseTypeSyntax(this.Kind, this.type, this.argumentList, GetDiagnostics(), annotations); 18750var diags = GetDiagnostics(); 18766=> new TypeParameterConstraintClauseSyntax(this.Kind, this.whereKeyword, this.name, this.colonToken, this.constraints, GetDiagnostics(), annotations); 18853var diags = GetDiagnostics(); 18869=> new ConstructorConstraintSyntax(this.Kind, this.newKeyword, this.openParenToken, this.closeParenToken, GetDiagnostics(), annotations); 18941var diags = GetDiagnostics(); 18957=> new ClassOrStructConstraintSyntax(this.Kind, this.classOrStructKeyword, this.questionToken, GetDiagnostics(), annotations); 19006var diags = GetDiagnostics(); 19022=> new TypeConstraintSyntax(this.Kind, this.type, GetDiagnostics(), annotations); 19071var diags = GetDiagnostics(); 19087=> new DefaultConstraintSyntax(this.Kind, this.defaultKeyword, GetDiagnostics(), annotations); 19158var diags = GetDiagnostics(); 19174=> new AllowsConstraintClauseSyntax(this.Kind, this.allowsKeyword, this.constraints, GetDiagnostics(), annotations); 19251var diags = GetDiagnostics(); 19267=> new RefStructConstraintSyntax(this.Kind, this.refKeyword, this.structKeyword, GetDiagnostics(), annotations); 19380var diags = GetDiagnostics(); 19396=> new FieldDeclarationSyntax(this.Kind, this.attributeLists, this.modifiers, this.declaration, this.semicolonToken, GetDiagnostics(), annotations); 19501var diags = GetDiagnostics(); 19517=> new EventFieldDeclarationSyntax(this.Kind, this.attributeLists, this.modifiers, this.eventKeyword, this.declaration, this.semicolonToken, GetDiagnostics(), annotations); 19577var diags = GetDiagnostics(); 19593=> new ExplicitInterfaceSpecifierSyntax(this.Kind, this.name, this.dotToken, GetDiagnostics(), annotations); 19835var diags = GetDiagnostics(); 19851=> 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); 20061var diags = GetDiagnostics(); 20077=> 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); 20287var diags = GetDiagnostics(); 20303=> 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); 20474var diags = GetDiagnostics(); 20490=> new ConstructorDeclarationSyntax(this.Kind, this.attributeLists, this.modifiers, this.identifier, this.parameterList, this.initializer, this.body, this.expressionBody, this.semicolonToken, GetDiagnostics(), annotations); 20562var diags = GetDiagnostics(); 20578=> new ConstructorInitializerSyntax(this.Kind, this.colonToken, this.thisOrBaseKeyword, this.argumentList, GetDiagnostics(), annotations); 20741var diags = GetDiagnostics(); 20757=> new DestructorDeclarationSyntax(this.Kind, this.attributeLists, this.modifiers, this.tildeToken, this.identifier, this.parameterList, this.body, this.expressionBody, this.semicolonToken, GetDiagnostics(), annotations); 20966var diags = GetDiagnostics(); 20982=> new PropertyDeclarationSyntax(this.Kind, this.attributeLists, this.modifiers, this.type, this.explicitInterfaceSpecifier, this.identifier, this.accessorList, this.expressionBody, this.initializer, this.semicolonToken, GetDiagnostics(), annotations); 21043var diags = GetDiagnostics(); 21059=> new ArrowExpressionClauseSyntax(this.Kind, this.arrowToken, this.expression, GetDiagnostics(), annotations); 21219var diags = GetDiagnostics(); 21235=> new EventDeclarationSyntax(this.Kind, this.attributeLists, this.modifiers, this.eventKeyword, this.type, this.explicitInterfaceSpecifier, this.identifier, this.accessorList, this.semicolonToken, GetDiagnostics(), annotations); 21413var diags = GetDiagnostics(); 21429=> new IndexerDeclarationSyntax(this.Kind, this.attributeLists, this.modifiers, this.type, this.explicitInterfaceSpecifier, this.thisKeyword, this.parameterList, this.accessorList, this.expressionBody, this.semicolonToken, GetDiagnostics(), annotations); 21507var diags = GetDiagnostics(); 21523=> new AccessorListSyntax(this.Kind, this.openBraceToken, this.accessors, this.closeBraceToken, GetDiagnostics(), annotations); 21670var diags = GetDiagnostics(); 21686=> new AccessorDeclarationSyntax(this.Kind, this.attributeLists, this.modifiers, this.keyword, this.body, this.expressionBody, this.semicolonToken, GetDiagnostics(), annotations); 21784var diags = GetDiagnostics(); 21800=> new ParameterListSyntax(this.Kind, this.openParenToken, this.parameters, this.closeParenToken, GetDiagnostics(), annotations); 21881var diags = GetDiagnostics(); 21897=> new BracketedParameterListSyntax(this.Kind, this.openBracketToken, this.parameters, this.closeBracketToken, GetDiagnostics(), annotations); 22055var diags = GetDiagnostics(); 22071=> new ParameterSyntax(this.Kind, this.attributeLists, this.modifiers, this.type, this.identifier, this.@default, GetDiagnostics(), annotations); 22161var diags = GetDiagnostics(); 22177=> new FunctionPointerParameterSyntax(this.Kind, this.attributeLists, this.modifiers, this.type, GetDiagnostics(), annotations); 22273var diags = GetDiagnostics(); 22289=> new IncompleteMemberSyntax(this.Kind, this.attributeLists, this.modifiers, this.type, GetDiagnostics(), annotations); 22345var diags = GetDiagnostics(); 22361=> new SkippedTokensTriviaSyntax(this.Kind, this.tokens, GetDiagnostics(), annotations); 22430var diags = GetDiagnostics(); 22446=> new DocumentationCommentTriviaSyntax(this.Kind, this.content, this.endOfComment, GetDiagnostics(), annotations); 22517var diags = GetDiagnostics(); 22533=> new TypeCrefSyntax(this.Kind, this.type, GetDiagnostics(), annotations); 22609var diags = GetDiagnostics(); 22625=> new QualifiedCrefSyntax(this.Kind, this.container, this.dotToken, this.member, GetDiagnostics(), annotations); 22720var diags = GetDiagnostics(); 22736=> new NameMemberCrefSyntax(this.Kind, this.name, this.parameters, GetDiagnostics(), annotations); 22832var diags = GetDiagnostics(); 22848=> new ExtensionMemberCrefSyntax(this.Kind, this.extensionKeyword, this.typeArgumentList, this.parameters, this.dotToken, this.member, GetDiagnostics(), annotations); 22921var diags = GetDiagnostics(); 22937=> new IndexerMemberCrefSyntax(this.Kind, this.thisKeyword, this.parameters, GetDiagnostics(), annotations); 23039var diags = GetDiagnostics(); 23055=> new OperatorMemberCrefSyntax(this.Kind, this.operatorKeyword, this.checkedKeyword, this.operatorToken, this.parameters, GetDiagnostics(), annotations); 23164var diags = GetDiagnostics(); 23180=> new ConversionOperatorMemberCrefSyntax(this.Kind, this.implicitOrExplicitKeyword, this.operatorKeyword, this.checkedKeyword, this.type, this.parameters, GetDiagnostics(), annotations); 23283var diags = GetDiagnostics(); 23299=> new CrefParameterListSyntax(this.Kind, this.openParenToken, this.parameters, this.closeParenToken, GetDiagnostics(), annotations); 23382var diags = GetDiagnostics(); 23398=> new CrefBracketedParameterListSyntax(this.Kind, this.openBracketToken, this.parameters, this.closeBracketToken, GetDiagnostics(), annotations); 23491var diags = GetDiagnostics(); 23507=> new CrefParameterSyntax(this.Kind, this.refKindKeyword, this.readOnlyKeyword, this.type, GetDiagnostics(), annotations); 23598var diags = GetDiagnostics(); 23614=> new XmlElementSyntax(this.Kind, this.startTag, this.content, this.endTag, GetDiagnostics(), annotations); 23701var diags = GetDiagnostics(); 23717=> new XmlElementStartTagSyntax(this.Kind, this.lessThanToken, this.name, this.attributes, this.greaterThanToken, GetDiagnostics(), annotations); 23786var diags = GetDiagnostics(); 23802=> new XmlElementEndTagSyntax(this.Kind, this.lessThanSlashToken, this.name, this.greaterThanToken, GetDiagnostics(), annotations); 23889var diags = GetDiagnostics(); 23905=> new XmlEmptyElementSyntax(this.Kind, this.lessThanToken, this.name, this.attributes, this.slashGreaterThanToken, GetDiagnostics(), annotations); 23974var diags = GetDiagnostics(); 23990=> new XmlNameSyntax(this.Kind, this.prefix, this.localName, GetDiagnostics(), annotations); 24050var diags = GetDiagnostics(); 24066=> new XmlPrefixSyntax(this.Kind, this.prefix, this.colonToken, GetDiagnostics(), annotations); 24183var diags = GetDiagnostics(); 24199=> new XmlTextAttributeSyntax(this.Kind, this.name, this.equalsToken, this.startQuoteToken, this.textTokens, this.endQuoteToken, GetDiagnostics(), annotations); 24286var diags = GetDiagnostics(); 24302=> new XmlCrefAttributeSyntax(this.Kind, this.name, this.equalsToken, this.startQuoteToken, this.cref, this.endQuoteToken, GetDiagnostics(), annotations); 24389var diags = GetDiagnostics(); 24405=> new XmlNameAttributeSyntax(this.Kind, this.name, this.equalsToken, this.startQuoteToken, this.identifier, this.endQuoteToken, GetDiagnostics(), annotations); 24461var diags = GetDiagnostics(); 24477=> new XmlTextSyntax(this.Kind, this.textTokens, GetDiagnostics(), annotations); 24555var diags = GetDiagnostics(); 24571=> new XmlCDataSectionSyntax(this.Kind, this.startCDataToken, this.textTokens, this.endCDataToken, GetDiagnostics(), annotations); 24658var diags = GetDiagnostics(); 24674=> new XmlProcessingInstructionSyntax(this.Kind, this.startProcessingInstructionToken, this.name, this.textTokens, this.endProcessingInstructionToken, GetDiagnostics(), annotations); 24752var diags = GetDiagnostics(); 24768=> new XmlCommentSyntax(this.Kind, this.lessThanExclamationMinusMinusToken, this.textTokens, this.minusMinusGreaterThanToken, GetDiagnostics(), annotations); 24914var diags = GetDiagnostics(); 24930=> new IfDirectiveTriviaSyntax(this.Kind, this.hashToken, this.ifKeyword, this.condition, this.endOfDirectiveToken, this.isActive, this.branchTaken, this.conditionValue, GetDiagnostics(), annotations); 25023var diags = GetDiagnostics(); 25039=> new ElifDirectiveTriviaSyntax(this.Kind, this.hashToken, this.elifKeyword, this.condition, this.endOfDirectiveToken, this.isActive, this.branchTaken, this.conditionValue, GetDiagnostics(), annotations); 25118var diags = GetDiagnostics(); 25134=> new ElseDirectiveTriviaSyntax(this.Kind, this.hashToken, this.elseKeyword, this.endOfDirectiveToken, this.isActive, this.branchTaken, GetDiagnostics(), annotations); 25208var diags = GetDiagnostics(); 25224=> new EndIfDirectiveTriviaSyntax(this.Kind, this.hashToken, this.endIfKeyword, this.endOfDirectiveToken, this.isActive, GetDiagnostics(), annotations); 25298var diags = GetDiagnostics(); 25314=> new RegionDirectiveTriviaSyntax(this.Kind, this.hashToken, this.regionKeyword, this.endOfDirectiveToken, this.isActive, GetDiagnostics(), annotations); 25388var diags = GetDiagnostics(); 25404=> new EndRegionDirectiveTriviaSyntax(this.Kind, this.hashToken, this.endRegionKeyword, this.endOfDirectiveToken, this.isActive, GetDiagnostics(), annotations); 25478var diags = GetDiagnostics(); 25494=> new ErrorDirectiveTriviaSyntax(this.Kind, this.hashToken, this.errorKeyword, this.endOfDirectiveToken, this.isActive, GetDiagnostics(), annotations); 25568var diags = GetDiagnostics(); 25584=> new WarningDirectiveTriviaSyntax(this.Kind, this.hashToken, this.warningKeyword, this.endOfDirectiveToken, this.isActive, GetDiagnostics(), annotations); 25658var diags = GetDiagnostics(); 25674=> new BadDirectiveTriviaSyntax(this.Kind, this.hashToken, this.identifier, this.endOfDirectiveToken, this.isActive, GetDiagnostics(), annotations); 25757var diags = GetDiagnostics(); 25773=> new DefineDirectiveTriviaSyntax(this.Kind, this.hashToken, this.defineKeyword, this.name, this.endOfDirectiveToken, this.isActive, GetDiagnostics(), annotations); 25856var diags = GetDiagnostics(); 25872=> new UndefDirectiveTriviaSyntax(this.Kind, this.hashToken, this.undefKeyword, this.name, this.endOfDirectiveToken, this.isActive, GetDiagnostics(), annotations); 25990var diags = GetDiagnostics(); 26006=> new LineDirectiveTriviaSyntax(this.Kind, this.hashToken, this.lineKeyword, this.line, this.file, this.endOfDirectiveToken, this.isActive, GetDiagnostics(), annotations); 26093var diags = GetDiagnostics(); 26109=> new LineDirectivePositionSyntax(this.Kind, this.openParenToken, this.line, this.commaToken, this.character, this.closeParenToken, GetDiagnostics(), annotations); 26237var diags = GetDiagnostics(); 26253=> new LineSpanDirectiveTriviaSyntax(this.Kind, this.hashToken, this.lineKeyword, this.start, this.minusToken, this.end, this.characterOffset, this.file, this.endOfDirectiveToken, this.isActive, GetDiagnostics(), annotations); 26363var diags = GetDiagnostics(); 26379=> new PragmaWarningDirectiveTriviaSyntax(this.Kind, this.hashToken, this.pragmaKeyword, this.warningKeyword, this.disableOrRestoreKeyword, this.errorCodes, this.endOfDirectiveToken, this.isActive, GetDiagnostics(), annotations); 26489var diags = GetDiagnostics(); 26505=> new PragmaChecksumDirectiveTriviaSyntax(this.Kind, this.hashToken, this.pragmaKeyword, this.checksumKeyword, this.file, this.guid, this.bytes, this.endOfDirectiveToken, this.isActive, GetDiagnostics(), annotations); 26588var diags = GetDiagnostics(); 26604=> new ReferenceDirectiveTriviaSyntax(this.Kind, this.hashToken, this.referenceKeyword, this.file, this.endOfDirectiveToken, this.isActive, GetDiagnostics(), annotations); 26687var diags = GetDiagnostics(); 26703=> new LoadDirectiveTriviaSyntax(this.Kind, this.hashToken, this.loadKeyword, this.file, this.endOfDirectiveToken, this.isActive, GetDiagnostics(), annotations); 26777var diags = GetDiagnostics(); 26793=> new ShebangDirectiveTriviaSyntax(this.Kind, this.hashToken, this.exclamationToken, this.endOfDirectiveToken, this.isActive, GetDiagnostics(), annotations); 26885var diags = GetDiagnostics(); 26901=> new IgnoredDirectiveTriviaSyntax(this.Kind, this.hashToken, this.colonToken, this.content, this.endOfDirectiveToken, this.isActive, GetDiagnostics(), annotations); 27002var diags = GetDiagnostics(); 27018=> new NullableDirectiveTriviaSyntax(this.Kind, this.hashToken, this.nullableKeyword, this.settingToken, this.targetToken, this.endOfDirectiveToken, this.isActive, GetDiagnostics(), annotations);
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())
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Syntax\GreenNodeTests.cs (1)
18var diags = nodeWithDiags.GetDiagnostics();