1 write to _helper
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\PrimitiveDataContract.cs (1)
27_helper = (base.Helper as PrimitiveDataContractCriticalHelper)!;
9 references to _helper
System.Private.DataContractSerialization (9)
System\Runtime\Serialization\PrimitiveDataContract.cs (9)
67if (_helper.XmlFormatWriterMethod == null) 70_helper.XmlFormatWriterMethod = typeof(XmlWriterDelegator).GetMethod(WriteMethodName, Globals.ScanAllMembers, new Type[] { UnderlyingType, typeof(XmlDictionaryString), typeof(XmlDictionaryString) })!; 72_helper.XmlFormatWriterMethod = typeof(XmlObjectSerializerWriteContext).GetMethod(WriteMethodName, Globals.ScanAllMembers, new Type[] { typeof(XmlWriterDelegator), UnderlyingType, typeof(XmlDictionaryString), typeof(XmlDictionaryString) })!; 74return _helper.XmlFormatWriterMethod; 83if (_helper.XmlFormatContentWriterMethod == null) 86_helper.XmlFormatContentWriterMethod = typeof(XmlWriterDelegator).GetMethod(WriteMethodName, Globals.ScanAllMembers, new Type[] { UnderlyingType })!; 88_helper.XmlFormatContentWriterMethod = typeof(XmlObjectSerializerWriteContext).GetMethod(WriteMethodName, Globals.ScanAllMembers, new Type[] { typeof(XmlWriterDelegator), UnderlyingType })!; 90return _helper.XmlFormatContentWriterMethod; 95_helper.XmlFormatReaderMethod ??= typeof(XmlReaderDelegator).GetMethod(ReadMethodName, Globals.ScanAllMembers)!;