private static TypeAndMethod QueryRelatedTM(IEnumerable <TypeAndMethod> queryTM, TypeAndMethod othertm)
 {
     return((from candidate in queryTM
             where
             othertm.Type.AssemblyQualifiedName == candidate.Type.AssemblyQualifiedName
             &&
             othertm.Method.ToString() == candidate.Method.ToString()
             select candidate).FirstOrDefault());
 }
Ejemplo n.º 2
0
 private static TypeAndMethod QueryRelatedTM(IEnumerable<TypeAndMethod> queryTM, TypeAndMethod othertm)
 {
     return (from candidate in queryTM
             where
                 othertm.Type.AssemblyQualifiedName == candidate.Type.AssemblyQualifiedName
                 &&
                 othertm.Method.ToString() == candidate.Method.ToString()
             select candidate).FirstOrDefault();
 }