diff --git a/IntelliSenseExtender/Extensions/SemanticModelExtensions.cs b/IntelliSenseExtender/Extensions/SemanticModelExtensions.cs index de98c36..1e3b135 100644 --- a/IntelliSenseExtender/Extensions/SemanticModelExtensions.cs +++ b/IntelliSenseExtender/Extensions/SemanticModelExtensions.cs @@ -196,6 +196,7 @@ private static IList GetParameters(this SemanticModel semantic methodSymbol = methodInfo.CandidateSymbols .OfType() + .Where(s => s.Parameters.Length >= argumentListSyntax.Arguments.Count) .FirstOrDefault(s => { for (int i = 0; i < presentArguments.Count; i++)