4 references to DeclareLocal
System.Runtime.Serialization (4)
System\Runtime\Serialization\BitFlagsGenerator.cs (1)
27
locals[i] = ilg.
DeclareLocal
(typeof(byte), localName + i, (byte) 0);
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (1)
376
LocalBuilder memberIndexLocal = ilg.
DeclareLocal
(Globals.TypeOfInt, "memberIndex", -1);
System\Runtime\Serialization\XmlFormatReaderGenerator.cs (2)
364
LocalBuilder memberIndexLocal = ilg.
DeclareLocal
(Globals.TypeOfInt, "memberIndex", -1);
369
LocalBuilder requiredIndexLocal = hasRequiredMembers ? ilg.
DeclareLocal
(Globals.TypeOfInt, "requiredIndex", firstRequiredMember) : null;