Boo.Lang.Compiler.TypeSystem.TypeSystemServices.GetReferencedType C# (CSharp) 메소드

GetReferencedType() 공개 정적인 메소드

public static GetReferencedType ( Expression typeref ) : IType
typeref Boo.Lang.Compiler.Ast.Expression
리턴 IType
        public static IType GetReferencedType(Expression typeref)
        {
            switch (typeref.NodeType)
            {
                case NodeType.TypeofExpression:
                        return GetType(((TypeofExpression) typeref).Type);
                case NodeType.ReferenceExpression:
                case NodeType.MemberReferenceExpression:
                case NodeType.GenericReferenceExpression:
                        return typeref.Entity as IType;
            }
            return null;
        }
TypeSystemServices