This repository was archived by the owner on Jan 23, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -240,7 +240,7 @@ public bool TryCopyTo(Span<T> destination)
240240 /// Always thrown by this method.
241241 /// </exception>
242242 /// </summary>
243- [ Obsolete( "Equals() on Span will always throw an exception. Use == instead." ) ]
243+ [ Obsolete( "Equals() on ReadOnlySpan will always throw an exception. Use == instead." ) ]
244244 [ EditorBrowsable ( EditorBrowsableState . Never ) ]
245245 public override bool Equals( object obj )
246246 {
@@ -253,7 +253,7 @@ public override bool Equals(object obj)
253253 /// Always thrown by this method.
254254 /// </exception>
255255 /// </summary>
256- [ Obsolete ( "GetHashCode() on Span will always throw an exception." ) ]
256+ [ Obsolete ( "GetHashCode() on ReadOnlySpan will always throw an exception." ) ]
257257 [ EditorBrowsable ( EditorBrowsableState . Never ) ]
258258 public override int GetHashCode( )
259259 {
Original file line number Diff line number Diff line change @@ -244,7 +244,6 @@ internal RuntimeType GetRuntimeType()
244244 [ MethodImplAttribute ( MethodImplOptions . InternalCall ) ]
245245 internal extern static RuntimeModule GetModule ( RuntimeType type ) ;
246246
247- [ CLSCompliant ( false ) ]
248247 public ModuleHandle GetModuleHandle ( )
249248 {
250249 return new ModuleHandle ( RuntimeTypeHandle . GetModule ( m_type ) ) ;
You can’t perform that action at this time.
0 commit comments