279 writes to WasCompilerGenerated
Microsoft.CodeAnalysis.CSharp (279)
Binder\Binder.cs (3)
862: new BoundSequence(scopeDesignator, locals, ImmutableArray<BoundExpression>.Empty, expression, getType()) { WasCompilerGenerated = true }; 881{ WasCompilerGenerated = true }; 898{ 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 (1)
298{ WasCompilerGenerated = wasCompilerGenerated };
Binder\Binder_Deconstruct.cs (4)
171{ WasCompilerGenerated = true }; 314type: ErrorTypeSymbol.UnknownResultType) { WasCompilerGenerated = true })); 659memberAccess.WasCompilerGenerated = true; 674result.WasCompilerGenerated = true;
Binder\Binder_Expressions.cs (31)
179{ WasCompilerGenerated = wasCompilerGenerated }; 2326return new BoundPreviousSubmissionReference(syntax, memberDeclaringType) { WasCompilerGenerated = true }; 2334return new BoundHostObjectMemberReference(syntax, hostObjectType) { WasCompilerGenerated = true }; 2471return new BoundThisReference(node, thisTypeOpt ?? CreateErrorType(), hasErrors) { WasCompilerGenerated = wasCompilerGenerated }; 2904underlyingExpr.WasCompilerGenerated = true; 3878{ WasCompilerGenerated = true }.WithSuppression(isSuppressed))); 4420{ WasCompilerGenerated = true }; 4432WasCompilerGenerated = !hasCreationSyntax && 4645{ WasCompilerGenerated = true }; 5034{ WasCompilerGenerated = initializerArgumentListOpt == null }; 5048result.WasCompilerGenerated = initializerArgumentListOpt == null; 5257lengthOrCount = new BoundLiteral(expression.Syntax, ConstantValue.Create(length), @this.GetSpecialType(SpecialType.System_Int32, diagnostics, expression.Syntax)) { WasCompilerGenerated = true }; 5512creation.WasCompilerGenerated = true; 5550return new BoundBadExpression(node, LookupResultKind.NotCreatable, ImmutableArray.Create<Symbol?>(type), children.ToImmutableAndFree(), type) { WasCompilerGenerated = wasCompilerGenerated }; 5563var implicitReceiver = new BoundObjectOrCollectionValuePlaceholder(typeSyntax, isForNewInstance, type) { WasCompilerGenerated = true }; 5724WasCompilerGenerated = true, 5729WasCompilerGenerated = true, 6312result.WasCompilerGenerated = true; 6480{ WasCompilerGenerated = true }; 6546iteratorBody: new BoundExpressionStatement(syntax, addMethodInvocation) { WasCompilerGenerated = true }); 7404WasCompilerGenerated = true, // don't interfere with the type info for exprSyntax. 9371var receiverPlaceholder = new BoundImplicitIndexerReceiverPlaceholder(expr.Syntax, isEquivalentToThisReference: expr.IsEquivalentToThisReference, expr.Type) { WasCompilerGenerated = true }; 9372var argumentPlaceholders = ImmutableArray.Create(new BoundImplicitIndexerValuePlaceholder(convertedArguments[0].Syntax, int32) { WasCompilerGenerated = true }); 9378lengthOrCountAccess: new BoundArrayLength(node, receiverPlaceholder, int32) { WasCompilerGenerated = true }, 9380indexerOrSliceAccess: new BoundArrayAccess(node, receiverPlaceholder, ImmutableArray<BoundExpression>.CastUp(argumentPlaceholders), resultType) { WasCompilerGenerated = true }, 9916var receiverPlaceholder = new BoundImplicitIndexerReceiverPlaceholder(receiver.Syntax, isEquivalentToThisReference: receiver.IsEquivalentToThisReference, receiver.Type) { WasCompilerGenerated = true }; 10038var intPlaceholder = new BoundImplicitIndexerValuePlaceholder(syntax, Compilation.GetSpecialType(SpecialType.System_Int32)) { WasCompilerGenerated = true }; 10109var startArgumentPlaceholder = new BoundImplicitIndexerValuePlaceholder(syntax, Compilation.GetSpecialType(SpecialType.System_Int32)) { WasCompilerGenerated = true }; 10110var lengthArgumentPlaceholder = new BoundImplicitIndexerValuePlaceholder(syntax, Compilation.GetSpecialType(SpecialType.System_Int32)) { WasCompilerGenerated = true }; 10120{ WasCompilerGenerated = true }; 11099receiver = new BoundConditionalReceiver(receiver.Syntax, 0, receiverType ?? CreateErrorType(), hasErrors: receiver.HasErrors) { WasCompilerGenerated = true };
Binder\Binder_InterpolatedString.cs (6)
344new BoundTypeExpression(syntax, null, factoryType) { WasCompilerGenerated = true }, 414expressions[0] = new BoundLiteral(syntax, ConstantValue.Create(formatString.ToStringAndFree()), GetSpecialType(Microsoft.CodeAnalysis.SpecialType.System_String, diagnostics, syntax)) { WasCompilerGenerated = true }; 651var implicitBuilderReceiver = new BoundInterpolatedStringHandlerPlaceholder(syntax, interpolatedStringHandlerType) { WasCompilerGenerated = true }; 725{ WasCompilerGenerated = true }; 820argumentsBuilder.Add(new BoundLiteral(syntax, ConstantValue.Create(baseStringLength), intType) { WasCompilerGenerated = true }); 822argumentsBuilder.Add(new BoundLiteral(syntax, ConstantValue.Create(numFormatHoles), intType) { WasCompilerGenerated = true });
Binder\Binder_Invocation.cs (22)
126boundExpression.WasCompilerGenerated = true; 153result.WasCompilerGenerated = true; 1389defaultValue = new BoundDefaultExpression(syntax, parameterType) { WasCompilerGenerated = true }; 1396var unknownArgument = new BoundDefaultExpression(syntax, parameterType) { WasCompilerGenerated = true }; 1397defaultValue = new BoundObjectCreationExpression(syntax, methodSymbol, unknownArgument) { WasCompilerGenerated = true }; 1405var dispatchArgument = new BoundDefaultExpression(syntax, parameterType) { WasCompilerGenerated = true }; 1406defaultValue = new BoundObjectCreationExpression(syntax, methodSymbol, dispatchArgument) { WasCompilerGenerated = true }; 1414defaultValue = new BoundFieldAccess(syntax, null, fieldSymbol, ConstantValue.NotAvailable) { WasCompilerGenerated = true }; 1604return new BoundDefaultExpression(syntax, parameterType) { WasCompilerGenerated = true }; 1628defaultValue = new BoundLiteral(syntax, ConstantValue.Create(line), Compilation.GetSpecialType(SpecialType.System_Int32)) { WasCompilerGenerated = true }; 1633defaultValue = new BoundLiteral(syntax, ConstantValue.Create(path), Compilation.GetSpecialType(SpecialType.System_String)) { WasCompilerGenerated = true }; 1638defaultValue = new BoundLiteral(syntax, ConstantValue.Create(memberName), Compilation.GetSpecialType(SpecialType.System_String)) { WasCompilerGenerated = true }; 1647defaultValue = new BoundLiteral(syntax, ConstantValue.Create(argument.Syntax.ToString()), Compilation.GetSpecialType(SpecialType.System_String)) { WasCompilerGenerated = true }; 1660defaultValue = new BoundDefaultExpression(syntax, parameterType) { WasCompilerGenerated = true }; 1665defaultValue = new BoundDefaultExpression(syntax, parameterType) { WasCompilerGenerated = true }; 1670defaultValue = new BoundLiteral(syntax, defaultConstantValue, constantType) { WasCompilerGenerated = true }; 1688defaultValue = new BoundDefaultExpression(syntax, parameterType) { WasCompilerGenerated = true }; 1725BoundExpression arraySize = new BoundLiteral(node, ConstantValue.Create(collectionArgs.Length), int32Type) { WasCompilerGenerated = true }; 1730new BoundArrayInitialization(node, isInferred: false, collectionArgs) { WasCompilerGenerated = true }, 1732{ WasCompilerGenerated = true, IsParamsArrayOrCollection = true }; 1741var unconvertedCollection = new BoundUnconvertedCollectionExpression(node, ImmutableArray<BoundNode>.CastUp(collectionArgs)) { WasCompilerGenerated = true, IsParamsArrayOrCollection = true }; 1768{ WasCompilerGenerated = true, IsParamsArrayOrCollection = true };
Binder\Binder_Operators.cs (1)
3251{ 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, initialBindingReceiverIsSubjectToCloning: ThreeState.False, lengthProperty, autoPropertyAccessorKind: AccessorKind.Unknown, 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)
693var x1Expression = new BoundParameter(node, lambdaSymbol.Parameters[0]) { WasCompilerGenerated = true }; 694var x2Expression = new BoundParameter(node, lambdaSymbol.Parameters[1]) { WasCompilerGenerated = true }; 727var xExpression = new BoundParameter(let, lambdaSymbol.Parameters[0]) { WasCompilerGenerated = true }; 869var lambda = new UnboundLambda(node, state, functionType: null, withDependencies, hasErrors: false) { WasCompilerGenerated = true }; 1045result.WasCompilerGenerated = true;
Binder\Binder_Statements.cs (14)
2662WasCompilerGenerated = true 2731WasCompilerGenerated = true 3455statement = new BoundReturnStatement(syntax, refKind, expression, @checked: CheckOverflowAtRuntime) { WasCompilerGenerated = true }; 3466statement = new BoundReturnStatement(syntax, RefKind.None, expression, @checked: CheckOverflowAtRuntime) { WasCompilerGenerated = true }; 3497statement = new BoundReturnStatement(syntax, returnRefKind, expression, @checked: CheckOverflowAtRuntime) { WasCompilerGenerated = true }; 3509statement = new BoundReturnStatement(syntax, returnRefKind, expression, @checked: CheckOverflowAtRuntime) { WasCompilerGenerated = true }; 3515statement = new BoundExpressionStatement(syntax, expression) { WasCompilerGenerated = true }; 3525statement = new BoundReturnStatement(syntax, refKind, expression, @checked: CheckOverflowAtRuntime) { WasCompilerGenerated = true }; 3529return new BoundBlock(node, locals, ImmutableArray.Create(statement)) { WasCompilerGenerated = node.Kind() != SyntaxKind.ArrowExpressionClause }; 3789var constructorInitializer = new BoundExpressionStatement(ctorSyntax, initializerInvocation) { WasCompilerGenerated = ((MethodSymbol)ContainingMember()).IsImplicitlyDeclared }; 3951BoundExpression receiver = new BoundThisReference(syntax, constructor.ContainingType) { WasCompilerGenerated = true }; 3968{ WasCompilerGenerated = true }; 3996BoundExpression receiver = new BoundThisReference(syntax, constructor.ContainingType) { WasCompilerGenerated = true }; 4015{ WasCompilerGenerated = true };
Binder\ForEachLoopBinder.cs (1)
728{ 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)
422analyzedArguments.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 }; 197: new BoundLocal(syntax, declarationsOpt[0].LocalSymbol, null, type) { WasCompilerGenerated = true };
BoundTree\BoundNode.cs (1)
155this.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)
228{ WasCompilerGenerated = true }; 341{ WasCompilerGenerated = true }; 371WasCompilerGenerated = true 625return new BoundStatementList(syntax, statements, hasErrors) { WasCompilerGenerated = true }; 633return new BoundReturnStatement(syntax, refKind, expression, hasErrors) { WasCompilerGenerated = true }; 641return new BoundYieldBreakStatement(syntax, hasErrors) { WasCompilerGenerated = true }; 663{ WasCompilerGenerated = true }; 668return new BoundBlock(syntax, ImmutableArray<LocalSymbol>.Empty, statements) { WasCompilerGenerated = true }; 673return new BoundBlock(syntax, ImmutableArray<LocalSymbol>.Empty, statements.AsImmutableOrNull()) { WasCompilerGenerated = true };
BoundTree\UnboundLambda.cs (3)
876{ WasCompilerGenerated = _unboundLambda.WasCompilerGenerated }; 978{ WasCompilerGenerated = _unboundLambda.WasCompilerGenerated }; 1236{ WasCompilerGenerated = _unboundLambda.WasCompilerGenerated };
Compiler\MethodBodySynthesizer.cs (46)
40BoundExpression receiver = new BoundThisReference(syntax, constructor.ContainingType) { WasCompilerGenerated = true }; 58{ WasCompilerGenerated = true }) 59{ WasCompilerGenerated = true }; 92var submissionArrayReference = new BoundParameter(syntax, submissionConstructor.Parameters[0]) { WasCompilerGenerated = true }; 96var thisReference = new BoundThisReference(syntax, submissionConstructor.ContainingType) { WasCompilerGenerated = true }; 106ImmutableArray.Create<BoundExpression>(new BoundLiteral(syntax, ConstantValue.Create(slotIndex), intType) { WasCompilerGenerated = true }), 108{ WasCompilerGenerated = true }, 112{ WasCompilerGenerated = true }) 113{ WasCompilerGenerated = true }); 122new BoundFieldAccess(syntax, thisReference, hostObjectField, ConstantValue.NotAvailable) { WasCompilerGenerated = true }, 126ImmutableArray.Create<BoundExpression>(new BoundLiteral(syntax, ConstantValue.Create(0), intType) { WasCompilerGenerated = true }), 136{ WasCompilerGenerated = true }) 137{ WasCompilerGenerated = true }); 150new BoundFieldAccess(syntax, thisReference, field, ConstantValue.NotAvailable) { WasCompilerGenerated = true }, 154ImmutableArray.Create<BoundExpression>(new BoundLiteral(syntax, ConstantValue.Create(targetSubmissionIndex), intType) { WasCompilerGenerated = true }), 156{ WasCompilerGenerated = true }, 166{ WasCompilerGenerated = true }) 167{ WasCompilerGenerated = true }); 184thisReference = new BoundThisReference(syntax, thisSymbol.Type) { WasCompilerGenerated = true }; 188var fieldAccess = new BoundFieldAccess(syntax, thisReference, field, ConstantValue.NotAvailable) { WasCompilerGenerated = true }; 204new BoundParameter(syntax, parameter) { WasCompilerGenerated = true }, 206{ WasCompilerGenerated = true }); 283{ WasCompilerGenerated = true }; 361{ WasCompilerGenerated = true }; 378new BoundThisReference(syntax, thisParameter.Type) { WasCompilerGenerated = true }; 384{ WasCompilerGenerated = true }; 388{ WasCompilerGenerated = true }; 412{ WasCompilerGenerated = true }) 413{ WasCompilerGenerated = true }; 435boundTmps[i] = new BoundLocal(syntax, tmps[i], null, delegateType) { WasCompilerGenerated = true }; 444{ WasCompilerGenerated = true }) 445{ WasCompilerGenerated = true }; 450{ WasCompilerGenerated = true }; 458{ WasCompilerGenerated = true }) 459{ WasCompilerGenerated = true }; 477{ WasCompilerGenerated = true }) 478{ WasCompilerGenerated = true }; 493{ WasCompilerGenerated = true }) 494{ WasCompilerGenerated = true }; 506{ WasCompilerGenerated = true }; 513{ WasCompilerGenerated = true }; 525{ WasCompilerGenerated = true }; 549{ WasCompilerGenerated = true }, 552{ WasCompilerGenerated = true }; 577{ WasCompilerGenerated = true } 579{ WasCompilerGenerated = true }));
Compiler\MethodCompiler.cs (2)
961body = new BoundBlock(methodSymbol.GetNonNullSyntaxNode(), ImmutableArray<LocalSymbol>.Empty, ImmutableArray<BoundStatement>.Empty) { WasCompilerGenerated = true }; 2348var constructorInitializer = new BoundExpressionStatement(initializerInvocation.Syntax, initializerInvocation) { WasCompilerGenerated = method.IsImplicitlyDeclared };
FlowAnalysis\FlowAnalysisPass.cs (1)
86block = new BoundBlock(block.Syntax, ImmutableArray<LocalSymbol>.Empty, newStatements) { WasCompilerGenerated = true };
FlowAnalysis\NullableWalker.cs (1)
7980return new BoundUnconvertedCollectionExpression(collection.Syntax, elementsBuilder.ToImmutableAndFree()) { WasCompilerGenerated = true };
Lowering\ClosureConversion\ClosureConversion.cs (2)
301body = new BoundBlock(body.Syntax, _addedLocals.ToImmutableAndFree(), _addedStatements.ToImmutableAndFree()) { WasCompilerGenerated = true }; 1260prologueBuilder.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)
25return RewriteAwaitExpression(new BoundAwaitExpression(syntax, rewrittenExpression, awaitableInfo, debugInfo, type) { WasCompilerGenerated = true }, used);
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (1)
749WasCompilerGenerated = true
Lowering\LocalRewriter\LocalRewriter_Call.cs (2)
966receiverType) { WasCompilerGenerated = true }, 1416{ WasCompilerGenerated = true };
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (3)
442arrayOrList = new BoundObjectCreationExpression(syntax, synthesizedType.Constructors.Single(), fieldValue) { WasCompilerGenerated = true }; 579var assignment = new BoundAssignmentOperator(syntax, call, element, type: call.Type) { WasCompilerGenerated = true }; 709{ WasCompilerGenerated = true };
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (2)
639return new BoundReadOnlySpanFromArray(syntax, rewrittenOperand, method, destinationType) { WasCompilerGenerated = true }; 1365return new BoundReadOnlySpanFromArray(syntax, rewrittenOperand, conversion.Method, rewrittenType) { WasCompilerGenerated = true };
Lowering\LocalRewriter\LocalRewriter_DeconstructionAssignmentOperator.cs (1)
393{ WasCompilerGenerated = true };
Lowering\LocalRewriter\LocalRewriter_Event.cs (1)
246{ WasCompilerGenerated = true };
Lowering\LocalRewriter\LocalRewriter_StringInterpolation.cs (1)
197result = 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)
162AddStatement(new BoundExpressionStatement(expression.Syntax, expression) { WasCompilerGenerated = true }); 296var result = new BoundBlock(statement.Syntax, builder.GetLocals(), builder.GetStatements()) { WasCompilerGenerated = true }; 1058receiverBuilder.AddStatement(_F.ExpressionStatement(new BoundComplexConditionalReceiver(node.Syntax, cache, _F.Sequence(new[] { _F.AssignmentExpression(cache, receiver) }, cache), receiverType) { WasCompilerGenerated = true }));
Lowering\SyntheticBoundNodeFactory.cs (65)
217return new BoundThisReference(Syntax, CurrentFunction.ThisParameter.Type) { WasCompilerGenerated = true }; 228return new BoundBaseReference(Syntax, baseType) { WasCompilerGenerated = true }; 238return new BoundParameter(Syntax, p, p.Type) { WasCompilerGenerated = true }; 243return new BoundFieldAccess(Syntax, receiver, f, ConstantValue.NotAvailable, LookupResultKind.Viable, f.Type) { WasCompilerGenerated = true }; 415return new BoundExpressionStatement(Syntax, expr) { WasCompilerGenerated = true }; 436var assignment = new BoundAssignmentOperator(syntax, left, right, isRef, left.Type, hasErrors) { WasCompilerGenerated = wasCompilerGenerated }; 465return new BoundBlock(Syntax, locals, statements) { WasCompilerGenerated = true }; 475return new BoundBlock(Syntax, locals, localFunctions, hasUnsafeModifier: false, instrumentation: null, statements) { WasCompilerGenerated = true }; 480return new BoundExtractedFinallyBlock(Syntax, finallyBlock) { WasCompilerGenerated = true }; 490return new BoundStatementList(Syntax, statements) { WasCompilerGenerated = true }; 495return new BoundStatementList(Syntax, ImmutableArray.Create(first, second)) { WasCompilerGenerated = true }; 566return new BoundReturnStatement(Syntax, CurrentFunction.RefKind, expression, @checked: false) { WasCompilerGenerated = true }; 631return new BoundBinaryOperator(this.Syntax, kind, ConstantValue.NotAvailable, methodOpt: null, constrainedToTypeOpt: null, LookupResultKind.Viable, left, right, type) { WasCompilerGenerated = true }; 636return new BoundAsOperator(this.Syntax, operand, Type(type), operandPlaceholder: null, operandConversion: null, type) { WasCompilerGenerated = true }; 645return new BoundIsOperator(this.Syntax, operand, Type(type), c.Kind, SpecialType(Microsoft.CodeAnalysis.SpecialType.System_Boolean)) { WasCompilerGenerated = true }; 710return new BoundLiteral(Syntax, ConstantValue.Create(value), SpecialType(Microsoft.CodeAnalysis.SpecialType.System_Byte)) { WasCompilerGenerated = true }; 715return new BoundLiteral(Syntax, ConstantValue.Create(value), SpecialType(Microsoft.CodeAnalysis.SpecialType.System_Int32)) { WasCompilerGenerated = true }; 723return new BoundLiteral(Syntax, ConstantValue.Create(value), SpecialType(Microsoft.CodeAnalysis.SpecialType.System_UInt32)) { WasCompilerGenerated = true }; 728return new BoundLiteral(Syntax, value, type) { WasCompilerGenerated = true }; 747=> new BoundObjectCreationExpression(Syntax, ctor, args) { WasCompilerGenerated = true }; 762{ WasCompilerGenerated = true }; 767return new BoundObjectCreationExpression(Syntax, ctor, args) { WasCompilerGenerated = true }; 856{ WasCompilerGenerated = true }; 891{ WasCompilerGenerated = true }; 896return new BoundConditionalOperator(Syntax, isRef, condition, consequence, alternative, constantValueOpt: null, type, wasTargetTyped: false, type) { WasCompilerGenerated = true }; 903return new BoundComplexConditionalReceiver(Syntax, valueTypeReceiver, referenceTypeReceiver, valueTypeReceiver.Type) { WasCompilerGenerated = true }; 911return new BoundNullCoalescingOperator(Syntax, left, right, leftPlaceholder: null, leftConversion: null, BoundNullCoalescingOperatorResultKind.LeftType, @checked: false, left.Type) { WasCompilerGenerated = true }; 921return new BoundConditionalGoto(Syntax, condition, jumpIfTrue, label) { WasCompilerGenerated = true }; 977return new BoundThrowStatement(Syntax, e) { WasCompilerGenerated = true }; 982return new BoundLocal(Syntax, local, null, local.Type) { WasCompilerGenerated = true }; 1021return new BoundSequence(Syntax, ImmutableArray<LocalSymbol>.Empty, sideEffects.AsImmutableOrNull(), result, resultType) { WasCompilerGenerated = true }; 1030: new BoundSequence(Syntax, locals, sideEffects, result, result.Type) { WasCompilerGenerated = true }; 1036return new BoundSpillSequence(Syntax, locals, sideEffects, result, result.Type) { WasCompilerGenerated = true }; 1093statements[0] = new BoundSwitchDispatch(Syntax, ex, caseBuilder.ToImmutableAndFree(), breakLabel, lengthBasedStringSwitchDataOpt: null) { WasCompilerGenerated = true }; 1117return new BoundGotoStatement(Syntax, label) { WasCompilerGenerated = true }; 1122return new BoundLabelStatement(Syntax, label) { WasCompilerGenerated = true }; 1127return new BoundLiteral(Syntax, ConstantValue.Create(value), SpecialType(Microsoft.CodeAnalysis.SpecialType.System_Boolean)) { WasCompilerGenerated = true }; 1139return new BoundLiteral(Syntax, stringConst, SpecialType(Microsoft.CodeAnalysis.SpecialType.System_String)) { WasCompilerGenerated = true }; 1150return new BoundLiteral(Syntax, charConst, SpecialType(Microsoft.CodeAnalysis.SpecialType.System_Char)) { WasCompilerGenerated = true }; 1189return new BoundExpressionStatement(Syntax, Call(Base(baseType), ctor)) { WasCompilerGenerated = true }; 1214return new BoundThrowExpression(thrown.Syntax, thrown, type) { WasCompilerGenerated = true }; 1232BoundExpression nullLiteral = new BoundLiteral(syntax, ConstantValue.Null, type) { WasCompilerGenerated = true }; 1240return new BoundTypeExpression(Syntax, null, type) { WasCompilerGenerated = true }; 1271{ WasCompilerGenerated = true }; 1292return new BoundSizeOfOperator(Syntax, Type(type), Binder.GetConstantSizeOf(type), SpecialType(Microsoft.CodeAnalysis.SpecialType.System_Int32)) { WasCompilerGenerated = true }; 1304{ WasCompilerGenerated = true }; 1319{ WasCompilerGenerated = true }; 1329{ WasCompilerGenerated = true }; 1339{ WasCompilerGenerated = true }; 1347{ WasCompilerGenerated = true }; 1356return new BoundModuleVersionId(Syntax, WellKnownType(Microsoft.CodeAnalysis.WellKnownType.System_Guid)) { WasCompilerGenerated = true }; 1361return new BoundModuleVersionIdString(Syntax, SpecialType(Microsoft.CodeAnalysis.SpecialType.System_String)) { WasCompilerGenerated = true }; 1366return new BoundInstrumentationPayloadRoot(Syntax, analysisKind, payloadType) { WasCompilerGenerated = true }; 1370=> new BoundThrowIfModuleCancellationRequested(Syntax, SpecialType(CodeAnalysis.SpecialType.System_Void)) { WasCompilerGenerated = true }; 1373=> new ModuleCancellationTokenExpression(Syntax, WellKnownType(CodeAnalysis.WellKnownType.System_Threading_CancellationToken)) { WasCompilerGenerated = true }; 1380{ WasCompilerGenerated = true }; 1392{ WasCompilerGenerated = true }; 1411{ WasCompilerGenerated = true }; 1427{ WasCompilerGenerated = true }; 1516return new BoundConversion(Syntax, arg, conversion, @checked: isChecked, explicitCastInCode: true, conversionGroupOpt: null, null, type) { WasCompilerGenerated = true }; 1551new BoundArrayInitialization(Syntax, isInferred: false, elements) { WasCompilerGenerated = true }, 1562{ WasCompilerGenerated = true }; 1572return new BoundDefaultExpression(syntax, type) { WasCompilerGenerated = true }; 1581return new BoundTryStatement(Syntax, tryBlock, catchBlocks, finallyBlock, finallyLabel) { WasCompilerGenerated = true }; 1723return new BoundLocal(node.Syntax, temp, constantValueOpt: null, type: node.Type) { WasCompilerGenerated = true };
Symbols\ReducedExtensionMethodSymbol.cs (2)
144var thisArgumentValue = new BoundLiteral(syntax, ConstantValue.Bad, thisType) { WasCompilerGenerated = true }; 146var otherArgumentValue = new BoundLiteral(syntax, ConstantValue.Bad, otherArgumentType) { WasCompilerGenerated = true };
Symbols\Synthesized\SynthesizedEntryPointSymbol.cs (20)
308{ WasCompilerGenerated = true }; 371{ WasCompilerGenerated = true }; 408{ WasCompilerGenerated = true }, 415{ WasCompilerGenerated = true } 418{ WasCompilerGenerated = true }; 435{ WasCompilerGenerated = true }; 487{ WasCompilerGenerated = true }; 513{ WasCompilerGenerated = true }, 515{ WasCompilerGenerated = true }) 516{ WasCompilerGenerated = true }, 518new BoundExpressionStatement(syntax, getAwaiterGetResultCall) { WasCompilerGenerated = true }, 525{ WasCompilerGenerated = true })) 526{ WasCompilerGenerated = true }; 573var submissionArrayParameter = new BoundParameter(syntax, _parameters[0]) { WasCompilerGenerated = true }; 579{ WasCompilerGenerated = true }; 599{ WasCompilerGenerated = true }, 601{ WasCompilerGenerated = true }) 602{ WasCompilerGenerated = true }; 616{ WasCompilerGenerated = true }; 621{ WasCompilerGenerated = true };
245 references to WasCompilerGenerated
Microsoft.CodeAnalysis.CSharp (245)
Binder\Binder_Conversions.cs (1)
50return CreateConversion(syntax, source, conversion, isCast: isCast, conversionGroupOpt, source.WasCompilerGenerated, destination, diagnostics);
Binder\Binder_Expressions.cs (7)
2549return BindCastCore(node, operand, targetTypeWithAnnotations, wasCompilerGenerated: operand.WasCompilerGenerated, diagnostics: diagnostics); 2889return BindCastCore(node, operand, targetTypeWithAnnotations, wasCompilerGenerated: operand.WasCompilerGenerated, diagnostics: diagnostics); 2906return BindCastCore(node, underlyingExpr, targetTypeWithAnnotations, wasCompilerGenerated: operand.WasCompilerGenerated, diagnostics: diagnostics); 2911var result = BindCastCore(node, operand, targetTypeWithAnnotations, wasCompilerGenerated: operand.WasCompilerGenerated, diagnostics: bag2); 9852if (!gotError && receiver != null && receiver.Kind == BoundKind.ThisReference && receiver.WasCompilerGenerated) 10491case BoundThisReference { WasCompilerGenerated: true }: 10636case BoundThisReference { WasCompilerGenerated: true }:
Binder\Binder_Invocation.cs (3)
419if ((InConstructorInitializer || InFieldInitializer) && receiver.WasCompilerGenerated) 1256if (invokedAsExtensionMethod || (!method.RequiresInstanceReceiver && receiver != null && receiver.WasCompilerGenerated)) 1265if (!gotError && method.RequiresInstanceReceiver && receiver != null && receiver.Kind == BoundKind.ThisReference && receiver.WasCompilerGenerated)
Binder\Binder_Statements.cs (2)
151Debug.Assert(result.WasCompilerGenerated == false || 154block.Statements.Single().WasCompilerGenerated == false), "Synthetic node would not get cached");
BoundTree\BoundExpression.cs (3)
22Debug.Assert(this.WasCompilerGenerated || this.Syntax is InvocationExpressionSyntax or ConstructorInitializerSyntax or PrimaryConstructorBaseTypeSyntax { ArgumentList: { } }, 25if (this.WasCompilerGenerated || this.Syntax is not InvocationExpressionSyntax syntax) 94return !WasCompilerGenerated;
BoundTree\BoundNode.cs (6)
155this.WasCompilerGenerated = original.WasCompilerGenerated; 362this is BoundArrayCreation { Bounds: [BoundLiteral { WasCompilerGenerated: true }], InitializerOpt: BoundArrayInitialization { WasCompilerGenerated: true }, WasCompilerGenerated: true } or 363BoundUnconvertedCollectionExpression { WasCompilerGenerated: true } or 364BoundCollectionExpression { WasCompilerGenerated: true, UnconvertedCollectionExpression.IsParamsArrayOrCollection: true } or
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)
876{ WasCompilerGenerated = _unboundLambda.WasCompilerGenerated }; 978{ WasCompilerGenerated = _unboundLambda.WasCompilerGenerated }; 1236{ WasCompilerGenerated = _unboundLambda.WasCompilerGenerated };
CodeGen\EmitStatement.cs (1)
857return boundReturnStatement.WasCompilerGenerated &&
CodeGen\Optimizer.cs (2)
1470return node.Update(node.IsRef, condition, consequence, alternative, node.ConstantValueOpt, node.NaturalTypeOpt, node.WasCompilerGenerated, node.Type); 2190!node.WasCompilerGenerated &&
Compilation\MemberSemanticModel.cs (2)
2449if (statement.WasCompilerGenerated && node.SyntaxTree == _semanticModel.SyntaxTree) 2468Debug.Assert(!block.WasCompilerGenerated);
Compilation\MemberSemanticModel.NodeMapBuilder.cs (1)
265if (currentBoundNode.WasCompilerGenerated)
FlowAnalysis\AbstractFlowPass_LocalFunctions.cs (2)
91if (!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)
319node.WasCompilerGenerated, "expressions should have been converted"); 2437if (!node.WasCompilerGenerated) EnterParameters(node.Symbol.Parameters); 2477if (!node.WasCompilerGenerated)
FlowAnalysis\EntryPointsWalker.cs (2)
61if (!gotoStmt.WasCompilerGenerated && !targetStmt.WasCompilerGenerated && RegionContains(targetStmt.Syntax.Span) && !RegionContains(gotoStmt.Syntax.Span))
FlowAnalysis\FlowAnalysisPass.cs (1)
194Debug.Assert(body.WasCompilerGenerated ||
FlowAnalysis\NullableWalker.cs (3)
7436if (boundValueOpt is { WasCompilerGenerated: true }) 11609Debug.Assert(node.WasCompilerGenerated); 11617Debug.Assert(node.WasCompilerGenerated);
FlowAnalysis\NullableWalker.SnapshotManager.cs (2)
106if (node.Kind == BoundKind.TypeExpression || node.WasCompilerGenerated) 210if (node == null || node.WasCompilerGenerated)
FlowAnalysis\VariablesDeclaredWalker.cs (2)
102if (IsInside && !node.WasCompilerGenerated) 115if (IsInside && !node.WasCompilerGenerated)
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (1)
362Debug.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)
172if (original.WasCompilerGenerated && original.Syntax.Kind() == SyntaxKind.Block) 193if (original.Syntax is BlockSyntax blockSyntax && !original.WasCompilerGenerated) 406if (original.WasCompilerGenerated && original.ExpressionOpt == null && original.Syntax.Kind() == SyntaxKind.Block) 472if (original.WasCompilerGenerated || rewrittenFilter is null)
Lowering\Instrumentation\DebugInfoInjector_SequencePoints.cs (2)
24result.WasCompilerGenerated = rewrittenStatement.WasCompilerGenerated; 36result.WasCompilerGenerated = rewrittenStatement.WasCompilerGenerated;
Lowering\Instrumentation\Instrumenter.cs (17)
39Debug.Assert(!original.WasCompilerGenerated); 50Debug.Assert(!original.WasCompilerGenerated || original.Syntax.Kind() == SyntaxKind.Block); 114Debug.Assert(!original.WasCompilerGenerated); 122Debug.Assert(!original.WasCompilerGenerated); 130Debug.Assert(!original.WasCompilerGenerated); 137Debug.Assert(!original.WasCompilerGenerated); 145Debug.Assert(!original.WasCompilerGenerated); 158Debug.Assert(!original.WasCompilerGenerated); 165Debug.Assert(!original.WasCompilerGenerated); 172Debug.Assert(!original.WasCompilerGenerated); 179Debug.Assert(!original.WasCompilerGenerated); 186Debug.Assert(!original.WasCompilerGenerated); 200Debug.Assert(!original.WasCompilerGenerated); 258Debug.Assert(!original.WasCompilerGenerated); 281Debug.Assert(!original.WasCompilerGenerated); 288Debug.Assert(!original.WasCompilerGenerated); 308Debug.Assert(!original.WasCompilerGenerated);
Lowering\Instrumentation\LocalStateTracingInstrumenter.cs (1)
511if (original.WasCompilerGenerated)
Lowering\LocalRewriter\LocalRewriter.cs (3)
248Debug.Assert(!nameofOperator.WasCompilerGenerated); 264if (node.WasCompilerGenerated) 799if (Instrument && !original.WasCompilerGenerated)
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (1)
1129if (GenerateInstrumentation && !whenExpression.WasCompilerGenerated)
Lowering\LocalRewriter\LocalRewriter_Block.cs (1)
129return (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)
29if (this.Instrument && !node.WasCompilerGenerated) 108if (this.Instrument && !node.WasCompilerGenerated)
Lowering\LocalRewriter\LocalRewriter_LocalDeclaration.cs (1)
75if (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) 140if (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 (136)
308bool isImplicit = boundNode.WasCompilerGenerated; 358isImplicit: boundNode.WasCompilerGenerated); 370isImplicit: boundNode.WasCompilerGenerated); 424bool isImplicit = boundDeconstructValuePlaceholder.WasCompilerGenerated; 436bool isImplicit = boundDeconstructionAssignmentOperator.WasCompilerGenerated; 446bool isImplicit = boundCall.WasCompilerGenerated; 476bool isImplicit = boundFunctionPointerInvocation.WasCompilerGenerated; 496boundUnconvertedAddressOf.WasCompilerGenerated); 501var isAttributeImplicit = boundAttribute.WasCompilerGenerated; 559bool isImplicit = boundLocal.WasCompilerGenerated; 579bool isImplicit = boundFieldAccess.WasCompilerGenerated; 619bool isImplicit = boundPropertyAccess.WasCompilerGenerated; 629bool isImplicit = boundIndexerAccess.WasCompilerGenerated; 649bool isImplicit = boundEventAccess.WasCompilerGenerated; 661bool isImplicit = boundEventAssignmentOperator.WasCompilerGenerated; 670bool isImplicit = boundParameter.WasCompilerGenerated; 679bool isImplicit = boundLiteral.WasCompilerGenerated || @implicit; 687bool isImplicit = boundNode.WasCompilerGenerated; 696bool isImplicit = boundAnonymousObjectCreationExpression.WasCompilerGenerated; 707bool isImplicit = boundObjectCreationExpression.WasCompilerGenerated; 743bool isImplicit = boundWithExpression.WasCompilerGenerated; 755bool isImplicit = boundDynamicObjectCreationExpression.WasCompilerGenerated; 769methodGroup.Syntax, methodGroup.GetPublicTypeSymbol(), methodGroup.WasCompilerGenerated); 784bool isImplicit = boundDynamicInvocation.WasCompilerGenerated; 827bool isImplicit = boundDynamicIndexerAccess.WasCompilerGenerated; 836bool isImplicit = boundObjectInitializerExpression.WasCompilerGenerated; 845bool isImplicit = boundCollectionInitializerExpression.WasCompilerGenerated; 854bool isImplicit = boundObjectInitializerMember.WasCompilerGenerated; 918bool isImplicit = boundDynamicObjectInitializerMember.WasCompilerGenerated; 931bool isImplicit = boundCollectionElementInitializer.WasCompilerGenerated; 946boundDynamicMemberAccess.Syntax, boundDynamicMemberAccess.GetPublicTypeSymbol(), boundDynamicMemberAccess.WasCompilerGenerated); 980bool isImplicit = boundCollectionElementInitializer.WasCompilerGenerated; 999bool isImplicit = boundLambda.WasCompilerGenerated; 1011bool isImplicit = boundLocalFunctionStatement.WasCompilerGenerated; 1018bool isImplicit = boundConversion.WasCompilerGenerated || !boundConversion.ExplicitCastInCode || forceOperandImplicitLiteral; 1039_semanticModel, syntax, type, boundConversion.WasCompilerGenerated); 1147bool isImplicit = boundAsOperator.WasCompilerGenerated; 1156bool isImplicit = boundDelegateCreationExpression.WasCompilerGenerated; 1167bool isImplicit = boundMethodGroup.WasCompilerGenerated; 1179bool isImplicit = boundIsOperator.WasCompilerGenerated; 1190bool isImplicit = boundSizeOfOperator.WasCompilerGenerated; 1200bool isImplicit = boundTypeOfOperator.WasCompilerGenerated; 1210bool isImplicit = boundArrayCreation.WasCompilerGenerated || 1211(boundArrayCreation.InitializerOpt?.Syntax == syntax && !boundArrayCreation.InitializerOpt.WasCompilerGenerated); 1219bool isImplicit = boundArrayInitialization.WasCompilerGenerated; 1227bool isImplicit = expr.WasCompilerGenerated; 1272bool isImplicit = element.WasCompilerGenerated; 1288bool isImplicit = boundDefaultLiteral.WasCompilerGenerated; 1297bool isImplicit = boundDefaultExpression.WasCompilerGenerated; 1306bool isImplicit = boundBaseReference.WasCompilerGenerated; 1315bool isImplicit = boundThisReference.WasCompilerGenerated; 1340bool isImplicit = boundAssignmentOperator.WasCompilerGenerated; 1351bool isImplicit = boundAssignmentOperator.WasCompilerGenerated; 1368bool isImplicit = boundCompoundAssignmentOperator.WasCompilerGenerated; 1395bool isImplicit = boundIncrementOperator.WasCompilerGenerated; 1408bool isImplicit = boundBadExpression.WasCompilerGenerated || boundBadExpression.ChildBoundNodes.Any(static (e, boundBadExpression) => e?.Syntax == boundBadExpression.Syntax, boundBadExpression); 1418bool isImplicit = boundNewT.WasCompilerGenerated; 1427bool isImplicit = creation.WasCompilerGenerated; 1441bool isImplicit = boundUnaryOperator.WasCompilerGenerated; 1496bool isImplicit = boundBinaryOperator.WasCompilerGenerated; 1528bool isImplicit = boundBinaryOperator.WasCompilerGenerated; 1568bool isImplicit = boundTupleBinaryOperator.WasCompilerGenerated; 1581bool isImplicit = boundConditionalOperator.WasCompilerGenerated; 1592bool isImplicit = boundNullCoalescingOperator.WasCompilerGenerated; 1610bool isImplicit = boundNode.WasCompilerGenerated; 1620bool isImplicit = boundAwaitExpression.WasCompilerGenerated; 1630bool isImplicit = boundArrayAccess.WasCompilerGenerated; 1641bool isImplicit = boundIndexerAccess.WasCompilerGenerated; 1663bool isImplicit = boundInlineArrayAccess.WasCompilerGenerated; 1674bool isImplicit = boundNameOfOperator.WasCompilerGenerated; 1683bool isImplicit = boundThrowExpression.WasCompilerGenerated; 1692bool isImplicit = boundAddressOfOperator.WasCompilerGenerated; 1701bool isImplicit = boundImplicitReceiver.WasCompilerGenerated; 1711bool isImplicit = boundConditionalAccess.WasCompilerGenerated; 1720bool isImplicit = boundConditionalReceiver.WasCompilerGenerated; 1729bool isImplicit = boundFieldEqualsValue.WasCompilerGenerated; 1738bool isImplicit = boundPropertyEqualsValue.WasCompilerGenerated; 1747bool isImplicit = boundParameterEqualsValue.WasCompilerGenerated; 1756bool isImplicit = boundBlock.WasCompilerGenerated; 1765bool isImplicit = boundContinueStatement.WasCompilerGenerated; 1774bool isImplicit = boundBreakStatement.WasCompilerGenerated; 1782bool isImplicit = boundYieldBreakStatement.WasCompilerGenerated; 1791bool isImplicit = boundGotoStatement.WasCompilerGenerated; 1798bool isImplicit = boundNoOpStatement.WasCompilerGenerated; 1834bool isImplicit = boundIfStatement.WasCompilerGenerated; 1854bool isImplicit = boundWhileStatement.WasCompilerGenerated; 1868bool isImplicit = boundDoStatement.WasCompilerGenerated; 1883bool isImplicit = boundForStatement.WasCompilerGenerated; 1990bool isImplicit = boundForEachStatement.WasCompilerGenerated; 2001bool isImplicit = boundTryStatement.WasCompilerGenerated; 2015bool isImplicit = boundCatchBlock.WasCompilerGenerated; 2025bool isImplicit = boundFixedStatement.WasCompilerGenerated; 2043bool isImplicit = boundUsingStatement.WasCompilerGenerated; 2052bool isImplicit = boundThrowStatement.WasCompilerGenerated; 2060bool isImplicit = boundReturnStatement.WasCompilerGenerated; 2068bool isImplicit = boundYieldReturnStatement.WasCompilerGenerated; 2084bool isImplicit = boundLockStatement.WasCompilerGenerated; 2094bool isImplicit = boundBadStatement.WasCompilerGenerated || boundBadStatement.ChildBoundNodes.Any(static (e, boundBadStatement) => e?.Syntax == boundBadStatement.Syntax, boundBadStatement); 2140bool multiVariableImplicit = boundLocalDeclaration.WasCompilerGenerated; 2146bool isImplicit = (varStatement == varDeclaration) || boundLocalDeclaration.WasCompilerGenerated; 2160bool declarationIsImplicit = boundMultipleLocalDeclarations.WasCompilerGenerated; 2168bool isImplicit = declarationGroupSyntax == declarationSyntax || boundMultipleLocalDeclarations.WasCompilerGenerated || boundMultipleLocalDeclarations is BoundUsingLocalDeclarations; 2183isImplicit: boundMultipleLocalDeclarations.WasCompilerGenerated); 2193bool isImplicit = boundLabelStatement.WasCompilerGenerated; 2202bool isImplicit = boundLabeledStatement.WasCompilerGenerated; 2211bool isImplicit = boundExpressionStatement.WasCompilerGenerated || boundExpressionStatement.Syntax == boundExpressionStatement.Expression.Syntax; 2229bool isImplicit = boundTupleExpression.WasCompilerGenerated; 2267bool isImplicit = boundInterpolatedString.WasCompilerGenerated; 2405bool isImplicit = boundStringInsert.WasCompilerGenerated; 2413bool isImplicit = boundNode.WasCompilerGenerated; 2424var isImplicit = conversion.WasCompilerGenerated || !conversion.ExplicitCastInCode; 2442return new InterpolatedStringAdditionOperation(left, right, _semanticModel, current.Syntax, current.WasCompilerGenerated); 2473isImplicit: interpolatedString.WasCompilerGenerated); 2512isImplicit: placeholder.WasCompilerGenerated); 2519bool isImplicit = boundConstantPattern.WasCompilerGenerated; 2530bool isImplicit = boundRelationalPattern.WasCompilerGenerated; 2549bool isImplicit = boundDeclarationPattern.WasCompilerGenerated; 2572isImplicit: boundRecursivePattern.WasCompilerGenerated); 2591isImplicit: boundITuplePattern.WasCompilerGenerated); 2602isImplicit: boundTypePattern.WasCompilerGenerated); 2615isImplicit: boundNode.WasCompilerGenerated); 2629isImplicit: boundNode.WasCompilerGenerated); 2640isImplicit: boundNegatedPattern.WasCompilerGenerated); 2680isImplicit: boundBinaryPattern.WasCompilerGenerated); 2691bool isImplicit = boundSwitchStatement.WasCompilerGenerated; 2701return new SwitchCaseOperation(clauses, body, locals, condition: null, _semanticModel, boundSwitchSection.Syntax, isImplicit: boundSwitchSection.WasCompilerGenerated); 2727boundSwitchExpression.WasCompilerGenerated); 2742boundSwitchExpressionArm.WasCompilerGenerated); 2748bool isImplicit = boundSwitchLabel.WasCompilerGenerated; 2777bool isImplicit = boundIsPatternExpression.WasCompilerGenerated; 2792bool isImplicit = boundQueryClause.WasCompilerGenerated; 2809isImplicit: boundNode.WasCompilerGenerated); 2825isImplicit: boundIndex.WasCompilerGenerated); 2839isImplicit: boundRange.WasCompilerGenerated); 2849isImplicit: boundNode.WasCompilerGenerated); 2936bool 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; 392&& (!receiverOpt.WasCompilerGenerated 460anonymousProperty.WasCompilerGenerated);
Symbols\Source\LambdaSymbol.cs (1)
64_isSynthesized = unboundLambda.WasCompilerGenerated;