public IList<XamlTypeName> ParseList (string text, out string error)
{
this._scanner = new GenericTypeNameScanner(text);
this._inputText = text;
this.StartStack();
error = string.Empty;
try {
this._scanner.Read();
this.P_XamlTypeNameList();
if (this._scanner.Token != GenericTypeNameScannerToken.NONE) {
this.ThrowOnBadInput();
}
}
catch (TypeNameParserException exception) {
error = exception.Message;
}
IList<XamlTypeName> list = null;
if (string.IsNullOrEmpty(error)) {
list = this.CollectNameListFromStack();
}
return list;
}