@@ -84,9 +84,9 @@ static MsQuicApi()
84
84
if ( OperatingSystem . IsWindows ( ) )
85
85
{
86
86
#pragma warning disable IL3000 // Avoid accessing Assembly file path when publishing as a single file
87
- // Windows ships msquic in the assembly directory next to System.Net.Quic, so load that
88
- // for single-file deployments, the assembly location is an empty string so we fall back
89
- // to AppContext.BaseDirectory which is the directory containing the single-file executable
87
+ // Windows ships msquic in the assembly directory next to System.Net.Quic, so load that.
88
+ // For single-file deployments, the assembly location is an empty string so we fall back
89
+ // to AppContext.BaseDirectory which is the directory containing the single-file executable.
90
90
string path = typeof ( MsQuicApi ) . Assembly . Location is string assemblyLocation && ! string . IsNullOrEmpty ( assemblyLocation )
91
91
? System . IO . Path . GetDirectoryName ( assemblyLocation ) !
92
92
: AppContext . BaseDirectory ;
@@ -169,7 +169,7 @@ static MsQuicApi()
169
169
170
170
if ( version < s_minMsQuicVersion )
171
171
{
172
- NotSupportedReason = $ "Incompatible MsQuic library version '{ version } ', expecting higher than '{ s_minMsQuicVersion } '.";
172
+ NotSupportedReason = $ "Incompatible MsQuic library version '{ version } ', expecting higher than '{ s_minMsQuicVersion } '.";
173
173
if ( NetEventSource . Log . IsEnabled ( ) )
174
174
{
175
175
NetEventSource . Info ( null , NotSupportedReason ) ;
@@ -193,7 +193,7 @@ static MsQuicApi()
193
193
// Implies windows platform, check TLS1.3 availability
194
194
if ( ! IsWindowsVersionSupported ( ) )
195
195
{
196
- NotSupportedReason = $ "Current Windows version ({ Environment . OSVersion } ) is not supported by QUIC. Minimal supported version is { s_minWindowsVersion } .";
196
+ NotSupportedReason = $ "Current Windows version ({ Environment . OSVersion } ) is not supported by QUIC. Minimal supported version is { s_minWindowsVersion } .";
197
197
if ( NetEventSource . Log . IsEnabled ( ) )
198
198
{
199
199
NetEventSource . Info ( null , NotSupportedReason ) ;
0 commit comments