Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
Added some getters to the unresolved type system.
Browse files Browse the repository at this point in the history
I need to generate id strings using the unresolved type system and these are required for that.
  • Loading branch information
Mike Krüger authored and Mike Krüger committed Nov 3, 2017
1 parent 95c3d31 commit db19caa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ICSharpCode.NRefactory/TypeSystem/IMethod.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ public interface IUnresolvedMethod : IUnresolvedParameterizedMember
/// </summary>
bool IsAsync { get; }

bool IsExtensionMethod { get; }

[Obsolete("Use IsPartial && !HasBody instead")]
bool IsPartialMethodDeclaration { get; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ public static TypeParameterReference Create(SymbolKind ownerType, int index)
readonly SymbolKind ownerType;
readonly int index;

public SymbolKind OwnerType {
get {
return ownerType;
}
}

public int Index {
get {
return index;
Expand Down

0 comments on commit db19caa

Please sign in to comment.