Skip to content
This repository was archived by the owner on Sep 25, 2026. It is now read-only.

Fix various issues in tlens that prevented running it against a Xamarin.Android app - #2762

Merged
marek-safar merged 1 commit into
dotnet:mainfrom
akoeplinger:fix-tlens
Apr 26, 2022
Merged

marek-safar merged 1 commit into
dotnet:mainfrom
akoeplinger:fix-tlens

Conversation

@akoeplinger

Copy link
Copy Markdown
Member
  • Fix NullReferenceException when the MethodDefinition couldn't be resolved from the MethodReference. This happened in Mono.Android.dll for these two methods:
    • System.UInt64& System.UInt64[0...,0...]::Address(System.Int32,System.Int32)
    • System.Void System.UInt64[0...,0...]::.ctor(System.Int32,System.Int32)
  • Implement checking whether redundant field initialization happens for (U)IntPtr.Zero
  • large-cctors lense was actually running the large-strings lens and vice versa due to using the wrong type

…in.Android app

- Fix NullReferenceException when the MethodDefinition couldn't be resolved from the MethodReference. This happened in Mono.Android.dll for these two methods:
  - `System.UInt64& System.UInt64[0...,0...]::Address(System.Int32,System.Int32)`
  - `System.Void System.UInt64[0...,0...]::.ctor(System.Int32,System.Int32)`
- Implement checking whether redundant field initialization happens for (U)IntPtr.Zero
- `large-cctors` lense was actually running the `large-strings` lens and vice versa due to using the wrong type
@marek-safar

Copy link
Copy Markdown
Contributor

Thanks

@marek-safar
marek-safar merged commit 24e38a5 into dotnet:main Apr 26, 2022
@akoeplinger
akoeplinger deleted the fix-tlens branch April 26, 2022 14:38
agocke pushed a commit to dotnet/runtime that referenced this pull request Nov 16, 2022
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