Граф коммитов

29 Коммитов

Автор SHA1 Сообщение Дата
jfrijters 93f5247219 Added support for reading declarative security that refers to missing types (and query the named arguments blob with __GetBlob() for declarative security "attributes"). 2011-03-07 07:07:52 +00:00
jfrijters 68816bf709 Add support for returning pseudo-custom attributes based on missing types. 2011-03-06 08:16:41 +00:00
jfrijters 8e5b485863 Allow type names in CA blob to resolve to missing types. 2011-03-06 07:01:25 +00:00
jfrijters 5b3d64f3ee - Fixed CustomAttributeData.__GetBlob() to work for pseudo-custom attributes.
- Added CustomAttributeBuilder.__FromBlob() to avoid having to use two overloads of SetCustomAttribute when dealing with both builders and blobs.
2011-03-03 12:42:57 +00:00
jfrijters 13056a72c1 Fixed bug in __ToBuilder(). Array values should be unwrapped. 2011-03-03 08:15:34 +00:00
jfrijters 5525caee5f Added __GetBlob() API extension to allow custom attribute arguments to be parsed/used even when some of the argument types are missing. 2011-03-03 07:58:30 +00:00
jfrijters c16a29c301 Added support for resolving methods in missing types (primarily to enable CustomAttributeData.Constructor to work for missing attribute types). 2011-01-26 06:59:57 +00:00
jfrijters 52ab9d7f58 Added __IsMissing to Module and Assembly and make sure that __GetDeclarativeSecurity() when called with a MissingAssembly. 2011-01-13 15:44:28 +00:00
jfrijters f1d096354f Added comment explaining why we don't need to handle MethodDef in __TryReadTypeName(). 2011-01-12 13:59:00 +00:00
jfrijters a0a7cfe807 Always return unescaped names from __TryReadTypeName(). 2011-01-12 13:35:47 +00:00
jfrijters 87e866af58 Changed __ReadTypeName() to __TryReadTypeName() because it should fail when the type is a nested type (because the name of a nested type cannot be expressed by namespace + name). 2011-01-12 12:55:10 +00:00
jfrijters c0dfebfa18 On Marek's request changed __TypeName property to __ReadTypeName() to avoid creating new strings. 2010-12-09 13:30:25 +00:00
jfrijters 0c1f86a2cc Added CustomAttributeData.__TypeName property to allow the custom attribute type name to be queried without requiring the assembly containing the type to be present. 2010-12-09 07:32:15 +00:00
jfrijters 274d83e1ae Made CustomAttributeData more lazy (when all custom attributes are queried, regardless of type). 2010-12-09 07:16:28 +00:00
jfrijters 6395aaffb6 Use Universe.System_AttributeUsageAttribute instead of importing the type here. 2010-12-08 16:10:38 +00:00
jfrijters 68ddbc610b Declarative security attributes can use non-public constructors (if the attributes are defined in the same assembly as where they're used.) 2010-06-28 06:30:41 +00:00
jfrijters a39f990601 Rewrote __GetCustomAttributes(MemberInfo, ...) to be more sensible (and more efficient). 2010-05-20 09:42:24 +00:00
jfrijters a6c129ea68 Change IsInheritableAttribute() to use new (filtered) model. 2010-05-20 09:39:07 +00:00
jfrijters 3a9ec6abef Change __GetCustomAttributes(ParameterInfo) to new model. 2010-05-20 09:37:07 +00:00
jfrijters c08cca1a9a Added __GetCustomAttributes() overloads for Assembly and Module for ease of use and consistency. 2010-05-20 09:32:04 +00:00
jfrijters 118db6d049 Implemented custom attribute filtering at the source. Added support for custom attribute sub typing. 2010-05-20 09:25:30 +00:00
jfrijters 149a55d4dd Introduced Type.GetEnumUnderlyingTypeImpl() to avoid CheckBaked for our own usage. 2010-05-07 16:37:28 +00:00
jfrijters 7eb3a6e788 Allow blob decoding for unbaked attribute types. 2010-05-06 14:18:35 +00:00
jfrijters 1b42a3946a Workaround for broken compiler(s) that add terminating NUL to type names in custom attribute data. 2010-04-18 09:23:52 +00:00
jfrijters 9ef69e669c Fixed type name parsing bug (thanks to Jb Evain for reporting this). Generic type parameter type names can be without assembly name and then need to be resolved in context. 2010-04-18 09:21:54 +00:00
jfrijters 6a1ca8dae9 Introduced Empty<T> to cache zero length arrays. 2010-04-18 08:39:20 +00:00
jfrijters 1b40af728d Throw exception if the member cannot be resolved. 2010-02-25 10:36:45 +00:00
jfrijters 0b30be9d2c Removed UTF-8 byte order marks. 2010-01-25 05:49:01 +00:00
jfrijters 198c9d70ea New IKVM.Reflection implementation. 2010-01-25 05:29:31 +00:00