/// Always thrown by this method.
/// </exception>
/// </summary>
- [Obsolete("Equals() on Span will always throw an exception. Use == instead.")]
+ [Obsolete("Equals() on ReadOnlySpan will always throw an exception. Use == instead.")]
[EditorBrowsable(EditorBrowsableState.Never)]
public override bool Equals(object obj)
{
/// Always thrown by this method.
/// </exception>
/// </summary>
- [Obsolete("GetHashCode() on Span will always throw an exception.")]
+ [Obsolete("GetHashCode() on ReadOnlySpan will always throw an exception.")]
[EditorBrowsable(EditorBrowsableState.Never)]
public override int GetHashCode()
{
[MethodImplAttribute(MethodImplOptions.InternalCall)]
internal extern static RuntimeModule GetModule(RuntimeType type);
- [CLSCompliant(false)]
public ModuleHandle GetModuleHandle()
{
return new ModuleHandle(RuntimeTypeHandle.GetModule(m_type));