Skip to content

Commit b117be2

Browse files
authored
Merge branch 'main' into Nullable-TVServices
2 parents eb76c46 + 1be1d74 commit b117be2

File tree

83 files changed

+2862
-3560
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+2862
-3560
lines changed

CODEOWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@
126126
/src/metalkit.cs
127127
/src/MetalPerformanceShaders
128128
/src/metalperformanceshaders.cs
129+
/src/MetalPerformanceShadersGraph @praeclarum
130+
/src/metalperformanceshadersgraph.cs @praeclarum
129131
/src/MobileCoreServices
130132
/src/mobilecoreservices.cs
131133
/src/ModelIO

Make.config

Lines changed: 18 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ $(TOP)/Make.config.inc: $(TOP)/Make.config $(TOP)/mk/mono.mk
77
@rm -f $@
88
@printf "IOS_COMMIT_DISTANCE:=$(shell LANG=C; export LANG && git --git-dir $(TOP)/.git log `git --git-dir $(TOP)/.git blame -- ./Make.versions HEAD | grep IOS_PACKAGE_VERSION= | sed 's/ .*//' `..HEAD --oneline | wc -l | sed 's/ //g')\n" >> $@
99
@printf "MAC_COMMIT_DISTANCE:=$(shell LANG=C; export LANG && git --git-dir $(TOP)/.git log `git --git-dir $(TOP)/.git blame -- ./Make.versions HEAD | grep MAC_PACKAGE_VERSION= | sed 's/ .*//' `..HEAD --oneline | wc -l | sed 's/ //g')\n" >> $@
10-
@printf "IOS_NUGET_COMMIT_DISTANCE:=$(shell LANG=C; export LANG; git --git-dir $(TOP)/.git log `git --git-dir $(TOP)/.git blame -- ./Make.versions HEAD | grep IOS_NUGET_VERSION= | sed 's/ .*//' `..HEAD --oneline | wc -l | sed 's/ //g')\n" >> $@
11-
@printf "TVOS_NUGET_COMMIT_DISTANCE:=$(shell LANG=C; export LANG; git --git-dir $(TOP)/.git log `git --git-dir $(TOP)/.git blame -- ./Make.versions HEAD | grep TVOS_NUGET_VERSION= | sed 's/ .*//' `..HEAD --oneline | wc -l | sed 's/ //g')\n" >> $@
12-
@printf "WATCHOS_NUGET_COMMIT_DISTANCE:=$(shell LANG=C; export LANG; git --git-dir $(TOP)/.git log `git --git-dir $(TOP)/.git blame -- ./Make.versions HEAD | grep WATCHOS_NUGET_VERSION= | sed 's/ .*//' `..HEAD --oneline | wc -l | sed 's/ //g')\n" >> $@
13-
@printf "MACOS_NUGET_COMMIT_DISTANCE:=$(shell LANG=C; export LANG; git --git-dir $(TOP)/.git log `git --git-dir $(TOP)/.git blame -- ./Make.versions HEAD | grep MACOS_NUGET_VERSION= | sed 's/ .*//' `..HEAD --oneline | wc -l | sed 's/ //g')\n" >> $@
14-
@printf "MACCATALYST_NUGET_COMMIT_DISTANCE:=$(shell LANG=C; export LANG; git --git-dir $(TOP)/.git log `git --git-dir $(TOP)/.git blame -- ./Make.versions HEAD | grep MACCATALYST_NUGET_VERSION= | sed 's/ .*//' `..HEAD --oneline | wc -l | sed 's/ //g')\n" >> $@
10+
@printf "IOS_NUGET_COMMIT_DISTANCE:=$(shell LANG=C; export LANG; git --git-dir $(TOP)/.git log `git --git-dir $(TOP)/.git blame -- ./Make.versions HEAD | grep IOS_NUGET_OS_VERSION= | sed 's/ .*//' `..HEAD --oneline | wc -l | sed 's/ //g')\n" >> $@
11+
@printf "TVOS_NUGET_COMMIT_DISTANCE:=$(shell LANG=C; export LANG; git --git-dir $(TOP)/.git log `git --git-dir $(TOP)/.git blame -- ./Make.versions HEAD | grep TVOS_NUGET_OS_VERSION= | sed 's/ .*//' `..HEAD --oneline | wc -l | sed 's/ //g')\n" >> $@
12+
@printf "WATCHOS_NUGET_COMMIT_DISTANCE:=$(shell LANG=C; export LANG; git --git-dir $(TOP)/.git log `git --git-dir $(TOP)/.git blame -- ./Make.versions HEAD | grep WATCHOS_NUGET_OS_VERSION= | sed 's/ .*//' `..HEAD --oneline | wc -l | sed 's/ //g')\n" >> $@
13+
@printf "MACOS_NUGET_COMMIT_DISTANCE:=$(shell LANG=C; export LANG; git --git-dir $(TOP)/.git log `git --git-dir $(TOP)/.git blame -- ./Make.versions HEAD | grep MACOS_NUGET_OS_VERSION= | sed 's/ .*//' `..HEAD --oneline | wc -l | sed 's/ //g')\n" >> $@
14+
@printf "MACCATALYST_NUGET_COMMIT_DISTANCE:=$(shell LANG=C; export LANG; git --git-dir $(TOP)/.git log `git --git-dir $(TOP)/.git blame -- ./Make.versions HEAD | grep MACCATALYST_NUGET_OS_VERSION= | sed 's/ .*//' `..HEAD --oneline | wc -l | sed 's/ //g')\n" >> $@
1515
@if which ccache > /dev/null 2>&1; then printf "ENABLE_CCACHE=1\nexport CCACHE_BASEDIR=$(abspath $(TOP)/..)\n" >> $@; echo "Found ccache on the system, enabling it"; fi
1616
@if test -d $(TOP)/../maccore; then printf "ENABLE_XAMARIN=1\n" >> $@; echo "Detected the maccore repository, automatically enabled the Xamarin build"; fi
1717
@# Build from source if we're on CI and packages aren't available.
@@ -130,29 +130,20 @@ NUGET_HARDCODED_PRERELEASE_BRANCH_ALPHANUMERIC:=$(shell export LANG=C; printf "%
130130
# READ INSTRUCTIONS ABOVE INSTEAD.
131131
ifneq ($(PULL_REQUEST_ID),)
132132
# we're a PR, so PR versioning
133-
NUGET_PRERELEASE_IDENTIFIER=ci.pr.gh$(PULL_REQUEST_ID).
133+
NUGET_PRERELEASE_IDENTIFIER=-ci.pr.gh$(PULL_REQUEST_ID)
134134
else ifeq ($(NUGETNUGET_RELEASE_BRANCH_ALPHANUMERIC_RELEASE_BRANCH),$(CURRENT_BRANCH_ALPHANUMERIC))
135135
# this is a release branch, so no prerelease identifier
136136
NUGET_PRERELEASE_IDENTIFIER=
137137
else ifeq ($(NUGET_HARDCODED_PRERELEASE_BRANCH_ALPHANUMERIC),$(CURRENT_BRANCH_ALPHANUMERIC))
138138
# this is a prerelease branch!
139-
NUGET_PRERELEASE_IDENTIFIER=$(NUGET_HARDCODED_PRERELEASE_IDENTIFIER).
139+
NUGET_PRERELEASE_IDENTIFIER=-$(NUGET_HARDCODED_PRERELEASE_IDENTIFIER)
140140
else
141141
# this is a CI branch!
142-
NUGET_PRERELEASE_IDENTIFIER=ci.$(CURRENT_BRANCH_ALPHANUMERIC).
142+
NUGET_PRERELEASE_IDENTIFIER=-ci.$(CURRENT_BRANCH_ALPHANUMERIC)
143143
endif
144144

145145
NUGET_BUILD_METADATA=sha.$(CURRENT_HASH)
146146

147-
# The prerelease identifier is missing the per-product commit distance, which is added here
148-
ifneq ($(NUGET_PRERELEASE_IDENTIFIER),)
149-
IOS_NUGET_PRERELEASE_IDENTIFIER=-$(NUGET_PRERELEASE_IDENTIFIER)$(IOS_NUGET_COMMIT_DISTANCE)
150-
TVOS_NUGET_PRERELEASE_IDENTIFIER=-$(NUGET_PRERELEASE_IDENTIFIER)$(TVOS_NUGET_COMMIT_DISTANCE)
151-
WATCHOSOS_NUGET_PRERELEASE_IDENTIFIER=-$(NUGET_PRERELEASE_IDENTIFIER)$(WATCHOSOS_NUGET_COMMIT_DISTANCE)
152-
MACCATALYST_NUGET_PRERELEASE_IDENTIFIER=-$(NUGET_PRERELEASE_IDENTIFIER)$(MACCATALYST_NUGET_COMMIT_DISTANCE)
153-
MACOS_NUGET_PRERELEASE_IDENTIFIER=-$(NUGET_PRERELEASE_IDENTIFIER)$(MACOS_NUGET_COMMIT_DISTANCE)
154-
endif
155-
156147
IOS_PRODUCT=Xamarin.iOS
157148
IOS_PACKAGE_NAME=Xamarin.iOS
158149
IOS_PACKAGE_NAME_LOWER=$(shell echo $(IOS_PACKAGE_NAME) | tr "[:upper:]" "[:lower:]")
@@ -163,10 +154,11 @@ IOS_PACKAGE_VERSION_BUILD=$(IOS_COMMIT_DISTANCE)
163154
IOS_PACKAGE_UPDATE_ID=$(shell printf "2%02d%02d%02d%03d" $(IOS_PACKAGE_VERSION_MAJOR) $(IOS_PACKAGE_VERSION_MINOR) $(IOS_PACKAGE_VERSION_REV) $(IOS_PACKAGE_VERSION_BUILD))
164155

165156
IOS_NUGET=Microsoft.iOS
157+
IOS_NUGET_VERSION=$(IOS_NUGET_OS_VERSION).$(IOS_NUGET_COMMIT_DISTANCE)
166158
IOS_NUGET_VERSION_MAJOR=$(word 1, $(subst ., ,$(IOS_NUGET_VERSION)))
167159
IOS_NUGET_VERSION_MINOR=$(word 2, $(subst ., ,$(IOS_NUGET_VERSION)))
168160
IOS_NUGET_VERSION_PATCH=$(word 3, $(subst ., ,$(IOS_NUGET_VERSION)))
169-
IOS_NUGET_VERSION_NO_METADATA=$(IOS_NUGET_VERSION)$(IOS_NUGET_PRERELEASE_IDENTIFIER)
161+
IOS_NUGET_VERSION_NO_METADATA=$(IOS_NUGET_VERSION)$(NUGET_PRERELEASE_IDENTIFIER)
170162
IOS_NUGET_VERSION_FULL=$(IOS_NUGET_VERSION_NO_METADATA)+$(NUGET_BUILD_METADATA)
171163

172164
IOS_WINDOWS_NUGET=Microsoft.iOS.Windows
@@ -177,24 +169,27 @@ IOS_WINDOWS_NUGET_VERSION_NO_METADATA=$(IOS_NUGET_VERSION_NO_METADATA)
177169
IOS_WINDOWS_NUGET_VERSION_FULL=$(IOS_NUGET_VERSION_FULL)
178170

179171
TVOS_NUGET=Microsoft.tvOS
172+
TVOS_NUGET_VERSION=$(TVOS_NUGET_OS_VERSION).$(TVOS_NUGET_COMMIT_DISTANCE)
180173
TVOS_NUGET_VERSION_MAJOR=$(word 1, $(subst ., ,$(TVOS_NUGET_VERSION)))
181174
TVOS_NUGET_VERSION_MINOR=$(word 2, $(subst ., ,$(TVOS_NUGET_VERSION)))
182175
TVOS_NUGET_VERSION_PATCH=$(word 3, $(subst ., ,$(TVOS_NUGET_VERSION)))
183-
TVOS_NUGET_VERSION_NO_METADATA=$(TVOS_NUGET_VERSION)$(TVOS_NUGET_PRERELEASE_IDENTIFIER)
176+
TVOS_NUGET_VERSION_NO_METADATA=$(TVOS_NUGET_VERSION)$(NUGET_PRERELEASE_IDENTIFIER)
184177
TVOS_NUGET_VERSION_FULL=$(TVOS_NUGET_VERSION_NO_METADATA)+$(NUGET_BUILD_METADATA)
185178

186179
WATCHOS_NUGET=Microsoft.watchOS
180+
WATCHOS_NUGET_VERSION=$(WATCHOS_NUGET_OS_VERSION).$(WATCHOS_NUGET_COMMIT_DISTANCE)
187181
WATCHOS_NUGET_VERSION_MAJOR=$(word 1, $(subst ., ,$(WATCHOS_NUGET_VERSION)))
188182
WATCHOS_NUGET_VERSION_MINOR=$(word 2, $(subst ., ,$(WATCHOS_NUGET_VERSION)))
189183
WATCHOS_NUGET_VERSION_PATCH=$(word 3, $(subst ., ,$(WATCHOS_NUGET_VERSION)))
190-
WATCHOS_NUGET_VERSION_NO_METADATA=$(WATCHOS_NUGET_VERSION)$(WATCHOSOS_NUGET_PRERELEASE_IDENTIFIER)
184+
WATCHOS_NUGET_VERSION_NO_METADATA=$(WATCHOS_NUGET_VERSION)$(NUGET_PRERELEASE_IDENTIFIER)
191185
WATCHOS_NUGET_VERSION_FULL=$(WATCHOS_NUGET_VERSION_NO_METADATA)+$(NUGET_BUILD_METADATA)
192186

193187
MACCATALYST_NUGET=Microsoft.MacCatalyst
188+
MACCATALYST_NUGET_VERSION=$(MACCATALYST_NUGET_OS_VERSION).$(MACCATALYST_NUGET_COMMIT_DISTANCE)
194189
MACCATALYST_NUGET_VERSION_MAJOR=$(word 1, $(subst ., ,$(MACCATALYST_NUGET_VERSION)))
195190
MACCATALYST_NUGET_VERSION_MINOR=$(word 2, $(subst ., ,$(MACCATALYST_NUGET_VERSION)))
196191
MACCATALYST_NUGET_VERSION_PATCH=$(word 3, $(subst ., ,$(MACCATALYST_NUGET_VERSION)))
197-
MACCATALYST_NUGET_VERSION_NO_METADATA=$(MACCATALYST_NUGET_VERSION)$(MACCATALYST_NUGET_PRERELEASE_IDENTIFIER)
192+
MACCATALYST_NUGET_VERSION_NO_METADATA=$(MACCATALYST_NUGET_VERSION)$(NUGET_PRERELEASE_IDENTIFIER)
198193
MACCATALYST_NUGET_VERSION_FULL=$(MACCATALYST_NUGET_VERSION_NO_METADATA)+$(NUGET_BUILD_METADATA)
199194

200195
# Xcode version should have both a major and a minor version (even if the minor version is 0)
@@ -493,10 +488,11 @@ MAC_PACKAGE_UPDATE_ID=$(shell echo $(subst ., ,$(MAC_PACKAGE_VERSION).$(MAC_PACK
493488
MAC_PACKAGE_TITLE=Xamarin $(MAC_PACKAGE_NAME) $(MAC_PACKAGE_VERSION)
494489

495490
MACOS_NUGET=Microsoft.macOS
491+
MACOS_NUGET_VERSION=$(MACOS_NUGET_OS_VERSION).$(MACOS_NUGET_COMMIT_DISTANCE)
496492
MACOS_NUGET_VERSION_MAJOR=$(word 1, $(subst ., ,$(MACOS_NUGET_VERSION)))
497493
MACOS_NUGET_VERSION_MINOR=$(word 2, $(subst ., ,$(MACOS_NUGET_VERSION)))
498494
MACOS_NUGET_VERSION_PATCH=$(word 3, $(subst ., ,$(MACOS_NUGET_VERSION)))
499-
MACOS_NUGET_VERSION_NO_METADATA=$(MACOS_NUGET_VERSION)$(MACOS_NUGET_PRERELEASE_IDENTIFIER)
495+
MACOS_NUGET_VERSION_NO_METADATA=$(MACOS_NUGET_VERSION)$(NUGET_PRERELEASE_IDENTIFIER)
500496
MACOS_NUGET_VERSION_FULL=$(MACOS_NUGET_VERSION_NO_METADATA)+$(NUGET_BUILD_METADATA)
501497

502498
ifneq ($(TESTS_USE_SYSTEM),)

Make.versions

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,21 +58,19 @@ MAC_PACKAGE_VERSION=8.11.0.$(MAC_COMMIT_DISTANCE)
5858
#
5959
# Rules:
6060
# * The first two numbers represent the major and minor version of the corresponding OS.
61-
# * Reset patch version (third number) to 100 every time either major or minor version is bumped.
62-
# * Bump last two digits of the patch version for service releases.
63-
# * Bump first digit of the patch version for feature releases (and reset the first two digits to 0)
61+
# * A third number will be added later (the commit distance).
6462
#
6563
# IMPORTANT: There must be *no* managed API differences unless the two first
6664
# numbers (major.minor) changes.
6765

6866
# WARNING: Do **not** use versions higher than the available Xcode SDK or else we will have issues with mtouch (See https://github.com/xamarin/xamarin-macios/issues/7705)
6967
# When bumping the major macOS version in MACOS_NUGET_VERSION also update the macOS version where we execute on bots in jenkins/Jenkinsfile (in the 'node' element)
7068

71-
IOS_NUGET_VERSION=15.4.400
72-
TVOS_NUGET_VERSION=15.4.400
73-
WATCHOS_NUGET_VERSION=8.5.400
74-
MACOS_NUGET_VERSION=12.3.400
75-
MACCATALYST_NUGET_VERSION=15.4.400
69+
IOS_NUGET_OS_VERSION=15.4
70+
TVOS_NUGET_OS_VERSION=15.4
71+
WATCHOS_NUGET_OS_VERSION=8.5
72+
MACOS_NUGET_OS_VERSION=12.3
73+
MACCATALYST_NUGET_OS_VERSION=15.4
7674

7775

7876
# Defines the default platform version if it's not specified in the TFM. The default should not change for a given .NET version:

dotnet/VERSIONS.md

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,20 @@ This is the scheme: `OsMajor.OsMinor.InternalRelease[-prereleaseX]+sha.1b2c3d4`.
88

99
* Major: The major OS version.
1010
* Minor: The minor OS version.
11-
* Patch: Our internal release version based on `100` as a starting point.
12-
* Service releases will bump the last two digits of the patch version
13-
* Feature releases will round the patch version up to the nearest 100
14-
(this is the same as bumping the first digit of the patch version, and
15-
resetting the last two digits to 0).
16-
* This follows [how the dotnet SDK does it][1].
11+
* Patch: Our internal release version based. This is the commit distance since
12+
the Major.Minor version changed.
1713
* Pre-release: Optional (e.g.: Xcode previews, CI, etc.)
1814
* For CI we use a `ci` prefix + the branch name (cleaned up to only be
19-
alphanumeric) + the commit distance (number of commits since any of the
20-
major.minor.patch versions changed).
21-
* Example: `iOS 15.0.100-ci.main.1234`
15+
alphanumeric).
16+
* Example: `iOS 15.0.123-ci.main`
2217
* Alphanumeric means `a-zA-Z0-9-`: any character not in this range
2318
will be replaced with a `-`.
24-
* Pull requests have `pr` prefix, followed by `gh`+ PR number + commit
25-
distance.
26-
* Example: `tvOS 15.1.200-ci.pr.gh3333.1234`
19+
* Pull requests have `pr` prefix, followed by `gh`+ PR number.
20+
* Example: `tvOS 15.1.123-ci.pr.gh3333`
2721
* If we have a particular feature we want people to subscribe to (such as
2822
an Xcode release), we publish previews with a custom pre-release
2923
identifier:
30-
* Example: `iOS 15.1.100-xcode13-1.beta.1`
24+
* Example: `iOS 15.1.123-xcode13-1.beta`
3125
* This way people can sign up for only official previews, by
3226
referencing `iOS *-xcode13-1.beta.*`
3327
* It's still possible to sign up for all `xcode13-1` builds, by
@@ -37,15 +31,15 @@ This is the scheme: `OsMajor.OsMinor.InternalRelease[-prereleaseX]+sha.1b2c3d4`.
3731
* Use the short hash because the long hash is quite long and
3832
cumbersome. This leaves the complete version open for duplication,
3933
but this is extremely unlikely.
40-
* Example: `iOS 14.0.100+sha.1a2b3c`
41-
* Example (CI build): `iOS 15.0.100-ci.main.1234+sha.1a2b3c`
34+
* Example: `iOS 14.0.123+sha.1a2b3c`
35+
* Example (CI build): `iOS 15.0.123-ci.main+sha.1a2b3c`
4236
* Since the build metadata is required for all builds, we're able to
4337
recognize incomplete version numbers and determine if a particular
4438
version string refers to a stable version or not.
45-
* Example: `iOS 15.0.100`: incomplete version
46-
* Example: `iOS 15.0.100+sha.1a2b3c`: stable
47-
* Example: `iOS 15.0.100-ci.d17-0.1234+sha.1a2b3c`: CI build
48-
* Example: `iOS 15.0.100-xcode13-1.beta.1+sha.1a2b3c`: official
39+
* Example: `iOS 15.0.123`: incomplete version
40+
* Example: `iOS 15.0.123+sha.1a2b3c`: stable
41+
* Example: `iOS 15.0.123-ci.d17-0+sha.1a2b3c`: CI build
42+
* Example: `iOS 15.0.123-xcode13-1.beta+sha.1a2b3c`: official
4943
preview
5044
* Technically it's possible to remove the prerelease part, but
5145
we’d still be able to figure out it’s not a stable version by

mk/mono.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
NEEDED_MONO_VERSION := 86118d5810b589c29df005b93aba42100a89bd82
1+
NEEDED_MONO_VERSION := 281ee19b9bea648839c2c2256aa88d44d62407d2
22
NEEDED_MONO_BRANCH := 2020-02
33

44
MONO_DIRECTORY := mono

mk/xamarin.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ MONO_BRANCH := $(shell cd $(MONO_PATH) 2> /dev/null && git symbolic-ref --sho
77
endif
88

99
ifdef ENABLE_XAMARIN
10-
NEEDED_MACCORE_VERSION := 749e84cb162b945dafa85fd6dffe80a727a491cf
10+
NEEDED_MACCORE_VERSION := 29a1c1382e005e568b57d1b45e3877c8081dfc8b
1111
NEEDED_MACCORE_BRANCH := main
1212

1313
MACCORE_DIRECTORY := maccore

msbuild/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
22
<PropertyGroup>
3-
<MessagingVersion>1.6.3</MessagingVersion>
3+
<MessagingVersion>1.6.6</MessagingVersion>
44
<HotRestartVersion>1.0.90</HotRestartVersion>
55
</PropertyGroup>
66
</Project>

runtime/coreclr-bridge.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,7 @@
882882
mono_get_exception_out_of_memory ()
883883
{
884884
MonoException *rv = xamarin_bridge_create_exception (XamarinExceptionTypes_System_OutOfMemoryException, NULL);
885-
LOG_CORECLR (stderr, "%s (%p) => %p\n", __func__, entrypoint, rv);
885+
LOG_CORECLR (stderr, "%s () => %p\n", __func__, rv);
886886
return rv;
887887
}
888888

src/AppKit/Enums.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -868,10 +868,9 @@ public enum NSViewLayerContentsPlacement : long {
868868
#endregion
869869

870870
#region NSWindow
871-
// This enum is called NSWindowStyleMask in the headers.
872871
[NoMacCatalyst]
873872
[Flags]
874-
[Native]
873+
[Native ("NSWindowStyleMask")]
875874
public enum NSWindowStyle : ulong {
876875
Borderless = 0 << 0,
877876
Titled = 1 << 0,

src/AudioToolbox/AudioType.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,7 @@ public static bool IsReserved (this AudioChannelLabel value)
531531
#endif
532532

533533
[Flags]
534+
[NativeName ("AudioChannelBitmap")]
534535
public enum AudioChannelBit : uint // UInt32 mChannelBitmap in AudioChannelLayout
535536
{
536537
Left = 1<<0,

0 commit comments

Comments
 (0)