2 writes to currentSchema
System.Xml (2)
System\Xml\Schema\Preprocessor.cs (2)
567
this.
currentSchema
= schema;
718
currentSchema
= GetParentSchema(redefine); //Set this for correct schema context in ValidateIdAttribute & ValidateQNameAttribute for redefines
6 references to currentSchema
System.Xml (6)
System\Xml\Schema\Preprocessor.cs (6)
719
Debug.Assert(
currentSchema
!= null);
720
SetSchemaDefaults(
currentSchema
);
1024
if (Ref.Equal(
currentSchema
.TargetNamespace, NsXsi)) {
1692
currentSchema
.Ids.Add(xso.IdAttribute, xso);
1722
if (
currentSchema
.IsChameleon && value.Namespace.Length == 0) {
1723
value.SetNamespace(
currentSchema
.TargetNamespace); //chameleon schemas are clones that have correct targetNamespace set