9 references to ReturnType
Microsoft.AspNetCore.Http.Extensions.Tests (9)
RequestDelegateFactoryTests.cs (5)
2626
Assert.Contains(result.EndpointMetadata, m => m is CustomEndpointMetadata { Source: MetadataSource.
ReturnType
});
2639
Assert.Contains(result.EndpointMetadata, m => m is CustomEndpointMetadata { Source: MetadataSource.
ReturnType
});
2652
Assert.Contains(result.EndpointMetadata, m => m is CustomEndpointMetadata { Source: MetadataSource.
ReturnType
});
2665
Assert.Contains(result.EndpointMetadata, m => m is CustomEndpointMetadata { Source: MetadataSource.
ReturnType
});
3330
builder.Metadata.Add(new CustomEndpointMetadata { Source = MetadataSource.
ReturnType
});
RequestDelegateGenerator\RequestDelegateCreationTests.Metadata.cs (3)
242
Assert.Contains(endpoint.Metadata, m => m is CustomEndpointMetadata { Source: MetadataSource.
ReturnType
});
257
Assert.Contains(endpoint.Metadata, m => m is CustomEndpointMetadata { Source: MetadataSource.
ReturnType
});
272
Assert.Contains(endpoint.Metadata, m => m is CustomEndpointMetadata { Source: MetadataSource.
ReturnType
});
RequestDelegateGenerator\SharedTypes.cs (1)
621
builder.Metadata.Add(new CustomEndpointMetadata { Source = MetadataSource.
ReturnType
});