Skip to content

[C#] Remove unnecessary System.IO.MemoryMappedFiles 4.3.0 package and refresh dependencies #119

Backlog

Description

@konard

Problem

Platform.Memory.csproj targets net8 but still references System.IO.MemoryMappedFiles 4.3.0 (2016). The type is part of the shared framework since .NET Core 2.0, and the package pulls in an old dependency graph that vulnerability scanners flag. Microsoft.SourceLink.GitHub 1.1.1 is also built into the .NET 8 SDK.

Proposed solution

  • Remove both package references.
  • Update Platform.* dependencies to their latest versions.
  • Enable <EnableNETAnalyzers> / <AnalysisLevel>latest-recommended</AnalysisLevel> and <Nullable>enable</Nullable>, and fix the CS8618 warning on _accessor.
  • Consider multi-targeting net8.0;net10.0 (current LTS releases).

Part of #94 (catch up with mem-rs). Analysis and evidence: case study.

Activity

  1. added
    enhancement
    dependencies
    csharp
    on Nov 29, 2026
  2. added theissue type on Nov 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    csharpdependenciesenhancement

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions