From 88aa820b9f1f26e72f884ea46edc297f9982c3cd Mon Sep 17 00:00:00 2001 From: Praburaj Date: Fri, 20 Mar 2015 11:39:46 -0700 Subject: [PATCH] Reacting to File System changes IFileProvider is becoming readonly. --- .../TestFileInfo.cs | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/test/Microsoft.AspNet.Mvc.TestCommon/TestFileInfo.cs b/test/Microsoft.AspNet.Mvc.TestCommon/TestFileInfo.cs index 6e23cbbd0e..8ea1827bd1 100644 --- a/test/Microsoft.AspNet.Mvc.TestCommon/TestFileInfo.cs +++ b/test/Microsoft.AspNet.Mvc.TestCommon/TestFileInfo.cs @@ -37,28 +37,10 @@ namespace Microsoft.AspNet.Mvc.Razor get { return true; } } - public bool IsReadOnly - { - get - { - throw new NotSupportedException(); - } - } - public Stream CreateReadStream() { var bytes = Encoding.UTF8.GetBytes(Content); return new MemoryStream(bytes); } - - public void WriteContent(byte[] content) - { - throw new NotSupportedException(); - } - - public void Delete() - { - throw new NotSupportedException(); - } } } \ No newline at end of file