2 writes to currentSchema
System.Xml (2)
System\Xml\Schema\Preprocessor.cs (2)
567this.currentSchema = schema; 718currentSchema = 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)
719Debug.Assert(currentSchema != null); 720SetSchemaDefaults(currentSchema); 1024if (Ref.Equal(currentSchema.TargetNamespace, NsXsi)) { 1692currentSchema.Ids.Add(xso.IdAttribute, xso); 1722if (currentSchema.IsChameleon && value.Namespace.Length == 0) { 1723value.SetNamespace(currentSchema.TargetNamespace); //chameleon schemas are clones that have correct targetNamespace set