mirror of
https://github.com/VSadov/Satori.git
synced 2025-06-09 17:44:48 +09:00
Reserving two diagnostic codes for serialization work (#84439)
This commit is contained in:
parent
a2929e8533
commit
dd44d52b91
2 changed files with 8 additions and 0 deletions
|
@ -104,6 +104,8 @@ The PR that reveals the implementation of the `<IncludeInternalObsoleteAttribute
|
|||
| __`SYSLIB0047`__ | XmlSecureResolver is obsolete. Use XmlResolver.ThrowingResolver instead when attempting to forbid XML external entity resolution. |
|
||||
| __`SYSLIB0048`__ | RSA.EncryptValue and DecryptValue are not supported and throw NotSupportedException. Use RSA.Encrypt and RSA.Decrypt instead. |
|
||||
| __`SYSLIB0049`__ | JsonSerializerOptions.AddContext is obsolete. To register a JsonSerializerContext, use either the TypeInfoResolver or TypeInfoResolverChain properties. |
|
||||
| __`SYSLIB0050`__ | (reserved for serialization work) |
|
||||
| __`SYSLIB0051`__ | (reserved for serialization work) |
|
||||
|
||||
## Analyzer Warnings
|
||||
|
||||
|
|
|
@ -159,5 +159,11 @@ namespace System
|
|||
|
||||
internal const string JsonSerializerOptionsAddContextMessage = "JsonSerializerOptions.AddContext is obsolete. To register a JsonSerializerContext, use either the TypeInfoResolver or TypeInfoResolverChain properties.";
|
||||
internal const string JsonSerializerOptionsAddContextDiagId = "SYSLIB0049";
|
||||
|
||||
internal const string LegacyFormatterMessage = "(reserved for serialization work)";
|
||||
internal const string LegacyFormatterDiagId = "SYSLIB0050";
|
||||
|
||||
internal const string LegacyFormatterImplMessage = "(reserved for serialization work)";
|
||||
internal const string LegacyFormatterImplDiagId = "SYSLIB0051";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue