Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Lookup()

static char System.Net.WebUtility.HtmlEntities.Lookup ( ReadOnlySpan< char > entity)
inlinestatic

Definition at line 352 of file WebUtility.cs.

353 {
354 if (entity.Length <= 8)
355 {
356 s_lookupTable.TryGetValue(ToUInt64Key(entity), out var value);
357 return value;
358 }
359 return '\0';
360 }
static readonly Dictionary< ulong, char > s_lookupTable
Definition WebUtility.cs:81
static ulong ToUInt64Key(ReadOnlySpan< char > entity)

References System.Net.WebUtility.HtmlEntities.s_lookupTable, System.Net.WebUtility.HtmlEntities.ToUInt64Key(), and System.value.

Referenced by System.Net.WebUtility.HtmlDecode().