C# (CSharp) Microsoft.Scripting.Actions.Calls MethodCandidate - 39 examples found. These are the top rated real world C# (CSharp) examples of Microsoft.Scripting.Actions.Calls.MethodCandidate extracted from open source projects. You can rate examples to help us improve the quality of examples.
MethodCandidate represents the different possible ways of calling a method or a set of method overloads. A single method can result in multiple MethodCandidates. Some reasons include: - Every optional parameter or parameter with a default value will result in a candidate - The presence of ref and out parameters will add a candidate for languages which want to return the updated values as return values. - ArgumentKind.List and ArgumentKind.Dictionary can result in a new candidate per invocation since the list might be different every time. Each MethodCandidate represents the parameter type for the candidate using ParameterWrapper.