Description
GetSchema should return null according to IXmlSerializable guidance and should not be abstract.Bad Code
Good Code
Properties
- Category: Usage
- Severity: Error
- Enabled by default: True
- Code fix available: True
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
GetSchema should return null according to IXmlSerializable guidance
XmlSchema? IXmlSerializable.GetSchema() => new XmlSchema();
XmlSchema? IXmlSerializable.GetSchema() => null;
dotnet_diagnostic.AL0008.severity = warning
Was this page helpful?
