You've already forked linux-packaging-mono
Imported Upstream version 5.20.0.180
Former-commit-id: ff953ca879339fe1e1211f7220f563e1342e66cb
This commit is contained in:
parent
0e2d47d1c8
commit
0510252385
@@ -100,6 +100,8 @@ namespace System.IO.Tests
|
||||
mem.Dispose();
|
||||
}
|
||||
|
||||
|
||||
#if !MONO // Avoid CodePagesEncodingProvider dependency in CoreFX test assembly
|
||||
/// <summary>
|
||||
/// Cases Tested:
|
||||
/// Writing bytes casted to chars and using a different encoding; iso-2022-jp.
|
||||
@@ -139,6 +141,7 @@ namespace System.IO.Tests
|
||||
writer.Dispose();
|
||||
reader.Dispose();
|
||||
}
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// Testing that bytes can be written to a stream with BinaryWriter.
|
||||
|
||||
@@ -35,7 +35,9 @@ namespace System.IO.Tests
|
||||
{
|
||||
Assert.Throws<ArgumentOutOfRangeException>(() => new MemoryStream(int.MinValue));
|
||||
Assert.Throws<ArgumentOutOfRangeException>(() => new MemoryStream(-1));
|
||||
#if !MONO
|
||||
Assert.Throws<OutOfMemoryException>(() => new MemoryStream(int.MaxValue));
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -63,6 +63,7 @@ namespace System.IO.Tests
|
||||
}
|
||||
|
||||
[Fact]
|
||||
[SkipOnTargetFramework(TargetFrameworkMonikers.Mono)] // Requires base Stream span API
|
||||
public void DerivedMemoryStream_ReadWriteSpanCalled_ReadWriteArrayUsed()
|
||||
{
|
||||
var s = new ReadWriteOverridingMemoryStream();
|
||||
|
||||
Reference in New Issue
Block a user