Skip to content

Allow single-method exclusions for main thread affinityΒ #230

@sharwell

Description

@sharwell

Some types which are generally restricted to the main thread have methods which can be called from other threads.

Examples:

  • Control.Invoke
  • Control.BeginInvoke
  • Control.InvokeRequired

Currently exclusions to the main thread requirement only apply to types, so these members can't be conditionally excluded.

πŸ“ It should be possible to exclude properties either by the property name or the name of the implementing method. This is helpful in situations where the getter can be called from any thread but the setter cannot.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions