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 static T Demarshal(Stream stream) { T value = new T(); value.Uid = UInt32Marshaler.Demarshal(stream); value.Id = UInt64Marshaler.Demarshal(stream); value.BeginLifetime = UInt32Marshaler.Demarshal(stream); value.EndLifetime = UInt32Marshaler.Demarshal(stream); value.Name = StringMarshaler.Demarshal(stream); return(value); }