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
//! # Property Table Module
//!
//! This module provides comprehensive access to the Property metadata table (ID 0x17),
//! which defines properties exposed by types in .NET assemblies. Properties represent
//! named attributes that can be accessed through getter and setter methods, forming
//! a fundamental part of the .NET object model.
//!
//! ## Table Purpose
//!
//! The Property table provides:
//! - **Property Definitions**: Names, signatures, and attributes for type properties
//! - **Method Association**: Links properties to their getter/setter methods via `MethodSemantics`
//! - **Type Binding**: Associates properties with their declaring types through `PropertyMap`
//! - **Reflection Support**: Enables property-based reflection and metadata queries
//!
//! ## Module Structure
//!
//! The module follows the standard dual-variant pattern for metadata tables:
//!
//! ### Raw Variant (`PropertyRaw`)
//! - Direct memory representation of table entries
//! - Contains unresolved heap indexes for names and signatures
//! - Minimal processing overhead during initial parsing
//! - Used for memory-efficient storage and initial metadata loading
//!
//! ### Owned Variant (`Property`)
//! - Fully processed and validated table entries
//! - Contains resolved property names and parsed type signatures
//! - Provides high-level access methods and validation
//! - Used for application logic and metadata analysis
//!
//! ## Property Attributes
//!
//! Properties can have various attributes that control their behavior:
//! - **`SpecialName`**: Property has special naming conventions
//! - **`RTSpecialName`**: Runtime should verify name encoding
//! - **`HasDefault`**: Property has a default value defined
//!
//! ## References
//!
//! - ECMA-335, Partition II, ยง22.34 - Property table specification
//! - [`crate::metadata::tables::PropertyMap`] - Property to type mapping
//! - [`crate::metadata::tables::MethodSemantics`] - Property method associations
//! - [`crate::metadata::signatures`] - Property signature parsing
use crateToken;
use SkipMap;
use Arc;
pub use *;
pub use *;
pub use *;
pub use *;
/// A concurrent map that holds Token to Property mappings.
///
/// This skip list-based map provides efficient concurrent access to loaded
/// Property entries indexed by their metadata tokens. Used by the loader
/// for storing and retrieving property entries.
pub type PropertyMap = ;
/// A thread-safe vector containing Property entries.
///
/// This concurrent vector provides sequential access to Property entries
/// while supporting safe concurrent iteration and access from multiple threads.
pub type PropertyList = ;
/// A reference-counted pointer to a Property entry.
///
/// This atomic reference-counted pointer enables safe sharing of Property
/// instances across threads while providing automatic memory management.
pub type PropertyRc = ;
/// Property attribute flags as defined in ECMA-335.
///
/// These constants define the various attributes that can be applied to properties
/// in .NET metadata, controlling their behavior and characteristics.