SboxAnalyzers 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package SboxAnalyzers --version 1.0.0
                    
NuGet\Install-Package SboxAnalyzers -Version 1.0.0
                    
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="SboxAnalyzers" Version="1.0.0">
  <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="SboxAnalyzers" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="SboxAnalyzers">
  <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 SboxAnalyzers --version 1.0.0
                    
#r "nuget: SboxAnalyzers, 1.0.0"
                    
#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 SboxAnalyzers@1.0.0
                    
#: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=SboxAnalyzers&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=SboxAnalyzers&version=1.0.0
                    
Install as a Cake Tool

S&box Analyzers

A collection of Roslyn analyzers for analyzing code used in S&box.

Features

  • Code accesslist checking.
    • S&box uses a code accesslist system, the analyzer can check your code to make sure you are not using anything that would breach it. Code accesslist showcase

Installation

You can get the analyzer on NuGet and GitHub.

If installing through NuGet, you can add the following to your csproj file:

<PackageReference Include="SboxAnalyzers" Version="1.0.0">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>

If installing through the DLL, you can add the following to your csproj file:

<Analyzer Include="path\to\the\analyzer.dll" />

License

Distributed under the MIT License. See the license for more information.

Contributing

Contributions are very much welcomed! When making your pull request please make sure your code is neatly formatted and passes all tests.

Known Issues

  • There are bound to be false positives that come up. If you experience one, please submit an issue so that it can be looked into!
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
3.0.0 340 5/15/2023
2.0.0 285 5/11/2023
1.0.0 460 5/10/2023

Initial release.