Meitaim.Analyzers 1.0.1

Prefix Reserved
dotnet add package Meitaim.Analyzers --version 1.0.1
                    
NuGet\Install-Package Meitaim.Analyzers -Version 1.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Meitaim.Analyzers" Version="1.0.1">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Meitaim.Analyzers" Version="1.0.1" />
                    
Directory.Packages.props
<PackageReference Include="Meitaim.Analyzers">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Meitaim.Analyzers --version 1.0.1
                    
#r "nuget: Meitaim.Analyzers, 1.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Meitaim.Analyzers@1.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Meitaim.Analyzers&version=1.0.1
                    
Install as a Cake Addin
#tool nuget:?package=Meitaim.Analyzers&version=1.0.1
                    
Install as a Cake Tool

Meitaim.Analyzers

Roslyn analyzers that enforce the Meitaim C# platform conventions.

Install

<PackageReference Include="Meitaim.Analyzers" Version="1.0.0" />

Rules

MTM0001 — Comments are not allowed in C# source

Reports every comment, including /// documentation comments. Generated code is exempt.

Category Readability, default severity Warning. A project that sets TreatWarningsAsErrors fails the build.

Suppress a single comment:

#pragma warning disable MTM0001
// the rare comment that carries what code cannot
#pragma warning restore MTM0001

Change the severity in .editorconfig:

[*.cs]
dotnet_diagnostic.MTM0001.severity = suggestion

Contributing

See CONTRIBUTING.md.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.1 5,695 7/28/2026