169 references to IsEmpty
System.Data.Common (5)
System\Data\xmlsaver.cs (4)
1394string tgNamespace = table.TypeName.IsEmpty ? table.Namespace : table.TypeName.Namespace; 1511if ((col.Namespace != (col.Table!.TypeName.IsEmpty ? col.Table.Namespace : col.Table.TypeName.Namespace)) && (col.Namespace.Length != 0)) 1837if (!table.TypeName.IsEmpty && _schFormat != SchemaFormat.Remoting) 1858if (!table.TypeName.IsEmpty)
System\Data\XMLSchema.cs (1)
2499if (!elem.RefName.IsEmpty || elem.QualifiedName.Namespace != table.Namespace)
System.Private.DataContractSerialization (8)
System\Runtime\Serialization\SchemaImporter.cs (8)
929if (elementTypeName.IsEmpty) 971if (element.SchemaTypeName.IsEmpty) 975else if (!element.RefName.IsEmpty) 1076if (element.SchemaTypeName.IsEmpty) 1092else if (!element.RefName.IsEmpty) 1228if (!restriction.BaseTypeName.IsEmpty) 1361if (!element.SubstitutionGroup.IsEmpty) 1385if (attribute.RefName.IsEmpty || attribute.RefName.Namespace != Globals.SerializationNamespace || attribute.Use == XmlSchemaUse.Required)
System.Private.Xml (154)
System\Xml\Dom\DocumentSchemaValidator.cs (1)
106if (!schemaElement.RefName.IsEmpty)
System\Xml\Dom\XmlLoader.cs (2)
639XmlEntity ent = new XmlEntity(scEnt.Name.Name, scEnt.Pubid, scEnt.Url, scEnt.NData.IsEmpty ? null : scEnt.NData.Name, _doc); 649XmlEntity ent = new XmlEntity(scEnt.Name.Name, scEnt.Pubid, scEnt.Url, scEnt.NData.IsEmpty ? null : scEnt.NData.Name, _doc);
System\Xml\Schema\BaseValidator.cs (2)
301else if (en.NData.IsEmpty) 328else if (en.NData.IsEmpty)
System\Xml\Schema\ContentValidator.cs (1)
1020if (elem != null && (global || !elem.RefName.IsEmpty))
System\Xml\Schema\DataTypeImplementation.cs (1)
626if (simpleType == null || simpleType.QualifiedName.IsEmpty)
System\Xml\Schema\DtdParser.cs (1)
3380if (!entity.NData.IsEmpty)
System\Xml\Schema\DtdValidator.cs (2)
135(!schemaInfo!.DocTypeName.IsEmpty) && 448if (!en.NData.IsEmpty)
System\Xml\Schema\Inference\Infer.cs (5)
676else if (!xse.SchemaTypeName.IsEmpty) 757else if (!xse.SchemaTypeName.IsEmpty) 905if (!xse.SchemaTypeName.IsEmpty) //BUGBUG, This assumption is wrong 1239if (effectiveSchemaType != null && effectiveSchemaType.Datatype != null && !xse.SchemaTypeName.IsEmpty) 2501if (qname == null || qname.IsEmpty)
System\Xml\Schema\Preprocessor.cs (23)
1181if (attribute.RefName.IsEmpty) 1189if (!attribute.SchemaTypeName.IsEmpty || 1212if (!attribute.RefName.IsEmpty) 1231if (!attribute.SchemaTypeName.IsEmpty) 1237if (!attribute.SchemaTypeName.IsEmpty) 1307if (!element.SubstitutionGroup.IsEmpty) 1325if (element.RefName.IsEmpty) 1333if (!element.SchemaTypeName.IsEmpty || 1364if (!element.SubstitutionGroup.IsEmpty) 1374if (!element.RefName.IsEmpty) 1404if (!element.SchemaTypeName.IsEmpty) 1417if (!element.SchemaTypeName.IsEmpty) 1473if (keyref.Refer.IsEmpty) 1559if (!restriction.BaseTypeName.IsEmpty) 1567if (restriction.BaseTypeName.IsEmpty) 1585if (!list.ItemTypeName.IsEmpty) 1594if (list.ItemTypeName.IsEmpty) 1726if (contentExtension.BaseTypeName.IsEmpty) 1740if (contentRestriction.BaseTypeName.IsEmpty) 1784if (contentExtension.BaseTypeName.IsEmpty) 1803if (contentRestriction.BaseTypeName.IsEmpty) 1976if (groupRef.RefName.IsEmpty) 2014if (attributeGroupRef.RefName.IsEmpty)
System\Xml\Schema\SchemaCollectionCompiler.cs (9)
43if (!element!.SubstitutionGroup.IsEmpty) 536if (list.ItemTypeName.IsEmpty) 565if (restriction.BaseTypeName.IsEmpty) 1102if (!element.RefName.IsEmpty && substitution && (element.BlockResolved & XmlSchemaDerivationMethod.Substitution) == 0) 1987if (!xa.RefName.IsEmpty) 2044else if (!xa.SchemaTypeName.IsEmpty) 2192if (!xe.RefName.IsEmpty) 2213else if (!xe.SchemaTypeName.IsEmpty) 2221else if (!xe.SubstitutionGroup.IsEmpty)
System\Xml\Schema\SchemaCollectionpreProcessor.cs (23)
855if (attribute.RefName.IsEmpty) 863if (!attribute.SchemaTypeName.IsEmpty || 884if (!attribute.RefName.IsEmpty) 903if (!attribute.SchemaTypeName.IsEmpty) 909if (!attribute.SchemaTypeName.IsEmpty) 980if (!element.SubstitutionGroup.IsEmpty) 998if (element.RefName.IsEmpty) 1006if (!element.SchemaTypeName.IsEmpty || 1037if (!element.SubstitutionGroup.IsEmpty) 1047if (!element.RefName.IsEmpty) 1077if (!element.SchemaTypeName.IsEmpty) 1090if (!element.SchemaTypeName.IsEmpty) 1142if (keyref.Refer.IsEmpty) 1226if (!restriction.BaseTypeName.IsEmpty) 1234if (restriction.BaseTypeName.IsEmpty) 1252if (!list.ItemTypeName.IsEmpty) 1261if (list.ItemTypeName.IsEmpty) 1391if (contentExtension.BaseTypeName.IsEmpty) 1405if (contentRestriction.BaseTypeName.IsEmpty) 1449if (contentExtension.BaseTypeName.IsEmpty) 1468if (contentRestriction.BaseTypeName.IsEmpty) 1644if (groupRef.RefName.IsEmpty) 1682if (attributeGroupRef.RefName.IsEmpty)
System\Xml\Schema\SchemaEntity.cs (1)
56get { return !this.NData.IsEmpty; }
System\Xml\Schema\SchemaSetCompiler.cs (9)
451if (!element!.SubstitutionGroup.IsEmpty) 620if (list.ItemTypeName.IsEmpty) 651if (restriction.BaseTypeName.IsEmpty) 1233if (!element.RefName.IsEmpty && (element.ElementDecl!.Block & XmlSchemaDerivationMethod.Substitution) == 0) 2428if (!xa.RefName.IsEmpty) 2477else if (!xa.SchemaTypeName.IsEmpty) 2651if (!xe.RefName.IsEmpty) 2672else if (!xe.SchemaTypeName.IsEmpty) 2680else if (!xe.SubstitutionGroup.IsEmpty)
System\Xml\Schema\XdrBuilder.cs (3)
804if (builder._ElementDef._ElementDecl!.Name.IsEmpty) 1096if (builder._AttributeDef._Name!.IsEmpty) 1265if (builder._BaseDecl!._TypeName.IsEmpty)
System\Xml\Schema\XmlSchemaComplexType.cs (8)
432if (!att.RefName.IsEmpty || !att.SchemaTypeName.IsEmpty) 482if (oldElem != null && (!oldElem.RefName.IsEmpty || !oldElem.SchemaTypeName.IsEmpty || 531if (elem != null && (!elem.RefName.IsEmpty || !elem.SchemaTypeName.IsEmpty || 562if (!attribute.RefName.IsEmpty || !attribute.SchemaTypeName.IsEmpty)
System\Xml\Schema\XmlSchemaElement.cs (1)
290if (complexType != null && complexType.QualifiedName.IsEmpty)
System\Xml\Schema\XmlSchemaValidator.cs (3)
1364else if (matchedElem.RefName.IsEmpty) 1394if (!head.IsEmpty) 1676if (xsiTypeName.IsEmpty)
System\Xml\Schema\XmlValueConverter.cs (1)
422while (type!.QualifiedName.IsEmpty)
System\Xml\Schema\XsdBuilder.cs (1)
2152if (!builder._element!.RefName.IsEmpty)
System\Xml\Schema\XsdValidator.cs (2)
225if (elementDecl == null || !xsiType.IsEmpty || xsiNil != null) 385if (xsiType.IsEmpty)
System\Xml\Serialization\ImportContext.cs (8)
71if (qname == null || qname.IsEmpty) 323if (list.ItemTypeName != null && !list.ItemTypeName.IsEmpty) 344if (baseType == null && !baseName.IsEmpty && baseName.Namespace != XmlSchema.Namespace) 366if (!el.SubstitutionGroup.IsEmpty) 374if (!el.RefName.IsEmpty) 379else if (!el.SchemaTypeName.IsEmpty) 420if (!at.RefName.IsEmpty) 425else if (!at.SchemaTypeName.IsEmpty)
System\Xml\Serialization\Mappings.cs (2)
1292if (_xsiType.IsEmpty) 1314if (!_xsiType.IsEmpty)
System\Xml\Serialization\SchemaObjectWriter.cs (16)
175if (value.IsEmpty) 307if (o.QualifiedName != null && !o.QualifiedName.IsEmpty && !string.IsNullOrEmpty(o.QualifiedName.Namespace)) 318if (!o.RefName.IsEmpty) 322else if (!o.SchemaTypeName.IsEmpty) 624if (!o.@ItemTypeName.IsEmpty) 639if (!o.@BaseTypeName.IsEmpty) 763if (!o.RefName.IsEmpty) 873if (!o.@BaseTypeName.IsEmpty) 889if (!o.@BaseTypeName.IsEmpty) 928if (!o.@BaseTypeName.IsEmpty) 985if (o.QualifiedName != null && !o.QualifiedName.IsEmpty && !string.IsNullOrEmpty(o.QualifiedName.Namespace)) 1002if (!o.SubstitutionGroup.IsEmpty) 1006if (!o.RefName.IsEmpty) 1010else if (!o.SchemaTypeName.IsEmpty) 1209if (!o.RefName.IsEmpty) 1226if (!o.@BaseTypeName.IsEmpty)
System\Xml\Serialization\XmlReflectionImporter.cs (2)
533if (qname != null && !qname.IsEmpty) 587if (baseQname.IsEmpty) return;
System\Xml\Serialization\XmlSchemaExporter.cs (2)
480if (!serializableMapping.XsiType!.IsEmpty && serializableMapping.XsiType.Namespace == schema.TargetNamespace) 487if (element.SchemaTypeName.IsEmpty)
System\Xml\Serialization\XmlSchemaImporter.cs (19)
268if (!element.RefName.IsEmpty) 329if (!element.SchemaTypeName.IsEmpty) 351else if (!element.SubstitutionGroup.IsEmpty) 481if (!type.DerivedFrom.IsEmpty) throw new InvalidOperationException(SR.XmlMembersDeriveError); 501if (!type.DerivedFrom.IsEmpty) 647while (!t.DerivedFrom.IsEmpty) 919if (!refGroup.RefName.IsEmpty) 1021if (!refGroup.RefName.IsEmpty) 1061if (!element.RefName.IsEmpty) 1263if (!type.DerivedFrom.IsEmpty) return null; 1333if (!element.RefName.IsEmpty) 1367if (!type.DerivedFrom.IsEmpty) return null; 1606if (!attribute.RefName.IsEmpty) 1619if (!attribute.SchemaTypeName.IsEmpty) 1708else if (list.ItemTypeName != null && !list.ItemTypeName.IsEmpty) 1732while (!sourceType.DerivedFrom.IsEmpty) 1882if (list.ItemTypeName != null && !list.ItemTypeName.IsEmpty) 1913if (name == null || name.IsEmpty) 1948if (name == null || name.IsEmpty)
System\Xml\Serialization\XmlSerializationWriter.cs (1)
467if (xmlQualifiedName.IsEmpty && ignoreEmpty) return null;
System\Xml\Xsl\XmlQueryType.cs (3)
588if (SchemaType.QualifiedName.IsEmpty) 614if (SchemaType.QualifiedName.IsEmpty) 642if (name.IsEmpty)
System\Xml\Xsl\XsltOld\ApplyTemplatesAction.cs (1)
38return (mode == null || mode.IsEmpty) ? BuiltInRule() : new ApplyTemplatesAction(mode);
System\Xml\Xsl\XsltOld\Stylesheet.cs (1)
200if (mode.IsEmpty)
System.Private.Xml.Linq (2)
System\Xml\Schema\XNodeValidator.cs (2)
130if (!name.IsEmpty) 144if (!name.IsEmpty)