18 references to EnsureInitialized
Microsoft.AspNetCore.Authorization.Policy (1)
src\Http\Routing\src\DataSourceDependentCache.cs (1)
49return LazyInitializer.EnsureInitialized<T>(ref _value, ref _initialized, ref _lock, _initializer);
Microsoft.AspNetCore.Mvc.Core (1)
src\Http\Routing\src\DataSourceDependentCache.cs (1)
49return LazyInitializer.EnsureInitialized<T>(ref _value, ref _initialized, ref _lock, _initializer);
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (2)
RazorReferenceManager.cs (1)
34return LazyInitializer.EnsureInitialized(
RuntimeViewCompilerProvider.cs (1)
42return LazyInitializer.EnsureInitialized(
Microsoft.AspNetCore.Routing (2)
DataSourceDependentCache.cs (1)
49return LazyInitializer.EnsureInitialized<T>(ref _value, ref _initialized, ref _lock, _initializer);
Matching\ILEmitTrieJumpTable.cs (1)
65LazyInitializer.EnsureInitialized(ref _task, ref _initializing, ref _lock, InitializeILDelegateAsync);
Microsoft.AspNetCore.Server.HttpSys (1)
NativeInterop\DisconnectListener.cs (1)
143return LazyInitializer.EnsureInitialized(ref _cancellationToken, ref _initialized, ref syncObject, () => _parent.CreateDisconnectToken(connectionId));
Microsoft.CodeAnalysis (2)
InternalUtilities\RoslynLazyInitializer.cs (2)
25/// <inheritdoc cref="LazyInitializer.EnsureInitialized{T}(ref T, ref bool, ref object, Func{T})"/> 27=> LazyInitializer.EnsureInitialized<T>(ref target!, ref initialized, ref syncLock, valueFactory);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (2)
src\Compilers\Core\Portable\InternalUtilities\RoslynLazyInitializer.cs (2)
25/// <inheritdoc cref="LazyInitializer.EnsureInitialized{T}(ref T, ref bool, ref object, Func{T})"/> 27=> LazyInitializer.EnsureInitialized<T>(ref target!, ref initialized, ref syncLock, valueFactory);
Microsoft.Extensions.FileProviders.Physical (2)
PhysicalFileProvider.cs (1)
145return LazyInitializer.EnsureInitialized(
PhysicalFilesWatcher.cs (1)
153LazyInitializer.EnsureInitialized(ref _timer, ref _timerInitialized, ref _timerLock, _timerFactory);
Microsoft.Extensions.Http (1)
DefaultTypedHttpClientFactory.cs (1)
54public ObjectFactory Activator => LazyInitializer.EnsureInitialized(
System.Net.Requests (1)
System\Net\WebRequest.cs (1)
552get => LazyInitializer.EnsureInitialized<IWebProxy>(ref s_DefaultWebProxy, ref s_DefaultWebProxyInitialized, ref s_internalSyncObject, GetSystemWebProxy);
System.Transactions.Local (3)
System\Transactions\TransactionManager.cs (3)
304LazyInitializer.EnsureInitialized(ref s_defaultTimeoutTicks, ref s_defaultTimeoutValidated, ref s_classSyncObject, () => ValidateTimeout(DefaultSettingsSection.Timeout).Ticks); 359LazyInitializer.EnsureInitialized(ref s_maximumTimeout, ref s_cachedMaxTimeout, ref s_classSyncObject, () => MachineSettingsSection.MaxTimeout); 380LazyInitializer.EnsureInitialized(ref s_defaultTimeoutTicks, ref s_defaultTimeoutValidated, ref s_classSyncObject, () => DefaultSettingsSection.Timeout.Ticks);