public static IEnumerable <Diff> Diffs(TypeDefinition o, TypeDefinition n) { var classStructInterface = new ClassStructInterface(o, n); return(Enumerable.Empty <Diff>() .Concat(classStructInterface.ImplementedInterfaces()) .Concat(classStructInterface.GenericConstraints()) .Concat(classStructInterface.Methods(TypeType.Interface)) .Concat(classStructInterface.Properties(TypeType.Interface))); }
public static IEnumerable <Diff> Diffs(TypeDefinition o, TypeDefinition n) { var classStructInterface = new ClassStructInterface(o, n); // TODO: Check (instance) constructors return(Enumerable.Empty <Diff>() .Concat(classStructInterface.ImplementedInterfaces()) .Concat(classStructInterface.GenericConstraints()) .Concat(classStructInterface.Ctors(TypeType.Struct)) .Concat(classStructInterface.Methods(TypeType.Struct)) .Concat(classStructInterface.Properties(TypeType.Struct)) .Concat(classStructInterface.Obsoleteness())); }