[Mono-bugs] [Bug 671111] Can't override CALayer:NeedsDisplayForKey as it is marked static

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Feb 10 17:37:33 EST 2011



Geoff Norton <gnorton at novell.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |gnorton at novell.com
         Resolution|                            |INVALID

--- Comment #1 from Geoff Norton <gnorton at novell.com> 2011-02-10 22:37:32 UTC ---
NeedsDisplayForKey is supposed to be static:

+ (BOOL)needsDisplayForKey:(NSString *)key

Since C# doesn't support overriding static, you need to implement this by hand:

[Export ("needsDisplayForKey:")]
static bool NeedsDisplayForKey (NSString key);

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list