MCPcopy Create free account
hub / github.com/apache/fory / UnescapeAllUpper

Method UnescapeAllUpper

csharp/src/Fory/MetaString.cs:515–533  ·  view source on GitHub ↗
(string input)

Source from the content-addressed store, hash-verified

513 }
514
515 private static string UnescapeAllUpper(string input)
516 {
517 StringBuilder sb = new(input.Length);
518 for (int i = 0; i < input.Length; i++)
519 {
520 char c = input[i];
521 if (c == '|' && i + 1 < input.Length)
522 {
523 i++;
524 sb.Append(char.ToUpperInvariant(input[i]));
525 }
526 else
527 {
528 sb.Append(c);
529 }
530 }
531
532 return sb.ToString();
533 }
534}

Callers

nothing calls this directly

Calls 2

AppendMethod · 0.80
ToStringMethod · 0.45

Tested by

no test coverage detected