I am currently cleaning up some of our legacy code base in which we make use of extern
methods. The parameter names are all over the place in terms of naming conventions. I'd like to consolidate them.
Example
[DllImport("customdll", CallingConvention = CallingConvention.Cdecl)]
public static extern void SetStatus(int new_status);
Can I safely rename new_status
to newStatus
or will that break the contract?
ReSharper suggests it as a change, but I'd like to verify it. I was not able to find documentation on it (for or against it).
I am not asking if renaming the method name itself is possible, just the parameter definitions.