con un clic
csharp-compiler-warnings
Non-nullability C# compiler warning meanings and examples
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Non-nullability C# compiler warning meanings and examples
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Inspect, unpack, edit, sign, and repack Ren'Py save files. Use when working with Ren'Py .save archives, save metadata JSON, screenshot/extra_info/log/signatures entries, machine save-token keys, or when a user asks to modify or repair a Ren'Py savegame.
correct modelling of C# datastructures for maintainable code
Correctly call native (C/C++) libraries from .NET using P/Invoke and LibraryImport. Covers function signatures, string marshalling, memory lifetime, SafeHandle, and cross-platform patterns. USE FOR: writing new P/Invoke or LibraryImport declarations, reviewing or debugging existing native interop code, wrapping a C or C++ library for use in .NET, diagnosing crashes, memory leaks, or corruption at the managed/native boundary. DO NOT USE FOR: COM interop, C++/CLI mixed-mode assemblies, or pure managed code with no native dependencies.
Guides activity tracing with generated ActivitySources, tags, parent activities, exception status handling, and registration. Use when adding or reviewing OpenTelemetry activity tracing in Bendex flows.
Microsoft code analysis CA warning meanings and examples
Routing guide for enabled compiler and analyzer warnings in this Bendex solution
| name | csharp-compiler-warnings |
| description | Non-nullability C# compiler warning meanings and examples |
CS)Use this skill for enabled C# compiler diagnostics that are not nullable-reference warnings. For nullable CS8xxx warnings, use ../nullability-warnings/SKILL.md.
CS0162 - Unreachable code detectedWhat it flags: The C# compiler reported code that is unreachable, unused, malformed, or inconsistent with language rules.
Example:
return, throw, or an always-false branch.CS0168 - Variable is declared but never usedWhat it flags: The C# compiler reported code that is unreachable, unused, malformed, or inconsistent with language rules.
Example:
catch (Exception ex) { LogFailure(); } without using ex.CS0219 - Variable is assigned but its value is never usedWhat it flags: The C# compiler reported code that is unreachable, unused, malformed, or inconsistent with language rules.
Example:
var result = Calculate(); and result is never read.CS0628 - New protected member declared in sealed typeWhat it flags: The C# compiler reported code that is unreachable, unused, malformed, or inconsistent with language rules.
Example:
protected void M() in a sealed class.CS1696 - Single-line comment or end-of-line expectedWhat it flags: The C# compiler reported code that is unreachable, unused, malformed, or inconsistent with language rules.
Example:
CS1998 - Async method lacks await operatorsWhat it flags: The C# compiler reported code that is unreachable, unused, malformed, or inconsistent with language rules.
Example:
async Task SaveAsync() { Save(); } with no await.async and return a completed task, or await real async work.