75 references to DeclareLocal
System.Private.DataContractSerialization (75)
System\Runtime\Serialization\BitFlagsGenerator.cs (1)
71LocalBuilder localArray = _ilg.DeclareLocal(Globals.TypeOfByteArray);
System\Runtime\Serialization\CodeGenerator.cs (3)
192LocalBuilder local = DeclareLocal(type); 662LocalBuilder zero = DeclareLocal(type); 1295_stringFormatArray ??= DeclareLocal(typeof(object[]));
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (20)
204_objectLocal = _ilg.DeclareLocal(type); 287LocalBuilder extensionDataLocal = _ilg.DeclareLocal(Globals.TypeOfExtensionDataObject); 377value = _ilg.DeclareLocal(memberType); 412LocalBuilder localArray = _ilg.DeclareLocal(Globals.TypeOfByteArray); 469LocalBuilder value = _ilg.DeclareLocal(type); 481LocalBuilder objectId = _ilg.DeclareLocal(Globals.TypeOfString); 515value = _ilg.DeclareLocal(type); 629_objectLocal = _ilg.DeclareLocal(type); 658LocalBuilder objectId = _ilg.DeclareLocal(Globals.TypeOfString); 672growingCollection = _ilg.DeclareLocal(type); 676LocalBuilder i = _ilg.DeclareLocal(Globals.TypeOfInt); 768LocalBuilder nodeType = _ilg.DeclareLocal(typeof(XmlNodeType)); 802LocalBuilder pairKey = _ilg.DeclareLocal(keyType); 806LocalBuilder pairKeyNullable = _ilg.DeclareLocal(keyTypeOriginal); 825LocalBuilder size = _ilg.DeclareLocal(Globals.TypeOfInt); 827_objectLocal = _ilg.DeclareLocal(type); 873LocalBuilder i = _ilg.DeclareLocal(Globals.TypeOfInt); 967LocalBuilder value = _ilg.DeclareLocal(itemType); 997LocalBuilder pairKey = _ilg.DeclareLocal(keyMember.MemberType); 998LocalBuilder pairValue = _ilg.DeclareLocal(valueMember.MemberType);
System\Runtime\Serialization\Json\JsonFormatWriterGenerator.cs (14)
132_objectLocal = _ilg.DeclareLocal(objType); 213LocalBuilder extensionDataLocal = _ilg.DeclareLocal(Globals.TypeOfExtensionDataObject); 301LocalBuilder memberValue = _ilg.DeclareLocal(member.MemberType); 310LocalBuilder itemName = _ilg.DeclareLocal(typeof(XmlDictionaryString)); 317LocalBuilder i = _ilg.DeclareLocal(Globals.TypeOfInt); 329LocalBuilder memberValue = _ilg.DeclareLocal(itemType); 414LocalBuilder currentValue = _ilg.DeclareLocal(elementType); 416LocalBuilder enumerator = _ilg.DeclareLocal(enumeratorType); 446LocalBuilder pairKey = _ilg.DeclareLocal(Globals.TypeOfString); 447LocalBuilder pairValue = _ilg.DeclareLocal(keyValueTypes[1]); 632memberValue = _ilg.DeclareLocal(memberType); 681memberValue = _ilg.DeclareLocal(Globals.TypeOfObject); 704LocalBuilder typeHandleValue = _ilg.DeclareLocal(typeof(RuntimeTypeHandle)); 734memberValue = _ilg.DeclareLocal(memberType);
System\Runtime\Serialization\XmlDataContract.cs (1)
293System.Reflection.Emit.LocalBuilder local = ilg.DeclareLocal(type);
System\Runtime\Serialization\XmlFormatReaderGenerator.cs (19)
113objectId = _ilg.DeclareLocal(Globals.TypeOfString); 260_objectLocal = _ilg.DeclareLocal(type); 353LocalBuilder extensionDataLocal = _ilg.DeclareLocal(Globals.TypeOfExtensionDataObject); 443value = _ilg.DeclareLocal(memberType); 506LocalBuilder value = _ilg.DeclareLocal(type); 518LocalBuilder objectId = _ilg.DeclareLocal(Globals.TypeOfString); 552value = _ilg.DeclareLocal(type); 667_objectLocal = _ilg.DeclareLocal(type); 683LocalBuilder size = _ilg.DeclareLocal(Globals.TypeOfInt); 687LocalBuilder objectId = _ilg.DeclareLocal(Globals.TypeOfString); 703growingCollection = _ilg.DeclareLocal(type); 707LocalBuilder i = _ilg.DeclareLocal(Globals.TypeOfInt); 749LocalBuilder j = _ilg.DeclareLocal(Globals.TypeOfInt); 783_objectLocal = _ilg.DeclareLocal(type); 796LocalBuilder size = _ilg.DeclareLocal(Globals.TypeOfInt); 806LocalBuilder i = _ilg.DeclareLocal(Globals.TypeOfInt); 895LocalBuilder value = _ilg.DeclareLocal(itemType); 926LocalBuilder pairKey = _ilg.DeclareLocal(keyMember.MemberType); 927LocalBuilder pairValue = _ilg.DeclareLocal(valueMember.MemberType);
System\Runtime\Serialization\XmlFormatWriterGenerator.cs (17)
160_objectLocal = _ilg.DeclareLocal(objType); 247_contractNamespacesLocal = _ilg.DeclareLocal(typeof(XmlDictionaryString[])); 253_memberNamesLocal = _ilg.DeclareLocal(typeof(XmlDictionaryString[])); 262_childElementNamespacesLocal = _ilg.DeclareLocal(typeof(XmlDictionaryString[])); 271LocalBuilder extensionDataLocal = _ilg.DeclareLocal(Globals.TypeOfExtensionDataObject); 294LocalBuilder namespaceLocal = _ilg.DeclareLocal(typeof(XmlDictionaryString)); 367LocalBuilder memberValue = _ilg.DeclareLocal(member.MemberType); 376LocalBuilder itemNamespace = _ilg.DeclareLocal(typeof(XmlDictionaryString)); 381LocalBuilder itemName = _ilg.DeclareLocal(typeof(XmlDictionaryString)); 397LocalBuilder i = _ilg.DeclareLocal(Globals.TypeOfInt); 408LocalBuilder memberValue = _ilg.DeclareLocal(itemType); 493LocalBuilder currentValue = _ilg.DeclareLocal(elementType); 495LocalBuilder enumerator = _ilg.DeclareLocal(enumeratorType); 645memberValue = _ilg.DeclareLocal(memberType); 694memberValue = _ilg.DeclareLocal(Globals.TypeOfObject); 717LocalBuilder typeHandleValue = _ilg.DeclareLocal(typeof(RuntimeTypeHandle)); 747memberValue = _ilg.DeclareLocal(memberType);