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