Remove backported dotnet-format patch
This commit is contained in:
parent
e10b11c863
commit
02d3359870
1 changed files with 0 additions and 24 deletions
|
@ -1,24 +0,0 @@
|
|||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Logan Bussell <loganbussell@microsoft.com>
|
||||
Date: Mon, 16 May 2022 16:29:43 -0700
|
||||
Subject: [PATCH] Update nullability constraints for BeginScope in
|
||||
SimpleConsoleLogger
|
||||
|
||||
Workaround for: https://github.com/dotnet/format/issues/1609
|
||||
---
|
||||
src/Logging/SimpleConsoleLogger.cs | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/Logging/SimpleConsoleLogger.cs b/src/Logging/SimpleConsoleLogger.cs
|
||||
index fd8015c..2971595 100644
|
||||
--- a/src/Logging/SimpleConsoleLogger.cs
|
||||
+++ b/src/Logging/SimpleConsoleLogger.cs
|
||||
@@ -64,7 +64,7 @@ public bool IsEnabled(LogLevel logLevel)
|
||||
return (int)logLevel >= (int)_minimalLogLevel;
|
||||
}
|
||||
|
||||
- public IDisposable BeginScope<TState>(TState state)
|
||||
+ public IDisposable? BeginScope<TState>(TState state) where TState : notnull
|
||||
{
|
||||
return NullScope.Instance;
|
||||
}
|
Loading…
Add table
Reference in a new issue