예제 #1
0
 public static bool AssignsToParameter(this MethodDeclarationSyntax methodDeclaration, ParameterSyntax parameter) =>
 methodDeclaration != null &&
 methodDeclaration.AssignsToIdentifier(SharedSyntaxFactory.IdentifierName(parameter));
 public static bool AssignsToParameter(this MethodDeclarationSyntax methodDeclaration, ParameterSyntax parameter) =>
 methodDeclaration.AssignsToIdentifier(IdentifierName(parameter));