System\Diagnostics\Eventing\Reader\NativeWrapper.cs (24)
1211Byte[] arByte = new Byte[val.Count];
1212Marshal.Copy(val.Reference, arByte, 0, (int)val.Count);
1216Int16[] arInt16 = new Int16[val.Count];
1217Marshal.Copy(val.Reference, arInt16, 0, (int)val.Count);
1221Int32[] arInt32 = new Int32[val.Count];
1222Marshal.Copy(val.Reference, arInt32, 0, (int)val.Count);
1226Int64[] arInt64 = new Int64[val.Count];
1227Marshal.Copy(val.Reference, arInt64, 0, (int)val.Count);
1231Single[] arSingle = new Single[val.Count];
1232Marshal.Copy(val.Reference, arSingle, 0, (int)val.Count);
1236Double[] arDouble = new Double[val.Count];
1237Marshal.Copy(val.Reference, arDouble, 0, (int)val.Count);
1312Array array = Array.CreateInstance(objType, val.Count);
1313for (int i = 0; i < val.Count; i++) {
1330bool[] array = new bool[val.Count];
1331for (int i = 0; i < val.Count; i++) {
1347DateTime[] array = new DateTime[val.Count];
1348for (int i = 0; i < val.Count; i++) {
1363DateTime[] array = new DateTime[val.Count];
1364for (int i = 0; i < val.Count; i++) {
1383IntPtr[] pointersToString = new IntPtr[val.Count];
1384Marshal.Copy(ptr, pointersToString, 0, (int)val.Count);
1385string[] stringArray = new string[val.Count];
1386for (int i = 0; i < val.Count; i++) {