.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.
 
 
 
 

43 lines
639 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(@_ _)
{
}
// out _ is currently not supported: the test cases below are not useful
//public void ParameterHiddenByLocal(@_ _)
//{
// GetOut(out int value);
//}
//public void DiscardedOutVsLambdaParameter()
//{
// GetOut(out int value);
// MakeValue((@_ _) => 5);
//}
}
}