24 references to CloseBracket
System.Text.Json (24)
System\Text\Json\Reader\Utf8JsonReader.cs (11)
790
ThrowHelper.ThrowJsonReaderException(ref this, ExceptionResource.MismatchedObjectArray, JsonConstants.
CloseBracket
);
885
if (first == JsonConstants.
CloseBracket
)
1811
if (first == JsonConstants.
CloseBracket
)
1827
else if (marker == JsonConstants.
CloseBracket
)
1963
if (first == JsonConstants.
CloseBracket
)
1987
else if (first == JsonConstants.
CloseBracket
)
2026
Debug.Assert(first != JsonConstants.
CloseBracket
);
2063
Debug.Assert(first != JsonConstants.
CloseBracket
);
2194
if (marker == JsonConstants.
CloseBracket
)
2280
if (marker == JsonConstants.
CloseBracket
)
2297
else if (marker == JsonConstants.
CloseBracket
)
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (10)
196
if (first == JsonConstants.
CloseBracket
)
1652
if (first == JsonConstants.
CloseBracket
)
1668
else if (marker == JsonConstants.
CloseBracket
)
1813
if (first == JsonConstants.
CloseBracket
)
1837
else if (first == JsonConstants.
CloseBracket
)
1878
Debug.Assert(first != JsonConstants.
CloseBracket
);
1915
Debug.Assert(first != JsonConstants.
CloseBracket
);
2050
if (marker == JsonConstants.
CloseBracket
)
2145
if (marker == JsonConstants.
CloseBracket
)
2161
else if (marker == JsonConstants.
CloseBracket
)
System\Text\Json\ThrowHelper.cs (1)
600
Debug.Assert(token == JsonConstants.
CloseBracket
|| token == JsonConstants.CloseBrace);
System\Text\Json\Writer\Utf8JsonWriter.cs (2)
1018
WriteEnd(JsonConstants.
CloseBracket
);
1092
if (token == JsonConstants.
CloseBracket
)