Skip to content

Commit

Permalink
Fixed incorrect members ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Newman committed Dec 31, 2015
1 parent a2b55de commit 2ba89eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ICSharpCode.NRefactory.CSharp/Parser/mcs/membercache.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1316,7 +1316,7 @@ static MemberCore GetLaterDefinedMember (MemberSpec a, MemberSpec b)
if (a.DeclaringType.MemberDefinition != b.DeclaringType.MemberDefinition)
return mc_b;

if (mc_a.Location.File != mc_a.Location.File)
if (mc_a.Location.File != mc_b.Location.File)
return mc_b;

return mc_b.Location.Row > mc_a.Location.Row ? mc_b : mc_a;
Expand Down

0 comments on commit 2ba89eb

Please sign in to comment.