220 references to IsEmpty
System.Data (5)
fx\src\data\System\Data\xmlsaver.cs (4)
1179string tgNamespace = table.TypeName.IsEmpty ? table.Namespace : table.TypeName.Namespace; 1273if ((col.Namespace != (col.Table.TypeName.IsEmpty ? col.Table.Namespace : col.Table.TypeName.Namespace)) && (col.Namespace.Length != 0)) 1564if (!table.TypeName.IsEmpty && schFormat != SchemaFormat.Remoting) { 1582if (!table.TypeName.IsEmpty) {
fx\src\data\System\Data\XMLSchema.cs (1)
2161if (!elem.RefName.IsEmpty || elem.QualifiedName.Namespace != table.Namespace)
System.Data.SqlXml (5)
System\Xml\Xsl\XmlQueryType.cs (3)
574if (SchemaType.QualifiedName.IsEmpty) 598if (SchemaType.QualifiedName.IsEmpty) { 623if (name.IsEmpty) {
System\Xml\Xsl\XsltOld\ApplyTemplatesAction.cs (1)
39return(mode == null || mode.IsEmpty) ? BuiltInRule() : new ApplyTemplatesAction(mode);
System\Xml\Xsl\XsltOld\Stylesheet.cs (1)
179if (mode.IsEmpty) {
System.Runtime.Serialization (8)
System\Runtime\Serialization\SchemaImporter.cs (8)
953if (elementTypeName.IsEmpty) 987if (element.SchemaTypeName.IsEmpty) 991else if (!element.RefName.IsEmpty) 1085if (element.SchemaTypeName.IsEmpty) 1101else if (!element.RefName.IsEmpty) 1234if (!restriction.BaseTypeName.IsEmpty) 1374if (!element.SubstitutionGroup.IsEmpty) 1399if (attribute.RefName.IsEmpty || attribute.RefName.Namespace != Globals.SerializationNamespace || attribute.Use == XmlSchemaUse.Required)
System.ServiceModel (17)
System\ServiceModel\Description\MessageContractExporter.cs (1)
348return qname == null || qname.IsEmpty;
System\ServiceModel\Description\MessageContractImporter.cs (9)
319if (operationMessage.Message.IsEmpty) 389if (wsdlOperationMessage.Message.IsEmpty) 617if (fault.Message.IsEmpty) 700if (element.SchemaTypeName.IsEmpty && element.RefName != null) 928if (part.Element != null && !part.Element.IsEmpty) 934if (element.SchemaTypeName != null && !element.SchemaTypeName.IsEmpty) 944if (part.Type != null && !part.Type.IsEmpty) 1230return qname == null || qname.IsEmpty; 2195if (soapHeaderBinding.Message == null || soapHeaderBinding.Message.IsEmpty)
System\ServiceModel\Description\OperationGenerator.cs (2)
806if (message.XsdTypeName != null && !message.XsdTypeName.IsEmpty) 814if (message.XsdTypeName == null || message.XsdTypeName.IsEmpty)
System\ServiceModel\Description\SchemaHelper.cs (3)
32if (!element.SchemaTypeName.IsEmpty) 96if (!element.SchemaTypeName.IsEmpty) 180if (typeName == null || typeName.IsEmpty)
System\ServiceModel\Description\ServiceMetadataExtension.cs (2)
1246if (!port.Binding.IsEmpty) 1249if (!binding.Type.IsEmpty)
System.ServiceModel.Activities (2)
System\ServiceModel\Activities\ContractValidationHelper.cs (1)
303if (!xmlQualifiedName.IsEmpty)
System\ServiceModel\Activities\MessageBuilder.cs (1)
151if (!xmlQualifiedName.IsEmpty)
System.Web.Extensions (1)
Script\Services\WebServiceTypeData.cs (1)
242if (!qname.IsEmpty) {
System.Web.Services (21)
System\Web\Services\Description\ServiceDescriptionImporter.cs (3)
444if (part.Element != null && !part.Element.IsEmpty) { 449if (element.SchemaTypeName != null && !element.SchemaTypeName.IsEmpty) { 457if (part.Type != null && !part.Type.IsEmpty) {
System\Web\Services\Description\SoapProtocolImporter.cs (12)
573if (part.Type.IsEmpty) throw new InvalidOperationException(Res.GetString(Res.WebDescriptionPartTypeRequired, part.Name, header.Message.Name, header.Message.Namespace)); 574if (!part.Element.IsEmpty) UnsupportedOperationBindingWarning(Res.GetString(Res.WebDescriptionPartElementWarning, part.Name, header.Message.Name, header.Message.Namespace)); 579if (part.Element.IsEmpty) throw new InvalidOperationException(Res.GetString(Res.WebDescriptionPartElementRequired, part.Name, header.Message.Name, header.Message.Namespace)); 580if (!part.Type.IsEmpty) UnsupportedOperationBindingWarning(Res.GetString(Res.WebDescriptionPartTypeWarning, part.Name, header.Message.Name, header.Message.Namespace)); 1025if (!part.Element.IsEmpty) { 1032if (parts.Length == 1 && !parts[0].Type.IsEmpty) { 1034if (!parts[0].Element.IsEmpty) { 1047if (!part.Type.IsEmpty) { 1051if (part.Element.IsEmpty) { 1064if (!part.Element.IsEmpty) { 1068if (part.Type.IsEmpty) { 1164if (parts.Length == 1 && !parts[0].Type.IsEmpty) {
System\Web\Services\Description\WebServicesInteroperability.cs (5)
332if (part.Type != null && !part.Type.IsEmpty && part.Element != null && !part.Element.IsEmpty) { 337XmlQualifiedName qname = part.Type == null || part.Type.IsEmpty ? part.Element : part.Type; 344if (!element && (part.Type == null || part.Type.IsEmpty)) { 349if (element && (part.Element == null || part.Element.IsEmpty)) {
System\Web\Services\Protocols\SoapServerProtocol.cs (1)
167if (soap11 && !routingOnSoapAction && soapMethod.requestElementName.IsEmpty)
System.Xml (159)
System\Xml\Dom\DocumentSchemaValidator.cs (1)
106if (!schemaElement.RefName.IsEmpty) { //If it is element ref,
System\Xml\Dom\XmlLoader.cs (2)
560XmlEntity ent = new XmlEntity( scEnt.Name.Name, scEnt.Text, scEnt.Pubid, scEnt.Url, scEnt.NData.IsEmpty ? null : scEnt.NData.Name, doc ); 568XmlEntity ent = new XmlEntity( scEnt.Name.Name, scEnt.Text, scEnt.Pubid, scEnt.Url, scEnt.NData.IsEmpty ? null : scEnt.NData.Name, doc );
System\Xml\Schema\BaseValidator.cs (2)
240else if (en.NData.IsEmpty) { 261else if (en.NData.IsEmpty) {
System\Xml\Schema\ContentValidator.cs (1)
946if (elem != null && (global ||!elem.RefName.IsEmpty)) {
System\Xml\Schema\DataTypeImplementation.cs (1)
555if (simpleType == null || simpleType.QualifiedName.IsEmpty) { //If no QName, get typecode, no line info since it is not pertinent without file name
System\Xml\Schema\DtdParser.cs (1)
3205if ( !entity.NData.IsEmpty ) {
System\Xml\Schema\DtdValidator.cs (2)
118(!schemaInfo.DocTypeName.IsEmpty) && 372if (!en.NData.IsEmpty) {
System\Xml\Schema\Inference\Infer.cs (5)
693else if (!xse.SchemaTypeName.IsEmpty) 773else if (!xse.SchemaTypeName.IsEmpty) 921if (!xse.SchemaTypeName.IsEmpty) // 1253if (effectiveSchemaType != null && effectiveSchemaType.Datatype != null && !xse.SchemaTypeName.IsEmpty) 2481if (qname == null || qname.IsEmpty) {
System\Xml\Schema\Preprocessor.cs (23)
1002if (attribute.RefName.IsEmpty) { 1008if (!attribute.SchemaTypeName.IsEmpty || 1028if (!attribute.RefName.IsEmpty) { 1042if (!attribute.SchemaTypeName.IsEmpty) { 1047if (!attribute.SchemaTypeName.IsEmpty) { 1101if (!element.SubstitutionGroup.IsEmpty) { 1115if (element.RefName.IsEmpty) { 1121if (!element.SchemaTypeName.IsEmpty || 1147if (!element.SubstitutionGroup.IsEmpty) { 1155if (!element.RefName.IsEmpty) { 1177if (!element.SchemaTypeName.IsEmpty) { 1187if (!element.SchemaTypeName.IsEmpty) { 1231if (keyref.Refer.IsEmpty) { 1296if (!restriction.BaseTypeName.IsEmpty) { 1302if (restriction.BaseTypeName.IsEmpty) { 1317if (!list.ItemTypeName.IsEmpty) { 1324if (list.ItemTypeName.IsEmpty) { 1429if (contentExtension.BaseTypeName.IsEmpty) { 1440if (contentRestriction.BaseTypeName.IsEmpty) { 1475if (contentExtension.BaseTypeName.IsEmpty) { 1490if (contentRestriction.BaseTypeName.IsEmpty) { 1626if (groupRef.RefName.IsEmpty) { 1655if (attributeGroupRef.RefName.IsEmpty) {
System\Xml\Schema\SchemaCollectionCompiler.cs (9)
40if (!element.SubstitutionGroup.IsEmpty) { 421if (list.ItemTypeName.IsEmpty) { 445if (restriction.BaseTypeName.IsEmpty) { 878if (!element.RefName.IsEmpty && substitution && (element.BlockResolved & XmlSchemaDerivationMethod.Substitution) == 0) { 1637if (!xa.RefName.IsEmpty) { 1681else if (!xa.SchemaTypeName.IsEmpty) { 1803if (!xe.RefName.IsEmpty) { 1819else if (!xe.SchemaTypeName.IsEmpty) { 1825else if (!xe.SubstitutionGroup.IsEmpty) {
System\Xml\Schema\SchemaCollectionpreProcessor.cs (23)
694if (attribute.RefName.IsEmpty) { 700if (!attribute.SchemaTypeName.IsEmpty || 718if (!attribute.RefName.IsEmpty) { 732if (!attribute.SchemaTypeName.IsEmpty) { 737if (!attribute.SchemaTypeName.IsEmpty) { 791if (!element.SubstitutionGroup.IsEmpty) { 805if (element.RefName.IsEmpty) { 811if (!element.SchemaTypeName.IsEmpty || 837if (!element.SubstitutionGroup.IsEmpty) { 845if (!element.RefName.IsEmpty) { 867if (!element.SchemaTypeName.IsEmpty) { 877if (!element.SchemaTypeName.IsEmpty) { 919if (keyref.Refer.IsEmpty) { 984if (!restriction.BaseTypeName.IsEmpty) { 990if (restriction.BaseTypeName.IsEmpty) { 1005if (!list.ItemTypeName.IsEmpty) { 1012if (list.ItemTypeName.IsEmpty) { 1115if (contentExtension.BaseTypeName.IsEmpty) { 1126if (contentRestriction.BaseTypeName.IsEmpty) { 1161if (contentExtension.BaseTypeName.IsEmpty) { 1176if (contentRestriction.BaseTypeName.IsEmpty) { 1314if (groupRef.RefName.IsEmpty) { 1343if (attributeGroupRef.RefName.IsEmpty) {
System\Xml\Schema\SchemaEntity.cs (1)
54get { return !this.NData.IsEmpty; }
System\Xml\Schema\SchemaSetCompiler.cs (9)
351if (!element.SubstitutionGroup.IsEmpty) { 485if (list.ItemTypeName.IsEmpty) { 509if (restriction.BaseTypeName.IsEmpty) { 972if (!element.RefName.IsEmpty && (element.ElementDecl.Block & XmlSchemaDerivationMethod.Substitution) == 0) { 1973if (!xa.RefName.IsEmpty) { 2011else if (!xa.SchemaTypeName.IsEmpty) { 2149if (!xe.RefName.IsEmpty) { 2165else if (!xe.SchemaTypeName.IsEmpty) { 2171else if (!xe.SubstitutionGroup.IsEmpty) {
System\Xml\Schema\XdrBuilder.cs (3)
732if (builder._ElementDef._ElementDecl.Name.IsEmpty) { 981if (builder._AttributeDef._Name.IsEmpty) { 1126if (builder._BaseDecl._TypeName.IsEmpty) {
System\Xml\Schema\XmlSchemaComplexType.cs (8)
449if (!att.RefName.IsEmpty || !att.SchemaTypeName.IsEmpty) { 491if (oldElem != null && (!oldElem.RefName.IsEmpty || !oldElem.SchemaTypeName.IsEmpty || 531if (elem != null && (!elem.RefName.IsEmpty || !elem.SchemaTypeName.IsEmpty || 555if (!attribute.RefName.IsEmpty || !attribute.SchemaTypeName.IsEmpty) {
System\Xml\Schema\XmlSchemaElement.cs (1)
331if (complexType != null && complexType.QualifiedName.IsEmpty) {
System\Xml\Schema\XmlSchemaValidator.cs (3)
1165else if (matchedElem.RefName.IsEmpty) { //It is not element ref but a local element 1190if(!head.IsEmpty) { 1409if (xsiTypeName.IsEmpty) {
System\Xml\Schema\XmlValueConverter.cs (1)
500while (type.QualifiedName.IsEmpty) {
System\Xml\Schema\XsdBuilder.cs (1)
1981if (!builder.element.RefName.IsEmpty) {
System\Xml\Schema\XsdValidator.cs (2)
196if (elementDecl == null || !xsiType.IsEmpty || xsiNil != null) { 326if (xsiType.IsEmpty) {
System\Xml\Serialization\ImportContext.cs (8)
129if (qname == null || qname.IsEmpty) 343if (list.ItemTypeName != null && !list.ItemTypeName.IsEmpty) 363if (baseType == null && !baseName.IsEmpty && baseName.Namespace != XmlSchema.Namespace) 380if (!el.SubstitutionGroup.IsEmpty) { 386if (!el.RefName.IsEmpty) { 390else if (!el.SchemaTypeName.IsEmpty) { 421if (!at.RefName.IsEmpty) { 425else if (!at.SchemaTypeName.IsEmpty) {
System\Xml\Serialization\Mappings.cs (2)
1143if (xsiType.IsEmpty) { 1161if (!xsiType.IsEmpty) {
System\Xml\Serialization\SchemaObjectWriter.cs (16)
148if (value.IsEmpty) 256if (o.QualifiedName != null && !o.QualifiedName.IsEmpty && o.QualifiedName.Namespace != null && o.QualifiedName.Namespace.Length != 0) { 265if (!o.RefName.IsEmpty) { 268else if (!o.SchemaTypeName.IsEmpty) { 517if (!o.@ItemTypeName.IsEmpty){ 530if (!o.@BaseTypeName.IsEmpty){ 632if (!o.RefName.IsEmpty) { 725if (!o.@BaseTypeName.IsEmpty){ 739if (!o.@BaseTypeName.IsEmpty){ 773if (!o.@BaseTypeName.IsEmpty){ 822if (o.QualifiedName != null && !o.QualifiedName.IsEmpty && o.QualifiedName.Namespace != null && o.QualifiedName.Namespace.Length != 0) { 835if (!o.SubstitutionGroup.IsEmpty) { 838if (!o.RefName.IsEmpty) { 841else if (!o.SchemaTypeName.IsEmpty) { 1014if (!o.RefName.IsEmpty) { 1029if (!o.@BaseTypeName.IsEmpty){
System\Xml\Serialization\SoapSchemaExporter.cs (1)
214if (qname.IsEmpty) {
System\Xml\Serialization\SoapSchemaImporter.cs (6)
161if (!element.RefName.IsEmpty) { 183if (!element.SchemaTypeName.IsEmpty) 197else if (!element.SubstitutionGroup.IsEmpty) { 280if (!type.DerivedFrom.IsEmpty) { 621if (!dataType.DerivedFrom.IsEmpty) { 649if (!baseType.IsEmpty) {
System\Xml\Serialization\XmlReflectionImporter.cs (2)
465if (qname != null && !qname.IsEmpty) { 518if (baseQname.IsEmpty) return;
System\Xml\Serialization\XmlSchemaExporter.cs (2)
448if (!serializableMapping.XsiType.IsEmpty && serializableMapping.XsiType.Namespace == schema.TargetNamespace) 454if (element.SchemaTypeName.IsEmpty)
System\Xml\Serialization\XmlSchemaImporter.cs (22)
288if (!element.RefName.IsEmpty) { 339if (!element.SchemaTypeName.IsEmpty) { 357else if (!element.SubstitutionGroup.IsEmpty) 384if (!qname.IsEmpty) { 401if (qname.IsEmpty) { 424mapping.TypeName = qname.IsEmpty ? null : typeName; 516if (!type.DerivedFrom.IsEmpty) throw new InvalidOperationException(Res.GetString(Res.XmlMembersDeriveError)); 533if (!type.DerivedFrom.IsEmpty) { 657while (!t.DerivedFrom.IsEmpty) { 891if (!refGroup.RefName.IsEmpty) { 973if (!refGroup.RefName.IsEmpty) { 1007if (!element.RefName.IsEmpty) 1182if (!type.DerivedFrom.IsEmpty) return null; 1249if (!element.RefName.IsEmpty) 1281if (!type.DerivedFrom.IsEmpty) return null; 1488if (!attribute.RefName.IsEmpty) { 1500if (!attribute.SchemaTypeName.IsEmpty) 1577else if (list.ItemTypeName != null && !list.ItemTypeName.IsEmpty) { 1596while (!sourceType.DerivedFrom.IsEmpty) { 1726if (list.ItemTypeName != null && !list.ItemTypeName.IsEmpty) 1751if (name == null || name.IsEmpty) { 1774if (name == null || name.IsEmpty) {
System\Xml\Serialization\XmlSerializationWriter.cs (1)
387if (xmlQualifiedName.IsEmpty && ignoreEmpty) return null;
System.Xml.Linq (2)
System\Xml\Linq\XNodeValidator.cs (2)
106if (!name.IsEmpty) { 117if (!name.IsEmpty) {