1 write to _frozen
Microsoft.CodeAnalysis (1)
Emit\NoPia\EmbeddedTypesManager.cs (1)
98if (ImmutableInterlocked.InterlockedInitialize(ref _frozen, builder.ToImmutableAndFree()))
13 references to _frozen
Microsoft.CodeAnalysis (13)
Emit\NoPia\EmbeddedTypesManager.cs (13)
86return !_frozen.IsDefault; 92if (_frozen.IsDefault) 100if (_frozen.Length > 0) 102Cci.INamespaceTypeDefinition prev = _frozen[0]; 103bool reportedDuplicate = HasNameConflict(namesOfTopLevelTypes, _frozen[0], diagnostics); 105for (int i = 1; i < _frozen.Length; i++) 107Cci.INamespaceTypeDefinition current = _frozen[i]; 114Debug.Assert(_frozen[i - 1] == prev); 117ReportNameCollisionBetweenEmbeddedTypes(_frozen[i - 1], _frozen[i], diagnostics); 124reportedDuplicate = HasNameConflict(namesOfTopLevelTypes, _frozen[i], diagnostics); 128OnGetTypesCompleted(_frozen, diagnostics); 133return StaticCast<Cci.INamespaceTypeDefinition>.From(_frozen);