我的以下代码出现了一个奇怪的问题:varall=newFeatureService().FindAll();System.Diagnostics.Debug.Assert(all!=null,"FindAllmustnotreturnnull");System.Diagnostics.Debug.WriteLine(all.ToString());//throwsNullReferenceExceptionFindAll方法的签名是:publicListFindAll()通过代码我已经确认FindAll的返回值不为空,正如您从断言中看到的那样,“all”变量不为空,但在下一行中它似乎为