Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Review unsafe code usage

Open
#18 0 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@marchc1 is already working on this.

Since Oct 6, 2025.

Assessment

This issue has not been assessed yet.

Description

Enhancement

There are a lot of places that use unsafe code right now that really don't need to, especially in the networking code (which was the initial stuff written back in March of this year, before this repo existed).

A good example would be BufferToBufferDecompress (which also should be moved to its own method probably). It just makes spans out of the unsafe pointers. So why aren't we just using spans in everything?

Dominant language
C#
Stars
104
Forks
9
Avg merge
8h 52m
Merged PRs (30d)
115

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from SourceDotNET/Source.NET

All issues in SourceDotNET/Source.NET

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.