static private CreateInvalidCharException ( char invChar, char nextChar, ExceptionType exceptionType ) : |
||
invChar | char | |
nextChar | char | |
exceptionType | ExceptionType | |
리턴 |
internal static Exception CreateInvalidCharException(char invChar, char nextChar, ExceptionType exceptionType)
{
return CreateException(SR.Xml_InvalidCharacter, XmlException.BuildCharExceptionArgs(invChar, nextChar), exceptionType);
}
XmlConvert::CreateInvalidCharException ( char invChar, char nextChar ) : |
|
XmlConvert::CreateInvalidCharException ( char data, int length, int invCharPos ) : |
|
XmlConvert::CreateInvalidCharException ( char data, int length, int invCharPos, ExceptionType exceptionType ) : |
|
XmlConvert::CreateInvalidCharException ( string data, int invCharPos ) : |
|
XmlConvert::CreateInvalidCharException ( string data, int invCharPos, ExceptionType exceptionType ) : |
public override Task WriteDocTypeAsync(string name, string pubid, string sysid, string subset) { if (_checkNames) { ValidateQName(name); } if (_checkValues) { if (pubid != null) { int i; if ((i = _xmlCharType.IsPublicId(pubid)) >= 0) { throw XmlConvert.CreateInvalidCharException(pubid, i); } } if (sysid != null) { CheckCharacters(sysid); } if (subset != null) { CheckCharacters(subset); } } if (_replaceNewLines) { sysid = ReplaceNewLines(sysid); pubid = ReplaceNewLines(pubid); subset = ReplaceNewLines(subset); } return(writer.WriteDocTypeAsync(name, pubid, sysid, subset)); }