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.
42 lines
538 B
42 lines
538 B
using System; |
|
|
|
namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty |
|
{ |
|
internal class Discards |
|
{ |
|
public class @_ |
|
{ |
|
|
|
} |
|
|
|
public void GetOut(out int value) |
|
{ |
|
value = 0; |
|
} |
|
|
|
public void MakeValue(Func<object, string, int> func) |
|
{ |
|
|
|
} |
|
|
|
public void MakeValue(Func<@_, int> func) |
|
{ |
|
|
|
} |
|
|
|
public void SimpleParameter(@_ _) |
|
{ |
|
} |
|
|
|
public void ParameterHiddenByLocal(@_ _) |
|
{ |
|
GetOut(out int _); |
|
} |
|
|
|
public void DiscardedOutVsLambdaParameter() |
|
{ |
|
GetOut(out int _); |
|
MakeValue((@_ _) => 5); |
|
} |
|
} |
|
}
|
|
|