mirror of https://github.com/mono/CppSharp.git
1 changed files with 20 additions and 0 deletions
@ -0,0 +1,20 @@ |
|||||||
|
|
||||||
|
namespace CppSharp.AST |
||||||
|
{ |
||||||
|
/// <summary>
|
||||||
|
/// Represents a type reference.
|
||||||
|
/// </summary>
|
||||||
|
public class TypeReference |
||||||
|
{ |
||||||
|
public Declaration Declaration; |
||||||
|
public string FowardReference; |
||||||
|
|
||||||
|
public override string ToString() |
||||||
|
{ |
||||||
|
if (!string.IsNullOrWhiteSpace(FowardReference)) |
||||||
|
return FowardReference; |
||||||
|
|
||||||
|
return base.ToString(); |
||||||
|
} |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue