示例#1
0
 public static bool Match(SignatureList list1, SignatureList list2)
 {
     if (list1.Types.Any(type => list2.Types.Any(type2 => type == type2)))
     {
         return(true);
     }
     return(false);
 }
示例#2
0
 public static bool Match(SignatureList list, SignatureSingle single)
 {
     return(list.Types.Any(x => x == single.Type));
 }