30 overrides of TypeParameters
Microsoft.CodeAnalysis.CSharp (30)
Lowering\IteratorRewriter\IteratorFinallyMethodSymbol.cs (1)
159public override ImmutableArray<TypeParameterSymbol> TypeParameters
Lowering\SynthesizedMethodBaseSymbol.cs (1)
91public sealed override ImmutableArray<TypeParameterSymbol> TypeParameters
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.SynthesizedMethodBase.cs (1)
113public sealed override ImmutableArray<TypeParameterSymbol> TypeParameters
Symbols\ErrorMethodSymbol.cs (1)
148public override ImmutableArray<TypeParameterSymbol> TypeParameters
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (1)
820public override ImmutableArray<TypeParameterSymbol> TypeParameters => ImmutableArray<TypeParameterSymbol>.Empty;
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
906public override ImmutableArray<TypeParameterSymbol> TypeParameters
Symbols\NativeIntegerTypeSymbol.cs (1)
351public override ImmutableArray<TypeParameterSymbol> TypeParameters => ImmutableArray<TypeParameterSymbol>.Empty;
Symbols\ReducedExtensionMethodSymbol.cs (1)
286public override ImmutableArray<TypeParameterSymbol> TypeParameters
Symbols\Retargeting\RetargetingMethodSymbol.cs (1)
93public override ImmutableArray<TypeParameterSymbol> TypeParameters
Symbols\SignatureOnlyMethodSymbol.cs (1)
71public override ImmutableArray<TypeParameterSymbol> TypeParameters { get { return _typeParameters; } }
Symbols\Source\LambdaSymbol.cs (1)
192public override ImmutableArray<TypeParameterSymbol> TypeParameters
Symbols\Source\LocalFunctionSymbol.cs (1)
311public override ImmutableArray<TypeParameterSymbol> TypeParameters
Symbols\Source\SourceConstructorSymbolBase.cs (1)
132public sealed override ImmutableArray<TypeParameterSymbol> TypeParameters
Symbols\Source\SourceDelegateMethodSymbol.cs (1)
144public override ImmutableArray<TypeParameterSymbol> TypeParameters
Symbols\Source\SourceDestructorSymbol.cs (1)
109public override ImmutableArray<TypeParameterSymbol> TypeParameters
Symbols\Source\SourceEventAccessorSymbol.cs (1)
186public sealed override ImmutableArray<TypeParameterSymbol> TypeParameters
Symbols\Source\SourceOrdinaryMethodSymbolBase.cs (1)
79public abstract override ImmutableArray<TypeParameterSymbol> TypeParameters { get; }
Symbols\Source\SourcePropertyAccessorSymbol.cs (1)
334public sealed override ImmutableArray<TypeParameterSymbol> TypeParameters
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (1)
777public sealed override ImmutableArray<TypeParameterSymbol> TypeParameters
Symbols\SubstitutedMethodSymbol.cs (1)
91public sealed override ImmutableArray<TypeParameterSymbol> TypeParameters
Symbols\Synthesized\SynthesizedDelegateSymbol.cs (1)
176public override ImmutableArray<TypeParameterSymbol> TypeParameters
Symbols\Synthesized\SynthesizedEntryPointSymbol.cs (1)
92public override ImmutableArray<TypeParameterSymbol> TypeParameters
Symbols\Synthesized\SynthesizedGlobalMethodSymbol.cs (1)
158public override ImmutableArray<TypeParameterSymbol> TypeParameters
Symbols\Synthesized\SynthesizedImplementationMethod.cs (1)
86public sealed override ImmutableArray<TypeParameterSymbol> TypeParameters
Symbols\Synthesized\SynthesizedInstanceConstructor.cs (1)
132public sealed override ImmutableArray<TypeParameterSymbol> TypeParameters
Symbols\Synthesized\SynthesizedInteractiveInitializerMethod.cs (1)
163public override ImmutableArray<TypeParameterSymbol> TypeParameters
Symbols\Synthesized\SynthesizedIntrinsicOperatorSymbol.cs (1)
246public override ImmutableArray<TypeParameterSymbol> TypeParameters
Symbols\Synthesized\SynthesizedSealedPropertyAccessor.cs (1)
209public override ImmutableArray<TypeParameterSymbol> TypeParameters
Symbols\Synthesized\SynthesizedSimpleProgramEntryPointSymbol.cs (1)
131public override ImmutableArray<TypeParameterSymbol> TypeParameters
Symbols\Synthesized\SynthesizedStaticConstructor.cs (1)
64public override ImmutableArray<TypeParameterSymbol> TypeParameters
53 references to TypeParameters
Microsoft.CodeAnalysis.CSharp (53)
Binder\InMethodBinder.cs (1)
325var typeParameters = _methodSymbol.TypeParameters;
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (1)
3214constructedFromMethod.TypeParameters,
Binder\Semantics\OverloadResolution\OverloadResolution.cs (2)
4219leastOverriddenMethod.ConstructedFrom.TypeParameters, 4274var map = new TypeMap(leastOverriddenMethod.TypeParameters, typeArguments, allowAlpha: true);
Binder\WithMethodTypeParametersBinder.cs (2)
44foreach (var typeParameter in _methodSymbol.TypeParameters) 68foreach (var parameter in _methodSymbol.TypeParameters)
Compilation\SyntaxTreeSemanticModel.cs (1)
2167return this.GetTypeParameterSymbol(methodSymbol.TypeParameters, typeParameter).GetPublicSymbol();
Compiler\ClsComplianceChecker.cs (1)
331CheckTypeParameterCompliance(symbol.TypeParameters, symbol.ContainingType);
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (4)
444SymbolKind.Method => ((MethodSymbol)otherContainer).TypeParameters, 604method.TypeParameters.SequenceEqual(other.TypeParameters, AreTypesEqual); 611var typeParameters = method.TypeParameters;
Emitter\Model\MethodSymbolAdapter.cs (1)
337foreach (var @param in AdaptedMethodSymbol.TypeParameters)
FlowAnalysis\NullableWalker.cs (1)
7855definition.TypeParameters,
Lowering\ClosureConversion\ClosureConversion.cs (1)
185_currentTypeParameters = method.TypeParameters;
Lowering\Instrumentation\ModuleCancellationInstrumenter.cs (4)
193var typeMap = (methodDefinition.Arity > 0) ? new TypeMap(overload.TypeParameters, methodDefinition.TypeParameters) : null; 210methodDefinition.TypeParameters, 212overload.TypeParameters,
Lowering\LocalRewriter\DelegateCacheRewriter.cs (1)
178if (usedTypeParametersContains(usedTypeParameters, enclosingMethod.TypeParameters))
Symbols\ConstraintsHelper.cs (1)
865((MethodSymbol)method.OriginalDefinition).TypeParameters,
Symbols\ConstructedMethodSymbol.cs (1)
20map: new TypeMap(constructedFrom.ContainingType, ((MethodSymbol)constructedFrom.OriginalDefinition).TypeParameters, typeArgumentsWithAnnotations),
Symbols\MemberSymbolExtensions.cs (1)
327return ((MethodSymbol)symbol).TypeParameters;
Symbols\Metadata\PE\MemberRefMetadataDecoder.cs (1)
228candidateMethod.TypeParameters,
Symbols\MethodSymbol.cs (3)
273return TypeMap.TypeParametersAsTypeSymbolsWithAnnotations(TypeParameters); 879if (ConstructedNamedTypeSymbol.TypeParametersMatchTypeArguments(this.TypeParameters, typeArguments)) 976GetUnificationUseSiteDiagnosticRecursive(ref diagnosticInfo, this.TypeParameters, this, ref unificationCheckedTypes))
Symbols\PublicModel\MethodSymbol.cs (1)
118return _underlying.TypeParameters.GetPublicSymbols();
Symbols\ReducedExtensionMethodSymbol.cs (2)
174var typeParams = method.TypeParameters; 234method.TypeParameters,
Symbols\Retargeting\RetargetingMethodSymbol.cs (1)
106this.RetargetingTranslator.Retarget(_underlyingMethod.TypeParameters), default(ImmutableArray<TypeParameterSymbol>));
Symbols\Source\ParameterHelpers.cs (1)
208methodOwner.TypeParameters :
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
983overriddenMethod = overriddenMethod.Construct(TypeMap.TypeParametersAsTypeSymbolsWithIgnoredAnnotations(overridingMethod.TypeParameters));
Symbols\Source\SourceMemberMethodSymbol.cs (3)
810return TypeParameters.Length; 906foreach (var typeParameter in this.TypeParameters) 990foreach (var typeParameter in TypeParameters)
Symbols\Source\SourceMethodSymbol.cs (2)
21/// array of types, indexed by the constrained type parameter in <see cref="MethodSymbol.TypeParameters"/>. 27/// array of kinds, indexed by the constrained type parameter in <see cref="MethodSymbol.TypeParameters"/>.
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
676overriddenOrExplicitlyImplementedMethod.TypeParameters[i], overriddenOrExplicitlyImplementedMethod);
Symbols\Source\SourceTypeParameterSymbol.cs (3)
727get { return _owner.TypeParameters; } 779return ((object)overriddenMethod != null) ? overriddenMethod.TypeParameters[ordinal] : null; 791var overriddenTypeParameters = overriddenMethod.TypeParameters;
Symbols\SubstitutedMethodSymbol.cs (3)
57_lazyTypeParameters = constructedFrom.TypeParameters; 118typeParameters = prevMap.SubstituteTypeParameters(this.OriginalDefinition.TypeParameters); 409var typeParameters = method.OriginalDefinition.TypeParameters;
Symbols\SubstitutedTypeParameterSymbol.cs (1)
71return reducedFrom.TypeParameters[this.Ordinal];
Symbols\TypeMap.cs (2)
148return WithAlphaRename(oldOwner.OriginalDefinition.TypeParameters, newOwner, out newTypeParameters); 176var currentParameters = oldOwner.OriginalDefinition.TypeParameters;
Symbols\TypeSymbol.cs (4)
1604interfaceMethod.TypeParameters, 1946implementedMethod = implementedMethod.Construct(TypeMap.TypeParametersAsTypeSymbolsWithIgnoredAnnotations(implementingMethod.TypeParameters)); 2094var typeParameters1 = interfaceMethod.TypeParameters; 2095var typeParameters2 = implicitImpl.TypeParameters;
Symbols\VarianceSafety.cs (1)
157CheckTypeParametersVarianceSafety(method.TypeParameters, method, diagnostics);