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