System\Diagnostics\Eventing\Reader\NativeWrapper.cs (18)
1210if (val.Reference == IntPtr.Zero) return new Byte[0];
1212Marshal.Copy(val.Reference, arByte, 0, (int)val.Count);
1215if (val.Reference == IntPtr.Zero) return new Int16[0];
1217Marshal.Copy(val.Reference, arInt16, 0, (int)val.Count);
1220if (val.Reference == IntPtr.Zero) return new Int32[0];
1222Marshal.Copy(val.Reference, arInt32, 0, (int)val.Count);
1225if (val.Reference == IntPtr.Zero) return new Int64[0];
1227Marshal.Copy(val.Reference, arInt64, 0, (int)val.Count);
1230if (val.Reference == IntPtr.Zero) return new Single[0];
1232Marshal.Copy(val.Reference, arSingle, 0, (int)val.Count);
1235if (val.Reference == IntPtr.Zero) return new Double[0];
1237Marshal.Copy(val.Reference, arDouble, 0, (int)val.Count);
1307IntPtr ptr = val.Reference;
1325IntPtr ptr = val.Reference;
1342IntPtr ptr = val.Reference;
1358IntPtr ptr = val.Reference;
1378if (val.Reference == IntPtr.Zero) {
1382IntPtr ptr = val.Reference;