282 writes to WasCompilerGenerated
Microsoft.CodeAnalysis.CSharp (269)
Binder\Binder.cs (3)
851: new BoundSequence(scopeDesignator, locals, ImmutableArray<BoundExpression>.Empty, expression, getType()) { WasCompilerGenerated = true }; 870{ WasCompilerGenerated = true }; 887{ WasCompilerGenerated = true };
Binder\Binder.WithQueryLambdaParametersBinder.cs (1)
60translation.WasCompilerGenerated = true;
Binder\Binder_Await.cs (1)
65return new BoundAwaitableInfo(node, placeholder, isDynamic: isDynamic, getAwaiter, isCompleted, getResult, hasErrors: hasGetAwaitableErrors) { WasCompilerGenerated = true };
Binder\Binder_Conversions.cs (8)
268{ WasCompilerGenerated = wasCompilerGenerated }; 370{ WasCompilerGenerated = wasCompilerGenerated }; 506{ WasCompilerGenerated = source.WasCompilerGenerated }; 587{ WasCompilerGenerated = true }; 624{ WasCompilerGenerated = true }; 672expr = new BoundConversion(syntax, source, conversion, @checked: false, explicitCastInCode: isCast, conversionGroup, constantValueOpt: ConstantValue.NotAvailable, type: delegateType, hasErrors: true) { WasCompilerGenerated = source.WasCompilerGenerated }; 717{ WasCompilerGenerated = source.WasCompilerGenerated }; 736return new BoundConversion(syntax, group, conversion, @checked: false, explicitCastInCode: isCast, conversionGroup, constantValueOpt: ConstantValue.NotAvailable, type: destination, hasErrors: hasErrors) { WasCompilerGenerated = group.WasCompilerGenerated };
Binder\Binder_Deconstruct.cs (4)
171{ WasCompilerGenerated = true }; 314type: ErrorTypeSymbol.UnknownResultType) { WasCompilerGenerated = true })); 659memberAccess.WasCompilerGenerated = true; 674result.WasCompilerGenerated = true;
Binder\Binder_Expressions.cs (26)
178{ WasCompilerGenerated = wasCompilerGenerated }; 2131return new BoundPreviousSubmissionReference(syntax, memberDeclaringType) { WasCompilerGenerated = true }; 2139return new BoundHostObjectMemberReference(syntax, hostObjectType) { WasCompilerGenerated = true }; 2276return new BoundThisReference(node, thisTypeOpt ?? CreateErrorType(), hasErrors) { WasCompilerGenerated = wasCompilerGenerated }; 2688underlyingExpr.WasCompilerGenerated = true; 3766{ WasCompilerGenerated = true }; 3778WasCompilerGenerated = !hasCreationSyntax && 3991{ WasCompilerGenerated = true }; 4348{ WasCompilerGenerated = initializerArgumentListOpt == null }; 4362result.WasCompilerGenerated = initializerArgumentListOpt == null; 4715creation.WasCompilerGenerated = true; 4753return new BoundBadExpression(node, LookupResultKind.NotCreatable, ImmutableArray.Create<Symbol?>(type), children.ToImmutableAndFree(), type) { WasCompilerGenerated = wasCompilerGenerated }; 4767var implicitReceiver = new BoundObjectOrCollectionValuePlaceholder(typeSyntax, isForNewInstance, type) { WasCompilerGenerated = true }; 5430result.WasCompilerGenerated = true; 5562{ WasCompilerGenerated = true }; 6340WasCompilerGenerated = true, // don't interfere with the type info for exprSyntax. 8033var receiverPlaceholder = new BoundImplicitIndexerReceiverPlaceholder(expr.Syntax, isEquivalentToThisReference: expr.IsEquivalentToThisReference, expr.Type) { WasCompilerGenerated = true }; 8034var argumentPlaceholders = ImmutableArray.Create(new BoundImplicitIndexerValuePlaceholder(convertedArguments[0].Syntax, int32) { WasCompilerGenerated = true }); 8040lengthOrCountAccess: new BoundArrayLength(node, receiverPlaceholder, int32) { WasCompilerGenerated = true }, 8042indexerOrSliceAccess: new BoundArrayAccess(node, receiverPlaceholder, ImmutableArray<BoundExpression>.CastUp(argumentPlaceholders), resultType) { WasCompilerGenerated = true }, 8555var receiverPlaceholder = new BoundImplicitIndexerReceiverPlaceholder(receiver.Syntax, isEquivalentToThisReference: receiver.IsEquivalentToThisReference, receiver.Type) { WasCompilerGenerated = true }; 8677var intPlaceholder = new BoundImplicitIndexerValuePlaceholder(syntax, Compilation.GetSpecialType(SpecialType.System_Int32)) { WasCompilerGenerated = true }; 8752var startArgumentPlaceholder = new BoundImplicitIndexerValuePlaceholder(syntax, Compilation.GetSpecialType(SpecialType.System_Int32)) { WasCompilerGenerated = true }; 8753var lengthArgumentPlaceholder = new BoundImplicitIndexerValuePlaceholder(syntax, Compilation.GetSpecialType(SpecialType.System_Int32)) { WasCompilerGenerated = true }; 8763{ WasCompilerGenerated = true }; 9494receiver = new BoundConditionalReceiver(receiver.Syntax, 0, receiverType ?? CreateErrorType(), hasErrors: receiver.HasErrors) { WasCompilerGenerated = true };
Binder\Binder_InterpolatedString.cs (5)
505var implicitBuilderReceiver = new BoundInterpolatedStringHandlerPlaceholder(syntax, interpolatedStringHandlerType) { WasCompilerGenerated = true }; 579{ WasCompilerGenerated = true }; 674argumentsBuilder.Add(new BoundLiteral(syntax, ConstantValue.Create(baseStringLength), intType) { WasCompilerGenerated = true }); 676argumentsBuilder.Add(new BoundLiteral(syntax, ConstantValue.Create(numFormatHoles), intType) { WasCompilerGenerated = true }); 1034{ WasCompilerGenerated = true }.WithSuppression(isSuppressed)));
Binder\Binder_Invocation.cs (17)
124boundExpression.WasCompilerGenerated = true; 150result.WasCompilerGenerated = true; 1190defaultValue = new BoundDefaultExpression(syntax, parameterType) { WasCompilerGenerated = true }; 1197var unknownArgument = new BoundDefaultExpression(syntax, parameterType) { WasCompilerGenerated = true }; 1198defaultValue = new BoundObjectCreationExpression(syntax, methodSymbol, unknownArgument) { WasCompilerGenerated = true }; 1206var dispatchArgument = new BoundDefaultExpression(syntax, parameterType) { WasCompilerGenerated = true }; 1207defaultValue = new BoundObjectCreationExpression(syntax, methodSymbol, dispatchArgument) { WasCompilerGenerated = true }; 1215defaultValue = new BoundFieldAccess(syntax, null, fieldSymbol, ConstantValue.NotAvailable) { WasCompilerGenerated = true }; 1353return new BoundDefaultExpression(syntax, parameterType) { WasCompilerGenerated = true }; 1377defaultValue = new BoundLiteral(syntax, ConstantValue.Create(line), Compilation.GetSpecialType(SpecialType.System_Int32)) { WasCompilerGenerated = true }; 1382defaultValue = new BoundLiteral(syntax, ConstantValue.Create(path), Compilation.GetSpecialType(SpecialType.System_String)) { WasCompilerGenerated = true }; 1387defaultValue = new BoundLiteral(syntax, ConstantValue.Create(memberName), Compilation.GetSpecialType(SpecialType.System_String)) { WasCompilerGenerated = true }; 1396defaultValue = new BoundLiteral(syntax, ConstantValue.Create(argument.Syntax.ToString()), Compilation.GetSpecialType(SpecialType.System_String)) { WasCompilerGenerated = true }; 1409defaultValue = new BoundDefaultExpression(syntax, parameterType) { WasCompilerGenerated = true }; 1414defaultValue = new BoundDefaultExpression(syntax, parameterType) { WasCompilerGenerated = true }; 1419defaultValue = new BoundLiteral(syntax, defaultConstantValue, constantType) { WasCompilerGenerated = true }; 1437defaultValue = new BoundDefaultExpression(syntax, parameterType) { WasCompilerGenerated = true };
Binder\Binder_Operators.cs (1)
3208{ WasCompilerGenerated = true };
Binder\Binder_Patterns.cs (6)
223receiverPlaceholder = new BoundSlicePatternReceiverPlaceholder(node, inputType) { WasCompilerGenerated = true }; 225argumentPlaceholder = new BoundSlicePatternRangePlaceholder(node, systemRangeType) { WasCompilerGenerated = true }; 360receiverPlaceholder = new BoundListPatternReceiverPlaceholder(node, inputType) { WasCompilerGenerated = true }; 366lengthAccess = new BoundPropertyAccess(node, receiverPlaceholder, lengthProperty, LookupResultKind.Viable, lengthProperty.Type) { WasCompilerGenerated = true }; 370lengthAccess = new BoundBadExpression(node, LookupResultKind.Empty, ImmutableArray<Symbol?>.Empty, ImmutableArray<BoundExpression>.Empty, CreateErrorType(), hasErrors: true) { WasCompilerGenerated = true }; 384argumentPlaceholder = new BoundListPatternIndexPlaceholder(node, systemIndexType) { WasCompilerGenerated = true };
Binder\Binder_Query.cs (5)
692var x1Expression = new BoundParameter(node, lambdaSymbol.Parameters[0]) { WasCompilerGenerated = true }; 693var x2Expression = new BoundParameter(node, lambdaSymbol.Parameters[1]) { WasCompilerGenerated = true }; 726var xExpression = new BoundParameter(let, lambdaSymbol.Parameters[0]) { WasCompilerGenerated = true }; 868var lambda = new UnboundLambda(node, state, functionType: null, withDependencies, hasErrors: false) { WasCompilerGenerated = true }; 1044result.WasCompilerGenerated = true;
Binder\Binder_Statements.cs (14)
2564WasCompilerGenerated = true 2633WasCompilerGenerated = true 3357statement = new BoundReturnStatement(syntax, refKind, expression, @checked: CheckOverflowAtRuntime) { WasCompilerGenerated = true }; 3368statement = new BoundReturnStatement(syntax, RefKind.None, expression, @checked: CheckOverflowAtRuntime) { WasCompilerGenerated = true }; 3399statement = new BoundReturnStatement(syntax, returnRefKind, expression, @checked: CheckOverflowAtRuntime) { WasCompilerGenerated = true }; 3411statement = new BoundReturnStatement(syntax, returnRefKind, expression, @checked: CheckOverflowAtRuntime) { WasCompilerGenerated = true }; 3417statement = new BoundExpressionStatement(syntax, expression) { WasCompilerGenerated = true }; 3427statement = new BoundReturnStatement(syntax, refKind, expression, @checked: CheckOverflowAtRuntime) { WasCompilerGenerated = true }; 3431return new BoundBlock(node, locals, ImmutableArray.Create(statement)) { WasCompilerGenerated = node.Kind() != SyntaxKind.ArrowExpressionClause }; 3691var constructorInitializer = new BoundExpressionStatement(ctorSyntax, initializerInvocation) { WasCompilerGenerated = ((MethodSymbol)ContainingMember()).IsImplicitlyDeclared }; 3858BoundExpression receiver = new BoundThisReference(syntax, constructor.ContainingType) { WasCompilerGenerated = true }; 3874{ WasCompilerGenerated = true }; 3902BoundExpression receiver = new BoundThisReference(syntax, constructor.ContainingType) { WasCompilerGenerated = true }; 3920{ WasCompilerGenerated = true };
Binder\ForEachLoopBinder.cs (1)
674{ WasCompilerGenerated = true }; // Don't affect the type in the SemanticModel.
Binder\ForLoopBinder.cs (2)
116{ WasCompilerGenerated = true }; 121{ WasCompilerGenerated = true };
Binder\Semantics\Conversions\Conversions.cs (1)
323analyzedArguments.Arguments.Add(new BoundParameter(syntax, parameter) { WasCompilerGenerated = true });
Binder\SwitchBinder_Patterns.cs (1)
242pattern.WasCompilerGenerated = true; // we don't have a pattern syntax here
Binder\UsingStatementBinder.cs (2)
153awaitOpt = new BoundAwaitableInfo(syntax, awaitableInstancePlaceholder: null, isDynamic: true, getAwaiter: null, isCompleted: null, getResult: null) { WasCompilerGenerated = true }; 215: new BoundLocal(syntax, declarationsOpt[0].LocalSymbol, null, type) { WasCompilerGenerated = true };
BoundTree\BoundNode.cs (1)
148this.WasCompilerGenerated = original.WasCompilerGenerated;
BoundTree\BoundNodeExtensions.cs (1)
69node.WasCompilerGenerated = true;
BoundTree\BoundSequencePoint.cs (2)
28return new BoundSequencePoint(syntax!, statementOpt, hasErrors) { WasCompilerGenerated = wasCompilerGenerated }; 34return new BoundSequencePoint(null!, statementOpt, hasErrors) { WasCompilerGenerated = true };
BoundTree\Constructors.cs (9)
196{ WasCompilerGenerated = true }; 284{ WasCompilerGenerated = true }; 314WasCompilerGenerated = true 568return new BoundStatementList(syntax, statements, hasErrors) { WasCompilerGenerated = true }; 576return new BoundReturnStatement(syntax, refKind, expression, hasErrors) { WasCompilerGenerated = true }; 584return new BoundYieldBreakStatement(syntax, hasErrors) { WasCompilerGenerated = true }; 606{ WasCompilerGenerated = true }; 611return new BoundBlock(syntax, ImmutableArray<LocalSymbol>.Empty, statements) { WasCompilerGenerated = true }; 616return new BoundBlock(syntax, ImmutableArray<LocalSymbol>.Empty, statements.AsImmutableOrNull()) { WasCompilerGenerated = true };
BoundTree\UnboundLambda.cs (3)
836{ WasCompilerGenerated = _unboundLambda.WasCompilerGenerated }; 938{ WasCompilerGenerated = _unboundLambda.WasCompilerGenerated }; 1196{ WasCompilerGenerated = _unboundLambda.WasCompilerGenerated };
Compiler\MethodBodySynthesizer.cs (46)
40BoundExpression receiver = new BoundThisReference(syntax, constructor.ContainingType) { WasCompilerGenerated = true }; 57{ WasCompilerGenerated = true }) 58{ WasCompilerGenerated = true }; 91var submissionArrayReference = new BoundParameter(syntax, submissionConstructor.Parameters[0]) { WasCompilerGenerated = true }; 95var thisReference = new BoundThisReference(syntax, submissionConstructor.ContainingType) { WasCompilerGenerated = true }; 105ImmutableArray.Create<BoundExpression>(new BoundLiteral(syntax, ConstantValue.Create(slotIndex), intType) { WasCompilerGenerated = true }), 107{ WasCompilerGenerated = true }, 111{ WasCompilerGenerated = true }) 112{ WasCompilerGenerated = true }); 121new BoundFieldAccess(syntax, thisReference, hostObjectField, ConstantValue.NotAvailable) { WasCompilerGenerated = true }, 125ImmutableArray.Create<BoundExpression>(new BoundLiteral(syntax, ConstantValue.Create(0), intType) { WasCompilerGenerated = true }), 135{ WasCompilerGenerated = true }) 136{ WasCompilerGenerated = true }); 149new BoundFieldAccess(syntax, thisReference, field, ConstantValue.NotAvailable) { WasCompilerGenerated = true }, 153ImmutableArray.Create<BoundExpression>(new BoundLiteral(syntax, ConstantValue.Create(targetSubmissionIndex), intType) { WasCompilerGenerated = true }), 155{ WasCompilerGenerated = true }, 165{ WasCompilerGenerated = true }) 166{ WasCompilerGenerated = true }); 183thisReference = new BoundThisReference(syntax, thisSymbol.Type) { WasCompilerGenerated = true }; 187var fieldAccess = new BoundFieldAccess(syntax, thisReference, field, ConstantValue.NotAvailable) { WasCompilerGenerated = true }; 203new BoundParameter(syntax, parameter) { WasCompilerGenerated = true }, 205{ WasCompilerGenerated = true }); 282{ WasCompilerGenerated = true }; 358{ WasCompilerGenerated = true }; 375new BoundThisReference(syntax, thisParameter.Type) { WasCompilerGenerated = true }; 381{ WasCompilerGenerated = true }; 385{ WasCompilerGenerated = true }; 408{ WasCompilerGenerated = true }) 409{ WasCompilerGenerated = true }; 431boundTmps[i] = new BoundLocal(syntax, tmps[i], null, delegateType) { WasCompilerGenerated = true }; 440{ WasCompilerGenerated = true }) 441{ WasCompilerGenerated = true }; 446{ WasCompilerGenerated = true }; 454{ WasCompilerGenerated = true }) 455{ WasCompilerGenerated = true }; 472{ WasCompilerGenerated = true }) 473{ WasCompilerGenerated = true }; 487{ WasCompilerGenerated = true }) 488{ WasCompilerGenerated = true }; 500{ WasCompilerGenerated = true }; 507{ WasCompilerGenerated = true }; 519{ WasCompilerGenerated = true }; 543{ WasCompilerGenerated = true }, 545{ WasCompilerGenerated = true }; 570{ WasCompilerGenerated = true } 572{ WasCompilerGenerated = true }));
Compiler\MethodCompiler.cs (2)
1012body = new BoundBlock(methodSymbol.GetNonNullSyntaxNode(), ImmutableArray<LocalSymbol>.Empty, ImmutableArray<BoundStatement>.Empty) { WasCompilerGenerated = true }; 2286var constructorInitializer = new BoundExpressionStatement(initializerInvocation.Syntax, initializerInvocation) { WasCompilerGenerated = method.IsImplicitlyDeclared };
FlowAnalysis\FlowAnalysisPass.cs (1)
86block = new BoundBlock(block.Syntax, ImmutableArray<LocalSymbol>.Empty, newStatements) { WasCompilerGenerated = true };
Lowering\ClosureConversion\ClosureConversion.cs (2)
296body = new BoundBlock(body.Syntax, _addedLocals.ToImmutableAndFree(), _addedStatements.ToImmutableAndFree()) { WasCompilerGenerated = true }; 1244prologueBuilder.Add(new BoundExpressionStatement(p.Syntax, p) { WasCompilerGenerated = true });
Lowering\InitializerRewriter.cs (3)
107{ WasCompilerGenerated = true }) 108{ WasCompilerGenerated = !fieldInit.Locals.IsEmpty || fieldInit.WasCompilerGenerated }; 112boundStatement = new BoundBlock(syntax, fieldInit.Locals, ImmutableArray.Create(boundStatement)) { WasCompilerGenerated = fieldInit.WasCompilerGenerated };
Lowering\Instrumentation\DebugInfoInjector_SequencePoints.cs (2)
24result.WasCompilerGenerated = rewrittenStatement.WasCompilerGenerated; 36result.WasCompilerGenerated = rewrittenStatement.WasCompilerGenerated;
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
146access.WasCompilerGenerated = true;
Lowering\LocalRewriter\LocalRewriter_Await.cs (1)
24return RewriteAwaitExpression(new BoundAwaitExpression(syntax, rewrittenExpression, awaitableInfo, type) { WasCompilerGenerated = true }, used);
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (1)
747WasCompilerGenerated = true
Lowering\LocalRewriter\LocalRewriter_Call.cs (4)
723receiverType) { WasCompilerGenerated = true }, 1326new BoundArrayInitialization(syntax, isInferred: false, arrayArgs) { WasCompilerGenerated = true }, 1328{ WasCompilerGenerated = true }; 1342return new BoundLiteral(syntax, constantValue, type, constantValue.IsBad) { WasCompilerGenerated = true };
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
1218return new BoundReadOnlySpanFromArray(syntax, rewrittenOperand, conversion.Method, rewrittenType) { WasCompilerGenerated = true };
Lowering\LocalRewriter\LocalRewriter_DeconstructionAssignmentOperator.cs (1)
393{ WasCompilerGenerated = true };
Lowering\LocalRewriter\LocalRewriter_Event.cs (1)
237{ WasCompilerGenerated = true };
Lowering\LocalRewriter\LocalRewriter_StringInterpolation.cs (1)
331result = new BoundNullCoalescingOperator(result.Syntax, result, _factory.StringLiteral(""), leftPlaceholder: placeholder, leftConversion: placeholder, BoundNullCoalescingOperatorResultKind.LeftType, @checked: false, result.Type) { WasCompilerGenerated = true };
Lowering\LocalRewriter\LoweredDynamicOperation.cs (1)
75return new BoundSequence(_factory.Syntax, _temps, ImmutableArray.Create(SiteInitialization), SiteInvocation, _resultType) { WasCompilerGenerated = true };
Lowering\SpillSequenceSpiller.cs (3)
163AddStatement(new BoundExpressionStatement(expression.Syntax, expression) { WasCompilerGenerated = true }); 297var result = new BoundBlock(statement.Syntax, builder.GetLocals(), builder.GetStatements()) { WasCompilerGenerated = true }; 987receiverBuilder.AddStatement(_F.ExpressionStatement(new BoundComplexConditionalReceiver(node.Syntax, cache, _F.Sequence(new[] { _F.AssignmentExpression(cache, receiver) }, cache), receiverType) { WasCompilerGenerated = true }));
Lowering\SyntheticBoundNodeFactory.cs (62)
264return new BoundThisReference(Syntax, CurrentFunction.ThisParameter.Type) { WasCompilerGenerated = true }; 275return new BoundBaseReference(Syntax, baseType) { WasCompilerGenerated = true }; 285return new BoundParameter(Syntax, p, p.Type) { WasCompilerGenerated = true }; 290return new BoundFieldAccess(Syntax, receiver, f, ConstantValue.NotAvailable, LookupResultKind.Viable, f.Type) { WasCompilerGenerated = true }; 428return new BoundExpressionStatement(Syntax, expr) { WasCompilerGenerated = true }; 449var assignment = new BoundAssignmentOperator(syntax, left, right, isRef, type, hasErrors) { WasCompilerGenerated = wasCompilerGenerated }; 478return new BoundBlock(Syntax, locals, statements) { WasCompilerGenerated = true }; 488return new BoundBlock(Syntax, locals, localFunctions, hasUnsafeModifier: false, instrumentation: null, statements) { WasCompilerGenerated = true }; 493return new BoundExtractedFinallyBlock(Syntax, finallyBlock) { WasCompilerGenerated = true }; 503return new BoundStatementList(Syntax, statements) { WasCompilerGenerated = true }; 508return new BoundStatementList(Syntax, ImmutableArray.Create(first, second)) { WasCompilerGenerated = true }; 534return new BoundReturnStatement(Syntax, CurrentFunction.RefKind, expression, @checked: false) { WasCompilerGenerated = true }; 599return new BoundBinaryOperator(this.Syntax, kind, ConstantValue.NotAvailable, methodOpt: null, constrainedToTypeOpt: null, LookupResultKind.Viable, left, right, type) { WasCompilerGenerated = true }; 604return new BoundAsOperator(this.Syntax, operand, Type(type), operandPlaceholder: null, operandConversion: null, type) { WasCompilerGenerated = true }; 613return new BoundIsOperator(this.Syntax, operand, Type(type), c.Kind, SpecialType(Microsoft.CodeAnalysis.SpecialType.System_Boolean)) { WasCompilerGenerated = true }; 672return new BoundLiteral(Syntax, ConstantValue.Create(value), SpecialType(Microsoft.CodeAnalysis.SpecialType.System_Byte)) { WasCompilerGenerated = true }; 677return new BoundLiteral(Syntax, ConstantValue.Create(value), SpecialType(Microsoft.CodeAnalysis.SpecialType.System_Int32)) { WasCompilerGenerated = true }; 685return new BoundLiteral(Syntax, ConstantValue.Create(value), SpecialType(Microsoft.CodeAnalysis.SpecialType.System_UInt32)) { WasCompilerGenerated = true }; 690return new BoundLiteral(Syntax, value, type) { WasCompilerGenerated = true }; 709=> new BoundObjectCreationExpression(Syntax, ctor, args) { WasCompilerGenerated = true }; 714return new BoundObjectCreationExpression(Syntax, ctor, args) { WasCompilerGenerated = true }; 818{ WasCompilerGenerated = true }; 828{ WasCompilerGenerated = true }; 833return new BoundConditionalOperator(Syntax, isRef, condition, consequence, alternative, constantValueOpt: null, type, wasTargetTyped: false, type) { WasCompilerGenerated = true }; 840return new BoundComplexConditionalReceiver(Syntax, valueTypeReceiver, referenceTypeReceiver, valueTypeReceiver.Type) { WasCompilerGenerated = true }; 848return new BoundNullCoalescingOperator(Syntax, left, right, leftPlaceholder: null, leftConversion: null, BoundNullCoalescingOperatorResultKind.LeftType, @checked: false, left.Type) { WasCompilerGenerated = true }; 858return new BoundConditionalGoto(Syntax, condition, jumpIfTrue, label) { WasCompilerGenerated = true }; 914return new BoundThrowStatement(Syntax, e) { WasCompilerGenerated = true }; 919return new BoundLocal(Syntax, local, null, local.Type) { WasCompilerGenerated = true }; 958return new BoundSequence(Syntax, ImmutableArray<LocalSymbol>.Empty, sideEffects.AsImmutableOrNull(), result, resultType) { WasCompilerGenerated = true }; 967: new BoundSequence(Syntax, locals, sideEffects, result, result.Type) { WasCompilerGenerated = true }; 973return new BoundSpillSequence(Syntax, locals, sideEffects, result, result.Type) { WasCompilerGenerated = true }; 1030statements[0] = new BoundSwitchDispatch(Syntax, ex, caseBuilder.ToImmutableAndFree(), breakLabel, lengthBasedStringSwitchDataOpt: null) { WasCompilerGenerated = true }; 1054return new BoundGotoStatement(Syntax, label) { WasCompilerGenerated = true }; 1059return new BoundLabelStatement(Syntax, label) { WasCompilerGenerated = true }; 1064return new BoundLiteral(Syntax, ConstantValue.Create(value), SpecialType(Microsoft.CodeAnalysis.SpecialType.System_Boolean)) { WasCompilerGenerated = true }; 1076return new BoundLiteral(Syntax, stringConst, SpecialType(Microsoft.CodeAnalysis.SpecialType.System_String)) { WasCompilerGenerated = true }; 1087return new BoundLiteral(Syntax, charConst, SpecialType(Microsoft.CodeAnalysis.SpecialType.System_Char)) { WasCompilerGenerated = true }; 1126return new BoundExpressionStatement(Syntax, Call(Base(baseType), ctor)) { WasCompilerGenerated = true }; 1151return new BoundThrowExpression(thrown.Syntax, thrown, type) { WasCompilerGenerated = true }; 1169BoundExpression nullLiteral = new BoundLiteral(syntax, ConstantValue.Null, type) { WasCompilerGenerated = true }; 1177return new BoundTypeExpression(Syntax, null, type) { WasCompilerGenerated = true }; 1192{ WasCompilerGenerated = true }; 1213return new BoundSizeOfOperator(Syntax, Type(type), Binder.GetConstantSizeOf(type), SpecialType(Microsoft.CodeAnalysis.SpecialType.System_Int32)) { WasCompilerGenerated = true }; 1223{ WasCompilerGenerated = true }; 1232{ WasCompilerGenerated = true }; 1242{ WasCompilerGenerated = true }; 1252{ WasCompilerGenerated = true }; 1260{ WasCompilerGenerated = true }; 1269return new BoundModuleVersionId(Syntax, WellKnownType(Microsoft.CodeAnalysis.WellKnownType.System_Guid)) { WasCompilerGenerated = true }; 1274return new BoundModuleVersionIdString(Syntax, SpecialType(Microsoft.CodeAnalysis.SpecialType.System_String)) { WasCompilerGenerated = true }; 1279return new BoundInstrumentationPayloadRoot(Syntax, analysisKind, payloadType) { WasCompilerGenerated = true }; 1287{ WasCompilerGenerated = true }; 1299{ WasCompilerGenerated = true }; 1318{ WasCompilerGenerated = true }; 1328{ WasCompilerGenerated = true }; 1392return new BoundConversion(Syntax, arg, conversion, @checked: isChecked, explicitCastInCode: true, conversionGroupOpt: null, null, type) { WasCompilerGenerated = true }; 1427new BoundArrayInitialization(Syntax, isInferred: false, elements) { WasCompilerGenerated = true }, 1438{ WasCompilerGenerated = true }; 1448return new BoundDefaultExpression(syntax, type) { WasCompilerGenerated = true }; 1457return new BoundTryStatement(Syntax, tryBlock, catchBlocks, finallyBlock, finallyLabel) { WasCompilerGenerated = true }; 1599return new BoundLocal(node.Syntax, temp, constantValueOpt: null, type: node.Type) { WasCompilerGenerated = true };
Symbols\ReducedExtensionMethodSymbol.cs (2)
139var thisArgumentValue = new BoundLiteral(syntax, ConstantValue.Bad, thisType) { WasCompilerGenerated = true }; 141var otherArgumentValue = new BoundLiteral(syntax, ConstantValue.Bad, otherArgumentType) { WasCompilerGenerated = true };
Symbols\Synthesized\SynthesizedEntryPointSymbol.cs (20)
307{ WasCompilerGenerated = true }; 358{ WasCompilerGenerated = true }; 395{ WasCompilerGenerated = true }, 402{ WasCompilerGenerated = true } 405{ WasCompilerGenerated = true }; 422{ WasCompilerGenerated = true }; 474{ WasCompilerGenerated = true }; 500{ WasCompilerGenerated = true }, 502{ WasCompilerGenerated = true }) 503{ WasCompilerGenerated = true }, 505new BoundExpressionStatement(syntax, getAwaiterGetResultCall) { WasCompilerGenerated = true }, 512{ WasCompilerGenerated = true })) 513{ WasCompilerGenerated = true }; 560var submissionArrayParameter = new BoundParameter(syntax, _parameters[0]) { WasCompilerGenerated = true }; 566{ WasCompilerGenerated = true }; 586{ WasCompilerGenerated = true }, 588{ WasCompilerGenerated = true }) 589{ WasCompilerGenerated = true }; 602{ WasCompilerGenerated = true }; 607{ WasCompilerGenerated = true };
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler (13)
CompilationContext.cs (8)
375return new BoundReturnStatement(syntax, RefKind.None, expression, @checked: false) { WasCompilerGenerated = true }; 634return new BoundReturnStatement(syntax, RefKind.None, expression, @checked: false) { WasCompilerGenerated = true }; 647return new BoundReturnStatement(syntax, RefKind.None, expression, @checked: false) { WasCompilerGenerated = true }; 659return new BoundReturnStatement(syntax, RefKind.None, expression, @checked: false) { WasCompilerGenerated = true }; 671var statement = new BoundReturnStatement(syntax, RefKind.None, expression, @checked: false) { WasCompilerGenerated = true }; 729return new BoundExpressionStatement(syntax, expression) { WasCompilerGenerated = true }; 742return new BoundReturnStatement(syntax, RefKind.None, expression, @checked: false) { WasCompilerGenerated = true }; 776return new BoundExpressionStatement(expression.Syntax, expression) { WasCompilerGenerated = true };
Rewriters\CapturedVariableRewriter.cs (1)
109{ WasCompilerGenerated = true };
Symbols\DisplayClassInstance.cs (2)
70return new BoundLocal(syntax, this.Local, constantValueOpt: null, type: this.Local.Type) { WasCompilerGenerated = true }; 112return new BoundParameter(syntax, this.Parameter) { WasCompilerGenerated = true };
Symbols\DisplayClassVariable.cs (1)
71expr = new BoundFieldAccess(syntax, expr, field, constantValueOpt: null) { WasCompilerGenerated = true };
Symbols\EEMethodSymbol.cs (1)
574body = new BoundBlock(syntax, localsBuilder.ToImmutableAndFree(), statementsBuilder.ToImmutableAndFree()) { WasCompilerGenerated = true };
238 references to WasCompilerGenerated
Microsoft.CodeAnalysis.CSharp (238)
Binder\Binder_Conversions.cs (7)
48return CreateConversion(syntax, source, conversion, isCast: isCast, conversionGroupOpt, source.WasCompilerGenerated, destination, diagnostics); 506{ WasCompilerGenerated = source.WasCompilerGenerated }; 640finalConversion.ResetCompilerGenerated(source.WasCompilerGenerated); 672expr = new BoundConversion(syntax, source, conversion, @checked: false, explicitCastInCode: isCast, conversionGroup, constantValueOpt: ConstantValue.NotAvailable, type: delegateType, hasErrors: true) { WasCompilerGenerated = source.WasCompilerGenerated }; 717{ WasCompilerGenerated = source.WasCompilerGenerated }; 736return new BoundConversion(syntax, group, conversion, @checked: false, explicitCastInCode: isCast, conversionGroup, constantValueOpt: ConstantValue.NotAvailable, type: destination, hasErrors: hasErrors) { WasCompilerGenerated = group.WasCompilerGenerated }; 1259if (!receiverOpt.WasCompilerGenerated) return false;
Binder\Binder_Expressions.cs (6)
2339return BindCastCore(node, operand, targetTypeWithAnnotations, wasCompilerGenerated: operand.WasCompilerGenerated, diagnostics: diagnostics); 2674return BindCastCore(node, operand, targetTypeWithAnnotations, wasCompilerGenerated: operand.WasCompilerGenerated, diagnostics: diagnostics); 2690return BindCastCore(node, underlyingExpr, targetTypeWithAnnotations, wasCompilerGenerated: operand.WasCompilerGenerated, diagnostics: diagnostics); 2695var result = BindCastCore(node, operand, targetTypeWithAnnotations, wasCompilerGenerated: operand.WasCompilerGenerated, diagnostics: bag2); 8493if (!gotError && receiver != null && receiver.Kind == BoundKind.ThisReference && receiver.WasCompilerGenerated) 9120case BoundThisReference { WasCompilerGenerated: true }:
Binder\Binder_Invocation.cs (3)
332if ((InConstructorInitializer || InFieldInitializer) && receiver.WasCompilerGenerated) 1084if (invokedAsExtensionMethod || (!method.RequiresInstanceReceiver && receiver != null && receiver.WasCompilerGenerated)) 1093if (!gotError && method.RequiresInstanceReceiver && receiver != null && receiver.Kind == BoundKind.ThisReference && receiver.WasCompilerGenerated)
Binder\Binder_Statements.cs (2)
150Debug.Assert(result.WasCompilerGenerated == false || 153block.Statements.Single().WasCompilerGenerated == false), "Synthetic node would not get cached");
BoundTree\BoundExpression.cs (1)
74return !WasCompilerGenerated;
BoundTree\BoundNode.cs (1)
148this.WasCompilerGenerated = original.WasCompilerGenerated;
BoundTree\Formatting.cs (1)
155=> (Type is null) ? FormattableStringFactory.Create("stackalloc {0}[{1}]", ElementType, Count.WasCompilerGenerated ? null : Count.Syntax.ToString()) : base.Display;
BoundTree\UnboundLambda.cs (3)
836{ WasCompilerGenerated = _unboundLambda.WasCompilerGenerated }; 938{ WasCompilerGenerated = _unboundLambda.WasCompilerGenerated }; 1196{ WasCompilerGenerated = _unboundLambda.WasCompilerGenerated };
CodeGen\EmitStatement.cs (1)
832return boundReturnStatement.WasCompilerGenerated &&
CodeGen\Optimizer.cs (1)
1403return node.Update(node.IsRef, condition, consequence, alternative, node.ConstantValueOpt, node.NaturalTypeOpt, node.WasCompilerGenerated, node.Type);
Compilation\MemberSemanticModel.cs (2)
2406if (statement.WasCompilerGenerated && node.SyntaxTree == _semanticModel.SyntaxTree) 2425Debug.Assert(!block.WasCompilerGenerated);
Compilation\MemberSemanticModel.NodeMapBuilder.cs (1)
240if (currentBoundNode.WasCompilerGenerated)
FlowAnalysis\AbstractFlowPass_LocalFunctions.cs (2)
86if (!localFunc.WasCompilerGenerated) EnterParameters(localFuncSymbol.Parameters); 129branch?.WasCompilerGenerated == false ? null : location);
FlowAnalysis\ControlFlowPass.cs (1)
265!statement.WasCompilerGenerated &&
FlowAnalysis\DataFlowsInWalker.cs (2)
85if (!gotoStmt.WasCompilerGenerated && !targetStmt.WasCompilerGenerated && !RegionContains(gotoStmt.Syntax.Span) && RegionContains(targetStmt.Syntax.Span))
FlowAnalysis\DefiniteAssignment.cs (3)
320node.WasCompilerGenerated, "expressions should have been converted"); 2273if (!node.WasCompilerGenerated) EnterParameters(node.Symbol.Parameters); 2313if (!node.WasCompilerGenerated)
FlowAnalysis\EntryPointsWalker.cs (2)
61if (!gotoStmt.WasCompilerGenerated && !targetStmt.WasCompilerGenerated && RegionContains(targetStmt.Syntax.Span) && !RegionContains(gotoStmt.Syntax.Span))
FlowAnalysis\FlowAnalysisPass.cs (1)
174Debug.Assert(body.WasCompilerGenerated ||
FlowAnalysis\NullableWalker.cs (4)
2245(value.WasCompilerGenerated && assignmentKind == AssignmentKind.Argument && value.Kind != BoundKind.InterpolatedStringArgumentPlaceholder) || 6639if (boundValueOpt is { WasCompilerGenerated: true }) 10690Debug.Assert(node.WasCompilerGenerated); 10698Debug.Assert(node.WasCompilerGenerated);
FlowAnalysis\NullableWalker.SnapshotManager.cs (2)
109if (node.Kind == BoundKind.TypeExpression || node.WasCompilerGenerated) 213if (node == null || node.WasCompilerGenerated)
FlowAnalysis\VariablesDeclaredWalker.cs (2)
102if (IsInside && !node.WasCompilerGenerated) 115if (IsInside && !node.WasCompilerGenerated)
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (1)
368Debug.Assert(node.Syntax.IsKind(SyntaxKind.AwaitExpression) || node.WasCompilerGenerated);
Lowering\InitializerRewriter.cs (2)
108{ WasCompilerGenerated = !fieldInit.Locals.IsEmpty || fieldInit.WasCompilerGenerated }; 112boundStatement = new BoundBlock(syntax, fieldInit.Locals, ImmutableArray.Create(boundStatement)) { WasCompilerGenerated = fieldInit.WasCompilerGenerated };
Lowering\Instrumentation\CodeCoverageInstrumenter.cs (2)
413if (returnStatement.WasCompilerGenerated && 457if (!original.WasCompilerGenerated)
Lowering\Instrumentation\DebugInfoInjector.cs (4)
131if (original.WasCompilerGenerated && original.Syntax.Kind() == SyntaxKind.Block) 152if (original.Syntax is BlockSyntax blockSyntax && !original.WasCompilerGenerated) 361if (original.WasCompilerGenerated && original.ExpressionOpt == null && original.Syntax.Kind() == SyntaxKind.Block) 419if (original.WasCompilerGenerated || rewrittenFilter is null)
Lowering\Instrumentation\DebugInfoInjector_SequencePoints.cs (2)
24result.WasCompilerGenerated = rewrittenStatement.WasCompilerGenerated; 36result.WasCompilerGenerated = rewrittenStatement.WasCompilerGenerated;
Lowering\Instrumentation\Instrumenter.cs (17)
38Debug.Assert(!original.WasCompilerGenerated); 49Debug.Assert(!original.WasCompilerGenerated || original.Syntax.Kind() == SyntaxKind.Block); 113Debug.Assert(!original.WasCompilerGenerated); 121Debug.Assert(!original.WasCompilerGenerated); 129Debug.Assert(!original.WasCompilerGenerated); 136Debug.Assert(!original.WasCompilerGenerated); 144Debug.Assert(!original.WasCompilerGenerated); 157Debug.Assert(!original.WasCompilerGenerated); 164Debug.Assert(!original.WasCompilerGenerated); 171Debug.Assert(!original.WasCompilerGenerated); 178Debug.Assert(!original.WasCompilerGenerated); 185Debug.Assert(!original.WasCompilerGenerated); 199Debug.Assert(!original.WasCompilerGenerated); 243Debug.Assert(!original.WasCompilerGenerated); 266Debug.Assert(!original.WasCompilerGenerated); 273Debug.Assert(!original.WasCompilerGenerated); 293Debug.Assert(!original.WasCompilerGenerated);
Lowering\Instrumentation\LocalStateTracingInstrumenter.cs (1)
513if (original.WasCompilerGenerated)
Lowering\LocalRewriter\LocalRewriter.cs (1)
676if (Instrument && !original.WasCompilerGenerated)
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (1)
1129if (GenerateInstrumentation && !whenExpression.WasCompilerGenerated)
Lowering\LocalRewriter\LocalRewriter_Block.cs (1)
104return (node.WasCompilerGenerated || !this.Instrument)
Lowering\LocalRewriter\LocalRewriter_BreakStatement.cs (1)
16if (this.Instrument && !node.WasCompilerGenerated)
Lowering\LocalRewriter\LocalRewriter_ContinueStatement.cs (1)
16if (this.Instrument && !node.WasCompilerGenerated)
Lowering\LocalRewriter\LocalRewriter_DoStatement.cs (2)
28if (!node.WasCompilerGenerated && this.Instrument) 35if (!node.WasCompilerGenerated && this.Instrument)
Lowering\LocalRewriter\LocalRewriter_ExpressionStatement.cs (1)
32if (!suppressInstrumentation && this.Instrument && !node.WasCompilerGenerated)
Lowering\LocalRewriter\LocalRewriter_GotoStatement.cs (1)
25if (this.Instrument && !node.WasCompilerGenerated)
Lowering\LocalRewriter\LocalRewriter_IfStatement.cs (2)
27if (this.Instrument && !node.WasCompilerGenerated) 35if (this.Instrument && !node.WasCompilerGenerated)
Lowering\LocalRewriter\LocalRewriter_LocalDeclaration.cs (1)
76if (this.Instrument && originalOpt?.WasCompilerGenerated == false && !localSymbol.IsConst &&
Lowering\LocalRewriter\LocalRewriter_PatternSwitchStatement.cs (2)
67generateInstrumentation: localRewriter.Instrument && !node.WasCompilerGenerated) 77if (!node.WasCompilerGenerated && _localRewriter.Instrument)
Lowering\LocalRewriter\LocalRewriter_ReturnStatement.cs (1)
26(!node.WasCompilerGenerated ||
Lowering\LocalRewriter\LocalRewriter_SwitchExpression.cs (1)
31generateInstrumentation: !node.WasCompilerGenerated && localRewriter.Instrument)
Lowering\LocalRewriter\LocalRewriter_ThrowStatement.cs (1)
12if (this.Instrument && !node.WasCompilerGenerated)
Lowering\LocalRewriter\LocalRewriter_WhileStatement.cs (3)
26if (!node.WasCompilerGenerated && this.Instrument) 70if (this.Instrument && !loop.WasCompilerGenerated) 135if (this.Instrument && !loop.WasCompilerGenerated)
Lowering\LocalRewriter\LocalRewriter_Yield.cs (2)
21(!node.WasCompilerGenerated || (node.Syntax.Kind() == SyntaxKind.Block && _factory.CurrentFunction?.IsAsync == false))) 32if (this.Instrument && !node.WasCompilerGenerated)
Operations\CSharpOperationFactory.cs (133)
305bool isImplicit = boundNode.WasCompilerGenerated; 355isImplicit: boundNode.WasCompilerGenerated); 367isImplicit: boundNode.WasCompilerGenerated); 421bool isImplicit = boundDeconstructValuePlaceholder.WasCompilerGenerated; 433bool isImplicit = boundDeconstructionAssignmentOperator.WasCompilerGenerated; 443bool isImplicit = boundCall.WasCompilerGenerated; 473bool isImplicit = boundFunctionPointerInvocation.WasCompilerGenerated; 493boundUnconvertedAddressOf.WasCompilerGenerated); 498var isAttributeImplicit = boundAttribute.WasCompilerGenerated; 556bool isImplicit = boundLocal.WasCompilerGenerated; 576bool isImplicit = boundFieldAccess.WasCompilerGenerated; 616bool isImplicit = boundPropertyAccess.WasCompilerGenerated; 626bool isImplicit = boundIndexerAccess.WasCompilerGenerated; 646bool isImplicit = boundEventAccess.WasCompilerGenerated; 658bool isImplicit = boundEventAssignmentOperator.WasCompilerGenerated; 667bool isImplicit = boundParameter.WasCompilerGenerated; 676bool isImplicit = boundLiteral.WasCompilerGenerated || @implicit; 684bool isImplicit = boundNode.WasCompilerGenerated; 693bool isImplicit = boundAnonymousObjectCreationExpression.WasCompilerGenerated; 704bool isImplicit = boundObjectCreationExpression.WasCompilerGenerated; 740bool isImplicit = boundWithExpression.WasCompilerGenerated; 752bool isImplicit = boundDynamicObjectCreationExpression.WasCompilerGenerated; 766methodGroup.Syntax, methodGroup.GetPublicTypeSymbol(), methodGroup.WasCompilerGenerated); 781bool isImplicit = boundDynamicInvocation.WasCompilerGenerated; 823bool isImplicit = boundDynamicIndexerAccess.WasCompilerGenerated; 832bool isImplicit = boundObjectInitializerExpression.WasCompilerGenerated; 841bool isImplicit = boundCollectionInitializerExpression.WasCompilerGenerated; 850bool isImplicit = boundObjectInitializerMember.WasCompilerGenerated; 912bool isImplicit = boundDynamicObjectInitializerMember.WasCompilerGenerated; 925bool isImplicit = boundCollectionElementInitializer.WasCompilerGenerated; 940boundDynamicMemberAccess.Syntax, boundDynamicMemberAccess.GetPublicTypeSymbol(), boundDynamicMemberAccess.WasCompilerGenerated); 974bool isImplicit = boundCollectionElementInitializer.WasCompilerGenerated; 993bool isImplicit = boundLambda.WasCompilerGenerated; 1005bool isImplicit = boundLocalFunctionStatement.WasCompilerGenerated; 1012bool isImplicit = boundConversion.WasCompilerGenerated || !boundConversion.ExplicitCastInCode || forceOperandImplicitLiteral; 1033_semanticModel, syntax, type, boundConversion.WasCompilerGenerated); 1141bool isImplicit = boundAsOperator.WasCompilerGenerated; 1150bool isImplicit = boundDelegateCreationExpression.WasCompilerGenerated; 1161bool isImplicit = boundMethodGroup.WasCompilerGenerated; 1173bool isImplicit = boundIsOperator.WasCompilerGenerated; 1184bool isImplicit = boundSizeOfOperator.WasCompilerGenerated; 1194bool isImplicit = boundTypeOfOperator.WasCompilerGenerated; 1204bool isImplicit = boundArrayCreation.WasCompilerGenerated || 1205(boundArrayCreation.InitializerOpt?.Syntax == syntax && !boundArrayCreation.InitializerOpt.WasCompilerGenerated); 1213bool isImplicit = boundArrayInitialization.WasCompilerGenerated; 1221bool isImplicit = boundDefaultLiteral.WasCompilerGenerated; 1230bool isImplicit = boundDefaultExpression.WasCompilerGenerated; 1239bool isImplicit = boundBaseReference.WasCompilerGenerated; 1248bool isImplicit = boundThisReference.WasCompilerGenerated; 1273bool isImplicit = boundAssignmentOperator.WasCompilerGenerated; 1284bool isImplicit = boundAssignmentOperator.WasCompilerGenerated; 1301bool isImplicit = boundCompoundAssignmentOperator.WasCompilerGenerated; 1328bool isImplicit = boundIncrementOperator.WasCompilerGenerated; 1341bool isImplicit = boundBadExpression.WasCompilerGenerated || boundBadExpression.ChildBoundNodes.Any(static (e, boundBadExpression) => e?.Syntax == boundBadExpression.Syntax, boundBadExpression); 1351bool isImplicit = boundNewT.WasCompilerGenerated; 1360bool isImplicit = creation.WasCompilerGenerated; 1374bool isImplicit = boundUnaryOperator.WasCompilerGenerated; 1429bool isImplicit = boundBinaryOperator.WasCompilerGenerated; 1461bool isImplicit = boundBinaryOperator.WasCompilerGenerated; 1501bool isImplicit = boundTupleBinaryOperator.WasCompilerGenerated; 1514bool isImplicit = boundConditionalOperator.WasCompilerGenerated; 1525bool isImplicit = boundNullCoalescingOperator.WasCompilerGenerated; 1543bool isImplicit = boundNode.WasCompilerGenerated; 1553bool isImplicit = boundAwaitExpression.WasCompilerGenerated; 1563bool isImplicit = boundArrayAccess.WasCompilerGenerated; 1574bool isImplicit = boundIndexerAccess.WasCompilerGenerated; 1596bool isImplicit = boundNameOfOperator.WasCompilerGenerated; 1605bool isImplicit = boundThrowExpression.WasCompilerGenerated; 1614bool isImplicit = boundAddressOfOperator.WasCompilerGenerated; 1623bool isImplicit = boundImplicitReceiver.WasCompilerGenerated; 1633bool isImplicit = boundConditionalAccess.WasCompilerGenerated; 1642bool isImplicit = boundConditionalReceiver.WasCompilerGenerated; 1651bool isImplicit = boundFieldEqualsValue.WasCompilerGenerated; 1660bool isImplicit = boundPropertyEqualsValue.WasCompilerGenerated; 1669bool isImplicit = boundParameterEqualsValue.WasCompilerGenerated; 1678bool isImplicit = boundBlock.WasCompilerGenerated; 1687bool isImplicit = boundContinueStatement.WasCompilerGenerated; 1696bool isImplicit = boundBreakStatement.WasCompilerGenerated; 1704bool isImplicit = boundYieldBreakStatement.WasCompilerGenerated; 1713bool isImplicit = boundGotoStatement.WasCompilerGenerated; 1720bool isImplicit = boundNoOpStatement.WasCompilerGenerated; 1733bool isImplicit = boundIfStatement.WasCompilerGenerated; 1747bool isImplicit = boundWhileStatement.WasCompilerGenerated; 1761bool isImplicit = boundDoStatement.WasCompilerGenerated; 1776bool isImplicit = boundForStatement.WasCompilerGenerated; 1879bool isImplicit = boundForEachStatement.WasCompilerGenerated; 1890bool isImplicit = boundTryStatement.WasCompilerGenerated; 1904bool isImplicit = boundCatchBlock.WasCompilerGenerated; 1914bool isImplicit = boundFixedStatement.WasCompilerGenerated; 1932bool isImplicit = boundUsingStatement.WasCompilerGenerated; 1941bool isImplicit = boundThrowStatement.WasCompilerGenerated; 1949bool isImplicit = boundReturnStatement.WasCompilerGenerated; 1957bool isImplicit = boundYieldReturnStatement.WasCompilerGenerated; 1973bool isImplicit = boundLockStatement.WasCompilerGenerated; 1983bool isImplicit = boundBadStatement.WasCompilerGenerated || boundBadStatement.ChildBoundNodes.Any(static (e, boundBadStatement) => e?.Syntax == boundBadStatement.Syntax, boundBadStatement); 2029bool multiVariableImplicit = boundLocalDeclaration.WasCompilerGenerated; 2035bool isImplicit = (varStatement == varDeclaration) || boundLocalDeclaration.WasCompilerGenerated; 2049bool declarationIsImplicit = boundMultipleLocalDeclarations.WasCompilerGenerated; 2057bool isImplicit = declarationGroupSyntax == declarationSyntax || boundMultipleLocalDeclarations.WasCompilerGenerated || boundMultipleLocalDeclarations is BoundUsingLocalDeclarations; 2072isImplicit: boundMultipleLocalDeclarations.WasCompilerGenerated); 2082bool isImplicit = boundLabelStatement.WasCompilerGenerated; 2091bool isImplicit = boundLabeledStatement.WasCompilerGenerated; 2100bool isImplicit = boundExpressionStatement.WasCompilerGenerated || boundExpressionStatement.Syntax == boundExpressionStatement.Expression.Syntax; 2118bool isImplicit = boundTupleExpression.WasCompilerGenerated; 2150bool isImplicit = boundInterpolatedString.WasCompilerGenerated; 2288bool isImplicit = boundStringInsert.WasCompilerGenerated; 2296bool isImplicit = boundNode.WasCompilerGenerated; 2307var isImplicit = conversion.WasCompilerGenerated || !conversion.ExplicitCastInCode; 2325return new InterpolatedStringAdditionOperation(left, right, _semanticModel, current.Syntax, current.WasCompilerGenerated); 2356isImplicit: interpolatedString.WasCompilerGenerated); 2395isImplicit: placeholder.WasCompilerGenerated); 2402bool isImplicit = boundConstantPattern.WasCompilerGenerated; 2413bool isImplicit = boundRelationalPattern.WasCompilerGenerated; 2432bool isImplicit = boundDeclarationPattern.WasCompilerGenerated; 2455isImplicit: boundRecursivePattern.WasCompilerGenerated); 2474isImplicit: boundITuplePattern.WasCompilerGenerated); 2485isImplicit: boundTypePattern.WasCompilerGenerated); 2498isImplicit: boundNode.WasCompilerGenerated); 2512isImplicit: boundNode.WasCompilerGenerated); 2523isImplicit: boundNegatedPattern.WasCompilerGenerated); 2536isImplicit: boundBinaryPattern.WasCompilerGenerated); 2546bool isImplicit = boundSwitchStatement.WasCompilerGenerated; 2556return new SwitchCaseOperation(clauses, body, locals, condition: null, _semanticModel, boundSwitchSection.Syntax, isImplicit: boundSwitchSection.WasCompilerGenerated); 2582boundSwitchExpression.WasCompilerGenerated); 2597boundSwitchExpressionArm.WasCompilerGenerated); 2603bool isImplicit = boundSwitchLabel.WasCompilerGenerated; 2632bool isImplicit = boundIsPatternExpression.WasCompilerGenerated; 2647bool isImplicit = boundQueryClause.WasCompilerGenerated; 2664isImplicit: boundNode.WasCompilerGenerated); 2680isImplicit: boundIndex.WasCompilerGenerated); 2694isImplicit: boundRange.WasCompilerGenerated); 2704isImplicit: boundNode.WasCompilerGenerated); 2791bool isImplicit = placeholder.WasCompilerGenerated;
Operations\CSharpOperationFactory_Methods.cs (5)
40(SyntaxNode syntax, bool isImplicit) = expression.Syntax is { Parent: ArgumentSyntax or AttributeArgumentSyntax } ? (expression.Syntax.Parent, expression.WasCompilerGenerated) : (value.Syntax, true); 106if (symbol != null && symbol.IsStatic && instance.WasCompilerGenerated && instance.Kind == BoundKind.ThisReference) 135bool isImplicit = boundEventAssignmentOperator.WasCompilerGenerated; 312&& (!receiverOpt.WasCompilerGenerated 380anonymousProperty.WasCompilerGenerated);
Symbols\Source\LambdaSymbol.cs (1)
62_isSynthesized = unboundLambda.WasCompilerGenerated;