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