public ApiTraverser(IMetadataReaderHost host, IAssembly assembly) { if (host == null) { throw new ArgumentNullException("ContractAwareHost arg should not be null."); } _host = host; _assembly = new AssemblyApi(assembly); }
public static IEnumerable <string> CompareApi(AssemblyApi oldVersion, AssemblyApi newVersion) { List <string> incompatibility = new List <string>(); if (newVersion.IsCompatible(oldVersion) >= 0) { return(null); } else { return(incompatibility); } }