Coder Social home page Coder Social logo

verify.icsharpcode.decompiler's People

Contributors

actions-user avatar dependabot-preview[bot] avatar dependabot[bot] avatar simoncropp avatar tom-englert avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

verify.icsharpcode.decompiler's Issues

Simply referencing Verify.ICSharpCode.Decompiler crashes all verify tests

I just tried to migrate verify tests using this extension, but simply adding the package reference without using anything already crashes all tests:

Fody/NullGuard@master...Verify.ICSharpCode.Decompiler

Now all verify tests fail with
System.MissingMethodException : Method not found: 'Void InnerVerifier..ctor(System.String, VerifyTests.VerifySettings, GetFileConvention)'.

=> https://ci.appveyor.com/project/tom-englert/nullguard

PropertyToDisassemble does not work as expeced-

PropertyToDisassemble only disassembles the property definition, which is some what useless:

.property instance valuetype [mscorlib]System.Nullable`1<int32> Property3()
{
	.get instance valuetype [mscorlib]System.Nullable`1<int32> SmokeTest.Testee::get_Property3()
	.set instance void SmokeTest.Testee::set_Property3(valuetype [mscorlib]System.Nullable`1<int32>)
}

It should rather disassemble the getter and the setter method.

Normalize IL to ensure consistent outcome.

Is the feature request related to a problem

Tests occasionally break just because the layout has changed (class/member ordering), while the IL itself is still the same.
see e.g. https://ci.appveyor.com/project/tom-englert/nullguard

see also icsharpcode/ILSpy#2834

Describe the solution

Add option to sort IL output:
icsharpcode/ILSpy#2835

either

  • wait until new version of the de-compiler is available
  • temporarily copy the source code changes of icsharpcode/ILSpy#2835, so we can have an early release

Describe alternatives considered

Additional context

Should sorted output be the default (breaking change!) with the possibility to opt out, or better opt in (but you need to do it every time)

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.