/// <summary> /// Are type a and b the same? /// </summary> public static bool AreSameIncludingScope(this TypeReference a, TypeReference b, Func <GenericParameter, TypeReference> genericParamResolver) { return(a.AreSame(b, genericParamResolver) && a.Scope.AreSame(b.Scope)); }