4 references to InterlockedStore
Microsoft.CodeAnalysis.Workspaces (4)
LazyInitialization.cs (4)
32
=> Volatile.Read(ref target!) ??
InterlockedStore
(ref target, valueFactory());
47
return Volatile.Read(ref target!) ??
InterlockedStore
(ref target, valueFactory(state));
85
var box = Volatile.Read(ref target!) ??
InterlockedStore
(ref target, new StrongBox<T?>(valueFactory()));
103
var box = Volatile.Read(ref target!) ??
InterlockedStore
(ref target, new StrongBox<T?>(valueFactory(state)));