Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fail to decompile auto-property #2100

Closed
wwh1004 opened this issue Aug 11, 2020 · 0 comments
Closed

fail to decompile auto-property #2100

wwh1004 opened this issue Aug 11, 2020 · 0 comments
Labels
Bug Decompiler The decompiler engine itself

Comments

@wwh1004
Copy link
Contributor

wwh1004 commented Aug 11, 2020

source:

class A {
	public string value { get; set; }
	public string not_value { get; set; }
}

ilspy:

private class A
{
	public string value
	{
		[CompilerGenerated]
		get
		{
			return <value>k__BackingField;
		}
		[CompilerGenerated]
		set
		{
			this.<value>k__BackingField = value;
		}
	}

	public string not_value
	{
		get;
		set;
	}
}

ilspy version: 6.1.0.5969

@wwh1004 wwh1004 added Bug Decompiler The decompiler engine itself labels Aug 11, 2020
siegfriedpammer added a commit that referenced this issue Aug 17, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 16, 2020
ElektroKill pushed a commit to dnSpyEx/ILSpy that referenced this issue Aug 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Decompiler The decompiler engine itself
Projects
None yet
Development

No branches or pull requests

1 participant