1 write to AdaptedTypeParameterSymbol
Microsoft.CodeAnalysis.CSharp (1)
Emitter\Model\TypeParameterSymbolAdapter.cs (1)
392
AdaptedTypeParameterSymbol
= underlyingTypeParameterSymbol;
30 references to AdaptedTypeParameterSymbol
Microsoft.CodeAnalysis.CSharp (30)
Emitter\Model\TypeParameterSymbolAdapter.cs (29)
65
if (
AdaptedTypeParameterSymbol
.ContainingSymbol.Kind == SymbolKind.Method)
78
Debug.Assert(
AdaptedTypeParameterSymbol
.IsDefinition);
80
if (
AdaptedTypeParameterSymbol
.ContainingSymbol.Kind == SymbolKind.Method)
100
if (
AdaptedTypeParameterSymbol
.ContainingSymbol.Kind == SymbolKind.NamedType)
113
Debug.Assert(
AdaptedTypeParameterSymbol
.IsDefinition);
115
if (
AdaptedTypeParameterSymbol
.ContainingSymbol.Kind == SymbolKind.NamedType)
200
Debug.Assert(
AdaptedTypeParameterSymbol
.IsDefinition);
206
get { return
AdaptedTypeParameterSymbol
.MetadataName; }
213
return (ushort)
AdaptedTypeParameterSymbol
.Ordinal;
221
Debug.Assert(
AdaptedTypeParameterSymbol
.IsDefinition);
222
return ((MethodSymbol)
AdaptedTypeParameterSymbol
.ContainingSymbol).GetCciAdapter();
230
Debug.Assert(
AdaptedTypeParameterSymbol
.IsDefinition);
231
return ((NamedTypeSymbol)
AdaptedTypeParameterSymbol
.ContainingSymbol).GetCciAdapter();
240
if (
AdaptedTypeParameterSymbol
.HasUnmanagedTypeConstraint)
257
foreach (var type in
AdaptedTypeParameterSymbol
.ConstraintTypesNoUseSiteDiagnostics)
274
declaringSymbol:
AdaptedTypeParameterSymbol
,
278
if (
AdaptedTypeParameterSymbol
.HasValueTypeConstraint && !seenValueType)
293
return
AdaptedTypeParameterSymbol
.HasReferenceTypeConstraint;
301
return
AdaptedTypeParameterSymbol
.HasValueTypeConstraint ||
AdaptedTypeParameterSymbol
.HasUnmanagedTypeConstraint;
309
return
AdaptedTypeParameterSymbol
.AllowsRefLikeType;
320
return
AdaptedTypeParameterSymbol
.HasConstructorConstraint ||
AdaptedTypeParameterSymbol
.HasValueTypeConstraint ||
AdaptedTypeParameterSymbol
.HasUnmanagedTypeConstraint;
328
switch (
AdaptedTypeParameterSymbol
.Variance)
337
throw ExceptionUtilities.UnexpectedValue(
AdaptedTypeParameterSymbol
.Variance);
347
return ((MethodSymbol)
AdaptedTypeParameterSymbol
.ContainingSymbol).GetCciAdapter();
356
return ((NamedTypeSymbol)
AdaptedTypeParameterSymbol
.ContainingSymbol).GetCciAdapter();
395
internal sealed override Symbol AdaptedSymbol =>
AdaptedTypeParameterSymbol
;
Emitter\NoPia\EmbeddedTypeParameter.cs (1)
24
Debug.Assert(underlyingTypeParameter.
AdaptedTypeParameterSymbol
.IsDefinition);