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)
389if (_primitiveType != null) 490if (_primitiveType != null) 546if (_primitiveType != null) 548TypeDesc typeDesc = (TypeDesc)TypeScope.PrimtiveTypes[_primitiveType]!; 861switch (Type.GetTypeCode(_primitiveType)) 910if (_primitiveType == typeof(XmlQualifiedName)) 914else if (_primitiveType == typeof(byte[])) 918else if (_primitiveType == typeof(Guid)) 922else if (_primitiveType == typeof(TimeSpan)) 926else if (_primitiveType == typeof(DateTimeOffset)) 932throw new InvalidOperationException(SR.Format(SR.XmlUnxpectedType, _primitiveType!.FullName)); 943switch (Type.GetTypeCode(_primitiveType)) 992if (_primitiveType == typeof(XmlQualifiedName)) 996else if (_primitiveType == typeof(byte[])) 1000else if (_primitiveType == typeof(Guid)) 1004else if (_primitiveType == typeof(TimeSpan)) 1008else if (_primitiveType == typeof(DateTimeOffset)) 1014throw new InvalidOperationException(SR.Format(SR.XmlUnxpectedType, _primitiveType!.FullName));