2 writes to lazyNamespaces
Microsoft.CodeAnalysis.CSharp (2)
Symbols\Metadata\PE\PEGlobalNamespaceSymbol.cs (1)
85
if (Volatile.Read(ref lazyTypes) == null || Volatile.Read(ref
lazyNamespaces
) == null)
Symbols\Metadata\PE\PENamespaceSymbol.cs (1)
265
Interlocked.CompareExchange(ref this.
lazyNamespaces
, namespaces, null);
7 references to lazyNamespaces
Microsoft.CodeAnalysis.CSharp (7)
Symbols\Metadata\PE\PENamespaceSymbol.cs (6)
81
if (
lazyNamespaces
.Count == 0)
84
var builder = ArrayBuilder<Symbol>.GetInstance(memberTypes.Length +
lazyNamespaces
.Count);
87
foreach (var pair in
lazyNamespaces
)
112
if (
lazyNamespaces
.TryGetValue(name, out var ns))
127
if (
lazyNamespaces
.TryGetValue(name, out ns))
255
if (this.
lazyNamespaces
== null)
Symbols\Metadata\PE\PENestedNamespaceSymbol.cs (1)
132
Debug.Assert(
lazyNamespaces
!= null && lazyTypes != null);