32 references to Kind
dotnet-svcutil-lib (32)
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeExporter.cs (1)
223
TypeKind kind = arrayMapping.Elements[0].Mapping.TypeDesc.
Kind
;
FrameworkFork\Microsoft.Xml\Xml\Serialization\Models.cs (7)
44
switch (typeDesc.
Kind
)
179
if (model.ReadOnly && model.FieldTypeDesc.
Kind
!= TypeKind.Collection && model.FieldTypeDesc.
Kind
!= TypeKind.Enumerable)
207
if (fieldInfo.IsInitOnly && typeDesc.
Kind
!= TypeKind.Collection && typeDesc.
Kind
!= TypeKind.Enumerable)
221
if (!propertyInfo.CanWrite && typeDesc.
Kind
!= TypeKind.Collection && typeDesc.
Kind
!= TypeKind.Enumerable)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapReflectionImporter.cs (5)
220
switch (model.TypeDesc.
Kind
)
327
if (model.TypeDesc.
Kind
== TypeKind.Root) return GetRootMapping();
767
if (!(fieldTypeDesc.
Kind
== TypeKind.Primitive || fieldTypeDesc.
Kind
== TypeKind.Enum))
773
if (fieldTypeDesc.
Kind
== TypeKind.Enum)
FrameworkFork\Microsoft.Xml\Xml\Serialization\Types.cs (2)
1140
if (typeDesc.
Kind
== TypeKind.Collection || typeDesc.
Kind
== TypeKind.Enumerable)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (12)
416
switch (model.TypeDesc.
Kind
)
450
if (model.TypeDesc.
Kind
== TypeKind.Serializable)
511
if (typeDesc.
Kind
== TypeKind.Serializable)
728
if (model.TypeDesc.
Kind
== TypeKind.Root) return GetRootMapping();
1566
if (accessor.TypeDesc.ArrayElementTypeDesc.
Kind
== TypeKind.Serializable)
1816
if (element.Mapping.TypeDesc.
Kind
== TypeKind.Node)
1860
if (accessor.TypeDesc.
Kind
== TypeKind.Serializable)
2136
if (!(fieldTypeDesc.
Kind
== TypeKind.Primitive || fieldTypeDesc.
Kind
== TypeKind.Enum))
2143
if (fieldTypeDesc.
Kind
== TypeKind.Enum)
2228
bool isAny = mapping.TypeDesc.
Kind
== TypeKind.Node;
2253
if (typeDesc.
Kind
== TypeKind.Node)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (1)
453
switch (mapping.TypeDesc.
Kind
)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (2)
2728
if (special.TypeDesc.
Kind
== TypeKind.Attribute || special.TypeDesc.CanBeAttributeValue)
3157
switch (mapping.TypeDesc.
Kind
)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriterILGen.cs (2)
1442
if (special.TypeDesc.
Kind
== TypeKind.Attribute || special.TypeDesc.CanBeAttributeValue)
1980
switch (mapping.TypeDesc.
Kind
)