Base:
3 references to Read
Microsoft.CodeAnalysis.UnitTests (3)
Text\SourceTextStreamTests.cs (3)
35Assert.Throws<ArgumentException>(() => stream.Read(buffer, 0, local)); 54Assert.Equal(baseText.Length, stream.Read(buffer, 0, buffer.Length)); 57Assert.Equal(3, stream.Read(buffer, 0, buffer.Length));