15 references to Throw
System.Private.Xml (15)
System\Xml\Core\XmlTextReaderImpl.cs (11)
4996Throw(SR.Xml_DupAttributeName, _nodes[j].GetNameWPrefix(_nameTable), _nodes[j].LineNo, _nodes[j].LinePos); 5016Throw(SR.Xml_DupAttributeName, attr2.GetNameWPrefix(_nameTable), attr2.LineNo, attr2.LinePos); 5077Throw(SR.Xml_InvalidXmlSpace, attr.StringValue, attr.lineInfo.lineNo, attr.lineInfo.linePos); 6043Throw(SR.Xml_UndeclaredEntity, name, _ps.LineNo, entityStartLinePos); 6057Throw(SR.Xml_UnparsedEntityRef, name, _ps.LineNo, entityStartLinePos); 6062Throw(SR.Xml_ExternalEntityInStandAloneDocument, entity.Name, _ps.LineNo, entityStartLinePos); 6069Throw(SR.Xml_ExternalEntityInAttValue, name, _ps.LineNo, entityStartLinePos); 7770Throw(SR.Xml_UnknownNs, node.prefix, node.LineNo, node.LinePos); 7785Throw(SR.Xml_NamespaceDeclXmlXmlns, prefix, (int)attr.lineInfo2.lineNo, (int)attr.lineInfo2.linePos); 7792Throw(SR.Xml_NamespaceDeclXmlXmlns, prefix, (int)attr.lineInfo2.lineNo, (int)attr.lineInfo2.linePos); 8067Throw(entity.IsParameterEntity ? SR.Xml_RecursiveParEntity : SR.Xml_RecursiveGenEntity, entity.Name,
System\Xml\Core\XmlTextReaderImplAsync.cs (4)
3829Throw(SR.Xml_UndeclaredEntity, name, _ps.LineNo, entityStartLinePos); 3842Throw(SR.Xml_UnparsedEntityRef, name, _ps.LineNo, entityStartLinePos); 3847Throw(SR.Xml_ExternalEntityInStandAloneDocument, entity.Name, _ps.LineNo, entityStartLinePos); 3854Throw(SR.Xml_ExternalEntityInAttValue, name, _ps.LineNo, entityStartLinePos);