1 write to _underlyingTypeParameter
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Wrapped\WrappedTypeParameterSymbol.cs (1)
32
_underlyingTypeParameter
= underlyingTypeParameter;
39 references to _underlyingTypeParameter
Microsoft.CodeAnalysis.CSharp (39)
Symbols\Retargeting\RetargetingTypeParameterSymbol.cs (7)
59
return this.RetargetingTranslator.Retarget(
_underlyingTypeParameter
.ContainingSymbol);
65
return this.RetargetingTranslator.GetRetargetedAttributes(
_underlyingTypeParameter
.GetAttributes(), ref _lazyCustomAttributes);
86
return this.RetargetingTranslator.Retarget(
_underlyingTypeParameter
.GetConstraintTypes(inProgress));
93
return
_underlyingTypeParameter
.IsNotNullable;
99
return this.RetargetingTranslator.Retarget(
_underlyingTypeParameter
.GetInterfaces(inProgress));
104
return this.RetargetingTranslator.Retarget(
_underlyingTypeParameter
.GetEffectiveBaseClass(inProgress), RetargetOptions.RetargetPrimitiveTypesByTypeCode);
109
return this.RetargetingTranslator.Retarget(
_underlyingTypeParameter
.GetDeducedBaseType(inProgress), RetargetOptions.RetargetPrimitiveTypesByTypeCode);
Symbols\SubstitutedTypeParameterSymbol.cs (11)
56
ContainingSymbol.OriginalDefinition !=
_underlyingTypeParameter
.ContainingSymbol.OriginalDefinition ? this :
57
_underlyingTypeParameter
.OriginalDefinition;
102
_map.SubstituteConstraintTypesDistinctWithoutModifiers(
_underlyingTypeParameter
,
_underlyingTypeParameter
.GetConstraintTypes(inProgress), constraintTypes, null);
155
if (
_underlyingTypeParameter
.ConstraintTypesNoUseSiteDiagnostics.IsEmpty)
157
return
_underlyingTypeParameter
.IsNotNullable;
162
_map.SubstituteConstraintTypesDistinctWithoutModifiers(
_underlyingTypeParameter
,
_underlyingTypeParameter
.GetConstraintTypes(ConsList<TypeParameterSymbol>.Empty), constraintTypes, null);
172
return _map.SubstituteNamedTypes(
_underlyingTypeParameter
.GetInterfaces(inProgress));
177
return _map.SubstituteNamedType(
_underlyingTypeParameter
.GetEffectiveBaseClass(inProgress));
182
return _map.SubstituteType(
_underlyingTypeParameter
.GetDeducedBaseType(inProgress)).AsTypeSymbolOnly();
Symbols\Synthesized\SynthesizedSubstitutedTypeParameterSymbol.cs (1)
49
return
_underlyingTypeParameter
.GetAttributes();
Symbols\Wrapped\WrappedTypeParameterSymbol.cs (20)
39
return
_underlyingTypeParameter
;
45
get { return
_underlyingTypeParameter
.IsImplicitlyDeclared; }
52
return
_underlyingTypeParameter
.TypeParameterKind;
60
return
_underlyingTypeParameter
.Ordinal;
68
return
_underlyingTypeParameter
.HasConstructorConstraint;
76
return
_underlyingTypeParameter
.HasReferenceTypeConstraint;
84
return
_underlyingTypeParameter
.IsReferenceTypeFromConstraintTypes || CalculateIsReferenceTypeFromConstraintTypes(ConstraintTypesNoUseSiteDiagnostics);
92
return
_underlyingTypeParameter
.ReferenceTypeConstraintIsNullable;
100
return
_underlyingTypeParameter
.HasNotNullConstraint;
108
return
_underlyingTypeParameter
.HasUnmanagedTypeConstraint;
116
return
_underlyingTypeParameter
.HasValueTypeConstraint;
124
return
_underlyingTypeParameter
.AllowsRefLikeType;
132
return
_underlyingTypeParameter
.IsValueTypeFromConstraintTypes || CalculateIsValueTypeFromConstraintTypes(ConstraintTypesNoUseSiteDiagnostics);
140
return
_underlyingTypeParameter
.Variance;
148
return
_underlyingTypeParameter
.Locations;
156
return
_underlyingTypeParameter
.DeclaringSyntaxReferences;
164
return
_underlyingTypeParameter
.Name;
170
return
_underlyingTypeParameter
.GetDocumentationCommentXml(preferredCulture, expandIncludes, cancellationToken);
175
_underlyingTypeParameter
.EnsureAllConstraintsAreResolved();
180
return
_underlyingTypeParameter
.GetAttributes();