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