12 references to FieldTypeDesc
System.Private.Xml (12)
System\Xml\Serialization\Models.cs (2)
197
if (model.ReadOnly && model.
FieldTypeDesc
.Kind != TypeKind.Collection && model.
FieldTypeDesc
.Kind != TypeKind.Enumerable)
System\Xml\Serialization\SoapReflectionImporter.cs (1)
707
attribute.Default = GetDefaultValue(model.
FieldTypeDesc
, a);
System\Xml\Serialization\XmlReflectionImporter.cs (9)
1421
choiceIdentifierType = GetChoiceIdentifierType(a.XmlChoiceIdentifier, parent, model.
FieldTypeDesc
.IsArrayLike, model.Name);
1571
Type arrayElementType = TypeScope.GetArrayElementType(accessorType, $"{model.
FieldTypeDesc
.FullName}.{model.Name}")!;
1611
attribute.Default = GetDefaultValue(model.
FieldTypeDesc
, model.FieldType, a);
1658
element.Default = GetDefaultValue(model.
FieldTypeDesc
, model.FieldType, a);
1709
element.Default = GetDefaultValue(model.
FieldTypeDesc
, model.FieldType, a);
1789
attribute.Default = GetDefaultValue(model.
FieldTypeDesc
, model.FieldType, a);
1831
element.Default = GetDefaultValue(model.
FieldTypeDesc
, model.FieldType, a);
1899
element.Default = GetDefaultValue(model.
FieldTypeDesc
, model.FieldType, a);
1952
element.Default = GetDefaultValue(model.
FieldTypeDesc
, model.FieldType, a);