public void GetAllFunctionDescriptorsTest() { const string libraryPath = "FFITarget.dll"; if (!libraryServices.IsLibraryLoaded(libraryPath)) { libraryServices.ImportLibrary(libraryPath); Assert.IsTrue(LibraryLoaded); } // Get the function descriptors that are named FFITarget.TestOverloadConstructor.TestOverloadConstructor var descriptors = libraryServices.GetAllFunctionDescriptors("FFITarget.TestOverloadConstructor.TestOverloadConstructor"); Assert.AreEqual(4, descriptors.Count()); }