Releases: datacute/SourceGeneratorContext
Releases · datacute/SourceGeneratorContext
1.0.0
Changed
- Massive simplification by using Datacute.IncrementalGeneratorExtensions
- Changed to use a builder style pattern for the pipeline Combines.
- Replaced Numerous Attribute "Include x" Properties with a single flags enum.
- Generate flags enum and attribute rather than including them in the package. (This results in more consistent package treatment as a source generator.)
Added
- More docs
0.0.2-alpha
Fixed
- Packaging
0.0.1-alpha
Added
SourceGeneratorContextlibrary to help creators of source generators.[SourceGeneratorContext]attribute to mark partial classes for generation.- Generate doc-comments to partial classes showing different portions of the context available to source generators.
- IncludeAll
- include all available details.
- IncludeAttributeContextTargetSymbol
- GeneratorAttributeSyntaxContext.TargetSymbol details
- IncludeAttributeContextTypeSymbol
- GeneratorAttributeSyntaxContext.TargetSymbol as ITypeSymbol details
- IncludeAttributeContextNamedTypeSymbol
- GeneratorAttributeSyntaxContext.TargetSymbol as INamedTypeSymbol details
- IncludeAttributeContextTargetNode
- GeneratorAttributeSyntaxContext.TargetNode details
- IncludeAttributeContextAttributes
- GeneratorAttributeSyntaxContext.Attributes details
- IncludeAttributeContextAllAttributes
- GeneratorAttributeSyntaxContext.GetAttributes() details
- IncludeGlobalOptions
- AnalyzerConfigOptionsProvider's GlobalOptions details
- IncludeCompilation
- CompilationProvider's Compilation details
- IncludeCompilationOptions
- CompilationProvider's Compilation.Options details
- IncludeCompilationAssembly
- CompilationProvider's Compilation.Assembly details
- IncludeCompilationReferences
- Counts of CompilationProvider's:
- Compilation.References
- Compilation.DirectiveReferences
- Compilation.ExternalReferences
- Compilation.ReferencedAssemblyNames
- Counts of CompilationProvider's:
- IncludeParseOptions
- ParseOptionsProvider's ParseOptions details
- IncludeAdditionalTexts
- AdditionalTextsProvider's AdditionalText details
- IncludeAdditionalTextsOptions
- AdditionalTextsProvider's AdditionalText details combined with AnalyzerConfigOptionsProvider's AnalyzerConfigOptions for the AdditionalText
- IncludeMetadataReferences
- MetadataReferencesProvider's MetadataReference details
- IncludeAll
- Diagnostic log of the source generation process and timing included.