10 overrides of Ordinal
Microsoft.CodeAnalysis.CSharp (10)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TypeParameterSymbol.cs (1)
57
public override int
Ordinal
Symbols\ErrorTypeSymbol.ErrorTypeParameterSymbol.cs (1)
118
public override int
Ordinal
Symbols\Metadata\PE\PETypeParameterSymbol.cs (1)
111
public override int
Ordinal
Symbols\Source\CrefTypeParameterSymbol.cs (1)
91
public override int
Ordinal
Symbols\Source\IndexedTypeParameterSymbol.cs (1)
119
public override int
Ordinal
Symbols\Source\SourceTypeParameterSymbol.cs (1)
68
public override int
Ordinal
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeParameterSymbol.cs (1)
23
public override int
Ordinal
=> 0;
Symbols\Synthesized\SynthesizedInlineArrayTypeSymbol.cs (1)
215
public override int
Ordinal
=> 0;
Symbols\SynthesizedSimpleMethodTypeParameterSymbol.cs (1)
32
public override int
Ordinal
Symbols\Wrapped\WrappedTypeParameterSymbol.cs (1)
56
public override int
Ordinal
21 references to Ordinal
Microsoft.CodeAnalysis.CSharp (21)
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (3)
491
int ordinal = typeParameter.
Ordinal
;
514
int methodTypeParameterIndex = methodTypeParameter.
Ordinal
;
629
var ordinal = ((TypeParameterSymbol)target.Type).
Ordinal
;
DocumentationComments\DocumentationCommentIDVisitor.PartVisitor.cs (1)
171
builder.Append(symbol.
Ordinal
+ ordinalOffset);
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (3)
448
return otherTypeParameters[symbol.
Ordinal
];
726
Debug.Assert(type.
Ordinal
== other.
Ordinal
);
Emitter\Model\TypeParameterSymbolAdapter.cs (1)
213
return (ushort)AdaptedTypeParameterSymbol.
Ordinal
;
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (2)
392
return x.
Ordinal
- y.
Ordinal
;
Symbols\Compilation_WellKnownMembers.cs (2)
1196
return (typeParam.
Ordinal
== paramPosition);
1210
return (typeParam.
Ordinal
== paramPosition);
Symbols\PublicModel\TypeParameterSymbol.cs (1)
83
int ITypeParameterSymbol.Ordinal => _underlying.
Ordinal
;
Symbols\Retargeting\RetargetingSymbolTranslator.cs (2)
1052
return IndexedTypeParameterSymbol.GetTypeParameter(typeParameter.
Ordinal
);
1062
return retargetedContainingType.TypeParameters[typeParameter.
Ordinal
];
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
194
(args.declaredConstraints[typeParameterSymbol.
Ordinal
].Constraints & (TypeParameterConstraintKind.ReferenceType | TypeParameterConstraintKind.Default)) == 0;
Symbols\Source\TypeParameterConstraintClause.cs (2)
159
TypeParameterConstraintClause constraintClause = constraintClauses[thisTypeParameter.
Ordinal
];
225
TypeParameterConstraintClause constraintClause = constraintClauses[thisTypeParameter.
Ordinal
];
Symbols\SubstitutedMethodSymbol.cs (1)
178
return this.TypeArgumentsWithAnnotations[reducedFromTypeParameter.
Ordinal
].Type;
Symbols\TypeParameterSymbol.cs (1)
678
return Hash.Combine(ContainingSymbol,
Ordinal
);
Symbols\Wrapped\WrappedTypeParameterSymbol.cs (1)
60
return _underlyingTypeParameter.
Ordinal
;