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.
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.
// Install Bluehill.CompilerServices.SourceGenerator as a Cake Addin
#addin nuget:?package=Bluehill.CompilerServices.SourceGenerator&version=1.3.0

// Install Bluehill.CompilerServices.SourceGenerator as a Cake Tool
#tool nuget:?package=Bluehill.CompilerServices.SourceGenerator&version=1.3.0                

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 49 1/15/2025