11 references to TryRead
System.Drawing.Common (8)
System\Drawing\Icon.cs (1)
412
if (!reader.
TryRead
(out ICONDIR dir)
System\Drawing\ImageConverter.cs (7)
90
if (!reader.
TryRead
(out OLEOBJHEADER header))
119
if (!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)
135
if (!reader.
TryRead
(out int dataLength) || !reader.TryRead(dataLength, out var data))
System.Windows.Forms.Primitives.Tests (3)
System\SpanReaderTests.cs (3)
102
reader.
TryRead
(out Point value).Should().BeTrue();
105
reader.
TryRead
(out value).Should().BeTrue();
108
reader.
TryRead
(out value).Should().BeFalse();