Add a SymbolResult ctor with only a string arg

This commit is contained in:
de4dot 2018-10-11 17:22:59 +02:00
parent 078b1bf666
commit 838837912e
1 changed files with 9 additions and 0 deletions

View File

@ -263,6 +263,15 @@ namespace Iced.Intel {
/// </summary>
public readonly SymbolFlags Flags;
/// <summary>
/// Constructor
/// </summary>
/// <param name="text">Symbol</param>
public SymbolResult(string text) {
Text = new TextInfo(text, FormatterOutputTextKind.Label);
Flags = 0;
}
/// <summary>
/// Constructor
/// </summary>