#roslyn — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #roslyn, aggregated by home.social.
-
Создаём DSL на C#: Добавляем семантику
Создаю собственный DSL на C#: рассказываю о том, как я добавляю семантическую модель. Рассказываю архитектуру семантической модели.
https://habr.com/ru/articles/1058512/
#dsl #краснозеленые_деревья #парсеры #синтаксические_деревья #компиляторы #roslyn #семантическая_модель
-
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!
-
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!
-
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 -
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 -
Pretty straight forward, once a couple simple helpers intervene.
-
Pretty straight forward, once a couple simple helpers intervene.
-
Suppressing Roslyn Analyzer Warnings Programmatically using DiagnosticSuppressor #dotnet #roslyn https://www.meziantou.net/suppressing-roslyn-analyzer-warnings-programmatically-using-diagnosticsuppressor.htm?utm_medium=social&utm_source=mastodon
-
Suppressing Roslyn Analyzer Warnings Programmatically using DiagnosticSuppressor #dotnet #roslyn https://www.meziantou.net/suppressing-roslyn-analyzer-warnings-programmatically-using-diagnosticsuppressor.htm?utm_medium=social&utm_source=mastodon
-
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.
-
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.
-
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? 🤔
-
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? 🤔
-
Я сделал язык программирования ради статьи на Хабр
Меня зовут Степан, я C# профессионал уже более 7 лет на рынке и рассказываю об этом в Telegram каналe StepOne . Иногда мне скучно на работе, потому что перекладывать JSON это слишком просто, даже если микросервисы. Я отучился на системного программиста-компиляторщика и столкнулся с отсутствием спроса рынка на такие навыки. Но выбрал быть счастливым и написал язык программирования hydrascript , чтобы JSON гонялся даже в докере на макбуке. Решение под катом вас точно удивит! dotnet tool install hydrascript -g
https://habr.com/ru/articles/1010530/
#interpreter #compiler #backend #json #csharp #dotnet #roslyn #api #docker #cgi
-
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 -
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 -
@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.
-
@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.
-
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 -
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 -
Elvis-модификатор доступа в C#
Доброго Здоровья! Предполагается, что статья будет интересна тем, кто любит четкие контракты в своих проектах, строгость и чистоту в инкапсуляции, новые подходы в ООП. А также тем, кто уважает функциональное программирование. Эти темы и затрагиваются в предлагаемом «Elvis-модификаторе доступа», реализованным через Roslyn Analyzer. Все исходники и nuget пакеты прилагаются.
-
Source generation certainly makes Find All References noisy. #DotNet #Roslyn #SourceGenerators
-
Source generation certainly makes Find All References noisy. #DotNet #Roslyn #SourceGenerators
-
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 -
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 -
【MMD R18】ロズリン Roslyn ❤ Ladie Alien【Tower of Fantasy 4K 60FPS】
🎔 Want More Lewd?: patreon.com/StiickyNoteMMD
📹 Watch Here:
https://youtu.be/Yxb7TvsPHcMRoslyn from Tower of Fantasy performing Ladie Alien ❤️
Hope you enjoy the animation! -
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 -
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 -
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?
-
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?
-
#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?
-
#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?
-
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 -
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 -
Nassau boys basketball: Garden City at Roslyn https://www.allforgardening.com/1580409/nassau-boys-basketball-garden-city-at-roslyn/ #garden #GardenCity #HSBasketballBoys #roslyn
-
Nassau boys basketball: Garden City at Roslyn https://www.allforgardening.com/1580409/nassau-boys-basketball-garden-city-at-roslyn/ #garden #GardenCity #HSBasketballBoys #roslyn
-
Roslyn boys basketball move in to first in Nassau IV with win over Garden City https://www.allforgardening.com/1580311/roslyn-boys-basketball-move-in-to-first-in-nassau-iv-with-win-over-garden-city/ #garden #GardenCity #gardener #gardening #HSBasketballBoys #roslyn
-
Roslyn boys basketball move in to first in Nassau IV with win over Garden City https://www.allforgardening.com/1580311/roslyn-boys-basketball-move-in-to-first-in-nassau-iv-with-win-over-garden-city/ #garden #GardenCity #gardener #gardening #HSBasketballBoys #roslyn
-
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. 👀
-
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. 👀
-
Deep dive into #dotnet source generators, and understand how to design efficient pipelines that minimize recompilation and boost codegen performance.
#dotnet #sourcegen #roslyn -
Создаём DSL на C#
Создаю собственный DSL на C#: рассказываю о том, как закладывается фундамент языка и как подойти к проекту подобного масштаба.
https://habr.com/ru/articles/970332/
#dsl #Краснозеленые_деревья #парсеры #синтаксические_деревья #компиляторы #roslyn
-
💡 Pro tip for .NET devs: If you randomly hit file locking issues during builds, lingering MSBuild worker nodes may be the cause. 🧹 Kill them: dotnet build-server shutdown 🛠 Disable them: setx MSBUILDDISABLENODEREUSE 1 #dotnet #MSBuild #VisualStudio #Roslyn
-
An introduction to #dotnet Source Generators. How to eliminate boilerplate, boost performance, and replace runtime reflection with compile-time code generation.