public new static AssemblyNativeInfo Demarshal(Stream stream)
        {
            AssemblyNativeInfo unit = NativeUnitMarshaler <AssemblyNativeInfo> .Demarshal(stream);

            unit.AppDomainId = UInt64Marshaler.Demarshal(stream);
            return(unit);
        }
        public new static void Marshal(ClassNativeInfo value, Stream stream)
        {
            NativeUnitMarshaler <ClassNativeInfo> .Marshal(value, stream);

            UInt32Marshaler.Marshal(value.TypeToken, stream);
            UInt64Marshaler.Marshal(value.ModuleId, stream);
        }
        public new static ThreadNativeInfo Demarshal(Stream stream)
        {
            ThreadNativeInfo unit = NativeUnitMarshaler <ThreadNativeInfo> .Demarshal(stream);

            unit.OsThreadId = UInt32Marshaler.Demarshal(stream);
            return(unit);
        }
        public new static ModuleNativeInfo Demarshal(Stream stream)
        {
            ModuleNativeInfo unit = NativeUnitMarshaler <ModuleNativeInfo> .Demarshal(stream);

            unit.AssemblyId = UInt64Marshaler.Demarshal(stream);
            return(unit);
        }
        public new static ClassNativeInfo Demarshal(Stream stream)
        {
            ClassNativeInfo unit = NativeUnitMarshaler <ClassNativeInfo> .Demarshal(stream);

            unit.TypeToken = UInt32Marshaler.Demarshal(stream);
            unit.ModuleId  = UInt64Marshaler.Demarshal(stream);
            return(unit);
        }
Esempio n. 6
0
        public new static void Marshal(ManagedExceptionNativeInfo value, Stream stream)
        {
            NativeUnitMarshaler <ManagedExceptionNativeInfo> .Marshal(value, stream);

            UInt64Marshaler.Marshal(value.ClassId, stream);
            StringMarshaler.Marshal(value.Message, stream);
            MarshalingManager.Marshal(value.Stack, stream);
        }
        public new static void Marshal(FunctionNativeInfo value, Stream stream)
        {
            NativeUnitMarshaler <FunctionNativeInfo> .Marshal(value, stream);

            UInt32Marshaler.Marshal(value.TypeToken, stream);
            UInt64Marshaler.Marshal(value.ClassId, stream);
            UInt64Marshaler.Marshal(value.ModuleId, stream);
            UInt64Marshaler.Marshal(value.AssemblyId, stream);
        }
Esempio n. 8
0
        public new static ManagedExceptionNativeInfo Demarshal(Stream stream)
        {
            ManagedExceptionNativeInfo unit = NativeUnitMarshaler <ManagedExceptionNativeInfo> .Demarshal(stream);

            unit.ClassId = UInt64Marshaler.Demarshal(stream);
            unit.Message = StringMarshaler.Demarshal(stream);
            unit.Stack   = MarshalingManager.Demarshal <ulong[]>(stream);
            return(unit);
        }
        public new static FunctionNativeInfo Demarshal(Stream stream)
        {
            FunctionNativeInfo unit = NativeUnitMarshaler <FunctionNativeInfo> .Demarshal(stream);

            unit.TypeToken  = UInt32Marshaler.Demarshal(stream);
            unit.ClassId    = UInt64Marshaler.Demarshal(stream);
            unit.ModuleId   = UInt64Marshaler.Demarshal(stream);
            unit.AssemblyId = UInt64Marshaler.Demarshal(stream);
            return(unit);
        }
        public new static void Marshal(AssemblyNativeInfo value, Stream stream)
        {
            NativeUnitMarshaler <AssemblyNativeInfo> .Marshal(value, stream);

            UInt64Marshaler.Marshal(value.AppDomainId, stream);
        }
        public new static void Marshal(ThreadNativeInfo value, Stream stream)
        {
            NativeUnitMarshaler <ThreadNativeInfo> .Marshal(value, stream);

            UInt32Marshaler.Marshal(value.OsThreadId, stream);
        }
        public new static MsSqlQueryNativeInfo Demarshal(Stream stream)
        {
            MsSqlQueryNativeInfo unit = NativeUnitMarshaler <MsSqlQueryNativeInfo> .Demarshal(stream);

            return(unit);
        }
 public new static void Marshal(MsSqlQueryNativeInfo value, Stream stream)
 {
     NativeUnitMarshaler <MsSqlQueryNativeInfo> .Marshal(value, stream);
 }
        public new static void Marshal(ModuleNativeInfo value, Stream stream)
        {
            NativeUnitMarshaler <ModuleNativeInfo> .Marshal(value, stream);

            UInt64Marshaler.Marshal(value.AssemblyId, stream);
        }
Esempio n. 15
0
        public new static AppDomainNativeInfo Demarshal(Stream stream)
        {
            AppDomainNativeInfo unit = NativeUnitMarshaler <AppDomainNativeInfo> .Demarshal(stream);

            return(unit);
        }
Esempio n. 16
0
 public new static void Marshal(AppDomainNativeInfo value, Stream stream)
 {
     NativeUnitMarshaler <AppDomainNativeInfo> .Marshal(value, stream);
 }