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