Skip to content

Conversation

@Youssef1313
Copy link
Member

@Youssef1313 Youssef1313 commented Oct 13, 2023

  • The method.Parameters.Count == 0 check should be faster than LINQ's Any call (CustomAttributes.Any). So moved it first.
  • Moved some variables near their usage, particularly, GetILProcessor which may allocate unnecessarily if GC.KeepAlive(...) call was already found. It's not a big of problem though as it's not very common.

@Youssef1313 Youssef1313 requested a review from jonpryor as a code owner October 13, 2023 09:35
@jonathanpeppers
Copy link
Member

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@jonathanpeppers jonathanpeppers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a ApplicationRunsWithDebuggerAndBreaks test failure, but that one is flaky and we can ignore.

@jonathanpeppers jonathanpeppers merged commit 2625783 into dotnet:main Oct 17, 2023
@Youssef1313 Youssef1313 deleted the patch-5 branch October 17, 2023 16:34
grendello added a commit to grendello/xamarin-android that referenced this pull request Oct 18, 2023
* main:
  [Mono.Android] Generate API docs with "full" verbosity (dotnet#8435)
  [profiled-aot] update profile for .NET 8 GA (dotnet#8428)
  Bump to xamarin/Java.Interop/main@3c83179 (dotnet#8429)
  [Xamarin.Android.Build.Tasks] Small refactoring to `AddKeepAlives` method (dotnet#8423)
  [Xamarin.Android.Build.Tasks] Fixup indirect resource references (dotnet#8416)
@github-actions github-actions bot locked and limited conversation to collaborators Jan 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants