[introspection] Ignore the AddressBook namespace for Mac Catalyst when checking static cctors.#18088
Conversation
…n checking static cctors.
Fixes these test failures (which only happen on the bots):
[FAIL] AddressBook.InitConstants .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception.
---> System.EntryPointNotFoundException: ABAddressBookCreate
at AddressBook.InitConstants..cctor()
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type)
at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51
[FAIL] AddressBook.ABGroupProperty .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABGroupProperty' threw an exception.
---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception.
---> System.EntryPointNotFoundException: ABAddressBookCreate
at AddressBook.InitConstants..cctor()
--- End of inner exception stack trace ---
at AddressBook.ABGroupProperty..cctor()
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type)
at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51
[FAIL] AddressBook.ABPersonPropertyId .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonPropertyId' threw an exception.
---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception.
---> System.EntryPointNotFoundException: ABAddressBookCreate
at AddressBook.InitConstants..cctor()
--- End of inner exception stack trace ---
at AddressBook.ABPersonPropertyId..cctor()
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type)
at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51
[FAIL] AddressBook.ABPersonAddressKey .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonAddressKey' threw an exception.
---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception.
---> System.EntryPointNotFoundException: ABAddressBookCreate
at AddressBook.InitConstants..cctor()
--- End of inner exception stack trace ---
at AddressBook.ABPersonAddressKey..cctor()
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type)
at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51
[FAIL] AddressBook.ABPersonDateLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonDateLabel' threw an exception.
---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception.
---> System.EntryPointNotFoundException: ABAddressBookCreate
at AddressBook.InitConstants..cctor()
--- End of inner exception stack trace ---
at AddressBook.ABPersonDateLabel..cctor()
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type)
at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51
[FAIL] AddressBook.ABPersonKindId .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonKindId' threw an exception.
---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception.
---> System.EntryPointNotFoundException: ABAddressBookCreate
at AddressBook.InitConstants..cctor()
--- End of inner exception stack trace ---
at AddressBook.ABPersonKindId..cctor()
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type)
at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51
[FAIL] AddressBook.ABPersonPhoneLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonPhoneLabel' threw an exception.
---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception.
---> System.EntryPointNotFoundException: ABAddressBookCreate
at AddressBook.InitConstants..cctor()
--- End of inner exception stack trace ---
at AddressBook.ABPersonPhoneLabel..cctor()
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type)
at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51
[FAIL] AddressBook.ABPersonInstantMessageService .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonInstantMessageService' threw an exception.
---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception.
---> System.EntryPointNotFoundException: ABAddressBookCreate
at AddressBook.InitConstants..cctor()
--- End of inner exception stack trace ---
at AddressBook.ABPersonInstantMessageService..cctor()
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type)
at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51
[FAIL] AddressBook.ABPersonInstantMessageKey .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonInstantMessageKey' threw an exception.
---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception.
---> System.EntryPointNotFoundException: ABAddressBookCreate
at AddressBook.InitConstants..cctor()
--- End of inner exception stack trace ---
at AddressBook.ABPersonInstantMessageKey..cctor()
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type)
at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51
[FAIL] AddressBook.ABPersonUrlLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonUrlLabel' threw an exception.
---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception.
---> System.EntryPointNotFoundException: ABAddressBookCreate
at AddressBook.InitConstants..cctor()
--- End of inner exception stack trace ---
at AddressBook.ABPersonUrlLabel..cctor()
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type)
at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51
[FAIL] AddressBook.ABPersonRelatedNamesLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonRelatedNamesLabel' threw an exception.
---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception.
---> System.EntryPointNotFoundException: ABAddressBookCreate
at AddressBook.InitConstants..cctor()
--- End of inner exception stack trace ---
at AddressBook.ABPersonRelatedNamesLabel..cctor()
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type)
at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51
[FAIL] AddressBook.ABLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABLabel' threw an exception.
---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception.
---> System.EntryPointNotFoundException: ABAddressBookCreate
at AddressBook.InitConstants..cctor()
--- End of inner exception stack trace ---
at AddressBook.ABLabel..cctor()
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type)
at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51
[FAIL] AddressBook.ABSourcePropertyId .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABSourcePropertyId' threw an exception.
---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception.
---> System.EntryPointNotFoundException: ABAddressBookCreate
at AddressBook.InitConstants..cctor()
--- End of inner exception stack trace ---
at AddressBook.ABSourcePropertyId..cctor()
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type)
💻 [PR Build] Tests on macOS M1 - Mac Ventura (13.0) passed 💻✅ All tests on macOS M1 - Mac Ventura (13.0) passed. Pipeline on Agent |
💻 [PR Build] Tests on macOS M1 - Mac Big Sur (11.5) passed 💻✅ All tests on macOS M1 - Mac Big Sur (11.5) passed. Pipeline on Agent |
💻 [CI Build] Windows Integration Tests passed 💻✅ All Windows Integration Tests passed. Pipeline on Agent |
✅ API diff for current PR / commitLegacy Xamarin (No breaking changes)
NET (empty diffs)
✅ API diff vs stableLegacy Xamarin (No breaking changes).NET (No breaking changes)✅ Generator diffGenerator diff is empty Pipeline on Agent |
🔥 [CI Build] Test results 🔥Test results❌ Tests failed on VSTS: simulator tests 1 tests crashed, 1 tests failed, 223 tests passed. Failures❌ bcl testsDetails
Html Report (VSDrops) Download ❌ mac_binding_project tests🔥 Failed catastrophically on VSTS: simulator tests - mac_binding_project (no summary found). Html Report (VSDrops) Download Successes✅ cecil: All 1 tests passed. Html Report (VSDrops) Download Pipeline on Agent |
🚀 [CI Build] Test results 🚀Test results✅ All tests passed on VSTS: simulator tests. 🎉 All 225 tests passed 🎉 Tests counts✅ bcl: All 69 tests passed. [attempt 2] Html Report (VSDrops) Download Pipeline on Agent |
|
/sudo backport release/7.0.2xx |
|
/sudo backport release/7.0.2xx-xcode14.3 |
|
/sudo backport release/7.0.3xx |
|
Backport Job to branch release/7.0.2xx Created! The magic is happening here |
|
/sudo backport xcode14.2 |
|
/sudo backport xcode14.3 |
|
Backport Job to branch release/7.0.2xx-xcode14.3 Created! The magic is happening here |
|
/sudo backport release/6.0.4xx-xcode14.2 |
|
Backport Job to branch release/7.0.3xx Created! The magic is happening here |
|
/sudo backport release/6.0.4xx-xcode14.3 |
|
Backport Job to branch xcode14.2 Created! The magic is happening here |
|
Backport Job to branch xcode14.3 Created! The magic is happening here |
|
Backport Job to branch release/6.0.4xx-xcode14.2 Created! The magic is happening here |
|
Backport Job to branch release/6.0.4xx-xcode14.3 Created! The magic is happening here |
|
Hooray! Backport succeeded! Please see https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=7664558 for more details. |
|
Hooray! Backport succeeded! Please see https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=7664557 for more details. |
|
Hooray! Backport succeeded! Please see https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=7664564 for more details. |
|
Hooray! Backport succeeded! Please see https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=7664563 for more details. |
|
Hooray! Backport succeeded! Please see https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=7664561 for more details. |
|
Hooray! Backport succeeded! Please see https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=7664569 for more details. |
|
Hooray! Backport succeeded! Please see https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=7664568 for more details. |
…mespace for Mac Catalyst when checking static cctors. (#18112) Fixes these test failures (which only happen on the bots): [FAIL] AddressBook.InitConstants .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABGroupProperty .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABGroupProperty' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABGroupProperty..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonPropertyId .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonPropertyId' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonPropertyId..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonAddressKey .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonAddressKey' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonAddressKey..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonDateLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonDateLabel' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonDateLabel..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonKindId .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonKindId' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonKindId..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonPhoneLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonPhoneLabel' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonPhoneLabel..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonInstantMessageService .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonInstantMessageService' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonInstantMessageService..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonInstantMessageKey .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonInstantMessageKey' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonInstantMessageKey..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonUrlLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonUrlLabel' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonUrlLabel..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonRelatedNamesLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonRelatedNamesLabel' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonRelatedNamesLabel..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABLabel' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABLabel..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABSourcePropertyId .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABSourcePropertyId' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABSourcePropertyId..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) Backport of #18088
…r Mac Catalyst when checking static cctors. (#18108) Fixes these test failures (which only happen on the bots): [FAIL] AddressBook.InitConstants .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABGroupProperty .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABGroupProperty' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABGroupProperty..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonPropertyId .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonPropertyId' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonPropertyId..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonAddressKey .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonAddressKey' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonAddressKey..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonDateLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonDateLabel' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonDateLabel..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonKindId .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonKindId' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonKindId..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonPhoneLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonPhoneLabel' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonPhoneLabel..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonInstantMessageService .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonInstantMessageService' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonInstantMessageService..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonInstantMessageKey .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonInstantMessageKey' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonInstantMessageKey..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonUrlLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonUrlLabel' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonUrlLabel..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonRelatedNamesLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonRelatedNamesLabel' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonRelatedNamesLabel..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABLabel' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABLabel..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABSourcePropertyId .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABSourcePropertyId' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABSourcePropertyId..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) Backport of #18088
…mespace for Mac Catalyst when checking static cctors. (#18107) Fixes these test failures (which only happen on the bots): [FAIL] AddressBook.InitConstants .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABGroupProperty .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABGroupProperty' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABGroupProperty..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonPropertyId .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonPropertyId' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonPropertyId..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonAddressKey .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonAddressKey' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonAddressKey..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonDateLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonDateLabel' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonDateLabel..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonKindId .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonKindId' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonKindId..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonPhoneLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonPhoneLabel' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonPhoneLabel..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonInstantMessageService .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonInstantMessageService' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonInstantMessageService..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonInstantMessageKey .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonInstantMessageKey' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonInstantMessageKey..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonUrlLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonUrlLabel' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonUrlLabel..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonRelatedNamesLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonRelatedNamesLabel' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonRelatedNamesLabel..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABLabel' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABLabel..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABSourcePropertyId .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABSourcePropertyId' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABSourcePropertyId..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) Backport of #18088
…r Mac Catalyst when checking static cctors. (#18111) Fixes these test failures (which only happen on the bots): [FAIL] AddressBook.InitConstants .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABGroupProperty .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABGroupProperty' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABGroupProperty..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonPropertyId .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonPropertyId' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonPropertyId..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonAddressKey .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonAddressKey' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonAddressKey..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonDateLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonDateLabel' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonDateLabel..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonKindId .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonKindId' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonKindId..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonPhoneLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonPhoneLabel' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonPhoneLabel..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonInstantMessageService .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonInstantMessageService' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonInstantMessageService..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonInstantMessageKey .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonInstantMessageKey' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonInstantMessageKey..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonUrlLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonUrlLabel' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonUrlLabel..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonRelatedNamesLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonRelatedNamesLabel' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonRelatedNamesLabel..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABLabel' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABLabel..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABSourcePropertyId .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABSourcePropertyId' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABSourcePropertyId..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) Backport of #18088
…Catalyst when checking static cctors. (#18109) Fixes these test failures (which only happen on the bots): [FAIL] AddressBook.InitConstants .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABGroupProperty .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABGroupProperty' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABGroupProperty..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonPropertyId .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonPropertyId' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonPropertyId..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonAddressKey .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonAddressKey' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonAddressKey..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonDateLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonDateLabel' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonDateLabel..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonKindId .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonKindId' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonKindId..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonPhoneLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonPhoneLabel' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonPhoneLabel..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonInstantMessageService .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonInstantMessageService' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonInstantMessageService..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonInstantMessageKey .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonInstantMessageKey' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonInstantMessageKey..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonUrlLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonUrlLabel' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonUrlLabel..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonRelatedNamesLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonRelatedNamesLabel' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonRelatedNamesLabel..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABLabel' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABLabel..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABSourcePropertyId .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABSourcePropertyId' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABSourcePropertyId..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) Backport of #18088
…Catalyst when checking static cctors. (#18110) Fixes these test failures (which only happen on the bots): [FAIL] AddressBook.InitConstants .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABGroupProperty .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABGroupProperty' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABGroupProperty..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonPropertyId .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonPropertyId' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonPropertyId..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonAddressKey .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonAddressKey' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonAddressKey..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonDateLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonDateLabel' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonDateLabel..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonKindId .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonKindId' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonKindId..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonPhoneLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonPhoneLabel' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonPhoneLabel..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonInstantMessageService .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonInstantMessageService' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonInstantMessageService..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonInstantMessageKey .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonInstantMessageKey' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonInstantMessageKey..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonUrlLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonUrlLabel' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonUrlLabel..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonRelatedNamesLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonRelatedNamesLabel' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonRelatedNamesLabel..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABLabel' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABLabel..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABSourcePropertyId .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABSourcePropertyId' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABSourcePropertyId..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) Backport of #18088
…mespace for Mac Catalyst when checking static cctors. (#18113) Fixes these test failures (which only happen on the bots): [FAIL] AddressBook.InitConstants .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABGroupProperty .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABGroupProperty' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABGroupProperty..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonPropertyId .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonPropertyId' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonPropertyId..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonAddressKey .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonAddressKey' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonAddressKey..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonDateLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonDateLabel' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonDateLabel..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonKindId .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonKindId' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonKindId..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonPhoneLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonPhoneLabel' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonPhoneLabel..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonInstantMessageService .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonInstantMessageService' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonInstantMessageService..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonInstantMessageKey .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonInstantMessageKey' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonInstantMessageKey..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonUrlLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonUrlLabel' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonUrlLabel..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABPersonRelatedNamesLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABPersonRelatedNamesLabel' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABPersonRelatedNamesLabel..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABLabel .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABLabel' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABLabel..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) at Introspection.ApiTypeTest.StaticCtor() in /Users/builder/azdo/_work/4/s/xamarin-macios/tests/introspection/ApiTypeTest.cs:line 51 [FAIL] AddressBook.ABSourcePropertyId .cctor could not execute properly: System.TypeInitializationException: The type initializer for 'AddressBook.ABSourcePropertyId' threw an exception. ---> System.TypeInitializationException: The type initializer for 'AddressBook.InitConstants' threw an exception. ---> System.EntryPointNotFoundException: ABAddressBookCreate at AddressBook.InitConstants..cctor() --- End of inner exception stack trace --- at AddressBook.ABSourcePropertyId..cctor() --- End of inner exception stack trace --- at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type) Backport of #18088
Fixes these test failures (which only happen on the bots):