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.
29 lines
406 B
29 lines
406 B
namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty |
|
{ |
|
internal class VariableNamingWithoutSymbols |
|
{ |
|
private class C |
|
{ |
|
public string Name; |
|
public string Text; |
|
} |
|
|
|
private void Test(string text, C c) |
|
{ |
|
#if CS70 |
|
_ = c.Name; |
|
#else |
|
string name = c.Name; |
|
#endif |
|
} |
|
|
|
private void Test2(string text, C c) |
|
{ |
|
#if CS70 |
|
_ = c.Text; |
|
#else |
|
string text2 = c.Text; |
|
#endif |
|
} |
|
} |
|
}
|
|
|