Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port FxCop rule CA2236: CallBaseClassMethodsOnISerializableTypes #548

Closed
Tracked by #61964
ghost opened this issue Nov 21, 2015 · 1 comment
Closed
Tracked by #61964

Port FxCop rule CA2236: CallBaseClassMethodsOnISerializableTypes #548

ghost opened this issue Nov 21, 2015 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 21, 2015

Title: Call base class methods on ISerializable types

Description:

To fix a violation of this rule, call the base type GetObjectData method or serialization constructor from the corresponding derived type method or constructor.

Dependency: IOperation

Notes:

@jeffhandley
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants