16 references to InterlockedOperations
Microsoft.AspNetCore.Razor.Test.Common (1)
Language\RazorProjectEngineTestBase.cs (1)
21return _projectEngine ?? InterlockedOperations.Initialize(ref _projectEngine, CreateProjectEngine());
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)
18InterlockedOperations.Initialize(ref _lazyChildren, this.ComputeEndTagLegacyChildren());
Language\Syntax\BaseMarkupStartTagSyntax.cs (1)
20InterlockedOperations.Initialize(ref _lazyChildren, ComputeStartTagLegacyChildren());
Language\TagHelperDocumentContext.cs (1)
41=> _binder ?? InterlockedOperations.Initialize(ref _binder, new TagHelperBinder(Prefix, TagHelpers));
Microsoft.CodeAnalysis.Razor.Workspaces (2)
ProjectSystem\DocumentContext.cs (2)
43return InterlockedOperations.Initialize(ref _codeDocument, codeDocument); 60return InterlockedOperations.Initialize(ref _sourceText, sourceText);
Microsoft.CodeAnalysis.Remote.Razor (2)
ProjectSystem\RemoteDocumentSnapshot.cs (2)
73return InterlockedOperations.Initialize(ref _codeDocument, document); 96return InterlockedOperations.Initialize(ref _generatedDocument, generatedDocument);