66 references to Parameter
Microsoft.CodeAnalysis.CSharp (66)
Compiler\AnonymousTypeMethodBodySynthesizer.cs (2)
57F.Assignment(F.Field(F.This(), anonymousType.Properties[index].BackingField), F.Parameter(_parameters[index])); 118BoundLocal boundLocal = F.StoreToTemp(F.As(F.Parameter(_parameters[0]), anonymousType), out assignmentToTemp);
Compiler\MethodBodySynthesizer.Lowered.cs (6)
86F.Parameter(text), 99F.Parameter(text), 114F.Call(F.Parameter(text), F.SpecialMethod(SpecialMember.System_String__Length))), 186F.Parameter(text), 204F.Parameter(text), 462argBuilder.Add(F.Parameter(param));
Compiler\MethodCompiler.cs (1)
1236initializers.Add(factory.Assignment(factory.Field(factory.This(), field), factory.Parameter(parameter)));
Lowering\AsyncRewriter\AsyncRewriter.AsyncIteratorRewriter.cs (14)
169bodyBuilder.Add(F.Assignment(F.InstanceField(stateField), F.Parameter(F.CurrentFunction.Parameters[0]))); // this.state = state; 232BoundParameter tokenParameter = F.Parameter(getEnumeratorMethod.Parameters[0]); 512F.Call(F.InstanceField(_promiseOfValueOrEndField), promise_GetResult, F.Parameter(IValueTaskSourceOfBool_GetResult.Parameters[0])))); 537F.Call(F.InstanceField(_promiseOfValueOrEndField), promise_GetStatus, F.Parameter(IValueTaskSourceOfBool_GetStatus.Parameters[0])))); 565F.Parameter(IValueTaskSourceOfBool_OnCompleted.Parameters[0]), 566F.Parameter(IValueTaskSourceOfBool_OnCompleted.Parameters[1]), 567F.Parameter(IValueTaskSourceOfBool_OnCompleted.Parameters[2]), 568F.Parameter(IValueTaskSourceOfBool_OnCompleted.Parameters[3]))), 590F.ExpressionStatement(F.Call(F.InstanceField(_promiseOfValueOrEndField), promise_GetResult, F.Parameter(IValueTaskSource_GetResult.Parameters[0]))), 614F.Call(F.InstanceField(_promiseOfValueOrEndField), promise_GetStatus, F.Parameter(IValueTaskSource_GetStatus.Parameters[0])))); 638F.Parameter(IValueTaskSource_OnCompleted.Parameters[0]), 639F.Parameter(IValueTaskSource_OnCompleted.Parameters[1]), 640F.Parameter(IValueTaskSource_OnCompleted.Parameters[2]), 641F.Parameter(IValueTaskSource_OnCompleted.Parameters[3]))),
Lowering\AsyncRewriter\AsyncRewriter.cs (1)
185new BoundExpression[] { F.Parameter(F.CurrentFunction.Parameters[0]) })),
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
897var convertedValue = Visit(_bound.Convert(toType, _bound.Parameter(lambdaParameter), conversion));
Lowering\Instrumentation\LocalStateTracingInstrumenter.cs (2)
316MakeStoreLoggerArguments(parameterLogger.Parameters[0], parameter, parameter.Type, _factory.Parameter(parameter), refAssignmentSourceIndex: null, _factory.Literal((ushort)parameter.Ordinal))))); 489ParameterSymbol param => _factory.Parameter(param),
Lowering\IteratorRewriter\IteratorRewriter.cs (1)
282bodyBuilder.Add(F.Assignment(F.Field(F.This(), stateField), F.Parameter(F.CurrentFunction.Parameters[0]))); // this.state = state;
Lowering\StateMachineRewriter\StateMachineRewriter.cs (1)
337bodyBuilder.Add(F.Assignment(leftExpression, F.Parameter(parameter)));
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListConstructor.cs (1)
37f.Assignment(f.Field(f.This(), field), f.Parameter(parameter)),
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListEnumeratorConstructor.cs (1)
37f.Assignment(f.Field(f.This(), field), f.Parameter(parameter)),
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeSymbol.cs (5)
560var parameterReference = f.Parameter(method.Parameters[0]); 596var parameterReference0 = f.Parameter(method.Parameters[0]); 597var parameterReference1 = f.Parameter(method.Parameters[1]); 653var parameterReference = f.Parameter(method.Parameters[0]); 687var parameterReference = f.Parameter(method.Parameters[0]);
Symbols\Synthesized\Records\SynthesizedRecordBaseEquals.cs (1)
68F.Convert(F.SpecialType(SpecialType.System_Object), F.Parameter(parameter)));
Symbols\Synthesized\Records\SynthesizedRecordCopyCtor.cs (1)
49var param = F.Parameter(Parameters[0]);
Symbols\Synthesized\Records\SynthesizedRecordDeconstruct.cs (2)
85statementsBuilder.Add(F.Assignment(F.Parameter(parameter), F.Property(F.This(), property))); 89statementsBuilder.Add(F.Assignment(F.Parameter(parameter), F.Field(F.This(), field)));
Symbols\Synthesized\Records\SynthesizedRecordEqualityOperator.cs (2)
61var left = F.Parameter(Parameters[0]); 62var right = F.Parameter(Parameters[1]);
Symbols\Synthesized\Records\SynthesizedRecordEquals.cs (1)
52var other = F.Parameter(Parameters[0]);
Symbols\Synthesized\Records\SynthesizedRecordInequalityOperator.cs (2)
42F.Parameter(Parameters[0]), F.Parameter(Parameters[1]))))));
Symbols\Synthesized\Records\SynthesizedRecordObjEquals.cs (1)
54var paramAccess = F.Parameter(Parameters[0]);
Symbols\Synthesized\Records\SynthesizedRecordPrintMembers.cs (1)
131BoundParameter builder = F.Parameter(this.Parameters[0]);
Symbols\Synthesized\SynthesizedEmbeddedNativeIntegerAttributeSymbol.cs (1)
97factory.Parameter(parameters.Single())
Symbols\Synthesized\SynthesizedEmbeddedNullableAttributeSymbol.cs (2)
84factory.Parameter(parameters.Single()) 101factory.Parameter(parameters.Single())
Symbols\Synthesized\SynthesizedEmbeddedNullableContextAttributeSymbol.cs (1)
66factory.Parameter(parameters.Single()))));
Symbols\Synthesized\SynthesizedEmbeddedNullablePublicOnlyAttributeSymbol.cs (1)
63factory.Parameter(parameters.Single()))));
Symbols\Synthesized\SynthesizedEmbeddedRefSafetyRulesAttributeSymbol.cs (1)
58factory.Parameter(parameters.Single()))));
Symbols\Synthesized\SynthesizedHotReloadExceptionConstructorSymbol.cs (2)
60factory.Parameter(MessageParameter))), 61factory.Assignment(factory.Field(factory.This(), containingType.CodeField), factory.Parameter(CodeParameter)),
Symbols\Synthesized\SynthesizedInlineArrayAsReadOnlySpanMethod.cs (2)
36f.Parameter(Parameters[0]))), 37f.Parameter(Parameters[1])));
Symbols\Synthesized\SynthesizedInlineArrayAsSpanMethod.cs (2)
34f.Parameter(Parameters[0])), 35f.Parameter(Parameters[1])));
Symbols\Synthesized\SynthesizedInlineArrayElementRefMethod.cs (2)
36f.Parameter(Parameters[0])), 37f.Parameter(Parameters[1])));
Symbols\Synthesized\SynthesizedInlineArrayElementRefReadOnlyMethod.cs (2)
38f.Parameter(Parameters[0]))), 39f.Parameter(Parameters[1])));
Symbols\Synthesized\SynthesizedInlineArrayFirstElementRefMethod.cs (1)
33f.Parameter(Parameters[0])));
Symbols\Synthesized\SynthesizedInlineArrayFirstElementRefReadOnlyMethod.cs (1)
35f.Parameter(Parameters[0]))));
Symbols\Synthesized\SynthesizedThrowSwitchExpressionExceptionMethod.cs (1)
34var body = F.Throw(F.New(F.WellKnownMethod(WellKnownMember.System_Runtime_CompilerServices_SwitchExpressionException__ctorObject), ImmutableArray.Create<BoundExpression>(F.Parameter(unmatchedValue))));