public EXPRTYPEOF CreateTypeOf(EXPRTYPEORNAMESPACE pSourceType) { EXPRTYPEOF rval = new EXPRTYPEOF(); rval.kind = ExpressionKind.EK_TYPEOF; rval.type = GetTypes().GetReqPredefAgg(PredefinedType.PT_TYPE).getThisType(); rval.flags = EXPRFLAG.EXF_CANTBENULL; rval.SetSourceType(pSourceType); Debug.Assert(rval != null); return(rval); }
protected override EXPR VisitTYPEOF(EXPRTYPEOF expr) { Debug.Assert(expr != null); Debug.Assert(alwaysRewrite || currentAnonMeth != null); return GenerateConstant(expr); }
protected virtual EXPR VisitTYPEOF(EXPRTYPEOF pExpr) { return(VisitEXPR(pExpr)); }
protected virtual EXPR VisitTYPEOF(EXPRTYPEOF pExpr) { return VisitEXPR(pExpr); }
public EXPRTYPEOF CreateTypeOf(EXPRTYPEORNAMESPACE pSourceType) { EXPRTYPEOF rval = new EXPRTYPEOF(); rval.kind = ExpressionKind.EK_TYPEOF; rval.type = GetTypes().GetReqPredefAgg(PredefinedType.PT_TYPE).getThisType(); rval.flags = EXPRFLAG.EXF_CANTBENULL; rval.SetSourceType(pSourceType); Debug.Assert(rval != null); return (rval); }