Repository navigation
Releases
v1.0.0
First release of DragoAnt.Roslyn.Shared.Sources: source-only helpers compiled internal into each Roslyn analyzer, source generator and code fix that references the package. Requires Microsoft.CodeAnalysis.CSharp 5.0.0 or later; the sources compile on netstandard2.0.
Added
- Parts:
Common(always),GeneratorsandCodeFixes, picked withDragoAntRoslynSharedParts; files linked under.da.shared/<Part>/in Solution Explorer;DragoAntRoslynSharedSourceRootcompiles them from a local checkout instead (consuming). - Common:
SyntaxHelpers(GetTargetParameter,TryGetConstantString,HasAttributeby symbol or metadata name,GetFullMetadataName),LocationHelpers(InStringLiteral,InText,InAdditionalText),DiagnosticHelpers(Create,Guard,Guarded). - Generators:
EquatableArray<T>withToEquatableArray(). - CodeFixes:
LiteralRewriter(ReplaceStringLiteral,ReplaceStringLiteralAsync). - Warnings
DARS001(unknown part) andDARS002(a source root withoutCommon). - Every file starts with
// <auto-generated/>and#nullable enable: a consumer's own style and quality analyzers skip it, nullable analysis andRS1035still apply.
Install: dotnet add package DragoAnt.Roslyn.Shared.Sources --version 1.0.0 with PrivateAssets="all" — see consuming.
v1.0.0-beta.1
First release of DragoAnt.Roslyn.Shared.Sources: source-only helpers compiled internal into each Roslyn analyzer, source generator and code fix that references the package. Requires Microsoft.CodeAnalysis.CSharp 5.0.0 or later; the sources compile on netstandard2.0.
Added
- Parts:
Common(always),GeneratorsandCodeFixes, picked withDragoAntRoslynSharedParts; files linked under.da.shared/<Part>/in Solution Explorer;DragoAntRoslynSharedSourceRootcompiles them from a local checkout instead (consuming). - Common:
SyntaxHelpers(GetTargetParameter,TryGetConstantString,HasAttributeby symbol or metadata name,GetFullMetadataName),LocationHelpers(InStringLiteral,InText,InAdditionalText),DiagnosticHelpers(Create,Guard,Guarded). - Generators:
EquatableArray<T>withToEquatableArray(). - CodeFixes:
LiteralRewriter(ReplaceStringLiteral,ReplaceStringLiteralAsync). - Warnings
DARS001(unknown part) andDARS002(a source root withoutCommon). - Every file starts with
// <auto-generated/>and#nullable enable: a consumer's own style and quality analyzers skip it, nullable analysis andRS1035still apply.
Install: dotnet add package DragoAnt.Roslyn.Shared.Sources --version 1.0.0-beta.1 with PrivateAssets="all" — see consuming.