Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Union case

InvalidUtf8

case InvalidUtf8

Containing type: FileReadError
Module: System.Storage
Assembly: System.Runtime.dll

Inheritance: Object → ValueType → InvalidUtf8

File bytes are not valid UTF-8.

Constructors

1 item
InvalidUtf8() Constructs the InvalidUtf8 case.

Methods

5 items
Equals(other: object?) -> bool Tests reference identity by default; an ordinary class may override equality. Inherited from Object.Equals
Extension member: FormatError() -> string Formats up to 64 error layers and one existing trace; never captures a stack. A longer or cyclic chain ends with a truncation marker. Messages are not machine codes. Extension from ErrorFormattingExtensions.FormatError
GetHashCode() -> int Returns a stable identity hash by default; an ordinary class may override it consistently with equality. Inherited from Object.GetHashCode
GetType() -> TypeInfo Returns metadata for the concrete runtime type of this instance. Inherited from Object.GetType
ToString() -> string No summary available. Overrides Object.ToString