Skip to content

Commit 7811d57

Browse files
committed
convert Synchronized (lock obj) as readonly
1 parent 03f0126 commit 7811d57

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
@@ -1204,7 +1204,7 @@ private enum Flags : int
12041204
private static int GlobalIndexCount;
12051205

12061206
// Global, cross-object synchronization
1207-
internal static object Synchronized = new object();
1207+
internal static readonly object Synchronized = new object();
12081208

12091209
// Nullable Type
12101210
private static Type NullableType = typeof(Nullable<>);

0 commit comments

Comments
 (0)