14 references to Ldc
dotnet-svcutil-lib (14)
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeGenerator.cs (2)
936
Ldc
(obj);
1131
Ldc
(((IConvertible)o).ToType(Enum.GetUnderlyingType(valueType), null));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationILGen.cs (2)
250
ilg.
Ldc
(type);
456
ilg.
Ldc
(type);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriterILGen.cs (10)
225
ilg.
Ldc
(Enum.Parse(mapping.TypeDesc.Type, enumDefaultValue, false));
649
ilg.
Ldc
(Enum.ToObject(mapping.TypeDesc.Type, c.Value));
664
ilg.
Ldc
(retValues[i]);
714
ilg.
Ldc
(retValues[i]);
2257
ilg.
Ldc
(Convert.ChangeType(value, source.Type, CultureInfo.InvariantCulture));
2264
ilg.
Ldc
(value);
2494
ilg.
Ldc
(Enum.Parse(type, memberName, false));
2576
ilg.
Ldc
(type);
2661
ilg.
Ldc
(type);
2670
ilg.
Ldc
(arrayType);