System.Xml.Serialization.XmlSerializationWriter.GetPrimitiveTypeName C# (CSharp) Method

GetPrimitiveTypeName() private method

private GetPrimitiveTypeName ( Type type, bool throwIfUnknown ) : XmlQualifiedName
type System.Type
throwIfUnknown bool
return XmlQualifiedName
        private XmlQualifiedName GetPrimitiveTypeName(Type type, bool throwIfUnknown)
        {
            XmlQualifiedName qname = GetPrimitiveTypeNameInternal(type);
            if (throwIfUnknown && qname == null)
                throw CreateUnknownTypeException(type);
            return qname;
        }

Same methods

XmlSerializationWriter::GetPrimitiveTypeName ( Type type ) : XmlQualifiedName