79 references to DeclareLocal
System.Runtime.Serialization (79)
System\Runtime\Serialization\BitFlagsGenerator.cs (1)
73
LocalBuilder localArray = ilg.
DeclareLocal
(Globals.TypeOfByteArray, "localArray");
System\Runtime\Serialization\CodeGenerator.cs (7)
294
LocalBuilder local =
DeclareLocal
(type, name);
847
LocalBuilder zero =
DeclareLocal
(type, "zero");
1760
LocalBuilder topValue =
DeclareLocal
(Globals.TypeOfString, "topValue");
1798
LocalBuilder arrayVar =
DeclareLocal
(type, "arrayVar");
1801
LocalBuilder arrayValueString =
DeclareLocal
(typeof(string), "arrayValueString");
1803
LocalBuilder i =
DeclareLocal
(typeof(int), "i");
1896
stringFormatArray =
DeclareLocal
(typeof(object[]), "stringFormatArray");
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (20)
268
objectLocal = ilg.
DeclareLocal
(type, "objectDeserialized");
348
LocalBuilder extensionDataLocal = ilg.
DeclareLocal
(Globals.TypeOfExtensionDataObject, "extensionData");
432
value = ilg.
DeclareLocal
(memberType, dataMember.Name + "Value");
466
LocalBuilder localArray = ilg.
DeclareLocal
(Globals.TypeOfByteArray, name);
520
LocalBuilder value = ilg.
DeclareLocal
(type, "valueRead");
532
LocalBuilder objectId = ilg.
DeclareLocal
(Globals.TypeOfString, "objectIdRead");
566
value = ilg.
DeclareLocal
(type, "innerValueRead");
671
objectLocal = ilg.
DeclareLocal
(type, "objectDeserialized");
700
LocalBuilder objectId = ilg.
DeclareLocal
(Globals.TypeOfString, "objectIdRead");
714
growingCollection = ilg.
DeclareLocal
(type, "growingCollection");
718
LocalBuilder i = ilg.
DeclareLocal
(Globals.TypeOfInt, "i");
807
LocalBuilder nodeType = ilg.
DeclareLocal
(typeof(XmlNodeType), "nodeType");
841
LocalBuilder pairKey = ilg.
DeclareLocal
(keyType, "key");
845
LocalBuilder pairKeyNullable = ilg.
DeclareLocal
(keyTypeOriginal, "keyOriginal");
862
LocalBuilder size = ilg.
DeclareLocal
(Globals.TypeOfInt, "arraySize");
864
objectLocal = ilg.
DeclareLocal
(type, "objectDeserialized");
906
LocalBuilder i = ilg.
DeclareLocal
(Globals.TypeOfInt, "i");
997
LocalBuilder value = ilg.
DeclareLocal
(itemType, "valueRead");
1025
LocalBuilder pairKey = ilg.
DeclareLocal
(keyMember.MemberType, keyMember.Name);
1026
LocalBuilder pairValue = ilg.
DeclareLocal
(valueMember.MemberType, valueMember.Name);
System\Runtime\Serialization\Json\JsonFormatWriterGenerator.cs (14)
171
objectLocal = ilg.
DeclareLocal
(objType, "objSerialized");
268
LocalBuilder extensionDataLocal = ilg.
DeclareLocal
(Globals.TypeOfExtensionDataObject, "extensionData");
345
LocalBuilder memberValue = ilg.
DeclareLocal
(member.MemberType, member.Name + "Value");
352
LocalBuilder itemName = ilg.
DeclareLocal
(typeof(XmlDictionaryString), "itemName");
360
LocalBuilder i = ilg.
DeclareLocal
(Globals.TypeOfInt, "i");
372
LocalBuilder memberValue = ilg.
DeclareLocal
(itemType, "memberValue");
458
LocalBuilder currentValue = ilg.
DeclareLocal
(elementType, "currentValue");
460
LocalBuilder enumerator = ilg.
DeclareLocal
(enumeratorType, "enumerator");
488
LocalBuilder pairKey = ilg.
DeclareLocal
(Globals.TypeOfString, "key");
489
LocalBuilder pairValue = ilg.
DeclareLocal
(keyValueTypes[1], "value");
663
memberValue = ilg.
DeclareLocal
(memberType, "memberValueRefPointer");
712
memberValue = ilg.
DeclareLocal
(Globals.TypeOfObject, "unwrappedMemberValue");
735
LocalBuilder typeHandleValue = ilg.
DeclareLocal
(typeof(RuntimeTypeHandle), "typeHandleValue");
762
memberValue = ilg.
DeclareLocal
(memberType, "nullableUnwrappedMemberValue");
System\Runtime\Serialization\XmlDataContract.cs (1)
360
System.Reflection.Emit.LocalBuilder local = ilg.
DeclareLocal
(type, type.Name + "Value");
System\Runtime\Serialization\XmlFormatReaderGenerator.cs (19)
149
objectId = ilg.
DeclareLocal
(Globals.TypeOfString, "objectIdRead");
261
objectLocal = ilg.
DeclareLocal
(type, "objectDeserialized");
341
LocalBuilder extensionDataLocal = ilg.
DeclareLocal
(Globals.TypeOfExtensionDataObject, "extensionData");
422
value = ilg.
DeclareLocal
(memberType, dataMember.Name + "Value");
476
LocalBuilder value = ilg.
DeclareLocal
(type, "valueRead");
488
LocalBuilder objectId = ilg.
DeclareLocal
(Globals.TypeOfString, "objectIdRead");
522
value = ilg.
DeclareLocal
(type, "innerValueRead");
630
objectLocal = ilg.
DeclareLocal
(type, "objectDeserialized");
646
LocalBuilder size = ilg.
DeclareLocal
(Globals.TypeOfInt, "arraySize");
650
LocalBuilder objectId = ilg.
DeclareLocal
(Globals.TypeOfString, "objectIdRead");
666
growingCollection = ilg.
DeclareLocal
(type, "growingCollection");
670
LocalBuilder i = ilg.
DeclareLocal
(Globals.TypeOfInt, "i");
711
LocalBuilder j = ilg.
DeclareLocal
(Globals.TypeOfInt, "j");
743
objectLocal = ilg.
DeclareLocal
(type, "objectDeserialized");
756
LocalBuilder size = ilg.
DeclareLocal
(Globals.TypeOfInt, "arraySize");
766
LocalBuilder i = ilg.
DeclareLocal
(Globals.TypeOfInt, "i");
849
LocalBuilder value = ilg.
DeclareLocal
(itemType, "valueRead");
876
LocalBuilder pairKey = ilg.
DeclareLocal
(keyMember.MemberType, keyMember.Name);
877
LocalBuilder pairValue = ilg.
DeclareLocal
(valueMember.MemberType, valueMember.Name);
System\Runtime\Serialization\XmlFormatWriterGenerator.cs (17)
167
objectLocal = ilg.
DeclareLocal
(objType, "objSerialized");
261
contractNamespacesLocal = ilg.
DeclareLocal
(typeof(XmlDictionaryString[]), "contractNamespaces");
267
memberNamesLocal = ilg.
DeclareLocal
(typeof(XmlDictionaryString[]), "memberNames");
276
childElementNamespacesLocal = ilg.
DeclareLocal
(typeof(XmlDictionaryString[]), "childElementNamespaces");
285
LocalBuilder extensionDataLocal = ilg.
DeclareLocal
(Globals.TypeOfExtensionDataObject, "extensionData");
304
LocalBuilder namespaceLocal = ilg.
DeclareLocal
(typeof(XmlDictionaryString), "ns");
369
LocalBuilder memberValue = ilg.
DeclareLocal
(member.MemberType, member.Name + "Value");
376
LocalBuilder itemNamespace = ilg.
DeclareLocal
(typeof(XmlDictionaryString), "itemNamespace");
381
LocalBuilder itemName = ilg.
DeclareLocal
(typeof(XmlDictionaryString), "itemName");
397
LocalBuilder i = ilg.
DeclareLocal
(Globals.TypeOfInt, "i");
408
LocalBuilder memberValue = ilg.
DeclareLocal
(itemType, "memberValue");
494
LocalBuilder currentValue = ilg.
DeclareLocal
(elementType, "currentValue");
496
LocalBuilder enumerator = ilg.
DeclareLocal
(enumeratorType, "enumerator");
640
memberValue = ilg.
DeclareLocal
(memberType, "memberValueRefPointer");
689
memberValue = ilg.
DeclareLocal
(Globals.TypeOfObject, "unwrappedMemberValue");
712
LocalBuilder typeHandleValue = ilg.
DeclareLocal
(typeof(RuntimeTypeHandle), "typeHandleValue");
740
memberValue = ilg.
DeclareLocal
(memberType, "nullableUnwrappedMemberValue");