6 writes to _value
Microsoft.Analyzers.Local (6)
ApiLifecycle\Json\JsonValue.cs (6)
44_value = value.Value ? 1 : 0; 61_value = value.Value; 77_value = default; 94_value = default; 111_value = default; 130_value = value;
16 references to _value
Microsoft.Analyzers.Local (16)
ApiLifecycle\Json\JsonValue.cs (16)
157public bool IsInteger => IsNumber && unchecked((int)_value) == _value; 196JsonValueType.Boolean => _value == 1, 197JsonValueType.Number => _value != 0, 218if (_value <= int.MinValue) 223return (int)_value; 233JsonValueType.Boolean => _value == 1 ? 1 : 0, 234JsonValueType.Number => _value, 247JsonValueType.Boolean => (_value == 1) 250JsonValueType.Number => _value.ToString(CultureInfo.InvariantCulture), 283JsonValueType.Boolean or JsonValueType.Number => _value, 444return jsonValue.IsBoolean && jsonValue._value == 1; 466return jsonValue.IsNumber ? jsonValue._value : double.NaN; 541&& (a._value == b._value) 589^ _value.GetHashCode()