System.Xml.Serialization.SoapReflectionImporter.XsdTypeName C# (CSharp) Method

XsdTypeName() private method

private XsdTypeName ( Type type ) : string
type Type
return string
        internal string XsdTypeName(Type type) {
            if (type == typeof(object)) return Soap.UrType;
            TypeDesc typeDesc = typeScope.GetTypeDesc(type);
            if (typeDesc.IsPrimitive && typeDesc.DataType != null && typeDesc.DataType.Name != null && typeDesc.DataType.Name.Length > 0)
                return typeDesc.DataType.Name;
            return XsdTypeName(type, GetAttributes(type), typeDesc.Name);
        }
        internal string XsdTypeName(Type type, SoapAttributes a, string name) {

Same methods

SoapReflectionImporter::XsdTypeName ( Type type, SoapAttributes a, string name ) : string