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