From 9528b1d77741492a032315cc7c4e765e4e496ce0 Mon Sep 17 00:00:00 2001 From: Stephen Toub Date: Mon, 30 Nov 2020 01:14:08 -0500 Subject: [PATCH] Revert "Compile System.Private.CoreLib with Crossgen2 by default (#44618)" (#45320) * Revert "Compile System.Private.CoreLib with Crossgen2 by default (#44618)" This reverts commit b79e4d3cd24f76dd1bcb722f589327c827e66632. * Add a change to ensure libraries are built/tested --- src/coreclr/crossgen-corelib.proj | 2 +- .../src/System/Threading/Channels/AsyncOperation.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/coreclr/crossgen-corelib.proj b/src/coreclr/crossgen-corelib.proj index a394fa7..f4ff62f 100644 --- a/src/coreclr/crossgen-corelib.proj +++ b/src/coreclr/crossgen-corelib.proj @@ -5,7 +5,7 @@ - true + false $(TargetOS).$(TargetArchitecture).$(Configuration) $(RepoRoot)\artifacts diff --git a/src/libraries/System.Threading.Channels/src/System/Threading/Channels/AsyncOperation.cs b/src/libraries/System.Threading.Channels/src/System/Threading/Channels/AsyncOperation.cs index 370535d..b13548c 100644 --- a/src/libraries/System.Threading.Channels/src/System/Threading/Channels/AsyncOperation.cs +++ b/src/libraries/System.Threading.Channels/src/System/Threading/Channels/AsyncOperation.cs @@ -16,7 +16,7 @@ namespace System.Threading.Channels protected static readonly Action s_availableSentinel = AvailableSentinel; // named method to help with debugging private static void AvailableSentinel(object? s) => Debug.Fail($"{nameof(AsyncOperation)}.{nameof(AvailableSentinel)} invoked with {s}"); - /// Sentinel object used in a field to indicate the operation has completed. + /// Sentinel object used in a field to indicate the operation has completed protected static readonly Action s_completedSentinel = CompletedSentinel; // named method to help with debugging private static void CompletedSentinel(object? s) => Debug.Fail($"{nameof(AsyncOperation)}.{nameof(CompletedSentinel)} invoked with {s}"); -- 2.7.4