8 writes to Value
System.Drawing.Common.Tests (8)
System\Drawing\ImageTests.cs (6)
232item.Value = "Hello World\0"u8.ToArray(); 247item.Value = "New Value\0"u8.ToArray(); 290item.Value = "Hello World\0"u8.ToArray(); 333item.Value = "New Value\0"u8.ToArray(); 433item.Value = "Hello World\0"u8.ToArray(); 448item.Value = "New Value\0"u8.ToArray();
System\Drawing\Imaging\PropertyItemTests.cs (2)
59item.Value = value; 87propItem.Value = value;
35 references to Value
PresentationFramework-SystemDrawing (1)
SystemDrawingExtension.cs (1)
123return new MemoryStream(piComment.Value);
System.Drawing.Common.Tests (34)
System\Drawing\ImageTests.cs (31)
45Assert.Equal("LEAD Technologies Inc. V1.01\0", Encoding.ASCII.GetString(items[0].Value)); 59}, items[1].Value); 73}, items[2].Value); 102Assert.Equal("LEAD Technologies Inc. V1.01\0", Encoding.ASCII.GetString(item.Value)); 233item.Len = item.Value.Length; 243Assert.Equal("Hello World\0", Encoding.ASCII.GetString(items[0].Value)); 248item.Len = item.Value.Length; 258Assert.Equal("Hello World\0", Encoding.ASCII.GetString(items[0].Value)); 262Assert.Equal("New Value\0", Encoding.ASCII.GetString(items[1].Value)); 273Assert.Equal("Hello World\0", Encoding.ASCII.GetString(items[0].Value)); 277Assert.Equal("New Value\0", Encoding.ASCII.GetString(items[1].Value)); 291item.Len = item.Value.Length; 301Assert.Equal("Hello World\0", Encoding.ASCII.GetString(items[0].Value)); 315}, items[1].Value); 329}, items[2].Value); 334item.Len = item.Value.Length; 344Assert.Equal("Hello World\0", Encoding.ASCII.GetString(items[0].Value)); 358}, items[1].Value); 372}, items[2].Value); 376Assert.Equal("New Value\0", Encoding.ASCII.GetString(items[3].Value)); 387Assert.Equal("Hello World\0", Encoding.ASCII.GetString(items[0].Value)); 401}, items[1].Value); 415}, items[2].Value); 419Assert.Equal("New Value\0", Encoding.ASCII.GetString(items[3].Value)); 434item.Len = item.Value.Length; 444Assert.Equal("Hello World\0", Encoding.ASCII.GetString(items[0].Value)); 449item.Len = item.Value.Length; 459Assert.Equal("Hello World\0", Encoding.ASCII.GetString(items[0].Value)); 463Assert.Equal("New Value\0", Encoding.ASCII.GetString(items[1].Value)); 474Assert.Equal("Hello World\0", Encoding.ASCII.GetString(items[0].Value)); 478Assert.Equal("New Value\0", Encoding.ASCII.GetString(items[1].Value));
System\Drawing\Imaging\PropertyItemTests.cs (3)
60Assert.Same(value, item.Value); 82Assert.Equal(new byte[1] { 0 }, propItem.Value); 92Assert.Equal(value, propItem.Value);