5 references to _propertyNames
System.Text.Json.SourceGeneration (5)
JsonSourceGenerator.Emitter.cs (5)
95
Debug.Assert(
_propertyNames
.Count == 0);
125
_propertyNames
.Clear();
1476
Debug.Assert(!
_propertyNames
.TryGetValue(effectiveJsonPropertyName, out string? existingName) || existingName == propertyNameFieldName);
1477
_propertyNames
.TryAdd(effectiveJsonPropertyName, propertyNameFieldName);
2159
foreach (KeyValuePair<string, string> name_varName_pair in
_propertyNames
)