mirror of https://github.com/dotnet/runtime
[main] Update dependencies from 10 repositories (#92881)
* Update dependencies from https://github.com/dotnet/runtime-assets build 20231002.1 Microsoft.DotNet.CilStrip.Sources , System.ComponentModel.TypeConverter.TestData , System.Data.Common.TestData , System.Drawing.Common.TestData , System.Formats.Tar.TestData , System.IO.Compression.TestData , System.IO.Packaging.TestData , System.Net.TestData , System.Private.Runtime.UnicodeData , System.Runtime.Numerics.TestData , System.Runtime.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Text.RegularExpressions.TestData , System.Windows.Extensions.TestData From Version 8.0.0-beta.23456.1 -> To Version 8.0.0-beta.23502.1 * Update dependencies from https://github.com/dotnet/runtime build 20231002.2 Microsoft.DotNet.ILCompiler , Microsoft.NET.ILLink.Tasks , Microsoft.NET.Sdk.IL , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.ILAsm , runtime.native.System.IO.Ports , System.Text.Json From Version 9.0.0-alpha.1.23470.17 -> To Version 9.0.0-alpha.1.23502.2 * Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20230925.1 Microsoft.SourceBuild.Intermediate.source-build-reference-packages From Version 9.0.0-alpha.1.23472.1 -> To Version 9.0.0-alpha.1.23475.1 * Update dependencies from https://github.com/dotnet/runtime-assets build 20231002.1 Microsoft.DotNet.CilStrip.Sources , System.ComponentModel.TypeConverter.TestData , System.Data.Common.TestData , System.Drawing.Common.TestData , System.Formats.Tar.TestData , System.IO.Compression.TestData , System.IO.Packaging.TestData , System.Net.TestData , System.Private.Runtime.UnicodeData , System.Runtime.Numerics.TestData , System.Runtime.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Text.RegularExpressions.TestData , System.Windows.Extensions.TestData From Version 8.0.0-beta.23456.1 -> To Version 8.0.0-beta.23502.1 * Update dependencies from https://github.com/dotnet/hotreload-utils build 20231002.1 Microsoft.DotNet.HotReload.Utils.Generator.BuildTool From Version 8.0.0-alpha.0.23475.1 -> To Version 8.0.0-alpha.0.23502.1 * Update dependencies from https://github.com/dotnet/cecil build 20231002.1 Microsoft.DotNet.Cecil From Version 0.11.4-alpha.23476.1 -> To Version 0.11.4-alpha.23502.1 * Update dependencies from https://github.com/dotnet/sdk build 20231002.8 Microsoft.DotNet.ApiCompat.Task From Version 9.0.100-alpha.1.23480.1 -> To Version 9.0.100-alpha.1.23502.8 * Update dependencies from https://github.com/dotnet/runtime-assets build 20231002.1 Microsoft.DotNet.CilStrip.Sources , System.ComponentModel.TypeConverter.TestData , System.Data.Common.TestData , System.Drawing.Common.TestData , System.Formats.Tar.TestData , System.IO.Compression.TestData , System.IO.Packaging.TestData , System.Net.TestData , System.Private.Runtime.UnicodeData , System.Runtime.Numerics.TestData , System.Runtime.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Text.RegularExpressions.TestData , System.Windows.Extensions.TestData From Version 8.0.0-beta.23456.1 -> To Version 8.0.0-beta.23502.1 * Update dependencies from https://github.com/dotnet/hotreload-utils build 20231002.1 Microsoft.DotNet.HotReload.Utils.Generator.BuildTool From Version 8.0.0-alpha.0.23475.1 -> To Version 8.0.0-alpha.0.23502.1 * Update dependencies from https://github.com/dotnet/cecil build 20231002.1 Microsoft.DotNet.Cecil From Version 0.11.4-alpha.23476.1 -> To Version 0.11.4-alpha.23502.1 * Update dependencies from https://github.com/dotnet/sdk build 20231003.9 Microsoft.DotNet.ApiCompat.Task From Version 9.0.100-alpha.1.23480.1 -> To Version 9.0.100-alpha.1.23503.9 * Update dependencies from https://github.com/dotnet/arcade build 20231004.4 Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XUnitAssert , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.XUnitExtensions From Version 8.0.0-beta.23463.1 -> To Version 9.0.0-beta.23504.4 Dependency coherency updates Microsoft.DotNet.XliffTasks From Version 1.0.0-beta.23426.1 -> To Version 1.0.0-beta.23502.1 (parent: Microsoft.DotNet.Helix.Sdk * Update dependencies from https://github.com/dotnet/runtime-assets build 20231002.1 Microsoft.DotNet.CilStrip.Sources , System.ComponentModel.TypeConverter.TestData , System.Data.Common.TestData , System.Drawing.Common.TestData , System.Formats.Tar.TestData , System.IO.Compression.TestData , System.IO.Packaging.TestData , System.Net.TestData , System.Private.Runtime.UnicodeData , System.Runtime.Numerics.TestData , System.Runtime.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Text.RegularExpressions.TestData , System.Windows.Extensions.TestData From Version 8.0.0-beta.23456.1 -> To Version 8.0.0-beta.23502.1 * Update dependencies from https://github.com/dotnet/emsdk build 20231004.5 Microsoft.NET.Workload.Emscripten.Current.Manifest-9.0.100.Transport From Version 9.0.0-alpha.1.23478.1 -> To Version 9.0.0-alpha.1.23504.5 Dependency coherency updates runtime.linux-arm64.Microsoft.NETCore.Runtime.ObjWriter,runtime.linux-x64.Microsoft.NETCore.Runtime.ObjWriter,runtime.linux-musl-arm64.Microsoft.NETCore.Runtime.ObjWriter,runtime.linux-musl-x64.Microsoft.NETCore.Runtime.ObjWriter,runtime.win-arm64.Microsoft.NETCore.Runtime.ObjWriter,runtime.win-x64.Microsoft.NETCore.Runtime.ObjWriter,runtime.osx-arm64.Microsoft.NETCore.Runtime.ObjWriter,runtime.osx-x64.Microsoft.NETCore.Runtime.ObjWriter,runtime.linux-arm64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.linux-x64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.linux-musl-arm64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.linux-musl-x64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.win-arm64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.win-x64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.osx-arm64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.osx-x64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.linux-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.linux-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools,runtime.linux-musl-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.linux-musl-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools,runtime.linux-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.linux-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools,runtime.linux-musl-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.linux-musl-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools,runtime.win-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.win-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools,runtime.osx-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.osx-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools,runtime.osx-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.osx-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools From Version 16.0.5-alpha.1.23472.1 -> To Version 16.0.5-alpha.1.23477.2 (parent: Microsoft.NET.Workload.Emscripten.Current.Manifest-9.0.100.Transport * Update dependencies from https://github.com/dotnet/hotreload-utils build 20231002.1 Microsoft.DotNet.HotReload.Utils.Generator.BuildTool From Version 8.0.0-alpha.0.23475.1 -> To Version 8.0.0-alpha.0.23502.1 * Update dependencies from https://github.com/dotnet/cecil build 20231002.1 Microsoft.DotNet.Cecil From Version 0.11.4-alpha.23476.1 -> To Version 0.11.4-alpha.23502.1 * Update dependencies from https://github.com/dotnet/sdk build 20231004.15 Microsoft.DotNet.ApiCompat.Task From Version 9.0.100-alpha.1.23480.1 -> To Version 9.0.100-alpha.1.23504.15 * Update dependencies from https://github.com/dotnet/arcade build 20231006.1 Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XUnitAssert , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.XUnitExtensions From Version 8.0.0-beta.23463.1 -> To Version 9.0.0-beta.23506.1 Dependency coherency updates Microsoft.DotNet.XliffTasks From Version 1.0.0-beta.23426.1 -> To Version 1.0.0-beta.23502.1 (parent: Microsoft.DotNet.Helix.Sdk * Update dependencies from https://github.com/dotnet/xharness build 20231005.1 Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit From Version 8.0.0-prerelease.23477.1 -> To Version 8.0.0-prerelease.23505.1 * Update dependencies from https://github.com/dotnet/runtime-assets build 20231002.1 Microsoft.DotNet.CilStrip.Sources , System.ComponentModel.TypeConverter.TestData , System.Data.Common.TestData , System.Drawing.Common.TestData , System.Formats.Tar.TestData , System.IO.Compression.TestData , System.IO.Packaging.TestData , System.Net.TestData , System.Private.Runtime.UnicodeData , System.Runtime.Numerics.TestData , System.Runtime.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Text.RegularExpressions.TestData , System.Windows.Extensions.TestData From Version 8.0.0-beta.23456.1 -> To Version 8.0.0-beta.23502.1 * Update dependencies from https://github.com/dotnet/emsdk build 20231004.5 Microsoft.NET.Workload.Emscripten.Current.Manifest-9.0.100.Transport From Version 9.0.0-alpha.1.23478.1 -> To Version 9.0.0-alpha.1.23504.5 Dependency coherency updates runtime.linux-arm64.Microsoft.NETCore.Runtime.ObjWriter,runtime.linux-x64.Microsoft.NETCore.Runtime.ObjWriter,runtime.linux-musl-arm64.Microsoft.NETCore.Runtime.ObjWriter,runtime.linux-musl-x64.Microsoft.NETCore.Runtime.ObjWriter,runtime.win-arm64.Microsoft.NETCore.Runtime.ObjWriter,runtime.win-x64.Microsoft.NETCore.Runtime.ObjWriter,runtime.osx-arm64.Microsoft.NETCore.Runtime.ObjWriter,runtime.osx-x64.Microsoft.NETCore.Runtime.ObjWriter,runtime.linux-arm64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.linux-x64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.linux-musl-arm64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.linux-musl-x64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.win-arm64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.win-x64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.osx-arm64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.osx-x64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.linux-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.linux-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools,runtime.linux-musl-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.linux-musl-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools,runtime.linux-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.linux-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools,runtime.linux-musl-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.linux-musl-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools,runtime.win-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.win-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools,runtime.osx-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.osx-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools,runtime.osx-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.osx-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools From Version 16.0.5-alpha.1.23472.1 -> To Version 16.0.5-alpha.1.23477.2 (parent: Microsoft.NET.Workload.Emscripten.Current.Manifest-9.0.100.Transport * Update dependencies from https://github.com/dotnet/hotreload-utils build 20231002.1 Microsoft.DotNet.HotReload.Utils.Generator.BuildTool From Version 8.0.0-alpha.0.23475.1 -> To Version 8.0.0-alpha.0.23502.1 * Update dependencies from https://github.com/dotnet/cecil build 20231002.1 Microsoft.DotNet.Cecil From Version 0.11.4-alpha.23476.1 -> To Version 0.11.4-alpha.23502.1 * Update dependencies from https://github.com/dotnet/sdk build 20231005.16 Microsoft.DotNet.ApiCompat.Task From Version 9.0.100-alpha.1.23480.1 -> To Version 9.0.100-alpha.1.23505.16 * Update dependencies from https://github.com/dotnet/emsdk build 20231006.1 Microsoft.NET.Workload.Emscripten.Current.Manifest-9.0.100.Transport From Version 9.0.0-alpha.1.23478.1 -> To Version 9.0.0-alpha.1.23506.1 Dependency coherency updates runtime.linux-arm64.Microsoft.NETCore.Runtime.ObjWriter,runtime.linux-x64.Microsoft.NETCore.Runtime.ObjWriter,runtime.linux-musl-arm64.Microsoft.NETCore.Runtime.ObjWriter,runtime.linux-musl-x64.Microsoft.NETCore.Runtime.ObjWriter,runtime.win-arm64.Microsoft.NETCore.Runtime.ObjWriter,runtime.win-x64.Microsoft.NETCore.Runtime.ObjWriter,runtime.osx-arm64.Microsoft.NETCore.Runtime.ObjWriter,runtime.osx-x64.Microsoft.NETCore.Runtime.ObjWriter,runtime.linux-arm64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.linux-x64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.linux-musl-arm64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.linux-musl-x64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.win-arm64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.win-x64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.osx-arm64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.osx-x64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.linux-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.linux-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools,runtime.linux-musl-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.linux-musl-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools,runtime.linux-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.linux-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools,runtime.linux-musl-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.linux-musl-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools,runtime.win-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.win-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools,runtime.osx-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.osx-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools,runtime.osx-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.osx-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools From Version 16.0.5-alpha.1.23472.1 -> To Version 16.0.5-alpha.1.23477.2 (parent: Microsoft.NET.Workload.Emscripten.Current.Manifest-9.0.100.Transport * Update dependencies from https://github.com/dotnet/arcade build 20231006.2 Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XUnitAssert , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.XUnitExtensions From Version 8.0.0-beta.23463.1 -> To Version 9.0.0-beta.23506.2 Dependency coherency updates Microsoft.DotNet.XliffTasks From Version 1.0.0-beta.23426.1 -> To Version 1.0.0-beta.23502.1 (parent: Microsoft.DotNet.Helix.Sdk * Update dependencies from https://github.com/dotnet/xharness build 20231005.1 Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit From Version 8.0.0-prerelease.23477.1 -> To Version 8.0.0-prerelease.23505.1 * Update dependencies from https://github.com/dotnet/runtime-assets build 20231002.1 Microsoft.DotNet.CilStrip.Sources , System.ComponentModel.TypeConverter.TestData , System.Data.Common.TestData , System.Drawing.Common.TestData , System.Formats.Tar.TestData , System.IO.Compression.TestData , System.IO.Packaging.TestData , System.Net.TestData , System.Private.Runtime.UnicodeData , System.Runtime.Numerics.TestData , System.Runtime.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Text.RegularExpressions.TestData , System.Windows.Extensions.TestData From Version 8.0.0-beta.23456.1 -> To Version 8.0.0-beta.23502.1 * Update dependencies from https://github.com/dotnet/emsdk build 20231006.1 Microsoft.NET.Workload.Emscripten.Current.Manifest-9.0.100.Transport From Version 9.0.0-alpha.1.23478.1 -> To Version 9.0.0-alpha.1.23506.1 Dependency coherency updates runtime.linux-arm64.Microsoft.NETCore.Runtime.ObjWriter,runtime.linux-x64.Microsoft.NETCore.Runtime.ObjWriter,runtime.linux-musl-arm64.Microsoft.NETCore.Runtime.ObjWriter,runtime.linux-musl-x64.Microsoft.NETCore.Runtime.ObjWriter,runtime.win-arm64.Microsoft.NETCore.Runtime.ObjWriter,runtime.win-x64.Microsoft.NETCore.Runtime.ObjWriter,runtime.osx-arm64.Microsoft.NETCore.Runtime.ObjWriter,runtime.osx-x64.Microsoft.NETCore.Runtime.ObjWriter,runtime.linux-arm64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.linux-x64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.linux-musl-arm64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.linux-musl-x64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.win-arm64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.win-x64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.osx-arm64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.osx-x64.Microsoft.NETCore.Runtime.JIT.Tools,runtime.linux-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.linux-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools,runtime.linux-musl-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.linux-musl-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools,runtime.linux-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.linux-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools,runtime.linux-musl-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.linux-musl-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools,runtime.win-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.win-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools,runtime.osx-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.osx-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools,runtime.osx-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk,runtime.osx-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools From Version 16.0.5-alpha.1.23472.1 -> To Version 16.0.5-alpha.1.23477.2 (parent: Microsoft.NET.Workload.Emscripten.Current.Manifest-9.0.100.Transport * Update dependencies from https://github.com/dotnet/hotreload-utils build 20231002.1 Microsoft.DotNet.HotReload.Utils.Generator.BuildTool From Version 8.0.0-alpha.0.23475.1 -> To Version 8.0.0-alpha.0.23502.1 * Update dependencies from https://github.com/dotnet/cecil build 20231002.1 Microsoft.DotNet.Cecil From Version 0.11.4-alpha.23476.1 -> To Version 0.11.4-alpha.23502.1 * Update dependencies from https://github.com/dotnet/sdk build 20231006.9 Microsoft.DotNet.ApiCompat.Task From Version 9.0.100-alpha.1.23480.1 -> To Version 9.0.100-alpha.1.23506.9 * Update dependencies from https://github.com/dotnet/arcade build 20231006.2 Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XUnitAssert , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.XUnitExtensions From Version 8.0.0-beta.23463.1 -> To Version 9.0.0-beta.23506.2 Dependency coherency updates Microsoft.DotNet.XliffTasks From Version 1.0.0-beta.23426.1 -> To Version 1.0.0-beta.23502.1 (parent: Microsoft.DotNet.Helix.Sdk * Update dependencies from https://github.com/dotnet/xharness build 20231005.1 Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit From Version 8.0.0-prerelease.23477.1 -> To Version 8.0.0-prerelease.23505.1 * Update dependencies from https://github.com/dotnet/runtime-assets build 20231002.1 Microsoft.DotNet.CilStrip.Sources , System.ComponentModel.TypeConverter.TestData , System.Data.Common.TestData , System.Drawing.Common.TestData , System.Formats.Tar.TestData , System.IO.Compression.TestData , System.IO.Packaging.TestData , System.Net.TestData , System.Private.Runtime.UnicodeData , System.Runtime.Numerics.TestData , System.Runtime.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Text.RegularExpressions.TestData , System.Windows.Extensions.TestData From Version 8.0.0-beta.23456.1 -> To Version 8.0.0-beta.23502.1 * Update dependencies from https://github.com/dotnet/hotreload-utils build 20231002.1 Microsoft.DotNet.HotReload.Utils.Generator.BuildTool From Version 8.0.0-alpha.0.23475.1 -> To Version 8.0.0-alpha.0.23502.1 * Update dependencies from https://github.com/dotnet/cecil build 20231002.1 Microsoft.DotNet.Cecil From Version 0.11.4-alpha.23476.1 -> To Version 0.11.4-alpha.23502.1 * Update dependencies from https://github.com/dotnet/sdk build 20231008.1 Microsoft.DotNet.ApiCompat.Task From Version 9.0.100-alpha.1.23480.1 -> To Version 9.0.100-alpha.1.23508.1 * Update dependencies from https://github.com/dotnet/arcade build 20231008.1 Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XUnitAssert , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.XUnitExtensions From Version 8.0.0-beta.23463.1 -> To Version 9.0.0-beta.23508.1 Dependency coherency updates Microsoft.DotNet.XliffTasks From Version 1.0.0-beta.23426.1 -> To Version 1.0.0-beta.23502.1 (parent: Microsoft.DotNet.Helix.Sdk * Update dependencies from https://github.com/dotnet/xharness build 20231005.1 Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit From Version 8.0.0-prerelease.23477.1 -> To Version 8.0.0-prerelease.23505.1 * Update dependencies from https://github.com/dotnet/runtime-assets build 20231002.1 Microsoft.DotNet.CilStrip.Sources , System.ComponentModel.TypeConverter.TestData , System.Data.Common.TestData , System.Drawing.Common.TestData , System.Formats.Tar.TestData , System.IO.Compression.TestData , System.IO.Packaging.TestData , System.Net.TestData , System.Private.Runtime.UnicodeData , System.Runtime.Numerics.TestData , System.Runtime.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Text.RegularExpressions.TestData , System.Windows.Extensions.TestData From Version 8.0.0-beta.23456.1 -> To Version 8.0.0-beta.23502.1 * Update dependencies from https://github.com/dotnet/hotreload-utils build 20231002.1 Microsoft.DotNet.HotReload.Utils.Generator.BuildTool From Version 8.0.0-alpha.0.23475.1 -> To Version 8.0.0-alpha.0.23502.1 * Update dependencies from https://github.com/dotnet/runtime build 20231008.5 Microsoft.DotNet.ILCompiler , Microsoft.NET.Sdk.IL , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.ILAsm , runtime.native.System.IO.Ports , System.Text.Json From Version 9.0.0-alpha.1.23470.17 -> To Version 9.0.0-alpha.1.23508.5 * Update dependencies from https://github.com/dotnet/cecil build 20231002.1 Microsoft.DotNet.Cecil From Version 0.11.4-alpha.23476.1 -> To Version 0.11.4-alpha.23502.1 * Update dependencies from https://github.com/dotnet/sdk build 20231009.2 Microsoft.DotNet.ApiCompat.Task From Version 9.0.100-alpha.1.23480.1 -> To Version 9.0.100-alpha.1.23509.2 * Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20231002.1 Microsoft.SourceBuild.Intermediate.source-build-reference-packages From Version 9.0.0-alpha.1.23472.1 -> To Version 9.0.0-alpha.1.23502.1 * Update Versions.props * Update dependencies from https://github.com/dotnet/arcade build 20231010.1 Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XUnitAssert , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.XUnitExtensions From Version 8.0.0-beta.23463.1 -> To Version 9.0.0-beta.23510.1 Dependency coherency updates Microsoft.DotNet.XliffTasks From Version 1.0.0-beta.23426.1 -> To Version 1.0.0-beta.23502.1 (parent: Microsoft.DotNet.Helix.Sdk * Update dependencies from https://github.com/dotnet/xharness build 20231005.1 Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit From Version 8.0.0-prerelease.23477.1 -> To Version 8.0.0-prerelease.23505.1 * Update dependencies from https://github.com/dotnet/runtime-assets build 20231002.1 Microsoft.DotNet.CilStrip.Sources , System.ComponentModel.TypeConverter.TestData , System.Data.Common.TestData , System.Drawing.Common.TestData , System.Formats.Tar.TestData , System.IO.Compression.TestData , System.IO.Packaging.TestData , System.Net.TestData , System.Private.Runtime.UnicodeData , System.Runtime.Numerics.TestData , System.Runtime.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Text.RegularExpressions.TestData , System.Windows.Extensions.TestData From Version 8.0.0-beta.23456.1 -> To Version 8.0.0-beta.23502.1 * Update dependencies from https://github.com/dotnet/icu build 20231009.3 Microsoft.NETCore.Runtime.ICU.Transport From Version 9.0.0-alpha.1.23454.1 -> To Version 9.0.0-alpha.1.23509.3 * Update dependencies from https://github.com/dotnet/hotreload-utils build 20231009.1 Microsoft.DotNet.HotReload.Utils.Generator.BuildTool From Version 8.0.0-alpha.0.23475.1 -> To Version 8.0.0-alpha.0.23509.1 * Update dependencies from https://github.com/dotnet/cecil build 20231009.2 Microsoft.DotNet.Cecil From Version 0.11.4-alpha.23476.1 -> To Version 0.11.4-alpha.23509.2 * Update dependencies from https://github.com/dotnet/sdk build 20231009.10 Microsoft.DotNet.ApiCompat.Task From Version 9.0.100-alpha.1.23506.9 -> To Version 9.0.100-alpha.1.23509.10 * Update dependencies from https://github.com/dotnet/sdk build 20231010.2 Microsoft.DotNet.ApiCompat.Task From Version 9.0.100-alpha.1.23506.9 -> To Version 9.0.100-alpha.1.23510.2 * Sync up xunit.analyzers with xunit * Update tests due to xunit.analyzers updates * Update more tests * More tests * Fix unit test bug * Disable "supported test return types" analyzer as we allow more options than traditional xunit * Update arcade packages * React to breaking changes * test fix * Fix more test failures * More test fixes * and more * React to yet another breaking change * Some runtime test failures * remaining runtime test fix * Update arcade versions for real * Disable another xunit warning. * Update arcade * More tests * fix * ILCompiler trimming tests * Update xliff-tasks dependency * remove failing Assert.Empty calls * Try to fix a few tests * Use XUnit.Assert fork in external.csproj * Fix ToEnumerableChars test * Fix UpdateArray_StartWithDefault test * Fix GetChars_WithReplacementFallback test * Fix Reverse_NonSZArrayWithMinValueLowerBound test * Fix System.Xml test failures * System.IO.Ports failing tests * Fix failing AppDomain tests under mono runtime * Fix ILLink.Descriptor.xunit.xml CompareTypedSets was moved to CollectionTracker * Update SDK to latest RC1 * Undo Reverse test fix * Fix Reverse_NonSZArrayWithMinValueLowerBound test * Disable a failing test on mono runtime * Disable Copy_SZArray on Mono as well --------- Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: Larry Ewing <lewing@microsoft.com> Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com> Co-authored-by: Jeremy Koritzinsky <jkoritzinsky@gmail.com> Co-authored-by: Andy Gocke <andy@commentout.net> Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
This commit is contained in:
parent
c0584b920c
commit
bf547c68ee
|
@ -15,7 +15,7 @@
|
|||
]
|
||||
},
|
||||
"microsoft.dotnet.xharness.cli": {
|
||||
"version": "8.0.0-prerelease.23477.1",
|
||||
"version": "8.0.0-prerelease.23505.1",
|
||||
"commands": [
|
||||
"xharness"
|
||||
]
|
||||
|
|
|
@ -1929,6 +1929,12 @@ dotnet_diagnostic.xUnit1025.severity = warning
|
|||
# xUnit1026: Theory methods should use all of their parameters
|
||||
dotnet_diagnostic.xUnit1026.severity = warning
|
||||
|
||||
# xUnit1030: Test methods should not call ConfigureAwait(), as it may bypass parallelization limits.
|
||||
dotnet_diagnostic.xUnit1030.severity = none
|
||||
|
||||
# xUnit1031: Test methods must not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead.
|
||||
dotnet_diagnostic.xUnit1031.severity = none
|
||||
|
||||
# xUnit2000: Constants and literals should be the expected argument
|
||||
dotnet_diagnostic.xUnit2000.severity = warning
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<Dependencies>
|
||||
<ProductDependencies>
|
||||
<Dependency Name="Microsoft.NETCore.Runtime.ICU.Transport" Version="9.0.0-alpha.1.23454.1">
|
||||
<Dependency Name="Microsoft.NETCore.Runtime.ICU.Transport" Version="9.0.0-alpha.1.23509.3">
|
||||
<Uri>https://github.com/dotnet/icu</Uri>
|
||||
<Sha>cd1393cad6efacd354328571da8107fb3cbc3a48</Sha>
|
||||
<Sha>5ab31f65fe3cb8282eb8e19ca4844a2f6d5bf87b</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="System.Net.MsQuic.Transport" Version="8.0.0-alpha.1.23166.1">
|
||||
<Uri>https://github.com/dotnet/msquic</Uri>
|
||||
|
@ -85,9 +85,9 @@
|
|||
<Sha>02fe27cd6a9b001c8feb7938e6ef4b3799745759b</Sha>
|
||||
<SourceBuild RepoName="command-line-api" ManagedOnly="true" />
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.DotNet.Cecil" Version="0.11.4-alpha.23476.1">
|
||||
<Dependency Name="Microsoft.DotNet.Cecil" Version="0.11.4-alpha.23509.2">
|
||||
<Uri>https://github.com/dotnet/cecil</Uri>
|
||||
<Sha>13d6536e2dc92404da76d61d248badc040eb0de0</Sha>
|
||||
<Sha>45dd3a73dd5b64b010c4251303b3664bb30df029</Sha>
|
||||
<SourceBuild RepoName="cecil" ManagedOnly="true" />
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.NET.Workload.Emscripten.Current.Manifest-9.0.100.Transport" Version="9.0.0-alpha.1.23507.1">
|
||||
|
@ -95,9 +95,9 @@
|
|||
<Sha>97568ad0e2120f194df7ac3895e9589fcc8a255b</Sha>
|
||||
<SourceBuild RepoName="emsdk" ManagedOnly="true" />
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.SourceBuild.Intermediate.source-build-reference-packages" Version="9.0.0-alpha.1.23472.1">
|
||||
<Dependency Name="Microsoft.SourceBuild.Intermediate.source-build-reference-packages" Version="9.0.0-alpha.1.23502.1">
|
||||
<Uri>https://github.com/dotnet/source-build-reference-packages</Uri>
|
||||
<Sha>3af65e74c8be435668f328c2bf134270b33d4e3a</Sha>
|
||||
<Sha>05ffbf9df6c1dc621665ee1864874c4fe6de874c</Sha>
|
||||
<SourceBuild RepoName="source-build-reference-packages" ManagedOnly="true" />
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.SourceBuild.Intermediate.source-build-externals" Version="9.0.0-alpha.1.23509.2">
|
||||
|
@ -107,135 +107,135 @@
|
|||
</Dependency>
|
||||
</ProductDependencies>
|
||||
<ToolsetDependencies>
|
||||
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="8.0.0-beta.23463.1">
|
||||
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="9.0.0-beta.23512.4">
|
||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||
<Sha>1d451c32dda2314c721adbf8829e1c0cd4e681ff</Sha>
|
||||
<Sha>53e7d39f4fb3e1f244282251120b3639bdc805fc</Sha>
|
||||
<SourceBuild RepoName="arcade" ManagedOnly="true" />
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.DotNet.XliffTasks" Version="1.0.0-beta.23426.1" CoherentParentDependency="Microsoft.DotNet.Helix.Sdk">
|
||||
<Dependency Name="Microsoft.DotNet.XliffTasks" Version="1.0.0-beta.23509.1" CoherentParentDependency="Microsoft.DotNet.Helix.Sdk">
|
||||
<Uri>https://github.com/dotnet/xliff-tasks</Uri>
|
||||
<Sha>194f32828726c3f1f63f79f3dc09b9e99c157b11</Sha>
|
||||
<Sha>4f761bf529f4be49842b13d7efcef9af87f0a973</Sha>
|
||||
<SourceBuild RepoName="xliff-tasks" ManagedOnly="true" />
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="8.0.0-beta.23463.1">
|
||||
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="9.0.0-beta.23512.4">
|
||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||
<Sha>1d451c32dda2314c721adbf8829e1c0cd4e681ff</Sha>
|
||||
<Sha>53e7d39f4fb3e1f244282251120b3639bdc805fc</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.DotNet.GenAPI" Version="8.0.0-beta.23463.1">
|
||||
<Dependency Name="Microsoft.DotNet.GenAPI" Version="9.0.0-beta.23512.4">
|
||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||
<Sha>1d451c32dda2314c721adbf8829e1c0cd4e681ff</Sha>
|
||||
<Sha>53e7d39f4fb3e1f244282251120b3639bdc805fc</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.DotNet.GenFacades" Version="8.0.0-beta.23463.1">
|
||||
<Dependency Name="Microsoft.DotNet.GenFacades" Version="9.0.0-beta.23512.4">
|
||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||
<Sha>1d451c32dda2314c721adbf8829e1c0cd4e681ff</Sha>
|
||||
<Sha>53e7d39f4fb3e1f244282251120b3639bdc805fc</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.DotNet.XUnitAssert" Version="8.0.0-beta.23463.1">
|
||||
<Dependency Name="Microsoft.DotNet.XUnitAssert" Version="9.0.0-beta.23512.4">
|
||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||
<Sha>1d451c32dda2314c721adbf8829e1c0cd4e681ff</Sha>
|
||||
<Sha>53e7d39f4fb3e1f244282251120b3639bdc805fc</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.DotNet.XUnitExtensions" Version="8.0.0-beta.23463.1">
|
||||
<Dependency Name="Microsoft.DotNet.XUnitExtensions" Version="9.0.0-beta.23512.4">
|
||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||
<Sha>1d451c32dda2314c721adbf8829e1c0cd4e681ff</Sha>
|
||||
<Sha>53e7d39f4fb3e1f244282251120b3639bdc805fc</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.DotNet.XUnitConsoleRunner" Version="2.5.1-beta.23463.1">
|
||||
<Dependency Name="Microsoft.DotNet.XUnitConsoleRunner" Version="2.5.1-beta.23510.1">
|
||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||
<Sha>1d451c32dda2314c721adbf8829e1c0cd4e681ff</Sha>
|
||||
<Sha>53e7d39f4fb3e1f244282251120b3639bdc805fc</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.DotNet.Build.Tasks.Archives" Version="8.0.0-beta.23463.1">
|
||||
<Dependency Name="Microsoft.DotNet.Build.Tasks.Archives" Version="9.0.0-beta.23512.4">
|
||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||
<Sha>1d451c32dda2314c721adbf8829e1c0cd4e681ff</Sha>
|
||||
<Sha>53e7d39f4fb3e1f244282251120b3639bdc805fc</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.DotNet.Build.Tasks.Packaging" Version="8.0.0-beta.23463.1">
|
||||
<Dependency Name="Microsoft.DotNet.Build.Tasks.Packaging" Version="9.0.0-beta.23512.4">
|
||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||
<Sha>1d451c32dda2314c721adbf8829e1c0cd4e681ff</Sha>
|
||||
<Sha>53e7d39f4fb3e1f244282251120b3639bdc805fc</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.DotNet.Build.Tasks.Installers" Version="8.0.0-beta.23463.1">
|
||||
<Dependency Name="Microsoft.DotNet.Build.Tasks.Installers" Version="9.0.0-beta.23512.4">
|
||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||
<Sha>1d451c32dda2314c721adbf8829e1c0cd4e681ff</Sha>
|
||||
<Sha>53e7d39f4fb3e1f244282251120b3639bdc805fc</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.DotNet.Build.Tasks.Templating" Version="8.0.0-beta.23463.1">
|
||||
<Dependency Name="Microsoft.DotNet.Build.Tasks.Templating" Version="9.0.0-beta.23512.4">
|
||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||
<Sha>1d451c32dda2314c721adbf8829e1c0cd4e681ff</Sha>
|
||||
<Sha>53e7d39f4fb3e1f244282251120b3639bdc805fc</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.DotNet.Build.Tasks.Workloads" Version="8.0.0-beta.23463.1">
|
||||
<Dependency Name="Microsoft.DotNet.Build.Tasks.Workloads" Version="9.0.0-beta.23512.4">
|
||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||
<Sha>1d451c32dda2314c721adbf8829e1c0cd4e681ff</Sha>
|
||||
<Sha>53e7d39f4fb3e1f244282251120b3639bdc805fc</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.DotNet.CodeAnalysis" Version="8.0.0-beta.23463.1">
|
||||
<Dependency Name="Microsoft.DotNet.CodeAnalysis" Version="9.0.0-beta.23512.4">
|
||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||
<Sha>1d451c32dda2314c721adbf8829e1c0cd4e681ff</Sha>
|
||||
<Sha>53e7d39f4fb3e1f244282251120b3639bdc805fc</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.DotNet.Build.Tasks.TargetFramework" Version="8.0.0-beta.23463.1">
|
||||
<Dependency Name="Microsoft.DotNet.Build.Tasks.TargetFramework" Version="9.0.0-beta.23512.4">
|
||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||
<Sha>1d451c32dda2314c721adbf8829e1c0cd4e681ff</Sha>
|
||||
<Sha>53e7d39f4fb3e1f244282251120b3639bdc805fc</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.DotNet.RemoteExecutor" Version="8.0.0-beta.23463.1">
|
||||
<Dependency Name="Microsoft.DotNet.RemoteExecutor" Version="9.0.0-beta.23512.4">
|
||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||
<Sha>1d451c32dda2314c721adbf8829e1c0cd4e681ff</Sha>
|
||||
<Sha>53e7d39f4fb3e1f244282251120b3639bdc805fc</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.DotNet.Build.Tasks.Feed" Version="8.0.0-beta.23463.1">
|
||||
<Dependency Name="Microsoft.DotNet.Build.Tasks.Feed" Version="9.0.0-beta.23512.4">
|
||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||
<Sha>1d451c32dda2314c721adbf8829e1c0cd4e681ff</Sha>
|
||||
<Sha>53e7d39f4fb3e1f244282251120b3639bdc805fc</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.DotNet.VersionTools.Tasks" Version="8.0.0-beta.23463.1">
|
||||
<Dependency Name="Microsoft.DotNet.VersionTools.Tasks" Version="9.0.0-beta.23512.4">
|
||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||
<Sha>1d451c32dda2314c721adbf8829e1c0cd4e681ff</Sha>
|
||||
<Sha>53e7d39f4fb3e1f244282251120b3639bdc805fc</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.DotNet.SharedFramework.Sdk" Version="8.0.0-beta.23463.1">
|
||||
<Dependency Name="Microsoft.DotNet.SharedFramework.Sdk" Version="9.0.0-beta.23512.4">
|
||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||
<Sha>1d451c32dda2314c721adbf8829e1c0cd4e681ff</Sha>
|
||||
<Sha>53e7d39f4fb3e1f244282251120b3639bdc805fc</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="System.ComponentModel.TypeConverter.TestData" Version="8.0.0-beta.23456.1">
|
||||
<Dependency Name="System.ComponentModel.TypeConverter.TestData" Version="8.0.0-beta.23502.1">
|
||||
<Uri>https://github.com/dotnet/runtime-assets</Uri>
|
||||
<Sha>b7d8e946c831e79435054f65e49c2eebb74b55c6</Sha>
|
||||
<Sha>3b91a0e7b0284777a4a95a89c76c03074050eb41</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="System.Data.Common.TestData" Version="8.0.0-beta.23456.1">
|
||||
<Dependency Name="System.Data.Common.TestData" Version="8.0.0-beta.23502.1">
|
||||
<Uri>https://github.com/dotnet/runtime-assets</Uri>
|
||||
<Sha>b7d8e946c831e79435054f65e49c2eebb74b55c6</Sha>
|
||||
<Sha>3b91a0e7b0284777a4a95a89c76c03074050eb41</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="System.Drawing.Common.TestData" Version="8.0.0-beta.23456.1">
|
||||
<Dependency Name="System.Drawing.Common.TestData" Version="8.0.0-beta.23502.1">
|
||||
<Uri>https://github.com/dotnet/runtime-assets</Uri>
|
||||
<Sha>b7d8e946c831e79435054f65e49c2eebb74b55c6</Sha>
|
||||
<Sha>3b91a0e7b0284777a4a95a89c76c03074050eb41</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="System.Formats.Tar.TestData" Version="8.0.0-beta.23456.1">
|
||||
<Dependency Name="System.Formats.Tar.TestData" Version="8.0.0-beta.23502.1">
|
||||
<Uri>https://github.com/dotnet/runtime-assets</Uri>
|
||||
<Sha>b7d8e946c831e79435054f65e49c2eebb74b55c6</Sha>
|
||||
<Sha>3b91a0e7b0284777a4a95a89c76c03074050eb41</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="System.IO.Compression.TestData" Version="8.0.0-beta.23456.1">
|
||||
<Dependency Name="System.IO.Compression.TestData" Version="8.0.0-beta.23502.1">
|
||||
<Uri>https://github.com/dotnet/runtime-assets</Uri>
|
||||
<Sha>b7d8e946c831e79435054f65e49c2eebb74b55c6</Sha>
|
||||
<Sha>3b91a0e7b0284777a4a95a89c76c03074050eb41</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="System.IO.Packaging.TestData" Version="8.0.0-beta.23456.1">
|
||||
<Dependency Name="System.IO.Packaging.TestData" Version="8.0.0-beta.23502.1">
|
||||
<Uri>https://github.com/dotnet/runtime-assets</Uri>
|
||||
<Sha>b7d8e946c831e79435054f65e49c2eebb74b55c6</Sha>
|
||||
<Sha>3b91a0e7b0284777a4a95a89c76c03074050eb41</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="System.Net.TestData" Version="8.0.0-beta.23456.1">
|
||||
<Dependency Name="System.Net.TestData" Version="8.0.0-beta.23502.1">
|
||||
<Uri>https://github.com/dotnet/runtime-assets</Uri>
|
||||
<Sha>b7d8e946c831e79435054f65e49c2eebb74b55c6</Sha>
|
||||
<Sha>3b91a0e7b0284777a4a95a89c76c03074050eb41</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="System.Private.Runtime.UnicodeData" Version="8.0.0-beta.23456.1">
|
||||
<Dependency Name="System.Private.Runtime.UnicodeData" Version="8.0.0-beta.23502.1">
|
||||
<Uri>https://github.com/dotnet/runtime-assets</Uri>
|
||||
<Sha>b7d8e946c831e79435054f65e49c2eebb74b55c6</Sha>
|
||||
<Sha>3b91a0e7b0284777a4a95a89c76c03074050eb41</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="System.Runtime.TimeZoneData" Version="8.0.0-beta.23456.1">
|
||||
<Dependency Name="System.Runtime.TimeZoneData" Version="8.0.0-beta.23502.1">
|
||||
<Uri>https://github.com/dotnet/runtime-assets</Uri>
|
||||
<Sha>b7d8e946c831e79435054f65e49c2eebb74b55c6</Sha>
|
||||
<Sha>3b91a0e7b0284777a4a95a89c76c03074050eb41</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="System.Security.Cryptography.X509Certificates.TestData" Version="8.0.0-beta.23456.1">
|
||||
<Dependency Name="System.Security.Cryptography.X509Certificates.TestData" Version="8.0.0-beta.23502.1">
|
||||
<Uri>https://github.com/dotnet/runtime-assets</Uri>
|
||||
<Sha>b7d8e946c831e79435054f65e49c2eebb74b55c6</Sha>
|
||||
<Sha>3b91a0e7b0284777a4a95a89c76c03074050eb41</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="System.Text.RegularExpressions.TestData" Version="8.0.0-beta.23456.1">
|
||||
<Dependency Name="System.Text.RegularExpressions.TestData" Version="8.0.0-beta.23502.1">
|
||||
<Uri>https://github.com/dotnet/runtime-assets</Uri>
|
||||
<Sha>b7d8e946c831e79435054f65e49c2eebb74b55c6</Sha>
|
||||
<Sha>3b91a0e7b0284777a4a95a89c76c03074050eb41</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="System.Windows.Extensions.TestData" Version="8.0.0-beta.23456.1">
|
||||
<Dependency Name="System.Windows.Extensions.TestData" Version="8.0.0-beta.23502.1">
|
||||
<Uri>https://github.com/dotnet/runtime-assets</Uri>
|
||||
<Sha>b7d8e946c831e79435054f65e49c2eebb74b55c6</Sha>
|
||||
<Sha>3b91a0e7b0284777a4a95a89c76c03074050eb41</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.DotNet.CilStrip.Sources" Version="8.0.0-beta.23456.1">
|
||||
<Dependency Name="Microsoft.DotNet.CilStrip.Sources" Version="8.0.0-beta.23502.1">
|
||||
<Uri>https://github.com/dotnet/runtime-assets</Uri>
|
||||
<Sha>b7d8e946c831e79435054f65e49c2eebb74b55c6</Sha>
|
||||
<Sha>3b91a0e7b0284777a4a95a89c76c03074050eb41</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="runtime.linux-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk" Version="16.0.5-alpha.1.23477.2" CoherentParentDependency="Microsoft.NET.Workload.Emscripten.Current.Manifest-9.0.100.Transport">
|
||||
<Uri>https://github.com/dotnet/llvm-project</Uri>
|
||||
|
@ -293,46 +293,46 @@
|
|||
<Uri>https://github.com/dotnet/llvm-project</Uri>
|
||||
<Sha>bf6a0c836451372d987b49a6a67db84e5b93c727</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.NETCore.App.Runtime.win-x64" Version="9.0.0-alpha.1.23470.17">
|
||||
<Dependency Name="Microsoft.NETCore.App.Runtime.win-x64" Version="9.0.0-alpha.1.23508.5">
|
||||
<Uri>https://github.com/dotnet/runtime</Uri>
|
||||
<Sha>736dabeca728ccf8b911d96d1b4c575b4d0db7d2</Sha>
|
||||
<Sha>26a809adb958c604ac773d39f2c253cf0dd12e1e</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="runtime.native.System.IO.Ports" Version="9.0.0-alpha.1.23470.17">
|
||||
<Dependency Name="runtime.native.System.IO.Ports" Version="9.0.0-alpha.1.23508.5">
|
||||
<Uri>https://github.com/dotnet/runtime</Uri>
|
||||
<Sha>736dabeca728ccf8b911d96d1b4c575b4d0db7d2</Sha>
|
||||
<Sha>26a809adb958c604ac773d39f2c253cf0dd12e1e</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.NETCore.ILAsm" Version="9.0.0-alpha.1.23470.17">
|
||||
<Dependency Name="Microsoft.NETCore.ILAsm" Version="9.0.0-alpha.1.23508.5">
|
||||
<Uri>https://github.com/dotnet/runtime</Uri>
|
||||
<Sha>736dabeca728ccf8b911d96d1b4c575b4d0db7d2</Sha>
|
||||
<Sha>26a809adb958c604ac773d39f2c253cf0dd12e1e</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.NET.Sdk.IL" Version="9.0.0-alpha.1.23470.17">
|
||||
<Dependency Name="Microsoft.NET.Sdk.IL" Version="9.0.0-alpha.1.23508.5">
|
||||
<Uri>https://github.com/dotnet/runtime</Uri>
|
||||
<Sha>736dabeca728ccf8b911d96d1b4c575b4d0db7d2</Sha>
|
||||
<Sha>26a809adb958c604ac773d39f2c253cf0dd12e1e</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="System.Text.Json" Version="9.0.0-alpha.1.23470.17">
|
||||
<Dependency Name="System.Text.Json" Version="9.0.0-alpha.1.23508.5">
|
||||
<Uri>https://github.com/dotnet/runtime</Uri>
|
||||
<Sha>736dabeca728ccf8b911d96d1b4c575b4d0db7d2</Sha>
|
||||
<Sha>26a809adb958c604ac773d39f2c253cf0dd12e1e</Sha>
|
||||
<SourceBuild RepoName="runtime" ManagedOnly="false" />
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.DotNet.ILCompiler" Version="9.0.0-alpha.1.23470.17">
|
||||
<Dependency Name="Microsoft.DotNet.ILCompiler" Version="9.0.0-alpha.1.23508.5">
|
||||
<Uri>https://github.com/dotnet/runtime</Uri>
|
||||
<Sha>736dabeca728ccf8b911d96d1b4c575b4d0db7d2</Sha>
|
||||
<Sha>26a809adb958c604ac773d39f2c253cf0dd12e1e</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.DotNet.XHarness.TestRunners.Common" Version="8.0.0-prerelease.23477.1">
|
||||
<Dependency Name="Microsoft.DotNet.XHarness.TestRunners.Common" Version="8.0.0-prerelease.23505.1">
|
||||
<Uri>https://github.com/dotnet/xharness</Uri>
|
||||
<Sha>2b1d423ce08e1ed78c0a821d0850e0f5ab3b193a</Sha>
|
||||
<Sha>0672f8ce90040d589f29edc37d9e817d67cd4533</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.DotNet.XHarness.TestRunners.Xunit" Version="8.0.0-prerelease.23477.1">
|
||||
<Dependency Name="Microsoft.DotNet.XHarness.TestRunners.Xunit" Version="8.0.0-prerelease.23505.1">
|
||||
<Uri>https://github.com/dotnet/xharness</Uri>
|
||||
<Sha>2b1d423ce08e1ed78c0a821d0850e0f5ab3b193a</Sha>
|
||||
<Sha>0672f8ce90040d589f29edc37d9e817d67cd4533</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.DotNet.XHarness.CLI" Version="8.0.0-prerelease.23477.1">
|
||||
<Dependency Name="Microsoft.DotNet.XHarness.CLI" Version="8.0.0-prerelease.23505.1">
|
||||
<Uri>https://github.com/dotnet/xharness</Uri>
|
||||
<Sha>2b1d423ce08e1ed78c0a821d0850e0f5ab3b193a</Sha>
|
||||
<Sha>0672f8ce90040d589f29edc37d9e817d67cd4533</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.DotNet.PackageTesting" Version="8.0.0-beta.23463.1">
|
||||
<Dependency Name="Microsoft.DotNet.PackageTesting" Version="9.0.0-beta.23512.4">
|
||||
<Uri>https://github.com/dotnet/arcade</Uri>
|
||||
<Sha>1d451c32dda2314c721adbf8829e1c0cd4e681ff</Sha>
|
||||
<Sha>53e7d39f4fb3e1f244282251120b3639bdc805fc</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="optimization.windows_nt-x64.MIBC.Runtime" Version="1.0.0-prerelease.23507.6">
|
||||
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-optimization</Uri>
|
||||
|
@ -350,13 +350,13 @@
|
|||
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-optimization</Uri>
|
||||
<Sha>9d70382f52bc311fa51e523bb066ebb012bf8035</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.DotNet.HotReload.Utils.Generator.BuildTool" Version="8.0.0-alpha.0.23475.1">
|
||||
<Dependency Name="Microsoft.DotNet.HotReload.Utils.Generator.BuildTool" Version="8.0.0-alpha.0.23509.1">
|
||||
<Uri>https://github.com/dotnet/hotreload-utils</Uri>
|
||||
<Sha>6c20c1d568568b9b2da84f878ac9cb4a48aaa4e5</Sha>
|
||||
<Sha>0808f735fcb35276120b2e1221d6c3395d5543d6</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="System.Runtime.Numerics.TestData" Version="8.0.0-beta.23456.1">
|
||||
<Dependency Name="System.Runtime.Numerics.TestData" Version="8.0.0-beta.23502.1">
|
||||
<Uri>https://github.com/dotnet/runtime-assets</Uri>
|
||||
<Sha>b7d8e946c831e79435054f65e49c2eebb74b55c6</Sha>
|
||||
<Sha>3b91a0e7b0284777a4a95a89c76c03074050eb41</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.Net.Compilers.Toolset" Version="4.9.0-1.23506.7">
|
||||
<Uri>https://github.com/dotnet/roslyn</Uri>
|
||||
|
@ -379,9 +379,9 @@
|
|||
<Uri>https://github.com/dotnet/roslyn-analyzers</Uri>
|
||||
<Sha>8b1675a20d889de99684bfced2e0cbc1296c7853</Sha>
|
||||
</Dependency>
|
||||
<Dependency Name="Microsoft.DotNet.ApiCompat.Task" Version="9.0.100-alpha.1.23506.9">
|
||||
<Dependency Name="Microsoft.DotNet.ApiCompat.Task" Version="9.0.100-alpha.1.23510.2">
|
||||
<Uri>https://github.com/dotnet/sdk</Uri>
|
||||
<Sha>08c4fdc8b41386155c93cb2dbdd3a139aa2c348c</Sha>
|
||||
<Sha>f3143488131043ba6788f72044b7b28bbcc462dd</Sha>
|
||||
<SourceBuild RepoName="sdk" ManagedOnly="true" />
|
||||
</Dependency>
|
||||
<Dependency Name="optimization.windows_nt-arm64.MIBC.Runtime" Version="1.0.0-prerelease.23507.6">
|
||||
|
|
|
@ -80,31 +80,31 @@
|
|||
<PropertyGroup>
|
||||
<StaticCsVersion>0.2.0</StaticCsVersion>
|
||||
<!-- SDK dependencies -->
|
||||
<MicrosoftDotNetApiCompatTaskVersion>9.0.100-alpha.1.23506.9</MicrosoftDotNetApiCompatTaskVersion>
|
||||
<MicrosoftDotNetApiCompatTaskVersion>9.0.100-alpha.1.23510.2</MicrosoftDotNetApiCompatTaskVersion>
|
||||
<!-- Arcade dependencies -->
|
||||
<MicrosoftDotNetBuildTasksFeedVersion>8.0.0-beta.23463.1</MicrosoftDotNetBuildTasksFeedVersion>
|
||||
<MicrosoftDotNetCodeAnalysisVersion>8.0.0-beta.23463.1</MicrosoftDotNetCodeAnalysisVersion>
|
||||
<MicrosoftDotNetGenAPIVersion>8.0.0-beta.23463.1</MicrosoftDotNetGenAPIVersion>
|
||||
<MicrosoftDotNetGenFacadesVersion>8.0.0-beta.23463.1</MicrosoftDotNetGenFacadesVersion>
|
||||
<MicrosoftDotNetXUnitAssertVersion>8.0.0-beta.23463.1</MicrosoftDotNetXUnitAssertVersion>
|
||||
<MicrosoftDotNetXUnitExtensionsVersion>8.0.0-beta.23463.1</MicrosoftDotNetXUnitExtensionsVersion>
|
||||
<MicrosoftDotNetXUnitConsoleRunnerVersion>2.5.1-beta.23463.1</MicrosoftDotNetXUnitConsoleRunnerVersion>
|
||||
<MicrosoftDotNetBuildTasksArchivesVersion>8.0.0-beta.23463.1</MicrosoftDotNetBuildTasksArchivesVersion>
|
||||
<MicrosoftDotNetBuildTasksInstallersVersion>8.0.0-beta.23463.1</MicrosoftDotNetBuildTasksInstallersVersion>
|
||||
<MicrosoftDotNetBuildTasksPackagingVersion>8.0.0-beta.23463.1</MicrosoftDotNetBuildTasksPackagingVersion>
|
||||
<MicrosoftDotNetBuildTasksTargetFrameworkVersion>8.0.0-beta.23463.1</MicrosoftDotNetBuildTasksTargetFrameworkVersion>
|
||||
<MicrosoftDotNetBuildTasksTemplatingVersion>8.0.0-beta.23463.1</MicrosoftDotNetBuildTasksTemplatingVersion>
|
||||
<MicrosoftDotNetBuildTasksWorkloadsPackageVersion>8.0.0-beta.23463.1</MicrosoftDotNetBuildTasksWorkloadsPackageVersion>
|
||||
<MicrosoftDotNetRemoteExecutorVersion>8.0.0-beta.23463.1</MicrosoftDotNetRemoteExecutorVersion>
|
||||
<MicrosoftDotNetVersionToolsTasksVersion>8.0.0-beta.23463.1</MicrosoftDotNetVersionToolsTasksVersion>
|
||||
<MicrosoftDotNetPackageTestingVersion>8.0.0-beta.23463.1</MicrosoftDotNetPackageTestingVersion>
|
||||
<MicrosoftDotNetBuildTasksFeedVersion>9.0.0-beta.23512.4</MicrosoftDotNetBuildTasksFeedVersion>
|
||||
<MicrosoftDotNetCodeAnalysisVersion>9.0.0-beta.23512.4</MicrosoftDotNetCodeAnalysisVersion>
|
||||
<MicrosoftDotNetGenAPIVersion>9.0.0-beta.23512.4</MicrosoftDotNetGenAPIVersion>
|
||||
<MicrosoftDotNetGenFacadesVersion>9.0.0-beta.23512.4</MicrosoftDotNetGenFacadesVersion>
|
||||
<MicrosoftDotNetXUnitAssertVersion>9.0.0-beta.23512.4</MicrosoftDotNetXUnitAssertVersion>
|
||||
<MicrosoftDotNetXUnitExtensionsVersion>9.0.0-beta.23512.4</MicrosoftDotNetXUnitExtensionsVersion>
|
||||
<MicrosoftDotNetXUnitConsoleRunnerVersion>2.5.1-beta.23510.1</MicrosoftDotNetXUnitConsoleRunnerVersion>
|
||||
<MicrosoftDotNetBuildTasksArchivesVersion>9.0.0-beta.23512.4</MicrosoftDotNetBuildTasksArchivesVersion>
|
||||
<MicrosoftDotNetBuildTasksInstallersVersion>9.0.0-beta.23512.4</MicrosoftDotNetBuildTasksInstallersVersion>
|
||||
<MicrosoftDotNetBuildTasksPackagingVersion>9.0.0-beta.23512.4</MicrosoftDotNetBuildTasksPackagingVersion>
|
||||
<MicrosoftDotNetBuildTasksTargetFrameworkVersion>9.0.0-beta.23512.4</MicrosoftDotNetBuildTasksTargetFrameworkVersion>
|
||||
<MicrosoftDotNetBuildTasksTemplatingVersion>9.0.0-beta.23512.4</MicrosoftDotNetBuildTasksTemplatingVersion>
|
||||
<MicrosoftDotNetBuildTasksWorkloadsPackageVersion>9.0.0-beta.23512.4</MicrosoftDotNetBuildTasksWorkloadsPackageVersion>
|
||||
<MicrosoftDotNetRemoteExecutorVersion>9.0.0-beta.23512.4</MicrosoftDotNetRemoteExecutorVersion>
|
||||
<MicrosoftDotNetVersionToolsTasksVersion>9.0.0-beta.23512.4</MicrosoftDotNetVersionToolsTasksVersion>
|
||||
<MicrosoftDotNetPackageTestingVersion>9.0.0-beta.23512.4</MicrosoftDotNetPackageTestingVersion>
|
||||
<!-- NuGet dependencies -->
|
||||
<NuGetBuildTasksPackVersion>6.0.0-preview.1.102</NuGetBuildTasksPackVersion>
|
||||
<!-- Installer dependencies -->
|
||||
<MicrosoftNETCoreAppRuntimewinx64Version>9.0.0-alpha.1.23470.17</MicrosoftNETCoreAppRuntimewinx64Version>
|
||||
<MicrosoftNETCoreAppRuntimewinx64Version>9.0.0-alpha.1.23508.5</MicrosoftNETCoreAppRuntimewinx64Version>
|
||||
<MicrosoftExtensionsDependencyModelVersion>6.0.0</MicrosoftExtensionsDependencyModelVersion>
|
||||
<!-- CoreClr dependencies -->
|
||||
<MicrosoftNETCoreILAsmVersion>9.0.0-alpha.1.23470.17</MicrosoftNETCoreILAsmVersion>
|
||||
<MicrosoftNETCoreILAsmVersion>9.0.0-alpha.1.23508.5</MicrosoftNETCoreILAsmVersion>
|
||||
<runtimelinuxarm64MicrosoftNETCoreRuntimeObjWriterVersion>16.0.5-alpha.1.23477.2</runtimelinuxarm64MicrosoftNETCoreRuntimeObjWriterVersion>
|
||||
<runtimelinuxx64MicrosoftNETCoreRuntimeObjWriterVersion>16.0.5-alpha.1.23477.2</runtimelinuxx64MicrosoftNETCoreRuntimeObjWriterVersion>
|
||||
<runtimelinuxmuslarm64MicrosoftNETCoreRuntimeObjWriterVersion>16.0.5-alpha.1.23477.2</runtimelinuxmuslarm64MicrosoftNETCoreRuntimeObjWriterVersion>
|
||||
|
@ -131,27 +131,27 @@
|
|||
<SystemSecurityCryptographyOpenSslVersion>5.0.0</SystemSecurityCryptographyOpenSslVersion>
|
||||
<SystemSecurityPrincipalWindowsVersion>5.0.0</SystemSecurityPrincipalWindowsVersion>
|
||||
<SystemSecurityPermissionsVersion>7.0.0</SystemSecurityPermissionsVersion>
|
||||
<SystemTextJsonVersion>9.0.0-alpha.1.23470.17</SystemTextJsonVersion>
|
||||
<SystemTextJsonVersion>9.0.0-alpha.1.23508.5</SystemTextJsonVersion>
|
||||
<SystemRuntimeCompilerServicesUnsafeVersion>6.0.0</SystemRuntimeCompilerServicesUnsafeVersion>
|
||||
<SystemThreadingAccessControlVersion>7.0.0</SystemThreadingAccessControlVersion>
|
||||
<SystemThreadingTasksExtensionsVersion>4.5.4</SystemThreadingTasksExtensionsVersion>
|
||||
<SystemValueTupleVersion>4.5.0</SystemValueTupleVersion>
|
||||
<runtimenativeSystemIOPortsVersion>9.0.0-alpha.1.23470.17</runtimenativeSystemIOPortsVersion>
|
||||
<runtimenativeSystemIOPortsVersion>9.0.0-alpha.1.23508.5</runtimenativeSystemIOPortsVersion>
|
||||
<!-- Runtime-Assets dependencies -->
|
||||
<SystemRuntimeNumericsTestDataVersion>8.0.0-beta.23456.1</SystemRuntimeNumericsTestDataVersion>
|
||||
<SystemComponentModelTypeConverterTestDataVersion>8.0.0-beta.23456.1</SystemComponentModelTypeConverterTestDataVersion>
|
||||
<SystemDataCommonTestDataVersion>8.0.0-beta.23456.1</SystemDataCommonTestDataVersion>
|
||||
<SystemDrawingCommonTestDataVersion>8.0.0-beta.23456.1</SystemDrawingCommonTestDataVersion>
|
||||
<SystemFormatsTarTestDataVersion>8.0.0-beta.23456.1</SystemFormatsTarTestDataVersion>
|
||||
<SystemIOCompressionTestDataVersion>8.0.0-beta.23456.1</SystemIOCompressionTestDataVersion>
|
||||
<SystemIOPackagingTestDataVersion>8.0.0-beta.23456.1</SystemIOPackagingTestDataVersion>
|
||||
<SystemNetTestDataVersion>8.0.0-beta.23456.1</SystemNetTestDataVersion>
|
||||
<SystemPrivateRuntimeUnicodeDataVersion>8.0.0-beta.23456.1</SystemPrivateRuntimeUnicodeDataVersion>
|
||||
<SystemRuntimeTimeZoneDataVersion>8.0.0-beta.23456.1</SystemRuntimeTimeZoneDataVersion>
|
||||
<SystemSecurityCryptographyX509CertificatesTestDataVersion>8.0.0-beta.23456.1</SystemSecurityCryptographyX509CertificatesTestDataVersion>
|
||||
<SystemTextRegularExpressionsTestDataVersion>8.0.0-beta.23456.1</SystemTextRegularExpressionsTestDataVersion>
|
||||
<SystemWindowsExtensionsTestDataVersion>8.0.0-beta.23456.1</SystemWindowsExtensionsTestDataVersion>
|
||||
<MicrosoftDotNetCilStripSourcesVersion>8.0.0-beta.23456.1</MicrosoftDotNetCilStripSourcesVersion>
|
||||
<SystemRuntimeNumericsTestDataVersion>8.0.0-beta.23502.1</SystemRuntimeNumericsTestDataVersion>
|
||||
<SystemComponentModelTypeConverterTestDataVersion>8.0.0-beta.23502.1</SystemComponentModelTypeConverterTestDataVersion>
|
||||
<SystemDataCommonTestDataVersion>8.0.0-beta.23502.1</SystemDataCommonTestDataVersion>
|
||||
<SystemDrawingCommonTestDataVersion>8.0.0-beta.23502.1</SystemDrawingCommonTestDataVersion>
|
||||
<SystemFormatsTarTestDataVersion>8.0.0-beta.23502.1</SystemFormatsTarTestDataVersion>
|
||||
<SystemIOCompressionTestDataVersion>8.0.0-beta.23502.1</SystemIOCompressionTestDataVersion>
|
||||
<SystemIOPackagingTestDataVersion>8.0.0-beta.23502.1</SystemIOPackagingTestDataVersion>
|
||||
<SystemNetTestDataVersion>8.0.0-beta.23502.1</SystemNetTestDataVersion>
|
||||
<SystemPrivateRuntimeUnicodeDataVersion>8.0.0-beta.23502.1</SystemPrivateRuntimeUnicodeDataVersion>
|
||||
<SystemRuntimeTimeZoneDataVersion>8.0.0-beta.23502.1</SystemRuntimeTimeZoneDataVersion>
|
||||
<SystemSecurityCryptographyX509CertificatesTestDataVersion>8.0.0-beta.23502.1</SystemSecurityCryptographyX509CertificatesTestDataVersion>
|
||||
<SystemTextRegularExpressionsTestDataVersion>8.0.0-beta.23502.1</SystemTextRegularExpressionsTestDataVersion>
|
||||
<SystemWindowsExtensionsTestDataVersion>8.0.0-beta.23502.1</SystemWindowsExtensionsTestDataVersion>
|
||||
<MicrosoftDotNetCilStripSourcesVersion>8.0.0-beta.23502.1</MicrosoftDotNetCilStripSourcesVersion>
|
||||
<!-- dotnet-optimization dependencies -->
|
||||
<optimizationwindows_ntx64MIBCRuntimeVersion>1.0.0-prerelease.23507.6</optimizationwindows_ntx64MIBCRuntimeVersion>
|
||||
<optimizationwindows_ntx86MIBCRuntimeVersion>1.0.0-prerelease.23507.6</optimizationwindows_ntx86MIBCRuntimeVersion>
|
||||
|
@ -178,13 +178,10 @@
|
|||
<!-- Testing -->
|
||||
<MicrosoftNETCoreCoreDisToolsVersion>1.1.0</MicrosoftNETCoreCoreDisToolsVersion>
|
||||
<MicrosoftNETTestSdkVersion>17.4.0-preview-20220707-01</MicrosoftNETTestSdkVersion>
|
||||
<MicrosoftDotNetXHarnessTestRunnersCommonVersion>8.0.0-prerelease.23477.1</MicrosoftDotNetXHarnessTestRunnersCommonVersion>
|
||||
<MicrosoftDotNetXHarnessTestRunnersXunitVersion>8.0.0-prerelease.23477.1</MicrosoftDotNetXHarnessTestRunnersXunitVersion>
|
||||
<MicrosoftDotNetXHarnessCLIVersion>8.0.0-prerelease.23477.1</MicrosoftDotNetXHarnessCLIVersion>
|
||||
<MicrosoftDotNetHotReloadUtilsGeneratorBuildToolVersion>8.0.0-alpha.0.23475.1</MicrosoftDotNetHotReloadUtilsGeneratorBuildToolVersion>
|
||||
<XUnitVersion>2.4.2</XUnitVersion>
|
||||
<XUnitAnalyzersVersion>1.0.0</XUnitAnalyzersVersion>
|
||||
<XUnitRunnerVisualStudioVersion>2.4.5</XUnitRunnerVisualStudioVersion>
|
||||
<MicrosoftDotNetXHarnessTestRunnersCommonVersion>8.0.0-prerelease.23505.1</MicrosoftDotNetXHarnessTestRunnersCommonVersion>
|
||||
<MicrosoftDotNetXHarnessTestRunnersXunitVersion>8.0.0-prerelease.23505.1</MicrosoftDotNetXHarnessTestRunnersXunitVersion>
|
||||
<MicrosoftDotNetXHarnessCLIVersion>8.0.0-prerelease.23505.1</MicrosoftDotNetXHarnessCLIVersion>
|
||||
<MicrosoftDotNetHotReloadUtilsGeneratorBuildToolVersion>8.0.0-alpha.0.23509.1</MicrosoftDotNetHotReloadUtilsGeneratorBuildToolVersion>
|
||||
<NUnitVersion>3.12.0</NUnitVersion>
|
||||
<NUnitTestAdapterVersion>4.1.0</NUnitTestAdapterVersion>
|
||||
<CoverletCollectorVersion>6.0.0</CoverletCollectorVersion>
|
||||
|
@ -206,11 +203,11 @@
|
|||
<!-- Docs -->
|
||||
<MicrosoftPrivateIntellisenseVersion>8.0.0-preview-20230918.1</MicrosoftPrivateIntellisenseVersion>
|
||||
<!-- Mono Cecil -->
|
||||
<MicrosoftDotNetCecilVersion>0.11.4-alpha.23476.1</MicrosoftDotNetCecilVersion>
|
||||
<MicrosoftDotNetCecilVersion>0.11.4-alpha.23509.2</MicrosoftDotNetCecilVersion>
|
||||
<!-- ILCompiler -->
|
||||
<MicrosoftDotNetILCompilerVersion>9.0.0-alpha.1.23470.17</MicrosoftDotNetILCompilerVersion>
|
||||
<MicrosoftDotNetILCompilerVersion>9.0.0-alpha.1.23508.5</MicrosoftDotNetILCompilerVersion>
|
||||
<!-- ICU -->
|
||||
<MicrosoftNETCoreRuntimeICUTransportVersion>9.0.0-alpha.1.23454.1</MicrosoftNETCoreRuntimeICUTransportVersion>
|
||||
<MicrosoftNETCoreRuntimeICUTransportVersion>9.0.0-alpha.1.23509.3</MicrosoftNETCoreRuntimeICUTransportVersion>
|
||||
<!-- MsQuic -->
|
||||
<MicrosoftNativeQuicMsQuicVersion>2.2.2</MicrosoftNativeQuicMsQuicVersion>
|
||||
<SystemNetMsQuicTransportVersion>8.0.0-alpha.1.23180.2</SystemNetMsQuicTransportVersion>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# This file should be removed as part of this issue: https://github.com/dotnet/arcade/issues/4080
|
||||
#
|
||||
# What the script does is iterate over all package sources in the pointed NuGet.config and add a credential entry
|
||||
# under <packageSourceCredentials> for each Maestro managed private feed. Two additional credential
|
||||
# under <packageSourceCredentials> for each Maestro managed private feed. Two additional credential
|
||||
# entries are also added for the two private static internal feeds: dotnet3-internal and dotnet3-internal-transport.
|
||||
#
|
||||
# This script needs to be called in every job that will restore packages and which the base repo has
|
||||
|
@ -37,7 +37,7 @@ Set-StrictMode -Version 2.0
|
|||
# Add source entry to PackageSources
|
||||
function AddPackageSource($sources, $SourceName, $SourceEndPoint, $creds, $Username, $Password) {
|
||||
$packageSource = $sources.SelectSingleNode("add[@key='$SourceName']")
|
||||
|
||||
|
||||
if ($packageSource -eq $null)
|
||||
{
|
||||
$packageSource = $doc.CreateElement("add")
|
||||
|
@ -48,7 +48,7 @@ function AddPackageSource($sources, $SourceName, $SourceEndPoint, $creds, $Usern
|
|||
else {
|
||||
Write-Host "Package source $SourceName already present."
|
||||
}
|
||||
|
||||
|
||||
AddCredential -Creds $creds -Source $SourceName -Username $Username -Password $Password
|
||||
}
|
||||
|
||||
|
@ -89,7 +89,7 @@ function InsertMaestroPrivateFeedCredentials($Sources, $Creds, $Username, $Passw
|
|||
$maestroPrivateSources = $Sources.SelectNodes("add[contains(@key,'darc-int')]")
|
||||
|
||||
Write-Host "Inserting credentials for $($maestroPrivateSources.Count) Maestro's private feeds."
|
||||
|
||||
|
||||
ForEach ($PackageSource in $maestroPrivateSources) {
|
||||
Write-Host "`tInserting credential for Maestro's feed:" $PackageSource.Key
|
||||
AddCredential -Creds $creds -Source $PackageSource.Key -Username $Username -Password $Password
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# This file should be removed as part of this issue: https://github.com/dotnet/arcade/issues/4080
|
||||
#
|
||||
# What the script does is iterate over all package sources in the pointed NuGet.config and add a credential entry
|
||||
# under <packageSourceCredentials> for each Maestro's managed private feed. Two additional credential
|
||||
# under <packageSourceCredentials> for each Maestro's managed private feed. Two additional credential
|
||||
# entries are also added for the two private static internal feeds: dotnet3-internal and dotnet3-internal-transport.
|
||||
#
|
||||
# This script needs to be called in every job that will restore packages and which the base repo has
|
||||
|
@ -68,7 +68,7 @@ if [ "$?" != "0" ]; then
|
|||
sed -i.bak "s|$ConfigNodeHeader|$ConfigNodeHeader${NL}$PackageSourcesTemplate|" $ConfigFile
|
||||
fi
|
||||
|
||||
# Ensure there is a <packageSourceCredentials>...</packageSourceCredentials> section.
|
||||
# Ensure there is a <packageSourceCredentials>...</packageSourceCredentials> section.
|
||||
grep -i "<packageSourceCredentials>" $ConfigFile
|
||||
if [ "$?" != "0" ]; then
|
||||
echo "Adding <packageSourceCredentials>...</packageSourceCredentials> section."
|
||||
|
@ -142,7 +142,7 @@ IFS=$PrevIFS
|
|||
|
||||
for FeedName in ${PackageSources[@]} ; do
|
||||
# Check if there is no existing credential for this FeedName
|
||||
grep -i "<$FeedName>" $ConfigFile
|
||||
grep -i "<$FeedName>" $ConfigFile
|
||||
if [ "$?" != "0" ]; then
|
||||
echo "Adding credentials for $FeedName."
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ try {
|
|||
. $PSScriptRoot\post-build-utils.ps1
|
||||
|
||||
if ($PromoteToChannels -eq "") {
|
||||
Write-PipelineTaskError -Type 'warning' -Message "This build won't publish assets as it's not configured to any Maestro channel. If that wasn't intended use Darc to configure a default channel using add-default-channel for this branch or to promote it to a channel using add-build-to-channel. See https://github.com/dotnet/arcade/blob/master/Documentation/Darc.md#assigning-an-individual-build-to-a-channel for more info."
|
||||
Write-PipelineTaskError -Type 'warning' -Message "This build won't publish assets as it's not configured to any Maestro channel. If that wasn't intended use Darc to configure a default channel using add-default-channel for this branch or to promote it to a channel using add-build-to-channel. See https://github.com/dotnet/arcade/blob/main/Documentation/Darc.md#assigning-an-individual-build-to-a-channel for more info."
|
||||
ExitWithExitCode 0
|
||||
}
|
||||
|
||||
|
|
|
@ -64,7 +64,7 @@ try {
|
|||
$GlobalJson.tools | Add-Member -Name "vs" -Value (ConvertFrom-Json "{ `"version`": `"16.5`" }") -MemberType NoteProperty
|
||||
}
|
||||
if( -not ($GlobalJson.tools.PSObject.Properties.Name -match "xcopy-msbuild" )) {
|
||||
$GlobalJson.tools | Add-Member -Name "xcopy-msbuild" -Value "17.6.0-2" -MemberType NoteProperty
|
||||
$GlobalJson.tools | Add-Member -Name "xcopy-msbuild" -Value "17.7.2-1" -MemberType NoteProperty
|
||||
}
|
||||
if ($GlobalJson.tools."xcopy-msbuild".Trim() -ine "none") {
|
||||
$xcopyMSBuildToolsFolder = InitializeXCopyMSBuild $GlobalJson.tools."xcopy-msbuild" -install $true
|
||||
|
|
|
@ -379,13 +379,13 @@ function InitializeVisualStudioMSBuild([bool]$install, [object]$vsRequirements =
|
|||
}
|
||||
|
||||
# Minimum VS version to require.
|
||||
$vsMinVersionReqdStr = '17.6'
|
||||
$vsMinVersionReqdStr = '17.7'
|
||||
$vsMinVersionReqd = [Version]::new($vsMinVersionReqdStr)
|
||||
|
||||
# If the version of msbuild is going to be xcopied,
|
||||
# use this version. Version matches a package here:
|
||||
# https://dev.azure.com/dnceng/public/_artifacts/feed/dotnet-eng/NuGet/RoslynTools.MSBuild/versions/17.6.0-2
|
||||
$defaultXCopyMSBuildVersion = '17.6.0-2'
|
||||
# https://dev.azure.com/dnceng/public/_artifacts/feed/dotnet-eng/NuGet/RoslynTools.MSBuild/versions/17.7.2-1
|
||||
$defaultXCopyMSBuildVersion = '17.7.2-1'
|
||||
|
||||
if (!$vsRequirements) {
|
||||
if (Get-Member -InputObject $GlobalJson.tools -Name 'vs') {
|
||||
|
|
|
@ -16,8 +16,8 @@
|
|||
<namespace fullname="Xunit.Sdk" />
|
||||
</assembly>
|
||||
<assembly fullname="xunit.assert">
|
||||
<type fullname="Xunit.Sdk.AssertEqualityComparer`1">
|
||||
<method signature="System.Boolean CompareTypedSets(System.Collections.IEnumerable,System.Collections.IEnumerable)" />
|
||||
<type fullname="Xunit.Sdk.CollectionTracker">
|
||||
<method name="CompareTypedSets" />
|
||||
</type>
|
||||
</assembly>
|
||||
<assembly fullname="xunit.runner.utility.netcoreapp10" />
|
||||
|
|
12
global.json
12
global.json
|
@ -1,18 +1,18 @@
|
|||
{
|
||||
"sdk": {
|
||||
"version": "8.0.100-rc.1.23415.11",
|
||||
"version": "8.0.100-rc.1.23463.5",
|
||||
"allowPrerelease": true,
|
||||
"rollForward": "major"
|
||||
},
|
||||
"tools": {
|
||||
"dotnet": "8.0.100-rc.1.23415.11"
|
||||
"dotnet": "8.0.100-rc.1.23463.5"
|
||||
},
|
||||
"msbuild-sdks": {
|
||||
"Microsoft.DotNet.Arcade.Sdk": "8.0.0-beta.23463.1",
|
||||
"Microsoft.DotNet.Helix.Sdk": "8.0.0-beta.23463.1",
|
||||
"Microsoft.DotNet.SharedFramework.Sdk": "8.0.0-beta.23463.1",
|
||||
"Microsoft.DotNet.Arcade.Sdk": "9.0.0-beta.23512.4",
|
||||
"Microsoft.DotNet.Helix.Sdk": "9.0.0-beta.23512.4",
|
||||
"Microsoft.DotNet.SharedFramework.Sdk": "9.0.0-beta.23512.4",
|
||||
"Microsoft.Build.NoTargets": "3.7.0",
|
||||
"Microsoft.Build.Traversal": "3.4.0",
|
||||
"Microsoft.NET.Sdk.IL": "9.0.0-alpha.1.23470.17"
|
||||
"Microsoft.NET.Sdk.IL": "9.0.0-alpha.1.23508.5"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -135,8 +135,7 @@ namespace Mono.Linker.Tests.TestCasesRunner
|
|||
}
|
||||
|
||||
if (linkedMembers.Count != 0)
|
||||
Assert.True (
|
||||
false,
|
||||
Assert.Fail(
|
||||
"Linked output includes unexpected member:\n " +
|
||||
string.Join ("\n ", linkedMembers.Values.Select (e => e.Entity.GetDisplayName ())));
|
||||
}
|
||||
|
@ -303,7 +302,7 @@ namespace Mono.Linker.Tests.TestCasesRunner
|
|||
{
|
||||
// We never link away a module today so let's make sure the linked one isn't null
|
||||
if (linked == null) {
|
||||
Assert.True (false, $"Linked assembly `{original.Assembly.Name.Name}` is missing module `{original.Name}`");
|
||||
Assert.Fail($"Linked assembly `{original.Assembly.Name.Name}` is missing module `{original.Name}`");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -352,7 +351,7 @@ namespace Mono.Linker.Tests.TestCasesRunner
|
|||
// we do want to validate. There's no specific use case right now, but I can easily imagine one
|
||||
// for more detailed testing of for example custom attributes on local functions, or similar.
|
||||
if (!IsCompilerGeneratedMember (original))
|
||||
Assert.True (false, $"Type `{original}' should have been removed");
|
||||
Assert.Fail($"Type `{original}' should have been removed");
|
||||
}
|
||||
|
||||
bool prev = checkNames;
|
||||
|
@ -371,7 +370,7 @@ namespace Mono.Linker.Tests.TestCasesRunner
|
|||
|
||||
var linkedMemberName = linkedMembers.Keys.FirstOrDefault (l => l.Contains (newName));
|
||||
if (linkedMemberName == null)
|
||||
Assert.True (false, $"Newly created member '{newName}' was not found");
|
||||
Assert.Fail($"Newly created member '{newName}' was not found");
|
||||
|
||||
linkedMembers.Remove (linkedMemberName);
|
||||
}
|
||||
|
@ -388,7 +387,7 @@ namespace Mono.Linker.Tests.TestCasesRunner
|
|||
return;
|
||||
|
||||
if (linked == null) {
|
||||
Assert.True (false, $"Type `{original}' should have been kept");
|
||||
Assert.Fail($"Type `{original}' should have been kept");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -478,7 +477,7 @@ namespace Mono.Linker.Tests.TestCasesRunner
|
|||
}
|
||||
|
||||
if (expectedBaseName != linked.BaseType?.FullName) {
|
||||
Assert.True (false, $"Incorrect base type on : {linked.Name}. Expected {expectedBaseName}, actual {linked.BaseType?.FullName}");
|
||||
Assert.Fail($"Incorrect base type on : {linked.Name}. Expected {expectedBaseName}, actual {linked.BaseType?.FullName}");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -497,7 +496,7 @@ namespace Mono.Linker.Tests.TestCasesRunner
|
|||
}
|
||||
|
||||
if (expectedInterfaces.Count != 0)
|
||||
Assert.True (false, $"Expected interfaces were not found on {src}");
|
||||
Assert.Fail($"Expected interfaces were not found on {src}");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -531,7 +530,7 @@ namespace Mono.Linker.Tests.TestCasesRunner
|
|||
|
||||
if (!expectedKept) {
|
||||
if (linked != null)
|
||||
Assert.True (false, $"Field `{src}' should have been removed");
|
||||
Assert.Fail($"Field `{src}' should have been removed");
|
||||
|
||||
return;
|
||||
}
|
||||
|
@ -542,7 +541,7 @@ namespace Mono.Linker.Tests.TestCasesRunner
|
|||
private static void VerifyFieldKept (FieldDefinition src, FieldDesc? linked, bool compilerGenerated)
|
||||
{
|
||||
if (linked == null) {
|
||||
Assert.True (false, $"Field `{src}' should have been kept");
|
||||
Assert.Fail($"Field `{src}' should have been kept");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -551,7 +550,7 @@ namespace Mono.Linker.Tests.TestCasesRunner
|
|||
throw new NotImplementedException ("Constant value for a field is not yet supported by the test infra.");
|
||||
#if false
|
||||
if (!Equals (src.Constant, linked.Constant)) {
|
||||
Assert.True (false, $"Field '{src}' value doesn's match. Expected {src.Constant}, actual {linked.Constant}");
|
||||
Assert.Fail($"Field '{src}' value doesn's match. Expected {src.Constant}, actual {linked.Constant}");
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -572,13 +571,13 @@ namespace Mono.Linker.Tests.TestCasesRunner
|
|||
|
||||
if (!expectedKept) {
|
||||
if (linked is not null)
|
||||
Assert.True (false, $"Property `{src}' should have been removed");
|
||||
Assert.Fail($"Property `{src}' should have been removed");
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
if (linked is null) {
|
||||
Assert.True (false, $"Property `{src}' should have been kept");
|
||||
Assert.Fail($"Property `{src}' should have been kept");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -586,7 +585,7 @@ namespace Mono.Linker.Tests.TestCasesRunner
|
|||
throw new NotSupportedException ("Constant value for a property is not yet supported by the test infra.");
|
||||
#if false
|
||||
if (src.Constant != linked.Constant) {
|
||||
Assert.True (false, $"Property '{src}' value doesn's match. Expected {src.Constant}, actual {linked.Constant}");
|
||||
Assert.Fail($"Property '{src}' value doesn's match. Expected {src.Constant}, actual {linked.Constant}");
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -607,13 +606,13 @@ namespace Mono.Linker.Tests.TestCasesRunner
|
|||
|
||||
if (!expectedKept) {
|
||||
if (linked is not null)
|
||||
Assert.True (false, $"Event `{src}' should have been removed");
|
||||
Assert.Fail($"Event `{src}' should have been removed");
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
if (linked is null) {
|
||||
Assert.True (false, $"Event `{src}' should have been kept");
|
||||
Assert.Fail($"Event `{src}' should have been kept");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -658,7 +657,7 @@ namespace Mono.Linker.Tests.TestCasesRunner
|
|||
// so we're not going to validate kept/remove on them. Note that we're still going to go validate "into" them
|
||||
// to check for other properties (like parameter name presence/removal for example)
|
||||
if (!compilerGenerated)
|
||||
Assert.True (false, $"Method `{NameUtils.GetExpectedOriginDisplayName (src)}' should have been removed");
|
||||
Assert.Fail($"Method `{NameUtils.GetExpectedOriginDisplayName (src)}' should have been removed");
|
||||
}
|
||||
|
||||
VerifyMethodKept (src, linked, compilerGenerated);
|
||||
|
@ -684,7 +683,7 @@ namespace Mono.Linker.Tests.TestCasesRunner
|
|||
}
|
||||
|
||||
if (srcField == null) {
|
||||
Assert.True (false, $"{src.MetadataToken.TokenType} `{src}', could not locate the expected backing field {backingFieldName}");
|
||||
Assert.Fail($"{src.MetadataToken.TokenType} `{src}', could not locate the expected backing field {backingFieldName}");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -696,7 +695,7 @@ namespace Mono.Linker.Tests.TestCasesRunner
|
|||
void VerifyMethodKept (MethodDefinition src, LinkedMethodEntity? linked, bool compilerGenerated)
|
||||
{
|
||||
if (linked == null) {
|
||||
Assert.True (false, $"Method `{NameUtils.GetExpectedOriginDisplayName (src)}' should have been kept");
|
||||
Assert.Fail($"Method `{NameUtils.GetExpectedOriginDisplayName (src)}' should have been kept");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -926,7 +925,7 @@ namespace Mono.Linker.Tests.TestCasesRunner
|
|||
|
||||
foreach (var resource in linked.MainModule.Resources) {
|
||||
if (!expectedResourceNames.Remove (resource.Name))
|
||||
Assert.True (false, $"Resource '{resource.Name}' should be removed.");
|
||||
Assert.Fail($"Resource '{resource.Name}' should be removed.");
|
||||
|
||||
EmbeddedResource embeddedResource = (EmbeddedResource) resource;
|
||||
|
||||
|
@ -936,7 +935,7 @@ namespace Mono.Linker.Tests.TestCasesRunner
|
|||
}
|
||||
|
||||
if (expectedResourceNames.Count > 0) {
|
||||
Assert.True (false, $"Resource '{expectedResourceNames.First ()}' should be kept.");
|
||||
Assert.Fail($"Resource '{expectedResourceNames.First ()}' should be kept.");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1010,19 +1009,19 @@ namespace Mono.Linker.Tests.TestCasesRunner
|
|||
return;
|
||||
|
||||
if (!src.HasBody)
|
||||
Assert.True (false, $"`{nameof (KeptInitializerData)}` cannot be used on methods that don't have bodies");
|
||||
Assert.Fail($"`{nameof (KeptInitializerData)}` cannot be used on methods that don't have bodies");
|
||||
|
||||
var srcImplementationDetails = src.Module.Types.FirstOrDefault (t => string.IsNullOrEmpty (t.Namespace) && t.Name.StartsWith ("<PrivateImplementationDetails>"));
|
||||
|
||||
if (srcImplementationDetails == null) {
|
||||
Assert.True (false, "Could not locate <PrivateImplementationDetails> in the original assembly. Does your test use initializers?");
|
||||
Assert.Fail("Could not locate <PrivateImplementationDetails> in the original assembly. Does your test use initializers?");
|
||||
return;
|
||||
}
|
||||
|
||||
var linkedImplementationDetails = linked.Module.Types.FirstOrDefault (t => string.IsNullOrEmpty (t.Namespace) && t.Name.StartsWith ("<PrivateImplementationDetails>"));
|
||||
|
||||
if (linkedImplementationDetails == null) {
|
||||
Assert.True (false, "Could not locate <PrivateImplementationDetails> in the linked assembly");
|
||||
Assert.Fail("Could not locate <PrivateImplementationDetails> in the linked assembly");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1032,7 +1031,7 @@ namespace Mono.Linker.Tests.TestCasesRunner
|
|||
.ToArray ();
|
||||
|
||||
if (possibleInitializerFields.Length == 0)
|
||||
Assert.True (false, $"`{src}` does not make use of any initializers");
|
||||
Assert.Fail($"`{src}` does not make use of any initializers");
|
||||
|
||||
if (expectKeptAll) {
|
||||
foreach (var srcField in possibleInitializerFields) {
|
||||
|
@ -1042,7 +1041,7 @@ namespace Mono.Linker.Tests.TestCasesRunner
|
|||
} else {
|
||||
foreach (var index in expectedIndices) {
|
||||
if (index < 0 || index > possibleInitializerFields.Length)
|
||||
Assert.True (false, $"Invalid expected index `{index}` in {src}. Value must be between 0 and {expectedIndices.Length}");
|
||||
Assert.Fail($"Invalid expected index `{index}` in {src}. Value must be between 0 and {expectedIndices.Length}");
|
||||
|
||||
var srcField = possibleInitializerFields[index];
|
||||
var linkedField = linkedImplementationDetails.Fields.FirstOrDefault (f => f.InitialValue.SequenceEqual (srcField.InitialValue));
|
||||
|
@ -1085,7 +1084,7 @@ namespace Mono.Linker.Tests.TestCasesRunner
|
|||
var name = srcDefinition.Name.Substring (1, srcDefinition.Name.IndexOf ('>') - 1);
|
||||
var fixedField = srcDefinition.DeclaringType.Fields.FirstOrDefault (f => f.Name == name);
|
||||
if (fixedField == null)
|
||||
Assert.True (false, $"Could not locate original fixed field for {srcDefinition}");
|
||||
Assert.Fail($"Could not locate original fixed field for {srcDefinition}");
|
||||
|
||||
foreach (var additionalExpectedAttributesFromFixedField in GetCustomAttributeCtorValues<object> (fixedField!, nameof (KeptAttributeOnFixedBufferTypeAttribute)))
|
||||
yield return additionalExpectedAttributesFromFixedField?.ToString ();
|
||||
|
@ -1142,20 +1141,20 @@ namespace Mono.Linker.Tests.TestCasesRunner
|
|||
// while mcs and other versions of csc name it `<fieldname>__FixedBuffer0`
|
||||
var originalCompilerGeneratedBufferType = src.NestedTypes.FirstOrDefault (t => t.FullName.Contains ($"<{field.Name}>") && t.FullName.Contains ("__FixedBuffer"));
|
||||
if (originalCompilerGeneratedBufferType == null) {
|
||||
Assert.True (false, $"Could not locate original compiler generated fixed buffer type for field {field}");
|
||||
Assert.Fail($"Could not locate original compiler generated fixed buffer type for field {field}");
|
||||
return;
|
||||
}
|
||||
|
||||
var linkedCompilerGeneratedBufferType = linked.NestedTypes.FirstOrDefault (t => t.Name == originalCompilerGeneratedBufferType.Name);
|
||||
if (linkedCompilerGeneratedBufferType == null) {
|
||||
Assert.True (false, $"Missing expected type {originalCompilerGeneratedBufferType}");
|
||||
Assert.Fail($"Missing expected type {originalCompilerGeneratedBufferType}");
|
||||
return;
|
||||
}
|
||||
|
||||
// Have to verify the field before the type
|
||||
var originalElementField = originalCompilerGeneratedBufferType.Fields.FirstOrDefault ();
|
||||
if (originalElementField == null) {
|
||||
Assert.True (false, $"Could not locate original compiler generated FixedElementField on {originalCompilerGeneratedBufferType}");
|
||||
Assert.Fail($"Could not locate original compiler generated FixedElementField on {originalCompilerGeneratedBufferType}");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ namespace Mono.Linker.Tests.TestCasesRunner
|
|||
process.WaitForExit ();
|
||||
|
||||
if (process.ExitCode != 0) {
|
||||
Assert.True (false, $"Failed to compile IL assembly : {options.OutputPath}\n{capturedOutput.Aggregate ((buff, s) => buff + Environment.NewLine + s)}");
|
||||
Assert.Fail($"Failed to compile IL assembly : {options.OutputPath}\n{capturedOutput.Aggregate ((buff, s) => buff + Environment.NewLine + s)}");
|
||||
}
|
||||
|
||||
return options.OutputPath;
|
||||
|
|
|
@ -362,7 +362,7 @@ namespace Mono.Linker.Tests.TestCasesRunner
|
|||
process.WaitForExit ();
|
||||
|
||||
if (process.ExitCode != 0)
|
||||
Assert.True (false, $"Failed to compile assembly with csc: {options.OutputPath}\n{capturedOutput.Aggregate ((buff, s) => buff + Environment.NewLine + s)}");
|
||||
Assert.Fail($"Failed to compile assembly with csc: {options.OutputPath}\n{capturedOutput.Aggregate ((buff, s) => buff + Environment.NewLine + s)}");
|
||||
|
||||
return options.OutputPath;
|
||||
}
|
||||
|
|
|
@ -608,7 +608,7 @@ namespace System.IO.Tests
|
|||
|
||||
public NativeMemoryManager(int length) => _ptr = Marshal.AllocHGlobal(_length = length);
|
||||
|
||||
~NativeMemoryManager() => Assert.False(true, $"{nameof(NativeMemoryManager)} being finalized. Created at {_ctorStack}");
|
||||
~NativeMemoryManager() => Assert.Fail($"{nameof(NativeMemoryManager)} being finalized. Created at {_ctorStack}");
|
||||
|
||||
public override Memory<byte> Memory => CreateMemory(_length);
|
||||
|
||||
|
|
|
@ -199,7 +199,7 @@ namespace Tests.Collections
|
|||
Exception exception = Record.Exception(testCode);
|
||||
if (exception == null)
|
||||
{
|
||||
throw new AssertActualExpectedException(
|
||||
throw EqualException.ForMismatchedValues(
|
||||
exceptionTypes,
|
||||
null,
|
||||
"Expected an exception but got null.");
|
||||
|
@ -207,7 +207,7 @@ namespace Tests.Collections
|
|||
Type exceptionType = exception.GetType();
|
||||
if (!exceptionTypes.Contains(exceptionType))
|
||||
{
|
||||
throw new AssertActualExpectedException(
|
||||
throw EqualException.ForMismatchedValues(
|
||||
exceptionTypes,
|
||||
exceptionType,
|
||||
"Caught wrong exception.");
|
||||
|
|
|
@ -122,7 +122,7 @@ namespace System.Drawing
|
|||
expectedStringBuilder.AppendLine();
|
||||
}
|
||||
|
||||
return new AssertActualExpectedException(expectedStringBuilder.ToString(), actualStringBuilder.ToString(), $"Bitmaps were different at {firstFailureX}, {firstFailureY}.");
|
||||
return EqualException.ForMismatchedValues(expectedStringBuilder.ToString(), actualStringBuilder.ToString(), $"Bitmaps were different at {firstFailureX}, {firstFailureY}.");
|
||||
}
|
||||
|
||||
private static void PrintColor(StringBuilder stringBuilder, Color color)
|
||||
|
|
|
@ -663,7 +663,7 @@ namespace System.Net.Test.Common
|
|||
default:
|
||||
// Assert.Fail is already merged in xUnit but not released yet. Replace once available.
|
||||
// https://github.com/xunit/xunit/issues/2105
|
||||
Assert.True(false, $"Unexpected frame type '{frame.Type}'");
|
||||
Assert.Fail($"Unexpected frame type '{frame.Type}'");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -309,7 +309,7 @@ namespace System.Net.Http.Functional.Tests
|
|||
return;
|
||||
}
|
||||
// We expect negotiation to fail so one or the other expected exception should be thrown.
|
||||
Assert.True(false, "Expected exception did not happen.");
|
||||
Assert.Fail("Expected exception did not happen.");
|
||||
}, options);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2044,7 +2044,7 @@ namespace System.Net.Http.Functional.Tests
|
|||
}
|
||||
else
|
||||
{
|
||||
Assert.True(false, "Invalid HTTP request version");
|
||||
Assert.Fail("Invalid HTTP request version");
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
@ -363,7 +363,7 @@ namespace System.Net.Test.Common
|
|||
Assert.True(connectionClose);
|
||||
return GetConnectionCloseResponse(content: content);
|
||||
default:
|
||||
Assert.True(false, $"Unknown content mode: {mode}");
|
||||
Assert.Fail($"Unknown content mode: {mode}");
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -354,7 +354,7 @@ namespace System.Security.Cryptography.Dsa.Tests
|
|||
Assert.Equal(0, written);
|
||||
}
|
||||
|
||||
Assert.True(false, $"TryCreateSignature eventually succeeds with a {expectedSize}/{maxSize}-byte destination");
|
||||
Assert.Fail($"TryCreateSignature eventually succeeds with a {expectedSize}/{maxSize}-byte destination");
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
@ -382,7 +382,7 @@ namespace System.Security.Cryptography.Dsa.Tests
|
|||
Assert.Equal(0, written);
|
||||
}
|
||||
|
||||
Assert.True(false, $"TrySignData eventually succeeds with a {expectedSize}/{maxSize}-byte destination");
|
||||
Assert.Fail($"TrySignData eventually succeeds with a {expectedSize}/{maxSize}-byte destination");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -301,7 +301,7 @@ namespace System.Security.Cryptography.Algorithms.Tests
|
|||
}
|
||||
}
|
||||
|
||||
Assert.False(true, $"{RetryCount} {signFormat} signatures verified as {verifyFormat} signatures");
|
||||
Assert.Fail($"{RetryCount} {signFormat} signatures verified as {verifyFormat} signatures");
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
|
|
@ -360,7 +360,7 @@ namespace System.Security.Cryptography.EcDsa.Tests
|
|||
Assert.Equal(0, written);
|
||||
}
|
||||
|
||||
Assert.True(false, $"TrySignHash eventually succeeds with a {expectedSize}/{maxSize}-byte destination");
|
||||
Assert.Fail($"TrySignHash eventually succeeds with a {expectedSize}/{maxSize}-byte destination");
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
@ -390,7 +390,7 @@ namespace System.Security.Cryptography.EcDsa.Tests
|
|||
Assert.Equal(0, written);
|
||||
}
|
||||
|
||||
Assert.True(false, $"TrySignData eventually succeeds with a {expectedSize}/{maxSize}-byte destination");
|
||||
Assert.Fail($"TrySignData eventually succeeds with a {expectedSize}/{maxSize}-byte destination");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -327,7 +327,7 @@ namespace System.Security.Cryptography.X509Certificates.Tests.Common
|
|||
}
|
||||
else
|
||||
{
|
||||
Assert.True(false, $"Unknown value AiaResponseKind.`{kind}`.");
|
||||
Assert.Fail($"Unknown value AiaResponseKind.`{kind}`.");
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
@ -345,7 +345,7 @@ namespace System.Security.Cryptography.X509Certificates.Tests.Common
|
|||
}
|
||||
else
|
||||
{
|
||||
Assert.True(false, $"Unknown value AiaResponseKind.`{kind}`.");
|
||||
Assert.Fail($"Unknown value AiaResponseKind.`{kind}`.");
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -315,7 +315,7 @@ namespace Tests.System
|
|||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Assert.True(false, string.Format("RunDelayTests: > FAILED. Unexpected exception on WaitAll(simple tasks): {0}", e));
|
||||
Assert.Fail(string.Format("RunDelayTests: > FAILED. Unexpected exception on WaitAll(simple tasks): {0}", e));
|
||||
}
|
||||
|
||||
Assert.True(task1.Status == TaskStatus.RanToCompletion, " > FAILED. Expected Delay(TimeSpan(0), timeProvider) to run to completion");
|
||||
|
|
|
@ -413,7 +413,7 @@ namespace System
|
|||
{
|
||||
string expectedString = string.Join(", ", expected);
|
||||
string actualString = string.Join(", ", actual);
|
||||
throw new AssertActualExpectedException(expectedString, actualString, null);
|
||||
throw EqualException.ForMismatchedValues(expectedString, actualString);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -599,11 +599,11 @@ namespace System
|
|||
switch(exception)
|
||||
{
|
||||
case null:
|
||||
throw new ThrowsException(typeof(E));
|
||||
throw ThrowsException.ForNoException(typeof(E));
|
||||
case E ex when (ex.GetType() == typeof(E)):
|
||||
return ex;
|
||||
default:
|
||||
throw new ThrowsException(typeof(E), exception);
|
||||
throw ThrowsException.ForIncorrectExceptionType(typeof(E), exception);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -624,11 +624,11 @@ namespace System
|
|||
switch(exception)
|
||||
{
|
||||
case null:
|
||||
throw new ThrowsException(typeof(E));
|
||||
throw ThrowsException.ForNoException(typeof(E));
|
||||
case E ex when (ex.GetType() == typeof(E)):
|
||||
return ex;
|
||||
default:
|
||||
throw new ThrowsException(typeof(E), exception);
|
||||
throw ThrowsException.ForIncorrectExceptionType(typeof(E), exception);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -674,11 +674,11 @@ namespace System
|
|||
return;
|
||||
}
|
||||
|
||||
throw new EqualException(ToStringPadded(expected), ToStringPadded(actual));
|
||||
throw EqualException.ForMismatchedValues(ToStringPadded(expected), ToStringPadded(actual));
|
||||
}
|
||||
else if (double.IsNaN(actual))
|
||||
{
|
||||
throw new EqualException(ToStringPadded(expected), ToStringPadded(actual));
|
||||
throw EqualException.ForMismatchedValues(ToStringPadded(expected), ToStringPadded(actual));
|
||||
}
|
||||
|
||||
if (double.IsNegativeInfinity(expected))
|
||||
|
@ -688,11 +688,11 @@ namespace System
|
|||
return;
|
||||
}
|
||||
|
||||
throw new EqualException(ToStringPadded(expected), ToStringPadded(actual));
|
||||
throw EqualException.ForMismatchedValues(ToStringPadded(expected), ToStringPadded(actual));
|
||||
}
|
||||
else if (double.IsNegativeInfinity(actual))
|
||||
{
|
||||
throw new EqualException(ToStringPadded(expected), ToStringPadded(actual));
|
||||
throw EqualException.ForMismatchedValues(ToStringPadded(expected), ToStringPadded(actual));
|
||||
}
|
||||
|
||||
if (double.IsPositiveInfinity(expected))
|
||||
|
@ -702,11 +702,11 @@ namespace System
|
|||
return;
|
||||
}
|
||||
|
||||
throw new EqualException(ToStringPadded(expected), ToStringPadded(actual));
|
||||
throw EqualException.ForMismatchedValues(ToStringPadded(expected), ToStringPadded(actual));
|
||||
}
|
||||
else if (double.IsPositiveInfinity(actual))
|
||||
{
|
||||
throw new EqualException(ToStringPadded(expected), ToStringPadded(actual));
|
||||
throw EqualException.ForMismatchedValues(ToStringPadded(expected), ToStringPadded(actual));
|
||||
}
|
||||
|
||||
if (IsNegativeZero(expected))
|
||||
|
@ -718,7 +718,7 @@ namespace System
|
|||
|
||||
if (IsPositiveZero(variance) || IsNegativeZero(variance))
|
||||
{
|
||||
throw new EqualException(ToStringPadded(expected), ToStringPadded(actual));
|
||||
throw EqualException.ForMismatchedValues(ToStringPadded(expected), ToStringPadded(actual));
|
||||
}
|
||||
|
||||
// When the variance is not +-0.0, then we are handling a case where
|
||||
|
@ -729,7 +729,7 @@ namespace System
|
|||
{
|
||||
if (IsPositiveZero(variance) || IsNegativeZero(variance))
|
||||
{
|
||||
throw new EqualException(ToStringPadded(expected), ToStringPadded(actual));
|
||||
throw EqualException.ForMismatchedValues(ToStringPadded(expected), ToStringPadded(actual));
|
||||
}
|
||||
|
||||
// When the variance is not +-0.0, then we are handling a case where
|
||||
|
@ -746,7 +746,7 @@ namespace System
|
|||
|
||||
if (IsPositiveZero(variance) || IsNegativeZero(variance))
|
||||
{
|
||||
throw new EqualException(ToStringPadded(expected), ToStringPadded(actual));
|
||||
throw EqualException.ForMismatchedValues(ToStringPadded(expected), ToStringPadded(actual));
|
||||
}
|
||||
|
||||
// When the variance is not +-0.0, then we are handling a case where
|
||||
|
@ -757,7 +757,7 @@ namespace System
|
|||
{
|
||||
if (IsPositiveZero(variance) || IsNegativeZero(variance))
|
||||
{
|
||||
throw new EqualException(ToStringPadded(expected), ToStringPadded(actual));
|
||||
throw EqualException.ForMismatchedValues(ToStringPadded(expected), ToStringPadded(actual));
|
||||
}
|
||||
|
||||
// When the variance is not +-0.0, then we are handling a case where
|
||||
|
@ -769,7 +769,7 @@ namespace System
|
|||
|
||||
if (delta > variance)
|
||||
{
|
||||
throw new EqualException(ToStringPadded(expected), ToStringPadded(actual));
|
||||
throw EqualException.ForMismatchedValues(ToStringPadded(expected), ToStringPadded(actual));
|
||||
}
|
||||
|
||||
static unsafe bool IsNegativeZero(double value)
|
||||
|
@ -827,11 +827,11 @@ namespace System
|
|||
return;
|
||||
}
|
||||
|
||||
throw new EqualException(ToStringPadded(expected), ToStringPadded(actual));
|
||||
throw EqualException.ForMismatchedValues(ToStringPadded(expected), ToStringPadded(actual));
|
||||
}
|
||||
else if (float.IsNaN(actual))
|
||||
{
|
||||
throw new EqualException(ToStringPadded(expected), ToStringPadded(actual));
|
||||
throw EqualException.ForMismatchedValues(ToStringPadded(expected), ToStringPadded(actual));
|
||||
}
|
||||
|
||||
if (float.IsNegativeInfinity(expected))
|
||||
|
@ -841,11 +841,11 @@ namespace System
|
|||
return;
|
||||
}
|
||||
|
||||
throw new EqualException(ToStringPadded(expected), ToStringPadded(actual));
|
||||
throw EqualException.ForMismatchedValues(ToStringPadded(expected), ToStringPadded(actual));
|
||||
}
|
||||
else if (float.IsNegativeInfinity(actual))
|
||||
{
|
||||
throw new EqualException(ToStringPadded(expected), ToStringPadded(actual));
|
||||
throw EqualException.ForMismatchedValues(ToStringPadded(expected), ToStringPadded(actual));
|
||||
}
|
||||
|
||||
if (float.IsPositiveInfinity(expected))
|
||||
|
@ -855,11 +855,11 @@ namespace System
|
|||
return;
|
||||
}
|
||||
|
||||
throw new EqualException(ToStringPadded(expected), ToStringPadded(actual));
|
||||
throw EqualException.ForMismatchedValues(ToStringPadded(expected), ToStringPadded(actual));
|
||||
}
|
||||
else if (float.IsPositiveInfinity(actual))
|
||||
{
|
||||
throw new EqualException(ToStringPadded(expected), ToStringPadded(actual));
|
||||
throw EqualException.ForMismatchedValues(ToStringPadded(expected), ToStringPadded(actual));
|
||||
}
|
||||
|
||||
if (IsNegativeZero(expected))
|
||||
|
@ -871,7 +871,7 @@ namespace System
|
|||
|
||||
if (IsPositiveZero(variance) || IsNegativeZero(variance))
|
||||
{
|
||||
throw new EqualException(ToStringPadded(expected), ToStringPadded(actual));
|
||||
throw EqualException.ForMismatchedValues(ToStringPadded(expected), ToStringPadded(actual));
|
||||
}
|
||||
|
||||
// When the variance is not +-0.0, then we are handling a case where
|
||||
|
@ -882,7 +882,7 @@ namespace System
|
|||
{
|
||||
if (IsPositiveZero(variance) || IsNegativeZero(variance))
|
||||
{
|
||||
throw new EqualException(ToStringPadded(expected), ToStringPadded(actual));
|
||||
throw EqualException.ForMismatchedValues(ToStringPadded(expected), ToStringPadded(actual));
|
||||
}
|
||||
|
||||
// When the variance is not +-0.0, then we are handling a case where
|
||||
|
@ -899,7 +899,7 @@ namespace System
|
|||
|
||||
if (IsPositiveZero(variance) || IsNegativeZero(variance))
|
||||
{
|
||||
throw new EqualException(ToStringPadded(expected), ToStringPadded(actual));
|
||||
throw EqualException.ForMismatchedValues(ToStringPadded(expected), ToStringPadded(actual));
|
||||
}
|
||||
|
||||
// When the variance is not +-0.0, then we are handling a case where
|
||||
|
@ -910,7 +910,7 @@ namespace System
|
|||
{
|
||||
if (IsPositiveZero(variance) || IsNegativeZero(variance))
|
||||
{
|
||||
throw new EqualException(ToStringPadded(expected), ToStringPadded(actual));
|
||||
throw EqualException.ForMismatchedValues(ToStringPadded(expected), ToStringPadded(actual));
|
||||
}
|
||||
|
||||
// When the variance is not +-0.0, then we are handling a case where
|
||||
|
@ -922,7 +922,7 @@ namespace System
|
|||
|
||||
if (delta > variance)
|
||||
{
|
||||
throw new EqualException(ToStringPadded(expected), ToStringPadded(actual));
|
||||
throw EqualException.ForMismatchedValues(ToStringPadded(expected), ToStringPadded(actual));
|
||||
}
|
||||
|
||||
static unsafe bool IsNegativeZero(float value)
|
||||
|
@ -981,11 +981,11 @@ namespace System
|
|||
return;
|
||||
}
|
||||
|
||||
throw new EqualException(ToStringPadded(expected), ToStringPadded(actual));
|
||||
throw EqualException.ForMismatchedValues(ToStringPadded(expected), ToStringPadded(actual));
|
||||
}
|
||||
else if (Half.IsNaN(actual))
|
||||
{
|
||||
throw new EqualException(ToStringPadded(expected), ToStringPadded(actual));
|
||||
throw EqualException.ForMismatchedValues(ToStringPadded(expected), ToStringPadded(actual));
|
||||
}
|
||||
|
||||
if (Half.IsNegativeInfinity(expected))
|
||||
|
@ -995,11 +995,11 @@ namespace System
|
|||
return;
|
||||
}
|
||||
|
||||
throw new EqualException(ToStringPadded(expected), ToStringPadded(actual));
|
||||
throw EqualException.ForMismatchedValues(ToStringPadded(expected), ToStringPadded(actual));
|
||||
}
|
||||
else if (Half.IsNegativeInfinity(actual))
|
||||
{
|
||||
throw new EqualException(ToStringPadded(expected), ToStringPadded(actual));
|
||||
throw EqualException.ForMismatchedValues(ToStringPadded(expected), ToStringPadded(actual));
|
||||
}
|
||||
|
||||
if (Half.IsPositiveInfinity(expected))
|
||||
|
@ -1009,11 +1009,11 @@ namespace System
|
|||
return;
|
||||
}
|
||||
|
||||
throw new EqualException(ToStringPadded(expected), ToStringPadded(actual));
|
||||
throw EqualException.ForMismatchedValues(ToStringPadded(expected), ToStringPadded(actual));
|
||||
}
|
||||
else if (Half.IsPositiveInfinity(actual))
|
||||
{
|
||||
throw new EqualException(ToStringPadded(expected), ToStringPadded(actual));
|
||||
throw EqualException.ForMismatchedValues(ToStringPadded(expected), ToStringPadded(actual));
|
||||
}
|
||||
|
||||
if (IsNegativeZero(expected))
|
||||
|
@ -1025,7 +1025,7 @@ namespace System
|
|||
|
||||
if (IsPositiveZero(variance) || IsNegativeZero(variance))
|
||||
{
|
||||
throw new EqualException(ToStringPadded(expected), ToStringPadded(actual));
|
||||
throw EqualException.ForMismatchedValues(ToStringPadded(expected), ToStringPadded(actual));
|
||||
}
|
||||
|
||||
// When the variance is not +-0.0, then we are handling a case where
|
||||
|
@ -1036,7 +1036,7 @@ namespace System
|
|||
{
|
||||
if (IsPositiveZero(variance) || IsNegativeZero(variance))
|
||||
{
|
||||
throw new EqualException(ToStringPadded(expected), ToStringPadded(actual));
|
||||
throw EqualException.ForMismatchedValues(ToStringPadded(expected), ToStringPadded(actual));
|
||||
}
|
||||
|
||||
// When the variance is not +-0.0, then we are handling a case where
|
||||
|
@ -1053,7 +1053,7 @@ namespace System
|
|||
|
||||
if (IsPositiveZero(variance) || IsNegativeZero(variance))
|
||||
{
|
||||
throw new EqualException(ToStringPadded(expected), ToStringPadded(actual));
|
||||
throw EqualException.ForMismatchedValues(ToStringPadded(expected), ToStringPadded(actual));
|
||||
}
|
||||
|
||||
// When the variance is not +-0.0, then we are handling a case where
|
||||
|
@ -1064,7 +1064,7 @@ namespace System
|
|||
{
|
||||
if (IsPositiveZero(variance) || IsNegativeZero(variance))
|
||||
{
|
||||
throw new EqualException(ToStringPadded(expected), ToStringPadded(actual));
|
||||
throw EqualException.ForMismatchedValues(ToStringPadded(expected), ToStringPadded(actual));
|
||||
}
|
||||
|
||||
// When the variance is not +-0.0, then we are handling a case where
|
||||
|
@ -1076,7 +1076,7 @@ namespace System
|
|||
|
||||
if (delta > variance)
|
||||
{
|
||||
throw new EqualException(ToStringPadded(expected), ToStringPadded(actual));
|
||||
throw EqualException.ForMismatchedValues(ToStringPadded(expected), ToStringPadded(actual));
|
||||
}
|
||||
|
||||
static unsafe bool IsNegativeZero(Half value)
|
||||
|
|
|
@ -5961,7 +5961,7 @@ namespace System.Tests
|
|||
{
|
||||
using (new ThreadCultureChange(CultureInfo.InvariantCulture))
|
||||
{
|
||||
Assert.True(s.ToUpper().Equals(expected, StringComparison.Ordinal));
|
||||
Assert.Equal(s.ToUpper(), expected);
|
||||
|
||||
Span<char> destination = new char[s.Length];
|
||||
Assert.Equal(s.Length, s.AsSpan().ToUpper(destination, CultureInfo.CurrentCulture));
|
||||
|
|
|
@ -68,7 +68,7 @@ namespace Microsoft.Extensions.Configuration.Json.Test
|
|||
{
|
||||
if (key != configurationSection.Key || value != configurationSection.Value)
|
||||
{
|
||||
throw new EqualException(
|
||||
throw EqualException.ForMismatchedValues(
|
||||
expected: GetString(key, value),
|
||||
actual: GetString(configurationSection));
|
||||
}
|
||||
|
|
|
@ -37,7 +37,7 @@ namespace Microsoft.Extensions.DependencyInjection.Tests
|
|||
}
|
||||
|
||||
[Fact]
|
||||
public async ValueTask CallsDisposeOnWrappedSyncScopeOnDisposeAsync()
|
||||
public async Task CallsDisposeOnWrappedSyncScopeOnDisposeAsync()
|
||||
{
|
||||
var wrappedScope = new FakeSyncServiceScope();
|
||||
var asyncScope = new AsyncServiceScope(wrappedScope);
|
||||
|
@ -60,7 +60,7 @@ namespace Microsoft.Extensions.DependencyInjection.Tests
|
|||
}
|
||||
|
||||
[Fact]
|
||||
public async ValueTask CallsDisposeAsyncOnWrappedSyncScopeOnDisposeAsync()
|
||||
public async Task CallsDisposeAsyncOnWrappedSyncScopeOnDisposeAsync()
|
||||
{
|
||||
var wrappedScope = new FakeAsyncServiceScope();
|
||||
var asyncScope = new AsyncServiceScope(wrappedScope);
|
||||
|
|
|
@ -62,7 +62,7 @@ namespace Microsoft.Extensions.FileProviders
|
|||
IChangeToken token = provider.Watch(useWildcard ? "*" : linkName);
|
||||
|
||||
var tcs = new TaskCompletionSource();
|
||||
token.RegisterChangeCallback(_ => { Assert.True(false, "Change event was raised when it was not expected."); }, null);
|
||||
token.RegisterChangeCallback(_ => { Assert.Fail("Change event was raised when it was not expected."); }, null);
|
||||
|
||||
var cts = new CancellationTokenSource(TimeSpan.FromSeconds(30));
|
||||
cts.Token.Register(() => tcs.TrySetCanceled());
|
||||
|
|
|
@ -23,7 +23,7 @@ namespace Microsoft.Extensions.FileSystemGlobbing.Tests.PatternContexts
|
|||
{
|
||||
context.Declare((segment, last) =>
|
||||
{
|
||||
Assert.False(true, "No segment should be declared.");
|
||||
Assert.Fail("No segment should be declared.");
|
||||
});
|
||||
});
|
||||
}
|
||||
|
@ -63,7 +63,7 @@ namespace Microsoft.Extensions.FileSystemGlobbing.Tests.PatternContexts
|
|||
|
||||
context.Declare((segment, last) =>
|
||||
{
|
||||
Assert.False(true, "No segment should be declared.");
|
||||
Assert.Fail("No segment should be declared.");
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ namespace Microsoft.Extensions.FileSystemGlobbing.Tests.PatternContexts
|
|||
{
|
||||
context.Declare((segment, last) =>
|
||||
{
|
||||
Assert.False(true, "No segment should be declared.");
|
||||
Assert.Fail("No segment should be declared.");
|
||||
});
|
||||
});
|
||||
}
|
||||
|
@ -73,7 +73,7 @@ namespace Microsoft.Extensions.FileSystemGlobbing.Tests.PatternContexts
|
|||
|
||||
context.Declare((segment, last) =>
|
||||
{
|
||||
Assert.False(true, "No segment should be declared.");
|
||||
Assert.Fail("No segment should be declared.");
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
@ -455,7 +455,7 @@ namespace Microsoft.Extensions.Logging.Test
|
|||
|
||||
if (expected == null || actual == null)
|
||||
{
|
||||
throw new EqualException(expected, actual);
|
||||
throw EqualException.ForMismatchedValues(expected, actual);
|
||||
}
|
||||
|
||||
if (ReferenceEquals(expected, actual))
|
||||
|
|
|
@ -50,7 +50,7 @@ namespace Microsoft.Extensions.Logging.Testing
|
|||
{
|
||||
if (!actualValues.Contains(expectedPair, comparer))
|
||||
{
|
||||
throw new EqualException(
|
||||
throw EqualException.ForMismatchedValues(
|
||||
expected: GetString(expectedValues),
|
||||
actual: GetString(actualValues));
|
||||
}
|
||||
|
|
|
@ -116,11 +116,8 @@ namespace Microsoft.Extensions.Logging.Testing.Tests
|
|||
IEnumerable<KeyValuePair<string, object>> actualValues)
|
||||
{
|
||||
// Act && Assert
|
||||
var equalException = Assert.Throws<EqualException>(
|
||||
Assert.Throws<EqualException>(
|
||||
() => LogValuesAssert.Contains(expectedValues, actualValues));
|
||||
|
||||
Assert.Equal(GetString(expectedValues), equalException.Expected);
|
||||
Assert.Equal(GetString(actualValues), equalException.Actual);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
@ -204,11 +201,8 @@ namespace Microsoft.Extensions.Logging.Testing.Tests
|
|||
IEnumerable<KeyValuePair<string, object>> actualValues)
|
||||
{
|
||||
// Act && Assert
|
||||
var equalException = Assert.Throws<EqualException>(
|
||||
Assert.Throws<EqualException>(
|
||||
() => LogValuesAssert.Contains(expectedValues, actualValues));
|
||||
|
||||
Assert.Equal(GetString(expectedValues), equalException.Expected);
|
||||
Assert.Equal(GetString(actualValues), equalException.Actual);
|
||||
}
|
||||
|
||||
private string GetString(IEnumerable<KeyValuePair<string, object>> logValues)
|
||||
|
|
|
@ -258,7 +258,7 @@ namespace Microsoft.Extensions.Primitives
|
|||
[Fact]
|
||||
public void NullTokenDisposeShouldNotThrow()
|
||||
{
|
||||
ChangeToken.OnChange(() => null, () => Assert.True(false)).Dispose();
|
||||
ChangeToken.OnChange(() => null, () => Assert.Fail()).Dispose();
|
||||
}
|
||||
|
||||
public class TrackableChangeTokenProvider
|
||||
|
|
|
@ -177,7 +177,6 @@ namespace Microsoft.Extensions.Primitives
|
|||
[MemberData(nameof(EmptyStringValues))]
|
||||
public void DefaultNullOrEmpty_ExpectedValues(StringValues stringValues)
|
||||
{
|
||||
Assert.Empty(stringValues);
|
||||
Assert.Null((string)stringValues);
|
||||
Assert.Equal((string)null, stringValues);
|
||||
Assert.Equal(string.Empty, stringValues.ToString());
|
||||
|
@ -193,7 +192,6 @@ namespace Microsoft.Extensions.Primitives
|
|||
Assert.False(((ICollection<string>)stringValues).Contains(null));
|
||||
Assert.False(((ICollection<string>)stringValues).Contains(string.Empty));
|
||||
Assert.False(((ICollection<string>)stringValues).Contains("not there"));
|
||||
Assert.Empty(stringValues);
|
||||
}
|
||||
|
||||
[Theory]
|
||||
|
@ -208,7 +206,6 @@ namespace Microsoft.Extensions.Primitives
|
|||
{
|
||||
string nullString = null;
|
||||
StringValues stringValues = nullString;
|
||||
Assert.Empty(stringValues);
|
||||
Assert.Null((string)stringValues);
|
||||
Assert.Null((string[])stringValues);
|
||||
|
||||
|
@ -257,7 +254,6 @@ namespace Microsoft.Extensions.Primitives
|
|||
{
|
||||
string[] nullStringArray = null;
|
||||
StringValues stringValues = nullStringArray;
|
||||
Assert.Empty(stringValues);
|
||||
Assert.Null((string)stringValues);
|
||||
Assert.Null((string[])stringValues);
|
||||
|
||||
|
|
|
@ -732,12 +732,12 @@ namespace Microsoft.VisualBasic.Tests
|
|||
}
|
||||
if (ex == null)
|
||||
{
|
||||
throw new ThrowsException(typeof(TException));
|
||||
throw ThrowsException.ForNoException(typeof(TException));
|
||||
}
|
||||
|
||||
if (ex.GetType() != typeof(TException))
|
||||
{
|
||||
throw new ThrowsException(typeof(TException), ex);
|
||||
throw ThrowsException.ForIncorrectExceptionType(typeof(TException), ex);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2589,7 +2589,7 @@ public class name<, name, [attribute()] name, name, name, [()] [name1()] [name2
|
|||
{
|
||||
Assert.Equal(normalizedExpected, actual);
|
||||
}
|
||||
catch (Xunit.Sdk.AssertActualExpectedException)
|
||||
catch (Xunit.Sdk.XunitException)
|
||||
{
|
||||
string Normalize(string s)
|
||||
{
|
||||
|
|
|
@ -30,7 +30,7 @@ namespace System.Collections.Immutable.Tests
|
|||
UpdateArrayHelper<int>(func =>
|
||||
{
|
||||
ImmutableArray<int> array = default;
|
||||
Assert.True(func(ref array, l => { Assert.Equal(default, l); return ImmutableArray.Create(1); }));
|
||||
Assert.True(func(ref array, l => { Assert.True(l.IsDefault); return ImmutableArray.Create(1); }));
|
||||
Assert.Equal(1, array.Length);
|
||||
Assert.Equal(1, array[0]);
|
||||
});
|
||||
|
|
|
@ -28,7 +28,9 @@ namespace System.Collections.Immutable.Tests
|
|||
}
|
||||
else
|
||||
{
|
||||
#pragma warning disable xUnit2005 // Do not use Assert.Same() on value type 'T'. Value types do not have identity. Use Assert.Equal instead.
|
||||
Assert.Same((object)expected, (object)actual); //, message, formattingArgs);
|
||||
#pragma warning restore xUnit2005
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -28,10 +28,10 @@ namespace System.Collections.Immutable.Tests
|
|||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw new ThrowsException(typeof(NullReferenceException), ex);
|
||||
throw ThrowsException.ForIncorrectExceptionType(typeof(NullReferenceException), ex);
|
||||
}
|
||||
|
||||
throw new ThrowsException(typeof(NullReferenceException));
|
||||
throw ThrowsException.ForNoException(typeof(NullReferenceException));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -440,7 +440,9 @@ namespace System.Collections.Tests
|
|||
Assert.Equal(value, actualValue);
|
||||
if (!typeof(T).IsValueType)
|
||||
{
|
||||
#pragma warning disable xUnit2005 // Do not use Assert.Same() on value type 'T'. Value types do not have identity. Use Assert.Equal instead.
|
||||
Assert.Same((object)value, (object)actualValue);
|
||||
#pragma warning restore xUnit2005
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -455,7 +457,9 @@ namespace System.Collections.Tests
|
|||
Assert.Equal(value, actualValue);
|
||||
if (!typeof(T).IsValueType)
|
||||
{
|
||||
#pragma warning disable xUnit2005 // Do not use Assert.Same() on value type 'T'. Value types do not have identity. Use Assert.Equal instead.
|
||||
Assert.Same((object)value, (object)actualValue);
|
||||
#pragma warning restore xUnit2005
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -372,7 +372,9 @@ namespace System.Collections.Tests
|
|||
Assert.Equal(value, actualValue);
|
||||
if (!typeof(T).IsValueType)
|
||||
{
|
||||
#pragma warning disable xUnit2005 // Do not use Assert.Same() on value type 'T'. Value types do not have identity. Use Assert.Equal instead.
|
||||
Assert.Same((object)value, (object)actualValue);
|
||||
#pragma warning restore xUnit2005
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -387,7 +389,9 @@ namespace System.Collections.Tests
|
|||
Assert.Equal(value, actualValue);
|
||||
if (!typeof(T).IsValueType)
|
||||
{
|
||||
#pragma warning disable xUnit2005 // Do not use Assert.Same() on value type 'T'. Value types do not have identity. Use Assert.Equal instead.
|
||||
Assert.Same((object)value, (object)actualValue);
|
||||
#pragma warning restore xUnit2005
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -443,7 +443,7 @@ namespace System.ComponentModel.Composition
|
|||
var cat = new DirectoryCatalog(TemporaryFileCopier.GetNewTemporaryDirectory());
|
||||
|
||||
cat.Changed += new EventHandler<ComposablePartCatalogChangeEventArgs>((o, e) =>
|
||||
Assert.False(true));
|
||||
Assert.Fail());
|
||||
|
||||
cat.Refresh();
|
||||
}
|
||||
|
|
|
@ -12,8 +12,8 @@ namespace System.ComponentModel.Tests
|
|||
{
|
||||
var list = new EventHandlerList();
|
||||
|
||||
Action action1 = () => Assert.True(false);
|
||||
Action action2 = () => Assert.False(true);
|
||||
Action action1 = () => Assert.Fail();
|
||||
Action action2 = () => Assert.Fail();
|
||||
|
||||
// Add the first delegate to the first entry.
|
||||
list.AddHandler("key1", action1);
|
||||
|
@ -102,8 +102,8 @@ namespace System.ComponentModel.Tests
|
|||
var list = new EventHandlerList();
|
||||
|
||||
// Create two different delegate instances.
|
||||
Action action1 = () => Assert.True(false);
|
||||
Action action2 = () => Assert.False(true);
|
||||
Action action1 = () => Assert.Fail();
|
||||
Action action2 = () => Assert.Fail();
|
||||
|
||||
// The list is still usable after disposal.
|
||||
for (int i = 0; i < 2; i++)
|
||||
|
|
|
@ -27,7 +27,7 @@ namespace System.ComponentModel.Tests
|
|||
public void RemoveAddedEventHandler()
|
||||
{
|
||||
var component = new DescriptorTestComponent();
|
||||
Action eventHandler = () => Assert.True(false, "EventDescriptor failed to remove an event handler");
|
||||
Action eventHandler = () => Assert.Fail("EventDescriptor failed to remove an event handler");
|
||||
EventDescriptor eventDescriptor = TypeDescriptor.CreateEvent(component.GetType(), nameof(component.ActionEvent), typeof(Action));
|
||||
|
||||
eventDescriptor.AddEventHandler(component, eventHandler);
|
||||
|
|
|
@ -1594,7 +1594,7 @@ namespace System.Data.Tests.Common
|
|||
_builder.Add(SERVER, SERVER_VALUE);
|
||||
_builder.Add(SERVER + "1", SERVER_VALUE + "1");
|
||||
((ICollection)_builder).CopyTo(dict, 0);
|
||||
Assert.False(true);
|
||||
Assert.Fail();
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -2207,7 +2207,7 @@ namespace System.Data.Tests.Common
|
|||
try
|
||||
{
|
||||
cb.ConnectionString = tests[i];
|
||||
Assert.False(true);
|
||||
Assert.Fail();
|
||||
}
|
||||
catch (ArgumentException ex)
|
||||
{
|
||||
|
@ -2244,7 +2244,7 @@ namespace System.Data.Tests.Common
|
|||
if (test2[3] != test1[3])
|
||||
continue;
|
||||
|
||||
Assert.False(true);
|
||||
Assert.Fail();
|
||||
}
|
||||
}
|
||||
if (found)
|
||||
|
|
|
@ -405,7 +405,7 @@ namespace System.Data.Tests
|
|||
foreach (Exception expectedEx in exceptionList)
|
||||
if ((expectedEx.GetType()) == (ex.GetType()))
|
||||
return;
|
||||
Assert.True(false);
|
||||
Assert.Fail();
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
|
|
@ -1417,7 +1417,7 @@ namespace System.Data.Tests
|
|||
}
|
||||
}
|
||||
}
|
||||
Assert.False(true);
|
||||
Assert.Fail();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
@ -761,7 +761,7 @@ namespace System.Data.Tests
|
|||
}
|
||||
else
|
||||
{
|
||||
Assert.False(true);
|
||||
Assert.Fail();
|
||||
}
|
||||
|
||||
//now test when the mode is exclude schema
|
||||
|
@ -783,7 +783,7 @@ namespace System.Data.Tests
|
|||
}
|
||||
else
|
||||
{
|
||||
Assert.False(true);
|
||||
Assert.Fail();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -672,7 +672,7 @@ namespace System.Data.Tests
|
|||
/*
|
||||
try {
|
||||
Mom.Select ("Child.Name = 'Jack'");
|
||||
Assert.False(true);
|
||||
Assert.Fail();
|
||||
} catch (Exception e) {
|
||||
Assert.Equal (typeof (SyntaxErrorException), e.GetType ());
|
||||
Assert.Equal ("Cannot interpret token 'Child' at position 1.", e.Message);
|
||||
|
|
|
@ -2042,7 +2042,7 @@ namespace System.Data.Tests
|
|||
table3 = table1.Clone ();
|
||||
try {
|
||||
table3.Merge(table2);
|
||||
Assert.False(true);
|
||||
Assert.Fail();
|
||||
} catch (DataException e) {}
|
||||
*/
|
||||
|
||||
|
|
|
@ -178,7 +178,7 @@ namespace MonoTests.System.Data
|
|||
try
|
||||
{
|
||||
c.Equals(r1, r2);
|
||||
Assert.True(false, "#A1");
|
||||
Assert.Fail("#A1");
|
||||
}
|
||||
catch (RowNotInTableException ex)
|
||||
{
|
||||
|
@ -191,7 +191,7 @@ namespace MonoTests.System.Data
|
|||
try
|
||||
{
|
||||
c.Equals(r2, r1);
|
||||
Assert.True(false, "#B1");
|
||||
Assert.Fail("#B1");
|
||||
}
|
||||
catch (RowNotInTableException ex)
|
||||
{
|
||||
|
@ -206,7 +206,7 @@ namespace MonoTests.System.Data
|
|||
try
|
||||
{
|
||||
c.Equals(r2, r1);
|
||||
Assert.True(false, "#C1");
|
||||
Assert.Fail("#C1");
|
||||
}
|
||||
catch (RowNotInTableException ex)
|
||||
{
|
||||
|
@ -239,7 +239,7 @@ namespace MonoTests.System.Data
|
|||
try
|
||||
{
|
||||
c.GetHashCode(null);
|
||||
Assert.True(false, "#1");
|
||||
Assert.Fail("#1");
|
||||
}
|
||||
catch (ArgumentNullException ex)
|
||||
{
|
||||
|
|
|
@ -62,7 +62,7 @@ namespace MonoTests.System.Data
|
|||
foreach (var line in q)
|
||||
{
|
||||
if (iterated)
|
||||
Assert.True(false, "should match only one raw");
|
||||
Assert.Fail("should match only one raw");
|
||||
Assert.Equal(100, line["Score"]);
|
||||
iterated = true;
|
||||
}
|
||||
|
@ -83,7 +83,7 @@ namespace MonoTests.System.Data
|
|||
bool iterated = false;
|
||||
foreach (var ql in q) {
|
||||
if (iterated)
|
||||
Assert.True(false, "should match only one raw");
|
||||
Assert.Fail("should match only one raw");
|
||||
Assert.Equal(100, ql.StudentScore);
|
||||
iterated = true;
|
||||
}
|
||||
|
@ -112,7 +112,7 @@ namespace MonoTests.System.Data
|
|||
Assert.Equal(4, ql.StudentID);
|
||||
break;
|
||||
default:
|
||||
Assert.True(false, "should match only one raw");
|
||||
Assert.Fail("should match only one raw");
|
||||
break;
|
||||
}
|
||||
prevID = ql.StudentID;
|
||||
|
@ -142,7 +142,7 @@ namespace MonoTests.System.Data
|
|||
Assert.Equal(1, ql.StudentID);
|
||||
break;
|
||||
default:
|
||||
Assert.True(false, "should match only one raw");
|
||||
Assert.Fail("should match only one raw");
|
||||
break;
|
||||
}
|
||||
prevID = ql.StudentID;
|
||||
|
@ -172,7 +172,7 @@ namespace MonoTests.System.Data
|
|||
Assert.Equal(4, ql.StudentID);
|
||||
break;
|
||||
default:
|
||||
Assert.True(false, "should match only one raw");
|
||||
Assert.Fail("should match only one raw");
|
||||
break;
|
||||
}
|
||||
prevID = ql.StudentID;
|
||||
|
@ -202,7 +202,7 @@ namespace MonoTests.System.Data
|
|||
Assert.Equal(1, ql.StudentID);
|
||||
break;
|
||||
default:
|
||||
Assert.True(false, "should match only one raw");
|
||||
Assert.Fail("should match only one raw");
|
||||
break;
|
||||
}
|
||||
prevID = ql.StudentID;
|
||||
|
|
|
@ -764,7 +764,7 @@ namespace System.Diagnostics.Tests
|
|||
listener.Sample = (ref ActivityCreationOptions<ActivityContext> activityOptions) =>
|
||||
{
|
||||
activityOptions.SamplingTags.Add("tag1", "value1");
|
||||
Assert.False(true, "This callback shouldn't be called at all.");
|
||||
Assert.Fail("This callback shouldn't be called at all.");
|
||||
return ActivitySamplingResult.AllData;
|
||||
};
|
||||
|
||||
|
|
|
@ -789,7 +789,7 @@ namespace System.Diagnostics.Tests
|
|||
|
||||
public void OnError(Exception error)
|
||||
{
|
||||
Assert.True(false, "Error happened on IObserver");
|
||||
Assert.Fail("Error happened on IObserver");
|
||||
}
|
||||
|
||||
public void OnNext(T value)
|
||||
|
|
|
@ -1664,7 +1664,7 @@ namespace System.Diagnostics.Metrics.Tests
|
|||
if (typeof(T) == typeof(double)) { return (T)(object)Convert.ToDouble(value); }
|
||||
if (typeof(T) == typeof(decimal)) { return (T)(object)Convert.ToDecimal(value);}
|
||||
|
||||
Assert.True(false, "We encountered unsupported type");
|
||||
Assert.Fail("We encountered unsupported type");
|
||||
return default;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -160,7 +160,7 @@ namespace System.Diagnostics.Tests
|
|||
return;
|
||||
}
|
||||
|
||||
Assert.False(true, $"Encountered wrong header name '{fieldName}'");
|
||||
Assert.Fail($"Encountered wrong header name '{fieldName}'");
|
||||
});
|
||||
|
||||
TestDefaultExtraction(propagator, a);
|
||||
|
@ -173,7 +173,7 @@ namespace System.Diagnostics.Tests
|
|||
|
||||
propagator.Inject(a, null, (object carrier, string fieldName, string value) =>
|
||||
{
|
||||
Assert.False(true, $"Not expected to have the setter callback be called in the NoOutput propgator.");
|
||||
Assert.Fail($"Not expected to have the setter callback be called in the NoOutput propgator.");
|
||||
});
|
||||
|
||||
TestDefaultExtraction(propagator, a);
|
||||
|
@ -187,7 +187,7 @@ namespace System.Diagnostics.Tests
|
|||
|
||||
propagator.Inject(a, null, (object carrier, string fieldName, string value) =>
|
||||
{
|
||||
Assert.False(true, $"Not expected to have the setter callback be called in the NoOutput propgator.");
|
||||
Assert.Fail($"Not expected to have the setter callback be called in the NoOutput propgator.");
|
||||
});
|
||||
|
||||
TestDefaultExtraction(propagator, a);
|
||||
|
@ -205,7 +205,7 @@ namespace System.Diagnostics.Tests
|
|||
{
|
||||
if (fieldName == TraceParent)
|
||||
{
|
||||
Assert.False(true, $"Unexpected to inject a TraceParent with Hierarchical Activity.");
|
||||
Assert.Fail($"Unexpected to inject a TraceParent with Hierarchical Activity.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -227,7 +227,7 @@ namespace System.Diagnostics.Tests
|
|||
return;
|
||||
}
|
||||
|
||||
Assert.False(true, $"Encountered wrong header name '{fieldName}'");
|
||||
Assert.Fail($"Encountered wrong header name '{fieldName}'");
|
||||
});
|
||||
|
||||
TestDefaultExtraction(propagator, a);
|
||||
|
@ -249,7 +249,7 @@ namespace System.Diagnostics.Tests
|
|||
{
|
||||
if (fieldName == TraceParent)
|
||||
{
|
||||
Assert.False(true, $"Unexpected to inject a TraceParent with Hierarchical Activity.");
|
||||
Assert.Fail($"Unexpected to inject a TraceParent with Hierarchical Activity.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -271,7 +271,7 @@ namespace System.Diagnostics.Tests
|
|||
return;
|
||||
}
|
||||
|
||||
Assert.False(true, $"Encountered wrong header name '{fieldName}'");
|
||||
Assert.Fail($"Encountered wrong header name '{fieldName}'");
|
||||
});
|
||||
|
||||
TestDefaultExtraction(propagator, a);
|
||||
|
@ -307,7 +307,7 @@ namespace System.Diagnostics.Tests
|
|||
return;
|
||||
}
|
||||
|
||||
Assert.False(true, $"Encountered wrong header name '{fieldName}'");
|
||||
Assert.Fail($"Encountered wrong header name '{fieldName}'");
|
||||
});
|
||||
|
||||
TestDefaultExtraction(propagator, a);
|
||||
|
@ -320,7 +320,7 @@ namespace System.Diagnostics.Tests
|
|||
|
||||
propagator.Inject(null, null, (object carrier, string fieldName, string value) =>
|
||||
{
|
||||
Assert.False(true, $"PassThroughPropagator shouldn't inject anything if the Activity.Current is null");
|
||||
Assert.Fail($"PassThroughPropagator shouldn't inject anything if the Activity.Current is null");
|
||||
});
|
||||
|
||||
using Activity a = CreateW3CActivity("PassThroughNotNull", "", null);
|
||||
|
@ -333,7 +333,7 @@ namespace System.Diagnostics.Tests
|
|||
return;
|
||||
}
|
||||
|
||||
Assert.False(true, $"Encountered wrong header name '{fieldName}'");
|
||||
Assert.Fail($"Encountered wrong header name '{fieldName}'");
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -364,7 +364,7 @@ namespace System.Diagnostics.Tests
|
|||
{
|
||||
if (a.IdFormat == ActivityIdFormat.W3C)
|
||||
{
|
||||
Assert.True(false, $"Not expected to get RequestId as we expect the request handled using TraceParenet.");
|
||||
Assert.Fail($"Not expected to get RequestId as we expect the request handled using TraceParenet.");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -381,7 +381,7 @@ namespace System.Diagnostics.Tests
|
|||
return;
|
||||
}
|
||||
|
||||
Assert.False(true, $"Encountered wrong header name '{fieldName}'");
|
||||
Assert.Fail($"Encountered wrong header name '{fieldName}'");
|
||||
}, out string? traceId, out string? traceState);
|
||||
|
||||
Assert.Equal(a.Id, traceId);
|
||||
|
@ -419,7 +419,7 @@ namespace System.Diagnostics.Tests
|
|||
return;
|
||||
}
|
||||
|
||||
Assert.False(true, $"Encountered wrong header name '{fieldName}'");
|
||||
Assert.Fail($"Encountered wrong header name '{fieldName}'");
|
||||
});
|
||||
|
||||
Assert.Equal(GetFormattedBaggage(a.Baggage, false, true), GetFormattedBaggage(b, true));
|
||||
|
@ -567,7 +567,7 @@ namespace System.Diagnostics.Tests
|
|||
return;
|
||||
}
|
||||
|
||||
Assert.False(true, $"Encountered wrong header name '{fieldName}' in the Custom Propagator");
|
||||
Assert.Fail($"Encountered wrong header name '{fieldName}' in the Custom Propagator");
|
||||
});
|
||||
|
||||
DistributedContextPropagator.Current.ExtractTraceIdAndState(null, (object carrier, string fieldName, out string? fieldValue, out IEnumerable<string>? fieldValues) =>
|
||||
|
@ -587,7 +587,7 @@ namespace System.Diagnostics.Tests
|
|||
return;
|
||||
}
|
||||
|
||||
Assert.False(true, $"Encountered wrong header name '{fieldName}' in the Custom propagator");
|
||||
Assert.Fail($"Encountered wrong header name '{fieldName}' in the Custom propagator");
|
||||
}, out string? traceId, out string? state);
|
||||
|
||||
Assert.Equal(traceParent, traceId);
|
||||
|
@ -605,7 +605,7 @@ namespace System.Diagnostics.Tests
|
|||
return;
|
||||
}
|
||||
|
||||
Assert.False(true, $"Encountered wrong header name '{fieldName}' in custom propagator");
|
||||
Assert.Fail($"Encountered wrong header name '{fieldName}' in custom propagator");
|
||||
});
|
||||
|
||||
Assert.Equal(2, b.Count());
|
||||
|
|
|
@ -914,7 +914,7 @@ namespace System.Diagnostics.Tests
|
|||
Console.WriteLine("{0} Failed to kill process {1} started at {2}", now, nonChildProcess.Id, start);
|
||||
Helpers.DumpAllProcesses();
|
||||
|
||||
Assert.True(false, "test timed out");
|
||||
Assert.Fail("test timed out");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1288,7 +1288,7 @@ namespace System.Diagnostics.Tests
|
|||
}
|
||||
catch (NotEmptyException)
|
||||
{
|
||||
throw new TrueException(PrintProcesses(currentProcess), false);
|
||||
throw TrueException.ForNonTrueValue(PrintProcesses(currentProcess), false);
|
||||
}
|
||||
|
||||
Assert.All(processes, process => Assert.Equal(currentProcess.ProcessName, process.ProcessName));
|
||||
|
@ -2481,7 +2481,7 @@ namespace System.Diagnostics.Tests
|
|||
containingProcess.WaitForExit();
|
||||
|
||||
if (containingProcess.ExitCode != 10)
|
||||
Assert.True(false, "attempt to terminate a process tree containing the calling process did not throw the expected exception");
|
||||
Assert.Fail("attempt to terminate a process tree containing the calling process did not throw the expected exception");
|
||||
|
||||
int RunProcessAttemptingToKillEntireTreeOnParent()
|
||||
{
|
||||
|
|
|
@ -580,7 +580,7 @@ namespace System.Formats.Tar.Tests
|
|||
}
|
||||
else
|
||||
{
|
||||
Assert.True(false, "Unchecked entry type.");
|
||||
Assert.Fail("Unchecked entry type.");
|
||||
}
|
||||
|
||||
AssertFileModeEquals(destination, TestPermission1);
|
||||
|
|
|
@ -385,7 +385,7 @@ namespace System.Globalization.Tests
|
|||
}
|
||||
|
||||
string GetPNSEText(string funcName) => $"{funcName} is not supported when HybridGlobalization=true. Disable it to load larger ICU bundle, then use this option.";
|
||||
void AssertNotReached() => Assert.True(false);
|
||||
void AssertNotReached() => Assert.Fail();
|
||||
}
|
||||
|
||||
[DllImport("kernel32", CharSet = CharSet.Unicode)]
|
||||
|
|
|
@ -8,7 +8,6 @@ namespace System.Globalization.Tests
|
|||
{
|
||||
public class DateTimeFormatInfoGetDayName
|
||||
{
|
||||
[Fact]
|
||||
public static IEnumerable<object[]> GetDayName_TestData()
|
||||
{
|
||||
string[] englishDayNames = new string[] { "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" };
|
||||
|
|
|
@ -701,7 +701,7 @@ namespace System.Globalization.Tests
|
|||
// CompareInfo
|
||||
//
|
||||
Assert.Equal(ci.Name == "" ? 0x7F : 0x1000, ci.CompareInfo.LCID);
|
||||
Assert.True(cultureName.Equals(ci.CompareInfo.Name, StringComparison.OrdinalIgnoreCase));
|
||||
Assert.Equal(cultureName, ci.CompareInfo.Name, StringComparer.OrdinalIgnoreCase);
|
||||
}
|
||||
|
||||
[ConditionalTheory(nameof(PredefinedCulturesOnlyIsDisabled))]
|
||||
|
|
|
@ -135,10 +135,10 @@ namespace System.Globalization.Tests
|
|||
{
|
||||
if (!EqualityComparer<T>.Default.Equals(expected, actual))
|
||||
{
|
||||
throw new AssertActualExpectedException(
|
||||
throw EqualException.ForMismatchedValues(
|
||||
expected: expected,
|
||||
actual: actual,
|
||||
userMessage: FormattableString.Invariant($"CharUnicodeInfo.{methodName}({codePoint}) returned unexpected value."));
|
||||
banner: FormattableString.Invariant($"CharUnicodeInfo.{methodName}({codePoint}) returned unexpected value."));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -151,10 +151,10 @@ namespace System.Globalization.Tests
|
|||
|
||||
if (reverseExpected != reverseActual)
|
||||
{
|
||||
throw new AssertActualExpectedException(
|
||||
throw EqualException.ForMismatchedValues(
|
||||
expected: PrintCodePointsForDebug(reverseExpected),
|
||||
actual: PrintCodePointsForDebug(reverseActual),
|
||||
userMessage: "Grapheme break test failed on test case: " + line);
|
||||
banner: "Grapheme break test failed on test case: " + line);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -151,7 +151,7 @@ namespace System.IO.Compression.Tests
|
|||
{
|
||||
if (b != '0')
|
||||
{
|
||||
Assert.True(false, $"The file should be all '0's, but found '{(char)b}'");
|
||||
Assert.Fail($"The file should be all '0's, but found '{(char)b}'");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -155,8 +155,8 @@ namespace System.IO.Tests
|
|||
{
|
||||
using (var watcher = new TestFileSystemWatcher(TestDirectory, "*"))
|
||||
{
|
||||
watcher.Created += (obj, e) => { Assert.False(true, "Created event should not occur"); };
|
||||
watcher.Deleted += (obj, e) => { Assert.False(true, "Deleted event should not occur"); };
|
||||
watcher.Created += (obj, e) => { Assert.Fail("Created event should not occur"); };
|
||||
watcher.Deleted += (obj, e) => { Assert.Fail("Deleted event should not occur"); };
|
||||
watcher.BeginInit();
|
||||
watcher.EnableRaisingEvents = true;
|
||||
new TempFile(Path.Combine(TestDirectory, GetTestFileName())).Dispose();
|
||||
|
@ -212,8 +212,8 @@ namespace System.IO.Tests
|
|||
{
|
||||
using (var watcher = new TestFileSystemWatcher(TestDirectory, "*"))
|
||||
{
|
||||
watcher.Created += (obj, e) => { Assert.False(true, "Created event should not occur"); };
|
||||
watcher.Deleted += (obj, e) => { Assert.False(true, "Deleted event should not occur"); };
|
||||
watcher.Created += (obj, e) => { Assert.Fail("Created event should not occur"); };
|
||||
watcher.Deleted += (obj, e) => { Assert.Fail("Deleted event should not occur"); };
|
||||
watcher.BeginInit();
|
||||
watcher.EndInit();
|
||||
new TempFile(Path.Combine(TestDirectory, GetTestFileName())).Dispose();
|
||||
|
|
|
@ -371,7 +371,7 @@ namespace System.IO.Tests
|
|||
|
||||
fsw.Created += (o, e) =>
|
||||
{
|
||||
Assert.True(fullPath.Equals(e.FullPath, StringComparison.OrdinalIgnoreCase));
|
||||
Assert.Equal(fullPath, e.FullPath, StringComparer.OrdinalIgnoreCase);
|
||||
are.Set();
|
||||
};
|
||||
|
||||
|
|
|
@ -545,7 +545,7 @@ namespace System.IO.Tests
|
|||
|
||||
if (error != null)
|
||||
{
|
||||
Assert.False(true, $"Filewatcher error event triggered: { error.GetException()?.Message ?? "Unknow error" }");
|
||||
Assert.Fail($"Filewatcher error event triggered: { error.GetException()?.Message ?? "Unknow error" }");
|
||||
}
|
||||
|
||||
return events;
|
||||
|
|
|
@ -32,7 +32,7 @@ namespace System.IO.Tests.Enumeration
|
|||
|
||||
protected override bool ContinueOnError(int error)
|
||||
{
|
||||
Assert.False(true, $"Should not have errored {error}");
|
||||
Assert.Fail($"Should not have errored {error}");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -130,7 +130,7 @@ namespace System.IO.Tests.Enumeration
|
|||
}
|
||||
else
|
||||
{
|
||||
Assert.False(true, $"Unexpected name '{fi.FullName}'");
|
||||
Assert.Fail($"Unexpected name '{fi.FullName}'");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -219,7 +219,7 @@ namespace System.IO.Tests.Enumeration
|
|||
}
|
||||
else
|
||||
{
|
||||
Assert.False(true, $"Unexpected name '{fi.FullName}'");
|
||||
Assert.Fail($"Unexpected name '{fi.FullName}'");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -255,7 +255,7 @@ namespace System.IO.Tests.Enumeration
|
|||
}
|
||||
else
|
||||
{
|
||||
Assert.False(true, $"Found unexpected name '{di.Name}'");
|
||||
Assert.Fail($"Found unexpected name '{di.Name}'");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -275,7 +275,7 @@ namespace System.IO.Tests.Enumeration
|
|||
}
|
||||
else
|
||||
{
|
||||
Assert.False(true, $"Found unexpected name '{di.Name}'");
|
||||
Assert.Fail($"Found unexpected name '{di.Name}'");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -128,7 +128,7 @@ namespace System.IO.Pipelines.Tests
|
|||
try
|
||||
{
|
||||
await PipeReader.CopyToAsync(stream);
|
||||
Assert.True(false, $"CopyToAsync should have failed, wrote {stream.Writes} times.");
|
||||
Assert.Fail($"CopyToAsync should have failed, wrote {stream.Writes} times.");
|
||||
}
|
||||
catch (InvalidOperationException)
|
||||
{
|
||||
|
|
|
@ -47,7 +47,7 @@ namespace System.IO.Pipelines.Tests
|
|||
try
|
||||
{
|
||||
writer.Write(new Span<byte>(array, offset, length));
|
||||
Assert.True(false);
|
||||
Assert.Fail();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
|
@ -150,18 +150,18 @@ namespace System.IO.Ports.Tests
|
|||
|
||||
if (null != expectedException)
|
||||
{
|
||||
Assert.True(false, $"ERROR!!! Expected Open() to throw {expectedException} and nothing was thrown");
|
||||
Assert.Fail($"ERROR!!! Expected Open() to throw {expectedException} and nothing was thrown");
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
if (null == expectedException)
|
||||
{
|
||||
Assert.True(false, $"ERROR!!! Expected Open() NOT to throw an exception and {e.GetType()} was thrown");
|
||||
Assert.Fail($"ERROR!!! Expected Open() NOT to throw an exception and {e.GetType()} was thrown");
|
||||
}
|
||||
else if (e.GetType() != expectedException)
|
||||
{
|
||||
Assert.True(false, $"ERROR!!! Expected Open() throw {expectedException} and {e.GetType()} was thrown: {e}");
|
||||
Assert.Fail($"ERROR!!! Expected Open() throw {expectedException} and {e.GetType()} was thrown: {e}");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -183,7 +183,7 @@ namespace System.IO.Ports.Tests
|
|||
com.BaudRate = baudRate;
|
||||
if (null != expectedException)
|
||||
{
|
||||
Assert.True(false, $"ERROR!!! Expected setting the BaudRate after Open() to throw {expectedException} and nothing was thrown");
|
||||
Assert.Fail($"ERROR!!! Expected setting the BaudRate after Open() to throw {expectedException} and nothing was thrown");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -194,11 +194,11 @@ namespace System.IO.Ports.Tests
|
|||
{
|
||||
if (null == expectedException)
|
||||
{
|
||||
Assert.True(false, $"ERROR!!! Expected setting the BaudRate after Open() NOT to throw an exception and {e.GetType()} was thrown");
|
||||
Assert.Fail($"ERROR!!! Expected setting the BaudRate after Open() NOT to throw an exception and {e.GetType()} was thrown");
|
||||
}
|
||||
else if (e.GetType() != expectedException)
|
||||
{
|
||||
Assert.True(false, $"ERROR!!! Expected setting the BaudRate after Open() throw {expectedException} and {e.GetType()} was thrown");
|
||||
Assert.Fail($"ERROR!!! Expected setting the BaudRate after Open() throw {expectedException} and {e.GetType()} was thrown");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -314,7 +314,7 @@ namespace System.IO.Ports.Tests
|
|||
//then the expected baud rate must not have been used and we should report an error
|
||||
if (MAX_ACCEPTABLE_PERCENTAGE_DIFFERENCE < percentageDifference)
|
||||
{
|
||||
Assert.True(false, string.Format("ERROR!!! BuadRate not used Expected time:{0}, actual time:{1} percentageDifference:{2}",
|
||||
Assert.Fail(string.Format("ERROR!!! BuadRate not used Expected time:{0}, actual time:{1} percentageDifference:{2}",
|
||||
expectedTime, actualTime, percentageDifference));
|
||||
}
|
||||
|
||||
|
|
|
@ -343,7 +343,7 @@ namespace System.IO.Ports.Tests
|
|||
}
|
||||
}
|
||||
|
||||
Assert.True(false, "Wait for event failure");
|
||||
Assert.Fail("Wait for event failure");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -368,7 +368,7 @@ namespace System.IO.Ports.Tests
|
|||
}
|
||||
}
|
||||
|
||||
Assert.True(false, $"Validate {eventType} failed");
|
||||
Assert.Fail($"Validate {eventType} failed");
|
||||
}
|
||||
|
||||
public int NumberOfOccurrencesOfType(SerialData eventType)
|
||||
|
|
|
@ -119,7 +119,7 @@ namespace System.IO.Ports.Tests
|
|||
{
|
||||
if (null != expectedException && throwAt == ThrowAt.Set)
|
||||
{
|
||||
Assert.True(false, $"Err_7212ahsdj Expected Ctor to throw {expectedException}");
|
||||
Assert.Fail($"Err_7212ahsdj Expected Ctor to throw {expectedException}");
|
||||
}
|
||||
|
||||
serPortProp.SetAllPropertiesToDefaults();
|
||||
|
@ -128,7 +128,7 @@ namespace System.IO.Ports.Tests
|
|||
serPortProp.VerifyPropertiesAndPrint(com);
|
||||
}
|
||||
}
|
||||
catch (TrueException)
|
||||
catch (FailException)
|
||||
{
|
||||
// This is an inner failure
|
||||
throw;
|
||||
|
@ -137,15 +137,15 @@ namespace System.IO.Ports.Tests
|
|||
{
|
||||
if (null == expectedException)
|
||||
{
|
||||
Assert.True(false, $"Err_07081hadnh Did not expect exception to be thrown and the following was thrown: \n{e}");
|
||||
Assert.Fail($"Err_07081hadnh Did not expect exception to be thrown and the following was thrown: \n{e}");
|
||||
}
|
||||
else if (throwAt == ThrowAt.Open)
|
||||
{
|
||||
Assert.True(false, $"Err_88916adfa Expected {expectedException} to be thrown at Open and the following was thrown at Set: \n{e}");
|
||||
Assert.Fail($"Err_88916adfa Expected {expectedException} to be thrown at Open and the following was thrown at Set: \n{e}");
|
||||
}
|
||||
else if (e.GetType() != expectedException)
|
||||
{
|
||||
Assert.True(false, $"Err_90282ahwhp Expected {expectedException} to be thrown and the following was thrown: \n{e}");
|
||||
Assert.Fail($"Err_90282ahwhp Expected {expectedException} to be thrown and the following was thrown: \n{e}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -198,7 +198,7 @@ namespace System.IO.Ports.Tests
|
|||
serPortProp.VerifyPropertiesAndPrint(com);
|
||||
}
|
||||
}
|
||||
catch (TrueException)
|
||||
catch (FailException)
|
||||
{
|
||||
// This is an inner failure
|
||||
throw;
|
||||
|
|
|
@ -148,7 +148,7 @@ namespace System.IO.Ports.Tests
|
|||
try
|
||||
{
|
||||
stream.Read(new byte[DEFAULT_READ_BYTE_ARRAY_SIZE], 0, DEFAULT_READ_BYTE_ARRAY_SIZE);
|
||||
Assert.True(false, "Err_1707ahbap!!!: Read did not throw TimeouException when it timed out");
|
||||
Assert.Fail("Err_1707ahbap!!!: Read did not throw TimeouException when it timed out");
|
||||
}
|
||||
catch (TimeoutException)
|
||||
{
|
||||
|
|
|
@ -34,7 +34,7 @@ namespace System.IO.PortsTests
|
|||
|
||||
public static void Fail(string format, params object[] args)
|
||||
{
|
||||
Assert.True(false, string.Format(format, args));
|
||||
Assert.Fail(string.Format(format, args));
|
||||
}
|
||||
|
||||
#pragma warning disable SYSLIB0001 // Encoding.UTF7 property is obsolete
|
||||
|
|
|
@ -251,7 +251,7 @@ namespace Legacy.Support
|
|||
sb.AppendLine($"{key}={badProps[key]} expected {GetProperty((string)key)}");
|
||||
}
|
||||
|
||||
Assert.True(false, sb.ToString());
|
||||
Assert.Fail(sb.ToString());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -145,7 +145,7 @@ namespace Legacy.Support
|
|||
}
|
||||
}
|
||||
}
|
||||
Assert.True(false, $"Failed to validate event type {eventType}. Received: {string.Join(", ", _eventTypes)}");
|
||||
Assert.Fail($"Failed to validate event type {eventType}. Received: {string.Join(", ", _eventTypes)}");
|
||||
}
|
||||
|
||||
public int NumberOfOccurrencesOfType(T eventType)
|
||||
|
|
|
@ -1108,7 +1108,9 @@ namespace System.Linq.Expressions.Tests
|
|||
Func<T> f = e.Compile(useInterpreter);
|
||||
|
||||
if (default(T) == null)
|
||||
#pragma warning disable xUnit2005 // Do not use Assert.Same() on value type 'T'. Value types do not have identity. Use Assert.Equal instead.
|
||||
Assert.Same((object)(condition ? a : b), (object)f());
|
||||
#pragma warning restore xUnit2005
|
||||
else
|
||||
Assert.Equal(condition ? a : b, f());
|
||||
}
|
||||
|
|
|
@ -90,20 +90,28 @@ namespace System.MemoryTests
|
|||
[Fact]
|
||||
public static void ToEnumerableChars()
|
||||
{
|
||||
ReadOnlyMemory<char>[] memories = new[]
|
||||
{
|
||||
new char[] { 'a', 'b', 'c' }.AsMemory(), // array
|
||||
"abc".AsMemory(), // string
|
||||
new WrapperMemoryManager<char>(new char[] { 'a', 'b', 'c' }.AsMemory()).Memory // memory manager
|
||||
};
|
||||
char[] charArray = ['a', 'b', 'c']; // array
|
||||
ReadOnlyMemory<char> memory = charArray.AsMemory();
|
||||
|
||||
foreach (ReadOnlyMemory<char> memory in memories)
|
||||
{
|
||||
Assert.Equal(new char[] { 'a', 'b', 'c' }, MemoryMarshal.ToEnumerable(memory));
|
||||
Assert.Equal(new char[] { 'a', 'b' }, MemoryMarshal.ToEnumerable(memory.Slice(0, 2)));
|
||||
Assert.Equal(new char[] { 'b', 'c' }, MemoryMarshal.ToEnumerable(memory.Slice(1)));
|
||||
Assert.Same(Array.Empty<char>(), MemoryMarshal.ToEnumerable(memory.Slice(3)));
|
||||
}
|
||||
Assert.Equal(charArray, MemoryMarshal.ToEnumerable(memory));
|
||||
Assert.Equal(charArray[..2], MemoryMarshal.ToEnumerable(memory[..2]));
|
||||
Assert.Equal(charArray[1..], MemoryMarshal.ToEnumerable(memory[1..]));
|
||||
Assert.Same(Array.Empty<char>(), MemoryMarshal.ToEnumerable(memory[3..]));
|
||||
|
||||
string str = "abc"; // string
|
||||
memory = str.AsMemory();
|
||||
|
||||
Assert.Equal(str, MemoryMarshal.ToEnumerable(memory));
|
||||
Assert.Equal(charArray[..2], MemoryMarshal.ToEnumerable(memory[..2]));
|
||||
Assert.Equal(charArray[1..], MemoryMarshal.ToEnumerable(memory[1..]));
|
||||
Assert.Same(Array.Empty<char>(), MemoryMarshal.ToEnumerable(memory[3..]));
|
||||
|
||||
memory = new WrapperMemoryManager<char>(new char[] { 'a', 'b', 'c' }.AsMemory()).Memory; // memory manager
|
||||
|
||||
Assert.Equal(charArray, MemoryMarshal.ToEnumerable(memory));
|
||||
Assert.Equal(charArray[..2], MemoryMarshal.ToEnumerable(memory[..2]));
|
||||
Assert.Equal(charArray[1..], MemoryMarshal.ToEnumerable(memory[1..]));
|
||||
Assert.Same(Array.Empty<char>(), MemoryMarshal.ToEnumerable(memory[3..]));
|
||||
}
|
||||
|
||||
private sealed class WrapperMemoryManager<T>(Memory<T> memory) : MemoryManager<T>
|
||||
|
|
|
@ -80,7 +80,7 @@ namespace System.Memory.Tests
|
|||
{
|
||||
char[] array = Enumerable.Range(0, 255).Select(i => (char)i).ToArray();
|
||||
ReadOnlySequence<char> buffer = Factory.CreateWithContent(array);
|
||||
Assert.Equal(array, buffer.ToString());
|
||||
Assert.Equal(new string(array), buffer.ToString());
|
||||
}
|
||||
|
||||
[Theory]
|
||||
|
@ -159,7 +159,7 @@ namespace System.Memory.Tests
|
|||
SequencePosition? result = buffer.PositionOf((char)searchFor);
|
||||
|
||||
Assert.NotNull(result);
|
||||
Assert.Equal(buffer.Slice(result.Value).ToArray(), raw.Substring(expectIndex));
|
||||
Assert.Equal(buffer.Slice(result.Value).ToArray(), raw.Substring(expectIndex).ToCharArray());
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
|
|
@ -98,7 +98,7 @@ namespace System.SpanTests
|
|||
#pragma warning disable 0618
|
||||
bool result = left.Equals(new object());
|
||||
#pragma warning restore 0618
|
||||
Assert.True(false);
|
||||
Assert.Fail();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
|
@ -17,7 +17,7 @@ namespace System.SpanTests
|
|||
#pragma warning disable 0618
|
||||
int result = span.GetHashCode();
|
||||
#pragma warning restore 0618
|
||||
Assert.True(false);
|
||||
Assert.Fail();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
|
@ -380,7 +380,7 @@ namespace System.Memory.Tests.SequenceReader
|
|||
try
|
||||
{
|
||||
reader.Advance(6);
|
||||
Assert.True(false);
|
||||
Assert.Fail();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
@ -448,7 +448,7 @@ namespace System.Memory.Tests.SequenceReader
|
|||
try
|
||||
{
|
||||
reader.Advance(4);
|
||||
Assert.True(false);
|
||||
Assert.Fail();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
|
@ -83,7 +83,7 @@ namespace System.Memory.Tests.SequenceReader
|
|||
try
|
||||
{
|
||||
reader.Rewind(1);
|
||||
Assert.True(false, "no exception thrown");
|
||||
Assert.Fail("no exception thrown");
|
||||
}
|
||||
catch (ArgumentOutOfRangeException)
|
||||
{
|
||||
|
@ -95,7 +95,7 @@ namespace System.Memory.Tests.SequenceReader
|
|||
try
|
||||
{
|
||||
reader.Rewind(2);
|
||||
Assert.True(false, "no exception thrown");
|
||||
Assert.Fail("no exception thrown");
|
||||
}
|
||||
catch (ArgumentOutOfRangeException)
|
||||
{
|
||||
|
|
|
@ -99,7 +99,7 @@ namespace System.SpanTests
|
|||
#pragma warning disable 0618
|
||||
bool result = left.Equals(new object());
|
||||
#pragma warning restore 0618
|
||||
Assert.True(false);
|
||||
Assert.Fail();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
|
@ -17,7 +17,7 @@ namespace System.SpanTests
|
|||
#pragma warning disable 0618
|
||||
int result = span.GetHashCode();
|
||||
#pragma warning restore 0618
|
||||
Assert.True(false);
|
||||
Assert.Fail();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
|
@ -524,7 +524,7 @@ namespace System.SpanTests
|
|||
string readableHaystack = string.Join(", ", haystack.ToArray().Select(c => int.CreateChecked(c)));
|
||||
string readableNeedle = string.Join(", ", needle.ToArray().Select(c => int.CreateChecked(c)));
|
||||
|
||||
Assert.True(false, $"Expected {expected}, got {approach}={actual} for needle='{readableNeedle}', haystack='{readableHaystack}'");
|
||||
Assert.Fail($"Expected {expected}, got {approach}={actual} for needle='{readableNeedle}', haystack='{readableHaystack}'");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -503,7 +503,7 @@ namespace System.Memory.Tests.Span
|
|||
string readableHaystack = ReadableAsciiOrSerialized(haystack.ToString());
|
||||
string readableNeedle = string.Join(", ", needle.Select(ReadableAsciiOrSerialized));
|
||||
|
||||
Assert.True(false, $"Expected {expected}, got {actual} for impl='{impl}' comparison={comparisonType} needle='{readableNeedle}', haystack='{readableHaystack}'");
|
||||
Assert.Fail($"Expected {expected}, got {actual} for impl='{impl}' comparison={comparisonType} needle='{readableNeedle}', haystack='{readableHaystack}'");
|
||||
|
||||
static string ReadableAsciiOrSerialized(string value)
|
||||
{
|
||||
|
|
|
@ -48,7 +48,7 @@ namespace System
|
|||
try
|
||||
{
|
||||
action(span);
|
||||
Assert.False(true, $"Expected exception: {typeof(E)}");
|
||||
Assert.Fail($"Expected exception: {typeof(E)}");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
@ -109,7 +109,7 @@ namespace System
|
|||
try
|
||||
{
|
||||
action(span);
|
||||
Assert.False(true, $"Expected exception: {typeof(E)}");
|
||||
Assert.Fail($"Expected exception: {typeof(E)}");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
|
@ -269,7 +269,7 @@ namespace System.Net.Tests
|
|||
if (clientConnectTask == await Task.WhenAny(serverContextTask, clientConnectTask))
|
||||
{
|
||||
await clientConnectTask;
|
||||
Assert.True(false, "Client should not have completed prior to server sending response");
|
||||
Assert.Fail("Client should not have completed prior to server sending response");
|
||||
}
|
||||
|
||||
return await serverContextTask;
|
||||
|
|
|
@ -377,7 +377,7 @@ namespace System.Net.Tests
|
|||
if (clientConnectTask == await Task.WhenAny(serverContextTask, clientConnectTask))
|
||||
{
|
||||
await clientConnectTask;
|
||||
Assert.True(false, "Client should not have completed prior to server sending response");
|
||||
Assert.Fail("Client should not have completed prior to server sending response");
|
||||
}
|
||||
|
||||
HttpListenerContext context = await serverContextTask;
|
||||
|
@ -428,7 +428,7 @@ namespace System.Net.Tests
|
|||
if (ClientConnectTask == await Task.WhenAny(serverContextTask, ClientConnectTask))
|
||||
{
|
||||
await ClientConnectTask;
|
||||
Assert.True(false, "Client should not have completed prior to server sending response");
|
||||
Assert.Fail("Client should not have completed prior to server sending response");
|
||||
}
|
||||
|
||||
HttpListenerContext context = await serverContextTask;
|
||||
|
|
|
@ -148,7 +148,7 @@ namespace System.Net.Tests
|
|||
if (clientTask == await Task.WhenAny(server, clientTask))
|
||||
{
|
||||
(await clientTask).EnsureSuccessStatusCode();
|
||||
Assert.True(false, "Client should not have completed prior to server sending response");
|
||||
Assert.Fail("Client should not have completed prior to server sending response");
|
||||
}
|
||||
|
||||
HttpListenerContext context = await server;
|
||||
|
|
|
@ -66,7 +66,7 @@ namespace System.Net.Security.Tests
|
|||
|
||||
var selectionCallback = new LocalCertificateSelectionCallback((object sender, string targetHost, X509CertificateCollection localCertificates, X509Certificate remoteCertificate, string[] issuers) =>
|
||||
{
|
||||
Assert.True(false, "LocalCertificateSelectionCallback called when AuthenticateAsServerAsync was expected to fail.");
|
||||
Assert.Fail("LocalCertificateSelectionCallback called when AuthenticateAsServerAsync was expected to fail.");
|
||||
return null;
|
||||
});
|
||||
|
||||
|
@ -82,7 +82,7 @@ namespace System.Net.Security.Tests
|
|||
{
|
||||
Task clientJob = Task.Run(() => {
|
||||
client.AuthenticateAsClient(hostName);
|
||||
Assert.True(false, "RemoteCertificateValidationCallback called when AuthenticateAsServerAsync was expected to fail.");
|
||||
Assert.Fail("RemoteCertificateValidationCallback called when AuthenticateAsServerAsync was expected to fail.");
|
||||
});
|
||||
|
||||
SslServerAuthenticationOptions options = DefaultServerOptions();
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue