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