1 write to _underlying
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\TypeParameterSymbol.cs (1)
20_underlying = underlying;
23 references to _underlying
Microsoft.CodeAnalysis.CSharp (23)
Symbols\PublicModel\TypeParameterSymbol.cs (23)
25Debug.Assert(nullableAnnotation != _underlying.DefaultNullableAnnotation); 27return new TypeParameterSymbol(_underlying, nullableAnnotation); 30internal override Symbols.TypeSymbol UnderlyingTypeSymbol => _underlying; 31internal override CSharp.Symbol UnderlyingSymbol => _underlying; 32internal override Symbols.NamespaceOrTypeSymbol UnderlyingNamespaceOrTypeSymbol => _underlying; 33internal Symbols.TypeParameterSymbol UnderlyingTypeParameterSymbol => _underlying; 36_underlying.ReferenceTypeConstraintIsNullable switch 38false when !_underlying.HasReferenceTypeConstraint => CodeAnalysis.NullableAnnotation.None, 48return _underlying.TypeParameterKind; 54get { return _underlying.DeclaringMethod.GetPublicSymbol(); } 59get { return _underlying.DeclaringType.GetPublicSymbol(); } 66return _underlying.ConstraintTypesNoUseSiteDiagnostics.GetPublicSymbols(); 71_underlying.ConstraintTypesNoUseSiteDiagnostics.ToPublicAnnotations(); 75get { return _underlying.OriginalDefinition.GetPublicSymbol(); } 80get { return _underlying.ReducedFrom.GetPublicSymbol(); } 83int ITypeParameterSymbol.Ordinal => _underlying.Ordinal; 85VarianceKind ITypeParameterSymbol.Variance => _underlying.Variance; 87bool ITypeParameterSymbol.HasReferenceTypeConstraint => _underlying.HasReferenceTypeConstraint; 89bool ITypeParameterSymbol.HasValueTypeConstraint => _underlying.HasValueTypeConstraint; 91bool ITypeParameterSymbol.AllowsRefLikeType => _underlying.AllowsRefLikeType; 93bool ITypeParameterSymbol.HasUnmanagedTypeConstraint => _underlying.HasUnmanagedTypeConstraint; 95bool ITypeParameterSymbol.HasNotNullConstraint => _underlying.HasNotNullConstraint; 97bool ITypeParameterSymbol.HasConstructorConstraint => _underlying.HasConstructorConstraint;