mirror of https://github.com/ppy/SDL3-CS.git
Merge pull request #49 from Susko3/fix-namespaces
Fix namespaces (from `SDL3` to `SDL`)
This commit is contained in:
commit
02cedd7cb6
|
|
@ -2,7 +2,7 @@
|
|||
<PropertyGroup>
|
||||
<TargetFramework>net8.0-android</TargetFramework>
|
||||
<SupportedOSPlatformVersion>21</SupportedOSPlatformVersion>
|
||||
<RootNamespace>SDL3.Android</RootNamespace>
|
||||
<RootNamespace>SDL.Android</RootNamespace>
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
</PropertyGroup>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
using System;
|
||||
|
||||
namespace SDL3.SourceGeneration
|
||||
namespace SDL.SourceGeneration
|
||||
{
|
||||
[Flags]
|
||||
public enum Changes
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ using Microsoft.CodeAnalysis;
|
|||
using Microsoft.CodeAnalysis.CSharp;
|
||||
using Microsoft.CodeAnalysis.CSharp.Syntax;
|
||||
|
||||
namespace SDL3.SourceGeneration
|
||||
namespace SDL.SourceGeneration
|
||||
{
|
||||
[Generator]
|
||||
public class FriendlyOverloadGenerator : ISourceGenerator
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
using Microsoft.CodeAnalysis.CSharp.Syntax;
|
||||
|
||||
namespace SDL3.SourceGeneration
|
||||
namespace SDL.SourceGeneration
|
||||
{
|
||||
public record GeneratedMethod
|
||||
{
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ using Microsoft.CodeAnalysis;
|
|||
using Microsoft.CodeAnalysis.CSharp;
|
||||
using Microsoft.CodeAnalysis.CSharp.Syntax;
|
||||
|
||||
namespace SDL3.SourceGeneration
|
||||
namespace SDL.SourceGeneration
|
||||
{
|
||||
public static class Helper
|
||||
{
|
||||
|
|
|
|||
|
|
@ -9,8 +9,7 @@
|
|||
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
|
||||
<IsRoslynComponent>true</IsRoslynComponent>
|
||||
|
||||
<RootNamespace>SDL3.SourceGeneration</RootNamespace>
|
||||
<PackageId>SDL3.SourceGeneration</PackageId>
|
||||
<RootNamespace>SDL.SourceGeneration</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ using Microsoft.CodeAnalysis;
|
|||
using Microsoft.CodeAnalysis.CSharp;
|
||||
using Microsoft.CodeAnalysis.CSharp.Syntax;
|
||||
|
||||
namespace SDL3.SourceGeneration
|
||||
namespace SDL.SourceGeneration
|
||||
{
|
||||
public class UnfriendlyMethodFinder : ISyntaxReceiver
|
||||
{
|
||||
|
|
|
|||
|
|
@ -3,10 +3,9 @@
|
|||
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using SDL;
|
||||
using static SDL.SDL3;
|
||||
|
||||
namespace SDL3.Tests
|
||||
namespace SDL.Tests
|
||||
{
|
||||
public sealed unsafe class MyWindow : IDisposable
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace SDL3.Tests
|
||||
namespace SDL.Tests
|
||||
{
|
||||
/// <summary>
|
||||
/// Wrapper on <see cref="GCHandle" /> that supports the <see cref="IDisposable" /> pattern.
|
||||
|
|
|
|||
|
|
@ -3,10 +3,9 @@
|
|||
|
||||
using System.Diagnostics;
|
||||
using System.Text;
|
||||
using SDL;
|
||||
using static SDL.SDL3;
|
||||
|
||||
namespace SDL3.Tests
|
||||
namespace SDL.Tests
|
||||
{
|
||||
public static class Program
|
||||
{
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<RootNamespace>SDL3.Tests</RootNamespace>
|
||||
<RootNamespace>SDL.Tests</RootNamespace>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
|
|
|
|||
|
|
@ -2,9 +2,8 @@
|
|||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
using NUnit.Framework;
|
||||
using SDL;
|
||||
|
||||
namespace SDL3.Tests
|
||||
namespace SDL.Tests
|
||||
{
|
||||
[TestFixture]
|
||||
public class TestUtf8String
|
||||
|
|
|
|||
Loading…
Reference in New Issue