-
Notifications
You must be signed in to change notification settings - Fork 468
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
Remove CA2229 Implement serialization constructors #6911
Conversation
isDataflowRule: false, | ||
isEnabledByDefaultInFxCopAnalyzers: false);*/ | ||
|
||
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray<DiagnosticDescriptor>.Empty; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This and ImplementSerializationMethodsCorrectly.cs
are not implemented and has empty C#, VB overloads and C#/VB Fixers with overloads, kind of unrelated, but has no effect, I can remove them separately if needed
Codecov Report
@@ Coverage Diff @@
## main #6911 +/- ##
========================================
Coverage 96.40% 96.40%
========================================
Files 1403 1396 -7
Lines 331173 330443 -730
Branches 10903 10891 -12
========================================
- Hits 319258 318560 -698
+ Misses 9182 9155 -27
+ Partials 2733 2728 -5 |
/backport to release/8.0.1xx |
Started backporting to release/8.0.1xx: https://github.com/dotnet/roslyn-analyzers/actions/runs/6102469269 |
CA2229:
Implement serialization constructors
conflicts with SYSLIB0051:Legacy serialization support APIs are obsolete
. As Binary formatters are deprecated in .NET Core CA2229 is also out dated and can be removed.See more details from the issue: dotnet/runtime#90783
Fixes dotnet/runtime#90783
This PR: