Skip to content
This repository was archived by the owner on Sep 24, 2020. It is now read-only.

Commit db19caa

Browse files
Mike KrügerMike Krüger
authored andcommitted
Added some getters to the unresolved type system.
I need to generate id strings using the unresolved type system and these are required for that.
1 parent 95c3d31 commit db19caa

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

ICSharpCode.NRefactory/TypeSystem/IMethod.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ public interface IUnresolvedMethod : IUnresolvedParameterizedMember
4747
/// </summary>
4848
bool IsAsync { get; }
4949

50+
bool IsExtensionMethod { get; }
51+
5052
[Obsolete("Use IsPartial && !HasBody instead")]
5153
bool IsPartialMethodDeclaration { get; }
5254

ICSharpCode.NRefactory/TypeSystem/Implementation/TypeParameterReference.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ public static TypeParameterReference Create(SymbolKind ownerType, int index)
4949
readonly SymbolKind ownerType;
5050
readonly int index;
5151

52+
public SymbolKind OwnerType {
53+
get {
54+
return ownerType;
55+
}
56+
}
57+
5258
public int Index {
5359
get {
5460
return index;

0 commit comments

Comments
 (0)