Skip to content

Commit 4c45dce

Browse files
Fix | Enable Read Async blocking for all supported .NET Framework versions. (#928)
1 parent 8850d1d commit 4c45dce

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Microsoft.Data.SqlClient/netfx/src/Microsoft/Data/SqlClient/AppContextDefaultValues.Defaults.cs

+1-4
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,7 @@ static partial void PopulateDefaultValuesPartial(string platformIdentifier, stri
2222
case ".NETCore":
2323
case ".NETFramework":
2424
{
25-
if (version <= 40702)
26-
{
27-
LocalAppContext.DefineSwitchDefault(LocalAppContextSwitches.MakeReadAsyncBlockingString, true);
28-
}
25+
LocalAppContext.DefineSwitchDefault(LocalAppContextSwitches.MakeReadAsyncBlockingString, true);
2926
break;
3027
}
3128
}

0 commit comments

Comments
 (0)