2 writes to _knownIdentifiers
System.Data.Entity.Design (2)
System\Data\Entity\Design\Common\UniqueIdentifierService.cs (2)
27
_knownIdentifiers
= new Dictionary<string, bool>(caseSensitive ? StringComparer.Ordinal : StringComparer.OrdinalIgnoreCase);
35
_knownIdentifiers
= new Dictionary<string, bool>(caseSensitive ? StringComparer.Ordinal : StringComparer.OrdinalIgnoreCase);
5 references to _knownIdentifiers
System.Data.Entity.Design (5)
System\Data\Entity\Design\Common\UniqueIdentifierService.cs (5)
52
Debug.Assert(!
_knownIdentifiers
.ContainsKey(identifier), "don't register identifiers that already exist");
53
_knownIdentifiers
.Add(identifier, true);
72
while (
_knownIdentifiers
.ContainsKey(adjustedIdentifier))
79
Debug.Assert(!
_knownIdentifiers
.ContainsKey(adjustedIdentifier), "we just made it unique");
80
_knownIdentifiers
.Add(adjustedIdentifier, true);