The IsConstructor property returns false for a ConstructorBuilder object in a dynamic type, unless the MethodAttributes.RTSpecialName flag was included in the attributes parameter when the constructor was defined.

 
  • 对于动态类型的ConstructorBuilder对象;IsConstructor属性返回false;除非定义构造函数时;attributes参数中包括MethodAttributes.;RTSpecialName标志。
今日热词
目录 附录 查词历史