Make `Utf8String.Raw` internal

This commit is contained in:
Susko3 2024-04-17 13:22:22 +02:00
parent a6838a3f9f
commit 42b32e36d5
2 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,6 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("SDL3-CS.Tests")]

View File

@ -13,7 +13,7 @@ namespace SDL
/// <remarks>Should only be instantiated through implicit conversions.</remarks>
public readonly ref struct Utf8String
{
public readonly ReadOnlySpan<byte> Raw;
internal readonly ReadOnlySpan<byte> Raw;
private Utf8String(ReadOnlySpan<byte> raw)
{