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

15 lines
317 B

using System.Runtime.CompilerServices;
public interface ICancellable
{
bool IsCancellable { get; }
}
public class TestClass : ICancellable
{
public bool IsCancellable => false;
[SpecialName]
bool ICancellable.get_IsCancellable()
{
_ = IsCancellable;
/*Error: End of method reached without returning.*/;
}
}