144 references to QualifiedName
System.Data (20)
fx\src\data\System\Data\SimpleType.cs (3)
52
ns = (node.
QualifiedName
!= null) ? node.
QualifiedName
.Namespace : "";
96
if ((ancestor != null) && (ancestor.
QualifiedName
.Namespace != Keywords.XSDNS)) { // I'm assuming that built-in types don't have a name!
fx\src\data\System\Data\SQLTypes\SqlTypesSchemaImporter.cs (1)
99
XmlQualifiedName qname = basetype.
QualifiedName
;
fx\src\data\System\Data\XMLSchema.cs (16)
192
schemaTypes[type.
QualifiedName
] = type;
202
udSimpleTypes[type.
QualifiedName
.ToString()] = xmlSimpleType;
203
DataColumn dc = (DataColumn)existingSimpleTypeMap[type.
QualifiedName
.ToString()];
1701
if (typeNode.
QualifiedName
.Name != null && typeNode.
QualifiedName
.Name.Length != 0 && typeNode.
QualifiedName
.Namespace != Keywords.XSDNS) { // this means UDSimpleType
1703
strType = typeNode.
QualifiedName
.ToString(); // use qualifed name
1704
type = ParseDataType(typeNode.
QualifiedName
.ToString());
1708
if ((ancestor != null) && (ancestor.
QualifiedName
.Namespace != Keywords.XSDNS)) {
1927
if (node.
QualifiedName
.Name != null && node.
QualifiedName
.Name.Length != 0 && node.
QualifiedName
.Namespace != Keywords.XSDNS) { // this means UDSimpleType
1928
strType = node.
QualifiedName
.ToString(); // use qualifed name
1929
type = ParseDataType(node.
QualifiedName
.ToString());// search with QName
2067
if (((XmlSchemaSimpleType)typeNode).Name != null && ((XmlSchemaSimpleType)typeNode).Name.Length != 0 && ((XmlSchemaSimpleType)typeNode).
QualifiedName
.Namespace != Keywords.XSDNS) {
2070
strType = ((XmlSchemaSimpleType)typeNode).
QualifiedName
.ToString(); // use qualifed name
System.Data.SqlXml (5)
System\Xml\Xsl\Runtime\XsltConvert.cs (1)
320
Debug.Fail("Conversion from " + value.XmlType.
QualifiedName
.Name + " to " + destinationType + " is not supported.");
System\Xml\Xsl\XmlQueryType.cs (4)
574
if (SchemaType.
QualifiedName
.IsEmpty)
577
s = QNameToString(SchemaType.
QualifiedName
);
598
if (SchemaType.
QualifiedName
.IsEmpty) {
603
typeName = QNameToString(SchemaType.
QualifiedName
);
System.Runtime.Serialization (2)
System\Runtime\Serialization\SchemaImporter.cs (2)
407
return ImportType(type, type.
QualifiedName
, false/*isAnonymous*/);
490
if (type.
QualifiedName
!= XmlQualifiedName.Empty)
System.ServiceModel (2)
System\ServiceModel\Description\MessageContractExporter.cs (1)
199
contentRestriction.BaseTypeName = XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.Base64Binary).
QualifiedName
;
System\ServiceModel\Description\MessageContractImporter.cs (1)
702
return CheckAndAddPart(element.ElementSchemaType.
QualifiedName
, DataContractSerializerMessageContractImporter.StreamBodyTypeName, element.RefName.Name, GetLocalElementNamespace(element.RefName.Namespace, element, elementFormDefault), typeof(Stream), description, isReply);
System.ServiceModel.Web (27)
System\ServiceModel\Dispatcher\HelpExampleGenerator.cs (27)
320
if (simpleType.
QualifiedName
.Namespace != System.Runtime.Serialization.Globals.SerializationNamespace
321
&& simpleType.
QualifiedName
.Namespace != XmlSchemaNamespace
322
&& simpleType.
QualifiedName
.Name != "guid")
355
if (simpleType.
QualifiedName
.Name == "dateTime")
360
else if (simpleType.
QualifiedName
.Name == "char")
365
return GetConstantValue(simpleType.
QualifiedName
.Name);
491
string value = GetConstantValue(simpleType.
QualifiedName
.Name);
493
if (simpleType.
QualifiedName
.Name == "base64Binary")
505
else if (simpleType.
QualifiedName
.Name == "dateTime")
534
else if (simpleType.
QualifiedName
.Name == "char")
540
if (simpleType.
QualifiedName
.Name == "integer" ||
541
simpleType.
QualifiedName
.Name == "int" ||
542
simpleType.
QualifiedName
.Name == "long" ||
543
simpleType.
QualifiedName
.Name == "unsignedLong" ||
544
simpleType.
QualifiedName
.Name == "unsignedInt" ||
545
simpleType.
QualifiedName
.Name == "short" ||
546
simpleType.
QualifiedName
.Name == "unsignedShort" ||
547
simpleType.
QualifiedName
.Name == "byte" ||
548
simpleType.
QualifiedName
.Name == "unsignedByte" ||
549
simpleType.
QualifiedName
.Name == "decimal" ||
550
simpleType.
QualifiedName
.Name == "float" ||
551
simpleType.
QualifiedName
.Name == "double" ||
552
simpleType.
QualifiedName
.Name == "negativeInteger" ||
553
simpleType.
QualifiedName
.Name == "nonPositiveInteger" ||
554
simpleType.
QualifiedName
.Name == "positiveInteger" ||
555
simpleType.
QualifiedName
.Name == "nonNegativeInteger")
559
else if (simpleType.
QualifiedName
.Name == "boolean")
System.Web.Extensions (1)
Script\Services\WebServiceTypeData.cs (1)
219
knownTypeData = ImportEnum(XmlConvert.DecodeName(schemaType.Name), schemaTargetNamespace, schemaType.
QualifiedName
, simpleTypeRestriction, schemaType.Annotation);
System.Web.Services (1)
System\Web\Services\Description\SchemaCompiler.cs (1)
150
return type.
QualifiedName
;
System.Xml (86)
System\Xml\Core\XmlValidatingReaderImpl.cs (1)
715
if ( schemaTypeObj != null && schemaTypeObj.
QualifiedName
.Namespace == XmlReservedNs.NsXs ) {
System\Xml\Schema\BaseProcessor.cs (1)
172
table.Insert(schemaType.
QualifiedName
, schemaType); //Update with redefined entry
System\Xml\Schema\DataTypeImplementation.cs (3)
185
restContent.BaseTypeName = baseType.
QualifiedName
;
555
if (simpleType == null || simpleType.
QualifiedName
.IsEmpty) { //If no QName, get typecode, no line info since it is not pertinent without file name
559
typeName = simpleType.
QualifiedName
.ToString();
System\Xml\Schema\Preprocessor.cs (23)
652
AddToTable(schema.SchemaTypes, complexType.
QualifiedName
, complexType);
657
AddToTable(schema.SchemaTypes, simpleType.
QualifiedName
, simpleType);
706
AddToTable(schema.SchemaTypes, type.
QualifiedName
, type);
781
complexType.
QualifiedName
.SetNamespace(targetNS); //Since PreprocessComplexType will use this.targetNamespace and that will be that of the root schema's
782
if (redefine.SchemaTypes[complexType.
QualifiedName
] != null) {
786
AddToTable(redefine.SchemaTypes, complexType.
QualifiedName
, complexType);
787
XmlSchemaType originalType = (XmlSchemaType)schemaToUpdate.SchemaTypes[complexType.
QualifiedName
];
790
SendValidationEvent(Res.Sch_ComponentRedefineNotFound, "<complexType>", complexType.
QualifiedName
.ToString(), complexType);
794
schemaToUpdate.SchemaTypes.Insert(complexType.
QualifiedName
, complexType);
805
simpleType.
QualifiedName
.SetNamespace(targetNS); //Since PreprocessSimpleType will use this.targetNamespace and that will be that of the root schema's
806
if (redefine.SchemaTypes[simpleType.
QualifiedName
] != null) {
810
AddToTable(redefine.SchemaTypes, simpleType.
QualifiedName
, simpleType);
811
XmlSchemaType originalType = (XmlSchemaType)schemaToUpdate.SchemaTypes[simpleType.
QualifiedName
];
814
SendValidationEvent(Res.Sch_ComponentRedefineNotFound, "<simpleType>", simpleType.
QualifiedName
.ToString(), simpleType);
818
schemaToUpdate.SchemaTypes.Insert(simpleType.
QualifiedName
, simpleType);
941
if (restriction.BaseTypeName == stype.
QualifiedName
) {
969
if (baseName == ctype.
QualifiedName
) {
1416
if (complexType.
QualifiedName
== XmlQualifiedName.Empty) {
1420
SendValidationEvent(Res.Sch_NoRestOrExtQName, complexType.
QualifiedName
.Name, complexType.
QualifiedName
.Namespace, complexType);
1459
if (complexType.
QualifiedName
== XmlQualifiedName.Empty) {
1463
SendValidationEvent(Res.Sch_NoRestOrExtQName, complexType.
QualifiedName
.Name, complexType.
QualifiedName
.Namespace, complexType);
System\Xml\Schema\SchemaCollectionCompiler.cs (7)
225
schemaInfo.TargetNamespaces[type.
QualifiedName
.Namespace] = true;
228
schemaInfo.ElementDeclsByType.Add(type.
QualifiedName
, type.ElementDecl);
450
else if (simpleType.Redefined != null && restriction.BaseTypeName == simpleType.Redefined.
QualifiedName
) {
635
if (complexType.Redefined != null && simpleExtension.BaseTypeName == complexType.Redefined.
QualifiedName
) {
667
if (complexType.Redefined != null && simpleRestriction.BaseTypeName == complexType.Redefined.
QualifiedName
) {
732
if (complexType.Redefined != null && complexExtension.BaseTypeName == complexType.Redefined.
QualifiedName
) {
785
if (complexType.Redefined != null && complexRestriction.BaseTypeName == complexType.Redefined.
QualifiedName
) {
System\Xml\Schema\SchemaCollectionpreProcessor.cs (17)
429
AddToTable(schema.SchemaTypes, type.
QualifiedName
, type);
454
AddToTable(schema.SchemaTypes, complexType.
QualifiedName
, complexType);
459
AddToTable(schema.SchemaTypes, simpleType.
QualifiedName
, simpleType);
528
if (redefine.SchemaTypes[complexType.
QualifiedName
] != null) {
532
AddToTable(redefine.SchemaTypes, complexType.
QualifiedName
, complexType);
533
XmlSchemaType type = (XmlSchemaType)redefine.Schema.SchemaTypes[complexType.
QualifiedName
];
551
if (redefine.SchemaTypes[simpleType.
QualifiedName
] != null) {
555
AddToTable(redefine.SchemaTypes, simpleType.
QualifiedName
, simpleType);
556
XmlSchemaType type = (XmlSchemaType)redefine.Schema.SchemaTypes[simpleType.
QualifiedName
];
633
if (restriction.BaseTypeName == stype.
QualifiedName
) {
661
if (baseName == ctype.
QualifiedName
) {
1102
if (complexType.
QualifiedName
== XmlQualifiedName.Empty) {
1106
SendValidationEvent(Res.Sch_NoRestOrExtQName, complexType.
QualifiedName
.Name, complexType.
QualifiedName
.Namespace, complexType);
1145
if (complexType.
QualifiedName
== XmlQualifiedName.Empty) {
1149
SendValidationEvent(Res.Sch_NoRestOrExtQName, complexType.
QualifiedName
.Name, complexType.
QualifiedName
.Namespace, complexType);
System\Xml\Schema\SchemaSetCompiler.cs (10)
87
AddToTable(schemaTypes, type.
QualifiedName
, type);
105
schemaForSchema.SchemaTypes.Replace(builtInType.
QualifiedName
, builtInType);
106
this.schemaTypes.Replace(builtInType.
QualifiedName
, builtInType);
126
schemaInfo.ElementDeclsByType.Add(type.
QualifiedName
, type.ElementDecl);
241
if (complexType.
QualifiedName
== DatatypeImplementation.QnAnyType) { //if it is built-in anyType dont clean it.
514
else if (simpleType.Redefined != null && restriction.BaseTypeName == simpleType.Redefined.
QualifiedName
) {
693
if (complexType.Redefined != null && simpleExtension.BaseTypeName == complexType.Redefined.
QualifiedName
) {
725
if (complexType.Redefined != null && simpleRestriction.BaseTypeName == complexType.Redefined.
QualifiedName
) {
790
if (complexType.Redefined != null && complexExtension.BaseTypeName == complexType.Redefined.
QualifiedName
) {
844
if (complexType.Redefined != null && complexRestriction.BaseTypeName == complexType.Redefined.
QualifiedName
) {
System\Xml\Schema\XmlSchemaAttribute.cs (1)
137
if (attributeType.
QualifiedName
.Namespace == XmlReservedNs.NsXs) {
System\Xml\Schema\XmlSchemaElement.cs (2)
217
if (elementType.
QualifiedName
.Namespace == XmlReservedNs.NsXs) {
331
if (complexType != null && complexType.
QualifiedName
.IsEmpty) {
System\Xml\Schema\XmlSchemaSet.cs (4)
1110
if (!AddToTable(schemaTypes, schemaType.
QualifiedName
, schemaType)) {
1144
schemaTypes.Remove(schemaTypeToRemove.
QualifiedName
);
1289
XmlSchemaType schemaType = (XmlSchemaType)schemaTypes[schemaTypeToRemove.
QualifiedName
];
1291
schemaTypes.Remove(schemaTypeToRemove.
QualifiedName
);
System\Xml\Schema\XmlSchemaType.cs (3)
71
if (qualifiedName.Equals(XmlSchemaComplexType.AnyType.
QualifiedName
)) {
74
if (qualifiedName.Equals(XmlSchemaComplexType.UntypedAnyType.
QualifiedName
)) {
129
if (baseSchemaType.
QualifiedName
.Namespace == XmlReservedNs.NsXs) {
System\Xml\Schema\XmlSchemaValidator.cs (1)
1278
string typeName = decl.SchemaType.
QualifiedName
.ToString();
System\Xml\Schema\XmlValueConverter.cs (2)
500
while (type.
QualifiedName
.IsEmpty) {
505
return QNameToString(type.
QualifiedName
);
System\Xml\Serialization\Mappings.cs (1)
1139
xsiType = xsdType.
QualifiedName
;
System\Xml\Serialization\SchemaObjectWriter.cs (2)
65
return ((XmlSchemaComplexType)o).
QualifiedName
;
68
return ((XmlSchemaSimpleType)o).
QualifiedName
;
System\Xml\Serialization\SoapSchemaImporter.cs (4)
221
ImportType(type.
QualifiedName
, false);
316
throw new InvalidOperationException(Res.GetString(Res.XmlInvalidAnyAttributeUse, type.Name, type.
QualifiedName
.Namespace));
323
throw new InvalidOperationException(Res.GetString(Res.XmlSoapInvalidAttributeUse, type.Name, type.
QualifiedName
.Namespace));
327
if (attr.Use != XmlSchemaUse.Prohibited) throw new InvalidOperationException(Res.GetString(Res.XmlSoapInvalidAttributeUse, type.Name, type.
QualifiedName
.Namespace));
System\Xml\Serialization\XmlSchemaImporter.cs (3)
456
ImportType(type.
QualifiedName
, typeof(TypeMapping), null, TypeFlags.CanBeElementValue, false);
568
throw new InvalidOperationException(Res.GetString(Res.XmlTypeUsedTwice, type.
QualifiedName
.Name, type.
QualifiedName
.Namespace));
System\Xml\Serialization\XmlSchemas.cs (1)
484
return type.
QualifiedName
;