在引入比如SingleBase<>类型时,namespace XericLibrary.Runtime.Type可能会与Type类型重名,导致项目会产生报错. 可以通过将 Type 改为 System.Type 来解决这个问题。 或者SingleBase<> 改为 XericLibrary.Runtime.Type.SingleBase<>也行。
SingleBase<>
namespace XericLibrary.Runtime.Type
Type
System.Type
XericLibrary.Runtime.Type.SingleBase<>
No dependencies set.
The note is not visible to the blocked user.
错误 CS0118 “Type”是 命名空间,但此处被当做 类型 来使用 XericLibrary
在引入比如
SingleBase<>类型时,namespace XericLibrary.Runtime.Type可能会与Type类型重名,导致项目会产生报错.可以通过将
Type改为System.Type来解决这个问题。或者
SingleBase<>改为XericLibrary.Runtime.Type.SingleBase<>也行。