1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
//! # Property Owned Implementation
//!
//! This module provides the owned variant of Property table entries with resolved
//! references and complete metadata context for application use.
use OnceLock;
use crate;
/// Owned representation of a Property table entry with complete metadata context.
///
/// This structure represents a fully processed entry from the Property metadata table
/// (ID 0x17), which defines properties exposed by types in .NET assemblies. It contains
/// resolved names, parsed signatures, and lazy-loaded associated methods and values.
///
/// ## Purpose
///
/// The Property table serves as the foundation for .NET property system:
/// - **Property Definition**: Defines property names, types, and characteristics
/// - **Method Association**: Links to getter, setter, and other associated methods
/// - **Type Integration**: Integrates properties into the type system through `PropertyMap`
/// - **Reflection Support**: Enables property-based reflection and metadata queries
///
/// ## Owned vs Raw
///
/// This owned variant provides:
/// - Resolved property names from the string heap
/// - Parsed property signatures with complete type information
/// - Lazy-loaded associated methods and default values
/// - Custom attribute resolution and accessibility
/// - Integration with the broader metadata resolution system
///
/// ## Property Methods
///
/// Properties can be associated with various methods:
/// - **Getter**: Method that retrieves the property value (`get_PropertyName`)
/// - **Setter**: Method that sets the property value (`set_PropertyName`)
/// - **Other**: Additional methods related to property functionality
///
/// ## References
///
/// - ECMA-335, Partition II, §22.34 - Property table specification
/// - [`crate::metadata::tables::PropertyRaw`] - Raw variant for comparison
/// - [`crate::metadata::tables::PropertyMap`] - Property to type mapping
/// - [`crate::metadata::signatures::SignatureProperty`] - Property signature details