27 references to Count
System.Diagnostics.EventLog (27)
System\Diagnostics\Reader\NativeWrapper.cs (27)
1183byte[] arByte = new byte[val.Count]; 1184Marshal.Copy(val.Reference, arByte, 0, (int)val.Count); 1189short[] arInt16 = new short[val.Count]; 1190Marshal.Copy(val.Reference, arInt16, 0, (int)val.Count); 1195int[] arInt32 = new int[val.Count]; 1196Marshal.Copy(val.Reference, arInt32, 0, (int)val.Count); 1201long[] arInt64 = new long[val.Count]; 1202Marshal.Copy(val.Reference, arInt64, 0, (int)val.Count); 1207float[] arSingle = new float[val.Count]; 1208Marshal.Copy(val.Reference, arSingle, 0, (int)val.Count); 1213double[] arDouble = new double[val.Count]; 1214Marshal.Copy(val.Reference, arDouble, 0, (int)val.Count); 1284if (ptr == null || val.Count == 0) 1290T[] array = new T[val.Count]; 1291for (int i = 0; i < val.Count; i++) 1303if (ptr == null || val.Count == 0) 1309bool[] array = new bool[val.Count]; 1310for (int i = 0; i < val.Count; i++) 1321if (ptr == null || val.Count == 0) 1327DateTime[] array = new DateTime[val.Count]; 1328for (int i = 0; i < val.Count; i++) 1339if (ptr == null || val.Count == 0) 1345DateTime[] array = new DateTime[val.Count]; 1346for (int i = 0; i < val.Count; i++) 1358if (ptr == null || val.Count == 0) 1364string?[] stringArray = new string[val.Count]; 1365for (int i = 0; i < val.Count; i++)