Pranav K
13281613a5
Refactor DefaultPageApplicationModel to use conventions
2018-09-12 12:28:16 -07:00
Kristian Hellang
ffdbea9dc1
Add analyzer support for status code methods and constructors
2018-08-29 18:23:52 -07:00
Pranav K
af770ede87
Ignore parameters that specify a model binder type
2018-08-15 12:12:04 -07:00
Pranav K
7e25d7908a
Warn when the parameter name for a model bound complex parameter has the same name as a top level property
...
Fixes #7753
2018-08-14 15:44:48 -07:00
Pranav K
5a20037965
Move API convention analyzers to Microsoft.AspNetCore.Mvc.Api.Analyzers
...
Fixes #8153
2018-08-02 13:53:33 -07:00
Pranav K
b7335ac768
Add a code fix that applies ProducesResponseTypeAttributes
2018-08-02 09:40:18 -07:00
Pranav K
b2a1a7c9de
Ensure parent is a MethodDeclarationSyntax
2018-07-30 14:59:27 -07:00
Pranav K
d346255db6
Add analyzer and codefix that suggests removing unnecessary invalid model state validity checks
...
Fixes #8146
2018-07-30 13:14:20 -07:00
Pranav K
0102d4efab
Introduce ApiConventionMethodAttribute
...
Fixes #8147
2018-07-30 11:13:25 -07:00
Pranav K
dfbdb37979
Refactorings for codefix ( #8067 )
...
* Refactorings for codefix
- Move some common code in SymbolApiResponseMetadataProvider
- Don't run diagnostics for 1006 if we are unable to parse a return type
2018-07-13 13:05:49 -07:00
Pranav K
46189abda7
Refactoring for ApiConvention analyzers
2018-07-12 14:26:27 -07:00
Doug Bunting
4dd4e5ef3e
Shorten names so MVC repo can be cloned on Windows benchmarks server
2018-06-27 14:33:31 -07:00
Pranav K
4f7e849cc1
Setting up for ApiConventionAttribute analyzers ( #7912 )
...
* Setting up for ApiConventionAttribute analyzers
2018-06-20 15:22:53 -07:00
Pranav K
c29527f992
Add some assertions for controllers and controller actions
2018-06-08 15:00:19 -07:00
Pranav K
f2eb6f8d37
Add some tests for CodeAnalysisExtensions
2018-06-08 14:58:29 -07:00
Nate McMaster
672c794335
Add certificate names for code signing
2018-06-05 22:34:04 -07:00
Pranav K
592ed3b4f5
Create an analyzer to warn users not to decorate filters on page handler methods
...
Fixes #7684
2018-06-05 17:23:30 -07:00
Ajay Bhargav Baaskaran
595e83d0eb
Added nuspec file to Mvc.Analyzers assembly
2018-04-20 14:53:46 -07:00
Pranav K
30f0883319
Target a lower TFM
2018-03-30 14:45:42 -07:00
Pranav K
264f9c871e
Add an analyzer to warn against the use of IHtmlHelper.Partial and IHtmlHelper.RenderPartial
...
Fixes https://github.com/aspnet/Mvc/issues/7417
2018-03-29 21:25:54 -07:00
Pranav K
5af246b554
Ignore constructors when discovering actions
2018-03-06 17:42:53 -08:00
Pranav K
e5fb72c300
Ensure analyzer package uses -final version when IsFinalBuild=true
2018-01-29 12:23:23 -08:00
Pranav K
c6c77dd4d3
Introduce Mvc analyzers
2018-01-19 16:02:50 -08:00