Move conversion methods to correct places and use convenient construc… #1184
ci.yml
on: push
Code Quality
49s
Build only (Android)
2m 43s
Build only (iOS)
1m 4s
Matrix: Test
Annotations
55 errors and 21 warnings
Code Quality:
osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
|
Code Quality:
osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
|
Code Quality:
osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
|
Code Quality:
osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
|
Code Quality
Process completed with exit code 1.
|
Test (macOS, macos-latest, Debug, SingleThread):
osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
|
Test (macOS, macos-latest, Debug, SingleThread):
osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
|
Test (macOS, macos-latest, Debug, SingleThread):
osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
|
Test (macOS, macos-latest, Debug, SingleThread):
osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
|
Test (macOS, macos-latest, Debug, SingleThread)
Process completed with exit code 1.
|
Build only (iOS):
osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
|
Build only (iOS):
osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
|
Build only (iOS):
osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
|
Build only (iOS):
osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
|
Build only (iOS)
Process completed with exit code 1.
|
Test (Linux, ubuntu-latest, Debug, SingleThread):
osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
|
Test (Linux, ubuntu-latest, Debug, SingleThread):
osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
|
Test (Linux, ubuntu-latest, Debug, SingleThread):
osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
|
Test (Linux, ubuntu-latest, Debug, SingleThread):
osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
|
Test (Linux, ubuntu-latest, Debug, SingleThread)
Process completed with exit code 1.
|
Test (Linux, ubuntu-latest, Release, SingleThread):
osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
|
Test (Linux, ubuntu-latest, Release, SingleThread):
osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
|
Test (Linux, ubuntu-latest, Release, SingleThread):
osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
|
Test (Linux, ubuntu-latest, Release, SingleThread):
osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
|
Test (Linux, ubuntu-latest, Release, SingleThread)
Process completed with exit code 1.
|
Test (Linux, ubuntu-latest, Release, MultiThreaded):
osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
|
Test (Linux, ubuntu-latest, Release, MultiThreaded):
osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
|
Test (Linux, ubuntu-latest, Release, MultiThreaded):
osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
|
Test (Linux, ubuntu-latest, Release, MultiThreaded):
osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
|
Test (Linux, ubuntu-latest, Release, MultiThreaded)
Process completed with exit code 1.
|
Test (Linux, ubuntu-latest, Debug, MultiThreaded):
osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
|
Test (Linux, ubuntu-latest, Debug, MultiThreaded):
osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
|
Test (Linux, ubuntu-latest, Debug, MultiThreaded):
osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
|
Test (Linux, ubuntu-latest, Debug, MultiThreaded):
osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
|
Test (Linux, ubuntu-latest, Debug, MultiThreaded)
Process completed with exit code 1.
|
Test (macOS, macos-latest, Debug, MultiThreaded):
osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
|
Test (macOS, macos-latest, Debug, MultiThreaded):
osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
|
Test (macOS, macos-latest, Debug, MultiThreaded):
osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
|
Test (macOS, macos-latest, Debug, MultiThreaded):
osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
|
Test (macOS, macos-latest, Debug, MultiThreaded)
Process completed with exit code 1.
|
Build only (Android):
osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
|
Build only (Android):
osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
|
Build only (Android):
osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
|
Build only (Android):
osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
|
Build only (Android)
Process completed with exit code 1.
|
Test (Windows, windows-latest, Debug, MultiThreaded):
osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
|
Test (Windows, windows-latest, Debug, MultiThreaded):
osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
|
Test (Windows, windows-latest, Debug, MultiThreaded):
osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
|
Test (Windows, windows-latest, Debug, MultiThreaded):
osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
|
Test (Windows, windows-latest, Debug, MultiThreaded)
Process completed with exit code 1.
|
Test (Windows, windows-latest, Debug, SingleThread):
osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
|
Test (Windows, windows-latest, Debug, SingleThread):
osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
|
Test (Windows, windows-latest, Debug, SingleThread):
osu.Framework/Platform/Apple/Native/Class.cs#L13
Marshalling string or char without explicit marshalling information is not supported. Specify 'LibraryImportAttribute.StringMarshalling', 'LibraryImportAttribute.StringMarshallingCustomType', 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'types'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
|
Test (Windows, windows-latest, Debug, SingleThread):
osu.Framework/Platform/Apple/Native/NSData.cs#L25
The type or namespace name 'NSMutableData' could not be found (are you missing a using directive or an assembly reference?)
|
Test (Windows, windows-latest, Debug, SingleThread)
Process completed with exit code 1.
|
Code Quality
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (macOS, macos-latest, Debug, SingleThread)
No files were found with the provided path: /Users/runner/work/osu-framework/osu-framework/TestResults/TestResults-macOS-SingleThread-Debug.trx. No artifacts will be uploaded.
|
Test (macOS, macos-latest, Debug, SingleThread)
Restore cache failed: Dependencies file is not found in /Users/runner/work/osu-framework/osu-framework. Supported file pattern: go.sum
|
Test (Linux, ubuntu-latest, Debug, SingleThread)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (Linux, ubuntu-latest, Debug, SingleThread)
Restore cache failed: Dependencies file is not found in /home/runner/work/osu-framework/osu-framework. Supported file pattern: go.sum
|
Test (Linux, ubuntu-latest, Debug, SingleThread)
No files were found with the provided path: /home/runner/work/osu-framework/osu-framework/TestResults/TestResults-Linux-SingleThread-Debug.trx. No artifacts will be uploaded.
|
Test (Linux, ubuntu-latest, Release, SingleThread)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (Linux, ubuntu-latest, Release, SingleThread)
No files were found with the provided path: /home/runner/work/osu-framework/osu-framework/TestResults/TestResults-Linux-SingleThread-Release.trx. No artifacts will be uploaded.
|
Test (Linux, ubuntu-latest, Release, SingleThread)
Restore cache failed: Dependencies file is not found in /home/runner/work/osu-framework/osu-framework. Supported file pattern: go.sum
|
Test (Linux, ubuntu-latest, Release, MultiThreaded)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (Linux, ubuntu-latest, Release, MultiThreaded)
No files were found with the provided path: /home/runner/work/osu-framework/osu-framework/TestResults/TestResults-Linux-MultiThreaded-Release.trx. No artifacts will be uploaded.
|
Test (Linux, ubuntu-latest, Release, MultiThreaded)
Restore cache failed: Dependencies file is not found in /home/runner/work/osu-framework/osu-framework. Supported file pattern: go.sum
|
Test (Linux, ubuntu-latest, Debug, MultiThreaded)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test (Linux, ubuntu-latest, Debug, MultiThreaded)
Restore cache failed: Dependencies file is not found in /home/runner/work/osu-framework/osu-framework. Supported file pattern: go.sum
|
Test (Linux, ubuntu-latest, Debug, MultiThreaded)
No files were found with the provided path: /home/runner/work/osu-framework/osu-framework/TestResults/TestResults-Linux-MultiThreaded-Debug.trx. No artifacts will be uploaded.
|
Test (macOS, macos-latest, Debug, MultiThreaded)
Restore cache failed: Dependencies file is not found in /Users/runner/work/osu-framework/osu-framework. Supported file pattern: go.sum
|
Test (macOS, macos-latest, Debug, MultiThreaded)
No files were found with the provided path: /Users/runner/work/osu-framework/osu-framework/TestResults/TestResults-macOS-MultiThreaded-Debug.trx. No artifacts will be uploaded.
|
Test (Windows, windows-latest, Debug, MultiThreaded)
Restore cache failed: Dependencies file is not found in D:\a\osu-framework\osu-framework. Supported file pattern: go.sum
|
Test (Windows, windows-latest, Debug, MultiThreaded)
No files were found with the provided path: D:\a\osu-framework\osu-framework/TestResults/TestResults-Windows-MultiThreaded-Debug.trx. No artifacts will be uploaded.
|
Test (Windows, windows-latest, Debug, SingleThread)
No files were found with the provided path: D:\a\osu-framework\osu-framework/TestResults/TestResults-Windows-SingleThread-Debug.trx. No artifacts will be uploaded.
|
Test (Windows, windows-latest, Debug, SingleThread)
Restore cache failed: Dependencies file is not found in D:\a\osu-framework\osu-framework. Supported file pattern: go.sum
|