477 references to PREDEFMETH
Microsoft.CSharp (477)
Microsoft\CSharp\RuntimeBinder\ExpressionTreeCallRewriter.cs (251)
58Debug.Assert(((ExprCall)binOp.OptionalRightChild).PredefinedMethod == PREDEFMETH.PM_EXPRESSION_LAMBDA); 77Debug.Assert(call?.PredefinedMethod == PREDEFMETH.PM_EXPRESSION_PARAMETER); 91if (pExpr.PredefinedMethod == PREDEFMETH.PM_COUNT) 99case PREDEFMETH.PM_EXPRESSION_LAMBDA: 102case PREDEFMETH.PM_EXPRESSION_CALL: 106case PREDEFMETH.PM_EXPRESSION_ARRAYINDEX: 107case PREDEFMETH.PM_EXPRESSION_ARRAYINDEX2: 111case PREDEFMETH.PM_EXPRESSION_CONVERT: 112case PREDEFMETH.PM_EXPRESSION_CONVERT_USER_DEFINED: 113case PREDEFMETH.PM_EXPRESSION_CONVERTCHECKED: 114case PREDEFMETH.PM_EXPRESSION_CONVERTCHECKED_USER_DEFINED: 118case PREDEFMETH.PM_EXPRESSION_PROPERTY: 122case PREDEFMETH.PM_EXPRESSION_FIELD: 126case PREDEFMETH.PM_EXPRESSION_INVOKE: 130case PREDEFMETH.PM_EXPRESSION_NEW: 134case PREDEFMETH.PM_EXPRESSION_ADD: 135case PREDEFMETH.PM_EXPRESSION_AND: 136case PREDEFMETH.PM_EXPRESSION_DIVIDE: 137case PREDEFMETH.PM_EXPRESSION_EQUAL: 138case PREDEFMETH.PM_EXPRESSION_EXCLUSIVEOR: 139case PREDEFMETH.PM_EXPRESSION_GREATERTHAN: 140case PREDEFMETH.PM_EXPRESSION_GREATERTHANOREQUAL: 141case PREDEFMETH.PM_EXPRESSION_LEFTSHIFT: 142case PREDEFMETH.PM_EXPRESSION_LESSTHAN: 143case PREDEFMETH.PM_EXPRESSION_LESSTHANOREQUAL: 144case PREDEFMETH.PM_EXPRESSION_MODULO: 145case PREDEFMETH.PM_EXPRESSION_MULTIPLY: 146case PREDEFMETH.PM_EXPRESSION_NOTEQUAL: 147case PREDEFMETH.PM_EXPRESSION_OR: 148case PREDEFMETH.PM_EXPRESSION_RIGHTSHIFT: 149case PREDEFMETH.PM_EXPRESSION_SUBTRACT: 150case PREDEFMETH.PM_EXPRESSION_ORELSE: 151case PREDEFMETH.PM_EXPRESSION_ANDALSO: 153case PREDEFMETH.PM_EXPRESSION_ADDCHECKED: 154case PREDEFMETH.PM_EXPRESSION_MULTIPLYCHECKED: 155case PREDEFMETH.PM_EXPRESSION_SUBTRACTCHECKED: 159case PREDEFMETH.PM_EXPRESSION_ADD_USER_DEFINED: 160case PREDEFMETH.PM_EXPRESSION_AND_USER_DEFINED: 161case PREDEFMETH.PM_EXPRESSION_DIVIDE_USER_DEFINED: 162case PREDEFMETH.PM_EXPRESSION_EQUAL_USER_DEFINED: 163case PREDEFMETH.PM_EXPRESSION_EXCLUSIVEOR_USER_DEFINED: 164case PREDEFMETH.PM_EXPRESSION_GREATERTHAN_USER_DEFINED: 165case PREDEFMETH.PM_EXPRESSION_GREATERTHANOREQUAL_USER_DEFINED: 166case PREDEFMETH.PM_EXPRESSION_LEFTSHIFT_USER_DEFINED: 167case PREDEFMETH.PM_EXPRESSION_LESSTHAN_USER_DEFINED: 168case PREDEFMETH.PM_EXPRESSION_LESSTHANOREQUAL_USER_DEFINED: 169case PREDEFMETH.PM_EXPRESSION_MODULO_USER_DEFINED: 170case PREDEFMETH.PM_EXPRESSION_MULTIPLY_USER_DEFINED: 171case PREDEFMETH.PM_EXPRESSION_NOTEQUAL_USER_DEFINED: 172case PREDEFMETH.PM_EXPRESSION_OR_USER_DEFINED: 173case PREDEFMETH.PM_EXPRESSION_RIGHTSHIFT_USER_DEFINED: 174case PREDEFMETH.PM_EXPRESSION_SUBTRACT_USER_DEFINED: 175case PREDEFMETH.PM_EXPRESSION_ORELSE_USER_DEFINED: 176case PREDEFMETH.PM_EXPRESSION_ANDALSO_USER_DEFINED: 178case PREDEFMETH.PM_EXPRESSION_ADDCHECKED_USER_DEFINED: 179case PREDEFMETH.PM_EXPRESSION_MULTIPLYCHECKED_USER_DEFINED: 180case PREDEFMETH.PM_EXPRESSION_SUBTRACTCHECKED_USER_DEFINED: 184case PREDEFMETH.PM_EXPRESSION_NEGATE: 185case PREDEFMETH.PM_EXPRESSION_NOT: 186case PREDEFMETH.PM_EXPRESSION_NEGATECHECKED: 190case PREDEFMETH.PM_EXPRESSION_UNARYPLUS_USER_DEFINED: 191case PREDEFMETH.PM_EXPRESSION_NEGATE_USER_DEFINED: 192case PREDEFMETH.PM_EXPRESSION_NOT_USER_DEFINED: 193case PREDEFMETH.PM_EXPRESSION_NEGATECHECKED_USER_DEFINED: 197case PREDEFMETH.PM_EXPRESSION_CONSTANT_OBJECT_TYPE: 201case PREDEFMETH.PM_EXPRESSION_ASSIGN: 300if (pExpr.PredefinedMethod == PREDEFMETH.PM_EXPRESSION_ARRAYINDEX) 306Debug.Assert(pExpr.PredefinedMethod == PREDEFMETH.PM_EXPRESSION_ARRAYINDEX2); 317PREDEFMETH pm = pExpr.PredefinedMethod; 321if (pm == PREDEFMETH.PM_EXPRESSION_CONVERT_USER_DEFINED || 322pm == PREDEFMETH.PM_EXPRESSION_CONVERTCHECKED_USER_DEFINED) 343if (pm == PREDEFMETH.PM_EXPRESSION_CONVERT_USER_DEFINED) 351Debug.Assert(pm == PREDEFMETH.PM_EXPRESSION_CONVERT || 352pm == PREDEFMETH.PM_EXPRESSION_CONVERTCHECKED); 374if (pm == PREDEFMETH.PM_EXPRESSION_CONVERT) 507case PREDEFMETH.PM_EXPRESSION_ADD: 509case PREDEFMETH.PM_EXPRESSION_AND: 511case PREDEFMETH.PM_EXPRESSION_DIVIDE: 513case PREDEFMETH.PM_EXPRESSION_EQUAL: 515case PREDEFMETH.PM_EXPRESSION_EXCLUSIVEOR: 517case PREDEFMETH.PM_EXPRESSION_GREATERTHAN: 519case PREDEFMETH.PM_EXPRESSION_GREATERTHANOREQUAL: 521case PREDEFMETH.PM_EXPRESSION_LEFTSHIFT: 523case PREDEFMETH.PM_EXPRESSION_LESSTHAN: 525case PREDEFMETH.PM_EXPRESSION_LESSTHANOREQUAL: 527case PREDEFMETH.PM_EXPRESSION_MODULO: 529case PREDEFMETH.PM_EXPRESSION_MULTIPLY: 531case PREDEFMETH.PM_EXPRESSION_NOTEQUAL: 533case PREDEFMETH.PM_EXPRESSION_OR: 535case PREDEFMETH.PM_EXPRESSION_RIGHTSHIFT: 537case PREDEFMETH.PM_EXPRESSION_SUBTRACT: 539case PREDEFMETH.PM_EXPRESSION_ORELSE: 541case PREDEFMETH.PM_EXPRESSION_ANDALSO: 545case PREDEFMETH.PM_EXPRESSION_ADDCHECKED: 547case PREDEFMETH.PM_EXPRESSION_MULTIPLYCHECKED: 549case PREDEFMETH.PM_EXPRESSION_SUBTRACTCHECKED: 584case PREDEFMETH.PM_EXPRESSION_ADD_USER_DEFINED: 586case PREDEFMETH.PM_EXPRESSION_AND_USER_DEFINED: 588case PREDEFMETH.PM_EXPRESSION_DIVIDE_USER_DEFINED: 590case PREDEFMETH.PM_EXPRESSION_EQUAL_USER_DEFINED: 592case PREDEFMETH.PM_EXPRESSION_EXCLUSIVEOR_USER_DEFINED: 594case PREDEFMETH.PM_EXPRESSION_GREATERTHAN_USER_DEFINED: 596case PREDEFMETH.PM_EXPRESSION_GREATERTHANOREQUAL_USER_DEFINED: 598case PREDEFMETH.PM_EXPRESSION_LEFTSHIFT_USER_DEFINED: 600case PREDEFMETH.PM_EXPRESSION_LESSTHAN_USER_DEFINED: 602case PREDEFMETH.PM_EXPRESSION_LESSTHANOREQUAL_USER_DEFINED: 604case PREDEFMETH.PM_EXPRESSION_MODULO_USER_DEFINED: 606case PREDEFMETH.PM_EXPRESSION_MULTIPLY_USER_DEFINED: 608case PREDEFMETH.PM_EXPRESSION_NOTEQUAL_USER_DEFINED: 610case PREDEFMETH.PM_EXPRESSION_OR_USER_DEFINED: 612case PREDEFMETH.PM_EXPRESSION_RIGHTSHIFT_USER_DEFINED: 614case PREDEFMETH.PM_EXPRESSION_SUBTRACT_USER_DEFINED: 616case PREDEFMETH.PM_EXPRESSION_ORELSE_USER_DEFINED: 618case PREDEFMETH.PM_EXPRESSION_ANDALSO_USER_DEFINED: 622case PREDEFMETH.PM_EXPRESSION_ADDCHECKED_USER_DEFINED: 624case PREDEFMETH.PM_EXPRESSION_MULTIPLYCHECKED_USER_DEFINED: 626case PREDEFMETH.PM_EXPRESSION_SUBTRACTCHECKED_USER_DEFINED: 640PREDEFMETH pm = pExpr.PredefinedMethod; 645case PREDEFMETH.PM_EXPRESSION_NOT: 648case PREDEFMETH.PM_EXPRESSION_NEGATE: 651case PREDEFMETH.PM_EXPRESSION_NEGATECHECKED: 665PREDEFMETH pm = pExpr.PredefinedMethod; 672case PREDEFMETH.PM_EXPRESSION_NOT_USER_DEFINED: 675case PREDEFMETH.PM_EXPRESSION_NEGATE_USER_DEFINED: 678case PREDEFMETH.PM_EXPRESSION_UNARYPLUS_USER_DEFINED: 681case PREDEFMETH.PM_EXPRESSION_NEGATECHECKED_USER_DEFINED: 711PREDEFMETH pm = call.PredefinedMethod; 712Debug.Assert(pm == PREDEFMETH.PM_EXPRESSION_CONVERT || 713pm == PREDEFMETH.PM_EXPRESSION_CONVERT_USER_DEFINED || 714pm == PREDEFMETH.PM_EXPRESSION_NEWARRAYINIT || 715pm == PREDEFMETH.PM_EXPRESSION_CALL || 716pm == PREDEFMETH.PM_EXPRESSION_PROPERTY || 717pm == PREDEFMETH.PM_EXPRESSION_FIELD || 718pm == PREDEFMETH.PM_EXPRESSION_ARRAYINDEX || 719pm == PREDEFMETH.PM_EXPRESSION_ARRAYINDEX2 || 720pm == PREDEFMETH.PM_EXPRESSION_CONSTANT_OBJECT_TYPE || 721pm == PREDEFMETH.PM_EXPRESSION_NEW || 724pm == PREDEFMETH.PM_EXPRESSION_ASSIGN || 725pm == PREDEFMETH.PM_EXPRESSION_ADD || 726pm == PREDEFMETH.PM_EXPRESSION_AND || 727pm == PREDEFMETH.PM_EXPRESSION_DIVIDE || 728pm == PREDEFMETH.PM_EXPRESSION_EQUAL || 729pm == PREDEFMETH.PM_EXPRESSION_EXCLUSIVEOR || 730pm == PREDEFMETH.PM_EXPRESSION_GREATERTHAN || 731pm == PREDEFMETH.PM_EXPRESSION_GREATERTHANOREQUAL || 732pm == PREDEFMETH.PM_EXPRESSION_LEFTSHIFT || 733pm == PREDEFMETH.PM_EXPRESSION_LESSTHAN || 734pm == PREDEFMETH.PM_EXPRESSION_LESSTHANOREQUAL || 735pm == PREDEFMETH.PM_EXPRESSION_MODULO || 736pm == PREDEFMETH.PM_EXPRESSION_MULTIPLY || 737pm == PREDEFMETH.PM_EXPRESSION_NOTEQUAL || 738pm == PREDEFMETH.PM_EXPRESSION_OR || 739pm == PREDEFMETH.PM_EXPRESSION_RIGHTSHIFT || 740pm == PREDEFMETH.PM_EXPRESSION_SUBTRACT || 741pm == PREDEFMETH.PM_EXPRESSION_ORELSE || 742pm == PREDEFMETH.PM_EXPRESSION_ANDALSO || 743pm == PREDEFMETH.PM_EXPRESSION_ADD_USER_DEFINED || 744pm == PREDEFMETH.PM_EXPRESSION_AND_USER_DEFINED || 745pm == PREDEFMETH.PM_EXPRESSION_DIVIDE_USER_DEFINED || 746pm == PREDEFMETH.PM_EXPRESSION_EQUAL_USER_DEFINED || 747pm == PREDEFMETH.PM_EXPRESSION_EXCLUSIVEOR_USER_DEFINED || 748pm == PREDEFMETH.PM_EXPRESSION_GREATERTHAN_USER_DEFINED || 749pm == PREDEFMETH.PM_EXPRESSION_GREATERTHANOREQUAL_USER_DEFINED || 750pm == PREDEFMETH.PM_EXPRESSION_LEFTSHIFT_USER_DEFINED || 751pm == PREDEFMETH.PM_EXPRESSION_LESSTHAN_USER_DEFINED || 752pm == PREDEFMETH.PM_EXPRESSION_LESSTHANOREQUAL_USER_DEFINED || 753pm == PREDEFMETH.PM_EXPRESSION_MODULO_USER_DEFINED || 754pm == PREDEFMETH.PM_EXPRESSION_MULTIPLY_USER_DEFINED || 755pm == PREDEFMETH.PM_EXPRESSION_NOTEQUAL_USER_DEFINED || 756pm == PREDEFMETH.PM_EXPRESSION_OR_USER_DEFINED || 757pm == PREDEFMETH.PM_EXPRESSION_RIGHTSHIFT_USER_DEFINED || 758pm == PREDEFMETH.PM_EXPRESSION_SUBTRACT_USER_DEFINED || 759pm == PREDEFMETH.PM_EXPRESSION_ORELSE_USER_DEFINED || 760pm == PREDEFMETH.PM_EXPRESSION_ANDALSO_USER_DEFINED || 763pm == PREDEFMETH.PM_EXPRESSION_ADDCHECKED || 764pm == PREDEFMETH.PM_EXPRESSION_MULTIPLYCHECKED || 765pm == PREDEFMETH.PM_EXPRESSION_SUBTRACTCHECKED || 766pm == PREDEFMETH.PM_EXPRESSION_ADDCHECKED_USER_DEFINED || 767pm == PREDEFMETH.PM_EXPRESSION_MULTIPLYCHECKED_USER_DEFINED || 768pm == PREDEFMETH.PM_EXPRESSION_SUBTRACTCHECKED_USER_DEFINED || 771pm == PREDEFMETH.PM_EXPRESSION_NOT || 772pm == PREDEFMETH.PM_EXPRESSION_NEGATE || 773pm == PREDEFMETH.PM_EXPRESSION_NOT_USER_DEFINED || 774pm == PREDEFMETH.PM_EXPRESSION_NEGATE_USER_DEFINED || 775pm == PREDEFMETH.PM_EXPRESSION_UNARYPLUS_USER_DEFINED || 778pm == PREDEFMETH.PM_EXPRESSION_NEGATECHECKED || 779pm == PREDEFMETH.PM_EXPRESSION_CONVERTCHECKED || 780pm == PREDEFMETH.PM_EXPRESSION_NEGATECHECKED_USER_DEFINED || 781pm == PREDEFMETH.PM_EXPRESSION_CONVERTCHECKED_USER_DEFINED 786case PREDEFMETH.PM_EXPRESSION_CALL: 789case PREDEFMETH.PM_EXPRESSION_CONVERT: 790case PREDEFMETH.PM_EXPRESSION_CONVERT_USER_DEFINED: 791case PREDEFMETH.PM_EXPRESSION_CONVERTCHECKED: 792case PREDEFMETH.PM_EXPRESSION_CONVERTCHECKED_USER_DEFINED: 795case PREDEFMETH.PM_EXPRESSION_NEWARRAYINIT: 802case PREDEFMETH.PM_EXPRESSION_ARRAYINDEX: 803case PREDEFMETH.PM_EXPRESSION_ARRAYINDEX2: 806case PREDEFMETH.PM_EXPRESSION_NEW: 809case PREDEFMETH.PM_EXPRESSION_PROPERTY: 812case PREDEFMETH.PM_EXPRESSION_FIELD: 815case PREDEFMETH.PM_EXPRESSION_CONSTANT_OBJECT_TYPE: 818case PREDEFMETH.PM_EXPRESSION_ASSIGN: 821case PREDEFMETH.PM_EXPRESSION_ADD: 822case PREDEFMETH.PM_EXPRESSION_AND: 823case PREDEFMETH.PM_EXPRESSION_DIVIDE: 824case PREDEFMETH.PM_EXPRESSION_EQUAL: 825case PREDEFMETH.PM_EXPRESSION_EXCLUSIVEOR: 826case PREDEFMETH.PM_EXPRESSION_GREATERTHAN: 827case PREDEFMETH.PM_EXPRESSION_GREATERTHANOREQUAL: 828case PREDEFMETH.PM_EXPRESSION_LEFTSHIFT: 829case PREDEFMETH.PM_EXPRESSION_LESSTHAN: 830case PREDEFMETH.PM_EXPRESSION_LESSTHANOREQUAL: 831case PREDEFMETH.PM_EXPRESSION_MODULO: 832case PREDEFMETH.PM_EXPRESSION_MULTIPLY: 833case PREDEFMETH.PM_EXPRESSION_NOTEQUAL: 834case PREDEFMETH.PM_EXPRESSION_OR: 835case PREDEFMETH.PM_EXPRESSION_RIGHTSHIFT: 836case PREDEFMETH.PM_EXPRESSION_SUBTRACT: 837case PREDEFMETH.PM_EXPRESSION_ORELSE: 838case PREDEFMETH.PM_EXPRESSION_ANDALSO: 840case PREDEFMETH.PM_EXPRESSION_ADDCHECKED: 841case PREDEFMETH.PM_EXPRESSION_MULTIPLYCHECKED: 842case PREDEFMETH.PM_EXPRESSION_SUBTRACTCHECKED: 845case PREDEFMETH.PM_EXPRESSION_ADD_USER_DEFINED: 846case PREDEFMETH.PM_EXPRESSION_AND_USER_DEFINED: 847case PREDEFMETH.PM_EXPRESSION_DIVIDE_USER_DEFINED: 848case PREDEFMETH.PM_EXPRESSION_EQUAL_USER_DEFINED: 849case PREDEFMETH.PM_EXPRESSION_EXCLUSIVEOR_USER_DEFINED: 850case PREDEFMETH.PM_EXPRESSION_GREATERTHAN_USER_DEFINED: 851case PREDEFMETH.PM_EXPRESSION_GREATERTHANOREQUAL_USER_DEFINED: 852case PREDEFMETH.PM_EXPRESSION_LEFTSHIFT_USER_DEFINED: 853case PREDEFMETH.PM_EXPRESSION_LESSTHAN_USER_DEFINED: 854case PREDEFMETH.PM_EXPRESSION_LESSTHANOREQUAL_USER_DEFINED: 855case PREDEFMETH.PM_EXPRESSION_MODULO_USER_DEFINED: 856case PREDEFMETH.PM_EXPRESSION_MULTIPLY_USER_DEFINED: 857case PREDEFMETH.PM_EXPRESSION_NOTEQUAL_USER_DEFINED: 858case PREDEFMETH.PM_EXPRESSION_OR_USER_DEFINED: 859case PREDEFMETH.PM_EXPRESSION_RIGHTSHIFT_USER_DEFINED: 860case PREDEFMETH.PM_EXPRESSION_SUBTRACT_USER_DEFINED: 861case PREDEFMETH.PM_EXPRESSION_ORELSE_USER_DEFINED: 862case PREDEFMETH.PM_EXPRESSION_ANDALSO_USER_DEFINED: 864case PREDEFMETH.PM_EXPRESSION_ADDCHECKED_USER_DEFINED: 865case PREDEFMETH.PM_EXPRESSION_MULTIPLYCHECKED_USER_DEFINED: 866case PREDEFMETH.PM_EXPRESSION_SUBTRACTCHECKED_USER_DEFINED: 869case PREDEFMETH.PM_EXPRESSION_NOT: 870case PREDEFMETH.PM_EXPRESSION_NEGATE: 871case PREDEFMETH.PM_EXPRESSION_NEGATECHECKED: 874case PREDEFMETH.PM_EXPRESSION_NOT_USER_DEFINED: 875case PREDEFMETH.PM_EXPRESSION_NEGATE_USER_DEFINED: 876case PREDEFMETH.PM_EXPRESSION_UNARYPLUS_USER_DEFINED: 877case PREDEFMETH.PM_EXPRESSION_NEGATECHECKED_USER_DEFINED:
Microsoft\CSharp\RuntimeBinder\Semantics\Nullable.cs (1)
69MethodSymbol meth = PredefinedMembers.GetMethod(PREDEFMETH.PM_G_OPTIONAL_CTOR);
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (16)
1646PREDEFMETH predefMeth; 1650predefMeth = PREDEFMETH.PM_DECIMAL_OPINCREMENT; 1655predefMeth = PREDEFMETH.PM_DECIMAL_OPDECREMENT; 1815PREDEFMETH predefMeth = PREDEFMETH.PM_DECIMAL_OPUNARYMINUS; 1943PREDEFMETH predefMeth = ek == ExpressionKind.Eq ? PREDEFMETH.PM_STRING_OPEQUALITY : PREDEFMETH.PM_STRING_OPINEQUALITY; 1974PREDEFMETH predefMeth = (PREDEFMETH)0; 1979predefMeth = PREDEFMETH.PM_DELEGATE_COMBINE; 1985predefMeth = PREDEFMETH.PM_DELEGATE_REMOVE; 1991predefMeth = PREDEFMETH.PM_DELEGATE_OPEQUALITY; 1997predefMeth = PREDEFMETH.PM_DELEGATE_OPINEQUALITY; 2722private static ExprBinOp CreateBinopForPredefMethodCall(ExpressionKind ek, PREDEFMETH predefMeth, CType RetType, Expr arg1, Expr arg2) 2737private static ExprUnaryOp CreateUnaryOpForPredefMethodCall(ExpressionKind ek, PREDEFMETH predefMeth, CType pRetType, Expr pArg)
Microsoft\CSharp\RuntimeBinder\Semantics\PredefinedMembers.cs (100)
158public PREDEFMETH method; 166public PredefinedMethodInfo(PREDEFMETH method, PredefinedType type, PredefinedName name, MethodCallingConventionEnum callingConvention, ACCESS access, int cTypeVars, int[] signature) 184public PREDEFMETH getter; 186public PredefinedPropertyInfo(PREDEFPROP property, PredefinedName name, PREDEFMETH getter) 198private static readonly MethodSymbol[] _methods = new MethodSymbol[(int)PREDEFMETH.PM_COUNT]; 212PREDEFMETH propertyGetter) 215Debug.Assert(propertyGetter >= 0 && propertyGetter < PREDEFMETH.PM_COUNT); 294for (int i = 0; i < (int)PREDEFMETH.PM_COUNT; i++) 296Debug.Assert((int)GetMethInfo((PREDEFMETH)i).method == i); 313public static MethodSymbol GetMethod(PREDEFMETH method) 315Debug.Assert(method >= 0 && method < PREDEFMETH.PM_COUNT); 376private static MethodSymbol LoadMethod(PREDEFMETH method) 389private static PREDEFMETH GetPropGetter(PREDEFPROP property) 391PREDEFMETH result = GetPropInfo(property).getter; 394Debug.Assert(result >= 0 && result < PREDEFMETH.PM_COUNT); 407new PredefinedPropertyInfo(PREDEFPROP.PP_G_OPTIONAL_VALUE, PredefinedName.PN_CAP_VALUE, PREDEFMETH.PM_G_OPTIONAL_GETVALUE) 418private static PredefinedMethodInfo GetMethInfo(PREDEFMETH method) 420Debug.Assert(method >= 0 && method < PREDEFMETH.PM_COUNT); 428private static readonly PredefinedMethodInfo[] s_predefinedMethods = new PredefinedMethodInfo[(int)PREDEFMETH.PM_COUNT] { 429new PredefinedMethodInfo( PREDEFMETH.PM_DECIMAL_OPDECREMENT, PredefinedType.PT_DECIMAL, PredefinedName.PN_OPDECREMENT, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_DECIMAL, 1, (int)PredefinedType.PT_DECIMAL }), 430new PredefinedMethodInfo( PREDEFMETH.PM_DECIMAL_OPINCREMENT, PredefinedType.PT_DECIMAL, PredefinedName.PN_OPINCREMENT, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_DECIMAL, 1, (int)PredefinedType.PT_DECIMAL }), 431new PredefinedMethodInfo( PREDEFMETH.PM_DECIMAL_OPUNARYMINUS, PredefinedType.PT_DECIMAL, PredefinedName.PN_OPUNARYMINUS, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_DECIMAL, 1, (int)PredefinedType.PT_DECIMAL }), 432new PredefinedMethodInfo( PREDEFMETH.PM_DELEGATE_COMBINE, PredefinedType.PT_DELEGATE, PredefinedName.PN_COMBINE, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_DELEGATE, 2, (int)PredefinedType.PT_DELEGATE, (int)PredefinedType.PT_DELEGATE }), 433new PredefinedMethodInfo( PREDEFMETH.PM_DELEGATE_OPEQUALITY, PredefinedType.PT_DELEGATE, PredefinedName.PN_OPEQUALITY, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BOOL, 2, (int)PredefinedType.PT_DELEGATE, (int)PredefinedType.PT_DELEGATE }), 434new PredefinedMethodInfo( PREDEFMETH.PM_DELEGATE_OPINEQUALITY, PredefinedType.PT_DELEGATE, PredefinedName.PN_OPINEQUALITY, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BOOL, 2, (int)PredefinedType.PT_DELEGATE, (int)PredefinedType.PT_DELEGATE }), 435new PredefinedMethodInfo( PREDEFMETH.PM_DELEGATE_REMOVE, PredefinedType.PT_DELEGATE, PredefinedName.PN_REMOVE, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_DELEGATE, 2, (int)PredefinedType.PT_DELEGATE, (int)PredefinedType.PT_DELEGATE }), 436new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_ADD, PredefinedType.PT_EXPRESSION, PredefinedName.PN_ADD, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 2, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION }), 437new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_ADD_USER_DEFINED, PredefinedType.PT_EXPRESSION, PredefinedName.PN_ADD, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 3, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_METHODINFO }), 438new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_ADDCHECKED, PredefinedType.PT_EXPRESSION, PredefinedName.PN_ADDCHECKED, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 2, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION }), 439new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_ADDCHECKED_USER_DEFINED, PredefinedType.PT_EXPRESSION, PredefinedName.PN_ADDCHECKED, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 3, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_METHODINFO }), 440new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_AND, PredefinedType.PT_EXPRESSION, PredefinedName.PN_AND, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 2, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION }), 441new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_AND_USER_DEFINED, PredefinedType.PT_EXPRESSION, PredefinedName.PN_AND, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 3, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_METHODINFO }), 442new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_ANDALSO, PredefinedType.PT_EXPRESSION, PredefinedName.PN_ANDALSO, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 2, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION }), 443new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_ANDALSO_USER_DEFINED, PredefinedType.PT_EXPRESSION, PredefinedName.PN_ANDALSO, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 3, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_METHODINFO }), 444new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_ARRAYINDEX, PredefinedType.PT_EXPRESSION, PredefinedName.PN_ARRAYINDEX, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 2, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION }), 445new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_ARRAYINDEX2, PredefinedType.PT_EXPRESSION, PredefinedName.PN_ARRAYINDEX, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_METHODCALLEXPRESSION, 2, (int)PredefinedType.PT_EXPRESSION, (int)MethodSignatureEnum.SIG_SZ_ARRAY, (int)PredefinedType.PT_EXPRESSION }), 446new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_ASSIGN, PredefinedType.PT_EXPRESSION, PredefinedName.PN_ASSIGN, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 2, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION }), 447new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_CONSTANT_OBJECT_TYPE, PredefinedType.PT_EXPRESSION, PredefinedName.PN_CONSTANT, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_CONSTANTEXPRESSION, 2, (int)PredefinedType.PT_OBJECT, (int)PredefinedType.PT_TYPE }), 448new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_CONVERT, PredefinedType.PT_EXPRESSION, PredefinedName.PN_CONVERT, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_UNARYEXPRESSION, 2, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_TYPE }), 449new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_CONVERT_USER_DEFINED, PredefinedType.PT_EXPRESSION, PredefinedName.PN_CONVERT, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_UNARYEXPRESSION, 3, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_TYPE, (int)PredefinedType.PT_METHODINFO }), 450new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_CONVERTCHECKED, PredefinedType.PT_EXPRESSION, PredefinedName.PN_CONVERTCHECKED, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_UNARYEXPRESSION, 2, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_TYPE }), 451new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_CONVERTCHECKED_USER_DEFINED, PredefinedType.PT_EXPRESSION, PredefinedName.PN_CONVERTCHECKED, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_UNARYEXPRESSION, 3, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_TYPE, (int)PredefinedType.PT_METHODINFO }), 452new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_DIVIDE, PredefinedType.PT_EXPRESSION, PredefinedName.PN_DIVIDE, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 2, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION }), 453new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_DIVIDE_USER_DEFINED, PredefinedType.PT_EXPRESSION, PredefinedName.PN_DIVIDE, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 3, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_METHODINFO }), 454new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_EQUAL, PredefinedType.PT_EXPRESSION, PredefinedName.PN_EQUAL, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 2, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION }), 455new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_EQUAL_USER_DEFINED, PredefinedType.PT_EXPRESSION, PredefinedName.PN_EQUAL, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 4, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_BOOL, (int)PredefinedType.PT_METHODINFO }), 456new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_EXCLUSIVEOR, PredefinedType.PT_EXPRESSION, PredefinedName.PN_EXCLUSIVEOR, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 2, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION }), 457new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_EXCLUSIVEOR_USER_DEFINED, PredefinedType.PT_EXPRESSION, PredefinedName.PN_EXCLUSIVEOR, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 3, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_METHODINFO }), 458new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_FIELD, PredefinedType.PT_EXPRESSION, PredefinedName.PN_CAP_FIELD, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_MEMBEREXPRESSION, 2, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_FIELDINFO }), 459new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_GREATERTHAN, PredefinedType.PT_EXPRESSION, PredefinedName.PN_GREATERTHAN, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 2, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION }), 460new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_GREATERTHAN_USER_DEFINED, PredefinedType.PT_EXPRESSION, PredefinedName.PN_GREATERTHAN, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 4, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_BOOL, (int)PredefinedType.PT_METHODINFO }), 461new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_GREATERTHANOREQUAL, PredefinedType.PT_EXPRESSION, PredefinedName.PN_GREATERTHANOREQUAL, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 2, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION }), 462new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_GREATERTHANOREQUAL_USER_DEFINED, PredefinedType.PT_EXPRESSION, PredefinedName.PN_GREATERTHANOREQUAL, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 4, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_BOOL, (int)PredefinedType.PT_METHODINFO }), 463new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_LAMBDA, PredefinedType.PT_EXPRESSION, PredefinedName.PN_LAMBDA, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 1, new int[] { (int)PredefinedType.PT_G_EXPRESSION, (int)MethodSignatureEnum.SIG_METH_TYVAR, 0, 2, (int)PredefinedType.PT_EXPRESSION, (int)MethodSignatureEnum.SIG_SZ_ARRAY, (int)PredefinedType.PT_PARAMETEREXPRESSION }), 464new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_LEFTSHIFT, PredefinedType.PT_EXPRESSION, PredefinedName.PN_LEFTSHIFT, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 2, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION }), 465new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_LEFTSHIFT_USER_DEFINED, PredefinedType.PT_EXPRESSION, PredefinedName.PN_LEFTSHIFT, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 3, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_METHODINFO }), 466new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_LESSTHAN, PredefinedType.PT_EXPRESSION, PredefinedName.PN_LESSTHAN, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 2, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION }), 467new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_LESSTHAN_USER_DEFINED, PredefinedType.PT_EXPRESSION, PredefinedName.PN_LESSTHAN, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 4, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_BOOL, (int)PredefinedType.PT_METHODINFO }), 468new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_LESSTHANOREQUAL, PredefinedType.PT_EXPRESSION, PredefinedName.PN_LESSTHANOREQUAL, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 2, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION }), 469new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_LESSTHANOREQUAL_USER_DEFINED, PredefinedType.PT_EXPRESSION, PredefinedName.PN_LESSTHANOREQUAL, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 4, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_BOOL, (int)PredefinedType.PT_METHODINFO }), 470new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_MODULO, PredefinedType.PT_EXPRESSION, PredefinedName.PN_MODULO, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 2, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION }), 471new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_MODULO_USER_DEFINED, PredefinedType.PT_EXPRESSION, PredefinedName.PN_MODULO, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 3, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_METHODINFO }), 472new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_MULTIPLY, PredefinedType.PT_EXPRESSION, PredefinedName.PN_MULTIPLY, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 2, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION }), 473new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_MULTIPLY_USER_DEFINED, PredefinedType.PT_EXPRESSION, PredefinedName.PN_MULTIPLY, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 3, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_METHODINFO }), 474new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_MULTIPLYCHECKED, PredefinedType.PT_EXPRESSION, PredefinedName.PN_MULTIPLYCHECKED, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 2, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION }), 475new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_MULTIPLYCHECKED_USER_DEFINED, PredefinedType.PT_EXPRESSION, PredefinedName.PN_MULTIPLYCHECKED, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 3, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_METHODINFO }), 476new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_NOTEQUAL, PredefinedType.PT_EXPRESSION, PredefinedName.PN_NOTEQUAL, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 2, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION }), 477new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_NOTEQUAL_USER_DEFINED, PredefinedType.PT_EXPRESSION, PredefinedName.PN_NOTEQUAL, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 4, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_BOOL, (int)PredefinedType.PT_METHODINFO }), 478new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_OR, PredefinedType.PT_EXPRESSION, PredefinedName.PN_OR, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 2, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION }), 479new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_OR_USER_DEFINED, PredefinedType.PT_EXPRESSION, PredefinedName.PN_OR, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 3, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_METHODINFO }), 480new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_ORELSE, PredefinedType.PT_EXPRESSION, PredefinedName.PN_ORELSE, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 2, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION }), 481new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_ORELSE_USER_DEFINED, PredefinedType.PT_EXPRESSION, PredefinedName.PN_ORELSE, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 3, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_METHODINFO }), 482new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_PARAMETER, PredefinedType.PT_EXPRESSION, PredefinedName.PN_PARAMETER, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_PARAMETEREXPRESSION, 2, (int)PredefinedType.PT_TYPE, (int)PredefinedType.PT_STRING }), 483new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_RIGHTSHIFT, PredefinedType.PT_EXPRESSION, PredefinedName.PN_RIGHTSHIFT, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 2, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION }), 484new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_RIGHTSHIFT_USER_DEFINED, PredefinedType.PT_EXPRESSION, PredefinedName.PN_RIGHTSHIFT, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 3, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_METHODINFO }), 485new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_SUBTRACT, PredefinedType.PT_EXPRESSION, PredefinedName.PN_SUBTRACT, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 2, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION }), 486new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_SUBTRACT_USER_DEFINED, PredefinedType.PT_EXPRESSION, PredefinedName.PN_SUBTRACT, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 3, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_METHODINFO }), 487new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_SUBTRACTCHECKED, PredefinedType.PT_EXPRESSION, PredefinedName.PN_SUBTRACTCHECKED, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 2, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION }), 488new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_SUBTRACTCHECKED_USER_DEFINED, PredefinedType.PT_EXPRESSION, PredefinedName.PN_SUBTRACTCHECKED, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BINARYEXPRESSION, 3, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_METHODINFO }), 489new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_UNARYPLUS_USER_DEFINED, PredefinedType.PT_EXPRESSION, PredefinedName.PN_PLUS, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_UNARYEXPRESSION, 2, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_METHODINFO }), 490new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_NEGATE, PredefinedType.PT_EXPRESSION, PredefinedName.PN_NEGATE, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_UNARYEXPRESSION, 1, (int)PredefinedType.PT_EXPRESSION }), 491new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_NEGATE_USER_DEFINED, PredefinedType.PT_EXPRESSION, PredefinedName.PN_NEGATE, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_UNARYEXPRESSION, 2, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_METHODINFO }), 492new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_NEGATECHECKED, PredefinedType.PT_EXPRESSION, PredefinedName.PN_NEGATECHECKED, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_UNARYEXPRESSION, 1, (int)PredefinedType.PT_EXPRESSION }), 493new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_NEGATECHECKED_USER_DEFINED, PredefinedType.PT_EXPRESSION, PredefinedName.PN_NEGATECHECKED, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_UNARYEXPRESSION, 2, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_METHODINFO }), 494new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_CALL, PredefinedType.PT_EXPRESSION, PredefinedName.PN_CALL, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_METHODCALLEXPRESSION, 3, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_METHODINFO, (int)MethodSignatureEnum.SIG_SZ_ARRAY, (int)PredefinedType.PT_EXPRESSION }), 495new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_NEW, PredefinedType.PT_EXPRESSION, PredefinedName.PN_NEW, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_NEWEXPRESSION, 2, (int)PredefinedType.PT_CONSTRUCTORINFO, (int)MethodSignatureEnum.SIG_SZ_ARRAY, (int)PredefinedType.PT_EXPRESSION }), 496new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_NEW_TYPE, PredefinedType.PT_EXPRESSION, PredefinedName.PN_NEW, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_NEWEXPRESSION, 1, (int)PredefinedType.PT_TYPE }), 497new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_QUOTE, PredefinedType.PT_EXPRESSION, PredefinedName.PN_QUOTE, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_UNARYEXPRESSION, 1, (int)PredefinedType.PT_EXPRESSION }), 498new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_NOT, PredefinedType.PT_EXPRESSION, PredefinedName.PN_NOT, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_UNARYEXPRESSION, 1, (int)PredefinedType.PT_EXPRESSION }), 499new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_NOT_USER_DEFINED, PredefinedType.PT_EXPRESSION, PredefinedName.PN_NOT, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_UNARYEXPRESSION, 2, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_METHODINFO }), 500new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_NEWARRAYINIT, PredefinedType.PT_EXPRESSION, PredefinedName.PN_NEWARRAYINIT, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_NEWARRAYEXPRESSION, 2, (int)PredefinedType.PT_TYPE, (int)MethodSignatureEnum.SIG_SZ_ARRAY, (int)PredefinedType.PT_EXPRESSION }), 501new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_PROPERTY, PredefinedType.PT_EXPRESSION, PredefinedName.PN_EXPRESSION_PROPERTY, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_MEMBEREXPRESSION, 2, (int)PredefinedType.PT_EXPRESSION, (int)PredefinedType.PT_PROPERTYINFO }), 502new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_INVOKE, PredefinedType.PT_EXPRESSION, PredefinedName.PN_INVOKE, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_INVOCATIONEXPRESSION, 2, (int)PredefinedType.PT_EXPRESSION, (int)MethodSignatureEnum.SIG_SZ_ARRAY, (int)PredefinedType.PT_EXPRESSION }), 503new PredefinedMethodInfo( PREDEFMETH.PM_G_OPTIONAL_CTOR, PredefinedType.PT_G_OPTIONAL, PredefinedName.PN_CTOR, MethodCallingConventionEnum.Instance, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_VOID, 1, (int)MethodSignatureEnum.SIG_CLASS_TYVAR, 0 }), 504new PredefinedMethodInfo( PREDEFMETH.PM_G_OPTIONAL_GETVALUE, PredefinedType.PT_G_OPTIONAL, PredefinedName.PN_GETVALUE, MethodCallingConventionEnum.Instance, ACCESS.ACC_PUBLIC, 0, new int[] { (int)MethodSignatureEnum.SIG_CLASS_TYVAR, 0, 0 }), 505new PredefinedMethodInfo( PREDEFMETH.PM_STRING_CONCAT_OBJECT_2, PredefinedType.PT_STRING, PredefinedName.PN_CONCAT, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_STRING, 2, (int)PredefinedType.PT_OBJECT, (int)PredefinedType.PT_OBJECT }), 506new PredefinedMethodInfo( PREDEFMETH.PM_STRING_CONCAT_OBJECT_3, PredefinedType.PT_STRING, PredefinedName.PN_CONCAT, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_STRING, 3, (int)PredefinedType.PT_OBJECT, (int)PredefinedType.PT_OBJECT, (int)PredefinedType.PT_OBJECT }), 507new PredefinedMethodInfo( PREDEFMETH.PM_STRING_CONCAT_STRING_2, PredefinedType.PT_STRING, PredefinedName.PN_CONCAT, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_STRING, 2, (int)PredefinedType.PT_STRING, (int)PredefinedType.PT_STRING }), 508new PredefinedMethodInfo( PREDEFMETH.PM_STRING_OPEQUALITY, PredefinedType.PT_STRING, PredefinedName.PN_OPEQUALITY, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BOOL, 2, (int)PredefinedType.PT_STRING, (int)PredefinedType.PT_STRING }), 509new PredefinedMethodInfo( PREDEFMETH.PM_STRING_OPINEQUALITY, PredefinedType.PT_STRING, PredefinedName.PN_OPINEQUALITY, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BOOL, 2, (int)PredefinedType.PT_STRING, (int)PredefinedType.PT_STRING }),
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Call.cs (2)
25public PREDEFMETH PredefinedMethod { get; set; } = PREDEFMETH.PM_COUNT;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExpressionTreeRewriter.cs (107)
57lhs = GenerateCall(PREDEFMETH.PM_EXPRESSION_PROPERTY, instance, propInfo, arguments); 66return GenerateCall(PREDEFMETH.PM_EXPRESSION_ASSIGN, lhs, rhs); 80return GenerateCall(PREDEFMETH.PM_EXPRESSION_ASSIGN, lhs, rhs); 91MethodSymbol lambdaMethod = GetPreDefMethod(PREDEFMETH.PM_EXPRESSION_LAMBDA); 106call.PredefinedMethod = PREDEFMETH.PM_EXPRESSION_LAMBDA; 139return GenerateCall(PREDEFMETH.PM_EXPRESSION_FIELD, pObject, pFieldInfo); 187PREDEFMETH pdm; 190pdm = PREDEFMETH.PM_STRING_CONCAT_STRING_2; 194pdm = PREDEFMETH.PM_STRING_CONCAT_OBJECT_2; 200return GenerateCall(PREDEFMETH.PM_EXPRESSION_ADD_USER_DEFINED, p1, p2, methodInfo); 240return GenerateCall(PREDEFMETH.PM_EXPRESSION_ARRAYINDEX2, arr, Params); 242return GenerateCall(PREDEFMETH.PM_EXPRESSION_ARRAYINDEX, arr, args); 304PREDEFMETH pdm = PREDEFMETH.PM_EXPRESSION_CALL; 329return GenerateCall(PREDEFMETH.PM_EXPRESSION_PROPERTY, pObject, propInfo, Params); 331return GenerateCall(PREDEFMETH.PM_EXPRESSION_PROPERTY, pObject, propInfo); 342return GenerateCall(PREDEFMETH.PM_EXPRESSION_NEWARRAYINIT, pTypeOf, Params); 370return GenerateCall(PREDEFMETH.PM_EXPRESSION_INVOKE, pObject, Params); 378PREDEFMETH pdm = expr.Kind switch 380ExpressionKind.LeftShirt => PREDEFMETH.PM_EXPRESSION_LEFTSHIFT, 381ExpressionKind.RightShift => PREDEFMETH.PM_EXPRESSION_RIGHTSHIFT, 382ExpressionKind.BitwiseExclusiveOr => PREDEFMETH.PM_EXPRESSION_EXCLUSIVEOR, 383ExpressionKind.BitwiseOr => PREDEFMETH.PM_EXPRESSION_OR, 384ExpressionKind.BitwiseAnd => PREDEFMETH.PM_EXPRESSION_AND, 385ExpressionKind.LogicalAnd => PREDEFMETH.PM_EXPRESSION_ANDALSO, 386ExpressionKind.LogicalOr => PREDEFMETH.PM_EXPRESSION_ORELSE, 387ExpressionKind.StringEq => PREDEFMETH.PM_EXPRESSION_EQUAL, 388ExpressionKind.Eq => PREDEFMETH.PM_EXPRESSION_EQUAL, 389ExpressionKind.StringNotEq => PREDEFMETH.PM_EXPRESSION_NOTEQUAL, 390ExpressionKind.NotEq => PREDEFMETH.PM_EXPRESSION_NOTEQUAL, 391ExpressionKind.GreaterThanOrEqual => PREDEFMETH.PM_EXPRESSION_GREATERTHANOREQUAL, 392ExpressionKind.LessThanOrEqual => PREDEFMETH.PM_EXPRESSION_LESSTHANOREQUAL, 393ExpressionKind.LessThan => PREDEFMETH.PM_EXPRESSION_LESSTHAN, 394ExpressionKind.GreaterThan => PREDEFMETH.PM_EXPRESSION_GREATERTHAN, 395ExpressionKind.Modulo => PREDEFMETH.PM_EXPRESSION_MODULO, 396ExpressionKind.Divide => PREDEFMETH.PM_EXPRESSION_DIVIDE, 397ExpressionKind.Multiply => expr.isChecked() ? PREDEFMETH.PM_EXPRESSION_MULTIPLYCHECKED : PREDEFMETH.PM_EXPRESSION_MULTIPLY, 398ExpressionKind.Subtract => expr.isChecked() ? PREDEFMETH.PM_EXPRESSION_SUBTRACTCHECKED : PREDEFMETH.PM_EXPRESSION_SUBTRACT, 399ExpressionKind.Add => expr.isChecked() ? PREDEFMETH.PM_EXPRESSION_ADDCHECKED : PREDEFMETH.PM_EXPRESSION_ADD, 457newL = GenerateCall(PREDEFMETH.PM_EXPRESSION_CONVERT, newL, CreateTypeOf(convertL)); 461newR = GenerateCall(PREDEFMETH.PM_EXPRESSION_CONVERT, newR, CreateTypeOf(convertR)); 468call = GenerateCall(PREDEFMETH.PM_EXPRESSION_CONVERT, call, CreateTypeOf(expr.Type)); 478PREDEFMETH pdm; 483case ExpressionKind.BitwiseNot: pdm = PREDEFMETH.PM_EXPRESSION_NOT; break; 484case ExpressionKind.LogicalNot: pdm = PREDEFMETH.PM_EXPRESSION_NOT; break; 486pdm = expr.isChecked() ? PREDEFMETH.PM_EXPRESSION_NEGATECHECKED : PREDEFMETH.PM_EXPRESSION_NEGATE; 502PREDEFMETH pdm; 506case ExpressionKind.LogicalOr: pdm = PREDEFMETH.PM_EXPRESSION_ORELSE_USER_DEFINED; break; 507case ExpressionKind.LogicalAnd: pdm = PREDEFMETH.PM_EXPRESSION_ANDALSO_USER_DEFINED; break; 508case ExpressionKind.LeftShirt: pdm = PREDEFMETH.PM_EXPRESSION_LEFTSHIFT_USER_DEFINED; break; 509case ExpressionKind.RightShift: pdm = PREDEFMETH.PM_EXPRESSION_RIGHTSHIFT_USER_DEFINED; break; 510case ExpressionKind.BitwiseExclusiveOr: pdm = PREDEFMETH.PM_EXPRESSION_EXCLUSIVEOR_USER_DEFINED; break; 511case ExpressionKind.BitwiseOr: pdm = PREDEFMETH.PM_EXPRESSION_OR_USER_DEFINED; break; 512case ExpressionKind.BitwiseAnd: pdm = PREDEFMETH.PM_EXPRESSION_AND_USER_DEFINED; break; 513case ExpressionKind.Modulo: pdm = PREDEFMETH.PM_EXPRESSION_MODULO_USER_DEFINED; break; 514case ExpressionKind.Divide: pdm = PREDEFMETH.PM_EXPRESSION_DIVIDE_USER_DEFINED; break; 528pdm = expr.isChecked() ? PREDEFMETH.PM_EXPRESSION_SUBTRACTCHECKED_USER_DEFINED : PREDEFMETH.PM_EXPRESSION_SUBTRACT_USER_DEFINED; 532pdm = expr.isChecked() ? PREDEFMETH.PM_EXPRESSION_ADDCHECKED_USER_DEFINED : PREDEFMETH.PM_EXPRESSION_ADD_USER_DEFINED; 535pdm = expr.isChecked() ? PREDEFMETH.PM_EXPRESSION_MULTIPLYCHECKED_USER_DEFINED : PREDEFMETH.PM_EXPRESSION_MULTIPLY_USER_DEFINED; 573return GenerateCall(PREDEFMETH.PM_EXPRESSION_CONVERT, call, pTypeOf); 582PREDEFMETH pdm; 599pdm = PREDEFMETH.PM_EXPRESSION_UNARYPLUS_USER_DEFINED; 601case ExpressionKind.BitwiseNot: pdm = PREDEFMETH.PM_EXPRESSION_NOT_USER_DEFINED; break; 602case ExpressionKind.LogicalNot: pdm = PREDEFMETH.PM_EXPRESSION_NOT_USER_DEFINED; break; 605pdm = expr.isChecked() ? PREDEFMETH.PM_EXPRESSION_NEGATECHECKED_USER_DEFINED : PREDEFMETH.PM_EXPRESSION_NEGATE_USER_DEFINED; 612pdm = PREDEFMETH.PM_EXPRESSION_CALL; 634PREDEFMETH pdm = expr.Kind switch 636ExpressionKind.StringEq => PREDEFMETH.PM_EXPRESSION_EQUAL_USER_DEFINED, 637ExpressionKind.StringNotEq => PREDEFMETH.PM_EXPRESSION_NOTEQUAL_USER_DEFINED, 638ExpressionKind.DelegateEq => PREDEFMETH.PM_EXPRESSION_EQUAL_USER_DEFINED, 639ExpressionKind.DelegateNotEq => PREDEFMETH.PM_EXPRESSION_NOTEQUAL_USER_DEFINED, 640ExpressionKind.Eq => PREDEFMETH.PM_EXPRESSION_EQUAL_USER_DEFINED, 641ExpressionKind.NotEq => PREDEFMETH.PM_EXPRESSION_NOTEQUAL_USER_DEFINED, 642ExpressionKind.LessThanOrEqual => PREDEFMETH.PM_EXPRESSION_LESSTHANOREQUAL_USER_DEFINED, 643ExpressionKind.LessThan => PREDEFMETH.PM_EXPRESSION_LESSTHAN_USER_DEFINED, 644ExpressionKind.GreaterThanOrEqual => PREDEFMETH.PM_EXPRESSION_GREATERTHANOREQUAL_USER_DEFINED, 645ExpressionKind.GreaterThan => PREDEFMETH.PM_EXPRESSION_GREATERTHAN_USER_DEFINED, 674PREDEFMETH pdm = bChecked ? PREDEFMETH.PM_EXPRESSION_CONVERTCHECKED : PREDEFMETH.PM_EXPRESSION_CONVERT; 685return GenerateCall(PREDEFMETH.PM_EXPRESSION_CONVERT, Visit(pArgument), pStrippedTypeExpr); 711target = GenerateCall(PREDEFMETH.PM_EXPRESSION_CONVERT, target, typeofNubEnum); 725PREDEFMETH pdmInner = arg.isChecked() ? PREDEFMETH.PM_EXPRESSION_CONVERTCHECKED_USER_DEFINED : PREDEFMETH.PM_EXPRESSION_CONVERT_USER_DEFINED; 733PREDEFMETH pdmOuter = arg.isChecked() ? PREDEFMETH.PM_EXPRESSION_CONVERTCHECKED : PREDEFMETH.PM_EXPRESSION_CONVERT; 793return GenerateCall(PREDEFMETH.PM_EXPRESSION_PARAMETER, pTypeOf, nameString); 797private static MethodSymbol GetPreDefMethod(PREDEFMETH pdm) => PredefinedMembers.GetMethod(pdm); 838return GenerateCall(PREDEFMETH.PM_EXPRESSION_NEW, constructorInfo, Params); 885return GenerateCall(PREDEFMETH.PM_EXPRESSION_CONSTANT_OBJECT_TYPE, expr, pTypeOf); 897return GenerateCall(PREDEFMETH.PM_EXPRESSION_CONSTANT_OBJECT_TYPE, cast, pTypeOf2); 901private static ExprCall GenerateCall(PREDEFMETH pdm, Expr arg1) 917private static ExprCall GenerateCall(PREDEFMETH pdm, Expr arg1, Expr arg2) 932private static ExprCall GenerateCall(PREDEFMETH pdm, Expr arg1, Expr arg2, Expr arg3) 947private static ExprCall GenerateCall(PREDEFMETH pdm, Expr arg1, Expr arg2, Expr arg3, Expr arg4) 1005new1 = GenerateCall(PREDEFMETH.PM_EXPRESSION_CONVERT, new1, CreateTypeOf(nubfptype1)); 1011new2 = GenerateCall(PREDEFMETH.PM_EXPRESSION_CONVERT, new2, CreateTypeOf(nubfptype2));