Browse Source

Fix InvalidCastException in MemberLookup.RemoveInterfaceMembersHiddenByClassMembers

newNRvisualizers
Daniel Grunwald 13 years ago
parent
commit
284a4cc795
  1. 2
      ICSharpCode.NRefactory.CSharp/Resolver/MemberLookup.cs

2
ICSharpCode.NRefactory.CSharp/Resolver/MemberLookup.cs

@ -505,7 +505,7 @@ namespace ICSharpCode.NRefactory.CSharp.Resolver @@ -505,7 +505,7 @@ namespace ICSharpCode.NRefactory.CSharp.Resolver
}
}
} else if (!classLookupGroup.MethodsAreHidden) {
foreach (IMethod classMethod in classLookupGroup.Methods) {
foreach (var classMethod in classLookupGroup.Methods) {
// Hide all non-methods from interface types, and all methods with the same signature
// as a method in this class type.
foreach (var interfaceLookupGroup in lookupGroups) {

Loading…
Cancel
Save