82 references to XmlFormatGeneratorStatics
dotnet-svcutil-lib (82)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlFormatReaderGenerator.cs (45)
111_ilg.Call(_contextArg, XmlFormatGeneratorStatics.AddNewObjectMethod, _objectLocal); 128_ilg.Call(XmlFormatGeneratorStatics.GetDateTimeOffsetMethod); 229_ilg.Call(null, XmlFormatGeneratorStatics.GetUninitializedObjectMethod, DataContract.GetIdForInitialization(classContract)); 244_ilg.LoadMember(XmlFormatGeneratorStatics.GetStreamingContextMethod); 258_ilg.LoadMember(XmlFormatGeneratorStatics.GetStreamingContextMethod); 272_ilg.Call(_contextArg, XmlFormatGeneratorStatics.IncrementItemCountMethod, memberCount); 282_ilg.Call(null, XmlFormatGeneratorStatics.MoveToNextElementMethod, _xmlReaderArg); 285_ilg.Call(_contextArg, XmlFormatGeneratorStatics.GetMemberIndexWithRequiredMembersMethod, _xmlReaderArg, _memberNamesArg, _memberNamespacesArg, memberIndexLocal, requiredIndexLocal, extensionDataLocal); 287_ilg.Call(_contextArg, XmlFormatGeneratorStatics.GetMemberIndexMethod, _xmlReaderArg, _memberNamesArg, _memberNamespacesArg, memberIndexLocal, extensionDataLocal); 295_ilg.Call(null, XmlFormatGeneratorStatics.ThrowRequiredMemberMissingExceptionMethod, _xmlReaderArg, memberIndexLocal, requiredIndexLocal, _memberNamesArg); 327_ilg.Call(_contextArg, XmlFormatGeneratorStatics.StoreCollectionMemberInfoMethod, value); 394_ilg.Call(_contextArg, XmlFormatGeneratorStatics.ReadAttributesMethod, _xmlReaderArg); 395_ilg.Call(_contextArg, XmlFormatGeneratorStatics.ReadIfNullOrRefMethod, _xmlReaderArg, type, DataContract.IsTypeSerializable(type)); 416_ilg.Call(_contextArg, XmlFormatGeneratorStatics.GetObjectIdMethod); 435_ilg.Call(_contextArg, XmlFormatGeneratorStatics.AddNewObjectMethod, value); 447_ilg.Call(_contextArg, XmlFormatGeneratorStatics.GetExistingObjectMethod, objectId, type, name, ns); 478_ilg.Call(XmlFormatGeneratorStatics.InternalDeserializeMethod); 516constructor = XmlFormatGeneratorStatics.HashtableCtor; 544_ilg.Call(_contextArg, XmlFormatGeneratorStatics.AddNewObjectMethod, _objectLocal); 549_ilg.Call(_contextArg, XmlFormatGeneratorStatics.GetArraySizeMethod); 553_ilg.Call(_contextArg, XmlFormatGeneratorStatics.GetObjectIdMethod); 576_ilg.Call(_contextArg, XmlFormatGeneratorStatics.IncrementItemCountMethod, 1); 580MethodInfo ensureArraySizeMethod = XmlFormatGeneratorStatics.EnsureArraySizeMethod.MakeGenericMethod(itemType); 599MethodInfo trimArraySizeMethod = XmlFormatGeneratorStatics.TrimArraySizeMethod.MakeGenericMethod(itemType); 602_ilg.Call(_contextArg, XmlFormatGeneratorStatics.AddNewObjectWithIdMethod, objectId, _objectLocal); 606_ilg.Call(_contextArg, XmlFormatGeneratorStatics.IncrementItemCountMethod, size); 611_ilg.Call(_contextArg, XmlFormatGeneratorStatics.AddNewObjectMethod, _objectLocal); 626_ilg.Call(_contextArg, XmlFormatGeneratorStatics.CheckEndOfArrayMethod, _xmlReaderArg, size, _memberNamesArg, _memberNamespacesArg); 632_ilg.Call(_contextArg, XmlFormatGeneratorStatics.AddNewObjectWithIdMethod, objectId, _objectLocal); 647_ilg.LoadMember(XmlFormatGeneratorStatics.GetCollectionMemberMethod); 655_ilg.Call(null, XmlFormatGeneratorStatics.ThrowNullValueReturnedForGetOnlyCollectionExceptionMethod, type); 662_ilg.Call(XmlFormatGeneratorStatics.GetArrayLengthMethod); 666_ilg.Call(_contextArg, XmlFormatGeneratorStatics.AddNewObjectMethod, _objectLocal); 672_ilg.Call(_contextArg, XmlFormatGeneratorStatics.IncrementItemCountMethod, 1); 677_ilg.Call(null, XmlFormatGeneratorStatics.ThrowArrayExceededSizeExceptionMethod, size, type); 693_ilg.Call(_contextArg, XmlFormatGeneratorStatics.CheckEndOfArrayMethod, _xmlReaderArg, size, _memberNamesArg, _memberNamespacesArg); 750_ilg.Call(_contextArg, XmlFormatGeneratorStatics.ResetAttributesMethod); 753_ilg.Call(XmlFormatGeneratorStatics.GetItemContractMethod); 756_ilg.Call(XmlFormatGeneratorStatics.ReadXmlValueMethod); 803_ilg.Call(_contextArg, XmlFormatGeneratorStatics.SkipUnknownElementMethod, _xmlReaderArg); 812_ilg.Call(_xmlReaderArg, XmlFormatGeneratorStatics.IsStartElementMethod2, nameArg, nsArg); 817_ilg.Call(_xmlReaderArg, XmlFormatGeneratorStatics.IsStartElementMethod0); 823_ilg.LoadMember(XmlFormatGeneratorStatics.NodeTypeProperty); 830_ilg.Call(null, XmlFormatGeneratorStatics.CreateUnexpectedStateExceptionMethod, expectedState, _xmlReaderArg); 846_ilg.Call(XmlFormatGeneratorStatics.CreateSerializationExceptionMethod);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlFormatWriterGenerator.cs (37)
145_ilg.Call(XmlFormatGeneratorStatics.GetDateTimeOffsetAdapterMethod); 170_ilg.Call(XmlFormatGeneratorStatics.GetStreamingContextMethod); 183_ilg.Call(XmlFormatGeneratorStatics.GetStreamingContextMethod); 197_ilg.LoadMember(XmlFormatGeneratorStatics.ContractNamespacesField); 203_ilg.LoadMember(XmlFormatGeneratorStatics.MemberNamesField); 212_ilg.LoadMember(XmlFormatGeneratorStatics.ChildElementNamespacesProperty); 231_ilg.LoadMember(XmlFormatGeneratorStatics.NamespaceProperty); 237_ilg.Call(_contextArg, XmlFormatGeneratorStatics.IncrementItemCountMethod, classContract.Members.Count); 247_ilg.Call(XmlFormatGeneratorStatics.StoreIsGetOnlyCollectionMethod); 262_ilg.Call(XmlFormatGeneratorStatics.WriteNamespaceDeclMethod); 274_ilg.Call(null, XmlFormatGeneratorStatics.ThrowRequiredMemberMustBeEmittedMethod, member.Name, classContract.UnderlyingType); 298_ilg.LoadMember(XmlFormatGeneratorStatics.NamespaceProperty); 303_ilg.LoadMember(XmlFormatGeneratorStatics.CollectionItemNameProperty); 310_ilg.LoadMember(XmlFormatGeneratorStatics.ChildElementNamespaceProperty); 311_ilg.Call(XmlFormatGeneratorStatics.WriteNamespaceDeclMethod); 319_ilg.Call(_contextArg, XmlFormatGeneratorStatics.IncrementArrayCountMethod, _xmlWriterArg, _objectLocal); 344incrementCollectionCountMethod = XmlFormatGeneratorStatics.IncrementCollectionCountMethod; 348incrementCollectionCountMethod = XmlFormatGeneratorStatics.IncrementCollectionCountGenericMethod.MakeGenericMethod(collectionContract.ItemType); 351incrementCollectionCountMethod = XmlFormatGeneratorStatics.IncrementCollectionCountGenericMethod.MakeGenericMethod(Globals.TypeOfKeyValuePair.MakeGenericType(collectionContract.ItemType.GetGenericArguments())); 385moveNextMethod = XmlFormatGeneratorStatics.MoveNextMethod; 387getCurrentMethod = XmlFormatGeneratorStatics.GetCurrentMethod; 421_ilg.New(XmlFormatGeneratorStatics.DictionaryEnumeratorCtor); 435_ilg.Call(_contextArg, XmlFormatGeneratorStatics.IncrementItemCountMethod, 1); 443_ilg.Call(_dataContractArg, XmlFormatGeneratorStatics.GetItemContractMethod); 448_ilg.Call(XmlFormatGeneratorStatics.WriteXmlValueMethod); 562InternalSerialize(XmlFormatGeneratorStatics.InternalSerializeMethod, memberValue, memberType, writeXsiType); 578_ilg.Call(_contextArg, XmlFormatGeneratorStatics.WriteNullMethod, _xmlWriterArg, memberType, DataContract.IsTypeSerializable(memberType)); 604_ilg.Call(_contextArg, XmlFormatGeneratorStatics.WriteNullMethod, _xmlWriterArg, memberType, DataContract.IsTypeSerializable(memberType)); 607InternalSerialize((isNullableOfT ? XmlFormatGeneratorStatics.InternalSerializeMethod : XmlFormatGeneratorStatics.InternalSerializeReferenceMethod), 626_ilg.Call(null, XmlFormatGeneratorStatics.IsMemberTypeSameAsMemberValue, memberValue, memberType); 644_ilg.Call(XmlFormatGeneratorStatics.GetHasValueMethod.MakeGenericMethod(innerType)); 646_ilg.Call(XmlFormatGeneratorStatics.GetNullableValueMethod.MakeGenericMethod(innerType)); 655_ilg.Call(XmlFormatGeneratorStatics.GetDefaultValueMethod.MakeGenericMethod(memberType)); 684_ilg.Call(needsPrefix ? XmlFormatGeneratorStatics.WriteStartElementMethod3 : XmlFormatGeneratorStatics.WriteStartElementMethod2); 689_ilg.Call(_xmlWriterArg, XmlFormatGeneratorStatics.WriteEndElementMethod);