<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />

XProcessingInstructionWrapper

using System.Runtime.CompilerServices; using System.Xml.Linq; namespace Newtonsoft.Json.Converters { [System.Runtime.CompilerServices.NullableContext(2)] [System.Runtime.CompilerServices.Nullable(0)] internal class XProcessingInstructionWrapper : XObjectWrapper { [System.Runtime.CompilerServices.Nullable(1)] private XProcessingInstruction ProcessingInstruction { [System.Runtime.CompilerServices.NullableContext(1)] get { return (XProcessingInstruction)base.WrappedNode; } } public override string LocalName => ProcessingInstruction.Target; public override string Value { get { return ProcessingInstruction.Data; } set { ProcessingInstruction.Data = value; } } [System.Runtime.CompilerServices.NullableContext(1)] public XProcessingInstructionWrapper(XProcessingInstruction processingInstruction) : base(processingInstruction) { } } }