'Is IL instruction "cpobj" applicable for reference types?

Microsoft Docs says:

The behavior of cpobj is unspecified if ……, or if classTok does not represent a value type.

But ECMA 335 says:

If typeTok is a reference type, the cpobj instruction has the same effect as ldind.ref followed by stind.ref.

Which is correct?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source