6 writes to _reference
Microsoft.Analyzers.Local (6)
ApiLifecycle\Json\JsonValue.cs (6)
43_reference = null; 60_reference = null; 78_reference = value; 95_reference = value; 112_reference = value; 131_reference = reference;
21 references to _reference
Microsoft.Analyzers.Local (21)
ApiLifecycle\Json\JsonValue.cs (21)
198JsonValueType.String => !string.IsNullOrEmpty((string?)_reference), 235JsonValueType.String => double.TryParse((string?)_reference, NumberStyles.Float, CultureInfo.InvariantCulture, out var number) 251JsonValueType.String => (string?)_reference, 260public JsonObject? AsJsonObject => IsJsonObject ? (JsonObject?)_reference : null; 266public JsonArray? AsJsonArray => IsJsonArray ? (JsonArray?)_reference : null; 273public DateTime? AsDateTime => IsString && DateTime.TryParse((string?)_reference ?? string.Empty, out var value) 284JsonValueType.String or JsonValueType.Object or JsonValueType.Array => _reference, 301return ((JsonObject)_reference!)[key]; 313((JsonObject)_reference!)[key] = value; 335return ((JsonArray)_reference!)[index]; 347((JsonArray)_reference!)[index] = value; 491? jsonValue._reference as string 501return jsonValue.IsJsonObject || jsonValue.IsNull ? jsonValue._reference as JsonObject : null; 510return jsonValue.IsJsonArray || jsonValue.IsNull ? jsonValue._reference as JsonArray : null; 542&& Equals(a._reference, b._reference); 584var r = _reference != null ? EqualityComparer<object>.Default.GetHashCode(_reference) : 1; 607? (JsonObject?)_jsonValue._reference 612? (JsonArray?)_jsonValue._reference 619? _jsonValue._reference