- public unsafe ObjectId ImportStockSubassembly(string subassemblyName, string className, Point3d location) 
- { 
-         //IL_009a: Unknown result type (might be due to invalid IL or missing references) 
-         //IL_009b: Unknown result type (might be due to invalid IL or missing references) 
-         //IL_00a0: Unknown result type (might be due to invalid IL or missing references) 
-         //IL_00cf: Unknown result type (might be due to invalid IL or missing references) 
-         //IL_00fb: Unknown result type (might be due to invalid IL or missing references) 
-         checkSubassemblyNameValid(subassemblyName); 
-         string paramName = "className"; 
-         if (null == className) 
-         { 
-                 throw new ArgumentNullException(paramName); 
-         } 
-         byte b = (className.Trim().Length > 0) ? ((byte)1) : ((byte)0); 
-         string message = "className should be at least one character."; 
-         if (0 == b) 
-         { 
-                 throw new ArgumentException(message); 
-         } 
-         string stockSubassemblyFolder = getStockSubassemblyFolder(); 
-         AecRmCString aecRmCString; 
-         ObjectId result; 
-         if (stockSubassemblyFolder != (string)null && stockSubassemblyFolder.Length > 0) 
-         { 
-                 global::<Module>.AecRmCString.{ctor}(&aecRmCString); 
-                 AecRmCString aecRmCString2; 
-                 try 
-                 { 
-                         global::<Module>.AecRmCString.{ctor}(&aecRmCString2); 
-                         try 
-                         { 
-                                 if (getAtcFilePathAndItemId(stockSubassemblyFolder, className, &aecRmCString, &aecRmCString2)) // <--- !!!! 
-                                 { 
-                                         char* value = global::<Module>.ATL.CSimpleStringT<wchar_t,1>.GetString((CSimpleStringT<wchar_t,1>*)(&aecRmCString2)); 
-                                         char* value2 = global::<Module>.ATL.CSimpleStringT<wchar_t,1>.GetString((CSimpleStringT<wchar_t,1>*)(&aecRmCString)); 
-                                         result = ImportSubassembly(subassemblyName, new string(value2), new string(value), location); // <--- !!! 
-                                 // .... итд