Skip to content

Commit

Permalink
Applied @marek-safar review to exit the loop once the condition is fu…
Browse files Browse the repository at this point in the history
…lfilled. (#61165)
  • Loading branch information
ilonatommy authored Nov 4, 2021
1 parent 1902063 commit d216c7c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/mono/wasm/debugger/BrowserDebugProxy/DebugStore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,11 @@ public MethodInfo(AssemblyInfo assembly, MethodDefinitionHandle methodDefHandle,
var container = asmMetadataReader.GetMemberReference((MemberReferenceHandle)ctorHandle).Parent;
var name = asmMetadataReader.GetString(asmMetadataReader.GetTypeReference((TypeReferenceHandle)container).Name);
if (name == "DebuggerHiddenAttribute")
{
this.IsHiddenFromDebugger = true;
break;
}

}
}
}
Expand Down

0 comments on commit d216c7c

Please sign in to comment.