System\Xml\Serialization\XmlSerializationReaderILGen.cs (8)
2153WriteCreateInstance(a, typeDesc.CannotNew, typeDesc.Type!);
2181ReflectionAwareILGen.ILGenForCreateInstance(ilg, member.Mapping.TypeDesc.Type!, typeDesc.CannotNew, true);
3228ReflectionAwareILGen.ILGenForCreateInstance(ilg, sm.TypeDesc!.Type!, sm.TypeDesc.CannotNew, false);
3229if (sm.TypeDesc.CannotNew)
3299ReflectionAwareILGen.ILGenForCreateInstance(ilg, derived.TypeDesc!.Type!, derived.TypeDesc.CannotNew, false);
3300if (derived.TypeDesc.CannotNew)
3430bool ctorInaccessible = mapping.TypeDesc.CannotNew;
3440ReflectionAwareILGen.ILGenForCreateInstance(ilg, mapping.TypeDesc.Type!, mapping.TypeDesc.CannotNew, true);