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