1
2
3
4
5
6 namespace System.Runtime
7 {
8 public class StaticInitCriticalSection
9 {
10 public explicit nothrow StaticInitCriticalSection(void* staticClassId_) : staticClassId(staticClassId_)
11 {
12 RtBeginStaticInitCriticalSection(staticClassId);
13 }
14 public ~StaticInitCriticalSection()
15 {
16 RtEndStaticInitCriticalSection(staticClassId);
17 }
18 private void* staticClassId;
19 }
20 }