Skip to content

Commit

Permalink
Remove the workaround for CoreCLR issue #616
Browse files Browse the repository at this point in the history
Reference: aspnet#58
  • Loading branch information
troydai committed Mar 27, 2015
1 parent 30b1134 commit faca969
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,7 @@ public class DirectoryInfoWrapper : DirectoryInfoBase

public DirectoryInfoWrapper(DirectoryInfo directoryInfo, bool isParentPath = false)
{
// Work around for https://github.com/dotnet/corefx/issues/616: DirectoryInfo.Exists returns
// incorrect results when it is cast from FileSystemInfo.
//
// Once it is fixed us following line to replace the assignment to _directoryInfo
// _directoryInfo = directoryInfo.FullName;
_directoryInfo = new DirectoryInfo(directoryInfo.FullName);

_directoryInfo = directoryInfo;
_isParentPath = isParentPath;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,15 +226,6 @@ public void SingleFileAndRecursive()
"src/project2/source1.cs");
}

#if DNXCORE50
[ConditionalFact]
[RunWhenWhenDirectoryInfoWorks]
public void WarningTest()
{

}
#endif

private DisposableFileSystem CreateContext()
{
var context = new DisposableFileSystem();
Expand Down

0 comments on commit faca969

Please sign in to comment.