1 write to Length
Microsoft.AspNetCore.Http.Results.Tests (1)
src\Shared\ResultsTests\PhysicalFileResultTestBase.cs (1)
447
Length
= length;
8 references to Length
Microsoft.AspNetCore.Http.Results.Tests (8)
src\Shared\ResultsTests\PhysicalFileResultTestBase.cs (8)
62
Assert.Equal((long?)contentLength, sendFile.
Length
);
94
Assert.Equal(4, sendFile.
Length
);
121
Assert.Null(sendFile.
Length
);
148
Assert.Null(sendFile.
Length
);
177
Assert.Null(sendFile.
Length
);
312
Assert.Equal(contentLength, sendFile.
Length
);
339
Assert.Null(sendFile.
Length
);
359
Assert.Null(sendFile.
Length
);