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