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)
67
if (
_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) })!;
74
return
_helper
.XmlFormatWriterMethod;
83
if (
_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 })!;
90
return
_helper
.XmlFormatContentWriterMethod;
95
_helper
.XmlFormatReaderMethod ??= typeof(XmlReaderDelegator).GetMethod(ReadMethodName, Globals.ScanAllMembers)!;