Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
using ICSharpCode.Decompiler.TypeSystem;
namespace ICSharpCode.Decompiler.CSharp.Syntax;
public static class MethodDeclarationExtensions
{
public static bool IsConstructor(this MethodDeclaration methodDeclaration) =>
(methodDeclaration.GetMemberResolveResult()?.Member as IMethod)?.IsConstructor == true;
}
a4519e7a0This file is pinned to the selected release. Download the original to open it in your design tool.