Esempio n. 1
0
 /// <summary>
 /// Is this generic parameter the same as the given other?
 /// </summary>
 public bool IsSame(XGenericInstanceMethod other)
 {
     if (!ElementMethod.IsSame(other.ElementMethod) || (GenericArguments.Count != other.GenericArguments.Count))
     {
         return(false);
     }
     return(!GenericArguments.Where((t, i) => !t.IsSame(other.GenericArguments[i])).Any());
 }
Esempio n. 2
0
 /// <summary>
 /// Is this generic parameter the same as the given other?
 /// </summary>
 public bool IsSame(XGenericInstanceMethod other)
 {
     if (!ElementMethod.IsSame(other.ElementMethod) || (GenericArguments.Count != other.GenericArguments.Count))
         return false;
     return !GenericArguments.Where((t, i) => !t.IsSame(other.GenericArguments[i])).Any();
 }