提交 8a8747fc 编写于 作者: C Cyrus Najmabadi

Added comment.

上级 c4aebf84
......@@ -176,6 +176,12 @@ private static bool IsMethodOrConstructorArgument(SyntaxToken token, ISyntaxFact
=> syntaxFacts.IsLiteralExpression(token.Parent) &&
syntaxFacts.IsArgument(token.Parent.Parent);
/// <summary>
/// Finds public, static methods in <see cref="Regex"/> that have a parameter called
/// 'pattern'. These are helpers (like <see cref="Regex.Replace(string, string, string)"/>
/// where at least one (but not necessarily more) of the parameters should be treated as a
/// pattern.
/// </summary>
private static HashSet<string> GetMethodNamesOfInterest(INamedTypeSymbol regexType, ISyntaxFactsService syntaxFacts)
{
var result = syntaxFacts.IsCaseSensitive
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册