7 references to Initialize
Microsoft.AspNetCore.Razor.Utilities.Shared (2)
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));