C# Azure-类型初始化错误

C# Azure-类型初始化错误,c#,azure,mono,C#,Azure,Mono,我在调用Azure MobileService客户端时遇到以下类型初始化错误: System.TypeInitializationException: An exception was thrown by the type initializer for Microsoft.WindowsAzure.MobileServices.MobileServiceClient ---> System.InvalidProgramException: Invalid IL code in Sys

我在调用Azure MobileService客户端时遇到以下类型初始化错误:

System.TypeInitializationException: An exception was thrown by the type initializer for
 Microsoft.WindowsAzure.MobileServices.MobileServiceClient 
---> System.InvalidProgramException: Invalid IL code in System.Net.Http.HttpMethod:get_Post (): method body is empty.
at Microsoft.WindowsAzure.MobileServices.MobileServiceClient..cctor () [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at rpitemp.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0 
System.TypeInitializationException:的类型初始值设定项引发了异常
Microsoft.WindowsAzure.MobileServices.MobileServiceClient
--->System.InvalidProgrameException:System.Net.Http.HttpMethod:get_Post()中的IL代码无效:方法体为空。
在Microsoft.WindowsAzure.MobileServices.MobileServiceClient..cctor()[0x00000]中:0
---内部异常堆栈跟踪的结束---
在rpitemp.Program.Main(System.String[]args)[0x00000]处:0
在多年的编程中,我从未见过“无效IL代码”异常

我现在这样称呼它:

           MobileServiceClient MobileService = new MobileServiceClient("https://<removed>.azure-mobile.net/", "<keyhere>");
MobileServiceClient MobileService=新的MobileServiceClient(“https://.azure-mobile.net/", "");
有什么问题吗?此代码将在Raspberry Pi上使用Mono运行