Skip to content

Commit c78a252

Browse files
committed
conver Synchronized to be a Lock instead of a simple object
1 parent a0a99b1 commit c78a252

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.DotNet.Wpf/src/WindowsBase/System/Windows/DependencyProperty.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1189,7 +1189,7 @@ private enum Flags : int
11891189
private static int GlobalIndexCount;
11901190

11911191
// Global, cross-object synchronization
1192-
internal static readonly object Synchronized = new object();
1192+
internal static readonly Lock Synchronized = new();
11931193

11941194
// Nullable Type
11951195
private static Type NullableType = typeof(Nullable<>);

0 commit comments

Comments
 (0)