projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #3224 from ludovic-henry/iolayer-extract-wait-handle
[mono.git]
/
mcs
/
class
/
corlib
/
System.Reflection
/
FieldInfo.cs
diff --git
a/mcs/class/corlib/System.Reflection/FieldInfo.cs
b/mcs/class/corlib/System.Reflection/FieldInfo.cs
index 06ea3e8e70cd8c01e2d8475819928bceb9bdd9ac..47021a3ffef65488a8f8281550a145b9d9186b2e 100644
(file)
--- a/
mcs/class/corlib/System.Reflection/FieldInfo.cs
+++ b/
mcs/class/corlib/System.Reflection/FieldInfo.cs
@@
-179,17
+179,15
@@
namespace System.Reflection {
}
[CLSCompliant(false)]
}
[CLSCompliant(false)]
- [MonoTODO("Not implemented")]
public virtual object GetValueDirect (TypedReference obj)
{
public virtual object GetValueDirect (TypedReference obj)
{
- throw new Not
ImplementedException (
);
+ throw new Not
SupportedException(Environment.GetResourceString("NotSupported_AbstractNonCLS")
);
}
[CLSCompliant(false)]
}
[CLSCompliant(false)]
- [MonoTODO("Not implemented")]
public virtual void SetValueDirect (TypedReference obj, object value)
{
public virtual void SetValueDirect (TypedReference obj, object value)
{
- throw new Not
ImplementedException (
);
+ throw new Not
SupportedException(Environment.GetResourceString("NotSupported_AbstractNonCLS")
);
}
[MethodImplAttribute(MethodImplOptions.InternalCall)]
}
[MethodImplAttribute(MethodImplOptions.InternalCall)]
@@
-247,7
+245,6
@@
namespace System.Reflection {
}
}
-#if NET_4_0
public override bool Equals (object obj)
{
return obj == (object) this;
public override bool Equals (object obj)
{
return obj == (object) this;
@@
-278,22
+275,21
@@
namespace System.Reflection {
public virtual bool IsSecurityCritical {
get {
public virtual bool IsSecurityCritical {
get {
- throw new Not
Implemen
tedException ();
+ throw new Not
Suppor
tedException ();
}
}
public virtual bool IsSecuritySafeCritical {
get {
}
}
public virtual bool IsSecuritySafeCritical {
get {
- throw new Not
Implemen
tedException ();
+ throw new Not
Suppor
tedException ();
}
}
public virtual bool IsSecurityTransparent {
get {
}
}
public virtual bool IsSecurityTransparent {
get {
- throw new Not
Implemen
tedException ();
+ throw new Not
Suppor
tedException ();
}
}
}
}
-#endif
#if !MOBILE
void _FieldInfo.GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId)
#if !MOBILE
void _FieldInfo.GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId)