12 references to IsUnescapedChar
Microsoft.AspNetCore.App.Analyzers (12)
Infrastructure\RoutePattern\RoutePatternLexer.cs (12)
108else if (ch.Value == '{' && IsUnescapedChar(ref Position, '{'))
113else if (ch.Value == '}' && IsUnescapedChar(ref Position, '}'))
122else if (ch.Value == '[' && IsUnescapedChar(ref Position, '[') && RoutePatternOptions.SupportTokenReplacement)
127else if (IsUnescapedChar(ref Position, ']') && RoutePatternOptions.SupportTokenReplacement)
197else if (ch.Value == '}' && IsUnescapedChar(ref Position, '}'))
201else if (ch.Value == '{' && IsUnescapedChar(ref Position, '{'))
266else if (ch.Value == '{' && IsUnescapedChar(ref Position, '{'))
270else if (IsUnescapedChar(ref Position, '}'))
355if (IsUnescapedChar(ref Position, '}'))
360else if (ch.Value == '{' && IsUnescapedChar(ref Position, '{'))
404if (ch.Value == '[' && IsUnescapedChar(ref Position, '['))
486if (IsUnescapedChar(ref current, '}'))