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