Giter Club home page Giter Club logo

ilspy's People

Contributors

0x53a avatar adrianoc avatar alyman avatar arturek avatar bbi-yggyking avatar christophwille avatar dgrunwald avatar dickvdbrink avatar dsrbecky avatar edharvey avatar eusebiu avatar jbevain avatar kevincathcart avatar krauthaufen avatar linquize avatar lordjz avatar lostindark avatar lumimies avatar neolithos avatar odalet avatar pentp avatar pgourlain avatar rklier avatar sailro avatar siegfriedpammer avatar slaks avatar turbanoff avatar vwoodzell avatar wtfsck avatar zhentar avatar

Stargazers

 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ilspy's Issues

Small issue with an iterator

Wrote a small script recently and noticed ILSpy wouldn't decompile it properly.

Expected output:

public class WaitAndQuit : MonoBehaviour
{
    private void LateUpdate()
    {
        base.StartCoroutine(this.LeaveWaitAndQuit());
    }

    private IEnumerator LeaveWaitAndQuit()
    {
        World.Instance.LeaveWorld(string.Empty);
        AudioController.Play("GeneralQuit");
        yield return new WaitForSeconds(0.75f);
        Application.Quit();
    }
}

Actual output:

public class WaitAndQuit : MonoBehaviour
{
	private void LateUpdate()
	{
		base.StartCoroutine(this.LeaveWaitAndQuit());
	}

	private IEnumerator LeaveWaitAndQuit()
	{
		WaitAndQuit.<LeaveWaitAndQuit>d__0 <LeaveWaitAndQuit>d__ = new WaitAndQuit.<LeaveWaitAndQuit>d__0(0);
		<LeaveWaitAndQuit>d__.<>4__this = this;
		return <LeaveWaitAndQuit>d__;
	}
}

UI theme

Can you include a dark theme? The generic theme is not good on my eyes. I'm used to charcoal backgrounds and light-grey text. I would be very thankful!

Iterator variable names are generated unecessarily

In RimWorld.PawnRelationUtility.GetRelations, generated variable names such as "flag" and "flag2" are used. But in the raw generated iterator code, these variables are named __0 and __1, so the original, useful variable names could be determined and used.

Please PR upstream

I would love to have your features available in a newer version of ILSpy.

Decompile Exception on rimworld a16 class

This ILSpy version returns a decompiler exception (following) for the a16 unstable branch of rimworld on Verse.BackstoryTranslationUtility while the ilspy.net version works fine

ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.IEnumerable<System.Xml.Linq.XElement> Verse.BackstoryTranslationUtility::BackstoryTranslationElements(Verse.LoadedLanguage) ---> System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

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.