Comments (4)
From my perspective, everything is fine, except for your decompiler. That's an explicit interface implementation, so it's supposed to be private. It's just not supposed to show an access modifier in the source code.
from cpp2il.
Yup ok, this is an old issue that's resurfaced then.
from cpp2il.
I'm guessing one possibility is that the explicit implementation info is not being set (it's a separate field to specify it should inherit from the interface) and so ILSpy is decompiling it wrong. That or one of the combinations of flags (private final hidebysig specialname newslot virtual
) is missing.
from cpp2il.
explicit implementation info is not being set
Looked at it again, this seems to be the case (?)
Correct example (sharplab):
.method private final hidebysig newslot virtual
instance void A.Method () cil managed
{
.override method instance void A::Method()
.maxstack 8
IL_0000: ret
}
Cpp2IL output, missing .override
:
.method private final hidebysig newslot virtual
instance void UnityEngine.ISerializationCallbackReceiver.OnBeforeSerialize () cil managed
{
.maxstack 8
IL_0000: ldnull
IL_0001: throw
}
from cpp2il.
Related Issues (20)
- Cpp2IL.Plugin.StrippedCodeRegSupport.dll wont run HOT 4
- Documentation on wasm? HOT 1
- ISIL `Invalid` Instructions
- Cpp2IL.Core.Exceptions.LibCpp2ILInitializationException: Fatal Exception initializing LibCpp2IL!
- Field offsets not loading correctly for `Among Us` HOT 1
- Metadata v31 HOT 11
- Unknown register size for LDP: V1 on ARM64
- Unsupported metadata version found! We support 24-29, got 31 HOT 4
- Operand kind VectorRegisterElement not yet implemented. HOT 4
- The latest version of the artifact does not provide RVA, Offset and VA addresses HOT 1
- Output dump.cs file HOT 6
- System.IndexOutOfRangeException: Index was outside the bounds of the array
- Native Method Detection high memory usage HOT 7
- more metadata HOT 2
- Cannot map pointers to Il2CppMethodDefinitions HOT 3
- Issue with global-metadata with 29.2 and unity 2023.2.20f1
- Unity 2021 variant of v31 is not supported
- Invalid characters in windows
- Cannot find codereg and metareg for 2022.3.21f1 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cpp2il.