Browse Source

fix #678 - AddressOf all over the place (v 2.3.1.1855)

pull/703/head
Siegfried Pammer 9 years ago
parent
commit
7aa719ea41
  1. 8
      ILSpy/VB/ILSpyEnvironmentProvider.cs

8
ILSpy/VB/ILSpyEnvironmentProvider.cs

@ -144,11 +144,11 @@ namespace ICSharpCode.ILSpy.VB @@ -144,11 +144,11 @@ namespace ICSharpCode.ILSpy.VB
return expression.Annotation<EventDefinition>() != null;
}
public bool IsMethodGroup(ICSharpCode.NRefactory.CSharp.Expression expression)
public bool IsMethodGroup(NRefactory.CSharp.Expression expression)
{
var annotation = expression.Annotation<MethodDefinition>();
if (annotation != null) {
return true;
var methodInfo = expression.Annotation<MethodDefinition>();
if (methodInfo != null) {
return !methodInfo.IsGetter && !methodInfo.IsSetter;
}
return false;

Loading…
Cancel
Save