You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following overload of the `ShouldRenderFile` method has been *replaced*:
6
+
7
+
public FileStreamResult ShouldRenderFileStream(string contentType = null)
8
+
9
+
I place emphasis on the word "replace" because it is important to note that this overload has not been removed but replaced - this means that you will not encounter a compile-time error but you will encounter a logical error when you run the test.
10
+
11
+
### Reason
12
+
13
+
The aforementioned overload has been replaced in order to enable an overload that takes an actual stream for comparison in a way that is consistent with the existing convention.
14
+
15
+
### Fix
16
+
17
+
Use a [named argument](http://msdn.microsoft.com/en-gb/library/dd264739.aspx).
0 commit comments