You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* SWEEP: Exception.StackTrace cleanup, #932
* Add unit tests for StackTraceHelper, #932
* Better assert for PrintCurrentStackTrace that caller is the top line
* PR feedback
* Add string.Contains extension method for .NET Framework and Standard 2.0
* Use MemoryExtensions.Contains
* Revert test code to use extension method
* Use is null
Copy file name to clipboardExpand all lines: Directory.Build.targets
+8-1
Original file line number
Diff line number
Diff line change
@@ -80,7 +80,7 @@
80
80
<DebugType>portable</DebugType>
81
81
</PropertyGroup>
82
82
83
-
<!-- Features in .NET Standard 2.1, .NET 5.x, .NET 6.x, .NET 7.x, .NET 8.x, and .NET 9.x only -->
83
+
<!-- Features in .NET Standard 2.1, .NET Core 3.x, .NET 5.x, .NET 6.x, .NET 7.x, .NET 8.x, and .NET 9.x only -->
84
84
<PropertyGroupCondition=" '$(TargetFramework)' == 'netstandard2.1' Or $(TargetFramework.StartsWith('netcoreapp3.')) Or $(TargetFramework.StartsWith('net5.')) Or $(TargetFramework.StartsWith('net6.')) Or $(TargetFramework.StartsWith('net7.')) Or $(TargetFramework.StartsWith('net8.')) Or $(TargetFramework.StartsWith('net9.')) ">
<!-- Features in .NET Standard 2.1, .NET Core 2.1-2.2, .NET Core 3.x, .NET 5.x, .NET 6.x, .NET 7.x, .NET 8.x, and .NET 9.x only -->
97
+
<PropertyGroupCondition=" '$(TargetFramework)' == 'netstandard2.1' Or '$(TargetFramework)' == 'netcoreapp2.1' Or '$(TargetFramework)' == 'netcoreapp2.2' Or $(TargetFramework.StartsWith('netcoreapp3.')) Or $(TargetFramework.StartsWith('net5.')) Or $(TargetFramework.StartsWith('net6.')) Or $(TargetFramework.StartsWith('net7.')) Or $(TargetFramework.StartsWith('net8.')) Or $(TargetFramework.StartsWith('net9.')) ">
<!-- Features in .NET Standard 2.x, .NET Core 2.x, .NET Core 3.x, .NET 5.x, .NET 6.x, .NET 7.x, .NET 8.x, and .NET 9.x -->
97
104
<PropertyGroupCondition=" $(TargetFramework.StartsWith('netstandard2.')) Or $(TargetFramework.StartsWith('netcoreapp2.')) Or $(TargetFramework.StartsWith('netcoreapp3.')) Or $(TargetFramework.StartsWith('net5.')) Or $(TargetFramework.StartsWith('net6.')) Or $(TargetFramework.StartsWith('net7.')) Or $(TargetFramework.StartsWith('net8.')) Or $(TargetFramework.StartsWith('net9.')) ">
thrownewIOException("a random IOException ("+name+")");
513
515
}
514
516
else
515
517
{
516
-
throwrandomState.NextBoolean()?(IOException)newFileNotFoundException("a random IOException ("+name+")"):newDirectoryNotFoundException("a random IOException ("+name+")");
518
+
throwrandomState.NextBoolean()?newFileNotFoundException("a random IOException ("+name+")"):newDirectoryNotFoundException("a random IOException ("+name+")");
0 commit comments