Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9182127
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T18:29:13+00:00 2026-06-17T18:29:13+00:00

Using mono 2.10.9 and monomac, I have written a c# class inheriting NSObject used

  • 0

Using mono 2.10.9 and monomac, I have written a c# class inheriting NSObject used for Cocoa-binding from Xcode. If my class includes a property using a nullable value like this:

[Export]
public bool? IsRegistered  { get; set; }

my application crashes the ugly way during startup (see crash report below). The main window hasn’t even been displayed yet. As soon as I change the bool? to bool, everything works fine, but I actually would like to use bool?. Any suggestions?

Crash report:

Process:         SQAT [44677]
Path:            /Users/USER/*/SQAT.app/Contents/MacOS/SQAT
Identifier:      SQAT
Version:         4 (1)
Code Type:       X86 (Native)
Parent Process:  launchd [136]

Date/Time:       2013-01-23 15:31:51.540 +0100
OS Version:      Mac OS X 10.7.5 (11G63)
Report Version:  9

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
objc[44677]: garbage collection is OFF
abort() called

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib          0x95da69c6 __pthread_kill + 10
1   libsystem_c.dylib               0x90dc0f78 pthread_kill + 106
2   libsystem_c.dylib               0x90db1bdd abort + 167
3   libmono-2.0.dylib               0x0029eefd mono_handle_native_sigsegv + 685
4   libsystem_c.dylib               0x90e1659b _sigtramp + 43
5   ???                             0xffffffff 0 + 4294967295
6   libmono-2.0.dylib               0x002ed970 mono_runtime_posix_install_handlers + 288
7   libsystem_c.dylib               0x90db1bdd abort + 167
8   libmono-2.0.dylib               0x003ff47f monoeg_g_logv + 159
9   libmono-2.0.dylib               0x003ff4ab monoeg_assertion_message + 43
10  libmono-2.0.dylib               0x0035a4ee mono_marshal_emit_managed_wrapper + 782
11  libmono-2.0.dylib               0x0035ae50 mono_marshal_get_managed_wrapper + 752
12  libmono-2.0.dylib               0x0035b2a2 mono_delegate_to_ftnptr + 146
13  ???                             0x011bf4be 0 + 18609342
14  ???                             0x011bf45c 0 + 18609244
15  ???                             0x01203350 0 + 18887504
16  ???                             0x01203148 0 + 18886984
17  ???                             0x013340fc 0 + 20136188
18  ???                             0x011c10a8 0 + 18616488
19  ???                             0x011c090c 0 + 18614540
20  ???                             0x01205cd8 0 + 18898136
21  ???                             0x0092bfe0 0 + 9617376
22  ???                             0x0092b6dc 0 + 9615068
23  ???                             0x0092bdde 0 + 9616862
24  libmono-2.0.dylib               0x0020dca4 mono_jit_runtime_invoke + 164
25  libmono-2.0.dylib               0x003832e4 mono_runtime_invoke + 68
26  libmono-2.0.dylib               0x003893ae mono_runtime_exec_main + 238
27  libmono-2.0.dylib               0x002735fd mono_main + 6797
28  SQAT                            0x000394bf main + 3135
29  SQAT                            0x00038875 start + 53
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T18:29:14+00:00Added an answer on June 17, 2026 at 6:29 pm

    There is no direct equivalent to bool? in ObjectiveC, so currently it is not possible to export such a property.

    Exactly how are you trying to use this property from ObjectiveC?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a program written in C#, running on Linux using Mono. The program
I've mainly been using Mono for Android via Visual Studio, but have switched over
I'm using Mono.Cecil from an MSBuild task, and I've encountered a problem with the
Is it possible to utilize MVC 2 from MonoDevelop 2.2 (using Mono 2.4)? If
I am using Mono/C# on Linux and have the following C# code: [DllImport(libaiousb)] extern
I am currently using Mono Cecil to extract data from C# projects. Now I
I developed my app using Mono for Android. I have the latest version 4.0.3.
How can I capture a frame from a video-4-linux device (e.g.: /dev/video0) using Mono
Using Mono.Cecil I want to rewrite the following property: public string FirstName { get
I am using Mono, SQLite, Dapper & Dapper Extensions. I can read from the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.