181 references to IsEmpty
dotnet-svcutil-lib (181)
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentSchemaValidator.cs (1)
112if (!schemaElement.RefName.IsEmpty)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlLoader.cs (2)
642XmlEntity ent = new XmlEntity(scEnt.Name.Name, scEnt.Text, scEnt.Pubid, scEnt.Url, scEnt.NData.IsEmpty ? null : scEnt.NData.Name, _doc); 652XmlEntity ent = new XmlEntity(scEnt.Name.Name, scEnt.Text, scEnt.Pubid, scEnt.Url, scEnt.NData.IsEmpty ? null : scEnt.NData.Name, _doc);
FrameworkFork\Microsoft.Xml\Xml\schema\basevalidator.cs (2)
293else if (en.NData.IsEmpty) 319else if (en.NData.IsEmpty)
FrameworkFork\Microsoft.Xml\Xml\schema\ContentValidator.cs (1)
1100if (elem != null && (global || !elem.RefName.IsEmpty))
FrameworkFork\Microsoft.Xml\Xml\schema\DatatypeImplementation.cs (1)
640if (simpleType == null || simpleType.QualifiedName.IsEmpty)
FrameworkFork\Microsoft.Xml\Xml\schema\DtdParser.cs (1)
3456if (!entity.NData.IsEmpty)
FrameworkFork\Microsoft.Xml\Xml\schema\dtdvalidator.cs (2)
132(!schemaInfo.DocTypeName.IsEmpty) && 449if (!en.NData.IsEmpty)
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\infer.cs (5)
694else if (!xse.SchemaTypeName.IsEmpty) 775else if (!xse.SchemaTypeName.IsEmpty) 923if (!xse.SchemaTypeName.IsEmpty) //BUGBUG, This assumption is wrong 1262if (effectiveSchemaType != null && effectiveSchemaType.Datatype != null && !xse.SchemaTypeName.IsEmpty) 2521if (qname == null || qname.IsEmpty)
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (23)
1214if (attribute.RefName.IsEmpty) 1222if (!attribute.SchemaTypeName.IsEmpty || 1245if (!attribute.RefName.IsEmpty) 1264if (!attribute.SchemaTypeName.IsEmpty) 1270if (!attribute.SchemaTypeName.IsEmpty) 1340if (!element.SubstitutionGroup.IsEmpty) 1358if (element.RefName.IsEmpty) 1366if (!element.SchemaTypeName.IsEmpty || 1397if (!element.SubstitutionGroup.IsEmpty) 1407if (!element.RefName.IsEmpty) 1437if (!element.SchemaTypeName.IsEmpty) 1450if (!element.SchemaTypeName.IsEmpty) 1505if (keyref.Refer.IsEmpty) 1590if (!restriction.BaseTypeName.IsEmpty) 1598if (restriction.BaseTypeName.IsEmpty) 1617if (!list.ItemTypeName.IsEmpty) 1626if (list.ItemTypeName.IsEmpty) 1761if (contentExtension.BaseTypeName.IsEmpty) 1775if (contentRestriction.BaseTypeName.IsEmpty) 1820if (contentExtension.BaseTypeName.IsEmpty) 1839if (contentRestriction.BaseTypeName.IsEmpty) 2011if (groupRef.RefName.IsEmpty) 2049if (attributeGroupRef.RefName.IsEmpty)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (9)
43if (!element.SubstitutionGroup.IsEmpty) 527if (list.ItemTypeName.IsEmpty) 557if (restriction.BaseTypeName.IsEmpty) 1104if (!element.RefName.IsEmpty && substitution && (element.BlockResolved & XmlSchemaDerivationMethod.Substitution) == 0) 2065if (!xa.RefName.IsEmpty) 2122else if (!xa.SchemaTypeName.IsEmpty) 2273if (!xe.RefName.IsEmpty) 2294else if (!xe.SchemaTypeName.IsEmpty) 2302else if (!xe.SubstitutionGroup.IsEmpty)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionPreprocessor.cs (23)
863if (attribute.RefName.IsEmpty) 871if (!attribute.SchemaTypeName.IsEmpty || 892if (!attribute.RefName.IsEmpty) 911if (!attribute.SchemaTypeName.IsEmpty) 917if (!attribute.SchemaTypeName.IsEmpty) 987if (!element.SubstitutionGroup.IsEmpty) 1005if (element.RefName.IsEmpty) 1013if (!element.SchemaTypeName.IsEmpty || 1044if (!element.SubstitutionGroup.IsEmpty) 1054if (!element.RefName.IsEmpty) 1084if (!element.SchemaTypeName.IsEmpty) 1097if (!element.SchemaTypeName.IsEmpty) 1150if (keyref.Refer.IsEmpty) 1235if (!restriction.BaseTypeName.IsEmpty) 1243if (restriction.BaseTypeName.IsEmpty) 1262if (!list.ItemTypeName.IsEmpty) 1271if (list.ItemTypeName.IsEmpty) 1404if (contentExtension.BaseTypeName.IsEmpty) 1418if (contentRestriction.BaseTypeName.IsEmpty) 1463if (contentExtension.BaseTypeName.IsEmpty) 1482if (contentRestriction.BaseTypeName.IsEmpty) 1658if (groupRef.RefName.IsEmpty) 1696if (attributeGroupRef.RefName.IsEmpty)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaEntity.cs (1)
57get { return !this.NData.IsEmpty; }
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (9)
437if (!element.SubstitutionGroup.IsEmpty) 608if (list.ItemTypeName.IsEmpty) 638if (restriction.BaseTypeName.IsEmpty) 1225if (!element.RefName.IsEmpty && (element.ElementDecl.Block & XmlSchemaDerivationMethod.Substitution) == 0) 2483if (!xa.RefName.IsEmpty) 2532else if (!xa.SchemaTypeName.IsEmpty) 2704if (!xe.RefName.IsEmpty) 2725else if (!xe.SchemaTypeName.IsEmpty) 2733else if (!xe.SubstitutionGroup.IsEmpty)
FrameworkFork\Microsoft.Xml\Xml\schema\XdrBuilder.cs (3)
812if (builder._ElementDef._ElementDecl.Name.IsEmpty) 1106if (builder._AttributeDef._Name.IsEmpty) 1276if (builder._BaseDecl._TypeName.IsEmpty)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaComplexType.cs (8)
520if (!att.RefName.IsEmpty || !att.SchemaTypeName.IsEmpty) 569if (oldElem != null && (!oldElem.RefName.IsEmpty || !oldElem.SchemaTypeName.IsEmpty || 618if (elem != null && (!elem.RefName.IsEmpty || !elem.SchemaTypeName.IsEmpty || 649if (!attribute.RefName.IsEmpty || !attribute.SchemaTypeName.IsEmpty)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaElement.cs (1)
375if (complexType != null && complexType.QualifiedName.IsEmpty)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (3)
1390else if (matchedElem.RefName.IsEmpty) 1420if (!head.IsEmpty) 1693if (xsiTypeName.IsEmpty)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlValueConverter.cs (1)
516while (type.QualifiedName.IsEmpty)
FrameworkFork\Microsoft.Xml\Xml\schema\XsdBuilder.cs (1)
2157if (!builder._element.RefName.IsEmpty)
FrameworkFork\Microsoft.Xml\Xml\schema\xsdvalidator.cs (2)
228if (elementDecl == null || !xsiType.IsEmpty || xsiNil != null) 393if (xsiType.IsEmpty)
FrameworkFork\Microsoft.Xml\Xml\Serialization\ImportContext.cs (8)
149if (qname == null || qname.IsEmpty) 404if (list.ItemTypeName != null && !list.ItemTypeName.IsEmpty) 429if (baseType == null && !baseName.IsEmpty && baseName.Namespace != XmlSchema.Namespace) 451if (!el.SubstitutionGroup.IsEmpty) 459if (!el.RefName.IsEmpty) 464else if (!el.SchemaTypeName.IsEmpty) 505if (!at.RefName.IsEmpty) 510else if (!at.SchemaTypeName.IsEmpty)
FrameworkFork\Microsoft.Xml\Xml\Serialization\Mappings.cs (2)
1361if (_xsiType.IsEmpty) 1382if (!_xsiType.IsEmpty)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SchemaObjectWriter.cs (16)
177if (value.IsEmpty) 308if (o.QualifiedName != null && !o.QualifiedName.IsEmpty && o.QualifiedName.Namespace != null && o.QualifiedName.Namespace.Length != 0) 319if (!o.RefName.IsEmpty) 323else if (!o.SchemaTypeName.IsEmpty) 625if (!o.@ItemTypeName.IsEmpty) 640if (!o.@BaseTypeName.IsEmpty) 764if (!o.RefName.IsEmpty) 874if (!o.@BaseTypeName.IsEmpty) 890if (!o.@BaseTypeName.IsEmpty) 929if (!o.@BaseTypeName.IsEmpty) 987if (o.QualifiedName != null && !o.QualifiedName.IsEmpty && o.QualifiedName.Namespace != null && o.QualifiedName.Namespace.Length != 0) 1004if (!o.SubstitutionGroup.IsEmpty) 1008if (!o.RefName.IsEmpty) 1012else if (!o.SchemaTypeName.IsEmpty) 1215if (!o.RefName.IsEmpty) 1232if (!o.@BaseTypeName.IsEmpty)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaExporter.cs (1)
247if (qname.IsEmpty)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaImporter.cs (6)
167if (!element.RefName.IsEmpty) 192if (!element.SchemaTypeName.IsEmpty) 210else if (!element.SubstitutionGroup.IsEmpty) 307if (!type.DerivedFrom.IsEmpty) 701if (!dataType.DerivedFrom.IsEmpty) 735if (!baseType.IsEmpty)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (2)
526if (qname != null && !qname.IsEmpty) 587if (baseQname.IsEmpty) return;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (2)
519if (!serializableMapping.XsiType.IsEmpty && serializableMapping.XsiType.Namespace == schema.TargetNamespace) 526if (element.SchemaTypeName.IsEmpty)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (22)
315if (!element.RefName.IsEmpty) 374if (!element.SchemaTypeName.IsEmpty) 396else if (!element.SubstitutionGroup.IsEmpty) 428if (!qname.IsEmpty) 451if (qname.IsEmpty) 479mapping.TypeName = qname.IsEmpty ? null : typeName; 588if (!type.DerivedFrom.IsEmpty) throw new InvalidOperationException(ResXml.XmlMembersDeriveError); 606if (!type.DerivedFrom.IsEmpty) 748while (!t.DerivedFrom.IsEmpty) 1021if (!refGroup.RefName.IsEmpty) 1124if (!refGroup.RefName.IsEmpty) 1166if (!element.RefName.IsEmpty) 1365if (!type.DerivedFrom.IsEmpty) return null; 1436if (!element.RefName.IsEmpty) 1469if (!type.DerivedFrom.IsEmpty) return null; 1705if (!attribute.RefName.IsEmpty) 1718if (!attribute.SchemaTypeName.IsEmpty) 1812else if (list.ItemTypeName != null && !list.ItemTypeName.IsEmpty) 1834while (!sourceType.DerivedFrom.IsEmpty) 1983if (list.ItemTypeName != null && !list.ItemTypeName.IsEmpty) 2012if (name == null || name.IsEmpty) 2041if (name == null || name.IsEmpty)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (1)
429if (xmlQualifiedName.IsEmpty && ignoreEmpty) return null;
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaImporter.cs (8)
947if (elementTypeName.IsEmpty) 981if (element.SchemaTypeName.IsEmpty) 985else if (!element.RefName.IsEmpty) 1079if (element.SchemaTypeName.IsEmpty) 1095else if (!element.RefName.IsEmpty) 1228if (!restriction.BaseTypeName.IsEmpty) 1369if (!element.SubstitutionGroup.IsEmpty) 1394if (attribute.RefName.IsEmpty || attribute.RefName.Namespace != Globals.SerializationNamespace || attribute.Use == XmlSchemaUse.Required)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (9)
308if (operationMessage.Message.IsEmpty) 378if (wsdlOperationMessage.Message.IsEmpty) 606if (fault.Message.IsEmpty) 689if (element.SchemaTypeName.IsEmpty && element.RefName != null) 916if (part.Element != null && !part.Element.IsEmpty) 922if (element.SchemaTypeName != null && !element.SchemaTypeName.IsEmpty) 932if (part.Type != null && !part.Type.IsEmpty) 1218return qname == null || qname.IsEmpty; 2182if (soapHeaderBinding.Message == null || soapHeaderBinding.Message.IsEmpty)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (2)
801if (message.XsdTypeName != null && !message.XsdTypeName.IsEmpty) 809if (message.XsdTypeName == null || message.XsdTypeName.IsEmpty)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\SchemaHelper.cs (3)
33if (!element.SchemaTypeName.IsEmpty) 97if (!element.SchemaTypeName.IsEmpty) 181if (typeName == null || typeName.IsEmpty)