Boo.Lang.Compiler.Steps.ProcessMethodBodies.ResolvedAsExtension C# (CSharp) 메소드

ResolvedAsExtension() 개인적인 정적인 메소드

private static ResolvedAsExtension ( MethodInvocationExpression node ) : bool
node MethodInvocationExpression
리턴 bool
        private static bool ResolvedAsExtension(MethodInvocationExpression node)
        {
            if (node.ContainsAnnotation(ResolvedAsExtensionAnnotation)
                || node.Target.ContainsAnnotation(ResolvedAsExtensionAnnotation))
                return true;

            var genericReference = node.Target as GenericReferenceExpression;
            return genericReference != null && genericReference.Target.ContainsAnnotation(ResolvedAsExtensionAnnotation);
        }
ProcessMethodBodies