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