11 references to TryRead
System.Drawing.Common (8)
System\Drawing\Icon.cs (1)
412if (!reader.TryRead(out ICONDIR dir)
System\Drawing\ImageConverter.cs (7)
90if (!reader.TryRead(out OLEOBJHEADER header)) 119if (!reader.TryRead(out uint _) 120|| !reader.TryRead(out FMTID format) 122|| !reader.TryRead(out int classLength) 126|| !reader.TryRead(out int topicLength) 128|| !reader.TryRead(out int itemNameLength) 135if (!reader.TryRead(out int dataLength) || !reader.TryRead(dataLength, out var data))
System.Windows.Forms.Primitives.Tests (3)
System\SpanReaderTests.cs (3)
102reader.TryRead(out Point value).Should().BeTrue(); 105reader.TryRead(out value).Should().BeTrue(); 108reader.TryRead(out value).Should().BeFalse();