internal static IFileSystemObject GetFileSystemObject(FileSystemInfo caller, string fullPath)
{
return ShouldUseWinRT(fullPath, isCreate: false) ?
(IFileSystemObject)new WinRTFileSystem.WinRTFileSystemObject(fullPath, asDirectory: caller is DirectoryInfo) :
(IFileSystemObject)caller;
}