You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To fix a violation of this rule, make the GetObjectData method visible and overridable, and make sure that all instance fields are included in the serialization process or explicitly marked by using the NonSerializedAttribute attribute.
Dependency: None
Notes:
The text was updated successfully, but these errors were encountered:
This rule will not be ported since we are on a path toward having BinaryFormatter fully deprecated and removed from .NET.
See also: BinaryFormatter Obsoletion Strategy
Title: Implement ISerializable correctly
Description:
To fix a violation of this rule, make the GetObjectData method visible and overridable, and make sure that all instance fields are included in the serialization process or explicitly marked by using the NonSerializedAttribute attribute.
Dependency: None
Notes:
The text was updated successfully, but these errors were encountered: