30 references to Success
System.Text.Json (30)
System\Text\Json\Reader\Utf8JsonReader.cs (15)
1704
if (result == ConsumeTokenResult.
Success
)
1731
return ConsumeComment() ? ConsumeTokenResult.
Success
: ConsumeTokenResult.NotEnoughDataRollBackState;
1749
return ReadFirstToken(marker) ? ConsumeTokenResult.
Success
: ConsumeTokenResult.NotEnoughDataRollBackState;
1789
return ConsumeComment() ? ConsumeTokenResult.
Success
: ConsumeTokenResult.NotEnoughDataRollBackState;
1801
return ConsumeTokenResult.
Success
;
1807
return ConsumePropertyName() ? ConsumeTokenResult.
Success
: ConsumeTokenResult.NotEnoughDataRollBackState;
1816
return ConsumeTokenResult.
Success
;
1820
return ConsumeValue(first) ? ConsumeTokenResult.
Success
: ConsumeTokenResult.NotEnoughDataRollBackState;
1835
return ConsumeTokenResult.
Success
;
1876
return ReadFirstToken(first) ? ConsumeTokenResult.
Success
: ConsumeTokenResult.NotEnoughDataRollBackState;
2077
return ConsumeTokenResult.
Success
;
2219
return ReadFirstToken(marker) ? ConsumeTokenResult.
Success
: ConsumeTokenResult.NotEnoughDataRollBackState;
2276
return ConsumePropertyName() ? ConsumeTokenResult.
Success
: ConsumeTokenResult.NotEnoughDataRollBackState;
2290
return ConsumeValue(marker) ? ConsumeTokenResult.
Success
: ConsumeTokenResult.NotEnoughDataRollBackState;
2307
return ConsumeTokenResult.
Success
;
System\Text\Json\Reader\Utf8JsonReader.MultiSegment.cs (15)
1534
if (result == ConsumeTokenResult.
Success
)
1563
return SkipOrConsumeCommentMultiSegmentWithRollback() ? ConsumeTokenResult.
Success
: ConsumeTokenResult.NotEnoughDataRollBackState;
1581
return ReadFirstTokenMultiSegment(marker) ? ConsumeTokenResult.
Success
: ConsumeTokenResult.NotEnoughDataRollBackState;
1630
return SkipOrConsumeCommentMultiSegmentWithRollback() ? ConsumeTokenResult.
Success
: ConsumeTokenResult.NotEnoughDataRollBackState;
1642
return ConsumeTokenResult.
Success
;
1648
return ConsumePropertyNameMultiSegment() ? ConsumeTokenResult.
Success
: ConsumeTokenResult.NotEnoughDataRollBackState;
1657
return ConsumeTokenResult.
Success
;
1661
return ConsumeValueMultiSegment(first) ? ConsumeTokenResult.
Success
: ConsumeTokenResult.NotEnoughDataRollBackState;
1676
return ConsumeTokenResult.
Success
;
1717
return ReadFirstTokenMultiSegment(first) ? ConsumeTokenResult.
Success
: ConsumeTokenResult.NotEnoughDataRollBackState;
1929
return ConsumeTokenResult.
Success
;
2075
return ReadFirstTokenMultiSegment(marker) ? ConsumeTokenResult.
Success
: ConsumeTokenResult.NotEnoughDataRollBackState;
2141
return ConsumePropertyNameMultiSegment() ? ConsumeTokenResult.
Success
: ConsumeTokenResult.NotEnoughDataRollBackState;
2154
return ConsumeValueMultiSegment(marker) ? ConsumeTokenResult.
Success
: ConsumeTokenResult.NotEnoughDataRollBackState;
2171
return ConsumeTokenResult.
Success
;