Now I got it, thanks!
--
View this message in context:
http://mono.1490590.n4.nabble.com/mono-add-internal-call-to-mscorlib-method-tp4667951p4667961.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
___
Mono-devel-list mailing list
On 09.06.2016 15:37, nicob wrote:
Hi Robert, thanks for the reply. I didn't explain my self correctly. Here's
an example, I have a c# assembly with a method that prints the args to the
console:
I believe I didn't explain the workaround entirely.
Parts of the Mono runtime are expecting that
Hi Robert, thanks for the reply. I didn't explain my self correctly. Here's
an example, I have a c# assembly with a method that prints the args to the
console:
public void Print()
{
string[] args = System.Environment.GetCommandLineArgs();
System.Console.WriteLine("Length: " +
On 08.06.2016 21:26, nicob wrote:
Hi, I'm trying to use the Skype Sdk in mono embedded. I'm able to load the
assemblies but when I try to create a instance of a class that internally
calls System.Environment.GetCommandLineArgs it throws an exception. After
digging a bit I found out the
You're looking at the wrong implementation of Environment.cs. The one we're
using is still Mono's implementation (as opposed to the MS referencesource
one you're looking at):
https://github.com/mono/mono/blob/37bb54b503f3f8c948955c577687d4233e950cb5/mcs/class/corlib/System/Environment.cs#L472
It
Hi, I'm trying to use the Skype Sdk in mono embedded. I'm able to load the
assemblies but when I try to create a instance of a class that internally
calls System.Environment.GetCommandLineArgs it throws an exception. After
digging a bit I found out the System.Environment.GetCommandLineArgs