7 overrides of Ordinal
Microsoft.CodeAnalysis.CSharp (7)
Symbols\FunctionPointers\FunctionPointerParameterSymbol.cs (1)
28
public override int
Ordinal
{ get; }
Symbols\Metadata\PE\PEParameterSymbol.cs (1)
488
public override int
Ordinal
Symbols\SignatureOnlyParameterSymbol.cs (1)
71
public override int
Ordinal
{ get { throw ExceptionUtilities.Unreachable(); } }
Symbols\Source\SourceParameterSymbolBase.cs (1)
52
public sealed override int
Ordinal
Symbols\Source\ThisParameterSymbol.cs (1)
83
public sealed override int
Ordinal
Symbols\Synthesized\SynthesizedParameterSymbol.cs (1)
58
public override int
Ordinal
Symbols\Wrapped\WrappedParameterSymbol.cs (1)
84
public override int
Ordinal
35 references to Ordinal
Microsoft.CodeAnalysis.CSharp (35)
Binder\Binder.ValueChecks.cs (1)
2722
parameterName = parameter.
Ordinal
.ToString();
Binder\Binder_Expressions.cs (2)
3701
if (memberAnalysisResult.Kind == MemberResolutionKind.ApplicableInExpandedForm && correspondingParameter.
Ordinal
== parameters.Length - 1)
4990
if (baseParameter.
Ordinal
== resultMember.ParameterCount - 1)
Binder\Binder_Invocation.cs (5)
1483
visitedParameters[parameter.
Ordinal
] = true;
1485
if (expanded && parameter.
Ordinal
== paramsIndex)
1490
GetCorrespondingParameter(i + 1, parameters, argsToParamsOpt, expanded: true)?.
Ordinal
!= paramsIndex);
1543
if (!visitedParameters[parameter.
Ordinal
])
1555
argsToParamsBuilder?.Add(parameter.
Ordinal
);
Binder\Semantics\OverloadResolution\OverloadResolution.cs (3)
2532
if ((parameter1.
Ordinal
== m1ParamsOrdinal) != (parameter2.
Ordinal
== m2ParamsOrdinal))
2565
parameter.
Ordinal
== parameters.Length - 1)
BoundTree\BoundDagTest.cs (1)
70
result += $"Item{param.
Ordinal
+ 1}";
CodeGen\EmitExpression.cs (2)
1382
int slot = sym.
Ordinal
;
3565
_builder.EmitIntConstant(node.Parameter.
Ordinal
);
Compiler\MethodCompiler.cs (1)
1234
foreach (var (parameter, field) in capturedParameters.OrderBy(pair => pair.Key.
Ordinal
))
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (2)
654
Debug.Assert(parameter.
Ordinal
== other.
Ordinal
);
Emitter\Model\ParameterSymbolAdapter.cs (1)
64
return (ushort)AdaptedParameterSymbol.
Ordinal
;
Emitter\Model\ParameterTypeInformation.cs (1)
60
return (ushort)_underlyingParameter.
Ordinal
;
FlowAnalysis\NullableWalker.cs (3)
6947
(!compareExchangeInfo.IsDefault && parameter.
Ordinal
== 0) ? compareExchangeInfo : default);
7801
if (expanded && parameter.
Ordinal
== parametersOpt.Length - 1)
8735
unboundLambda.ParameterName(parameterSymbol.
Ordinal
),
Lowering\ClosureConversion\ClosureConversion.cs (1)
1553
_parameterMap.Add(parameter, synthesizedMethod.Parameters[parameter.
Ordinal
]);
Lowering\Instrumentation\LocalStateTracingInstrumenter.cs (1)
316
MakeStoreLoggerArguments(parameterLogger.Parameters[0], parameter, parameter.Type, _factory.Parameter(parameter), refAssignmentSourceIndex: null, _factory.Literal((ushort)parameter.
Ordinal
)))));
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (1)
470
originalParam.
Ordinal
,
Symbols\PublicModel\ParameterSymbol.cs (1)
75
int IParameterSymbol.Ordinal => _underlying.
Ordinal
;
Symbols\ReducedExtensionMethodSymbol.cs (3)
624
Debug.Assert(underlyingParameter.
Ordinal
> 0);
635
get { return this._underlyingParameter.
Ordinal
- 1; }
699
return Hash.Combine(ContainingSymbol, _underlyingParameter.
Ordinal
);
Symbols\Source\ParameterHelpers.cs (1)
195
ReportParameterErrors(owner, parameterSyntax, parameter.
Ordinal
, lastParameterIndex: lastIndex, parameter.IsParams, parameter.TypeWithAnnotations,
Symbols\Source\SourceMemberContainerSymbol.cs (1)
4589
builder.AddInstanceInitializerForPositionalMembers(new FieldOrPropertyInitializer(property.BackingField, paramList.Parameters[param.
Ordinal
]));
Symbols\SubstitutedParameterSymbol.cs (1)
121
return Roslyn.Utilities.Hash.Combine(ContainingSymbol, _underlyingParameter.
Ordinal
);
Symbols\Synthesized\Records\SynthesizedPrimaryConstructor.cs (1)
120
return capturedParameters.OrderBy(static pair => pair.Key.
Ordinal
).Select(static pair => pair.Value);
Symbols\Synthesized\SynthesizedParameterSymbol.cs (1)
312
oldParam.
Ordinal
,
Symbols\Wrapped\WrappedParameterSymbol.cs (1)
86
get { return _underlyingParameter.
Ordinal
; }