Bluehill.CompilerServices.SourceGenerator 1.3.0

dotnet add package Bluehill.CompilerServices.SourceGenerator --version 1.3.0
                    
NuGet\Install-Package Bluehill.CompilerServices.SourceGenerator -Version 1.3.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="Bluehill.CompilerServices.SourceGenerator" Version="1.3.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="Bluehill.CompilerServices.SourceGenerator" Version="1.3.0" />
                    
Directory.Packages.props
<PackageReference Include="Bluehill.CompilerServices.SourceGenerator">
  <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 Bluehill.CompilerServices.SourceGenerator --version 1.3.0
                    
#r "nuget: Bluehill.CompilerServices.SourceGenerator, 1.3.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.
#addin nuget:?package=Bluehill.CompilerServices.SourceGenerator&version=1.3.0
                    
Install Bluehill.CompilerServices.SourceGenerator as a Cake Addin
#tool nuget:?package=Bluehill.CompilerServices.SourceGenerator&version=1.3.0
                    
Install Bluehill.CompilerServices.SourceGenerator as a Cake Tool

Bluehill.CompilerServices.SourceGenerator

Provides types for modern language features, powered by Source generator.

Currently supports up to C# 13 types.

How to use

Create a CompilerServices.json file with the following contents (File name is case sensitive):

{
  "ExtensionAttribute": false,
  "CallerFilePathAttribute": false,
  "CallerLineNumberAttribute": false,
  "CallerMemberNameAttribute": false,
  "IsByRefLikeAttribute": false,
  "IsReadOnlyAttribute": false,
  "CallerArgumentExpressionAttribute": false,
  "NullableAnotationAttributes_NETCOREAPP3_0": false,
  "IsExternalInit": false,
  "ModuleInitializerAttribute": false,
  "NullableAnotationAttributes_NET5_0": false,
  "SkipLocalsInitAttribute": false,
  "AsyncMethodBuilderAttribute": false,
  "InterpolatedStringHandlerArgumentAttribute": false,
  "InterpolatedStringHandlerAttribute": false,
  "CompilerFeatureRequiredAttribute": false,
  "NativeIntegerAttribute": false,
  "RequiredMemberAttribute": false,
  "SetsRequiredMembersAttribute": false,
  "NullableAttribute": false,
  "NullableContextAttribute": false,
  "RefSafetyRulesAttribute": false,
  "RequiresLocationAttribute": false,
  "ScopedRefAttribute": false,
  "OverloadResolutionPriorityAttribute": false,
  "ExperimentalAttribute": false
}

Change the item you want to use to true.

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.3.0 208 1/15/2025