System\Xml\Serialization\XmlSerializationReaderILGen.cs (8)
2154WriteCreateInstance(a, typeDesc.CannotNew, typeDesc.Type!);
2182ReflectionAwareILGen.ILGenForCreateInstance(ilg, member.Mapping.TypeDesc.Type!, typeDesc.CannotNew, true);
3229ReflectionAwareILGen.ILGenForCreateInstance(ilg, sm.TypeDesc!.Type!, sm.TypeDesc.CannotNew, false);
3230if (sm.TypeDesc.CannotNew)
3300ReflectionAwareILGen.ILGenForCreateInstance(ilg, derived.TypeDesc!.Type!, derived.TypeDesc.CannotNew, false);
3301if (derived.TypeDesc.CannotNew)
3431bool ctorInaccessible = mapping.TypeDesc.CannotNew;
3441ReflectionAwareILGen.ILGenForCreateInstance(ilg, mapping.TypeDesc.Type!, mapping.TypeDesc.CannotNew, true);