Skip to content

Commit c0d9021

Browse files
committed
Fix wording of comment
1 parent 3a6fc48 commit c0d9021

File tree

1 file changed

+5
-5
lines changed
  • src/libraries/System.Net.Quic/src/System/Net/Quic/Internal

1 file changed

+5
-5
lines changed

src/libraries/System.Net.Quic/src/System/Net/Quic/Internal/MsQuicApi.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ static MsQuicApi()
8484
if (OperatingSystem.IsWindows())
8585
{
8686
#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.
9090
string path = typeof(MsQuicApi).Assembly.Location is string assemblyLocation && !string.IsNullOrEmpty(assemblyLocation)
9191
? System.IO.Path.GetDirectoryName(assemblyLocation)!
9292
: AppContext.BaseDirectory;
@@ -169,7 +169,7 @@ static MsQuicApi()
169169

170170
if (version < s_minMsQuicVersion)
171171
{
172-
NotSupportedReason = $"Incompatible MsQuic library version '{version}', expecting higher than '{s_minMsQuicVersion}'.";
172+
NotSupportedReason = $"Incompatible MsQuic library version '{version}', expecting higher than '{s_minMsQuicVersion}'.";
173173
if (NetEventSource.Log.IsEnabled())
174174
{
175175
NetEventSource.Info(null, NotSupportedReason);
@@ -193,7 +193,7 @@ static MsQuicApi()
193193
// Implies windows platform, check TLS1.3 availability
194194
if (!IsWindowsVersionSupported())
195195
{
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}.";
197197
if (NetEventSource.Log.IsEnabled())
198198
{
199199
NetEventSource.Info(null, NotSupportedReason);

0 commit comments

Comments
 (0)