Good First Issues in C#
Curated beginner tickets strictly indexed from verified Tier S, A, and B C# repositories. Every listed issue has live maintainer telemetry confirming active review turnaround and high external PR landing rates.
Tickets are capped at 2–3 per repository to prevent farmable spam. If maintainers become inactive, their tickets are pruned automatically.
Snipe fresh C# beginner issues
Beginner tickets in welcoming repos get claimed quickly. Get pinged the minute a maintainer opens a new issue.
Get this week's top welcoming repos + fresh Good First Issues for C#
Free weekly email, scoped to C#. No account needed - confirm once and unsubscribe anytime.
Live Available Issues (26)
Description synths have the red decal when damaged instead of a white or brown decal Reproduction murder a synth on current master Screenshots
Prerequisites Can you reproduce the problem in a MWE? Are you running the latest version of AngleSharp? Did you check the FAQs to see if that helps you? Are you reporting to the correct repository? (there are multiple AngleSharp libraries, e.g., AngleSharp.Css for CSS support) Did you perform a search in the issues? Description Versions: AngleSharp 1.11.0, .NET 10.0. NamedNodeMap.RemoveNamedItemOrDefault(string name, bool) (src/AngleSharp/Dom/NamedNodeMap.cs) finds the attribute through its index dictionary, which is O(1). It then calls: IndexOf(attr): Array.IndexOf(_items, attr, 0, _count). For Attr this goes through the default equality comparer and scans from index 0. RemoveAt(position): Array.Copy of everything after the position. In document order the attribute is always at index 0, so each removal shifts the whole array. In reverse order the shift is free, but IndexOf scans the whole array. Steps to Reproduce using System.Diagnostics; using System.Text; using AngleSharp.
Prerequisites Can you reproduce the problem in a MWE? Are you running the latest version of AngleSharp? Did you check the FAQs to see if that helps you? Are you reporting to the correct repository? (there are multiple AngleSharp libraries, e.g., AngleSharp.Css for CSS support) Did you perform a search in the issues? Description Versions: AngleSharp 1.11.0, .NET 10.0. Each insert and remove in Node (src/AngleSharp/Dom/Node.cs) walks the moved node's whole subtree: On insert, InsertBefore calls NotifyConnected(node), which runs node.DescendantsAndSelf<Element>() to find IConnectedResourceElements. It then calls Document.RefreshBaseUrlForTreeChange(node), which runs ContainsBaseElement (a full walk looking for HtmlBaseElement). On remove, RemoveChild calls RefreshBaseUrlForTreeChange(node) again. Unwrapping the outermost of n nested elements moves the remaining n - 1 levels, so unwrapping them all costs O(n squared). Sanitisers that unwrap disallowed elements one at a time hit th
Prerequisites Can you reproduce the problem in a MWE? Are you running the latest version of AngleSharp? Did you check the FAQs to see if that helps you? Are you reporting to the correct repository? (there are multiple AngleSharp libraries, e.g., AngleSharp.Css for CSS support) Did you perform a search in the issues? Description Note : I did use claude to verify this issue. For systems that process html email - this issue could cause a DOS (cpu and memory exhaustion) with deeply nested documents. Each <p> closes the previous paragraph and pops its <font> elements from the stack, but they stay in the list of active formatting elements (_formattingElements). HtmlDomBuilderExtensions.AddFormatting (src/AngleSharp/Html/Parser/HtmlDomBuilderExtensions.cs) implements the Noah's Ark clause. It removes an entry only when three entries share name, namespace and attributes. Here every id differs, so the list grows by one per paragraph. HtmlDomBuilder.ReconstructFormatting() then clones eve
In general, we enable the maximum of analyzer rules (even with "warning as error" enabled). We currently have to explicitly disable CA1001 in our performance test projects as BDN classes may have fields that are disposable. Since BDN will not support IDisposable on benchmark classes (see #1409), it does not make sense to require people to implements IDisposable on such classes. It would be great if BDN shipped with a DiagnosticSuppressor that suppresses CA1001 for classes that contain benchmark methods. To reproduce, compile the following class: using System.IO; using BenchmarkDotNet.Attributes; public class MemoryStreamBenchmarks { private MemoryStream _memoryStream; [GlobalSetup] public void GlobalSetup() { _memoryStream = new MemoryStream(); } [GlobalCleanup] public void GlobalCleanup() { _memoryStream?.Dispose(); } [Benchmark] public void WriteByte() { _memoryStream.WriteByte(0x05); } } Expected result
Details Cli.Wrap("foo.bat") runs the script in a Windows command shell (cmd.exe), which is subject to additional syntax constraints. Notably, characters like | and </> are used to pipe inputs and ouputs — including them in the command line without additional escaping may result in unexpected or dangerous behavior. Current implementation of ArgumentsBuilder.Escape(...) (which WithArguments(IEnumeable<string>) uses by default) only escapes characters relevant to argv conversion (i.e. turning a command-line string into an array of arguments), which is insufficient for this case. It's important to point out that executing a bat/cmd file may also happen implicitly, for example via Cli.Wrap("npm") — CliWrap resolves the extension-less PATH-based target as npm.cmd. Suggestion: Add a private method GetEscapedArgumentsForCmd(string) to Command.Execution.cs. When the optimially resolved target file path ends up with a .bat or .cmd extension, re-format the command line to escape cmd-specific
Details Currently, CliWrap follows Windows' model for representing command-line arguments, i.e. a single fully formed string. See: CliWrap/CliWrap/ICommandConfiguration.cs Lines 15 to 18 in 6d1c90b /// <summary> /// Command-line arguments passed to the underlying process. /// </summary> string Arguments { get; } . We should switch to representing them as IReadOnlyList<string> instead. This is consistent with Unix and the modern .NET model (System.Diagnostics.ProcessStartInfo provides an ArgumentList). We can still provide a string-based WithArguments(string), but that would parse the command-line into an argv array pre-emptively. The value here is that we will be able to avoid pointless conversions on Unix systems, maintain a more information-preservin
背景与动机 目前游戏启动器的各项设置只能使用当前配置,缺少保存多套配置并快速切换的功能。 对于同时使用本地游玩和远程串流(如 Sunshine + Moonlight、Parsec)的玩家,两种场景通常需要不同的启动设置,例如: PC本地游玩: 使用本地显示器分辨率、较高的目标帧率及对应的窗口设置。 远程或局域网串流: 根据串流客户端的屏幕比例、分辨率和刷新率,调整游戏分辨率、目标帧率、游戏平台、开启触屏等设置。 每次在本地与串流环境之间切换时,都需要重新手动调整多项设置,操作繁琐,也容易遗漏某些选项。 想要实现或优化的功能 希望在游戏启动器中增加**配置预设(Profile / Preset)**功能,允许保存当前启动器配置,并在不同预设之间快速切换。 假设用户创建了两套预设: 预设 A:PC本地游玩 分辨率:2560 × 1440 目标帧率:120 FPS 窗口模
Details .NET 11 added a new ProcessStartInfo property called KillOnParentExit. When set to true, it makes sure that the child process never outlives the parent process, regardless of how it exits — of its own volition, due to an unhandled exception, a kill signal, or whatever else. This is only supported on Windows and Linux (and Android), but not on macOS and other Darwin-based platforms. For CliWrap users targeting .NET 11, this feature is currently available through the following abstraction exit hatch: await Cli.Wrap(...).ExecuteAsync(psi => psi.KillOnParentExit = true); We should also try to provide a first-class equivalent for it too. However, while we can obviously leverage KillOnParentExit directly on .NET 11, backporting it to older targets is tricky because: For Windows, it involves assigning a process to a job after the process has already started (flaky). For Linux, there is no reliable way to constrain the lifetime of a System.Diagnostics.Process-spawned process (.NET 1
#138230 introduces a hard-coded list of instructions to avoid improper mask embedding. Tanner suggested to encode this via instruction metadata instead.
Description GBX.NET Explorer fails to fully parse player profiles from the original 2011 release of TrackMania 2 Canyon. Environment Game: TrackMania 2 Canyon Game build: 2011-09-14_16_10 GBX.NET Explorer: 2.5.2 OS: Windows Class: CGamePlayerProfile Class ID: 0x0308C000 GBX version: 6 Body compression: Compressed Actual behavior The profile is imported, but the following error appears: Skippable chunk data failed to read. Both ProfileChunks and OldProfileChunks contain 34 null elements. The same error occurs with both an older profile containing substantial gameplay progress (125,038 bytes) and a recently saved profile (6,881 bytes). No additional exceptions appear in the browser console. Expected behavior The profile should be parsed correctly, including personal records, medals, and campaign progress. Question Is this particular version of ManiaPlanet supported? Is there currently a way to extract personal records and campaign progress from these legacy profiles? Thank you for your
Description title Reproduction Fire spearhead (.454 variants), lose eardrums video https://github.com/user-attachments/assets/29686cea-cdad-4f6d-90f8-56114b2ce866
Versions: Consolonia / Consolonia.NUnit 12.1.4.18, Avalonia 12.1.4, .NET 10, Linux Symptom When a test suite restarts the app for each test with ConsoloniaAppTestBase, the test host now and then crashes (exit code 134) during SetUpApp: System.InvalidOperationException: The calling thread cannot access this object because a different thread owns it. at Avalonia.Threading.Dispatcher.g__ThrowVerifyAccess|17_0() at Avalonia.Rendering.DefaultRenderLoop.Add(IRenderLoopTask i) at Avalonia.Rendering.Composition.Server.ServerCompositor..ctor(...) at Avalonia.Rendering.Composition.Compositor..ctor(IPlatformGraphics gpu, Boolean useUiThreadForSynchronousCommits) at Consolonia.Core.Infrastructure.ConsoleWindowImpl..ctor() at Consolonia.Core.Infrastructure.ConsoloniaPlatform.CreateWindow() at Avalonia.Controls.Window..ctor() at .OnFrameworkInitializationCompleted() ... at Consolonia.ApplicationStartup.CreateLifetime(AppBuilder builder, String[] args) at Consolonia.NUnit.ConsoloniaAppTestBase`1.<>c_
Version: 3.7.1 and current master (v3.8.53) Description: CadHeader.UserShort1…5 and UserDouble1…5 are read from DWG correctly, but the DXF writer omits $USERI1…5 and $USERR1…5. Applications that store values there (common in AutoCAD add-ins) lose them when converting DWG → DXF. Steps to reproduce: doc.Header.UserShort1 = 7; doc.Header.UserDouble4 = 123.5; → write with DxfWriter → the file contains neither $USERI1 nor $USERR4; reading it back gives 0.
Is your feature request related to a problem? Please describe. Currently, dnGrep excels at exact, regex, and phonetic matching. However, when searching through large collections of documents, notes, or codebases, users often remember the meaning or concept of what they are looking for rather than the exact keywords or phrasing. Relying solely on exact keywords or complex regex patterns makes it difficult to find conceptually related content across different files. Describe the solution you'd like I would like to propose adding an optional Semantic / Contextual Search mode powered by lightweight local embedding models (such as MiniLM, BGE, or compact BERT-based models via ONNX Runtime). Key aspects of how this could work: • Search Mode: A new search type option (alongside Regex, Plain Text, XPath, Phonetic) called "Semantic" or "Contextual". • Local Execution: Runs completely offline using ONNX Runtime (which integrates well into the .NET/C# ecosystem) to preserve privacy and avoid
Version Used: Microsoft.CodeAnalysis.CSharp.Workspaces 5.12.0 (5.12.0-1.26502.2+1324e1d3, latest on nuget.org), .NET SDK 11.0.100. The code paths below are unchanged on main (da9878a). Steps to Reproduce: class A { } class O { /// <summary>Refers to <see cref="A"/>.</summary> public enum E; } Parse with DocumentationMode.Parse or Diagnose (any language version from C# 12; the declaration itself produces no diagnostic). Call SemanticModel.GetSymbolInfo() on the NameMemberCrefSyntax, or SymbolFinder.FindReferencesAsync() for A. Diagnostic Id: CS1569 (symptom only: with DocumentationMode.Diagnose the crash surfaces as this error without location; the bug itself is in the binder, not in an analyzer) Expected Behavior: The cref binds to A; Find References reports it. Actual Behavior: NullReferenceException: at Microsoft.CodeAnalysis.CSharp.Binder.LookupMembersInternal(LookupResult result, NamespaceOrTypeSymbol nsOrType, ...) at Microsoft.CodeAnalysis.CSharp.InContainerBinder.Look
Other than just being AI, the main issue with these is that only a couple of them look anything like representative worlds. Even if the images are stylized like this, they should be plausible. Create or source (open source compatible) better ones with a consistent style and resembling or even based on our worlds. IMO it would be cool for all of them to look like the same "world" shifted through the 9 settings, with the landmasses splitting from pangaea to archipelago and sea rising from 60% to 80%.
One of the more egregious AI graphics and currently is not even visible in game (#1083) Create or source (open source compatible) a better one, with a similar primitive hovel front and center (compare its position to the Civ3 file because improvements will be drawn overlapping it) and a neutral landscape.
Over in the pedia wiki we have page templates for most of the game's text content. One area that we can incorporate now is to expand the lists of city and great leader names. Some of the Civ3 lists are woefully lacking. Suggested starting points: Mobilize's City List Library and Leader and City Lists, or just search that or any modding subforum for "city list" This also serves as a reminder to contributors that we have non-technical opportunities in the other repos :) Comment below if you need access to that wiki.
Smell: Duplicated Code. The canonical-template generator tests in tests/Paramore.Brighter.Test.Generator.Tests/CanonicalTemplates give almost every Reactor fact a Proactor twin. The twin differs only in the output path (Generated/Reactor vs Generated/Proactor) and the sync/async needle (Requeue( / RequeueAsync(, Nack( / NackAsync(, …). One twin's Assert marker already says so: // Assert — as the Reactor variant, against the async surface (When_generating_zero_delay_requeue_should_emit_first_iteration_receipt_both_variants.cs). Refactoring: Parameterize Function. Each twin pair becomes a [Theory] with [InlineData("Reactor", "Requeue(")] / [InlineData("Proactor", "RequeueAsync(")]. The per-class PassLedger / BuildConfiguration / output-path helpers, which are repeated across the folder, could move to a shared test helper at the same time. Kind: structural. Assertions are unchanged, but test IDs change (Fact → Theory), so CI history for these tests resets. Size: medium, about 20 fil
Hello, Thank you for FluentFTP, and for the GnuTLS stream. We ship an application on Windows and Linux, both x64 and ARM64. On Windows, the built-in SslStream still cannot finish a TLS 1.3 upload to some servers: Synology creates the file and then answers 426. The documented way to use TLS 1.3 is FluentFTP.GnuTLS. FluentFTP.GnuTLS 1.0.40 contains one set of native libraries, and they are Windows x64. libgnutls-30.dll is PE machine 0x8664, together with GMP, Nettle, Hogweed, and the MinGW runtime. build/FluentFTP.GnuTLS.targets copies every DLL from content/ next to the application. There are no runtime-identifier folders and no Windows ARM64 binaries. On Linux the wrapper loads the system libgnutls, so a distribution package can serve x64 or ARM64. The wiki still says that only x64 is supported. Windows ARM64 has no library to load. Would you consider publishing Windows ARM64 builds of those same libraries, packaged so they do not replace the x64 DLLs (for example under runtimes/win-ar
Bug Description In lieu of AutoDarkMode/Windows-Auto-Night-Mode#1217 (comment), when I attempt to add $([Environment]::GetFolderPath([System.Environment+SpecialFolder]::MyDocuments))\custom;.dir\wallpaper;.txt.hTML, which contains: <!docType hTML> <hTML lang="en-GB-oxEnDict"> <head> <meta charSet="uTF-8"> <meta name="color-scheme" content="light dark" > <style> :root {color-scheme: light dark;} html, body { width: 100%; height: 100%; margin: 0; background-color: Canvas; } </style> </head> <body></body> </hTML> …as a new wallpaper, this application hangs, after selecting "Create": …whilst it downloads huge files from OneDrive, for no discernable reason. The sole reason that I know that the hang is not indefinite is that I invoked it via WinDbg, which suppresses killing hung windows, and even then, it recovered solely after I prevented it downloading > 3 GiB of resources: Under normal operation, this causes:
何が起きたか Linux版meltype-settingsの一部の説明文が「%LOCALAPPDATA%\Meltype\~」のようにWindowsのPATHになっています. OS・フロントエンド Linux (fcitx5) Meltype の版 Meltype-1.7.0 (Linux / fcitx5,Zenzai: ON) 実行環境 ログ (あれば)
https://godbolt.org/z/TffET5sK4 Consider: static void Good(int a, int b, bool* mem) { // Successfully CSE'd! mem[0] = a < b; mem[1] = a < b; } Program:Good(int,int,ptr) (FullOpts): cmp edi, esi setl al movzx eax, al mov byte ptr [rdx], al mov byte ptr [rdx+0x01], al ret Now, let's swap the operands. CSE no longer recognizes them as equal. static void Failed(int a, int b, bool* mem) { mem[0] = a < b; mem[1] = b > a; } Program:Failed(int,int,ptr) (FullOpts): cmp edi, esi setl al mov byte ptr [rdx], al cmp esi, edi setg al mov byte ptr [rdx+0x01], al ret
Description I've been informed that vehicle content should be under /Prototypes/_RMC14/Entities/Vehicles, rather than /Prototypes/_RMC14/Vehicles where it currently exists. Reproduction Navigate the RMC repo using a tool of your choice Screenshots Additional context
In general, we enable the maximum of analyzer rules (even with "warning as error" enabled). We currently have to explicitly disable CA1515 in our performance test projects as BDN classes have to be public. When that analyzer rule is enabled, the following diagnostic is produced for BDN classes: error CA1515: Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515) It would be great if BDN shipped with a DiagnosticSuppressor that suppresses CA1515 for classes that contain benchmark methods. The MSTest team recently introduced a similar suppressor for test classes in microsoft/testfx#12538.
Welcoming C# Repositories (12)
Open-source platform for building cross-platform native Mobile, Web, Desktop, and Embedded apps from a single C#/XAML codebase. Work from any IDE/CLI with Hot Reload, Visual Designer, MCPs, and Skills built for modern .NET workflows. 200M+ NuGet downloads.
The OpenAPI.NET SDK contains a useful object model for OpenAPI documents in .NET along with common serializers to extract raw OpenAPI JSON and YAML documents from the model.
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
雪解けのように、半角/全角の壁を溶かす日本語入力。
Catalog of official Microsoft MCP (Model Context Protocol) server implementations for AI-powered data access and tool integration