3 references to GetOrdinal
Microsoft.CodeAnalysis.CSharp (3)
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (3)
506
int ordinal =
GetOrdinal
(typeParameter);
539
int methodTypeParameterIndex =
GetOrdinal
(methodTypeParameter);
654
var ordinal =
GetOrdinal
((TypeParameterSymbol)target.Type); // Tracked by https://github.com/dotnet/roslyn/issues/76130 : test nullability scenario where the override of ordinals matters