5 references to IsActionReturnsTrue
Mvc.Api.Analyzers.Test (5)
MvcFactsTest.cs (5)
163
public Task IsAction_ReturnsTrueForNewMethodsOfObject() =>
IsActionReturnsTrue
(typeof(OverridesObjectMethods), nameof(OverridesObjectMethods.ToString));
166
public Task IsAction_ReturnsTrueForNotDisposableDispose() =>
IsActionReturnsTrue
(typeof(NotDisposable), nameof(NotDisposable.Dispose));
170
IsActionReturnsTrue
(typeof(NotDisposableWithExplicitImplementation), nameof(NotDisposableWithExplicitImplementation.Dispose));
173
public Task IsAction_ReturnsTrueForOrdinaryAction() =>
IsActionReturnsTrue
(TestIsControllerActionType, nameof(TestIsControllerAction.Ordinary));
176
public Task IsAction_ReturnsTrueForOverriddenMethod() =>
IsActionReturnsTrue
(TestIsControllerActionType, nameof(TestIsControllerAction.AbstractMethod));