5 references to ReturnType
Microsoft.AspNetCore.Mvc.Core.Test (5)
ApplicationModels\EndpointMetadataProviderTest.cs (5)
38Assert.Contains(endpoint.Metadata, m => m is CustomEndpointMetadata { Source: MetadataSource.ReturnType }); 49endpoint => Assert.Contains(endpoint.Metadata, m => m is CustomEndpointMetadata { Source: MetadataSource.ReturnType }), 50endpoint => Assert.Contains(endpoint.Metadata, m => m is CustomEndpointMetadata { Source: MetadataSource.ReturnType })); 409builder.Metadata.Add(new CustomEndpointMetadata { Source = MetadataSource.ReturnType }); 419builder.Metadata.Add(new CustomEndpointMetadata { Source = MetadataSource.ReturnType });