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