You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following code produces MSTEST0037 false positive:
[TestClass]
public sealed class Test1
{
[TestMethod]
public void TestMethod1()
{
var buffer = new Byte[10];
using (var actual = new MemoryStream())
{
Assert.AreEqual(buffer.Length, actual.Read(buffer, 0, buffer.Length));
}
}
}