5 writes to iconData
System.Drawing (5)
commonui\System\Drawing\Icon.cs (5)
103iconData = new byte[(int)f.Length]; 140iconData = original.iconData; 163iconData = new byte[(int)stream.Length]; 192iconData = new byte[(int)stream.Length]; 208iconData = (byte[])info.GetValue("IconData", typeof(byte[]));
30 references to iconData
System.Drawing (30)
commonui\System\Drawing\Icon.cs (30)
104f.Read(iconData, 0, iconData.Length); 140iconData = original.iconData; 142if (iconData == null) { 164stream.Read(iconData, 0, iconData.Length); 193stream.Read(iconData, 0, iconData.Length); 607if (iconData == null || handle != IntPtr.Zero) { 612if (iconData.Length < icondirSize) { 640fixed(byte *pbIconData = iconData) 660Debug.Assert((icondirEntrySize * (idCount - 1) + icondirSize) <= iconData.Length, "Illegal number of ICONDIRENTRIES"); 662if ((icondirEntrySize * (idCount - 1) + icondirSize) > iconData.Length) 736Debug.Assert(bestImageOffset >= 0 && bestBytesInRes >= 0 && (bestImageOffset + bestBytesInRes) <= iconData.Length, "Illegal offset/length for the Icon data"); 754if (endOffset > iconData.Length) { 762Array.Copy(this.iconData, bestImageOffset, alignedBuffer, 0, bestBytesInRes); 866if (iconData != null) { 867outputStream.Write(iconData, 0, iconData.Length); 963if(iconData != null && bestBitDepth == 32) { 967Debug.Assert(bestImageOffset >= 0 && (bestImageOffset + bestBytesInRes) <= iconData.Length, "Illegal offset/length for the Icon data"); 986Marshal.Copy(iconData, newOffset + j * width, (IntPtr)pixelPtr, lineLength); 1107if (iconData != null) { 1109stream.Write(iconData, bestImageOffset, bestBytesInRes); 1118if (iconData != null && iconData.Length >= bestImageOffset + 8) { 1119int iconSignature1 = BitConverter.ToInt32(iconData, bestImageOffset); 1120int iconSignature2 = BitConverter.ToInt32(iconData, bestImageOffset + 4); 1145if (iconData != null) { 1146si.AddValue("IconData", iconData, typeof(byte[]));