UnsafeAccessorKind Enum
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the kind of target to which an UnsafeAccessorAttribute is providing access.
public enum class UnsafeAccessorKind
C#
public enum UnsafeAccessorKind
type UnsafeAccessorKind =
Public Enum UnsafeAccessorKind
- Inheritance
Name | Value | Description |
---|---|---|
Constructor | 0 | Provide access to a constructor. |
Method | 1 | Provide access to a method. |
StaticMethod | 2 | Provide access to a static method. |
Field | 3 | Provide access to a field. |
StaticField | 4 | Provide access to a static field. |
Product | Versions |
---|---|
.NET | 8, 9, 10 |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
.NET is an open source project. Select a link to provide feedback: