All rules
CA1420Portability and interoperability Enabled by default: As warning
Property, type, or attribute requires runtime marshalling
Property, type, or attribute requires runtime marshalling
Microsoft docsDescription
Using features that require runtime marshalling when runtime marshalling is disabled will result in runtime exceptions.
Cause
A code feature is used that requires runtime marshalling, and runtime marshalling is explicitly disabled.
How to fix violations
Enable runtime marshalling or remove the code that requires runtime marshalling.
When to suppress
Don't suppress a warning from this rule.
Your vote
Group results
0 yes 0 no
ConsensusNone (disabled)
Severity preference (yes voters)
Suggestion0
Warning0
Error0