Maxim Lipnin
b549fa7f32
[Reflection] Fix issue with finding types in module using an asterisk as filter criteria
2018-10-02 14:56:01 +02:00
Marek Safar
e58097e957
[corlib] String from reference sources, fixes mostly string.format issues
2015-03-25 15:08:06 +01:00
Marek Safar
09b16951bc
[corlib] UnitySerialization from reference sources
2015-02-13 14:45:46 +01:00
Zoltan Varga
c1b4366932
[bcl] Remove NET_4_5 defines from class libs.
2015-01-13 16:34:23 -05:00
Zoltan Varga
032f313d5f
[bcl] Remove NET_4_0 defines from class libs.
2015-01-13 16:06:31 -05:00
Martin Baulig
9ec4d6984f
Implement new .NET 4.5 Reflection APIs.
2013-03-12 18:07:53 -04:00
Marek Safar
6c083808ce
Use faster/smaller versions for some string comparisons
2013-03-02 18:56:31 +01:00
Rodrigo Kumpera
07a220c61c
Mobile should not have the COM types set.
2013-03-01 18:58:35 -05:00
Marek Safar
a157be7bcb
Fix Type and Module name filters to match
2013-02-27 22:58:32 +01:00
Rodrigo Kumpera
1b92a4148c
Since MOBILE implies NET_4_* now, take this into account and simplify our ifdefs.
2013-02-11 18:42:18 -05:00
Rodrigo Kumpera
b96d05dac3
Kill the MOONLIGHT define in corlib.
2013-02-11 16:03:28 -05:00
Marek Safar
7883a2dafd
Clean up some static initializers
2012-10-03 12:19:55 +01:00
Rodrigo Kumpera
83dccf8fe7
Add all missing sequential layout directives to corlib and system.
2011-12-13 11:57:23 -02:00
Geoff Norton
16d4fd790b
Further .NET 4.0 ification of the mobile profile
2011-01-25 20:10:54 -05:00
Rodrigo Kumpera
4f590cb41a
Fix operator != handling of LHS null
2011-01-05 00:15:18 +08:00
Marek Safar
1b0ef80b2f
API compatibility work
2010-11-08 19:29:49 +00:00
Marek Safar
894b26feca
Warnings cleanup
2010-10-15 15:20:25 +01:00
Paolo Molaro
65558878a4
Thu Jul 22 11:05:04 CEST 2010 Paolo Molaro <[email protected] >
...
* Module.cs: added == and != operators for 4.0.
svn path=/trunk/mcs/; revision=160714
2010-07-22 09:05:43 +00:00
Jb Evain
5b99e77cb2
2010-06-21 Jb Evain <[email protected] >
...
* MonoModule.cs
* Assembly.cs
* MonoAssembly.cs
* Module.cs:
Make Assembly and Module abstract on Moonlight too.
svn path=/trunk/mcs/; revision=159266
2010-06-21 13:25:24 +00:00
Rodrigo Kumpera
071e5f514a
2010-04-01 Rodrigo Kumpera <[email protected] >
...
* Module.cs (GetMethod): Check for null 'types' argument.
* MonoModule.cs (GetMethodImpl): Special case when 'types'
is null and call Type::GetMethod(string) directly.
This is ok since proper checking of the 'types' overload
is done by callers.
svn path=/trunk/mcs/; revision=154660
2010-04-01 17:37:27 +00:00
Jb Evain
97d029989f
2010-04-01 Jb Evain <[email protected] >
...
* Module.cs: make Module abstract on net_4_0.
svn path=/trunk/mcs/; revision=154630
2010-04-01 11:12:45 +00:00
Rodrigo Kumpera
4e0515fcb5
2010-03-31 Rodrigo Kumpera <[email protected] >
...
* Module.cs:
* MonoModule.cs: Implement MetadataToken, FullyQualifiedName,
ModuleVersionId, MDStreamVersion, ScopeName,
Name, Assembly.
svn path=/trunk/mcs/; revision=154595
2010-04-01 00:16:04 +00:00
Rodrigo Kumpera
fef7a3d59e
2010-03-31 Rodrigo Kumpera <[email protected] >
...
* Module.cs:
* MonoModule.cs: Implement GetSignerCertificate and
GetTypes.
svn path=/trunk/mcs/; revision=154594
2010-04-01 00:15:55 +00:00
Rodrigo Kumpera
0afbd38c63
2010-03-31 Rodrigo Kumpera <[email protected] >
...
* Module.cs:
* MonoModule.cs: Implement ResolveMember, ResolveMethod,
ResolveString, ResolveType, ResolveSignature and
GetMethods.
svn path=/trunk/mcs/; revision=154593
2010-04-01 00:15:47 +00:00
Rodrigo Kumpera
f8fe9c0525
2010-03-31 Rodrigo Kumpera <[email protected] >
...
* Module.cs:
* MonoModule.cs: Implement GetField, GetFields,
GetMethodImpl, GetPEKind, GetType, IsDefined and
ResolveField.
svn path=/trunk/mcs/; revision=154592
2010-04-01 00:15:38 +00:00
Rodrigo Kumpera
fb3890982c
2010-03-31 Rodrigo Kumpera <[email protected] >
...
* Module.cs:
* MonoModule.cs: Implement GetCustomAttributesData.
svn path=/trunk/mcs/; revision=154591
2010-04-01 00:15:30 +00:00
Rodrigo Kumpera
6237214a46
2010-03-31 Rodrigo Kumpera <[email protected] >
...
* Module.cs:
* MonoModule.cs: Implement GetCustomAttributes.
svn path=/trunk/mcs/; revision=154590
2010-04-01 00:15:21 +00:00
Rodrigo Kumpera
24ea18a2ac
2010-03-31 Rodrigo Kumpera <[email protected] >
...
* Module.cs:
* MonoModule.cs: Implement FindTypes.
svn path=/trunk/mcs/; revision=154589
2010-04-01 00:15:13 +00:00
Rodrigo Kumpera
04fc560729
2010-03-31 Rodrigo Kumpera <[email protected] >
...
* Module.cs: Make .ctor protected under v4.
* MonoModule.cs: Implement IsResource.
svn path=/trunk/mcs/; revision=154587
2010-04-01 00:14:56 +00:00
Rodrigo Kumpera
e6e8bed840
2010-03-30 Rodrigo Kumpera <[email protected] >
...
* Module.cs: Make it a partial class under !v4.
* MonoModule.cs: New type that exists only under
v4. Under v2 it is a part of Module.
This is the initial setup to make v4 Module an
abstract type where all methods raise exceptions.
svn path=/trunk/mcs/; revision=154586
2010-04-01 00:14:47 +00:00
Rodrigo Kumpera
c719591139
2010-02-11 Rodrigo Kumpera <[email protected] >
...
* MemberInfo.cs: Add GetCustomAttributesData.
* Assembly.cs:
* MemberInfo.cs:
* Module.cs:
* MonoEvent.cs:
* MonoField.cs:
* MonoMethod.cs:
* MonoProperty.cs:
* ParameterInfo.cs: Implement GetCustomAttributesData.
2010-02-11 Rodrigo Kumpera <[email protected] >
* MonoType.cs: Implement GetCustomAttributesData.
svn path=/trunk/mcs/; revision=151559
2010-02-11 22:55:43 +00:00
Jb Evain
8aed2fcb2d
NET_1_1 removal
...
svn path=/trunk/mcs/; revision=146812
2009-11-24 13:21:38 +00:00
Miguel de Icaza
3c39ac4586
Jumbo patch for NET_2_0, mscorlib is now clean
...
svn path=/trunk/mcs/; revision=145621
2009-11-06 22:23:59 +00:00
Miguel de Icaza
3400094d1a
System.Reflection's turn to be de-ifdefified
...
svn path=/trunk/mcs/; revision=145240
2009-11-03 01:20:56 +00:00
Sebastien Pouliot
fc523e8619
2009-09-18 Sebastien Pouliot <[email protected] >
...
* Assembly.cs, Module.cs: Avoid imperative CAS checks for NET_2_1
svn path=/trunk/mcs/; revision=142188
2009-09-18 14:58:28 +00:00
Sebastien Pouliot
708e9ef50c
minor NET_2_1 tweaks to remove 12 unneeded [SecuritySafeCritical] inside Moonlight 2
...
svn path=/trunk/mcs/; revision=133184
2009-04-30 14:03:27 +00:00
Jb Evain
8a37d27e93
in System.Reflection:
...
2008-02-21 Jb Evain <[email protected] >
* Module.cs: add a new virtual GetModuleVersionId method,
and make the properties .MvId and ModuleVersionId call it.
This way, we can override it in ModuleBuilder.
Part of the fix for #471302 .
in System.Reflection.Emit:
2008-02-21 Jb Evain <[email protected] >
* ModuleBuilder.cs: override GetModuleVersionId
so that we can get the module guid from Module.ModuleVersionId.
Part of the fix for #471302 .
svn path=/trunk/mcs/; revision=127631
2009-02-21 16:17:01 +00:00
Rodrigo Kumpera
3eb4b6e746
2008-11-11 Rodrigo Kumpera <[email protected] >
...
* Module.cs (ResolveMethod): Use internal method
GetMethodFromHandleNoGenericCheck to avoid the generic type
limitation of GetMethodFromHandle.
Fixes #443763 .
svn path=/trunk/mcs/; revision=118542
2008-11-11 20:14:53 +00:00
Marek Safar
159314e044
Warnings cleanup
...
svn path=/trunk/mcs/; revision=111730
2008-08-27 18:28:16 +00:00
Kornél Pál
7f233567b0
Implement Marshal.GetHINSTANCE.
...
svn path=/trunk/mcs/; revision=106185
2008-06-19 07:29:53 +00:00
Zoltan Varga
cf37916ae0
2008-01-17 Zoltan Varga <[email protected] >
...
* Assembly.cs AssemblyFlagsAttribute.cs ICustomAttributeProvider.cs
MemberInfo.cs FieldInfo.cs DefaultMemberAttribute.cs
CustomAttributeNamedArgument.cs TargetException.cs MethodInfo.cs
IReflect.cs CustomAttributeTypedArgument.cs Module.cs: Change some parameter
names to match MS.
svn path=/trunk/mcs/; revision=93188
2008-01-17 19:22:02 +00:00
Zoltan Varga
43a539903b
2007-07-15 Zoltan Varga <[email protected] >
...
* Module.cs: Implement ResolveSignature.
svn path=/trunk/mcs/; revision=82008
2007-07-15 14:18:42 +00:00
Zoltan Varga
d61b566152
2007-07-14 Zoltan Varga <[email protected] >
...
* Module.cs: Implement the generic versions of the ResolveXXX methods.
svn path=/trunk/mcs/; revision=81989
2007-07-14 20:32:19 +00:00
Zoltan Varga
970c5c4f50
2007-07-10 Zoltan Varga <[email protected] >
...
* Module.cs: Add new internal method GetMDStreamVersion ().
svn path=/trunk/mcs/; revision=81635
2007-07-09 13:00:52 +00:00
Atsushi Eno
5fe6a5b42d
2007-07-04 Atsushi Enomoto <[email protected] >
...
* Type.cs : 2.0 TypeHandle and ContainsGenericParameters are virtual
(required fix for 2.0 reflection API fixes).
* CustomAttributeNamedArgument.cs CustomAttributeTypedArgument.cs
CustomAttributeData.cs : implemented Equals() and GetHashCode().
* Missing.cs : ISerializable.
* AssemblyName.cs : ReferenceMatchesDefinition() stub.
* Module.cs : missing method stubs with generic type/method args.
* ExceptionHandlingClause.cs : ToString() stub.
* MethodBase.cs TypeDelegator.cs ModuleResolveEventHandler.cs
TypeFilter.cs MemberFilter.cs
FieldInfo.cs ParameterInfo.cs MethodInfo.cs DynamicMethod.cs :
miscellaneous cosmetic API fixes.
svn path=/trunk/mcs/; revision=81311
2007-07-04 02:19:18 +00:00
Zoltan Varga
983af261fd
2006-05-10 Zoltan Varga <[email protected] >
...
* Module.cs (GetMethod): Update after the changes to Type.GetMethod ().
svn path=/trunk/mcs/; revision=60535
2006-05-10 17:53:39 +00:00
Zoltan Varga
b538e1bc6d
2005-11-15 Zoltan Varga <[email protected] >
...
* Module.cs: Add MDStreamVersion property.
svn path=/trunk/mcs/; revision=53060
2005-11-15 14:48:08 +00:00
Zoltan Varga
c3476cd513
2005-11-15 Zoltan Varga <[email protected] >
...
* Assembly.cs AssemblyNameFlags.cs FieldInfo.cs PropertyInfo.cs
CustomAttributeData.cs PortableExecutableKinds.cs
ObfuscateAssemblyAttribute.cs Module.cs ObfuscationAttribute.cs: Net 2.0 RTM
updates.
svn path=/trunk/mcs/; revision=53055
2005-11-15 14:06:42 +00:00
Zoltan Varga
4d9aa079f7
2005-09-17 Zoltan Varga <[email protected] >
...
* Module.cs: Remove obsolete Mvid property.
svn path=/trunk/mcs/; revision=50186
2005-09-17 20:58:32 +00:00
Sebastien Pouliot
571bd38886
2005-06-15 Sebastien Pouliot <[email protected] >
...
* Assembly.cs, AssemblyName.cs, ConstructorInfo.cs, EventInfo.cs,
FieldInfo.cs, MemberInfo.cs, MethodBase.cs, MethodInfo.cs, Module.cs,
ParameterInfo.cs, PropertyInfo.cs: Added some missing interfaces and
attributes that were added in 1.1 SP1 or 2.0 beta2.
svn path=/trunk/mcs/; revision=46031
2005-06-15 10:45:00 +00:00