2 writes to _currentSchema
dotnet-svcutil-lib (2)
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (2)
672
_currentSchema
= schema;
855
_currentSchema
= GetParentSchema(redefine); //Set this for correct schema context in ValidateIdAttribute & ValidateQNameAttribute for redefines
6 references to _currentSchema
dotnet-svcutil-lib (6)
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (6)
856
Debug.Assert(
_currentSchema
!= null);
857
SetSchemaDefaults(
_currentSchema
);
1240
if (Ref.Equal(
_currentSchema
.TargetNamespace, _nsXsi))
2097
_currentSchema
.Ids.Add(xso.IdAttribute, xso);
2134
if (
_currentSchema
.IsChameleon && value.Namespace.Length == 0)
2136
value.SetNamespace(
_currentSchema
.TargetNamespace); //chameleon schemas are clones that have correct targetNamespace set