Boo.Lang.Compiler.Steps.ProcessMethodBodies.IsLikelyMacroExtensionMethodInvocation C# (CSharp) Метод

IsLikelyMacroExtensionMethodInvocation() приватный Метод

private IsLikelyMacroExtensionMethodInvocation ( IEntity entity ) : bool
entity IEntity
Результат bool
        bool IsLikelyMacroExtensionMethodInvocation(IEntity entity)
        {
            IMethod extension = entity as IMethod;
            return extension != null
                && extension.IsExtension
                && TypeSystemServices.IsMacro(extension.ReturnType)
                && extension.GetParameters().Length == 2
                && TypeSystemServices.IsMacro(extension.GetParameters()[0].Type);
        }
ProcessMethodBodies