11 references to InterlockedOperations
Microsoft.AspNetCore.Razor.Utilities.Shared (6)
Threading\LazyValue`1.cs (2)
72
/// The implementation uses <see cref="
InterlockedOperations
.Initialize{T}(ref T, ref int, Func{T})"/>
80
=>
InterlockedOperations
.Initialize(ref _value, ref _state, _factory);
Threading\LazyValue`2.cs (2)
95
/// The implementation uses <see cref="
InterlockedOperations
.Initialize{TArg, T}(ref T, ref int, TArg, Func{TArg, T})"/>
103
=>
InterlockedOperations
.Initialize(ref _value, ref _state, arg, _factory);
Utilities\SortComparer`1.cs (2)
49
=> s_default ??
InterlockedOperations
.Initialize(ref s_default, new AscendingComparer(Comparer<T>.Default));
60
=> s_default ??
InterlockedOperations
.Initialize(ref s_default, new DescendingComparer(Comparer<T>.Default));
Microsoft.CodeAnalysis.Razor.Compiler (5)
Language\DefaultImportProjectItem.cs (1)
25
=> _source ??
InterlockedOperations
.Initialize(ref _source, base.GetSource());
Language\InMemoryFileContent.cs (1)
15
=> s_contentBytes ??
InterlockedOperations
.Initialize(ref s_contentBytes, ComputeContentBytes(content));
Language\Syntax\BaseMarkupEndTagSyntax.cs (1)
18
InterlockedOperations
.Initialize(ref _lazyChildren, this.ComputeEndTagLegacyChildren());
Language\Syntax\BaseMarkupStartTagSyntax.cs (1)
20
InterlockedOperations
.Initialize(ref _lazyChildren, ComputeStartTagLegacyChildren());
Language\TagHelperDocumentContext.cs (1)
41
=> _binder ??
InterlockedOperations
.Initialize(ref _binder, new TagHelperBinder(Prefix, TagHelpers));