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.
44 lines
515 B
44 lines
515 B
namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty |
|
{ |
|
public record Empty |
|
{ |
|
} |
|
|
|
public record Fields |
|
{ |
|
public int A; |
|
public double B = 1.0; |
|
public object C; |
|
public dynamic D; |
|
public string S = "abc"; |
|
} |
|
|
|
public record Properties |
|
{ |
|
public int A { |
|
get; |
|
set; |
|
} |
|
public int B { |
|
get; |
|
} |
|
public int C => 43; |
|
public object O { |
|
get; |
|
set; |
|
} |
|
public string S { |
|
get; |
|
set; |
|
} |
|
public dynamic D { |
|
get; |
|
set; |
|
} |
|
|
|
public Properties() |
|
{ |
|
B = 42; |
|
} |
|
} |
|
}
|
|
|