System.Xml.Serialization.TypeDesc.GetNullableTypeDesc C# (CSharp) Method

GetNullableTypeDesc() private method

private GetNullableTypeDesc ( Type type ) : TypeDesc
type System.Type
return TypeDesc
        internal TypeDesc GetNullableTypeDesc(Type type)
        {
            if (IsOptionalValue)
                return this;

            if (_nullableTypeDesc == null)
            {
                _nullableTypeDesc = new TypeDesc("NullableOf" + _name, "System.Nullable`1[" + _fullName + "]", null, TypeKind.Struct, this, _flags | TypeFlags.OptionalValue, _formatterName);
                _nullableTypeDesc._type = type;
            }

            return _nullableTypeDesc;
        }
        internal void CheckSupported()