2 writes to _nsManager
System.Private.Xml (2)
System\Xml\Schema\XsdValidator.cs (2)
70_nsManager = reader.NamespaceManager!; 73_nsManager = new XmlNamespaceManager(NameTable);
10 references to _nsManager
System.Private.Xml (10)
System\Xml\Schema\XsdValidator.cs (10)
56[MemberNotNull(nameof(_nsManager))] 71if (_nsManager == null) 220_nsManager.PushScope(); 268foreach (string ns in _nsManager.GetNamespacesInScope(XmlNamespaceScope.ExcludeXml).Values) 285_nsManager.AddNamespace(reader.Prefix.Length == 0 ? string.Empty : reader.LocalName, reader.Value); 292xsiSchemaLocation = (string[])s_dtStringArray.ParseValue(reader.Value, NameTable, _nsManager); 300xsiType = (XmlQualifiedName)s_dtQName.ParseValue(reader.Value, NameTable, _nsManager); 327_nsManager.PopScope(); 623if (SchemaInfo!.TargetNamespaces.ContainsKey(uri) && _nsManager.LookupPrefix(uri) != null) 701object? typedValue = dtype.ParseValue(value, NameTable, _nsManager, true);