Giter Club home page Giter Club logo

dotnet-compatibility's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dotnet-compatibility's Issues

Consider relaxing rules for field attribute checking

Currently any change in attributes for a publicly-accessible field are considered a breaking change. This is especially useful for ensuring a static field doesn't become an instance field (and vice versa), but may be overly strict.

Support checking dependency versions

Versions of referenced assemblies should only change in a manner compatible with the breaking changes policy of the library being checked. The behavior with respect to assembly binding redirection should be configurable.

Support preliminary types and members

Currently the implementation does not treat <preliminary/> members in any special way. It would be helpful if the XML documentation file associated with the library could be used to identify items in the previous release which are marked preliminary, and ignore those items during the analysis.

Support changing the base type of a class to a child of the original

The following transformation shouldn't be considered a breaking change, but the current implementation is "too strict" and treats all changes to the base type as a breaking change.

Before:

public class Foo
{
}

public class Bar
{
}

After:

public class Foo
{
}

public class Bar : Foo
{
}

Check for new abstract methods

Adding new abstract methods to a class is a breaking change. Note that if the constructor is not publicly accessible in the reference version of the library, this is not a breaking change since external code would not be able to extend the type.

Consider relaxing rules for method attribute checking

Currently any change in attributes for a publicly-accessible field are considered a breaking change. This is especially useful for catching changes to the static and virtual modifiers, but may be overly strict.

Support [TypeForwardedTo]

Types may be removed if the assembly is updated to include a [TypeForwardedTo] attribute for the same type in a different assembly.

Support multi-target analysis

The current implementation only looks at two different versions of the same assembly. It would be nice to look at multiple target builds of the same version of the assembly to ensure certain versions are drop-in (binary compatible) replacements. For example, see tunnelvisionlabs/antlr4cs#87.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.