public ParameterUsagesRewriter(IParameterSymbol parameter, SyntaxNode replaceWith, SemanticModel semanticModel) { parameter.ThrowOnNull(nameof(parameter)); replaceWith.ThrowOnNull(nameof(replaceWith)); semanticModel.ThrowOnNull(nameof(semanticModel)); _parameter = parameter; _replaceWith = replaceWith; _semanticModel = semanticModel; }