From 74431bc0fe5c7bf41ab53814eac7c03e2cdb4f4b Mon Sep 17 00:00:00 2001 From: Sam Harwell Date: Wed, 26 Feb 2020 11:20:23 -0800 Subject: [PATCH] Restore blank lines These lines were removed unexpectedly by the automated file header code fix. Commit migrated from https://github.com/dotnet/Extensions/commit/738f2d6cfa40bbf3f21f2580903850414c7e6bae --- .../Common/src/Extensions/CommandLineUtils/Utilities/DotNetMuxer.cs | 1 + .../Microsoft.Extensions.Logging.Debug/src/DebugLogger.debug.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/libraries/Common/src/Extensions/CommandLineUtils/Utilities/DotNetMuxer.cs b/src/libraries/Common/src/Extensions/CommandLineUtils/Utilities/DotNetMuxer.cs index c791826..2b1e03c 100644 --- a/src/libraries/Common/src/Extensions/CommandLineUtils/Utilities/DotNetMuxer.cs +++ b/src/libraries/Common/src/Extensions/CommandLineUtils/Utilities/DotNetMuxer.cs @@ -1,6 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. + // System.AppContext.GetData is not available in these frameworks #if !NET451 && !NET452 && !NET46 && !NET461 diff --git a/src/libraries/Microsoft.Extensions.Logging.Debug/src/DebugLogger.debug.cs b/src/libraries/Microsoft.Extensions.Logging.Debug/src/DebugLogger.debug.cs index 2b39bc8..b329314 100644 --- a/src/libraries/Microsoft.Extensions.Logging.Debug/src/DebugLogger.debug.cs +++ b/src/libraries/Microsoft.Extensions.Logging.Debug/src/DebugLogger.debug.cs @@ -1,6 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. + // We need to define the DEBUG symbol because we want the logger // to work even when this package is compiled on release. Otherwise, // the call to Debug.WriteLine will not be in the release binary -- 2.7.4