当我尝试进行隐式转换时,会出现以下错误:
Cannot implicitly convert type 'System.Array' to 'System.Collections.Immutable.ImmutableArray<Type>'
当我尝试进行显式类型转换时,出现以下错误:
Cannot convert type 'System.Array' to 'System.Collections.Immutable.ImmutableArray'
Cannot convert to static type 'System.Collections.Immutable.ImmutableArray'
ImmutableArray
和ImmutableArray<T>
搞混了,但是因为你没有展示任何代码,所以很难说。 - user5090812