1 write to AdaptedTypeParameterSymbol
Microsoft.CodeAnalysis.CSharp (1)
Emitter\Model\TypeParameterSymbolAdapter.cs (1)
381
AdaptedTypeParameterSymbol
= underlyingTypeParameterSymbol;
34 references to AdaptedTypeParameterSymbol
Microsoft.CodeAnalysis.CSharp (34)
Emitter\Model\TypeParameterSymbolAdapter.cs (28)
62
if (
AdaptedTypeParameterSymbol
.ContainingSymbol.Kind == SymbolKind.Method)
75
Debug.Assert(
AdaptedTypeParameterSymbol
.IsDefinition);
77
if (
AdaptedTypeParameterSymbol
.ContainingSymbol.Kind == SymbolKind.Method)
97
if (
AdaptedTypeParameterSymbol
.ContainingSymbol.Kind == SymbolKind.NamedType)
110
Debug.Assert(
AdaptedTypeParameterSymbol
.IsDefinition);
112
if (
AdaptedTypeParameterSymbol
.ContainingSymbol.Kind == SymbolKind.NamedType)
197
Debug.Assert(
AdaptedTypeParameterSymbol
.IsDefinition);
203
get { return
AdaptedTypeParameterSymbol
.MetadataName; }
210
return (ushort)
AdaptedTypeParameterSymbol
.Ordinal;
218
Debug.Assert(
AdaptedTypeParameterSymbol
.IsDefinition);
219
return ((MethodSymbol)
AdaptedTypeParameterSymbol
.ContainingSymbol).GetCciAdapter();
227
Debug.Assert(
AdaptedTypeParameterSymbol
.IsDefinition);
228
return ((NamedTypeSymbol)
AdaptedTypeParameterSymbol
.ContainingSymbol).GetCciAdapter();
237
if (
AdaptedTypeParameterSymbol
.HasUnmanagedTypeConstraint)
254
foreach (var type in
AdaptedTypeParameterSymbol
.ConstraintTypesNoUseSiteDiagnostics)
271
declaringSymbol:
AdaptedTypeParameterSymbol
,
275
if (
AdaptedTypeParameterSymbol
.HasValueTypeConstraint && !seenValueType)
290
return
AdaptedTypeParameterSymbol
.HasReferenceTypeConstraint;
298
return
AdaptedTypeParameterSymbol
.HasValueTypeConstraint ||
AdaptedTypeParameterSymbol
.HasUnmanagedTypeConstraint;
309
return
AdaptedTypeParameterSymbol
.HasConstructorConstraint ||
AdaptedTypeParameterSymbol
.HasValueTypeConstraint ||
AdaptedTypeParameterSymbol
.HasUnmanagedTypeConstraint;
317
switch (
AdaptedTypeParameterSymbol
.Variance)
326
throw ExceptionUtilities.UnexpectedValue(
AdaptedTypeParameterSymbol
.Variance);
336
return ((MethodSymbol)
AdaptedTypeParameterSymbol
.ContainingSymbol).GetCciAdapter();
345
return ((NamedTypeSymbol)
AdaptedTypeParameterSymbol
.ContainingSymbol).GetCciAdapter();
384
internal sealed override Symbol AdaptedSymbol =>
AdaptedTypeParameterSymbol
;
Emitter\NoPia\EmbeddedTypeParameter.cs (6)
24
Debug.Assert(underlyingTypeParameter.
AdaptedTypeParameterSymbol
.IsDefinition);
36
return UnderlyingTypeParameter.
AdaptedTypeParameterSymbol
.HasReferenceTypeConstraint;
44
return UnderlyingTypeParameter.
AdaptedTypeParameterSymbol
.HasValueTypeConstraint;
52
return UnderlyingTypeParameter.
AdaptedTypeParameterSymbol
.HasConstructorConstraint;
58
get { return UnderlyingTypeParameter.
AdaptedTypeParameterSymbol
.MetadataName; }
65
return (ushort)UnderlyingTypeParameter.
AdaptedTypeParameterSymbol
.Ordinal;