We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c88f7f9 commit a2c5cf2Copy full SHA for a2c5cf2
src/DotNext/Sentinel.cs
@@ -9,5 +9,5 @@ internal static class Sentinel
9
10
// The struct is needed to avoid false positives caused by the type check on the variable that stores singleton
11
[StructLayout(LayoutKind.Auto)]
12
- private struct Dummy;
+ private readonly struct Dummy;
13
}
0 commit comments