System\ServiceModel\Description\MessageContractImporter.cs (27)
1565DataContractSerializerOperationGenerator = new DataContractSerializerOperationGenerator(DataContractImporter.CodeCompileUnit);
1592return DataContractImporter.CanImport(schemaSet, element);
1598return DataContractImporter.CanImport(schemaSet, typeName);
1622if (!DataContractImporter.CanImport(schemaSet, element))
1682DataContractImporter.Import(schemaSet, typeName);
1683CodeTypeReference typeRef = DataContractImporter.GetCodeTypeReference(typeName);
1684ICollection<CodeTypeReference> knownTypeRefs = DataContractImporter.GetKnownTypeReferences(typeName);
1720typeName = DataContractImporter.Import(schemaSet, element);
1727DataContractImporter.Options.ReferencedTypes.Remove(failedReferenceType);
1736DataContractImporter.Options.ReferencedTypes.Remove(failedReferenceType);
1743CodeTypeReference typeRef = DataContractImporter.GetCodeTypeReference(typeName, element);
1744ICollection<CodeTypeReference> knownTypeRefs = DataContractImporter.GetKnownTypeReferences(typeName);
1756CodeTypeReference typeRef = DataContractImporter.GetCodeTypeReference(typeName, element);
1762if (DataContractImporter.Options == null)
1764DataContractImporter.Options = new ImportOptions();
1765DataContractImporter.Options.ImportXmlType = value;
1768if (DataContractImporter.Options.ImportXmlType != value)
1770DataContractImporter.Options.ImportXmlType = value;
1782DataContractImporter.Options.ImportXmlType = !DataContractImporter.Options.ImportXmlType;
1785DataContractImporter.Options = null;
1793XmlQualifiedName typeName = DataContractImporter.Import(schemaSet, element);
1794return DataContractImporter.GetCodeTypeReference(typeName, element);
1807return DataContractImporter.CanImport(schemaSet, element);
1820DataContractImporter.Import(schemaSet, typeName);
1821return DataContractImporter.GetCodeTypeReference(typeName);
1834return DataContractImporter.CanImport(schemaSet, typeName);