site image
Andrew Lock avatar

Andrew Lock

Source Generators
  1. Loading...
  2. Sponsored by Dometrain Courses—Get 30% off Dometrain Pro with code ANDREW30 and access the best courses for .NET Developers

    30% off with code ANDREW30 on Dometrain Pro
  3. ASP.NET Core in Action, Third Edition

    My new book ASP.NET Core in Action, Third Edition is available now! It supports .NET 7.0, and is available as an eBook or paperback.

  4. Banner image for Splitting the NetEscapades.EnumGenerators packages: the road to a stable release

    Splitting the NetEscapades.EnumGenerators packages: the road to a stable release

    In this post I describe the recent architectural changes to the NetEscapades.EnumGenerators package, which is now a metapackage, to support more scenarios…

  5. Banner image for Recent updates to NetEscapades.EnumGenerators: new APIs and System.Memory support

    Recent updates to NetEscapades.EnumGenerators: new APIs and System.Memory support

    In this post I describe some recent changes to the NetEscapades.EnumGenerators source generator, including support for the System.Memory package and new APIs…

     in  .NET CoreRoslynSource Generators
  6. Banner image for Recent updates to NetEscapades.EnumGenerators: [EnumMember] support, analyzers, and bug fixes

    Recent updates to NetEscapades.EnumGenerators: [EnumMember] support, analyzers, and bug fixes

    In this post I describe some recent changes to the NetEscapades.EnumGenerators source generator, including support for [EnumMember] and new analyzers…

     in  .NET CoreRoslynSource Generators
  7. Banner image for Solving the source generator 'marker attribute' problem in .NET 10

    Solving the source generator 'marker attribute' problem in .NET 10

    Exploring the .NET 10 preview - Part 4

    In this post I discuss a new source generator API, AddEmbeddedAttributeDefinition(), added in .NET 10, which makes it easier to embed generated attributes…

     in  .NET 10Source Generators
  8. Banner image for Supporting multiple .NET SDK versions in a source generator

    Supporting multiple .NET SDK versions in a source generator

    Creating a source generator - Part 14

    In this post I show how I updated my NetEscapades.EnumGenerators projects to support multi-targeting two different .NET SDK versions…

     in  Source GeneratorsC#
  9. Banner image for Supporting multiple .NET SDK versions in analyzers and source generators

    Supporting multiple .NET SDK versions in analyzers and source generators

    In this post I describe why source generators might need to work with multiple versions of the .NET SDK and how NuGet packages support this in .NET 6…

     in  Source GeneratorsC#
Andrew Lock | .Net Escapades
Want an email when
there's new posts?