System.Runtime.Serialization.TypeName.GetType C# (CSharp) Method

GetType() static private method

static private GetType ( Assembly initialAssembly, string fullTypeName ) : Type
initialAssembly System.Reflection.Assembly
fullTypeName string
return System.Type
        internal static Type GetType(Assembly initialAssembly, string fullTypeName)
        {
            int num;
            ITypeName typeNameInfo = ((ITypeNameFactory) Activator.CreateInstance(Type.GetTypeFromCLSID(new Guid(0xb81ff171, 0x20f3, 0x11d2, 0x8d, 0xcc, 0, 160, 0xc9, 0xb0, 5, 0x25)))).ParseTypeName(fullTypeName, out num);
            Type type2 = null;
            if (num == -1)
            {
                type2 = LoadTypeWithPartialName(typeNameInfo, initialAssembly, fullTypeName);
            }
            return type2;
        }