File: NOTES.txt

package info (click to toggle)
cecil 0.9.5%2Bdfsg-5.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 2,192 kB
  • sloc: cs: 31,253; makefile: 22
file content (189 lines) | stat: -rw-r--r-- 3,797 bytes parent folder | download | duplicates (20)
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
namespaces:

	Mono.Cecil.Binary: deleted,
	Mono.Cecil.Metadata: metadata table/rows: deleted.

collections:

	* Cecil now only exposes Collection of T as a public collection API.

types:

Mono.Cecil

	- AssemblyFactory:
		Use static Read methods on ModuleDefinition and AssemblyDefinition
		to get them.

	+ ReadingMode:
		specifies if the assembly is either loaded in a deffered
		or immediate fashion.

	+ ReaderParameters
		+ ReadingMode
		+ ISymbolReaderProvider

	+ WriterParameters
		+ ISymbolWriterProvider

	* AssemblyDefinition:

			* Runtime, Kind: moved to ModuleDefiniton

	* ModuleDefinition:

		properties:

			- Image
			- MemberReferences
			- TypeReferences
			- ExternTypes

			* Main -> IsMain. (set removed) : bool
			+ FullyQualifiedName : string
			+ Kind : ModuleKind
			+ Runtime : TargetRuntime
			+ Architecture : TargetArchitecture
			+ Attributes : ModuleAttributes
			+ HasSymbols : bool
			+ HasExportedTypes : bool
			+ ExportedTypes : ExportedTypeCollection

			* Types: doesn't contain NestedTypes anymore.

	- AssemblyKind:
		renamed to ModuleKind.

	+ ModuleKind:
		+ NetModule

	+ TargetArchitecture:
		+ I386
		+ AMD64
		+ IA64

	+ ModuleAttributes:
		+ ILOnly
		+ Required32Bit
		+ StrongNameSigned

	* FieldDefinition:

		* RVA : int

	* IMethodSignature:
		* ReturnType : TypeReference
		+ MethodReturnType : MethodReturnType

	* TypeDefinition:
		- HasConstructors
		- Constructors
		* ctor: swapped namespace and name parameter.

	* ParameterDefinition:
		* Method : IMethodSignature
		* Sequence -> Index : int (0 based instead of 1)

	* ArrayType:
		* IsSizedArray -> IsVector : bool

	* IHasConstant -> IConstantProvider
	* IHasSecurity -> ISecurityDeclarationProvider
	* IHasMarshal -> IMarshalInfoProvider

	* MemberReference
		+ Module : ModuleDefinition

	* MethodDefinition:
		- This: moved to MethodBody
		+ HasPInvokeInfo : bool

	* PInvokeInfo:
		- Method

	* MarshalSpec -> MarshalInfo

	- ModType

	* ModifierRequiredType -> RequiredModifierType
	* ModifierOptionalType -> OptionalModifierType
	* ReferenceType -> ByReferenceType

	* TypeReference
		+ IsArray : bool
		+ IsPointer : bool
		+ IsByReference : bool
		+ IsRequiredModifier : bool
		+ IsOptionalModifier : bool
		+ IsSentinel : bool
		+ IsGenericInstance : bool
		+ IsGenericParameter : bool
		+ IsPinned : bool
		+ IsFunctionPointer : bool
		+ IsDefinition : bool

		* GetOriginalType -> GetElementType
		* ctor: swapped namespace and name parameter.

	* MethodReference
		+ IsGenericInstance : bool
		+ IsDefinition : bool

		* GetOriginalMethod -> GetElementMethod

	* FieldReference
		+ IsDefinition : bool

	+ CustomAttributeArgument
		+ Type : TypeReference
		+ Value : object

	* CustomAttribute
		* ConstructorParameters -> ConstructorArguments : CustomAttributeArgumentCollection
		* Properties : CustomAttributeNamedArgumentCollection
		* Fields : CustomAttributeNamedArgumentCollection

	* SecurityDeclaration
		- PermissionSet
		+ SecurityAttributes : SecurityAttributeCollection

	+ SecurityAttribute
		+ AttributeType : TypeReference
		+ Fields : CustomAttributeNamedArgumentCollection
		+ Properties : CustomAttributeNamedArgumentCollection

	* IMetadataScope
		+ MetadataScopeType

	+ MetadataScopeType
		+ AssemblyNameReference
		+ ModuleDefinition
		+ ModuleReference

Mono.Cecil.Cil:

	* ExceptionHandler
		* Type -> HandlerType : TypeReference

	* VariableDefinition
		- Method

	* Document* : from Guid to enums, the reader/writers are responsible for assigning them.

	* MethodBody
		* LocalVarToken : MetadataToken
		* MaxStack -> MaxStackSize : int
		+ ThisParameter: from MethodDefinition

	* OperandType
		* ShortInlineParam : ShortInlineArg
		* InlineParam : InlineArg

	* CilWorker -> ILProcessor

TODO:

	* Mono.Cecil.Rocks
		* ILGenerator

	* HOWTOs