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)
157
public bool IsInteger => IsNumber && unchecked((int)
_value
) ==
_value
;
196
JsonValueType.Boolean =>
_value
== 1,
197
JsonValueType.Number =>
_value
!= 0,
218
if (
_value
<= int.MinValue)
223
return (int)
_value
;
233
JsonValueType.Boolean =>
_value
== 1 ? 1 : 0,
234
JsonValueType.Number =>
_value
,
247
JsonValueType.Boolean => (
_value
== 1)
250
JsonValueType.Number =>
_value
.ToString(CultureInfo.InvariantCulture),
283
JsonValueType.Boolean or JsonValueType.Number =>
_value
,
444
return jsonValue.IsBoolean && jsonValue.
_value
== 1;
466
return jsonValue.IsNumber ? jsonValue.
_value
: double.NaN;
541
&& (a.
_value
== b.
_value
)
589
^
_value
.GetHashCode()