2 types derived from Extensions
Microsoft.CodeAnalysis.CSharp (2)
Symbols\TypeWithAnnotations.cs (2)
856private sealed class NonLazyType : Extensions 926private sealed class LazyNullableTypeParameter : Extensions
8 references to Extensions
Microsoft.CodeAnalysis.CSharp (8)
Symbols\TypeWithAnnotations.cs (8)
46private readonly Extensions _extensions; 50private TypeWithAnnotations(TypeSymbol defaultType, NullableAnnotation nullableAnnotation, Extensions extensions) 167return new TypeWithAnnotations(typeSymbol, nullableAnnotation, Extensions.Create(customModifiers)); 172return new TypeWithAnnotations(defaultType: underlying.DefaultType, nullableAnnotation: NullableAnnotation.Annotated, Extensions.CreateLazy(compilation, underlying)); 178internal bool IsDefault => DefaultType is null && this.NullableAnnotation == 0 && (_extensions == null || _extensions == Extensions.Default); 811internal static readonly Extensions Default = new NonLazyType(customModifiers: ImmutableArray<CustomModifier>.Empty); 813internal static Extensions Create(ImmutableArray<CustomModifier> customModifiers) 822internal static Extensions CreateLazy(CSharpCompilation compilation, TypeWithAnnotations underlying)