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)
823
Debug.Assert(
_currentSchema
!= null);
824
SetSchemaDefaults(
_currentSchema
);
1207
if (Ref.Equal(
_currentSchema
!.TargetNamespace, _nsXsi))
2064
_currentSchema
!.Ids.Add(xso.IdAttribute, xso);
2103
if (
_currentSchema
!.IsChameleon && value.Namespace.Length == 0)
2105
value.SetNamespace(
_currentSchema
.TargetNamespace); //chameleon schemas are clones that have correct targetNamespace set