28 references to GetResponseMetadata_ControllerActionWithAttributes
Mvc.Api.Analyzers.Test (28)
SymbolApiResponseMetadataProviderTest.cs (28)
54
var controller = compilation.GetTypeByMetadataName($"{Namespace}.{nameof(
GetResponseMetadata_ControllerActionWithAttributes
)}");
55
var method = (IMethodSymbol)controller.GetMembers(nameof(
GetResponseMetadata_ControllerActionWithAttributes
.ActionWithProducesAttribute)).First();
72
var controller = compilation.GetTypeByMetadataName($"{Namespace}.{nameof(
GetResponseMetadata_ControllerActionWithAttributes
)}");
73
var method = (IMethodSymbol)controller.GetMembers(nameof(
GetResponseMetadata_ControllerActionWithAttributes
.ActionWithProducesResponseType_StatusCodeInConstructor)).First();
95
var controller = compilation.GetTypeByMetadataName($"{Namespace}.{nameof(
GetResponseMetadata_ControllerActionWithAttributes
)}");
96
var method = (IMethodSymbol)controller.GetMembers(nameof(
GetResponseMetadata_ControllerActionWithAttributes
.ActionWithProducesResponseType_StatusCodeAndTypeInConstructor)).First();
118
var controller = compilation.GetTypeByMetadataName($"{Namespace}.{nameof(
GetResponseMetadata_ControllerActionWithAttributes
)}");
119
var method = (IMethodSymbol)controller.GetMembers(nameof(
GetResponseMetadata_ControllerActionWithAttributes
.ActionWithProducesResponseType_StatusCodeInConstructorAndProperty)).First();
141
var controller = compilation.GetTypeByMetadataName($"{Namespace}.{nameof(
GetResponseMetadata_ControllerActionWithAttributes
)}");
142
var method = (IMethodSymbol)controller.GetMembers(nameof(
GetResponseMetadata_ControllerActionWithAttributes
.ActionWithProducesResponseType_StatusCodeAndTypeInConstructorAndProperty)).First();
164
var controller = compilation.GetTypeByMetadataName($"{Namespace}.{nameof(
GetResponseMetadata_ControllerActionWithAttributes
)}");
165
var method = (IMethodSymbol)controller.GetMembers(nameof(
GetResponseMetadata_ControllerActionWithAttributes
.ActionWithCustomProducesResponseTypeAttributeWithArguments)).First();
186
var controller = compilation.GetTypeByMetadataName($"{Namespace}.{nameof(
GetResponseMetadata_ControllerActionWithAttributes
)}");
187
var method = (IMethodSymbol)controller.GetMembers(nameof(
GetResponseMetadata_ControllerActionWithAttributes
.GetResponseMetadata_ReturnsValuesFromApiConventionMethodAttribute)).First();
217
var controller = compilation.GetTypeByMetadataName($"{Namespace}.{nameof(
GetResponseMetadata_ControllerActionWithAttributes
)}");
218
var method = (IMethodSymbol)controller.GetMembers(nameof(
GetResponseMetadata_ControllerActionWithAttributes
.GetResponseMetadata_WithProducesResponseTypeAndApiConventionMethod)).First();
239
var controller = compilation.GetTypeByMetadataName($"{Namespace}.{nameof(
GetResponseMetadata_ControllerActionWithAttributes
)}");
240
var method = (IMethodSymbol)controller.GetMembers(nameof(
GetResponseMetadata_ControllerActionWithAttributes
.ActionWithCustomApiResponseMetadataProvider)).First();
256
nameof(
GetResponseMetadata_ControllerActionWithAttributes
),
257
nameof(
GetResponseMetadata_ControllerActionWithAttributes
.ActionWithProducesResponseTypeWithIncorrectStatusCodeType));
264
nameof(
GetResponseMetadata_ControllerActionWithAttributes
),
265
nameof(
GetResponseMetadata_ControllerActionWithAttributes
.ActionWithCustomProducesResponseTypeAttributeWithoutArguments));
337
var actionName = nameof(
GetResponseMetadata_ControllerActionWithAttributes
.ActionWithProducesResponseType_StatusCodeInConstructor);
348
var actionName = nameof(
GetResponseMetadata_ControllerActionWithAttributes
.ActionWithProducesResponseType_StatusCodeAndTypeInConstructorAndProperty);
359
var actionName = nameof(
GetResponseMetadata_ControllerActionWithAttributes
.ActionWithProducesResponseType_StatusCodeAndTypeInConstructor);
370
var actionName = nameof(
GetResponseMetadata_ControllerActionWithAttributes
.ActionWithProducesResponseTypeWithIncorrectStatusCodeType);
381
var actionName = nameof(
GetResponseMetadata_ControllerActionWithAttributes
.ActionWithCustomProducesResponseTypeAttributeWithArguments);
391
var controller = compilation.GetTypeByMetadataName($"{Namespace}.{nameof(
GetResponseMetadata_ControllerActionWithAttributes
)}");