Skip to content

Commit 4af786a

Browse files
authored
Update MS.Extensions.DependencyInjection version (#1722)
1 parent a1c65dd commit 4af786a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

eng/Versions.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<PropertyGroup>
1616
<MicrosoftBuildVersion>17.3.0-preview-22302-02</MicrosoftBuildVersion>
1717
<MicrosoftCodeAnalysisAnalyzersVersion>3.3.3</MicrosoftCodeAnalysisAnalyzersVersion>
18-
<MicrosoftExtensionsDependencyInjectionVersion>7.0.0-preview.2.22152.2</MicrosoftExtensionsDependencyInjectionVersion>
18+
<MicrosoftExtensionsDependencyInjectionVersion>7.0.0-rc.1.22426.10</MicrosoftExtensionsDependencyInjectionVersion>
1919
<!-- Dependencies from https://github.com/dotnet/roslyn -->
2020
<MicrosoftNetCompilersToolsetPackageVersion>4.4.0-3.22431.2</MicrosoftNetCompilersToolsetPackageVersion>
2121
<!-- Dependencies from https://github.com/dotnet/command-line-api -->

src/Logging/SimpleConsoleLogger.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public bool IsEnabled(LogLevel logLevel)
6464
return (int)logLevel >= (int)_minimalLogLevel;
6565
}
6666

67-
public IDisposable BeginScope<TState>(TState state)
67+
public IDisposable? BeginScope<TState>(TState state) where TState : notnull
6868
{
6969
return NullScope.Instance;
7070
}

0 commit comments

Comments
 (0)