5 writes to _iconData
System.Drawing.Common (5)
System\Drawing\Icon.cs (5)
67_iconData = new byte[(int)f.Length]; 82_iconData = original._iconData; 102_iconData = new byte[(int)stream.Length]; 119_iconData = new byte[(int)stream.Length]; 127_iconData = (byte[])info.GetValue("IconData", typeof(byte[]))!;
22 references to _iconData
System.Drawing.Common (22)
System\Drawing\Icon.cs (22)
68f.ReadExactly(_iconData); 82_iconData = original._iconData; 84if (_iconData is null) 103stream.ReadExactly(_iconData); 120stream.ReadExactly(_iconData); 135if (_iconData is not null) 137si.AddValue("IconData", _iconData, typeof(byte[])); 406if (_iconData is null || !_handle.IsNull) 411SpanReader<byte> reader = new(_iconData); 534if (endOffset > _iconData.Length) 616Debug.Assert(_iconData is not null); 618stream.Write(_iconData, (int)_bestImageOffset, (int)_bestBytesInRes); 628if (_iconData is not null && _bestBitDepth == 32) 633Debug.Assert(_bestImageOffset >= 0 && (_bestImageOffset + _bestBytesInRes) <= _iconData.Length, "Illegal offset/length for the Icon data"); 650Marshal.Copy(_iconData, newOffset + j * width, (IntPtr)pixelPtr, lineLength); 770if (_iconData is not null && _iconData.Length >= _bestImageOffset + 8) 772int iconSignature1 = BitConverter.ToInt32(_iconData, (int)_bestImageOffset); 773int iconSignature2 = BitConverter.ToInt32(_iconData, (int)_bestImageOffset + 4); 796if (_iconData is not null) 798outputStream.Write(_iconData, 0, _iconData.Length);