Skip to content
This repository has been archived by the owner on Oct 4, 2021. It is now read-only.

Commit

Permalink
[NRefactory] Added proper way of representing extension method invoca…
Browse files Browse the repository at this point in the history
…tions.
  • Loading branch information
mkrueger committed Feb 6, 2013
1 parent af610ac commit 17248b2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Expand Up @@ -700,10 +700,6 @@ string GetMethodMarkup (IMethod method)

result.Append ('(');
IList<IParameter> parameters = method.Parameters;
if (method.IsExtensionMethod) {
if (method is SpecializedMethod && ((SpecializedMethod)method).IsExtendedExtensionMethod)
parameters = new List<IParameter> (method.Parameters.Skip (1));
}
AppendParameterList (result, parameters, formattingOptions.SpaceBeforeMethodDeclarationParameterComma, formattingOptions.SpaceAfterMethodDeclarationParameterComma);
result.Append (')');
return result.ToString ();
Expand Down

0 comments on commit 17248b2

Please sign in to comment.