1 write to _underlyingTypeParameter
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Wrapped\WrappedTypeParameterSymbol.cs (1)
34_underlyingTypeParameter = underlyingTypeParameter;
41 references to _underlyingTypeParameter
Microsoft.CodeAnalysis.CSharp (41)
Symbols\Retargeting\RetargetingTypeParameterSymbol.cs (7)
61return this.RetargetingTranslator.Retarget(_underlyingTypeParameter.ContainingSymbol); 67return this.RetargetingTranslator.GetRetargetedAttributes(_underlyingTypeParameter.GetAttributes(), ref _lazyCustomAttributes); 88return this.RetargetingTranslator.Retarget(_underlyingTypeParameter.GetConstraintTypes(inProgress)); 95return _underlyingTypeParameter.IsNotNullable; 101return this.RetargetingTranslator.Retarget(_underlyingTypeParameter.GetInterfaces(inProgress)); 106return this.RetargetingTranslator.Retarget(_underlyingTypeParameter.GetEffectiveBaseClass(inProgress), RetargetOptions.RetargetPrimitiveTypesByTypeCode); 111return this.RetargetingTranslator.Retarget(_underlyingTypeParameter.GetDeducedBaseType(inProgress), RetargetOptions.RetargetPrimitiveTypesByTypeCode);
Symbols\SubstitutedTypeParameterSymbol.cs (11)
23Debug.Assert(ContainingSymbol.OriginalDefinition == _underlyingTypeParameter.ContainingSymbol.OriginalDefinition); 31=> _underlyingTypeParameter.OriginalDefinition; 109_map.SubstituteConstraintTypesDistinctWithoutModifiers(_underlyingTypeParameter, _underlyingTypeParameter.GetConstraintTypes(inProgress), constraintTypes, null); 162if (_underlyingTypeParameter.ConstraintTypesNoUseSiteDiagnostics.IsEmpty) 164return _underlyingTypeParameter.IsNotNullable; 169_map.SubstituteConstraintTypesDistinctWithoutModifiers(_underlyingTypeParameter, _underlyingTypeParameter.GetConstraintTypes(ConsList<TypeParameterSymbol>.Empty), constraintTypes, null); 179return _map.SubstituteNamedTypes(_underlyingTypeParameter.GetInterfaces(inProgress)); 184return _map.SubstituteNamedType(_underlyingTypeParameter.GetEffectiveBaseClass(inProgress)); 189return _map.SubstituteType(_underlyingTypeParameter.GetDeducedBaseType(inProgress)).AsTypeSymbolOnly();
Symbols\Synthesized\SynthesizedTypeParameterSymbol.cs (3)
28Debug.Assert(ContainingSymbol.OriginalDefinition != _underlyingTypeParameter.ContainingSymbol.OriginalDefinition); 51var definition = _underlyingTypeParameter.OriginalDefinition; 76return _underlyingTypeParameter.GetAttributes();
Symbols\Wrapped\WrappedTypeParameterSymbol.cs (20)
41return _underlyingTypeParameter; 47get { return _underlyingTypeParameter.IsImplicitlyDeclared; } 54return _underlyingTypeParameter.TypeParameterKind; 62return _underlyingTypeParameter.Ordinal; 70return _underlyingTypeParameter.HasConstructorConstraint; 78return _underlyingTypeParameter.HasReferenceTypeConstraint; 86return _underlyingTypeParameter.IsReferenceTypeFromConstraintTypes || CalculateIsReferenceTypeFromConstraintTypes(ConstraintTypesNoUseSiteDiagnostics); 94return _underlyingTypeParameter.ReferenceTypeConstraintIsNullable; 102return _underlyingTypeParameter.HasNotNullConstraint; 110return _underlyingTypeParameter.HasUnmanagedTypeConstraint; 118return _underlyingTypeParameter.HasValueTypeConstraint; 126return _underlyingTypeParameter.AllowsRefLikeType; 134return _underlyingTypeParameter.IsValueTypeFromConstraintTypes || CalculateIsValueTypeFromConstraintTypes(ConstraintTypesNoUseSiteDiagnostics); 142return _underlyingTypeParameter.Variance; 150return _underlyingTypeParameter.Locations; 158return _underlyingTypeParameter.DeclaringSyntaxReferences; 166return _underlyingTypeParameter.Name; 172return _underlyingTypeParameter.GetDocumentationCommentXml(preferredCulture, expandIncludes, cancellationToken); 177_underlyingTypeParameter.EnsureAllConstraintsAreResolved(); 182return _underlyingTypeParameter.GetAttributes();