Skip to content

Commit

Permalink
Removed ArgumentBase class.
Browse files Browse the repository at this point in the history
  • Loading branch information
msJohnHamby committed May 20, 2016
1 parent 4e5617e commit 4a94d83
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/Compilers/CSharp/Portable/BoundTree/Expression.cs
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,9 @@ private static int ArgumentIndexMatchingParameter(ImmutableArray<BoundExpression
return -1;
}

private abstract class ArgumentBase : IArgument
private class Argument : IArgument
{
public ArgumentBase(IParameterSymbol parameter, IOperation value)
public Argument(IParameterSymbol parameter, IOperation value)
{
Debug.Assert(value != null);

Expand Down Expand Up @@ -275,14 +275,6 @@ TResult IOperation.Accept<TArgument, TResult>(OperationVisitor<TArgument, TResul
return visitor.VisitArgument(this, argument);
}
}

private sealed class Argument : ArgumentBase
{
public Argument(IParameterSymbol parameter, IOperation value)
: base(parameter, value)
{
}
}
}

internal partial class BoundLocal : ILocalReferenceExpression
Expand Down

0 comments on commit 4a94d83

Please sign in to comment.