23 references to TryReadPropertyName
rzc (23)
Json\JsonDataReader.cs (20)
100=> TryReadPropertyName(propertyName) ? ReadBoolean() : defaultValue; 103=> !TryReadPropertyName(propertyName) || ReadBoolean(); 106=> TryReadPropertyName(propertyName) && ReadBoolean(); 110if (TryReadPropertyName(propertyName)) 131=> TryReadPropertyName(propertyName) ? ReadByte() : defaultValue; 134=> TryReadPropertyName(propertyName) ? ReadByte() : (byte)0; 138if (TryReadPropertyName(propertyName)) 166=> TryReadPropertyName(propertyName) ? ReadInt32() : defaultValue; 169=> TryReadPropertyName(propertyName) ? ReadInt32() : 0; 173if (TryReadPropertyName(propertyName)) 201=> TryReadPropertyName(propertyName) ? ReadInt64() : defaultValue; 204=> TryReadPropertyName(propertyName) ? ReadInt64() : 0; 208if (TryReadPropertyName(propertyName)) 248=> TryReadPropertyName(propertyName) ? ReadString() : defaultValue; 251=> TryReadPropertyName(propertyName) ? ReadString() : null; 255if (TryReadPropertyName(propertyName)) 349=> TryReadPropertyName(propertyName) ? ReadObject(readProperties) : defaultValue; 372=> TryReadPropertyName(propertyName) ? ReadNonNullObject(readProperties) : defaultValue; 418=> TryReadPropertyName(propertyName) ? ReadArray(readElement) ?? [] : []; 471=> TryReadPropertyName(propertyName) ? ReadImmutableArray(readElement) : [];
Json\ObjectReaders_TagHelpers.cs (3)
143if (!reader.TryReadPropertyName(propertyName)) 179return reader.TryReadPropertyName(propertyName) 192var args = reader.TryReadPropertyName(nameof(DocumentationDescriptor.Args))