此浏览器不再受支持。
请升级到 Microsoft Edge 以使用最新的功能、安全更新和技术支持。
“type1”:ref 类不能从“type1”继承
System::ValueType 不能作为引用类型的基类。
System::ValueType
以下示例生成 C3050:
// C3050.cpp // compile with: /clr /LD ref struct X : System::ValueType {}; // C3050 ref struct Y {}; // OK
此页面是否有帮助?