public static NullableTypeTree GetNullableTypeTree(this Type @this, INullableTypeTreeBuilder?builder = null) { var info = new NullabilityTypeInfo(GetNullabilityKind(@this), null, false); return(GetNullableTypeTreeWithProfile(@this, info.GenerateAnnotations().GetEnumerator(), info.Kind, builder ?? NullableTypeTree.ObliviousDefaultBuilder)); }
public static NullableTypeTree GetNullableTypeTree(this Type @this, NullabilityTypeInfo info, INullableTypeTreeBuilder?builder = null) { return(GetNullableTypeTreeWithProfile(@this, info.GenerateAnnotations().GetEnumerator(), info.Kind, builder)); }