1 write to HasErrors
Microsoft.CodeAnalysis.CSharp (1)
BoundTree\BoundNode.cs (1)
399
clone.
HasErrors
= true;
646 references to HasErrors
Microsoft.CodeAnalysis.CSharp (646)
Binder\Binder_Conversions.cs (9)
800
unconvertedSource.
HasErrors
);
1049
if (collectionCreation.
HasErrors
)
1469
hasErrors: projectionCall.
HasErrors
)
1914
Debug.Assert(boundExpression.
HasErrors
);
2249
Debug.Assert(call.
HasErrors
);
2460
hasErrors |= source.
HasErrors
|| destination.IsErrorType();
2507
new BoundSwitchExpressionArm(oldCase.Syntax, oldCase.Locals, oldCase.Pattern, oldCase.HasUnionMatching, oldCase.WhenClause, newValue, oldCase.Label, oldCase.
HasErrors
);
2515
source.DefaultLabel, source.ReportedNotExhaustive, destination, hasErrors || source.
HasErrors
).WithSuppression(source.IsSuppressed);
3117
var convertedNode = new BoundConvertedStackAllocExpression(syntax, elementType, boundStackAlloc.Count, boundStackAlloc.InitializerOpt, stackAllocType, boundStackAlloc.
HasErrors
);
Binder\Binder_Expressions.cs (13)
323
bool hasErrors = expression.
HasErrors
;
340
bool hasErrors = op.
HasErrors
;
382
sourceTuple.
HasErrors
).WithSuppression(sourceTuple.IsSuppressed);
3029
!underlyingExpr.
HasErrors
&& !bag.HasAnyErrors())
3976
hasErrors || interpolatedString.
HasErrors
);
6681
if (boundCall.
HasErrors
&& !boundCall.OriginalMethodsOpt.IsDefault)
7679
if (!boundLeft.
HasErrors
)
8272
if (!receiver.
HasErrors
)
8402
if (!boundMethodGroup.
HasErrors
&& typeArgumentsSyntax.Any(SyntaxKind.OmittedTypeArgument))
10297
if (!result.
HasErrors
&& receiver.Type?.IsPointerOrFunctionPointer() == true)
11383
return lengthOrCountAccess?.
HasErrors
== false && indexerOrSliceAccess?.
HasErrors
== false;
12509
receiver = new BoundConditionalReceiver(receiver.Syntax, 0, receiverType ?? CreateErrorType(), hasErrors: receiver.
HasErrors
) { WasCompilerGenerated = true };
Binder\Binder_Initializers.cs (1)
263
statement = new BoundExpressionStatement(statement.Syntax, expression, expression.
HasErrors
);
Binder\Binder_InterpolatedString.cs (14)
115
else if (!alignment.
HasErrors
)
273
unconvertedInterpolatedString.
HasErrors
);
303
fillin.
HasErrors
||
323
parts.Any(static p => p.
HasErrors
||
359
construction.
HasErrors
? BindingDiagnosticBag.Discarded : diagnostics,
368
unconvertedSource.
HasErrors
);
385
if (fillin.Alignment != null && !fillin.Alignment.
HasErrors
)
390
if (fillin.Format != null && !fillin.Format.
HasErrors
)
537
expression.
HasErrors
);
552
original.
HasErrors
);
598
unconvertedInterpolatedString.
HasErrors
);
670
Debug.Assert(appendCallsArray.All(appendCalls => appendCalls.All(a => a is {
HasErrors
: true } or BoundCall { Arguments: { Length: > 0 } } or BoundDynamicInvocation)));
799
Debug.Assert(constructorCall.
HasErrors
|| constructorCall is BoundObjectCreationExpression or BoundDynamicObjectCreationExpression);
979
Debug.Assert(call is BoundCall or BoundDynamicInvocation or {
HasErrors
: true });
Binder\Binder_Operators.cs (6)
276
if (finalConversion.
HasErrors
)
283
Debug.Assert(finalConversion.
HasErrors
|| (object)finalConversion == finalPlaceholder);
3405
bool hasErrors = resultConversion.
HasErrors
;
4089
if (!result.
HasErrors
)
6021
bool hasErrors = trueExpr.
HasErrors
| falseExpr.
HasErrors
;
Binder\Binder_Patterns.cs (5)
83
hasErrors |= pattern.
HasErrors
;
447
return !hasErrors && !lengthAccess.
HasErrors
;
469
return !indexerAccess.
HasErrors
;
648
if (!convertedExpression.
HasErrors
&& !hasErrors)
809
if (!hasErrors && unionType is not null && !convertedExpression.
HasErrors
&& constantValue is { IsBad: false } && expression.Type is not null)
Binder\Binder_Statements.cs (4)
1448
if (!boundLeft.
HasErrors
)
1497
|| op1.
HasErrors
);
1499
if (op1.
HasErrors
)
3115
hasErrors |= arg.
HasErrors
|| ((object)arg.Type != null && arg.Type.IsErrorType());
Binder\Binder_TupleOperators.cs (1)
65
tuple.Syntax, tuple, wasTargetTyped: false, builder.ToImmutableAndFree(), tuple.ArgumentNamesOpt, tuple.InferredNamesOpt, tuple.Type, tuple.
HasErrors
);
Binder\Binder.ValueChecks.cs (2)
4833
Debug.Assert(spreadElement.
HasErrors
4848
Debug.Assert(element.
HasErrors
);
Binder\DecisionDagBuilder_CheckOrReachability.cs (6)
69
if (pattern.
HasErrors
|| !ShouldAnalyze(compilation, syntax))
170
if (switchArm.Pattern.
HasErrors
)
249
if (label.Pattern.
HasErrors
)
1162
initialCheck = new BoundTypePattern(node.Syntax, node.DeclaredType, node.IsExplicitNotNullTest, isUnionMatching: false, node.InputType, node.NarrowedType, node.
HasErrors
);
1202
node.InputType, node.NarrowedType, node.
HasErrors
);
1237
node.InputType, node.NarrowedType, node.
HasErrors
);
Binder\DecisionDagBuilder_ListPatterns.cs (1)
29
if (list.
HasErrors
)
Binder\DecisionDagBuilder.cs (6)
375
(pattern.
HasErrors
|| pattern.InputType.Equals(input.DagTemp.Type, TypeCompareKind.AllIgnoreOptions) || pattern.InputType.IsErrorType()) :
905
Debug.Assert(constant.Value.Type is not null || constant.
HasErrors
);
940
RoslynDebug.Assert(inputTempType.IsErrorType() || recursive.
HasErrors
|| recursive.InputType.IsErrorType() || inputTempType.Equals(recursive.InputType, TypeCompareKind.AllIgnoreOptions));
1171
Debug.Assert(bin.
HasErrors
||
1199
tests.Add(new Tests.One(new BoundDagRelationalTest(rel.Syntax, rel.Relation, rel.ConstantValue, output, rel.
HasErrors
)));
1424
state.SelectedTest = new BoundDagNonNullTest(t.Syntax, isExplicitTest: true, t.Input, t.
HasErrors
);
Binder\ForEachLoopBinder.cs (2)
441
hasErrors = hasErrors || boundIterationVariableType.
HasErrors
|| iterationVariableType.Type.IsErrorType();
812
if (string.IsNullOrEmpty(collectionExprType.Name) && collectionExpr.
HasErrors
)
Binder\RefSafetyAnalysis.cs (7)
672
if (!node.
HasErrors
&& node.Operator.Method is { } compoundMethod)
930
if (!node.
HasErrors
)
1046
if (node.
HasErrors
)
1137
if (!node.
HasErrors
)
1154
if (!node.
HasErrors
)
1470
if (!spreadElement.
HasErrors
)
1484
Debug.Assert(spreadElement.
HasErrors
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (1)
677
if (receiverOpt?.
HasErrors
!= true)
Binder\SwitchBinder_Patterns.cs (6)
104
if (!label.
HasErrors
&& isSubsumed(label, reachableLabels) && label.Syntax.Kind() != SyntaxKind.DefaultSwitchLabel)
123
else if (!label.Pattern.
HasErrors
&& !anyPreviousErrors)
137
anyPreviousErrors |= label.
HasErrors
;
256
return new BoundSwitchLabel(node, label, pattern, hasUnionMatching, null, pattern.
HasErrors
);
262
bool hasErrors = pattern.
HasErrors
;
300
if (pattern is BoundConstantPattern {
HasErrors
: false } && IsUnderscore(expression))
Binder\SwitchExpressionArmBinder.cs (1)
49
return new BoundSwitchExpressionArm(node, locals, pattern, hasUnionMatching, whenClause, armResult, label, hasErrors | pattern.
HasErrors
);
Binder\SwitchExpressionBinder.cs (1)
77
hasErrors |= arm.
HasErrors
;
BoundTree\BoundAwaitableInfo.cs (1)
39
Debug.Assert(GetAwaiter is not null || RuntimeAsyncAwaitCall is not null || IsDynamic ||
HasErrors
);
BoundTree\BoundCall.cs (1)
17
Debug.Assert(ResultKind is LookupResultKind.Viable ||
HasErrors
);
BoundTree\BoundExpressionExtensions.cs (1)
65
if (member.
HasErrors
)
BoundTree\BoundNode.cs (2)
106
if (this.
HasErrors
|| this.Syntax != null && this.Syntax.HasErrors)
395
if (this.
HasErrors
)
BoundTree\BoundNodeExtensions.cs (2)
26
if (nodeArray[i].
HasErrors
)
36
return node != null && node.
HasErrors
;
BoundTree\BoundSpillSequence.cs (1)
29
expression => new BoundExpressionStatement(expression.Syntax, expression, expression.
HasErrors
));
BoundTree\BoundTypeOrValueExpression.cs (1)
15
Debug.Assert(!
HasErrors
);
BoundTree\OutDeconstructVarPendingInference.cs (1)
18
Placeholder = new BoundDeconstructValuePlaceholder(this.Syntax, variableSymbol: VariableSymbol, isDiscardExpression: IsDiscardExpression, type.Type, hasErrors: this.
HasErrors
|| !success);
BoundTree\UnboundLambda.cs (2)
447
var lambda = new UnboundLambda(Syntax, data, FunctionType, WithDependencies, nullableState, getterNullResilienceData,
HasErrors
);
460
var lambda = new UnboundLambda(Syntax, data, FunctionType, WithDependencies, _nullableState, _getterNullResilienceData,
HasErrors
);
BoundTree\VariablePendingInference.cs (2)
76
return new BoundLocal(this.Syntax, localSymbol, BoundLocalDeclarationKind.WithInferredType, constantValueOpt: null, isNullableUnknown: false, type: type.Type, hasErrors: this.
HasErrors
|| inferenceFailed).WithWasConverted();
107
hasErrors: this.
HasErrors
|| inferenceFailed);
Compiler\MethodCompiler.cs (9)
264
if (body.
HasErrors
|| diagnostics.HasAnyErrors())
781
if (!loweredBody.
HasErrors
)
1254
hasErrors = hasErrors || (hasBody && loweredBodyOpt.
HasErrors
) || diagsForCurrentMethod.HasAnyErrors();
1502
if (body.
HasErrors
)
1529
if (loweredBody.
HasErrors
)
1545
if (loweredBody.
HasErrors
)
1565
if (loweredBody.
HasErrors
)
1591
if (bodyWithoutLambdas.
HasErrors
)
1601
if (bodyWithoutIterators.
HasErrors
)
FlowAnalysis\AbstractFlowPass_Switch.cs (2)
51
if (reachableLabels.Contains(label.Label) || label.
HasErrors
||
166
if (!reachableLabels.Contains(arm.Label) || arm.Pattern.
HasErrors
)
FlowAnalysis\ControlFlowPass.cs (1)
228
if (leave.
HasErrors
)
FlowAnalysis\FlowAnalysisPass.cs (1)
59
Debug.Assert(method is not SourceMemberMethodSymbol { SyntaxNode: ConstructorDeclarationSyntax { Initializer: not null } } || block.
HasErrors
);
FlowAnalysis\NullableWalker_Patterns.cs (1)
1239
=> !arm.Pattern.
HasErrors
&& labelStateMap.TryGetValue(arm.Label, out var labelState) ? labelState.state : UnreachableState();
FlowAnalysis\NullableWalker.cs (15)
4320
Debug.Assert(node.
HasErrors
);
5153
var arrayType = VisitArrayInitialization(node.Type, initialization, node.
HasErrors
);
6587
else if (!node.
HasErrors
)
6655
Debug.Assert(node.
HasErrors
|| _returnTypesOpt is not null || _disableDiagnostics);
7190
if (node.
HasErrors
7793
if (node is BoundCall {
HasErrors
: true, ArgumentNamesOpt.IsDefaultOrEmpty: false, ArgsToParamsOpt.IsDefault: true } &&
7803
_disableDiagnostics |= node.
HasErrors
|| defaultArguments[i];
7840
if (!node.
HasErrors
&& !parametersOpt.IsDefault)
10284
if (!conversionOperand.
HasErrors
&& !targetType.IsErrorType())
11509
if (node.
HasErrors
)
11989
if (!node.
HasErrors
)
12509
Debug.Assert(node.
HasErrors
);
12616
Debug.Assert(node.
HasErrors
);
12623
Debug.Assert(node.
HasErrors
);
13718
var type = VisitArrayInitialization(node.Type, initialization, node.
HasErrors
);
Generated\BoundNodes.xml.Generated.cs (471)
315
var result = new BoundFieldEqualsValue(this.Syntax, field, locals, value, this.
HasErrors
);
345
var result = new BoundPropertyEqualsValue(this.Syntax, property, locals, value, this.
HasErrors
);
375
var result = new BoundParameterEqualsValue(this.Syntax, parameter, locals, value, this.
HasErrors
);
403
var result = new BoundGlobalStatementInitializer(this.Syntax, statement, this.
HasErrors
);
476
var result = new BoundValuePlaceholder(this.Syntax, type, this.
HasErrors
);
504
var result = new BoundCapturedReceiverPlaceholder(this.Syntax, receiver, type, this.
HasErrors
);
545
var result = new BoundDeconstructValuePlaceholder(this.Syntax, variableSymbol, isDiscardExpression, type, this.
HasErrors
);
580
var result = new BoundTupleOperandPlaceholder(this.Syntax, type, this.
HasErrors
);
609
var result = new BoundAwaitableValuePlaceholder(this.Syntax, type, this.
HasErrors
);
644
var result = new BoundDisposableValuePlaceholder(this.Syntax, type, this.
HasErrors
);
682
var result = new BoundObjectOrCollectionValuePlaceholder(this.Syntax, isNewInstance, type, this.
HasErrors
);
717
var result = new BoundImplicitIndexerValuePlaceholder(this.Syntax, type, this.
HasErrors
);
749
var result = new BoundImplicitIndexerReceiverPlaceholder(this.Syntax, isEquivalentToThisReference, receiver, type, this.
HasErrors
);
784
var result = new BoundListPatternReceiverPlaceholder(this.Syntax, type, this.
HasErrors
);
819
var result = new BoundListPatternIndexPlaceholder(this.Syntax, type, this.
HasErrors
);
854
var result = new BoundSlicePatternReceiverPlaceholder(this.Syntax, type, this.
HasErrors
);
889
var result = new BoundSlicePatternRangePlaceholder(this.Syntax, type, this.
HasErrors
);
917
var result = new BoundCollectionBuilderElementsPlaceholder(this.Syntax, type, this.
HasErrors
);
951
var result = new BoundDup(this.Syntax, refKind, isAlive, type, this.
HasErrors
);
979
var result = new BoundPassByCopy(this.Syntax, expression, type, this.
HasErrors
);
1016
var result = new BoundBadExpression(this.Syntax, resultKind, symbols, childBoundNodes, type, this.
HasErrors
);
1044
var result = new BoundBadStatement(this.Syntax, childBoundNodes, this.
HasErrors
);
1072
var result = new BoundExtractedFinallyBlock(this.Syntax, finallyBlock, this.
HasErrors
);
1107
var result = new BoundTypeExpression(this.Syntax, aliasOpt, boundContainingTypeOpt, boundDimensionsOpt, typeWithAnnotations, type, this.
HasErrors
);
1156
var result = new BoundTypeOrValueExpression(this.Syntax, binder, valueSymbol, type, this.
HasErrors
);
1197
var result = new BoundNamespaceExpression(this.Syntax, namespaceSymbol, aliasOpt, this.
HasErrors
);
1239
var result = new BoundUnaryOperator(this.Syntax, operatorKind, operand, constantValueOpt, methodOpt, constrainedToTypeOpt, resultKind, originalUserDefinedOperatorsOpt, type, this.
HasErrors
);
1287
var result = new BoundIncrementOperator(this.Syntax, operatorKind, operand, methodOpt, constrainedToTypeOpt, operandPlaceholder, operandConversion, resultPlaceholder, resultConversion, resultKind, originalUserDefinedOperatorsOpt, type, this.
HasErrors
);
1321
var result = new BoundAddressOfOperator(this.Syntax, operand, isManaged, requiresAssignedOperand, type, this.
HasErrors
);
1350
var result = new BoundUnconvertedAddressOfOperator(this.Syntax, operand, this.
HasErrors
);
1393
var result = new BoundFunctionPointerLoad(this.Syntax, targetMethod, constrainedToTypeOpt, type, this.
HasErrors
);
1423
var result = new BoundPointerIndirectionOperator(this.Syntax, operand, type, this.
HasErrors
);
1458
var result = new BoundPointerElementAccess(this.Syntax, expression, index, @checked, type, this.
HasErrors
);
1495
var result = new BoundFunctionPointerInvocation(this.Syntax, invokedExpression, arguments, argumentRefKindsOpt, resultKind, type, this.
HasErrors
);
1527
var result = new BoundRefTypeOperator(this.Syntax, operand, getTypeFromHandle, type, this.
HasErrors
);
1557
var result = new BoundMakeRefOperator(this.Syntax, operand, type, this.
HasErrors
);
1589
var result = new BoundRefValueOperator(this.Syntax, nullableAnnotation, operand, type, this.
HasErrors
);
1621
var result = new BoundFromEndIndexExpression(this.Syntax, operand, methodOpt, type, this.
HasErrors
);
1654
var result = new BoundRangeExpression(this.Syntax, leftOperandOpt, rightOperandOpt, methodOpt, type, this.
HasErrors
);
1711
var result = new BoundBinaryOperator(this.Syntax, operatorKind, data, resultKind, left, right, type, this.
HasErrors
);
1749
var result = new BoundTupleBinaryOperator(this.Syntax, left, right, operatorKind, operators, type, this.
HasErrors
);
1802
var result = new BoundUserDefinedConditionalLogicalOperator(this.Syntax, operatorKind, logicalOperator, trueOperator, falseOperator, trueFalseOperandPlaceholder, trueFalseOperandConversion, constrainedToTypeOpt, resultKind, originalUserDefinedOperatorsOpt, left, right, type, this.
HasErrors
);
1849
var result = new BoundCompoundAssignmentOperator(this.Syntax, @operator, left, right, leftPlaceholder, leftConversion, finalPlaceholder, finalConversion, resultKind, originalUserDefinedOperatorsOpt, type, this.
HasErrors
);
1883
var result = new BoundAssignmentOperator(this.Syntax, left, right, isRef, type, this.
HasErrors
);
1918
var result = new BoundDeconstructionAssignmentOperator(this.Syntax, left, right, isUsed, type, this.
HasErrors
);
1959
var result = new BoundNullCoalescingOperator(this.Syntax, leftOperand, rightOperand, leftPlaceholder, leftConversion, operatorResultKind, @checked, type, this.
HasErrors
);
1990
var result = new BoundNullCoalescingAssignmentOperator(this.Syntax, leftOperand, rightOperand, type, this.
HasErrors
);
2029
var result = new BoundUnconvertedConditionalOperator(this.Syntax, condition, consequence, alternative, constantValueOpt, noCommonTypeError, this.
HasErrors
);
2073
var result = new BoundConditionalOperator(this.Syntax, isRef, condition, consequence, alternative, constantValueOpt, naturalTypeOpt, wasTargetTyped, type, this.
HasErrors
);
2106
var result = new BoundArrayAccess(this.Syntax, expression, indices, type, this.
HasErrors
);
2138
var result = new BoundRefAccess(this.Syntax, refKind, expression, type, this.
HasErrors
);
2168
var result = new BoundArrayLength(this.Syntax, expression, type, this.
HasErrors
);
2209
var result = new BoundAwaitableInfo(this.Syntax, awaitableInstancePlaceholder, isDynamic, getAwaiter, isCompleted, getResult, runtimeAsyncAwaitCall, runtimeAsyncAwaitCallPlaceholder, this.
HasErrors
);
2244
var result = new BoundAwaitExpression(this.Syntax, expression, awaitableInfo, debugInfo, type, this.
HasErrors
);
2297
var result = new BoundTypeOfOperator(this.Syntax, sourceType, getTypeFromHandle, type, this.
HasErrors
);
2329
var result = new BoundBlockInstrumentation(this.Syntax, locals, prologue, epilogue, this.
HasErrors
);
2373
var result = new BoundMethodDefIndex(this.Syntax, method, type, this.
HasErrors
);
2416
var result = new BoundLocalId(this.Syntax, local, hoistedField, type, this.
HasErrors
);
2459
var result = new BoundParameterId(this.Syntax, parameter, hoistedField, type, this.
HasErrors
);
2494
var result = new BoundStateMachineInstanceId(this.Syntax, type, this.
HasErrors
);
2529
var result = new BoundMaximumMethodDefIndex(this.Syntax, type, this.
HasErrors
);
2567
var result = new BoundInstrumentationPayloadRoot(this.Syntax, analysisKind, type, this.
HasErrors
);
2602
var result = new BoundThrowIfModuleCancellationRequested(this.Syntax, type, this.
HasErrors
);
2637
var result = new ModuleCancellationTokenExpression(this.Syntax, type, this.
HasErrors
);
2672
var result = new BoundModuleVersionId(this.Syntax, type, this.
HasErrors
);
2707
var result = new BoundModuleVersionIdString(this.Syntax, type, this.
HasErrors
);
2747
var result = new BoundSourceDocumentIndex(this.Syntax, document, type, this.
HasErrors
);
2790
var result = new BoundMethodInfo(this.Syntax, method, getMethodFromHandle, type, this.
HasErrors
);
2833
var result = new BoundFieldInfo(this.Syntax, field, getFieldFromHandle, type, this.
HasErrors
);
2887
var result = new BoundDefaultExpression(this.Syntax, targetType, constantValueOpt, type, this.
HasErrors
);
2922
var result = new BoundIsOperator(this.Syntax, operand, targetType, conversionKind, type, this.
HasErrors
);
2959
var result = new BoundAsOperator(this.Syntax, operand, targetType, operandPlaceholder, operandConversion, type, this.
HasErrors
);
2991
var result = new BoundSizeOfOperator(this.Syntax, sourceType, constantValueOpt, type, this.
HasErrors
);
3039
var result = new BoundConversion(this.Syntax, operand, conversion, isBaseConversion, @checked, explicitCastInCode, constantValueOpt, conversionGroupOpt, inConversionGroupFlags, type, this.
HasErrors
);
3072
var result = new BoundReadOnlySpanFromArray(this.Syntax, operand, conversionMethod, type, this.
HasErrors
);
3107
var result = new BoundArgList(this.Syntax, type, this.
HasErrors
);
3138
var result = new BoundArgListOperator(this.Syntax, arguments, argumentRefKindsOpt, type, this.
HasErrors
);
3177
var result = new BoundFixedLocalCollectionInitializer(this.Syntax, elementPointerType, elementPointerPlaceholder, elementPointerConversion, expression, getPinnableOpt, type, this.
HasErrors
);
3216
var result = new BoundSequencePoint(this.Syntax, statementOpt, this.
HasErrors
);
3243
var result = new BoundSequencePointWithSpan(this.Syntax, statementOpt, span, this.
HasErrors
);
3280
var result = new BoundSavePreviousSequencePoint(this.Syntax, identifier, this.
HasErrors
);
3317
var result = new BoundRestorePreviousSequencePoint(this.Syntax, identifier, this.
HasErrors
);
3348
var result = new BoundStepThroughSequencePoint(this.Syntax, span, this.
HasErrors
);
3384
var result = new BoundBlock(this.Syntax, locals, localFunctions, hasUnsafeModifier, instrumentation, statements, this.
HasErrors
);
3413
var result = new BoundScope(this.Syntax, locals, statements, this.
HasErrors
);
3444
var result = new BoundStateMachineScope(this.Syntax, fields, statement, this.
HasErrors
);
3480
var result = new BoundLocalDeclaration(this.Syntax, localSymbol, declaredTypeOpt, initializerOpt, argumentsOpt, inferredType, this.
HasErrors
);
3520
var result = new BoundMultipleLocalDeclarations(this.Syntax, localDeclarations, this.
HasErrors
);
3550
var result = new BoundUsingLocalDeclarations(this.Syntax, patternDisposeInfoOpt, awaitOpt, localDeclarations, this.
HasErrors
);
3582
var result = new BoundLocalFunctionStatement(this.Syntax, symbol, blockBody, expressionBody, this.
HasErrors
);
3613
var result = new BoundNoOpStatement(this.Syntax, flavor, this.
HasErrors
);
3646
var result = new BoundReturnStatement(this.Syntax, refKind, expressionOpt, @checked, this.
HasErrors
);
3674
var result = new BoundYieldReturnStatement(this.Syntax, expression, this.
HasErrors
);
3716
var result = new BoundThrowStatement(this.Syntax, expressionOpt, this.
HasErrors
);
3744
var result = new BoundExpressionStatement(this.Syntax, expression, this.
HasErrors
);
3774
var result = new BoundBreakStatement(this.Syntax, label, labelExpressionOpt, this.
HasErrors
);
3804
var result = new BoundContinueStatement(this.Syntax, label, labelExpressionOpt, this.
HasErrors
);
3849
var result = new BoundSwitchStatement(this.Syntax, expression, innerLocals, innerLocalFunctions, switchSections, reachabilityDecisionDag, defaultLabel, breakLabel, this.
HasErrors
);
3885
var result = new BoundSwitchDispatch(this.Syntax, expression, cases, defaultLabel, lengthBasedStringSwitchDataOpt, this.
HasErrors
);
3918
var result = new BoundIfStatement(this.Syntax, condition, consequence, alternativeOpt, this.
HasErrors
);
3998
var result = new BoundDoStatement(this.Syntax, locals, condition, body, breakLabel, continueLabel, this.
HasErrors
);
4028
var result = new BoundWhileStatement(this.Syntax, locals, condition, body, breakLabel, continueLabel, this.
HasErrors
);
4070
var result = new BoundForStatement(this.Syntax, outerLocals, initializer, innerLocals, condition, increment, body, breakLabel, continueLabel, this.
HasErrors
);
4119
var result = new BoundForEachStatement(this.Syntax, enumeratorInfoOpt, elementPlaceholder, elementConversion, iterationVariableType, iterationVariables, iterationErrorExpressionOpt, expression, deconstructionOpt, body, breakLabel, continueLabel, this.
HasErrors
);
4150
var result = new BoundForEachDeconstructStep(this.Syntax, deconstructionAssignment, targetPlaceholder, this.
HasErrors
);
4189
var result = new BoundUsingStatement(this.Syntax, locals, declarationsOpt, expressionOpt, body, awaitOpt, patternDisposeInfoOpt, this.
HasErrors
);
4223
var result = new BoundFixedStatement(this.Syntax, locals, declarations, body, this.
HasErrors
);
4254
var result = new BoundLockStatement(this.Syntax, argument, body, this.
HasErrors
);
4291
var result = new BoundTryStatement(this.Syntax, tryBlock, catchBlocks, finallyBlockOpt, finallyLabelOpt, preferFaultHandler, this.
HasErrors
);
4332
var result = new BoundCatchBlock(this.Syntax, locals, exceptionSourceOpt, exceptionTypeOpt, exceptionFilterPrologueOpt, exceptionFilterOpt, body, isSynthesizedAsyncCatchAll, this.
HasErrors
);
4363
var result = new BoundLiteral(this.Syntax, constantValueOpt, type, this.
HasErrors
);
4403
var result = new BoundUtf8String(this.Syntax, value, type, this.
HasErrors
);
4438
var result = new BoundThisReference(this.Syntax, type, this.
HasErrors
);
4473
var result = new BoundPreviousSubmissionReference(this.Syntax, type, this.
HasErrors
);
4508
var result = new BoundHostObjectMemberReference(this.Syntax, type, this.
HasErrors
);
4537
var result = new BoundBaseReference(this.Syntax, type, this.
HasErrors
);
4586
var result = new BoundLocal(this.Syntax, localSymbol, declarationKind, constantValueOpt, isNullableUnknown, type, this.
HasErrors
);
4631
var result = new BoundPseudoVariable(this.Syntax, localSymbol, emitExpressions, type, this.
HasErrors
);
4664
var result = new BoundRangeVariable(this.Syntax, rangeVariableSymbol, value, type, this.
HasErrors
);
4704
var result = new BoundParameter(this.Syntax, parameterSymbol, type, this.
HasErrors
);
4741
var result = new BoundLabelStatement(this.Syntax, label, this.
HasErrors
);
4773
var result = new BoundGotoStatement(this.Syntax, label, caseExpressionOpt, labelExpressionOpt, this.
HasErrors
);
4804
var result = new BoundLabeledStatement(this.Syntax, label, body, this.
HasErrors
);
4841
var result = new BoundLabel(this.Syntax, label, type, this.
HasErrors
);
4878
var result = new BoundStatementList(this.Syntax, statements, this.
HasErrors
);
4911
var result = new BoundConditionalGoto(this.Syntax, condition, jumpIfTrue, label, this.
HasErrors
);
4976
var result = new BoundSwitchExpressionArm(this.Syntax, locals, pattern, hasUnionMatching, whenClause, value, label, this.
HasErrors
);
5004
var result = new BoundUnconvertedSwitchExpression(this.Syntax, expression, switchArms, reachabilityDecisionDag, defaultLabel, reportedNotExhaustive, type, this.
HasErrors
);
5038
var result = new BoundConvertedSwitchExpression(this.Syntax, naturalTypeOpt, wasTargetTyped, expression, switchArms, reachabilityDecisionDag, defaultLabel, reportedNotExhaustive, type, this.
HasErrors
);
5068
var result = new BoundDecisionDag(this.Syntax, rootNode, suitableForLowering, this.
HasErrors
);
5113
var result = new BoundEvaluationDecisionDagNode(this.Syntax, evaluation, next, this.
HasErrors
);
5147
var result = new BoundTestDecisionDagNode(this.Syntax, test, whenTrue, whenFalse, this.
HasErrors
);
5182
var result = new BoundWhenDecisionDagNode(this.Syntax, bindings, whenExpression, whenTrue, whenFalse, this.
HasErrors
);
5219
var result = new BoundLeafDecisionDagNode(this.Syntax, label, this.
HasErrors
);
5265
var result = new BoundDagTemp(this.Syntax, type, source, index, this.
HasErrors
);
5294
var result = new BoundDagTypeTest(this.Syntax, type, input, this.
HasErrors
);
5322
var result = new BoundDagNonNullTest(this.Syntax, isExplicitTest, input, this.
HasErrors
);
5348
var result = new BoundDagExplicitNullTest(this.Syntax, input, this.
HasErrors
);
5377
var result = new BoundDagValueTest(this.Syntax, value, input, this.
HasErrors
);
5408
var result = new BoundDagRelationalTest(this.Syntax, operatorKind, value, input, this.
HasErrors
);
5449
var result = new BoundDagDeconstructEvaluation(this.Syntax, deconstructMethod, input, this.
HasErrors
);
5478
var result = new BoundDagTypeEvaluation(this.Syntax, type, input, this.
HasErrors
);
5507
var result = new BoundDagFieldEvaluation(this.Syntax, field, input, this.
HasErrors
);
5538
var result = new BoundDagPropertyEvaluation(this.Syntax, property, isLengthOrCount, input, this.
HasErrors
);
5569
var result = new BoundDagIndexEvaluation(this.Syntax, property, index, input, this.
HasErrors
);
5616
var result = new BoundDagIndexerEvaluation(this.Syntax, indexerType, lengthTemp, index, indexerAccess, receiverPlaceholder, argumentPlaceholder, input, this.
HasErrors
);
5665
var result = new BoundDagSliceEvaluation(this.Syntax, sliceType, lengthTemp, startIndex, endIndex, indexerAccess, receiverPlaceholder, argumentPlaceholder, input, this.
HasErrors
);
5694
var result = new BoundDagAssignmentEvaluation(this.Syntax, target, input, this.
HasErrors
);
5720
var result = new BoundDagPassThroughEvaluation(this.Syntax, input, this.
HasErrors
);
5752
var result = new BoundSwitchSection(this.Syntax, locals, switchLabels, statements, this.
HasErrors
);
5787
var result = new BoundSwitchLabel(this.Syntax, label, pattern, hasUnionMatching, whenClause, this.
HasErrors
);
5829
var result = new BoundSequencePointExpression(this.Syntax, expression, type, this.
HasErrors
);
5865
var result = new BoundSequence(this.Syntax, locals, sideEffects, value, type, this.
HasErrors
);
5901
var result = new BoundSpillSequence(this.Syntax, locals, sideEffects, value, type, this.
HasErrors
);
5940
var result = new BoundDynamicMemberAccess(this.Syntax, receiver, typeArgumentsOpt, name, invoked, indexed, type, this.
HasErrors
);
5993
var result = new BoundDynamicInvocation(this.Syntax, argumentNamesOpt, argumentRefKindsOpt, applicableMethods, expression, arguments, type, this.
HasErrors
);
6026
var result = new BoundConditionalAccess(this.Syntax, receiver, accessExpression, type, this.
HasErrors
);
6067
var result = new BoundLoweredConditionalAccess(this.Syntax, receiver, hasValueMethodOpt, whenNotNull, whenNullOpt, id, forceCopyOfNullableValueType, type, this.
HasErrors
);
6105
var result = new BoundConditionalReceiver(this.Syntax, id, type, this.
HasErrors
);
6138
var result = new BoundComplexConditionalReceiver(this.Syntax, valueTypeReceiver, referenceTypeReceiver, type, this.
HasErrors
);
6179
var result = new BoundMethodGroup(this.Syntax, typeArgumentsOpt, name, methods, lookupSymbolOpt, lookupError, flags, functionType, receiverOpt, resultKind, this.
HasErrors
);
6207
var result = new BoundPropertyGroup(this.Syntax, properties, receiverOpt, resultKind, this.
HasErrors
);
6266
var result = new BoundCall(this.Syntax, receiverOpt, initialBindingReceiverIsSubjectToCloning, method, arguments, argumentNamesOpt, argumentRefKindsOpt, isDelegateCall, expanded, invokedAsExtensionMethod, argsToParamsOpt, defaultArguments, resultKind, originalMethodsOpt, type, this.
HasErrors
);
6305
var result = new BoundEventAssignmentOperator(this.Syntax, @event, isAddition, isDynamic, receiverOpt, argument, type, this.
HasErrors
);
6350
var result = new BoundAttribute(this.Syntax, constructor, constructorArguments, constructorArgumentNamesOpt, constructorArgumentsToParamsOpt, constructorExpanded, constructorDefaultArguments, namedArguments, resultKind, type, this.
HasErrors
);
6388
var result = new BoundUnconvertedObjectCreationExpression(this.Syntax, arguments, argumentNamesOpt, argumentRefKindsOpt, initializerOpt, binder, this.
HasErrors
);
6460
var result = new BoundObjectCreationExpression(this.Syntax, constructor, constructorsGroup, arguments, argumentNamesOpt, argumentRefKindsOpt, expanded, argsToParamsOpt, defaultArguments, constantValueOpt, initializerExpressionOpt, wasTargetTyped, type, this.
HasErrors
);
6507
var result = new BoundUnconvertedCollectionExpression(this.Syntax, withElement, elements, this.
HasErrors
);
6539
var result = new BoundUnconvertedWithElement(this.Syntax, arguments, argumentNamesOpt, argumentRefKindsOpt, this.
HasErrors
);
6588
var result = new BoundCollectionExpression(this.Syntax, collectionTypeKind, placeholder, collectionCreation, collectionBuilderMethod, collectionBuilderElementsPlaceholder, wasTargetTyped, hasWithElement, unconvertedCollectionExpression, elements, type, this.
HasErrors
);
6616
var result = new BoundCollectionExpressionSpreadExpressionPlaceholder(this.Syntax, type, this.
HasErrors
);
6656
var result = new BoundCollectionExpressionSpreadElement(this.Syntax, expression, expressionPlaceholder, conversion, enumeratorInfoOpt, lengthOrCount, elementPlaceholder, iteratorBody, this.
HasErrors
);
6701
var result = new BoundTupleLiteral(this.Syntax, arguments, argumentNamesOpt, inferredNamesOpt, type, this.
HasErrors
);
6731
var result = new BoundConvertedTupleLiteral(this.Syntax, sourceTuple, wasTargetTyped, arguments, argumentNamesOpt, inferredNamesOpt, type, this.
HasErrors
);
6774
var result = new BoundDynamicObjectCreationExpression(this.Syntax, name, arguments, argumentNamesOpt, argumentRefKindsOpt, initializerExpressionOpt, applicableMethods, wasTargetTyped, type, this.
HasErrors
);
6806
var result = new BoundNoPiaObjectCreationExpression(this.Syntax, guidString, initializerExpressionOpt, wasTargetTyped, type, this.
HasErrors
);
6853
var result = new BoundObjectInitializerExpression(this.Syntax, placeholder, initializers, type, this.
HasErrors
);
6902
var result = new BoundObjectInitializerMember(this.Syntax, memberSymbol, arguments, argumentNamesOpt, argumentRefKindsOpt, expanded, argsToParamsOpt, defaultArguments, resultKind, accessorKind, receiverType, type, this.
HasErrors
);
6947
var result = new BoundDynamicObjectInitializerMember(this.Syntax, memberName, receiverType, type, this.
HasErrors
);
6975
var result = new BoundCollectionInitializerExpression(this.Syntax, placeholder, initializers, type, this.
HasErrors
);
7020
var result = new BoundCollectionElementInitializer(this.Syntax, addMethod, arguments, implicitReceiverOpt, expanded, argsToParamsOpt, defaultArguments, invokedAsExtensionMethod, resultKind, type, this.
HasErrors
);
7052
var result = new BoundDynamicCollectionElementInitializer(this.Syntax, applicableMethods, expression, arguments, type, this.
HasErrors
);
7087
var result = new BoundImplicitReceiver(this.Syntax, type, this.
HasErrors
);
7123
var result = new BoundAnonymousObjectCreationExpression(this.Syntax, constructor, arguments, declarations, type, this.
HasErrors
);
7163
var result = new BoundAnonymousPropertyDeclaration(this.Syntax, property, type, this.
HasErrors
);
7193
var result = new BoundNewT(this.Syntax, initializerExpressionOpt, wasTargetTyped, type, this.
HasErrors
);
7229
var result = new BoundDelegateCreationExpression(this.Syntax, argument, methodOpt, isExtensionMethod, wasTargetTyped, type, this.
HasErrors
);
7261
var result = new BoundArrayCreation(this.Syntax, bounds, initializerOpt, type, this.
HasErrors
);
7292
var result = new BoundArrayInitialization(this.Syntax, isInferred, initializers, this.
HasErrors
);
7338
var result = new BoundStackAllocArrayCreation(this.Syntax, elementType, count, initializerOpt, type, this.
HasErrors
);
7367
var result = new BoundConvertedStackAllocExpression(this.Syntax, elementType, count, initializerOpt, type, this.
HasErrors
);
7407
var result = new BoundFieldAccess(this.Syntax, receiverOpt, fieldSymbol, constantValueOpt, resultKind, isByValue, isDeclaration, type, this.
HasErrors
);
7447
var result = new BoundHoistedFieldAccess(this.Syntax, fieldSymbol, type, this.
HasErrors
);
7485
var result = new BoundPropertyAccess(this.Syntax, receiverOpt, initialBindingReceiverIsSubjectToCloning, propertySymbol, autoPropertyAccessorKind, resultKind, type, this.
HasErrors
);
7521
var result = new BoundEventAccess(this.Syntax, receiverOpt, eventSymbol, isUsableAsField, resultKind, type, this.
HasErrors
);
7572
var result = new BoundIndexerAccess(this.Syntax, receiverOpt, initialBindingReceiverIsSubjectToCloning, indexer, arguments, argumentNamesOpt, argumentRefKindsOpt, expanded, accessorKind, argsToParamsOpt, defaultArguments, originalIndexersOpt, type, this.
HasErrors
);
7621
var result = new BoundImplicitIndexerAccess(this.Syntax, receiver, argument, lengthOrCountAccess, receiverPlaceholder, indexerOrSliceAccess, argumentPlaceholders, type, this.
HasErrors
);
7662
var result = new BoundInlineArrayAccess(this.Syntax, expression, argument, isValue, getItemOrSliceHelper, type, this.
HasErrors
);
7702
var result = new BoundDynamicIndexerAccess(this.Syntax, receiver, arguments, argumentNamesOpt, argumentRefKindsOpt, applicableIndexers, type, this.
HasErrors
);
7742
var result = new BoundLambda(this.Syntax, unboundLambda, symbol, body, diagnostics, binder, type, this.
HasErrors
);
7786
var result = new UnboundLambda(this.Syntax, data, functionType, withDependencies, this.
HasErrors
);
7827
var result = new BoundQueryClause(this.Syntax, value, definedSymbol, operation, cast, binder, unoptimizedForm, type, this.
HasErrors
);
7853
var result = new BoundTypeOrInstanceInitializers(this.Syntax, statements, this.
HasErrors
);
7890
var result = new BoundNameOfOperator(this.Syntax, argument, constantValueOpt, type, this.
HasErrors
);
7932
var result = new BoundUnconvertedInterpolatedString(this.Syntax, parts, constantValueOpt, type, this.
HasErrors
);
7960
var result = new BoundInterpolatedString(this.Syntax, interpolationData, parts, constantValueOpt, type, this.
HasErrors
);
7988
var result = new BoundInterpolatedStringHandlerPlaceholder(this.Syntax, type, this.
HasErrors
);
8026
var result = new BoundInterpolatedStringArgumentPlaceholder(this.Syntax, argumentIndex, type, this.
HasErrors
);
8061
var result = new BoundStringInsert(this.Syntax, value, alignment, format, isInterpolatedStringHandlerAppendCall, this.
HasErrors
);
8105
var result = new BoundIsPatternExpression(this.Syntax, expression, pattern, hasUnionMatching, isNegated, reachabilityDecisionDag, whenTrueLabel, whenFalseLabel, type, this.
HasErrors
);
8176
var result = new BoundConstantPattern(this.Syntax, value, constantValue, unionMatchingMode, inputType, narrowedType, this.
HasErrors
);
8218
var result = new BoundPatternWithUnionMatching(this.Syntax, unionMatchingInputType, leftOfPendingConjunction, valueProperty, valuePattern, inputType, narrowedType, this.
HasErrors
);
8258
var result = new BoundDiscardPattern(this.Syntax, inputType, narrowedType, this.
HasErrors
);
8313
var result = new BoundDeclarationPattern(this.Syntax, declaredType, isVar, isUnionMatching, variable, variableAccess, inputType, narrowedType, this.
HasErrors
);
8356
var result = new BoundRecursivePattern(this.Syntax, declaredType, deconstructMethod, deconstruction, properties, isExplicitNotNullTest, isUnionMatching, variable, variableAccess, inputType, narrowedType, this.
HasErrors
);
8400
var result = new BoundListPattern(this.Syntax, subpatterns, hasSlice, lengthAccess, indexerAccess, receiverPlaceholder, argumentPlaceholder, variable, variableAccess, inputType, narrowedType, this.
HasErrors
);
8439
var result = new BoundSlicePattern(this.Syntax, pattern, indexerAccess, receiverPlaceholder, argumentPlaceholder, inputType, narrowedType, this.
HasErrors
);
8479
var result = new BoundITuplePattern(this.Syntax, getLengthMethod, getItemMethod, subpatterns, inputType, narrowedType, this.
HasErrors
);
8525
var result = new BoundPositionalSubpattern(this.Syntax, symbol, pattern, this.
HasErrors
);
8555
var result = new BoundPropertySubpattern(this.Syntax, member, isLengthOrCount, pattern, this.
HasErrors
);
8587
var result = new BoundPropertySubpatternMember(this.Syntax, receiver, symbol, type, this.
HasErrors
);
8625
var result = new BoundTypePattern(this.Syntax, declaredType, isExplicitNotNullTest, isUnionMatching, inputType, narrowedType, this.
HasErrors
);
8664
var result = new BoundBinaryPattern(this.Syntax, disjunction, left, right, inputType, narrowedType, this.
HasErrors
);
8698
var result = new BoundNegatedPattern(this.Syntax, negated, inputType, narrowedType, this.
HasErrors
);
8739
var result = new BoundRelationalPattern(this.Syntax, relation, value, constantValue, isUnionMatching, inputType, narrowedType, this.
HasErrors
);
8774
var result = new BoundDiscardExpression(this.Syntax, nullableAnnotation, isInferred, type, this.
HasErrors
);
8802
var result = new BoundThrowExpression(this.Syntax, expression, type, this.
HasErrors
);
8845
var result = new OutVariablePendingInference(this.Syntax, variableSymbol, receiverOpt, this.
HasErrors
);
8871
var result = new DeconstructionVariablePendingInference(this.Syntax, variableSymbol, receiverOpt, this.
HasErrors
);
8906
var result = new OutDeconstructVarPendingInference(this.Syntax, variableSymbol, isDiscardExpression, this.
HasErrors
);
8942
var result = new BoundNonConstructorMethodBody(this.Syntax, blockBody, expressionBody, this.
HasErrors
);
8972
var result = new BoundConstructorMethodBody(this.Syntax, locals, initializer, blockBody, expressionBody, this.
HasErrors
);
9003
var result = new BoundExpressionWithNullability(this.Syntax, expression, nullableAnnotation, type, this.
HasErrors
);
9028
var result = new BoundValueForNullableAnalysis(this.Syntax, originalExpression, type, this.
HasErrors
);
9063
var result = new BoundWithExpression(this.Syntax, receiver, cloneMethod, initializerExpression, type, this.
HasErrors
);
15485
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15493
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15501
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15507
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15514
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15522
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15531
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15538
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15545
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15552
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15560
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15567
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15576
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15583
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15590
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15597
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15604
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15611
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15620
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15628
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15638
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15644
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15650
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15661
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15670
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15679
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15693
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15710
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15720
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15728
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15737
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15745
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15755
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15766
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15775
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15783
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15792
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15801
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15811
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15823
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15834
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15852
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15868
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15878
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15888
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15901
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15910
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15922
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15936
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15945
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15954
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15962
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15974
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15984
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
15993
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16001
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16009
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16018
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16027
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16034
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16041
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16049
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16056
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16063
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16070
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16077
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16085
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16094
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16103
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16110
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16119
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16129
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16140
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16149
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16164
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16173
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16180
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16189
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16201
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16207
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16214
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16220
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16226
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16232
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16242
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16249
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16256
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16266
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16272
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16280
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16288
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16294
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16302
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16308
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16316
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16322
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16329
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16336
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16348
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16357
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16365
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16375
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16385
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16398
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16414
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16421
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16432
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16440
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16447
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16457
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16469
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16477
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16485
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16492
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16499
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16506
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16513
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16524
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16533
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16542
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16550
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16556
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16564
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16571
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16579
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16585
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16593
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16604
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16616
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16630
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16637
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16644
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16652
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16661
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16667
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16675
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16682
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16689
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16695
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16702
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16710
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16717
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16724
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16731
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16739
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16747
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16759
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16772
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16779
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16785
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16793
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16802
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16810
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16820
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16830
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16842
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16854
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16863
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16876
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16884
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16893
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16909
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16919
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16939
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16951
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16966
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16978
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
16996
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17005
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17013
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17029
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17036
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17048
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17058
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17070
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17084
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17094
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17103
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17120
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17129
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17138
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17153
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17163
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17170
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17180
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17188
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17197
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17208
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17217
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17226
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17236
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17246
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17259
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17267
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17279
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17290
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17308
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17321
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17332
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17344
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17356
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17366
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17379
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17385
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17394
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17403
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17413
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17420
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17428
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17439
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17453
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17463
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17474
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17481
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17493
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17508
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17523
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17534
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17544
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17551
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17559
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17567
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17577
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17587
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17595
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17606
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17615
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17623
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17632
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17641
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17650
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17657
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17666
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17675
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17683
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
17693
new TreeDumperNode("hasErrors", node.
HasErrors
, null)
Lowering\ClosureConversion\ClosureConversion.cs (2)
839
return new BoundParameter(node.Syntax, replacementParameter, node.
HasErrors
);
1333
return new BoundBlock(node.Syntax, newLocals.ToImmutableAndFree(), newStatements.ToImmutableAndFree(), node.
HasErrors
);
Lowering\Instrumentation\DebugInfoInjector.cs (1)
367
original.
HasErrors
);
Lowering\LocalRewriter\LocalRewriter_Block.cs (1)
58
return new BoundBlock(node.Syntax, locals, node.LocalFunctions, node.HasUnsafeModifier, instrumentation, builder.ToImmutableAndFree(), node.
HasErrors
);
Lowering\LocalRewriter\LocalRewriter_BreakStatement.cs (1)
15
BoundStatement result = new BoundGotoStatement(node.Syntax, node.Label, node.
HasErrors
);
Lowering\LocalRewriter\LocalRewriter_ContinueStatement.cs (1)
15
BoundStatement result = new BoundGotoStatement(node.Syntax, node.Label, node.
HasErrors
);
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
1095
hasErrors: conversion.
HasErrors
);
Lowering\LocalRewriter\LocalRewriter_DeconstructionAssignmentOperator.cs (1)
101
if (!returnValue!.
HasErrors
)
Lowering\LocalRewriter\LocalRewriter_DoStatement.cs (2)
57
return BoundStatementList.Synthesized(syntax, node.
HasErrors
,
65
return BoundStatementList.Synthesized(syntax, node.
HasErrors
,
Lowering\LocalRewriter\LocalRewriter_ExpressionStatement.cs (1)
43
if (expression.
HasErrors
)
Lowering\LocalRewriter\LocalRewriter_ForEachStatement.cs (4)
37
if (node.
HasErrors
)
699
hasErrors: node.
HasErrors
);
995
hasErrors: node.
HasErrors
);
1203
hasErrors: node.
HasErrors
);
Lowering\LocalRewriter\LocalRewriter_ForStatement.cs (2)
189
node.ContinueLabel, node.
HasErrors
);
271
return new BoundBlock(syntax, node.OuterLocals, statements, node.
HasErrors
);
Lowering\LocalRewriter\LocalRewriter_IfStatement.cs (1)
116
return new BoundStatementList(node.Syntax, builder.ToImmutableAndFree(), node.
HasErrors
);
Lowering\LocalRewriter\LocalRewriter_LocalDeclaration.cs (1)
16
return RewriteLocalDeclaration(node, node.Syntax, node.LocalSymbol, VisitExpression(node.InitializerOpt), node.
HasErrors
);
Lowering\LocalRewriter\LocalRewriter_LockStatement.cs (1)
166
node.
HasErrors
);
Lowering\LocalRewriter\LocalRewriter_MultipleLocalDeclarations.cs (1)
45
return BoundStatementList.Synthesized(node.Syntax, node.
HasErrors
, inits.ToImmutableAndFree());
Lowering\LocalRewriter\LocalRewriter_NullCoalescingOperator.cs (1)
167
Debug.Assert(convertedLeft.
HasErrors
|| convertedLeft.Type!.Equals(rewrittenResultType, TypeCompareKind.IgnoreDynamicAndTupleNames | TypeCompareKind.IgnoreNullableModifiersForReferenceTypes));
Lowering\LocalRewriter\LocalRewriter_ObjectCreationExpression.cs (6)
23
if (node.InitializerExpressionOpt == null || node.InitializerExpressionOpt.
HasErrors
)
123
if (node.InitializerExpressionOpt == null || node.InitializerExpressionOpt.
HasErrors
)
249
if (initializerExpressionOpt != null && !initializerExpressionOpt.
HasErrors
)
267
Debug.Assert(initializerExpression != null && !initializerExpression.
HasErrors
);
320
if (node.InitializerExpressionOpt == null || node.InitializerExpressionOpt.
HasErrors
)
433
if (node.InitializerExpressionOpt == null || node.InitializerExpressionOpt.
HasErrors
)
Lowering\LocalRewriter\LocalRewriter_TupleBinaryOperator.cs (7)
80
hasErrors: conversion.
HasErrors
);
86
ImmutableArray<bool>.Empty, conversion.Type, conversion.
HasErrors
);
124
constantValueOpt: null, destElementTypes[i].Type, boundConversion.
HasErrors
);
130
ImmutableArray<bool>.Empty, expr.Type, expr.
HasErrors
);
166
ImmutableArray<bool>.Empty, tuple.Type, tuple.
HasErrors
);
222
type: eType, hasErrors: expr.
HasErrors
);
469
hasErrors: expr.
HasErrors
).WithSuppression(expr.IsSuppressed);
Lowering\LocalRewriter\LocalRewriter_WhileStatement.cs (1)
38
node.
HasErrors
);
Lowering\LocalRewriter\LocalRewriter.cs (7)
160
if (localRewriter._needsSpilling && !loweredStatement.
HasErrors
)
214
Debug.Assert(!node.
HasErrors
, "nodes with errors should not be lowered");
232
Debug.Assert(!node.
HasErrors
, "nodes with errors should not be lowered");
244
Debug.Assert(!node.
HasErrors
, "nodes with errors should not be lowered");
285
Debug.Assert(visited == null || visited.
HasErrors
|| ReferenceEquals(visited.Type, node.Type) ||
522
Debug.Assert(value.Type is { } && (value.Type.Equals(placeholder.Type, TypeCompareKind.AllIgnoreOptions) || value.
HasErrors
));
824
return new BoundStatementList(node.Syntax, rewrittenStatements, node.
HasErrors
);
Lowering\StateMachineRewriter\StateMachineRewriter.cs (1)
95
if (this.body.
HasErrors
)
Operations\CSharpOperationFactory.cs (1)
2537
{
HasErrors
: true } => "",
Symbols\Source\SourceComplexParameterSymbol.cs (1)
392
if (valueBeforeConversion.
HasErrors
)