5 references to GetOrStore
Microsoft.CodeAnalysis (5)
InternalUtilities\InterlockedOperations.cs (5)
34
=> Volatile.Read(ref target!) ??
GetOrStore
(ref target, valueFactory());
49
return Volatile.Read(ref target!) ??
GetOrStore
(ref target, valueFactory(arg));
87
var box = Volatile.Read(ref target!) ??
GetOrStore
(ref target, new StrongBox<T?>(valueFactory()));
105
var box = Volatile.Read(ref target!) ??
GetOrStore
(ref target, new StrongBox<T?>(valueFactory(arg)));
122
return
GetOrStore
(ref target, value);