diff --git a/NuGetPackageVerifier.json b/NuGetPackageVerifier.json index b3196c341d..6cbde058da 100644 --- a/NuGetPackageVerifier.json +++ b/NuGetPackageVerifier.json @@ -1,12 +1,7 @@ { "adx": { // Packages written by the ADX team and that ship on NuGet.org "rules": [ - "AssemblyHasDocumentFileRule", - "AssemblyHasVersionAttributesRule", - "AssemblyHasServicingAttributeRule", - "AssemblyHasNeutralResourcesLanguageAttributeRule", - "SatellitePackageRule", - "StrictSemanticVersionValidationRule" + "AdxVerificationCompositeRule" ], "packages": { "Microsoft.AspNetCore.Razor": { }, @@ -23,12 +18,7 @@ }, "Default": { // Rules to run for packages not listed in any other set. "rules": [ - "AssemblyHasDocumentFileRule", - "AssemblyHasVersionAttributesRule", - "AssemblyHasServicingAttributeRule", - "AssemblyHasNeutralResourcesLanguageAttributeRule", - "SatellitePackageRule", - "StrictSemanticVersionValidationRule" + "DefaultCompositeRule" ] } } \ No newline at end of file diff --git a/src/Microsoft.AspNetCore.Razor.Runtime/Runtime/TagHelpers/TagHelperExecutionContext.cs b/src/Microsoft.AspNetCore.Razor.Runtime/Runtime/TagHelpers/TagHelperExecutionContext.cs index 4c76ca5ecf..fc06c6d430 100644 --- a/src/Microsoft.AspNetCore.Razor.Runtime/Runtime/TagHelpers/TagHelperExecutionContext.cs +++ b/src/Microsoft.AspNetCore.Razor.Runtime/Runtime/TagHelpers/TagHelperExecutionContext.cs @@ -159,7 +159,7 @@ namespace Microsoft.AspNetCore.Razor.Runtime.TagHelpers } /// - /// Tracks the minimized HTML attribute in and . + /// Tracks the minimized HTML attribute. /// /// The minimized HTML attribute name. public void AddMinimizedHtmlAttribute(string name) @@ -178,7 +178,7 @@ namespace Microsoft.AspNetCore.Razor.Runtime.TagHelpers } /// - /// Tracks the HTML attribute in and . + /// Tracks the HTML attribute. /// /// The HTML attribute name. /// The HTML attribute value. @@ -198,7 +198,7 @@ namespace Microsoft.AspNetCore.Razor.Runtime.TagHelpers } /// - /// Tracks the bound attribute in . + /// Tracks the bound attribute. /// /// The bound attribute name. /// The attribute value. diff --git a/src/Microsoft.AspNetCore.Razor.Runtime/TagHelpers/ITagHelper.cs b/src/Microsoft.AspNetCore.Razor.Runtime/TagHelpers/ITagHelper.cs index 7d97dcb266..f65c7fcb23 100644 --- a/src/Microsoft.AspNetCore.Razor.Runtime/TagHelpers/ITagHelper.cs +++ b/src/Microsoft.AspNetCore.Razor.Runtime/TagHelpers/ITagHelper.cs @@ -25,7 +25,7 @@ namespace Microsoft.AspNetCore.Razor.TagHelpers /// /// Contains information associated with the current HTML tag. /// When more than one runs on the same element, - /// may be invoked prior to . + /// may be invoked prior to . /// void Init(TagHelperContext context); diff --git a/src/Microsoft.AspNetCore.Razor.Runtime/TagHelpers/ReadOnlyTagHelperAttributeList.cs b/src/Microsoft.AspNetCore.Razor.Runtime/TagHelpers/ReadOnlyTagHelperAttributeList.cs index a546883fa9..f3d1569a59 100644 --- a/src/Microsoft.AspNetCore.Razor.Runtime/TagHelpers/ReadOnlyTagHelperAttributeList.cs +++ b/src/Microsoft.AspNetCore.Razor.Runtime/TagHelpers/ReadOnlyTagHelperAttributeList.cs @@ -10,9 +10,6 @@ namespace Microsoft.AspNetCore.Razor.TagHelpers /// /// A read-only collection of s. /// - /// - /// The type of s in the collection. - /// public abstract class ReadOnlyTagHelperAttributeList : ReadOnlyCollection { private static readonly IReadOnlyList EmptyList = new TagHelperAttribute[0]; diff --git a/src/Microsoft.AspNetCore.Razor.Runtime/TagHelpers/TagHelperContext.cs b/src/Microsoft.AspNetCore.Razor.Runtime/TagHelpers/TagHelperContext.cs index 39865e692f..e2d55529d2 100644 --- a/src/Microsoft.AspNetCore.Razor.Runtime/TagHelpers/TagHelperContext.cs +++ b/src/Microsoft.AspNetCore.Razor.Runtime/TagHelpers/TagHelperContext.cs @@ -49,7 +49,7 @@ namespace Microsoft.AspNetCore.Razor.TagHelpers /// Gets the collection of items used to communicate with other s. /// /// - /// This is copy-on-write in order to ensure items added to this + /// This is copy-on-write in order to ensure items added to this /// collection are visible only to other s targeting child elements. /// public IDictionary Items { get; } diff --git a/src/Microsoft.AspNetCore.Razor.Runtime/project.json b/src/Microsoft.AspNetCore.Razor.Runtime/project.json index 8043d4be60..e49c5928a7 100644 --- a/src/Microsoft.AspNetCore.Razor.Runtime/project.json +++ b/src/Microsoft.AspNetCore.Razor.Runtime/project.json @@ -4,7 +4,9 @@ "compilationOptions": { "allowUnsafe": true, "keyFile": "../../tools/Key.snk", - "warningsAsErrors": true + "warningsAsErrors": true, + "nowarn": [ "CS1591" ], + "xmlDoc": true }, "repository": { "type": "git", diff --git a/src/Microsoft.AspNetCore.Razor/Parser/TagHelpers/TagHelperBlockBuilder.cs b/src/Microsoft.AspNetCore.Razor/Parser/TagHelpers/TagHelperBlockBuilder.cs index ee7ff29f12..6d71b3011e 100644 --- a/src/Microsoft.AspNetCore.Razor/Parser/TagHelpers/TagHelperBlockBuilder.cs +++ b/src/Microsoft.AspNetCore.Razor/Parser/TagHelpers/TagHelperBlockBuilder.cs @@ -29,8 +29,7 @@ namespace Microsoft.AspNetCore.Razor.Parser.TagHelpers /// /// Instantiates a new instance of the class - /// with the provided and derives its - /// and from the . + /// with the provided values. /// /// An HTML tag name. /// HTML syntax of the element in the Razor source. diff --git a/src/Microsoft.AspNetCore.Razor/RazorEngineHost.cs b/src/Microsoft.AspNetCore.Razor/RazorEngineHost.cs index c9876afe26..179dc2fe83 100644 --- a/src/Microsoft.AspNetCore.Razor/RazorEngineHost.cs +++ b/src/Microsoft.AspNetCore.Razor/RazorEngineHost.cs @@ -236,7 +236,8 @@ namespace Microsoft.AspNetCore.Razor /// /// Gets an instance of the code generator and is provided an opportunity to decorate or replace it /// - /// The code generator + /// The . + /// The . /// Either the same code generator, after modifications, or a different code generator. public virtual CodeGenerator DecorateCodeGenerator( CodeGenerator incomingBuilder, diff --git a/src/Microsoft.AspNetCore.Razor/project.json b/src/Microsoft.AspNetCore.Razor/project.json index e88dca23ef..07bc461933 100644 --- a/src/Microsoft.AspNetCore.Razor/project.json +++ b/src/Microsoft.AspNetCore.Razor/project.json @@ -3,7 +3,9 @@ "version": "1.0.0-*", "compilationOptions": { "warningsAsErrors": true, - "keyFile": "../../tools/Key.snk" + "keyFile": "../../tools/Key.snk", + "nowarn": [ "CS1591" ], + "xmlDoc": true }, "repository": { "type": "git",