17 overrides of TypeParameters
Microsoft.CodeAnalysis.CSharp (17)
Symbols\AnonymousTypes\PublicSymbols\AnonymousManager.TypeOrDelegatePublicSymbol.cs (1)
90
public sealed override ImmutableArray<TypeParameterSymbol>
TypeParameters
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.DelegateTemplateSymbol.cs (1)
244
public override ImmutableArray<TypeParameterSymbol>
TypeParameters
{ get; }
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TemplateSymbol.cs (1)
150
public override ImmutableArray<TypeParameterSymbol>
TypeParameters
Symbols\ErrorTypeSymbol.cs (1)
311
public override ImmutableArray<TypeParameterSymbol>
TypeParameters
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
1644
public override ImmutableArray<TypeParameterSymbol>
TypeParameters
Symbols\NativeIntegerTypeSymbol.cs (1)
38
public override ImmutableArray<TypeParameterSymbol>
TypeParameters
=> ImmutableArray<TypeParameterSymbol>.Empty;
Symbols\Retargeting\RetargetingNamedTypeSymbol.cs (1)
63
public override ImmutableArray<TypeParameterSymbol>
TypeParameters
Symbols\Source\ImplicitNamedTypeSymbol.cs (1)
86
public override ImmutableArray<TypeParameterSymbol>
TypeParameters
Symbols\Source\SourceNamedTypeSymbol.cs (1)
743
public override ImmutableArray<TypeParameterSymbol>
TypeParameters
Symbols\SubstitutedNamedTypeSymbol.cs (1)
88
public sealed override ImmutableArray<TypeParameterSymbol>
TypeParameters
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListEnumeratorTypeSymbol.cs (1)
122
public override ImmutableArray<TypeParameterSymbol>
TypeParameters
=> ImmutableArray<TypeParameterSymbol>.Empty;
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeSymbol.cs (1)
799
public override ImmutableArray<TypeParameterSymbol>
TypeParameters
{ get; }
Symbols\Synthesized\SynthesizedContainer.cs (1)
82
public sealed override ImmutableArray<TypeParameterSymbol>
TypeParameters
=> _typeParameters;
Symbols\Synthesized\SynthesizedEmbeddedAttributeSymbol.cs (1)
56
public override ImmutableArray<TypeParameterSymbol>
TypeParameters
=> ImmutableArray<TypeParameterSymbol>.Empty;
Symbols\Synthesized\SynthesizedHotReloadExceptionSymbol.cs (1)
85
public override ImmutableArray<TypeParameterSymbol>
TypeParameters
=> [];
Symbols\Synthesized\SynthesizedInlineArrayTypeSymbol.cs (1)
47
public override ImmutableArray<TypeParameterSymbol>
TypeParameters
{ get; }
Symbols\Synthesized\SynthesizedPrivateImplementationDetailsType.cs (1)
40
public override ImmutableArray<TypeParameterSymbol>
TypeParameters
=> ImmutableArray<TypeParameterSymbol>.Empty;
46 references to TypeParameters
Microsoft.CodeAnalysis.CSharp (46)
Binder\Binder_Conversions.cs (1)
648
((NamedTypeSymbol)method.ReturnType).TypeArgumentsWithAnnotationsNoUseSiteDiagnostics[0].Type.Equals(((NamedTypeSymbol)arg.destination).
TypeParameters
[0], TypeCompareKind.ConsiderEverything));
Binder\Binder_Expressions.cs (4)
2573
Error(diagnostics, ErrorCode.ERR_ValConstraintNotSatisfied, node, nullableType, nullableType.
TypeParameters
.Single(), indexType);
2653
Error(diagnostics, ErrorCode.ERR_ValConstraintNotSatisfied, node, nullableType, nullableType.
TypeParameters
.Single(), rangeType);
2680
Error(diagnostics, ErrorCode.ERR_ValConstraintNotSatisfied, operand, nullableType, nullableType.
TypeParameters
.Single(), indexType);
10884
var typeParameters = delegateType.
TypeParameters
;
Binder\Binder_Symbols.cs (2)
1226
unconstructedType.
TypeParameters
,
1238
resultType = unconstructedType.Construct(PlaceholderTypeArgumentSymbol.CreateTypeArguments(unconstructedType.
TypeParameters
));
Binder\Semantics\Conversions\ConversionsBase.cs (2)
3244
TypeParameters
: { Length: 1 }
3691
switch (original.
TypeParameters
[i].Variance)
Binder\WithClassTypeParametersBinder.cs (2)
42
foreach (TypeParameterSymbol tps in _namedType.
TypeParameters
)
56
foreach (var parameter in _namedType.
TypeParameters
)
Compilation\SyntaxTreeSemanticModel.cs (1)
2164
return this.GetTypeParameterSymbol(typeSymbol.
TypeParameters
, typeParameter).GetPublicSymbol();
Compiler\ClsComplianceChecker.cs (1)
252
CheckTypeParameterCompliance(symbol.
TypeParameters
, symbol);
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (2)
443
SymbolKind.NamedType or SymbolKind.ErrorType => ((NamedTypeSymbol)otherContainer).
TypeParameters
,
636
var typeParameters = type.
TypeParameters
;
Emitter\Model\NamedTypeSymbolAdapter.cs (1)
459
foreach (var t in AdaptedNamedTypeSymbol.
TypeParameters
)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TypeOrDelegateTemplateSymbol.cs (1)
257
get { return
TypeParameters
.Length; }
Symbols\ConstraintsHelper.cs (1)
846
type.OriginalDefinition.
TypeParameters
,
Symbols\ConstructedNamedTypeSymbol.cs (1)
64
map: new TypeMap(constructedFrom.ContainingType, constructedFrom.OriginalDefinition.
TypeParameters
, typeArgumentsWithAnnotations),
Symbols\ErrorTypeSymbol.cs (1)
667
_map = new TypeMap(constructedFrom.ContainingType, constructedFrom.OriginalDefinition.
TypeParameters
, typeArgumentsWithAnnotations);
Symbols\MemberSymbolExtensions.cs (1)
330
return ((NamedTypeSymbol)symbol).
TypeParameters
;
Symbols\Metadata\PE\MemberRefMetadataDecoder.cs (1)
106
typeArgument = namedType.
TypeParameters
[position - arityOffset];
Symbols\NamedTypeSymbol.cs (4)
1047
var typeParameters = definition.
TypeParameters
;
1216
if (ConstructedNamedTypeSymbol.TypeParametersMatchTypeArguments(this.
TypeParameters
, typeArguments))
1318
return TypeMap.TypeParametersAsTypeSymbolsWithAnnotations(this.
TypeParameters
);
1470
GetUnificationUseSiteDiagnosticRecursive(ref result, this.
TypeParameters
, owner, ref checkedTypes);
Symbols\PublicModel\NamedTypeSymbol.cs (1)
68
return UnderlyingNamedTypeSymbol.
TypeParameters
.GetPublicSymbols();
Symbols\Retargeting\RetargetingNamedTypeSymbol.cs (1)
76
this.RetargetingTranslator.Retarget(_underlyingType.
TypeParameters
), default(ImmutableArray<TypeParameterSymbol>));
Symbols\Retargeting\RetargetingSymbolTranslator.cs (2)
572
newParameters.AddRange(genericType.
TypeParameters
);
1062
return retargetedContainingType.
TypeParameters
[typeParameter.Ordinal];
Symbols\Source\SourceMemberContainerSymbol.cs (4)
592
foreach (var typeParameter in this.
TypeParameters
)
2182
foreach (TypeParameterSymbol typeParameter in this.
TypeParameters
)
2298
foreach (var tp in
TypeParameters
)
5292
foreach (var typeParameter in
TypeParameters
)
Symbols\SubstitutedNamedTypeSymbol.cs (2)
66
_lazyTypeParameters = constructedFrom.
TypeParameters
;
114
typeParameters = prevMap.SubstituteTypeParameters(OriginalDefinition.
TypeParameters
);
Symbols\SymbolExtensions.cs (2)
35
Debug.Assert(type.
TypeParameters
.IsEmpty == (typeArguments.Length == 0));
36
return type.
TypeParameters
.IsEmpty ? type : type.Construct(typeArguments, unbound: false);
Symbols\TypeMap.cs (1)
142
return WithAlphaRename(oldOwner.OriginalDefinition.
TypeParameters
, newOwner, out newTypeParameters);
Symbols\TypeSymbolExtensions.cs (3)
1614
var typeParameters = type.OriginalDefinition.
TypeParameters
;
1689
return type.
TypeParameters
;
1709
result.AddRange(type.
TypeParameters
);
Symbols\UnboundGenericType.cs (1)
40
constructedFrom.
TypeParameters
,
Symbols\VarianceSafety.cs (3)
91
Debug.Assert(container.
TypeParameters
.Any(static tp => tp.Variance != VarianceKind.None));
108
if (container.
TypeParameters
.Any(static tp => tp.Variance != VarianceKind.None))
385
TypeParameterSymbol typeParam = namedType.
TypeParameters
[i];