I use ILMerge with System.Memory.dll, and inside it the type Span<T> was merged out to be marked with Obsolete:
[DebuggerDisplay("{ToString(),raw}")]
[DebuggerDisplay("{ToString(),raw}")]
[DebuggerTypeProxy(typeof(System.SpanDebugView<>))]
[DebuggerTypeProxy(typeof(System.SpanDebugView<>))]
[DefaultMember("Item")]
[Obsolete("Types with embedded references are not supported in this version of your compiler.", true)]
[System.Memory.IsByRefLikeAttribute]
[System.Memory.IsReadOnlyAttribute]
public struct Span<T> { ... }
I use ILMerge with System.Memory.dll, and inside it the type
Span<T>
was merged out to be marked with Obsolete:Origin type is:
Build error:
Can you help me work around this problem?