AvalonEdit/ICSharpCode.AvalonEdit/Xml/TagReader.cs
/// <summary>
/// Reads any of the know closing brackets.  (only full bracket)
/// Context: any
/// </summary>
Reads any of the know closing brackets.  (only full bracket)
Context: any
Reads any of the know closing brackets . ( only full bracket ) Context : any
bool TryReadClosingBracket(out string bracket)
		{
			if (TryRead('>')) {
				bracket = ">";
			} else 	if (TryRead("/>")) {
				bracket = "/>";
			} else 	if (TryRead("?>")) {
				bracket = "?>";
			} else if (TryRead("-->")) {
				bracket = "-->";
			} else if (TryRead("]]>")) {
				bracket = "]]>";
			} else {
				bracket = string.Empty;
				return false;
			}
			return true;
		}
bool TryReadClosingBracket ( out string bracket ) { if ( TryRead ( ' ' ) ) { bracket = " " ; } else if ( TryRead ( " " ) ) { bracket = " " ; } else if ( TryRead ( " " ) ) { bracket = " " ; } else if ( TryRead ( " " ) ) { bracket = " " ; } else if ( TryRead ( " " ) ) { bracket = " " ; } else { bracket = string . Empty ; return false ; } return true ; }
Reads any of the know closing brackets.
Reads any of the know closing brackets .
// We are using a lot of string literals so that the memory instances are shared
string
out