37 references to Ldc
System.Private.Xml (37)
System\Xml\Serialization\CodeGenerator.cs (11)
285
Ldc
(1);
435
Ldc
(len);
438
Ldc
(len);
749
Ldc
(0);
794
Ldc
(Convert.ToInt32(o, CultureInfo.InvariantCulture));
797
Ldc
((int)o);
800
Ldc
((int)(uint)o);
823
Ldc
(bits[0]); // digit
824
Ldc
(bits[1]); // digit
825
Ldc
(bits[2]); // digit
827
Ldc
((byte)((bits[3] >> 16) & 0xFF)); // decimal location
System\Xml\Serialization\XmlSerializationReaderILGen.cs (14)
569
ilg.
Ldc
(0);
619
ilg.
Ldc
(i);
1659
ilg.
Ldc
(0);
1923
ilg.
Ldc
(5);
2137
ilg.
Ldc
(0);
2145
ilg.
Ldc
(0);
2248
ilg.
Ldc
(XmlNodeType_Element);
2486
ilg.
Ldc
(cases);
2560
ilg.
Ldc
(cases);
2734
ilg.
Ldc
(1);
3390
ilg.
Ldc
(XmlNodeType_EndElement);
3395
ilg.
Ldc
(XmlNodeType_None);
3572
ilg.
Ldc
(int.Parse(match.Groups["index"].Value, CultureInfo.InvariantCulture));
3585
ilg.
Ldc
(int.Parse(match.Groups["index"].Value, CultureInfo.InvariantCulture));
System\Xml\Serialization\XmlSerializationWriterILGen.cs (12)
399
ilg.
Ldc
(xmlnsMember);
430
ilg.
Ldc
(i);
438
ilg.
Ldc
(specifiedPosition);
486
ilg.
Ldc
(i);
494
ilg.
Ldc
(specifiedPosition);
661
ilg.
Ldc
(i);
674
ilg.
Ldc
(i);
1223
ilg.
Ldc
(0);
1252
ilg.
Ldc
(0);
1312
ilg.
Ldc
(0);
2102
ilg.
Ldc
(0);
2452
ilg.
Ldc
(0);