2 references to MeasureCharacterRanges
System.Drawing.Common.Tests (2)
mono\System.Drawing\GraphicsTests.cs (2)
1943
Assert.Throws<ArgumentException>(() =>
MeasureCharacterRanges
(text, text.Length, 1, useSpan));
1952
Assert.Throws<ArgumentException>(() =>
MeasureCharacterRanges
(text, 0, text.Length + 1, useSpan));