.NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

38 lines
518 B

using System;
using System.Runtime.CompilerServices;
namespace ICSharpCode.Decompiler.Tests.TestCases.Ugly;
internal class NoAutomaticProperties
{
public int Plain {
[CompilerGenerated]
get {
return field;
}
[CompilerGenerated]
set {
field = value;
}
}
public int WithInitializer {
[CompilerGenerated]
get {
return field;
}
[CompilerGenerated]
set {
field = value;
}
} = 5;
public int SemiAuto {
get {
return field;
}
set {
field = Math.Max(0, value);
}
}
}