System\Xml\Serialization\XmlSerializationReaderILGen.cs (8)
2231WriteCreateInstance(a, typeDesc.CannotNew, typeDesc.Type!);
2259ReflectionAwareILGen.ILGenForCreateInstance(ilg, member.Mapping.TypeDesc.Type!, typeDesc.CannotNew, true);
3444ReflectionAwareILGen.ILGenForCreateInstance(ilg, sm.TypeDesc!.Type!, sm.TypeDesc.CannotNew, false);
3445if (sm.TypeDesc.CannotNew)
3517ReflectionAwareILGen.ILGenForCreateInstance(ilg, derived.TypeDesc!.Type!, derived.TypeDesc.CannotNew, false);
3518if (derived.TypeDesc.CannotNew)
3648bool ctorInaccessible = mapping.TypeDesc.CannotNew;
3658ReflectionAwareILGen.ILGenForCreateInstance(ilg, mapping.TypeDesc.Type!, mapping.TypeDesc.CannotNew, true);