mirror of https://github.com/icsharpcode/ILSpy.git
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.
47 lines
630 B
47 lines
630 B
using System; |
|
|
|
namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty |
|
{ |
|
// TODO : maybe use single-line formatting in this case? |
|
internal class AutoProperties |
|
{ |
|
public int A { |
|
get; |
|
} = 1; |
|
|
|
public int B { |
|
get; |
|
set; |
|
} = 2; |
|
|
|
public static int C { |
|
get; |
|
} = 3; |
|
|
|
public static int D { |
|
get; |
|
set; |
|
} = 4; |
|
|
|
public string value { |
|
get; |
|
set; |
|
} |
|
|
|
[Obsolete("Property")] |
|
[field: Obsolete("Field")] |
|
public int PropertyWithAttributeOnBackingField { |
|
get; |
|
set; |
|
} |
|
|
|
public int issue1319 { |
|
get; |
|
} |
|
|
|
public AutoProperties(int issue1319) |
|
{ |
|
this.issue1319 = issue1319; |
|
} |
|
} |
|
}
|
|
|