12 references to FrameDimension
System.Drawing.Common.Tests (12)
System\Drawing\BitmapTests.cs (2)
496Assert.Equal(1, bitmap.GetFrameCount(new FrameDimension(Guid.Empty))); 518Assert.Equal(0, bitmap.SelectActiveFrame(new FrameDimension(Guid.Empty), index));
System\Drawing\Imaging\FrameDimensionTests.cs (10)
12FrameDimension fd = new(guid); 23yield return new object[] { new Guid("48749428-316f-496a-ab30-c819a92b3137"), new FrameDimension(new Guid("48749428-316f-496a-ab30-c819a92b3137")) }; 31yield return new object[] { new FrameDimension(new Guid("48749428-316f-496a-ab30-c819a92b3137")), new FrameDimension(new Guid("48749428-316f-496a-ab30-c819a92b3137")), true }; 32yield return new object[] { new FrameDimension(new Guid("48749428-316f-496a-ab30-c819a92b3137")), new FrameDimension(new Guid("b96b3cad-0728-11d3-9d7b-0000f81ef32e")), false }; 33yield return new object[] { new FrameDimension(new Guid("48749428-316f-496a-ab30-c819a92b3137")), null, false }; 34yield return new object[] { new FrameDimension(new Guid("48749428-316f-496a-ab30-c819a92b3137")), new(), false }; 45yield return new object[] { "[FrameDimension: 48749428-316f-496a-ab30-c819a92b3137]", new FrameDimension(new Guid("48749428-316f-496a-ab30-c819a92b3137")) }; 67Assert.Equal(guid.GetHashCode(), new FrameDimension(guid).GetHashCode());