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
//! # `PropertyMap` Owned Implementation
//!
//! This module provides the owned variant of `PropertyMap` table entries with resolved
//! references and complete metadata context for application use.
use crate::;
/// Owned representation of a `PropertyMap` table entry with complete metadata context.
///
/// This structure represents a fully processed entry from the `PropertyMap` metadata table
/// (ID 0x15), which establishes the relationship between types and their properties.
/// It contains resolved type and property references, enabling efficient property
/// enumeration and type-property binding operations.
///
/// ## Purpose
///
/// The `PropertyMap` table serves as the foundation for type-property relationships:
/// - **Type-Property Binding**: Links types to their associated properties
/// - **Property Enumeration**: Enables discovery of all properties for a given type
/// - **Inheritance Support**: Facilitates property inheritance and override resolution
/// - **Reflection Foundation**: Supports property-based reflection and metadata queries
///
/// ## Owned vs Raw
///
/// This owned variant provides:
/// - Resolved parent type references from the type system
/// - Complete property collections with resolved property entries
/// - Validated property-type relationships and constraints
/// - Integration with the broader metadata resolution system
/// - High-level access methods for property enumeration
///
/// ## References
///
/// - ECMA-335, Partition II, ยง22.35 - `PropertyMap` table specification
/// - [`crate::metadata::tables::PropertyMapRaw`] - Raw variant for comparison
/// - [`crate::metadata::tables::Property`] - Property definitions
/// - [`crate::metadata::typesystem::CilTypeRef`] - Type reference details