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