304 writes to WasCompilerGenerated
Microsoft.CodeAnalysis.CSharp (304)
Binder\Binder.cs (3)
877: new BoundSequence(scopeDesignator, locals, ImmutableArray<BoundExpression>.Empty, expression, getType()) { WasCompilerGenerated = true }; 896{ WasCompilerGenerated = true }; 913{ WasCompilerGenerated = true };
Binder\Binder.WithQueryLambdaParametersBinder.cs (1)
60translation.WasCompilerGenerated = true;
Binder\Binder_Await.cs (4)
68return new BoundAwaitableInfo(node, getAwaiterPlaceholder, isDynamic: isDynamic, getAwaiter, isCompleted, getResult, runtimeAsyncAwaitCall, runtimeAsyncAwaitPlaceholder, hasErrors: hasGetAwaitableErrors) { WasCompilerGenerated = true }; 378argument.WasCompilerGenerated = true; 397WasCompilerGenerated = true 538WasCompilerGenerated = true
Binder\Binder_Conversions.cs (20)
357{ WasCompilerGenerated = wasCompilerGenerated }; 840{ WasCompilerGenerated = wasCompilerGenerated }; 923WasCompilerGenerated = _node.IsParamsArrayOrCollection, 1035var implicitReceiver = new BoundObjectOrCollectionValuePlaceholder(syntax, isNewInstance: true, _targetType) { WasCompilerGenerated = true }; 1110collectionCreation.WasCompilerGenerated = withElement is null; 1177var elementPlaceholder = new BoundValuePlaceholder(expressionSyntax, enumeratorInfo.ElementType) { WasCompilerGenerated = true }; 1194iteratorBody: new BoundExpressionStatement(expressionSyntax, convertElement) { WasCompilerGenerated = true }, 1412var collectionBuilderElementsPlaceholder = new BoundCollectionBuilderElementsPlaceholder(syntax, readonlySpanParameter.Type) { WasCompilerGenerated = true }; 1447WasCompilerGenerated = @this._node.WithElement is null, 1821var implicitReceiver = new BoundObjectOrCollectionValuePlaceholder(syntax, isNewInstance: true, targetType) { WasCompilerGenerated = true }; 1826var elementPlaceholder = new BoundValuePlaceholder(syntax, Compilation.DynamicType) { WasCompilerGenerated = true }; 2111ImmutableArray.Create<BoundExpression>(methodGroup.ReceiverOpt, new BoundValuePlaceholder(syntax, secondArgumentType) { WasCompilerGenerated = true }), 2326{ WasCompilerGenerated = node.IsParamsArrayOrCollection, IsParamsArrayOrCollection = node.IsParamsArrayOrCollection }; 2524{ WasCompilerGenerated = source.WasCompilerGenerated }; 2613{ WasCompilerGenerated = true }; 2658{ WasCompilerGenerated = true }; 2738{ WasCompilerGenerated = true }; 2795{ WasCompilerGenerated = source.WasCompilerGenerated }; 2848{ WasCompilerGenerated = source.WasCompilerGenerated }; 2873return new BoundConversion(syntax, group, conversion, @checked: false, explicitCastInCode: isCast, conversionGroup, inConversionGroupFlags, constantValueOpt: ConstantValue.NotAvailable, type: destination, hasErrors: hasErrors) { WasCompilerGenerated = group.WasCompilerGenerated };
Binder\Binder_Deconstruct.cs (4)
172{ WasCompilerGenerated = true }; 316type: ErrorTypeSymbol.UnknownResultType) { WasCompilerGenerated = true })); 661memberAccess.WasCompilerGenerated = true; 677result.WasCompilerGenerated = true;
Binder\Binder_Expressions.cs (31)
203{ WasCompilerGenerated = wasCompilerGenerated }; 2450return new BoundPreviousSubmissionReference(syntax, memberDeclaringType) { WasCompilerGenerated = true }; 2458return new BoundHostObjectMemberReference(syntax, hostObjectType) { WasCompilerGenerated = true }; 2595return new BoundThisReference(node, thisTypeOpt ?? CreateErrorType(), hasErrors) { WasCompilerGenerated = wasCompilerGenerated }; 3028underlyingExpr.WasCompilerGenerated = true; 3949{ WasCompilerGenerated = true }.WithSuppression(isSuppressed))); 4563{ WasCompilerGenerated = true }; 4575WasCompilerGenerated = !hasCreationSyntax && 4788{ WasCompilerGenerated = true }; 5179{ WasCompilerGenerated = initializerArgumentListOpt == null }; 5194result.WasCompilerGenerated = initializerArgumentListOpt == null; 5424lengthOrCount = new BoundLiteral(expression.Syntax, ConstantValue.Create(length), @this.GetSpecialType(SpecialType.System_Int32, diagnostics, expression.Syntax)) { WasCompilerGenerated = true }; 5738creation.WasCompilerGenerated = true; 5776return new BoundBadExpression(node, LookupResultKind.NotCreatable, ImmutableArray.Create<Symbol?>(type), children.ToImmutableAndFree(), type) { WasCompilerGenerated = wasCompilerGenerated }; 5789var implicitReceiver = new BoundObjectOrCollectionValuePlaceholder(typeSyntax, isForNewInstance, type) { WasCompilerGenerated = true }; 5950WasCompilerGenerated = true, 5955WasCompilerGenerated = true, 6537result.WasCompilerGenerated = true; 6705{ WasCompilerGenerated = true }; 6771iteratorBody: new BoundExpressionStatement(syntax, addMethodInvocation) { WasCompilerGenerated = true }); 7663WasCompilerGenerated = true, // don't interfere with the type info for exprSyntax. 10025var receiverPlaceholder = new BoundImplicitIndexerReceiverPlaceholder(expr.Syntax, isEquivalentToThisReference: expr.IsEquivalentToThisReference, expr.Type) { WasCompilerGenerated = true }; 10026var argumentPlaceholders = ImmutableArray.Create(new BoundImplicitIndexerValuePlaceholder(convertedArguments[0].Syntax, int32) { WasCompilerGenerated = true }); 10032lengthOrCountAccess: new BoundArrayLength(node, receiverPlaceholder, int32) { WasCompilerGenerated = true }, 10034indexerOrSliceAccess: new BoundArrayAccess(node, receiverPlaceholder, ImmutableArray<BoundExpression>.CastUp(argumentPlaceholders), resultType) { WasCompilerGenerated = true }, 10571var receiverPlaceholder = new BoundImplicitIndexerReceiverPlaceholder(receiver.Syntax, isEquivalentToThisReference: receiver.IsEquivalentToThisReference, receiver.Type) { WasCompilerGenerated = true }; 10693var intPlaceholder = new BoundImplicitIndexerValuePlaceholder(syntax, Compilation.GetSpecialType(SpecialType.System_Int32)) { WasCompilerGenerated = true }; 10764var startArgumentPlaceholder = new BoundImplicitIndexerValuePlaceholder(syntax, Compilation.GetSpecialType(SpecialType.System_Int32)) { WasCompilerGenerated = true }; 10765var lengthArgumentPlaceholder = new BoundImplicitIndexerValuePlaceholder(syntax, Compilation.GetSpecialType(SpecialType.System_Int32)) { WasCompilerGenerated = true }; 10775{ WasCompilerGenerated = true }; 11809receiver = 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)
127boundExpression.WasCompilerGenerated = true; 154result.WasCompilerGenerated = true; 1454defaultValue = new BoundDefaultExpression(syntax, parameterType) { WasCompilerGenerated = true }; 1461var unknownArgument = new BoundDefaultExpression(syntax, parameterType) { WasCompilerGenerated = true }; 1462defaultValue = new BoundObjectCreationExpression(syntax, methodSymbol, unknownArgument) { WasCompilerGenerated = true }; 1470var dispatchArgument = new BoundDefaultExpression(syntax, parameterType) { WasCompilerGenerated = true }; 1471defaultValue = new BoundObjectCreationExpression(syntax, methodSymbol, dispatchArgument) { WasCompilerGenerated = true }; 1479defaultValue = new BoundFieldAccess(syntax, null, fieldSymbol, ConstantValue.NotAvailable) { WasCompilerGenerated = true }; 1672return new BoundDefaultExpression(syntax, parameterType) { WasCompilerGenerated = true }; 1696defaultValue = new BoundLiteral(syntax, ConstantValue.Create(line), Compilation.GetSpecialType(SpecialType.System_Int32)) { WasCompilerGenerated = true }; 1701defaultValue = new BoundLiteral(syntax, ConstantValue.Create(path), Compilation.GetSpecialType(SpecialType.System_String)) { WasCompilerGenerated = true }; 1706defaultValue = new BoundLiteral(syntax, ConstantValue.Create(memberName), Compilation.GetSpecialType(SpecialType.System_String)) { WasCompilerGenerated = true }; 1714defaultValue = new BoundLiteral(syntax, ConstantValue.Create(argument.Syntax.ToString()), Compilation.GetSpecialType(SpecialType.System_String)) { WasCompilerGenerated = true }; 1727defaultValue = new BoundDefaultExpression(syntax, parameterType) { WasCompilerGenerated = true }; 1732defaultValue = new BoundDefaultExpression(syntax, parameterType) { WasCompilerGenerated = true }; 1737defaultValue = new BoundLiteral(syntax, defaultConstantValue, constantType) { WasCompilerGenerated = true }; 1755defaultValue = new BoundDefaultExpression(syntax, parameterType) { WasCompilerGenerated = true }; 1844BoundExpression arraySize = new BoundLiteral(node, ConstantValue.Create(collectionArgs.Length), int32Type) { WasCompilerGenerated = true }; 1849new BoundArrayInitialization(node, isInferred: false, collectionArgs) { WasCompilerGenerated = true }, 1851{ WasCompilerGenerated = true, IsParamsArrayOrCollection = true }; 1865WasCompilerGenerated = true, 1895{ WasCompilerGenerated = true, IsParamsArrayOrCollection = true };
Binder\Binder_Patterns.cs (6)
427receiverPlaceholder = new BoundSlicePatternReceiverPlaceholder(node, inputType) { WasCompilerGenerated = true }; 429argumentPlaceholder = new BoundSlicePatternRangePlaceholder(node, systemRangeType) { WasCompilerGenerated = true }; 581receiverPlaceholder = new BoundListPatternReceiverPlaceholder(node, inputType) { WasCompilerGenerated = true }; 587lengthAccess = new BoundPropertyAccess(node, receiverPlaceholder, initialBindingReceiverIsSubjectToCloning: ThreeState.False, lengthProperty, autoPropertyAccessorKind: AccessorKind.Unknown, LookupResultKind.Viable, lengthProperty.Type) { WasCompilerGenerated = true }; 591lengthAccess = new BoundBadExpression(node, LookupResultKind.Empty, ImmutableArray<Symbol?>.Empty, ImmutableArray<BoundExpression>.Empty, CreateErrorType(), hasErrors: true) { WasCompilerGenerated = true }; 605argumentPlaceholder = new BoundListPatternIndexPlaceholder(node, systemIndexType) { WasCompilerGenerated = true };
Binder\Binder_Query.cs (5)
698var x1Expression = new BoundParameter(node, lambdaSymbol.Parameters[0]) { WasCompilerGenerated = true }; 699var x2Expression = new BoundParameter(node, lambdaSymbol.Parameters[1]) { WasCompilerGenerated = true }; 732var xExpression = new BoundParameter(let, lambdaSymbol.Parameters[0]) { WasCompilerGenerated = true }; 874var lambda = new UnboundLambda(node, state, functionType: null, withDependencies, hasErrors: false) { WasCompilerGenerated = true }; 1034result.WasCompilerGenerated = true;
Binder\Binder_Statements.cs (14)
2711WasCompilerGenerated = true 2783WasCompilerGenerated = true 3525statement = new BoundReturnStatement(syntax, refKind, expression, @checked: CheckOverflowAtRuntime) { WasCompilerGenerated = true }; 3536statement = new BoundReturnStatement(syntax, RefKind.None, expression, @checked: CheckOverflowAtRuntime) { WasCompilerGenerated = true }; 3567statement = new BoundReturnStatement(syntax, refKind, expression, @checked: CheckOverflowAtRuntime) { WasCompilerGenerated = true }; 3579statement = new BoundReturnStatement(syntax, refKind, expression, @checked: CheckOverflowAtRuntime) { WasCompilerGenerated = true }; 3585statement = new BoundExpressionStatement(syntax, expression) { WasCompilerGenerated = true }; 3595statement = new BoundReturnStatement(syntax, refKind, expression, @checked: CheckOverflowAtRuntime) { WasCompilerGenerated = true }; 3599return new BoundBlock(node, locals, ImmutableArray.Create(statement)) { WasCompilerGenerated = node.Kind() != SyntaxKind.ArrowExpressionClause }; 3871var constructorInitializer = new BoundExpressionStatement(ctorSyntax, initializerInvocation) { WasCompilerGenerated = ((MethodSymbol)ContainingMember()).IsImplicitlyDeclared }; 4033BoundExpression receiver = new BoundThisReference(syntax, constructor.ContainingType) { WasCompilerGenerated = true }; 4050{ WasCompilerGenerated = true }; 4079BoundExpression receiver = new BoundThisReference(syntax, constructor.ContainingType) { WasCompilerGenerated = true }; 4098{ WasCompilerGenerated = true };
Binder\ForEachLoopBinder.cs (1)
751{ 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)
454analyzedArguments.Arguments.Add(new BoundParameter(syntax, parameter) { WasCompilerGenerated = true });
Binder\SwitchBinder_Patterns.cs (1)
253pattern.WasCompilerGenerated = true; // we don't have a pattern syntax here
Binder\UnionMatchingRewriter.cs (2)
95{ WasCompilerGenerated = true }; 426return new BoundBinaryPattern(node, disjunction: false, left, right, inputType: left.InputType, narrowedType: right.NarrowedType) { WasCompilerGenerated = makeCompilerGenerated };
Binder\UsingStatementBinder.cs (2)
153awaitOpt = new BoundAwaitableInfo(syntax, awaitableInstancePlaceholder: null, isDynamic: true, getAwaiter: null, isCompleted: null, getResult: null, runtimeAsyncAwaitCall: null, runtimeAsyncAwaitCallPlaceholder: 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)
235{ WasCompilerGenerated = true }; 348{ WasCompilerGenerated = true }; 380WasCompilerGenerated = true 566return new BoundStatementList(syntax, statements, hasErrors) { WasCompilerGenerated = true }; 574return new BoundReturnStatement(syntax, refKind, expression, hasErrors) { WasCompilerGenerated = true }; 582return new BoundYieldBreakStatement(syntax, hasErrors) { WasCompilerGenerated = true }; 604{ WasCompilerGenerated = true }; 609return new BoundBlock(syntax, ImmutableArray<LocalSymbol>.Empty, statements) { WasCompilerGenerated = true }; 614return new BoundBlock(syntax, ImmutableArray<LocalSymbol>.Empty, statements.AsImmutableOrNull()) { WasCompilerGenerated = true };
BoundTree\UnboundLambda.cs (3)
925{ WasCompilerGenerated = _unboundLambda.WasCompilerGenerated }; 1035{ WasCompilerGenerated = _unboundLambda.WasCompilerGenerated }; 1302{ 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 }), 137{ WasCompilerGenerated = true }) 138{ WasCompilerGenerated = true }); 151new BoundFieldAccess(syntax, thisReference, field, ConstantValue.NotAvailable) { WasCompilerGenerated = true }, 155ImmutableArray.Create<BoundExpression>(new BoundLiteral(syntax, ConstantValue.Create(targetSubmissionIndex), intType) { WasCompilerGenerated = true }), 157{ WasCompilerGenerated = true }, 168{ WasCompilerGenerated = true }) 169{ WasCompilerGenerated = true }); 186thisReference = new BoundThisReference(syntax, thisSymbol.Type) { WasCompilerGenerated = true }; 190var fieldAccess = new BoundFieldAccess(syntax, thisReference, field, ConstantValue.NotAvailable) { WasCompilerGenerated = true }; 206new BoundParameter(syntax, parameter) { WasCompilerGenerated = true }, 208{ WasCompilerGenerated = true }); 285{ WasCompilerGenerated = true }; 363{ WasCompilerGenerated = true }; 380new BoundThisReference(syntax, thisParameter.Type) { WasCompilerGenerated = true }; 386{ WasCompilerGenerated = true }; 390{ WasCompilerGenerated = true }; 414{ WasCompilerGenerated = true }) 415{ WasCompilerGenerated = true }; 437boundTmps[i] = new BoundLocal(syntax, tmps[i], null, delegateType) { WasCompilerGenerated = true }; 446{ WasCompilerGenerated = true }) 447{ WasCompilerGenerated = true }; 452{ WasCompilerGenerated = true }; 460{ WasCompilerGenerated = true }) 461{ WasCompilerGenerated = true }; 479{ WasCompilerGenerated = true }) 480{ WasCompilerGenerated = true }; 495{ WasCompilerGenerated = true }) 496{ WasCompilerGenerated = true }; 508{ WasCompilerGenerated = true }; 515{ WasCompilerGenerated = true }; 527{ WasCompilerGenerated = true }; 551{ WasCompilerGenerated = true }, 554{ WasCompilerGenerated = true }; 579{ WasCompilerGenerated = true } 581{ WasCompilerGenerated = true }));
Compiler\MethodCompiler.cs (2)
1009body = new BoundBlock(methodSymbol.GetNonNullSyntaxNode(), ImmutableArray<LocalSymbol>.Empty, ImmutableArray<BoundStatement>.Empty) { WasCompilerGenerated = true }; 2498var 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)
8870WasCompilerGenerated = true
Lowering\ClosureConversion\ClosureConversion.cs (2)
306body = new BoundBlock(body.Syntax, _addedLocals.ToImmutableAndFree(), _addedStatements.ToImmutableAndFree()) { WasCompilerGenerated = true }; 1263prologueBuilder.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)
759WasCompilerGenerated = true
Lowering\LocalRewriter\LocalRewriter_Call.cs (2)
1027receiverType) { WasCompilerGenerated = true }, 1500{ WasCompilerGenerated = true };
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (3)
540arrayOrList = new BoundObjectCreationExpression(syntax, synthesizedType.Constructors.Single(), fieldValue) { WasCompilerGenerated = true }; 690var assignment = new BoundAssignmentOperator(syntax, call, element, type: call.Type) { WasCompilerGenerated = true }; 862{ WasCompilerGenerated = true };
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (2)
651return new BoundReadOnlySpanFromArray(syntax, rewrittenOperand, method, destinationType) { WasCompilerGenerated = true }; 1435return 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 }; 1071receiverBuilder.AddStatement(_F.ExpressionStatement(new BoundComplexConditionalReceiver(node.Syntax, cache, _F.Sequence(new[] { _F.AssignmentExpression(cache, receiver) }, cache), receiverType) { WasCompilerGenerated = true }));
Lowering\SyntheticBoundNodeFactory.cs (65)
225return new BoundThisReference(Syntax, CurrentFunction.ThisParameter.Type) { WasCompilerGenerated = true }; 236return new BoundBaseReference(Syntax, baseType) { WasCompilerGenerated = true }; 246return new BoundParameter(Syntax, p, p.Type) { WasCompilerGenerated = true }; 251return new BoundFieldAccess(Syntax, receiver, f, ConstantValue.NotAvailable, LookupResultKind.Viable, f.Type) { WasCompilerGenerated = true }; 423return new BoundExpressionStatement(Syntax, expr) { WasCompilerGenerated = true }; 444var assignment = new BoundAssignmentOperator(syntax, left, right, isRef, left.Type, hasErrors) { WasCompilerGenerated = wasCompilerGenerated }; 473return 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 }; 580return new BoundReturnStatement(Syntax, CurrentFunction.RefKind != RefKind.None ? RefKind.Ref : RefKind.None, expression, @checked: false) { WasCompilerGenerated = true }; 645return new BoundBinaryOperator(this.Syntax, kind, ConstantValue.NotAvailable, methodOpt: null, constrainedToTypeOpt: null, LookupResultKind.Viable, left, right, type) { WasCompilerGenerated = true }; 650return new BoundAsOperator(this.Syntax, operand, Type(type), operandPlaceholder: null, operandConversion: null, type) { WasCompilerGenerated = true }; 659return new BoundIsOperator(this.Syntax, operand, Type(type), c.Kind, SpecialType(Microsoft.CodeAnalysis.SpecialType.System_Boolean)) { WasCompilerGenerated = true }; 739return new BoundLiteral(Syntax, ConstantValue.Create(value), SpecialType(Microsoft.CodeAnalysis.SpecialType.System_Byte)) { WasCompilerGenerated = true }; 744return new BoundLiteral(Syntax, ConstantValue.Create(value), SpecialType(Microsoft.CodeAnalysis.SpecialType.System_Int32)) { WasCompilerGenerated = true }; 752return new BoundLiteral(Syntax, ConstantValue.Create(value), SpecialType(Microsoft.CodeAnalysis.SpecialType.System_UInt32)) { WasCompilerGenerated = true }; 757return new BoundLiteral(Syntax, value, type) { WasCompilerGenerated = true }; 776=> new BoundObjectCreationExpression(Syntax, ctor, args) { WasCompilerGenerated = true }; 791{ WasCompilerGenerated = true }; 796return new BoundObjectCreationExpression(Syntax, ctor, args) { WasCompilerGenerated = true }; 885{ WasCompilerGenerated = true }; 925{ WasCompilerGenerated = true }; 930return new BoundConditionalOperator(Syntax, isRef, condition, consequence, alternative, constantValueOpt: null, type, wasTargetTyped: false, type) { WasCompilerGenerated = true }; 937return new BoundComplexConditionalReceiver(Syntax, valueTypeReceiver, referenceTypeReceiver, valueTypeReceiver.Type) { WasCompilerGenerated = true }; 945return new BoundNullCoalescingOperator(Syntax, left, right, leftPlaceholder: null, leftConversion: null, BoundNullCoalescingOperatorResultKind.LeftType, @checked: false, left.Type) { WasCompilerGenerated = true }; 955return new BoundConditionalGoto(Syntax, condition, jumpIfTrue, label) { WasCompilerGenerated = true }; 1011return new BoundThrowStatement(Syntax, e) { WasCompilerGenerated = true }; 1016return new BoundLocal(Syntax, local, null, local.Type) { WasCompilerGenerated = true }; 1055return new BoundSequence(Syntax, ImmutableArray<LocalSymbol>.Empty, sideEffects.AsImmutableOrNull(), result, resultType) { WasCompilerGenerated = true }; 1064: new BoundSequence(Syntax, locals, sideEffects, result, result.Type) { WasCompilerGenerated = true }; 1070return new BoundSpillSequence(Syntax, locals, sideEffects, result, result.Type) { WasCompilerGenerated = true }; 1127statements[0] = new BoundSwitchDispatch(Syntax, ex, caseBuilder.ToImmutableAndFree(), breakLabel, lengthBasedStringSwitchDataOpt: null) { WasCompilerGenerated = true }; 1151return new BoundGotoStatement(Syntax, label) { WasCompilerGenerated = true }; 1156return new BoundLabelStatement(Syntax, label) { WasCompilerGenerated = true }; 1161return new BoundLiteral(Syntax, ConstantValue.Create(value), SpecialType(Microsoft.CodeAnalysis.SpecialType.System_Boolean)) { WasCompilerGenerated = true }; 1173return new BoundLiteral(Syntax, stringConst, SpecialType(Microsoft.CodeAnalysis.SpecialType.System_String)) { WasCompilerGenerated = true }; 1184return new BoundLiteral(Syntax, charConst, SpecialType(Microsoft.CodeAnalysis.SpecialType.System_Char)) { WasCompilerGenerated = true }; 1223return new BoundExpressionStatement(Syntax, Call(Base(baseType), ctor)) { WasCompilerGenerated = true }; 1248return new BoundThrowExpression(thrown.Syntax, thrown, type) { WasCompilerGenerated = true }; 1266BoundExpression nullLiteral = new BoundLiteral(syntax, ConstantValue.Null, type) { WasCompilerGenerated = true }; 1274return new BoundTypeExpression(Syntax, null, type) { WasCompilerGenerated = true }; 1305{ WasCompilerGenerated = true }; 1326return new BoundSizeOfOperator(Syntax, Type(type), Binder.GetConstantSizeOf(type), SpecialType(Microsoft.CodeAnalysis.SpecialType.System_Int32)) { WasCompilerGenerated = true }; 1338{ WasCompilerGenerated = true }; 1353{ WasCompilerGenerated = true }; 1363{ WasCompilerGenerated = true }; 1373{ WasCompilerGenerated = true }; 1381{ WasCompilerGenerated = true }; 1390return new BoundModuleVersionId(Syntax, WellKnownType(Microsoft.CodeAnalysis.WellKnownType.System_Guid)) { WasCompilerGenerated = true }; 1395return new BoundModuleVersionIdString(Syntax, SpecialType(Microsoft.CodeAnalysis.SpecialType.System_String)) { WasCompilerGenerated = true }; 1400return new BoundInstrumentationPayloadRoot(Syntax, analysisKind, payloadType) { WasCompilerGenerated = true }; 1404=> new BoundThrowIfModuleCancellationRequested(Syntax, SpecialType(CodeAnalysis.SpecialType.System_Void)) { WasCompilerGenerated = true }; 1407=> new ModuleCancellationTokenExpression(Syntax, WellKnownType(CodeAnalysis.WellKnownType.System_Threading_CancellationToken)) { WasCompilerGenerated = true }; 1414{ WasCompilerGenerated = true }; 1426{ WasCompilerGenerated = true }; 1445{ WasCompilerGenerated = true }; 1461{ WasCompilerGenerated = true }; 1530return new BoundConversion(Syntax, arg, conversion, @checked: isChecked, explicitCastInCode: explicitCastInCode, conversionGroupOpt: null, InConversionGroupFlags.Unspecified, null, type) { WasCompilerGenerated = true }; 1565new BoundArrayInitialization(Syntax, isInferred: false, elements) { WasCompilerGenerated = true }, 1576{ WasCompilerGenerated = true }; 1586return new BoundDefaultExpression(syntax, type) { WasCompilerGenerated = true }; 1595return new BoundTryStatement(Syntax, tryBlock, catchBlocks, finallyBlock, finallyLabel) { WasCompilerGenerated = true }; 1737return new BoundLocal(node.Syntax, temp, constantValueOpt: null, type: node.Type) { WasCompilerGenerated = true };
Symbols\ReducedExtensionMethodSymbol.cs (2)
145var thisArgumentValue = new BoundLiteral(syntax, ConstantValue.Bad, thisType) { WasCompilerGenerated = true }; 147var otherArgumentValue = new BoundLiteral(syntax, ConstantValue.Bad, otherArgumentType) { WasCompilerGenerated = true };
Symbols\Source\SourceNamedTypeSymbol_Extension.cs (1)
1227var receiverValue = new BoundLiteral(syntax, ConstantValue.Bad, receiverType) { WasCompilerGenerated = true };
Symbols\Synthesized\SynthesizedEntryPointSymbol.cs (21)
312{ WasCompilerGenerated = true }; 380{ WasCompilerGenerated = true }; 406{ WasCompilerGenerated = true }; 448{ WasCompilerGenerated = true }, 455{ WasCompilerGenerated = true } 458{ WasCompilerGenerated = true }; 475{ WasCompilerGenerated = true }; 527{ WasCompilerGenerated = true }; 554{ WasCompilerGenerated = true }, 556{ WasCompilerGenerated = true }) 557{ WasCompilerGenerated = true }, 559new BoundExpressionStatement(syntax, getAwaiterGetResultCall) { WasCompilerGenerated = true }, 566{ WasCompilerGenerated = true })) 567{ WasCompilerGenerated = true }; 614var submissionArrayParameter = new BoundParameter(syntax, _parameters[0]) { WasCompilerGenerated = true }; 620{ WasCompilerGenerated = true }; 640{ WasCompilerGenerated = true }, 642{ WasCompilerGenerated = true }) 643{ WasCompilerGenerated = true }; 657{ WasCompilerGenerated = true }; 662{ WasCompilerGenerated = true };
266 references to WasCompilerGenerated
Microsoft.CodeAnalysis.CSharp (266)
Binder\Binder_Conversions.cs (9)
51return CreateConversion(syntax, source, conversion, isCast: isCast, conversionGroupOpt, inConversionGroupFlags, source.WasCompilerGenerated, destination, diagnostics); 953Debug.Assert(result.WasCompilerGenerated == _node.IsParamsArrayOrCollection); 2524{ WasCompilerGenerated = source.WasCompilerGenerated }; 2677finalConversion.ResetCompilerGenerated(source.WasCompilerGenerated); 2754finalConversion.ResetCompilerGenerated(source.WasCompilerGenerated); 2795{ WasCompilerGenerated = source.WasCompilerGenerated }; 2848{ WasCompilerGenerated = source.WasCompilerGenerated }; 2873return new BoundConversion(syntax, group, conversion, @checked: false, explicitCastInCode: isCast, conversionGroup, inConversionGroupFlags, constantValueOpt: ConstantValue.NotAvailable, type: destination, hasErrors: hasErrors) { WasCompilerGenerated = group.WasCompilerGenerated }; 3431if (!receiverOpt.WasCompilerGenerated) return false;
Binder\Binder_Expressions.cs (7)
2673return BindCastCore(node, operand, targetTypeWithAnnotations, wasCompilerGenerated: operand.WasCompilerGenerated, diagnostics: diagnostics); 3013return BindCastCore(node, operand, targetTypeWithAnnotations, wasCompilerGenerated: operand.WasCompilerGenerated, diagnostics: diagnostics); 3030return BindCastCore(node, underlyingExpr, targetTypeWithAnnotations, wasCompilerGenerated: operand.WasCompilerGenerated, diagnostics: diagnostics); 3035var result = BindCastCore(node, operand, targetTypeWithAnnotations, wasCompilerGenerated: operand.WasCompilerGenerated, diagnostics: bag2); 10507if (!gotError && receiver != null && receiver.Kind == BoundKind.ThisReference && receiver.WasCompilerGenerated) 11135case BoundThisReference { WasCompilerGenerated: true }: 11330case BoundThisReference { WasCompilerGenerated: true }:
Binder\Binder_Invocation.cs (3)
428if ((InConstructorInitializer || InFieldInitializer) && receiver.WasCompilerGenerated) 1305if (invokedAsExtensionMethod || (!method.RequiresInstanceReceiver && receiver != null && receiver.WasCompilerGenerated)) 1314if (!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");
Binder\DecisionDagBuilder_CheckOrReachability.cs (9)
407if (pattern.WasCompilerGenerated) 487bool wasCompilerGenerated = newPattern.WasCompilerGenerated; 941if (node.WasCompilerGenerated) 1042if (pattern.WasCompilerGenerated) 1124bool wasCompilerGenerated = newPattern.WasCompilerGenerated; 1159bool wasCompilerGenerated = newPattern.WasCompilerGenerated; 1247bool wasCompilerGenerated = newPattern.WasCompilerGenerated; 1310bool wasCompilerGenerated = newPattern.WasCompilerGenerated; 1334bool wasCompilerGenerated = newPattern.WasCompilerGenerated;
Binder\UnionMatchingRewriter.cs (1)
320BoundPattern result = makeConjunction(node.Syntax, preboundLeft, right, makeCompilerGenerated: node.WasCompilerGenerated);
BoundTree\BoundExpression.cs (3)
22Debug.Assert(this.WasCompilerGenerated || 30if (this.WasCompilerGenerated || this.Syntax is not InvocationExpressionSyntax syntax) 99return !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)
925{ WasCompilerGenerated = _unboundLambda.WasCompilerGenerated }; 1035{ WasCompilerGenerated = _unboundLambda.WasCompilerGenerated }; 1302{ WasCompilerGenerated = _unboundLambda.WasCompilerGenerated };
CodeGen\EmitStatement.cs (1)
867return boundReturnStatement.WasCompilerGenerated &&
CodeGen\Optimizer.cs (2)
1479return node.Update(node.IsRef, condition, consequence, alternative, node.ConstantValueOpt, node.NaturalTypeOpt, node.WasCompilerGenerated, node.Type); 2249!node.WasCompilerGenerated &&
Compilation\MemberSemanticModel.cs (2)
2489if (statement.WasCompilerGenerated && node.SyntaxTree == _semanticModel.SyntaxTree) 2508Debug.Assert(!block.WasCompilerGenerated);
Compilation\MemberSemanticModel.NodeMapBuilder.cs (1)
265if (currentBoundNode.WasCompilerGenerated)
FlowAnalysis\AbstractFlowPass.cs (1)
947WasCompilerGenerated: true,
FlowAnalysis\AbstractFlowPass_LocalFunctions.cs (2)
91if (!localFunc.WasCompilerGenerated) EnterParameters(localFuncSymbol.Parameters); 129branch?.WasCompilerGenerated == false ? null : location);
FlowAnalysis\ControlFlowPass.cs (1)
264!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"); 2394if (!node.WasCompilerGenerated) EnterParameters(node.Symbol.Parameters); 2434if (!node.WasCompilerGenerated)
FlowAnalysis\EntryPointsWalker.cs (2)
62if (!gotoStmt.WasCompilerGenerated && !targetStmt.WasCompilerGenerated && RegionContains(targetStmt.Syntax.Span) && !RegionContains(gotoStmt.Syntax.Span))
FlowAnalysis\FlowAnalysisPass.cs (1)
197Debug.Assert(body.WasCompilerGenerated ||
FlowAnalysis\NullableWalker.cs (3)
8240if (boundValueOpt is { WasCompilerGenerated: true }) 13162Debug.Assert(node.WasCompilerGenerated); 13170Debug.Assert(node.WasCompilerGenerated);
FlowAnalysis\NullableWalker.SnapshotManager.cs (2)
106if (node.Kind == BoundKind.TypeExpression || node.WasCompilerGenerated) 210if (node == null || node.WasCompilerGenerated)
FlowAnalysis\VariablesDeclaredWalker.cs (2)
185if (IsInside && !node.WasCompilerGenerated) 198if (IsInside && !node.WasCompilerGenerated)
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (1)
377Debug.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)
520if (original.WasCompilerGenerated)
Lowering\LocalRewriter\LocalRewriter.cs (3)
252Debug.Assert(!nameofOperator.WasCompilerGenerated); 268if (node.WasCompilerGenerated) 808if (Instrument && !original.WasCompilerGenerated)
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (1)
1137if (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)
29(!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)
25(!node.WasCompilerGenerated || (node.Syntax.Kind() == SyntaxKind.Block && (currentFunction?.IsAsync == false || isRuntimeAsync)))) 36if (this.Instrument && !node.WasCompilerGenerated)
Operations\CSharpOperationFactory.cs (138)
307bool isImplicit = boundNode.WasCompilerGenerated; 332}, boundNode.WasCompilerGenerated); 365isImplicit: boundNode.WasCompilerGenerated); 377isImplicit: boundNode.WasCompilerGenerated); 431bool isImplicit = boundDeconstructValuePlaceholder.WasCompilerGenerated; 443bool isImplicit = boundDeconstructionAssignmentOperator.WasCompilerGenerated; 453bool isImplicit = boundCall.WasCompilerGenerated; 483bool isImplicit = boundFunctionPointerInvocation.WasCompilerGenerated; 503boundUnconvertedAddressOf.WasCompilerGenerated); 508var isAttributeImplicit = boundAttribute.WasCompilerGenerated; 566bool isImplicit = boundLocal.WasCompilerGenerated; 586bool isImplicit = boundFieldAccess.WasCompilerGenerated; 626bool isImplicit = boundPropertyAccess.WasCompilerGenerated; 636bool isImplicit = boundIndexerAccess.WasCompilerGenerated; 656bool isImplicit = boundEventAccess.WasCompilerGenerated; 668bool isImplicit = boundEventAssignmentOperator.WasCompilerGenerated; 677bool isImplicit = boundParameter.WasCompilerGenerated; 686bool isImplicit = boundLiteral.WasCompilerGenerated || @implicit; 694bool isImplicit = boundNode.WasCompilerGenerated; 703bool isImplicit = boundAnonymousObjectCreationExpression.WasCompilerGenerated; 716bool isImplicit = boundObjectCreationExpression.WasCompilerGenerated; 758bool isImplicit = boundWithExpression.WasCompilerGenerated; 770bool isImplicit = boundDynamicObjectCreationExpression.WasCompilerGenerated; 784methodGroup.Syntax, methodGroup.GetPublicTypeSymbol(), methodGroup.WasCompilerGenerated); 799bool isImplicit = boundDynamicInvocation.WasCompilerGenerated; 842bool isImplicit = boundDynamicIndexerAccess.WasCompilerGenerated; 851bool isImplicit = boundObjectInitializerExpression.WasCompilerGenerated; 860bool isImplicit = boundCollectionInitializerExpression.WasCompilerGenerated; 869bool isImplicit = boundObjectInitializerMember.WasCompilerGenerated; 933bool isImplicit = boundDynamicObjectInitializerMember.WasCompilerGenerated; 946bool isImplicit = boundCollectionElementInitializer.WasCompilerGenerated; 961boundDynamicMemberAccess.Syntax, boundDynamicMemberAccess.GetPublicTypeSymbol(), boundDynamicMemberAccess.WasCompilerGenerated); 995bool isImplicit = boundCollectionElementInitializer.WasCompilerGenerated; 1014bool isImplicit = boundLambda.WasCompilerGenerated; 1026bool isImplicit = boundLocalFunctionStatement.WasCompilerGenerated; 1037if (boundConversion.WasCompilerGenerated || forceOperandImplicitLiteral) 1079_semanticModel, syntax, type, boundConversion.WasCompilerGenerated); 1129else if (!boundOperand.WasCompilerGenerated) 1187bool isImplicit = boundAsOperator.WasCompilerGenerated; 1196bool isImplicit = boundDelegateCreationExpression.WasCompilerGenerated; 1207bool isImplicit = boundMethodGroup.WasCompilerGenerated; 1219bool isImplicit = boundIsOperator.WasCompilerGenerated; 1230bool isImplicit = boundSizeOfOperator.WasCompilerGenerated; 1240bool isImplicit = boundTypeOfOperator.WasCompilerGenerated; 1250bool isImplicit = boundArrayCreation.WasCompilerGenerated || 1251(boundArrayCreation.InitializerOpt?.Syntax == syntax && !boundArrayCreation.InitializerOpt.WasCompilerGenerated); 1259bool isImplicit = boundArrayInitialization.WasCompilerGenerated; 1272expr.WasCompilerGenerated); 1347bool isImplicit = element.WasCompilerGenerated; 1363bool isImplicit = boundDefaultLiteral.WasCompilerGenerated; 1372bool isImplicit = boundDefaultExpression.WasCompilerGenerated; 1381bool isImplicit = boundBaseReference.WasCompilerGenerated; 1390bool isImplicit = boundThisReference.WasCompilerGenerated; 1415bool isImplicit = boundAssignmentOperator.WasCompilerGenerated; 1426bool isImplicit = boundAssignmentOperator.WasCompilerGenerated; 1443bool isImplicit = boundCompoundAssignmentOperator.WasCompilerGenerated; 1470bool isImplicit = boundIncrementOperator.WasCompilerGenerated; 1483bool isImplicit = boundBadExpression.WasCompilerGenerated || boundBadExpression.ChildBoundNodes.Any(static (e, boundBadExpression) => e?.Syntax == boundBadExpression.Syntax, boundBadExpression); 1493bool isImplicit = boundNewT.WasCompilerGenerated; 1502bool isImplicit = creation.WasCompilerGenerated; 1516bool isImplicit = boundUnaryOperator.WasCompilerGenerated; 1571bool isImplicit = boundBinaryOperator.WasCompilerGenerated; 1594bool isImplicit = boundBinaryOperator.WasCompilerGenerated; 1634bool isImplicit = boundTupleBinaryOperator.WasCompilerGenerated; 1647bool isImplicit = boundConditionalOperator.WasCompilerGenerated; 1658bool isImplicit = boundNullCoalescingOperator.WasCompilerGenerated; 1676bool isImplicit = boundNode.WasCompilerGenerated; 1686bool isImplicit = boundAwaitExpression.WasCompilerGenerated; 1696bool isImplicit = boundArrayAccess.WasCompilerGenerated; 1707bool isImplicit = boundIndexerAccess.WasCompilerGenerated; 1729bool isImplicit = boundInlineArrayAccess.WasCompilerGenerated; 1740bool isImplicit = boundNameOfOperator.WasCompilerGenerated; 1749bool isImplicit = boundThrowExpression.WasCompilerGenerated; 1758bool isImplicit = boundAddressOfOperator.WasCompilerGenerated; 1767bool isImplicit = boundImplicitReceiver.WasCompilerGenerated; 1777bool isImplicit = boundConditionalAccess.WasCompilerGenerated; 1786bool isImplicit = boundConditionalReceiver.WasCompilerGenerated; 1795bool isImplicit = boundFieldEqualsValue.WasCompilerGenerated; 1804bool isImplicit = boundPropertyEqualsValue.WasCompilerGenerated; 1813bool isImplicit = boundParameterEqualsValue.WasCompilerGenerated; 1822bool isImplicit = boundBlock.WasCompilerGenerated; 1831bool isImplicit = boundContinueStatement.WasCompilerGenerated; 1840bool isImplicit = boundBreakStatement.WasCompilerGenerated; 1848bool isImplicit = boundYieldBreakStatement.WasCompilerGenerated; 1857bool isImplicit = boundGotoStatement.WasCompilerGenerated; 1864bool isImplicit = boundNoOpStatement.WasCompilerGenerated; 1900bool isImplicit = boundIfStatement.WasCompilerGenerated; 1920bool isImplicit = boundWhileStatement.WasCompilerGenerated; 1934bool isImplicit = boundDoStatement.WasCompilerGenerated; 1949bool isImplicit = boundForStatement.WasCompilerGenerated; 2056bool isImplicit = boundForEachStatement.WasCompilerGenerated; 2067bool isImplicit = boundTryStatement.WasCompilerGenerated; 2081bool isImplicit = boundCatchBlock.WasCompilerGenerated; 2091bool isImplicit = boundFixedStatement.WasCompilerGenerated; 2109bool isImplicit = boundUsingStatement.WasCompilerGenerated; 2118bool isImplicit = boundThrowStatement.WasCompilerGenerated; 2126bool isImplicit = boundReturnStatement.WasCompilerGenerated; 2134bool isImplicit = boundYieldReturnStatement.WasCompilerGenerated; 2150bool isImplicit = boundLockStatement.WasCompilerGenerated; 2160bool isImplicit = boundBadStatement.WasCompilerGenerated || boundBadStatement.ChildBoundNodes.Any(static (e, boundBadStatement) => e?.Syntax == boundBadStatement.Syntax, boundBadStatement); 2206bool multiVariableImplicit = boundLocalDeclaration.WasCompilerGenerated; 2212bool isImplicit = (varStatement == varDeclaration) || boundLocalDeclaration.WasCompilerGenerated; 2226bool declarationIsImplicit = boundMultipleLocalDeclarations.WasCompilerGenerated; 2234bool isImplicit = declarationGroupSyntax == declarationSyntax || boundMultipleLocalDeclarations.WasCompilerGenerated || boundMultipleLocalDeclarations is BoundUsingLocalDeclarations; 2249isImplicit: boundMultipleLocalDeclarations.WasCompilerGenerated); 2259bool isImplicit = boundLabelStatement.WasCompilerGenerated; 2268bool isImplicit = boundLabeledStatement.WasCompilerGenerated; 2277bool isImplicit = boundExpressionStatement.WasCompilerGenerated || boundExpressionStatement.Syntax == boundExpressionStatement.Expression.Syntax; 2295bool isImplicit = boundTupleExpression.WasCompilerGenerated; 2333bool isImplicit = boundInterpolatedString.WasCompilerGenerated; 2471bool isImplicit = boundStringInsert.WasCompilerGenerated; 2479bool isImplicit = boundNode.WasCompilerGenerated; 2490var isImplicit = conversion.WasCompilerGenerated || !conversion.ExplicitCastInCode; 2508return new InterpolatedStringAdditionOperation(left, right, _semanticModel, current.Syntax, current.WasCompilerGenerated); 2539isImplicit: interpolatedString.WasCompilerGenerated); 2578isImplicit: placeholder.WasCompilerGenerated); 2585bool isImplicit = boundConstantPattern.WasCompilerGenerated; 2596bool isImplicit = boundRelationalPattern.WasCompilerGenerated; 2615bool isImplicit = boundDeclarationPattern.WasCompilerGenerated; 2638isImplicit: boundRecursivePattern.WasCompilerGenerated); 2657isImplicit: boundITuplePattern.WasCompilerGenerated); 2668isImplicit: boundTypePattern.WasCompilerGenerated); 2681isImplicit: boundNode.WasCompilerGenerated); 2695isImplicit: boundNode.WasCompilerGenerated); 2706isImplicit: boundNegatedPattern.WasCompilerGenerated); 2746isImplicit: boundBinaryPattern.WasCompilerGenerated); 2757bool isImplicit = boundSwitchStatement.WasCompilerGenerated; 2767return new SwitchCaseOperation(clauses, body, locals, condition: null, _semanticModel, boundSwitchSection.Syntax, isImplicit: boundSwitchSection.WasCompilerGenerated); 2793boundSwitchExpression.WasCompilerGenerated); 2808boundSwitchExpressionArm.WasCompilerGenerated); 2814bool isImplicit = boundSwitchLabel.WasCompilerGenerated; 2843bool isImplicit = boundIsPatternExpression.WasCompilerGenerated; 2858bool isImplicit = boundQueryClause.WasCompilerGenerated; 2875isImplicit: boundNode.WasCompilerGenerated); 2891isImplicit: boundIndex.WasCompilerGenerated); 2905isImplicit: boundRange.WasCompilerGenerated); 2915isImplicit: boundNode.WasCompilerGenerated); 3002bool 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)
69_isSynthesized = unboundLambda.WasCompilerGenerated;