3 references to LazyInitialization
Microsoft.CodeAnalysis.CodeStyle (3)
FormattingContext.IndentationData.cs (1)
106return LazyInitialization.EnsureInitialized(
ReferenceCountedDisposable.cs (1)
259LazyInitialization.EnsureInitialized(ref referenceCount._weakInstance, static instance => new WeakReference<T>(instance), instance);
TokenStream.Changes.cs (1)
32var map = LazyInitialization.EnsureInitialized(ref _map, () => new ConcurrentDictionary<int, TriviaData>(concurrencyLevel: 1, capacity: 8));