Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Follow-Up: Issue-URL Cleanup #93172

Open
23 of 37 tasks
deeprobin opened this issue Oct 7, 2023 · 2 comments
Open
23 of 37 tasks

Follow-Up: Issue-URL Cleanup #93172

deeprobin opened this issue Oct 7, 2023 · 2 comments
Labels
area-Meta help wanted [up-for-grabs] Good issue for external contributors
Milestone

Comments

@deeprobin
Copy link
Contributor

deeprobin commented Oct 7, 2023

Follow-up 2023 for #63902

As discussed in mentioned issue, I periodically review the issue comments in the current codebase.
To avoid confusion here, weshould of course remove these occurences when the related issue is resolved.

@jeffhandley Should we do this like we did last year? Just create issues for all points?
Would you take a quick look over and see if something could be taken out of here?

New

File docs/design/features/additional-deps.md (File Position 221-266)

## Summary
This document describes current (2.0) and proposed (2.1) behavior for "light-up" scenarios regarding additional-deps functionality. The proposed behavior resolves the following issues:
https://github.com/dotnet/runtime/issues/3093

File src/libraries/Microsoft.Extensions.DependencyModel/src/DependencyContextWriter.cs (File Position 641-686)

ThrowHelper.ThrowIfNull(stream);
// Custom encoder is required to fix https://github.com/dotnet/runtime/issues/3678
// Since the JSON is only written to a file that is read by the SDK (and not transmitted over the wire),
// it is safe to skip escaping certain characters in this scenario

  • File src/libraries/Microsoft.Extensions.DependencyModel/tests/DependencyContextJsonWriterTests.cs (File Position 9033-9078)

"PackageName",
"1.2.3",
"HASH+/==", // verify that '+' and '/' is not getting escaped to workaround bug in older xunit https://github.com/dotnet/runtime/issues/3678
new [] {"Banana.dll"},
new [] {

File src/libraries/System.Private.CoreLib/src/System/Text/Unicode/Utf8Utility.Helpers.cs (File Position 12599-12645)

// Big-endian: Given [ AAAA #### ], return whether AAAA is in range [ 0000..007F ].
// Return statement is written this way to work around https://github.com/dotnet/runtime/issues/4207.
return (BitConverter.IsLittleEndian && (value & 0xFF80u) == 0)

File src/libraries/System.Collections.Immutable/src/System/Collections/Immutable/AllocFreeConcurrentStack.cs (File Position 2575-2621)

internal static class AllocFreeConcurrentStack
{
// Workaround for https://github.com/dotnet/runtime/issues/4731.
[ThreadStatic]
internal static Dictionary<Type, object>? t_stacks;

File src/libraries/System.Private.CoreLib/src/System/Text/Unicode/Utf16Utility.Validation.cs (File Position 3262-3308)

char* pEndOfInputBuffer = pInputBuffer + (uint)inputLength;
// Per https://github.com/dotnet/runtime/issues/41699, temporarily disabling
// ARM64-intrinsicified code paths. ARM64 platforms may still use the vectorized
// non-intrinsicified 'else' block below.

File src/tasks/WasmAppBuilder/PInvokeTableGenerator.cs (File Position 7634-7680)

// FIXME: System.Reflection.MetadataLoadContext can't decode function pointer types
// https://github.com/dotnet/runtime/issues/43791
private static bool TryIsMethodGetParametersUnsupported(MethodInfo method, [NotNullWhen(true)] out string? reason)
{

File src/tests/tracing/eventpipe/diagnosticport/diagnosticport.cs (File Position 9323-9369)

}
// workaround for https://github.com/dotnet/runtime/issues/44072 which happens because the
// above provider only sends 2 events and that can cause EventPipeEventSource (from TraceEvent)
// to not dispatch the events if the EventBlock is a size not divisible by 8 (the reading alignment in TraceEvent).

File src/libraries/System.Diagnostics.FileVersionInfo/tests/System.Diagnostics.FileVersionInfo.Tests/System.Diagnostics.FileVersionInfo.Tests.csproj (File Position 2303-2349)

<ItemGroup>
<!-- Include the test assembly as Content. We don't do this on Browser to work around
https://github.com/dotnet/runtime/issues/46856 that would proceed to treat Content as an assembly reference anyway.
Works around: Found identical vfs mappings for target path: System.Diagnostics.FileVersionInfo.TestAssembly.dll, source file: .../System.Diagnostics.FileVersionInfo.TestAssembly.dll. Ignoring. -->
<ProjectReference Include="..\System.Diagnostics.FileVersionInfo.TestAssembly\System.Diagnostics.FileVersionInfo.TestAssembly.csproj" Condition="'$(TargetOS)' != 'browser'">

File src/libraries/System.Net.WebSockets/tests/WebSocketDeflateTests.cs (File Position 22234-22281)

{
// When running Autobahn Test Suite some tests failed with zlib error "invalid distance too far back".
// Further investigation lead to a bug fix in zlib intel's implementation - https://github.com/dotnet/runtime/issues/50235.
// This test replicates one of the Autobahn tests to make sure this issue doesn't appear again.
byte[][] messages = new[]

File src/libraries/Microsoft.Extensions.Options/tests/Microsoft.Extensions.Options.Tests/OptionsMonitorTest.cs (File Position 18079-18125)

#if NET // need GC.GetAllocatedBytesForCurrentThread()
/// <summary>
/// Tests the fix for https://github.com/dotnet/runtime/issues/61086
/// </summary>
[Fact]

File src/libraries/System.Collections.Concurrent/src/System/Collections/Concurrent/ConcurrentDictionary.cs (File Position 105461-105508)

private struct VolatileNode
{
// Workaround for https://github.com/dotnet/runtime/issues/65789.
// If we had a Node?[] array, to safely read from the array we'd need to do Volatile.Read(ref array[i]),
// but that triggers an unnecessary ldelema, which in turn results in a call to CastHelpers.LdelemaRef.

File src/coreclr/tools/aot/ILCompiler/ILCompiler.csproj (File Position 259-305)

<!-- BEGIN: Workaround for https://github.com/dotnet/runtime/issues/67742 -->
<PropertyGroup Condition="'$(BuildingInsideVisualStudio)' != 'true'">
<PublishDir>$(RuntimeBinDir)ilc-published/</PublishDir>

File src/libraries/System.Net.Quic/src/System.Net.Quic.csproj (File Position 3689-3735)

<ItemGroup Condition="'$(TargetPlatformIdentifier)' == ''">
<Compile Include="System\Net\Quic\*.Unsupported.cs" />
<!-- [ActiveIssue("https://github.com/dotnet/runtime/issues/71559")]: PNSE generator cannot handle required keyword, so excluding affected classes in ExcludeApiList.PNSE.txt and including real code for now. -->
<Compile Include="System\Net\Quic\QuicListenerOptions.cs" />
<Compile Include="System\Net\Quic\QuicConnectionOptions.cs" />

File src/libraries/System.Private.CoreLib/src/System/Collections/Generic/ValueListBuilder.cs (File Position 1220-1266)

int pos = _pos;
// Workaround for https://github.com/dotnet/runtime/issues/72004
Span<T> span = _span;
if ((uint)pos < (uint)span.Length)

File src/mono/wasm/Wasm.Build.Tests/data/RunScriptTemplate.sh (File Position 62-108)

#!/usr/bin/env bash
# create dummy console app to workaround https://github.com/dotnet/runtime/issues/80619
(CONSOLE_TEMP_DIR="$(mktemp -d)"; "$DOTNET_ROOT/dotnet" new console -o "$CONSOLE_TEMP_DIR"; rm -rf "$CONSOLE_TEMP_DIR") || true

File src/libraries/Microsoft.Extensions.Configuration.Xml/src/XmlStreamConfigurationProvider.cs (File Position 747-793)

public class XmlStreamConfigurationProvider : StreamConfigurationProvider
{
// work around https://github.com/dotnet/runtime/issues/81864 by splitting this into a separate class.
internal static class Consts
{

File src/libraries/System.Security.Cryptography.Xml/src/System/Security/Cryptography/Xml/XmlDecryptionTransform.cs (File Position 1185-1231)

private XmlNamespaceManager? _nsm;
// work around https://github.com/dotnet/runtime/issues/81864 by splitting this into a separate class.
internal static class Consts
{

File src/libraries/System.Security.Cryptography.Xml/src/System/Security/Cryptography/Xml/XmlLicenseTransform.cs (File Position 796-842)

private IRelDecryptor? _relDecryptor;
// work around https://github.com/dotnet/runtime/issues/81864 by splitting these into a separate class.
internal static class Consts
{

File src/coreclr/tools/aot/AotCompilerCommon.props (File Position 350-396)

<ItemGroup>
<!-- Replace this line with the documented property once https://github.com/dotnet/runtime/issues/83495 is fixed -->
<RuntimeHostConfigurationOption Include="System.Xml.XmlResolver.IsNetworkingEnabledByDefault"
Value="false"

Handled before

End Function
<MethodImpl(MethodImplOptions.NoInlining)> ' To work around https://github.com/dotnet/runtime/issues/7141
Private Shared Function ModSByte(ByVal left As SByte, ByVal right As SByte) As Object
Return left Mod right

File src/coreclr/System.Private.CoreLib/src/System/Reflection/RuntimeCustomAttributeData.cs (File Position 59646-59692)

{
// Resolve method ctor token found in decorated decoratedModule scope
// See https://github.com/dotnet/runtime/issues/11637 for why we fast-path non-generics here (fewer allocations)
if (attributeType.IsGenericType)
{

File src/libraries/System.ComponentModel.Annotations/tests/System/ComponentModel/DataAnnotations/DataTypeAttributeTests.cs (File Position 3236-3283)

// .NET Core fixed a bug where whitespace strings were allowed as CustomDataType.
// See https://github.com/dotnet/runtime/issues/15690.
yield return new object[] { " ", PlatformDetection.IsNetFramework };
}

File src/mono/mono/utils/mono-threads-windows.c (File Position 4766-4813)

// same resource that was part of the cancelation. Current implementation of
// .NET Framework and .NET Core currently don't support the ability to abort a thread
// blocked on sync IO calls, see https://github.com/dotnet/runtime/issues/16236.
// Since there is no solution covering all scenarios aborting blocking syscall this
// will be on best effort and there might still be a slight risk that the blocking call

File src/libraries/System.IO.IsolatedStorage/src/System/IO/IsolatedStorage/IsolatedStorageFile.NonMobile.cs (File Position 1064-1110)

internal IsolatedStorageFile(IsolatedStorageScope scope)
{
// Evidence isn't currently available: https://github.com/dotnet/runtime/issues/18208
// public static IsolatedStorageFile GetStore(IsolatedStorageScope scope, Evidence domainEvidence, Type domainEvidenceType, Evidence assemblyEvidence, Type assemblyEvidenceType) { return default(IsolatedStorageFile); }

File src/libraries/System.IO.IsolatedStorage/src/System/IO/IsolatedStorage/IsolatedStorageFile.cs (File Position 13300-13346)

public static IEnumerator GetEnumerator(IsolatedStorageScope scope)
{
// Not currently supported: https://github.com/dotnet/runtime/issues/18209
// Implementing this would require serializing/deserializing identity objects which is particularly

File src/libraries/Common/src/Extensions/ParameterDefaultValue/ParameterDefaultValue.netstandard.cs (File Position 685-731)

catch (FormatException) when (parameter.ParameterType == typeof(DateTime))
{
// Workaround for https://github.com/dotnet/runtime/issues/18844
// If HasDefaultValue throws FormatException for DateTime
// we expect it to have default value

File src/libraries/System.Runtime/tests/System/TupleTests.cs (File Position 11829-11875)

{
// This was not fixed in order to be compatible with the .NET Framework and Xamarin.
// See https://github.com/dotnet/runtime/issues/19265
IStructuralEquatable equatable = (IStructuralEquatable)Tuple;
Assert.Throws<NullReferenceException>(() => equatable.Equals(Tuple, null));

File src/libraries/System.ValueTuple/tests/ValueTupleTests.cs (File Position 12672-12718)

{
// This was not fixed in order to be compatible with the .NET Framework and Xamarin.
// https://github.com/dotnet/runtime/issues/19275
IStructuralEquatable equatable = (IStructuralEquatable)valueTuple;
if (valueTuple is ValueTuple)

File src/libraries/System.Diagnostics.Process/tests/ProcessStreamReadTests.cs (File Position 18743-18790)

public void TestEOFReceivedWhenStdInClosed()
{
// This is the test for the fix of https://github.com/dotnet/runtime/issues/19277.
//
// Summary of the issue:

File src/tests/JIT/SIMD/Vector3GetHash.cs (File Position 379-425)

// It exposed a bug in morph, in which a SIMD field was being morphed in
// a MACK_Ind context, even though it was under a GT_IND(G_ADDR()).
// This was https://github.com/dotnet/runtime/issues/20080, and was "fixed" with
// https://github.com/dotnet/coreclr/pull/9496 and a new issue,
// https://github.com/dotnet/runtime/issues/7405, has been filed to track the underlying unexpected

File src/libraries/System.ServiceProcess.ServiceController/tests/System.ServiceProcess.ServiceController.TestService/TestServiceInstaller.cs (File Position 7332-7378)

{
// The Service exists at this point, but OpenService is failing, possibly because its being invoked concurrently for another service.
// https://github.com/dotnet/runtime/issues/23247
if (svc.Status != ServiceControllerStatus.Stopped)
{

File src/libraries/System.IO.FileSystem/tests/Directory/EnumerableTests.cs (File Position 586-633)

// we don't guarantee thread safety of enumerators in general, but on Windows we
// currently are thread safe, and this test will help ensure that if we change that
// it's a conscious decision. Discussed in https://github.com/dotnet/runtime/issues/24295.
[PlatformSpecific(TestPlatforms.Windows)]
public void FileEnumeratorIsThreadSafe()

File src/libraries/System.Configuration.ConfigurationManager/tests/System/Configuration/SettingElementTests.cs (File Position 1871-1917)

}
[SkipOnTargetFramework(TargetFrameworkMonikers.NetFramework, ".NET Framework does not have the fix for https://github.com/dotnet/runtime/issues/25369")]
[Fact]
public void DefaultConstructorEqualHashCodes()

File src/libraries/System.Net.Sockets/tests/FunctionalTests/ArgumentValidationTests.cs (File Position 39444-39490)

{
// Unlike other tests that reuse a static Socket instance, this test avoids doing so
// to work around a behavior of .NET 4.7.2. See https://github.com/dotnet/runtime/issues/26062
// for more details.

File src/libraries/System.Private.Xml/tests/XmlReader/Tests/ReaderEncodingTests.cs (File Position 351-397)

{
/// <summary>
/// This class is not completely testing XmlReader Encoding, it has a regression tests for the fix of the issue: https://github.com/dotnet/runtime/issues/28615
/// which reported due to fuzzy testing. Defect happening while encoding byte array, which includes a surrogate char and an invalid char.
/// </summary>

File src/libraries/System.Runtime.Serialization.Formatters/src/System/Runtime/Serialization/Formatters/Binary/BinaryFormatterWriter.cs (File Position 5050-5096)

int objectId = (int)nameInfo._objectId;
Debug.Assert(typeNameInfo != null); // Explicitly called with null. Potential bug, but closed as Won't Fix: https://github.com/dotnet/runtime/issues/31402
string? objectName = objectId < 0 ?
typeNameInfo.NIname : // Nested Object

File eng/codeOptimization.targets (File Position 731-777)

across many of our assemblies on Mac, so disable
IBCMerge optimizations on Mac for now to unblock the official build.
See issue https://github.com/dotnet/runtime/issues/33303
-->
<IsEligibleForNgenOptimization Condition="'$(TargetOS)' == 'osx' or '$(TargetsMobile)' == 'true'">false</IsEligibleForNgenOptimization>

File src/coreclr/jit/CMakeLists.txt (File Position 388-434)

# Since there is no better / specific suppression available for these core warnings, we disable
# warn-as-error (-Werror) for JIT in this case. This issue has been fixed in gcc 11.
# See https://github.com/dotnet/runtime/issues/33541
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 11.0)
add_compile_options(-Wno-error)

File src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/NativeRuntimeEventSource.cs (File Position 3243-3289)

{
// A simple fix to avoid dependencies brought by this method if event source is disabled via a feature switch.
// Should be reconsidered when https://github.com/dotnet/runtime/issues/43657 is done.
if (!IsSupported)
{

@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Oct 7, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Oct 7, 2023
@deeprobin
Copy link
Contributor Author

/area:Meta

@vcsjones vcsjones added area-Meta and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Oct 7, 2023
@ghost
Copy link

ghost commented Oct 7, 2023

Tagging subscribers to this area: @dotnet/area-meta
See info in area-owners.md if you want to be subscribed.

Issue Details

Follow-up 2023 for #63902

As discussed in mentioned issue, I periodically review the issue comments in the current codebase.
To avoid confusion here, weshould of course remove these occurences when the related issue is resolved.

@jeffhandley Should we do this like we did last year? Just create issues for all points?
Would you take a quick look over and see if something could be taken out of here?

Closedi ssues results

File docs/design/features/additional-deps.md (File Position 221-266)

## Summary
This document describes current (2.0) and proposed (2.1) behavior for "light-up" scenarios regarding additional-deps functionality. The proposed behavior resolves the following issues:
https://github.com/dotnet/runtime/issues/3093

File src/libraries/Microsoft.Extensions.DependencyModel/src/DependencyContextWriter.cs (File Position 641-686)

ThrowHelper.ThrowIfNull(stream);
// Custom encoder is required to fix https://github.com/dotnet/runtime/issues/3678
// Since the JSON is only written to a file that is read by the SDK (and not transmitted over the wire),
// it is safe to skip escaping certain characters in this scenario

File src/libraries/Microsoft.Extensions.DependencyModel/tests/DependencyContextJsonWriterTests.cs (File Position 9033-9078)

"PackageName",
"1.2.3",
"HASH+/==", // verify that '+' and '/' is not getting escaped to workaround bug in older xunit https://github.com/dotnet/runtime/issues/3678
new [] {"Banana.dll"},
new [] {

File src/libraries/System.Private.CoreLib/src/System/Text/Unicode/Utf8Utility.Helpers.cs (File Position 12599-12645)

// Big-endian: Given [ AAAA #### ], return whether AAAA is in range [ 0000..007F ].
// Return statement is written this way to work around https://github.com/dotnet/runtime/issues/4207.
return (BitConverter.IsLittleEndian && (value & 0xFF80u) == 0)

File src/libraries/System.Collections.Immutable/src/System/Collections/Immutable/AllocFreeConcurrentStack.cs (File Position 2575-2621)

internal static class AllocFreeConcurrentStack
{
// Workaround for https://github.com/dotnet/runtime/issues/4731.
[ThreadStatic]
internal static Dictionary<Type, object>? t_stacks;

File src/libraries/Microsoft.VisualBasic.Core/src/Microsoft/VisualBasic/CompilerServices/Operators.vb (File Position 225458-225503)

End Function
<MethodImpl(MethodImplOptions.NoInlining)> ' To work around https://github.com/dotnet/runtime/issues/7141
Private Shared Function ModSByte(ByVal left As SByte, ByVal right As SByte) As Object
Return left Mod right

File src/coreclr/System.Private.CoreLib/src/System/Reflection/RuntimeCustomAttributeData.cs (File Position 59646-59692)

{
// Resolve method ctor token found in decorated decoratedModule scope
// See https://github.com/dotnet/runtime/issues/11637 for why we fast-path non-generics here (fewer allocations)
if (attributeType.IsGenericType)
{

File src/libraries/System.ComponentModel.Annotations/tests/System/ComponentModel/DataAnnotations/DataTypeAttributeTests.cs (File Position 3236-3283)

// .NET Core fixed a bug where whitespace strings were allowed as CustomDataType.
// See https://github.com/dotnet/runtime/issues/15690.
yield return new object[] { " ", PlatformDetection.IsNetFramework };
}

File src/mono/mono/utils/mono-threads-windows.c (File Position 4766-4813)

// same resource that was part of the cancelation. Current implementation of
// .NET Framework and .NET Core currently don't support the ability to abort a thread
// blocked on sync IO calls, see https://github.com/dotnet/runtime/issues/16236.
// Since there is no solution covering all scenarios aborting blocking syscall this
// will be on best effort and there might still be a slight risk that the blocking call

File src/libraries/System.IO.IsolatedStorage/src/System/IO/IsolatedStorage/IsolatedStorageFile.NonMobile.cs (File Position 1064-1110)

internal IsolatedStorageFile(IsolatedStorageScope scope)
{
// Evidence isn't currently available: https://github.com/dotnet/runtime/issues/18208
// public static IsolatedStorageFile GetStore(IsolatedStorageScope scope, Evidence domainEvidence, Type domainEvidenceType, Evidence assemblyEvidence, Type assemblyEvidenceType) { return default(IsolatedStorageFile); }

File src/libraries/System.IO.IsolatedStorage/src/System/IO/IsolatedStorage/IsolatedStorageFile.cs (File Position 13300-13346)

public static IEnumerator GetEnumerator(IsolatedStorageScope scope)
{
// Not currently supported: https://github.com/dotnet/runtime/issues/18209
// Implementing this would require serializing/deserializing identity objects which is particularly

File src/libraries/Common/src/Extensions/ParameterDefaultValue/ParameterDefaultValue.netstandard.cs (File Position 685-731)

catch (FormatException) when (parameter.ParameterType == typeof(DateTime))
{
// Workaround for https://github.com/dotnet/runtime/issues/18844
// If HasDefaultValue throws FormatException for DateTime
// we expect it to have default value

File src/libraries/System.Runtime/tests/System/TupleTests.cs (File Position 11829-11875)

{
// This was not fixed in order to be compatible with the .NET Framework and Xamarin.
// See https://github.com/dotnet/runtime/issues/19265
IStructuralEquatable equatable = (IStructuralEquatable)Tuple;
Assert.Throws<NullReferenceException>(() => equatable.Equals(Tuple, null));

File src/libraries/System.ValueTuple/tests/ValueTupleTests.cs (File Position 12672-12718)

{
// This was not fixed in order to be compatible with the .NET Framework and Xamarin.
// https://github.com/dotnet/runtime/issues/19275
IStructuralEquatable equatable = (IStructuralEquatable)valueTuple;
if (valueTuple is ValueTuple)

File src/libraries/System.Diagnostics.Process/tests/ProcessStreamReadTests.cs (File Position 18743-18790)

public void TestEOFReceivedWhenStdInClosed()
{
// This is the test for the fix of https://github.com/dotnet/runtime/issues/19277.
//
// Summary of the issue:

File src/tests/JIT/SIMD/Vector3GetHash.cs (File Position 379-425)

// It exposed a bug in morph, in which a SIMD field was being morphed in
// a MACK_Ind context, even though it was under a GT_IND(G_ADDR()).
// This was https://github.com/dotnet/runtime/issues/20080, and was "fixed" with
// https://github.com/dotnet/coreclr/pull/9496 and a new issue,
// https://github.com/dotnet/runtime/issues/7405, has been filed to track the underlying unexpected

File src/libraries/System.ServiceProcess.ServiceController/tests/System.ServiceProcess.ServiceController.TestService/TestServiceInstaller.cs (File Position 7332-7378)

{
// The Service exists at this point, but OpenService is failing, possibly because its being invoked concurrently for another service.
// https://github.com/dotnet/runtime/issues/23247
if (svc.Status != ServiceControllerStatus.Stopped)
{

File src/libraries/System.IO.FileSystem/tests/Directory/EnumerableTests.cs (File Position 586-633)

// we don't guarantee thread safety of enumerators in general, but on Windows we
// currently are thread safe, and this test will help ensure that if we change that
// it's a conscious decision. Discussed in https://github.com/dotnet/runtime/issues/24295.
[PlatformSpecific(TestPlatforms.Windows)]
public void FileEnumeratorIsThreadSafe()

File src/libraries/System.Configuration.ConfigurationManager/tests/System/Configuration/SettingElementTests.cs (File Position 1871-1917)

}
[SkipOnTargetFramework(TargetFrameworkMonikers.NetFramework, ".NET Framework does not have the fix for https://github.com/dotnet/runtime/issues/25369")]
[Fact]
public void DefaultConstructorEqualHashCodes()

File src/libraries/System.Net.Sockets/tests/FunctionalTests/ArgumentValidationTests.cs (File Position 39444-39490)

{
// Unlike other tests that reuse a static Socket instance, this test avoids doing so
// to work around a behavior of .NET 4.7.2. See https://github.com/dotnet/runtime/issues/26062
// for more details.

File src/libraries/System.Private.Xml/tests/XmlReader/Tests/ReaderEncodingTests.cs (File Position 351-397)

{
/// <summary>
/// This class is not completely testing XmlReader Encoding, it has a regression tests for the fix of the issue: https://github.com/dotnet/runtime/issues/28615
/// which reported due to fuzzy testing. Defect happening while encoding byte array, which includes a surrogate char and an invalid char.
/// </summary>

File src/libraries/System.Runtime.Serialization.Formatters/src/System/Runtime/Serialization/Formatters/Binary/BinaryFormatterWriter.cs (File Position 5050-5096)

int objectId = (int)nameInfo._objectId;
Debug.Assert(typeNameInfo != null); // Explicitly called with null. Potential bug, but closed as Won't Fix: https://github.com/dotnet/runtime/issues/31402
string? objectName = objectId < 0 ?
typeNameInfo.NIname : // Nested Object

File eng/codeOptimization.targets (File Position 731-777)

across many of our assemblies on Mac, so disable
IBCMerge optimizations on Mac for now to unblock the official build.
See issue https://github.com/dotnet/runtime/issues/33303
-->
<IsEligibleForNgenOptimization Condition="'$(TargetOS)' == 'osx' or '$(TargetsMobile)' == 'true'">false</IsEligibleForNgenOptimization>

File src/coreclr/jit/CMakeLists.txt (File Position 388-434)

# Since there is no better / specific suppression available for these core warnings, we disable
# warn-as-error (-Werror) for JIT in this case. This issue has been fixed in gcc 11.
# See https://github.com/dotnet/runtime/issues/33541
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 11.0)
add_compile_options(-Wno-error)

File src/libraries/System.Private.CoreLib/src/System/Text/Unicode/Utf16Utility.Validation.cs (File Position 3262-3308)

char* pEndOfInputBuffer = pInputBuffer + (uint)inputLength;
// Per https://github.com/dotnet/runtime/issues/41699, temporarily disabling
// ARM64-intrinsicified code paths. ARM64 platforms may still use the vectorized
// non-intrinsicified 'else' block below.

File src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/NativeRuntimeEventSource.cs (File Position 3243-3289)

{
// A simple fix to avoid dependencies brought by this method if event source is disabled via a feature switch.
// Should be reconsidered when https://github.com/dotnet/runtime/issues/43657 is done.
if (!IsSupported)
{

File src/tasks/WasmAppBuilder/PInvokeTableGenerator.cs (File Position 7634-7680)

// FIXME: System.Reflection.MetadataLoadContext can't decode function pointer types
// https://github.com/dotnet/runtime/issues/43791
private static bool TryIsMethodGetParametersUnsupported(MethodInfo method, [NotNullWhen(true)] out string? reason)
{

File src/tests/tracing/eventpipe/diagnosticport/diagnosticport.cs (File Position 9323-9369)

}
// workaround for https://github.com/dotnet/runtime/issues/44072 which happens because the
// above provider only sends 2 events and that can cause EventPipeEventSource (from TraceEvent)
// to not dispatch the events if the EventBlock is a size not divisible by 8 (the reading alignment in TraceEvent).

File src/libraries/System.Diagnostics.FileVersionInfo/tests/System.Diagnostics.FileVersionInfo.Tests/System.Diagnostics.FileVersionInfo.Tests.csproj (File Position 2303-2349)

<ItemGroup>
<!-- Include the test assembly as Content. We don't do this on Browser to work around
https://github.com/dotnet/runtime/issues/46856 that would proceed to treat Content as an assembly reference anyway.
Works around: Found identical vfs mappings for target path: System.Diagnostics.FileVersionInfo.TestAssembly.dll, source file: .../System.Diagnostics.FileVersionInfo.TestAssembly.dll. Ignoring. -->
<ProjectReference Include="..\System.Diagnostics.FileVersionInfo.TestAssembly\System.Diagnostics.FileVersionInfo.TestAssembly.csproj" Condition="'$(TargetOS)' != 'browser'">

File src/libraries/System.Net.WebSockets/tests/WebSocketDeflateTests.cs (File Position 22234-22281)

{
// When running Autobahn Test Suite some tests failed with zlib error "invalid distance too far back".
// Further investigation lead to a bug fix in zlib intel's implementation - https://github.com/dotnet/runtime/issues/50235.
// This test replicates one of the Autobahn tests to make sure this issue doesn't appear again.
byte[][] messages = new[]

File src/libraries/Microsoft.Extensions.Options/tests/Microsoft.Extensions.Options.Tests/OptionsMonitorTest.cs (File Position 18079-18125)

#if NET // need GC.GetAllocatedBytesForCurrentThread()
/// <summary>
/// Tests the fix for https://github.com/dotnet/runtime/issues/61086
/// </summary>
[Fact]

File src/libraries/System.Collections.Concurrent/src/System/Collections/Concurrent/ConcurrentDictionary.cs (File Position 105461-105508)

private struct VolatileNode
{
// Workaround for https://github.com/dotnet/runtime/issues/65789.
// If we had a Node?[] array, to safely read from the array we'd need to do Volatile.Read(ref array[i]),
// but that triggers an unnecessary ldelema, which in turn results in a call to CastHelpers.LdelemaRef.

File src/coreclr/tools/aot/ILCompiler/ILCompiler.csproj (File Position 259-305)

<!-- BEGIN: Workaround for https://github.com/dotnet/runtime/issues/67742 -->
<PropertyGroup Condition="'$(BuildingInsideVisualStudio)' != 'true'">
<PublishDir>$(RuntimeBinDir)ilc-published/</PublishDir>

File src/libraries/System.Net.Quic/src/System.Net.Quic.csproj (File Position 3689-3735)

<ItemGroup Condition="'$(TargetPlatformIdentifier)' == ''">
<Compile Include="System\Net\Quic\*.Unsupported.cs" />
<!-- [ActiveIssue("https://github.com/dotnet/runtime/issues/71559")]: PNSE generator cannot handle required keyword, so excluding affected classes in ExcludeApiList.PNSE.txt and including real code for now. -->
<Compile Include="System\Net\Quic\QuicListenerOptions.cs" />
<Compile Include="System\Net\Quic\QuicConnectionOptions.cs" />

File src/libraries/System.Private.CoreLib/src/System/Collections/Generic/ValueListBuilder.cs (File Position 1220-1266)

int pos = _pos;
// Workaround for https://github.com/dotnet/runtime/issues/72004
Span<T> span = _span;
if ((uint)pos < (uint)span.Length)

File src/mono/wasm/Wasm.Build.Tests/data/RunScriptTemplate.sh (File Position 62-108)

#!/usr/bin/env bash
# create dummy console app to workaround https://github.com/dotnet/runtime/issues/80619
(CONSOLE_TEMP_DIR="$(mktemp -d)"; "$DOTNET_ROOT/dotnet" new console -o "$CONSOLE_TEMP_DIR"; rm -rf "$CONSOLE_TEMP_DIR") || true

File src/libraries/Microsoft.Extensions.Configuration.Xml/src/XmlStreamConfigurationProvider.cs (File Position 747-793)

public class XmlStreamConfigurationProvider : StreamConfigurationProvider
{
// work around https://github.com/dotnet/runtime/issues/81864 by splitting this into a separate class.
internal static class Consts
{

File src/libraries/System.Security.Cryptography.Xml/src/System/Security/Cryptography/Xml/XmlDecryptionTransform.cs (File Position 1185-1231)

private XmlNamespaceManager? _nsm;
// work around https://github.com/dotnet/runtime/issues/81864 by splitting this into a separate class.
internal static class Consts
{

File src/libraries/System.Security.Cryptography.Xml/src/System/Security/Cryptography/Xml/XmlLicenseTransform.cs (File Position 796-842)

private IRelDecryptor? _relDecryptor;
// work around https://github.com/dotnet/runtime/issues/81864 by splitting these into a separate class.
internal static class Consts
{

File src/coreclr/tools/aot/AotCompilerCommon.props (File Position 350-396)

<ItemGroup>
<!-- Replace this line with the documented property once https://github.com/dotnet/runtime/issues/83495 is fixed -->
<RuntimeHostConfigurationOption Include="System.Xml.XmlResolver.IsNetworkingEnabledByDefault"
Value="false"

Author: deeprobin
Assignees: -
Labels:

area-Meta, untriaged

Milestone: -

@ericstj ericstj removed the untriaged New issue has not been triaged by the area owner label Oct 10, 2023
@ericstj ericstj added this to the 9.0.0 milestone Oct 10, 2023
@jeffhandley jeffhandley added the help wanted [up-for-grabs] Good issue for external contributors label Jul 28, 2024
@jeffhandley jeffhandley modified the milestones: 9.0.0, Future Jul 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Meta help wanted [up-for-grabs] Good issue for external contributors
Projects
None yet
Development

No branches or pull requests

4 participants