1 write to _primitiveType
System.Private.Xml (1)
System\Xml\Serialization\XmlSerializer.cs (1)
226
_primitiveType
= type;
18 references to _primitiveType
System.Private.Xml (18)
System\Xml\Serialization\XmlSerializer.cs (18)
389
if (
_primitiveType
!= null)
490
if (
_primitiveType
!= null)
546
if (
_primitiveType
!= null)
548
TypeDesc typeDesc = (TypeDesc)TypeScope.PrimtiveTypes[
_primitiveType
]!;
861
switch (Type.GetTypeCode(
_primitiveType
))
910
if (
_primitiveType
== typeof(XmlQualifiedName))
914
else if (
_primitiveType
== typeof(byte[]))
918
else if (
_primitiveType
== typeof(Guid))
922
else if (
_primitiveType
== typeof(TimeSpan))
926
else if (
_primitiveType
== typeof(DateTimeOffset))
932
throw new InvalidOperationException(SR.Format(SR.XmlUnxpectedType,
_primitiveType
!.FullName));
943
switch (Type.GetTypeCode(
_primitiveType
))
992
if (
_primitiveType
== typeof(XmlQualifiedName))
996
else if (
_primitiveType
== typeof(byte[]))
1000
else if (
_primitiveType
== typeof(Guid))
1004
else if (
_primitiveType
== typeof(TimeSpan))
1008
else if (
_primitiveType
== typeof(DateTimeOffset))
1014
throw new InvalidOperationException(SR.Format(SR.XmlUnxpectedType,
_primitiveType
!.FullName));