1 write to _extensions
Microsoft.CodeAnalysis.CSharp (1)
Symbols\TypeWithAnnotations.cs (1)
60
_extensions
= extensions;
27 references to _extensions
Microsoft.CodeAnalysis.CSharp (27)
Symbols\TypeWithAnnotations.cs (27)
186
internal bool IsDefault => DefaultType is null && this.NullableAnnotation == 0 && (
_extensions
== null ||
_extensions
== Extensions.Default);
232
_extensions
.TryForceResolve(asValueType);
235
private TypeWithAnnotations AsNullableReferenceType() =>
_extensions
.AsNullableReferenceType(this);
236
public TypeWithAnnotations AsNotNullableReferenceType() =>
_extensions
.AsNotNullableReferenceType(this);
251
_extensions
.WithModifiers(this, customModifiers);
253
public bool IsResolved =>
_extensions
?.IsResolved != false;
254
public TypeSymbol Type =>
_extensions
?.GetResolvedType(DefaultType);
255
public NullableAnnotation NullableAnnotation =>
_extensions
?.GetResolvedAnnotation(DefaultNullableAnnotation) ?? default;
256
public TypeSymbol NullableUnderlyingTypeOrSelf =>
_extensions
.GetNullableUnderlyingTypeOrSelf(DefaultType);
269
public ImmutableArray<CustomModifier> CustomModifiers =>
_extensions
.CustomModifiers;
272
public SpecialType SpecialType =>
_extensions
.GetSpecialType(DefaultType);
276
_extensions
.IsVoid(DefaultType);
278
_extensions
.IsSZArray(DefaultType);
280
_extensions
.IsRefLikeType(DefaultType);
282
_extensions
.IsRefLikeOrAllowsRefLikeType(DefaultType);
284
_extensions
.IsStatic(DefaultType);
286
_extensions
.IsRestrictedType(DefaultType, ignoreSpanLikeTypes);
422
_extensions
.TypeSymbolEquals(this, other, comparison);
437
_extensions
.SubstituteType(this, typeMap);
540
_extensions
.ReportDiagnosticsIfObsolete(this, binder, syntax, diagnostics);
556
public TypeSymbol AsTypeSymbolOnly() =>
_extensions
.AsTypeSymbolOnly(DefaultType);
568
_extensions
.WithTypeAndModifiers(this, typeSymbol, customModifiers);
571
_extensions
.WithTypeAndModifiers(this, typeSymbol, CustomModifiers);
799
ReferenceEquals(
_extensions
, other.
_extensions
);
1190
var otherLazy = other.
_extensions
as LazyNullableTypeParameter;