18 references to Is
System.Runtime.Serialization.Schema (18)
System\Runtime\Serialization\Schema\CodeExporter.cs (18)
54
if (!(dataContract.IsBuiltInDataContract || dataContract.
Is
(DataContractType.ClassDataContract)))
262
Debug.Assert(classContract.
Is
(DataContractType.ClassDataContract));
526
if (!dataContract.
Is
(DataContractType.EnumDataContract))
602
Debug.Assert(collectionContract.
Is
(DataContractType.CollectionDataContract));
631
Debug.Assert(collectionContract.
Is
(DataContractType.CollectionDataContract));
649
Debug.Assert(collectionContract.
Is
(DataContractType.CollectionDataContract));
780
Debug.Assert(classDataContract.
Is
(DataContractType.ClassDataContract));
921
else if (dataContract.
Is
(DataContractType.ClassDataContract))
935
Debug.Assert(classDataContract.
Is
(DataContractType.ClassDataContract));
950
else if (memberContract.
Is
(DataContractType.ClassDataContract))
972
Debug.Assert(classDataContract.
Is
(DataContractType.ClassDataContract));
985
Debug.Assert(classDataContract.
Is
(DataContractType.ClassDataContract));
1060
Debug.Assert(enumDataContract.
Is
(DataContractType.EnumDataContract));
1109
Debug.Assert(classDataContract.
Is
(DataContractType.ClassDataContract));
1169
Debug.Assert(keyValueContract == null || keyValueContract.
Is
(DataContractType.ClassDataContract));
1191
Debug.Assert(collectionContract.
Is
(DataContractType.CollectionDataContract));
1613
while (dataContract != null && dataContract.
Is
(DataContractType.CollectionDataContract))
1632
return dataContract != null && dataContract.
Is
(DataContractType.PrimitiveDataContract) && dataContract.UnderlyingType == typeof(object);