Base:
property
TypeParameters
Microsoft.CodeAnalysis.CSharp.Symbols.MethodSymbol.TypeParameters
16 references to TypeParameters
Microsoft.CodeAnalysis.CSharp (12)
Symbols\Source\SourceOrdinaryMethodSymbol.cs (8)
182
BindTypeParameterConstraintClauses(this,
TypeParameters
, syntax.TypeParameterList, syntax.ConstraintClauses,
323
TypeParameters
,
348
TypeParameters
,
655
MethodSymbol constructedDefinition = definition.ConstructIfGeneric(TypeMap.TypeParametersAsTypeSymbolsWithIgnoredAnnotations(implementation.
TypeParameters
));
758
!definition.
TypeParameters
.SequenceEqual(implementation.
TypeParameters
, (a, b) => a.Name == b.Name);
767
var typeParameters1 = definition.
TypeParameters
;
775
var typeParameters2 = implementation.
TypeParameters
;
Symbols\Source\SourceTypeParameterSymbol.cs (4)
133
var typeParameter = (SourceTypeParameterSymbolBase)implementingPart.
TypeParameters
[_ordinal];
192
var typeParameter = (SourceTypeParameterSymbolBase)sourceMethod.SourcePartialDefinition.
TypeParameters
[_ordinal];
769
var overridingTypeParameters = _overridingMethod.
TypeParameters
;
952
get { return this.Owner.
TypeParameters
; }
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\ExpressionBodiedMemberTests.cs (3)
263
Assert.Equal(1, m.
TypeParameters
.Length);
264
Assert.Equal(m.
TypeParameters
[0], semanticInfo.Type.GetSymbol());
265
Assert.Equal(m.
TypeParameters
[0], m.ReturnType);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\GenericConstraintTests.cs (1)
3414
var constraintType = ((SourceOrdinaryMethodSymbol)m).
TypeParameters
[0].ConstraintTypesNoUseSiteDiagnostics[0].Type;