* Update dependencies from https://github.com/dotnet/coreclr build
20190912.7
- Microsoft.NET.Sdk.IL - 5.0.0-alpha1.19462.7
- Microsoft.NETCore.ILAsm - 5.0.0-alpha1.19462.7
- Microsoft.NETCore.Runtime.CoreCLR - 5.0.0-alpha1.19462.7
* Fix Environment.WorkingSet tests for coreclr update
Commit migrated from https://github.com/dotnet/corefx/commit/
a3dbe06e55084c12450288db4ea12a1e7fd36144
}
[Fact]
- [SkipOnTargetFramework(TargetFrameworkMonikers.Uap)] // Throws InvalidOperationException in Uap as NtQuerySystemInformation Pinvoke is not available
public void WorkingSet_Valid()
{
Assert.True(Environment.WorkingSet > 0, "Expected positive WorkingSet value");
}
- [Fact]
- [SkipOnTargetFramework(~TargetFrameworkMonikers.Uap)]
- public void WorkingSet_Valid_Uap()
- {
- Assert.Throws<PlatformNotSupportedException>(() => Environment.WorkingSet);
- }
-
[Trait(XunitConstants.Category, XunitConstants.IgnoreForCI)] // fail fast crashes the process
[OuterLoop]
[Fact]