private static IFileSystem GetFileSystem() { if (NativeMethodsShared.IsWindows) { return(MSBuildOnWindowsFileSystem.Singleton()); } else { return(ManagedFileSystem.Singleton()); } }
private static IFileSystem GetFileSystem() { #if CLR2COMPATIBILITY return(MSBuildTaskHostFileSystem.Singleton()); #else if (NativeMethodsShared.IsWindows) { return(MSBuildOnWindowsFileSystem.Singleton()); } else { return(ManagedFileSystem.Singleton()); } #endif }