9 references to InitState
System.Configuration.ConfigurationManager (9)
System\Diagnostics\DiagnosticsConfiguration.cs (9)
12private static volatile InitState s_initState = InitState.NotInitialized; 124internal static bool IsInitializing() => s_initState == InitState.Initializing; 125internal static bool IsInitialized() => s_initState == InitState.Initialized; 127internal static bool CanInitialize() => (s_initState != InitState.Initializing) && 139if (s_initState != InitState.NotInitialized || 145s_initState = InitState.Initializing; // used for preventing recursion 152s_initState = InitState.Initialized; 202s_initState = InitState.NotInitialized;