Skip to content

Releases: datacute/SourceGeneratorContext

1.0.0

03 Aug 10:11
c92492e

Choose a tag to compare

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

12 Jul 10:04
f11c0ed

Choose a tag to compare

Fixed

  • Packaging

0.0.1-alpha

12 Jul 02:47
fb1bd34

Choose a tag to compare

Added

  • SourceGeneratorContext library 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
    • 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
  • Diagnostic log of the source generation process and timing included.