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