Example:
System.IO.Directory has 2 CreateDirectory:
public static DirectoryInfo CreateDirectory(string path);
public static DirectoryInfo CreateDirectory(string path, DirectorySecurity directorySecurity);
when i called the second method, Unity told me:
error CS1501: No overload for method CreateDirectory takes 2 arguments
Why is that?
Is there a way to know what method can not be called even if it is public?
(I need to generate auto-call code by reflection)