Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xamarin/NRefactory.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ICSharpCode.NRefactory/TypeSystem/IMethod.cs2
-rw-r--r--ICSharpCode.NRefactory/TypeSystem/Implementation/TypeParameterReference.cs6
2 files changed, 8 insertions, 0 deletions
diff --git a/ICSharpCode.NRefactory/TypeSystem/IMethod.cs b/ICSharpCode.NRefactory/TypeSystem/IMethod.cs
index d73616d3..a8c79aed 100644
--- a/ICSharpCode.NRefactory/TypeSystem/IMethod.cs
+++ b/ICSharpCode.NRefactory/TypeSystem/IMethod.cs
@@ -47,6 +47,8 @@ namespace ICSharpCode.NRefactory.TypeSystem
/// </summary>
bool IsAsync { get; }
+ bool IsExtensionMethod { get; }
+
[Obsolete("Use IsPartial && !HasBody instead")]
bool IsPartialMethodDeclaration { get; }
diff --git a/ICSharpCode.NRefactory/TypeSystem/Implementation/TypeParameterReference.cs b/ICSharpCode.NRefactory/TypeSystem/Implementation/TypeParameterReference.cs
index e6ef9400..a32e99fd 100644
--- a/ICSharpCode.NRefactory/TypeSystem/Implementation/TypeParameterReference.cs
+++ b/ICSharpCode.NRefactory/TypeSystem/Implementation/TypeParameterReference.cs
@@ -49,6 +49,12 @@ namespace ICSharpCode.NRefactory.TypeSystem.Implementation
readonly SymbolKind ownerType;
readonly int index;
+ public SymbolKind OwnerType {
+ get {
+ return ownerType;
+ }
+ }
+
public int Index {
get {
return index;