System.Runtime.Serialization.Formatters.Soap.Converter.ToType C# (CSharp) Method

ToType() static private method

static private ToType ( InternalPrimitiveTypeE code ) : Type
code InternalPrimitiveTypeE
return System.Type
        internal static Type ToType(InternalPrimitiveTypeE code)
        {
            InternalST.Soap("Converter", "ToType Entry ", ((Enum)code).ToString());
            lock(typeofConverter)
            {
                if (typeA == null)
                    InitTypeA();
            }
            InternalST.Soap("Converter", "ToType Exit ", ((typeA[(int)code] == null)?"null ":typeA[(int)code].Name));               
            return typeA[(int)code];
        }