5 instantiations of CandidateMember
System.Workflow.Activities (5)
Rules\RuleValidation.cs (5)
2957candidates.Add(new CandidateMember(candidateMember));
3027candidateMethod = new CandidateMember(candidateMember, parameters, signature, CandidateMember.Form.Expanded);
3038candidateMethod = new CandidateMember(candidateMember, parameters, signature, CandidateMember.Form.Normal);
3062candidateMethod = new CandidateMember(candidateMember, parameters, signature, CandidateMember.Form.Expanded);
3070candidates.Add(new CandidateMember(candidateMember, parameters, signature, CandidateMember.Form.Normal));
31 references to CandidateMember
System.Workflow.Activities (31)
Rules\RuleValidation.cs (31)
2714internal int CompareMember(Type targetType, CandidateMember other, List<Argument> arguments, RuleValidation validator)
2944private static void EvaluateCandidate(List<CandidateMember> candidates, MemberInfo candidateMember, ParameterInfo[] parameters, List<Argument> arguments, out ValidationError error, BuildArgCountMismatchError buildArgCountMismatchError)
3021CandidateMember candidateMethod = null;
3027candidateMethod = new CandidateMember(candidateMember, parameters, signature, CandidateMember.Form.Expanded);
3038candidateMethod = new CandidateMember(candidateMember, parameters, signature, CandidateMember.Form.Normal);
3062candidateMethod = new CandidateMember(candidateMember, parameters, signature, CandidateMember.Form.Expanded);
3070candidates.Add(new CandidateMember(candidateMember, parameters, signature, CandidateMember.Form.Normal));
3075private CandidateMember FindBestCandidate(Type targetType, List<CandidateMember> candidates, List<Argument> arguments)
3081List<CandidateMember> bestCandidates = new List<CandidateMember>(1);
3089CandidateMember newCandidate = candidates[i];
3095CandidateMember bestCandidate = bestCandidates[0];
3129List<CandidateMember> candidates = new List<CandidateMember>(methods.Count);
3145CandidateMember result = FindBestCandidate(targetType, candidates, arguments);
3169List<CandidateMember> candidateConstructors = GetCandidateConstructors(constructors, arguments, out error);
3176CandidateMember bestCandidate = FindBestCandidate(targetType, candidateConstructors, arguments);
3210List<CandidateMember> candidateMethods = GetCandidateMethods(methodName, methods, arguments, out error);
3217CandidateMember bestCandidate = FindBestCandidate(targetType, candidateMethods, arguments);
3448static List<CandidateMember> GetCandidateMethods(string methodName, List<MethodInfo> methods, List<Argument> arguments, out ValidationError error)
3450List<CandidateMember> candidates = new List<CandidateMember>();
3493static List<CandidateMember> GetCandidateConstructors(List<ConstructorInfo> constructors, List<Argument> arguments, out ValidationError error)
3495List<CandidateMember> candidates = new List<CandidateMember>();
3566List<CandidateMember> candidateIndexers = GetCandidateIndexers(indexerProperties, arguments, out error);
3573CandidateMember bestCandidate = FindBestCandidate(targetType, candidateIndexers, arguments);
3638private static List<CandidateMember> GetCandidateIndexers(List<PropertyInfo> indexerProperties, List<Argument> arguments, out ValidationError error)
3640List<CandidateMember> candidates = new List<CandidateMember>();