1 write to PreserveMethod
Microsoft.AspNetCore.Http.Results (1)
RedirectHttpResult.cs (1)
64
PreserveMethod
= preserveMethod;
19 references to PreserveMethod
Microsoft.AspNetCore.Http.Results (1)
RedirectHttpResult.cs (1)
109
if (
PreserveMethod
)
Microsoft.AspNetCore.Http.Results.Tests (18)
LocalRedirectResultTests.cs (3)
22
Assert.False(result.
PreserveMethod
);
37
Assert.False(result.
PreserveMethod
);
52
Assert.True(result.
PreserveMethod
);
RedirectResultTests.cs (1)
20
Assert.True(result.
PreserveMethod
);
ResultsTests.cs (7)
1099
Assert.False(result.
PreserveMethod
);
1116
Assert.False(result.
PreserveMethod
);
1134
Assert.True(result.
PreserveMethod
);
1152
Assert.True(result.
PreserveMethod
);
1480
Assert.False(result.
PreserveMethod
);
1496
Assert.False(result.
PreserveMethod
);
1512
Assert.True(result.
PreserveMethod
);
TypedResultsTests.cs (7)
943
Assert.False(result.
PreserveMethod
);
960
Assert.False(result.
PreserveMethod
);
978
Assert.True(result.
PreserveMethod
);
996
Assert.True(result.
PreserveMethod
);
1262
Assert.False(result.
PreserveMethod
);
1278
Assert.False(result.
PreserveMethod
);
1294
Assert.True(result.
PreserveMethod
);