28 references to XsiType
System.Private.Xml (28)
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (1)
973if (tser == null || QNameEqual(tser, sm.XsiType!.Name, defaultNamespace))
System\Xml\Serialization\XmlReflectionImporter.cs (1)
532XmlQualifiedName? qname = serializableMapping.XsiType;
System\Xml\Serialization\XmlSchemaExporter.cs (5)
470else if (serializableMapping.XsiType != null || serializableMapping.XsdType != null) 480if (!serializableMapping.XsiType!.IsEmpty && serializableMapping.XsiType.Namespace == schema.TargetNamespace) 481type = (XmlSchemaType?)schema.SchemaTypes[serializableMapping.XsiType]; 486element.SchemaTypeName = serializableMapping.XsiType!;
System\Xml\Serialization\XmlSerializationReader.cs (11)
4827WriteQNameEqual("tser", sm.XsiType!.Name, sm.XsiType.Namespace); 4892WriteQNameEqual("tser", derived.XsiType!.Name, derived.XsiType.Namespace); 4917WriteQuotedCSharpString(derived.XsiType.Name); 4919WriteQuotedCSharpString(derived.XsiType.Namespace); 4921WriteQuotedCSharpString(head.XsiType!.Name); 4923WriteQuotedCSharpString(head.XsiType.Namespace); 4933Writer.WriteLine($"// missing real mapping for {derived.XsiType}"); 4935WriteQuotedCSharpString(derived.XsiType.Name); 4937WriteQuotedCSharpString(derived.XsiType.Namespace);
System\Xml\Serialization\XmlSerializationReaderILGen.cs (10)
3213WriteQNameEqual("tser", sm.XsiType!.Name, sm.XsiType.Namespace); 3281WriteQNameEqual("tser", derived.XsiType!.Name, derived.XsiType.Namespace); 3319ilg.Ldstr(GetCSharpString(derived.XsiType.Name)); 3320ilg.Ldstr(GetCSharpString(derived.XsiType.Namespace)); 3321ilg.Ldstr(GetCSharpString(head.XsiType!.Name)); 3322ilg.Ldstr(GetCSharpString(head.XsiType.Namespace)); 3337ilg.Ldstr(GetCSharpString(derived.XsiType.Name)); 3338ilg.Ldstr(GetCSharpString(derived.XsiType.Namespace));