Skip to content

Commit a21542f

Browse files
committed
Fix compiler error in netfx proj due to SingletonProcessDispatcher being static
1 parent b2d21e2 commit a21542f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/SqlDependency.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ private static void ObtainProcessDispatcher()
484484

485485
if (null != dependency)
486486
{
487-
s_processDispatcher = dependency.SingletonProcessDispatcher; // Set to static instance.
487+
s_processDispatcher = SqlDependencyProcessDispatcher.SingletonProcessDispatcher; // Set to static instance.
488488

489489
// Serialize and set in native.
490490
using (MemoryStream stream = new())

0 commit comments

Comments
 (0)