home.social

#roslyn — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #roslyn, aggregated by home.social.

  1. Создаём DSL на C#: Добавляем семантику

    Создаю собственный DSL на C#: рассказываю о том, как я добавляю семантическую модель. Рассказываю архитектуру семантической модели.

    habr.com/ru/articles/1058512/

    #dsl #краснозеленые_деревья #парсеры #синтаксические_деревья #компиляторы #roslyn #семантическая_модель

  2. Here is a video someone made about some command line arguments I deleted the other week, and a nuget package I uploaded.

    I’m basically famous!

    youtube.com/watch?v=i6n-w6Tq7F0

    #nvim #razor #dotnet #roslyn

  3. Here is a video someone made about some command line arguments I deleted the other week, and a nuget package I uploaded.

    I’m basically famous!

    youtube.com/watch?v=i6n-w6Tq7F0

    #nvim #razor #dotnet #roslyn

  4. Here is a video someone made about some command line arguments I deleted the other week, and a nuget package I uploaded.

    I’m basically famous!

    youtube.com/watch?v=i6n-w6Tq7F0

    #nvim #razor #dotnet #roslyn

  5. Here is a video someone made about some command line arguments I deleted the other week, and a nuget package I uploaded.

    I’m basically famous!

    youtube.com/watch?v=i6n-w6Tq7F0

    #nvim #razor #dotnet #roslyn

  6. Here is a video someone made about some command line arguments I deleted the other week, and a nuget package I uploaded.

    I’m basically famous!

    youtube.com/watch?v=i6n-w6Tq7F0

    #nvim #razor #dotnet #roslyn

  7. In about one hour, combining the powers of Native AOT and System.CommandLine, we will turn Inspector Roslyn into a standalone CLI tool.

    2026-04-22 (Wednesday)
    at 17:00 UTC

    #2codeOrNot2code #dotnet #CSharp #Roslyn #NuGet

    youtube.com/watch?v=DAyZ_6KvpiM

  8. In about one hour, combining the powers of Native AOT and System.CommandLine, we will turn Inspector Roslyn into a standalone CLI tool.

    2026-04-22 (Wednesday)
    at 17:00 UTC

    #2codeOrNot2code #dotnet #CSharp #Roslyn #NuGet

    youtube.com/watch?v=DAyZ_6KvpiM

  9. Based on this poll, we will be removing support for Visual Studio 2019 and out-of-support versions of Visual Studio 2022 from `xunit.analyzers` sometime before the final 2.0.0 release.

    dotnet.social/@xunit/116350131

    #DotNet #Roslyn #Analyzer #CSharp #UnitTest

  10. Based on this poll, we will be removing support for Visual Studio 2019 and out-of-support versions of Visual Studio 2022 from `xunit.analyzers` sometime before the final 2.0.0 release.

    dotnet.social/@xunit/116350131

    #DotNet #Roslyn #Analyzer #CSharp #UnitTest

  11. Hmm, just hit the first analyzer that needs relatively new version of Roslyn because of a new language feature I need to support (collection expression syntax) and now I'm not sure what to do. The existing analyzers target Roslyn 3.11 to support VS2019 16.11, which is very much not capable of running that. We'll need Roslyn 4.8, with a minimum supported VS version of 2022 17.8.

    Time to bump up the minimum? What happens if I try to run Roslyn 4.8 analyzers in 2019? 🤔

    #DotNet #Roslyn #Analyzers

  12. Hmm, just hit the first analyzer that needs relatively new version of Roslyn because of a new language feature I need to support (collection expression syntax) and now I'm not sure what to do. The existing analyzers target Roslyn 3.11 to support VS2019 16.11, which is very much not capable of running that. We'll need Roslyn 4.8, with a minimum supported VS version of 2022 17.8.

    Time to bump up the minimum? What happens if I try to run Roslyn 4.8 analyzers in 2019? 🤔

    #DotNet #Roslyn #Analyzers

  13. Я сделал язык программирования ради статьи на Хабр

    Меня зовут Степан, я C# профессионал уже более 7 лет на рынке и рассказываю об этом в Telegram каналe StepOne . Иногда мне скучно на работе, потому что перекладывать JSON это слишком просто, даже если микросервисы. Я отучился на системного программиста-компиляторщика и столкнулся с отсутствием спроса рынка на такие навыки. Но выбрал быть счастливым и написал язык программирования hydrascript , чтобы JSON гонялся даже в докере на макбуке. Решение под катом вас точно удивит! dotnet tool install hydrascript -g

    habr.com/ru/articles/1010530/

    #interpreter #compiler #backend #json #csharp #dotnet #roslyn #api #docker #cgi

  14. On 2026's April Fools' Day, Eva and Stefan Code 'n' Chat about everything you (don't) want to know about ImmutableArray<T>.

    2026-04-01 (Wednesday)
    at 17:00 UTC

    #2codeOrNot2code #dotnet #CSharp #Roslyn #NuGet

    youtube.com/watch?v=m2P4HrbqKI0

  15. On 2026's April Fools' Day, Eva and Stefan Code 'n' Chat about everything you (don't) want to know about ImmutableArray<T>.

    2026-04-01 (Wednesday)
    at 17:00 UTC

    #2codeOrNot2code #dotnet #CSharp #Roslyn #NuGet

    youtube.com/watch?v=m2P4HrbqKI0

  16. I want to mark as many of my test methods "static" as possible (why pay to instantiate an object you're never going to use?), so I turned on CA1822, and I'm surprised at the fact that it's only marking about half of the eligible methods. #DotNet #CSharp #Roslyn

  17. I want to mark as many of my test methods "static" as possible (why pay to instantiate an object you're never going to use?), so I turned on CA1822, and I'm surprised at the fact that it's only marking about half of the eligible methods. #DotNet #CSharp #Roslyn

  18. @DanMorgan Admiral #Cain of #Pegasus was portrayed beautifully by #MichelleForbes. We should not overlook that both, #Adama and President #Roslyn, wanted #Cain assassinated, just as #Cain wanted #Adama gone. Just shows how brutal and cut throat the politics and power play were in the 12 colonies of #Cyrannus star system.

    Makes one wonder about #Adama's speech at the start of the series, where he rhetorically ask whether and humanity is worth saving.

    #SoSayWeAll #BestSciFi #Galactica

  19. @DanMorgan Admiral #Cain of #Pegasus was portrayed beautifully by #MichelleForbes. We should not overlook that both, #Adama and President #Roslyn, wanted #Cain assassinated, just as #Cain wanted #Adama gone. Just shows how brutal and cut throat the politics and power play were in the 12 colonies of #Cyrannus star system.

    Makes one wonder about #Adama's speech at the start of the series, where he rhetorically ask whether and humanity is worth saving.

    #SoSayWeAll #BestSciFi #Galactica

  20. Even more #Roslyn:
    This time, we keep safety and security in mind and replace Reflection-based inspections for Compiler Extensions with the Workspaces APIs.

    2026-03-17 (Tuesday)
    at 18:00 UTC

    #2codeOrNot2code #dotnet #CSharp

    youtube.com/watch?v=1xjwAmfbBLc

  21. Even more #Roslyn:
    This time, we keep safety and security in mind and replace Reflection-based inspections for Compiler Extensions with the Workspaces APIs.

    2026-03-17 (Tuesday)
    at 18:00 UTC

    #2codeOrNot2code #dotnet #CSharp

    youtube.com/watch?v=1xjwAmfbBLc

  22. Elvis-модификатор доступа в C#

    Доброго Здоровья! Предполагается, что статья будет интересна тем, кто любит четкие контракты в своих проектах, строгость и чистоту в инкапсуляции, новые подходы в ООП. А также тем, кто уважает функциональное программирование. Эти темы и затрагиваются в предлагаемом «Elvis-модификаторе доступа», реализованным через Roslyn Analyzer. Все исходники и nuget пакеты прилагаются.

    habr.com/ru/articles/1008298/

    #C# #roslyn #oop #analyser #fp #elvis

  23. With the previously acquired skill to inspect Roslyn Components and all their Compiler Extensions,
    it is time for Inspector Roslyn to apply this skill to NuGet Packages.

    2026-03-03 (Tuesday)
    at 18:00 UTC

    #2codeOrNot2code #dotnet #CSharp #Roslyn #NuGet

    youtube.com/watch?v=14DUvyvvVyk

  24. With the previously acquired skill to inspect Roslyn Components and all their Compiler Extensions,
    it is time for Inspector Roslyn to apply this skill to NuGet Packages.

    2026-03-03 (Tuesday)
    at 18:00 UTC

    #2codeOrNot2code #dotnet #CSharp #Roslyn #NuGet

    youtube.com/watch?v=14DUvyvvVyk

  25. 【MMD R18】ロズリン Roslyn ❤ Ladie Alien【Tower of Fantasy 4K 60FPS】

    🎔 Want More Lewd?: patreon.com/StiickyNoteMMD

    📹 Watch Here:
    youtu.be/Yxb7TvsPHcM

    Roslyn from Tower of Fantasy performing Ladie Alien ❤️
    Hope you enjoy the animation!

    #TowerOfFantasy #幻塔 #Roslyn #ロズリン #ToF #MMD #R18

  26. Previously, Inspector Roslyn was introduced to Source Generators.
    The time has come to meet even more Compiler Extensions such as Code-Actions, Code-Completions, and the good old Diagnostics.

    2026-02-17 (Tuesday)
    at 18:00 UTC

    #2codeOrNot2code #dotnet #CSharp #Roslyn

    youtube.com/watch?v=x9wLxO4FadM

  27. Previously, Inspector Roslyn was introduced to Source Generators.
    The time has come to meet even more Compiler Extensions such as Code-Actions, Code-Completions, and the good old Diagnostics.

    2026-02-17 (Tuesday)
    at 18:00 UTC

    #2codeOrNot2code #dotnet #CSharp #Roslyn

    youtube.com/watch?v=x9wLxO4FadM

  28. Here's a weird one with #Roslyn, not sure if it's a bug or a misunderstanding. Hopefully someone here has some insight.

    If I have an INamedTypeSymbol for "object?[]", and I do `.ToDisplayString()` on it, I get back "object?[]". However, if I do `.ToDisplayString(SymbolDisplayFormat.FullyQualifiedFormat)`, I get back "object[]" (it has dropped the nullability of object).

    Bug? Misunderstanding? Shouldn't code generators always be using SymbolDisplayFormat.FullyQualifiedFormat?

    #DotNet

  29. Here's a weird one with #Roslyn, not sure if it's a bug or a misunderstanding. Hopefully someone here has some insight.

    If I have an INamedTypeSymbol for "object?[]", and I do `.ToDisplayString()` on it, I get back "object?[]". However, if I do `.ToDisplayString(SymbolDisplayFormat.FullyQualifiedFormat)`, I get back "object[]" (it has dropped the nullability of object).

    Bug? Misunderstanding? Shouldn't code generators always be using SymbolDisplayFormat.FullyQualifiedFormat?

    #DotNet

  30. #Roslyn code generator question:

    I'm noticing that ISymbol.MetadataToken is always returning 0 for me, for both classes and methods. Obviously at runtime those things have non-0 metadata token values.

    Is it expected that they'll always return 0? Is this a consequence of building for Native AOT?

  31. #Roslyn code generator question:

    I'm noticing that ISymbol.MetadataToken is always returning 0 for me, for both classes and methods. Obviously at runtime those things have non-0 metadata token values.

    Is it expected that they'll always return 0? Is this a consequence of building for Native AOT?

  32. And we're back!
    Starting into the premiere Episode of Season 2026 of #2codeOrNot2code by announcing our brand-new and year-long (and probably beyond) project, perhaps even our Opus Magnum.

    on 2026-02-03 (Tuesday)
    at 18:00 UTC

    #dotnet #CSharp #Roslyn

    youtube.com/watch?v=5rgb5RcbpoA

  33. And we're back!
    Starting into the premiere Episode of Season 2026 of #2codeOrNot2code by announcing our brand-new and year-long (and probably beyond) project, perhaps even our Opus Magnum.

    on 2026-02-03 (Tuesday)
    at 18:00 UTC

    #dotnet #CSharp #Roslyn

    youtube.com/watch?v=5rgb5RcbpoA

  34. I can't decide which should be true, but surely one of them should be:

    * Code marked with [GeneratedCode] should be ignored by code coverage, or
    * Generated code should be marked with [ExcludeFromCodeCoverage]

    I'm looking at you, code generators for [LoggerMessage] and [GeneratedRegex] and/or Microsoft.Testing.Extensions.CodeCoverage. 👀

    #DotNet #Roslyn #SourceGenerators

  35. I can't decide which should be true, but surely one of them should be:

    * Code marked with [GeneratedCode] should be ignored by code coverage, or
    * Generated code should be marked with [ExcludeFromCodeCoverage]

    I'm looking at you, code generators for [LoggerMessage] and [GeneratedRegex] and/or Microsoft.Testing.Extensions.CodeCoverage. 👀

    #DotNet #Roslyn #SourceGenerators

  36. Day 11 of the C# Advent Calendar 2025: csadvent.christmas/

    It's December, and as the final episode of this season, Eva and @0x_F0 build a Roslyn Source Generator polyfilling a Throw-Helper live, at 18:00 UTC.

    #CSAdvent #CSharp #dotnet #Roslyn

    youtube.com/watch?v=sB37iAIl5SE

  37. Создаём DSL на C#

    Создаю собственный DSL на C#: рассказываю о том, как закладывается фундамент языка и как подойти к проекту подобного масштаба.

    habr.com/ru/articles/970332/

    #dsl #Краснозеленые_деревья #парсеры #синтаксические_деревья #компиляторы #roslyn