1 write to helper
System.Runtime.Serialization (1)
System\Runtime\Serialization\PrimitiveDataContract.cs (1)
31
helper
= base.Helper as PrimitiveDataContractCriticalHelper;
11 references to helper
System.Runtime.Serialization (11)
System\Runtime\Serialization\PrimitiveDataContract.cs (11)
78
if (
helper
.XmlFormatWriterMethod == null)
81
helper
.XmlFormatWriterMethod = typeof(XmlWriterDelegator).GetMethod(WriteMethodName, Globals.ScanAllMembers, null, new Type[] { UnderlyingType, typeof(XmlDictionaryString), typeof(XmlDictionaryString) }, null);
83
helper
.XmlFormatWriterMethod = typeof(XmlObjectSerializerWriteContext).GetMethod(WriteMethodName, Globals.ScanAllMembers, null, new Type[] { typeof(XmlWriterDelegator), UnderlyingType, typeof(XmlDictionaryString), typeof(XmlDictionaryString) }, null);
85
return
helper
.XmlFormatWriterMethod;
96
if (
helper
.XmlFormatContentWriterMethod == null)
99
helper
.XmlFormatContentWriterMethod = typeof(XmlWriterDelegator).GetMethod(WriteMethodName, Globals.ScanAllMembers, null, new Type[] { UnderlyingType }, null);
101
helper
.XmlFormatContentWriterMethod = typeof(XmlObjectSerializerWriteContext).GetMethod(WriteMethodName, Globals.ScanAllMembers, null, new Type[] { typeof(XmlWriterDelegator), UnderlyingType }, null);
103
return
helper
.XmlFormatContentWriterMethod;
114
if (
helper
.XmlFormatReaderMethod == null)
116
helper
.XmlFormatReaderMethod = typeof(XmlReaderDelegator).GetMethod(ReadMethodName, Globals.ScanAllMembers);
118
return
helper
.XmlFormatReaderMethod;