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