1 write to _underlying
Microsoft.CodeAnalysis.CSharp (1)
Symbols\TypeWithAnnotations.cs (1)
1071
_underlying
= underlying;
13 references to _underlying
Microsoft.CodeAnalysis.CSharp (13)
Symbols\TypeWithAnnotations.cs (13)
1084
TryForceResolve(asValueType:
_underlying
.Type.IsValueType);
1090
internal override TypeSymbol GetNullableUnderlyingTypeOrSelf(TypeSymbol typeSymbol) =>
_underlying
.Type;
1094
var specialType =
_underlying
.SpecialType;
1098
internal override bool IsRestrictedType(TypeSymbol typeSymbol, bool ignoreSpanLikeTypes) =>
_underlying
.IsRestrictedType(ignoreSpanLikeTypes);
1145
if (!
_underlying
.Type.IsValueType)
1147
return
_underlying
;
1159
var newUnderlying =
_underlying
.SubstituteTypeCore(typeMap);
1160
if (!newUnderlying.IsSameAs(this.
_underlying
))
1162
if (newUnderlying.Type.Equals(this.
_underlying
.Type, TypeCompareKind.ConsiderEverything) &&
1194
return
_underlying
.TypeSymbolEquals(otherLazy.
_underlying
, comparison);
1203
_compilation.GetSpecialType(SpecialType.System_Nullable_T).Construct(ImmutableArray.Create(
_underlying
)) :
1204
_underlying
.Type;