6 writes to Type
Microsoft.Analyzers.Local (6)
ApiLifecycle\Json\JsonValue.cs (6)
42
Type
= JsonValueType.Boolean;
59
Type
= JsonValueType.Number;
76
Type
= JsonValueType.String;
93
Type
= JsonValueType.Object;
110
Type
= JsonValueType.Array;
129
Type
= type;
15 references to Type
Microsoft.Analyzers.Local (15)
ApiLifecycle\Json\JsonValue.cs (15)
144
public bool IsNull =>
Type
== JsonValueType.Null;
150
public bool IsBoolean =>
Type
== JsonValueType.Boolean;
164
public bool IsNumber =>
Type
== JsonValueType.Number;
170
public bool IsString =>
Type
== JsonValueType.String;
176
public bool IsJsonObject =>
Type
== JsonValueType.Object;
182
public bool IsJsonArray =>
Type
== JsonValueType.Array;
194
public bool AsBoolean =>
Type
switch
231
public double AsNumber =>
Type
switch
245
public string? AsString =>
Type
switch
281
public object? AsObject =>
Type
switch
540
return (a.
Type
== b.
Type
)
587
?
Type
.GetHashCode()
588
:
Type
.GetHashCode()
616
public JsonValueType Type => _jsonValue.
Type
;