Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

Commit

Permalink
NetFx
Browse files Browse the repository at this point in the history
  • Loading branch information
steveharter committed Sep 10, 2019
1 parent 825926c commit abfd511
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,7 @@ public JsonPropertyInfo GetProperty(ReadOnlySpan<byte> propertyName, ref ReadSta
// No cached item was found. Try the main list which has all of the properties.

string stringPropertyName = JsonHelpers.Utf8GetString(propertyName);

JsonPropertyInfo info = PropertyCache.GetValueOrDefault(stringPropertyName);
PropertyCache.TryGetValue(stringPropertyName, out JsonPropertyInfo info);

// Three code paths to get here:
// 1) info == null. Property not found.
Expand Down

0 comments on commit abfd511

Please sign in to comment.