2 writes to _currentSchema
System.Private.Xml (2)
System\Xml\Schema\Preprocessor.cs (2)
647_currentSchema = schema; 822_currentSchema = GetParentSchema(redefine)!; // Set this for correct schema context in ValidateIdAttribute & ValidateQNameAttribute for redefines
6 references to _currentSchema
System.Private.Xml (6)
System\Xml\Schema\Preprocessor.cs (6)
823Debug.Assert(_currentSchema != null); 824SetSchemaDefaults(_currentSchema); 1207if (Ref.Equal(_currentSchema!.TargetNamespace, _nsXsi)) 2064_currentSchema!.Ids.Add(xso.IdAttribute, xso); 2103if (_currentSchema!.IsChameleon && value.Namespace.Length == 0) 2105value.SetNamespace(_currentSchema.TargetNamespace); //chameleon schemas are clones that have correct targetNamespace set