问题内容: I can’t compile the following code with latest version VS2017 build 15.5.0, I did not have this problem before. void MyMethod(object objects) { TypedReference.SetTypedReference((TypedReference)objects[0], objects[1]); } 问题评论: 1   Yes, I can reproduce this easily. My guess is that it’s related to the new Span<T> work (github.com/dotnet/csharplang/blob/master/proposals/csharp-7‌​.2/…). That limits boxing and unboxing for certain