private static void *__CopyValue(__Internal native) { var ret = Marshal.AllocHGlobal(sizeof(__Internal)); *(__Internal *)ret = native; return(ret.ToPointer()); }
private XmlTextWriter(__Internal native, bool skipVTables = false) : this(__CopyValue(native), skipVTables) { __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; }
internal static XmlTextWriter __CreateInstance(__Internal native, bool skipVTables = false) { return(new XmlTextWriter(native, skipVTables)); }
internal static Foo __CreateInstance(__Internal native, bool skipVTables = false) { return(new Foo(native, skipVTables)); }
internal IBarInternal(__Internal native, bool skipVTables = false) : this(__CopyValue(native), skipVTables) { __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; }
internal static IBar __CreateInstance(__Internal native, bool skipVTables = false) { return(new IBarInternal(native, skipVTables)); }
private RuminoidImageT(__Internal native, bool skipVTables = false) : this(__CopyValue(native), skipVTables) { __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; }
internal static RuminoidImageT __CreateInstance(__Internal native, bool skipVTables = false) { return(new RuminoidImageT(native, skipVTables)); }