1 write to _frozen
Microsoft.CodeAnalysis (1)
Emit\NoPia\EmbeddedTypesManager.cs (1)
99if (ImmutableInterlocked.InterlockedInitialize(ref _frozen, builder.ToImmutableAndFree()))
13 references to _frozen
Microsoft.CodeAnalysis (13)
Emit\NoPia\EmbeddedTypesManager.cs (13)
87return !_frozen.IsDefault; 93if (_frozen.IsDefault) 101if (_frozen.Length > 0) 103Cci.INamespaceTypeDefinition prev = _frozen[0]; 104bool reportedDuplicate = HasNameConflict(namesOfTopLevelTypes, _frozen[0], diagnostics); 106for (int i = 1; i < _frozen.Length; i++) 108Cci.INamespaceTypeDefinition current = _frozen[i]; 115Debug.Assert(_frozen[i - 1] == prev); 118ReportNameCollisionBetweenEmbeddedTypes(_frozen[i - 1], _frozen[i], diagnostics); 125reportedDuplicate = HasNameConflict(namesOfTopLevelTypes, _frozen[i], diagnostics); 129OnGetTypesCompleted(_frozen, diagnostics); 134return StaticCast<Cci.INamespaceTypeDefinition>.From(_frozen);