37 references to Ldc
System.Private.Xml (37)
System\Xml\Serialization\CodeGenerator.cs (11)
285
Ldc
(1);
434
Ldc
(len);
437
Ldc
(len);
748
Ldc
(0);
793
Ldc
(Convert.ToInt32(o, CultureInfo.InvariantCulture));
796
Ldc
((int)o);
799
Ldc
((int)(uint)o);
822
Ldc
(bits[0]); // digit
823
Ldc
(bits[1]); // digit
824
Ldc
(bits[2]); // digit
826
Ldc
((byte)((bits[3] >> 16) & 0xFF)); // decimal location
System\Xml\Serialization\XmlSerializationReaderILGen.cs (14)
575
ilg.
Ldc
(0);
626
ilg.
Ldc
(i);
1675
ilg.
Ldc
(0);
1943
ilg.
Ldc
(5);
2159
ilg.
Ldc
(0);
2167
ilg.
Ldc
(0);
2271
ilg.
Ldc
(XmlNodeType_Element);
2513
ilg.
Ldc
(cases);
2587
ilg.
Ldc
(cases);
2763
ilg.
Ldc
(1);
3424
ilg.
Ldc
(XmlNodeType_EndElement);
3429
ilg.
Ldc
(XmlNodeType_None);
3610
ilg.
Ldc
(int.Parse(match.Groups["index"].Value, CultureInfo.InvariantCulture));
3623
ilg.
Ldc
(int.Parse(match.Groups["index"].Value, CultureInfo.InvariantCulture));
System\Xml\Serialization\XmlSerializationWriterILGen.cs (12)
412
ilg.
Ldc
(xmlnsMember);
443
ilg.
Ldc
(i);
451
ilg.
Ldc
(specifiedPosition);
499
ilg.
Ldc
(i);
507
ilg.
Ldc
(specifiedPosition);
675
ilg.
Ldc
(i);
688
ilg.
Ldc
(i);
1240
ilg.
Ldc
(0);
1269
ilg.
Ldc
(0);
1329
ilg.
Ldc
(0);
2128
ilg.
Ldc
(0);
2484
ilg.
Ldc
(0);