6 references to SchemaImportHelper
System.Runtime.Serialization.Schema (6)
System\Runtime\Serialization\Schema\CodeExporter.cs (5)
764
string reencodedName =
SchemaImportHelper
.EncodeLocalName(decodedName);
892
return (
SchemaImportHelper
.GetDefaultXmlNamespace(clrNamespace) != dataContractNamespace);
1115
if (
SchemaImportHelper
.GetDefaultXmlNamespace(contractCodeDomInfo.ClrNamespace) != classDataContract.XmlName.Namespace)
1116
throw ExceptionUtil.ThrowHelperError(new InvalidDataContractException(SR.Format(SR.InvalidClrNamespaceGeneratedForISerializable, classDataContract.XmlName.Name, classDataContract.XmlName.Namespace,
SchemaImportHelper
.GetDataContractNamespaceFromUri(classDataContract.XmlName.Namespace), contractCodeDomInfo.ClrNamespace)));
1228
string expectedTypeNs =
SchemaImportHelper
.GetCollectionNamespace(itemContract.XmlName.Namespace);
System\Runtime\Serialization\Schema\SchemaImportHelper.cs (1)
50
return
SchemaImportHelper
.IsTypeNullable(collectionDataContract.BaseContract!.UnderlyingType);