mail-archives/mono-bugs/2009-November/094684.html

541 строка
8.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 552912] New: Cannot access memory at address 0x4c from MakeByRefType
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20552912%5D%20New%3A%20Cannot%20access%20memory%20at%20address%200x4c%0A%20from%20MakeByRefType&In-Reply-To=">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="094824.html">
<LINK REL="Next" HREF="094685.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 552912] New: Cannot access memory at address 0x4c from MakeByRefType</H1>
<B>bugzilla_noreply at novell.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20552912%5D%20New%3A%20Cannot%20access%20memory%20at%20address%200x4c%0A%20from%20MakeByRefType&In-Reply-To="
TITLE="[Mono-bugs] [Bug 552912] New: Cannot access memory at address 0x4c from MakeByRefType">bugzilla_noreply at novell.com
</A><BR>
<I>Thu Nov 5 11:35:51 EST 2009</I>
<P><UL>
<LI>Previous message: <A HREF="094824.html">[Mono-bugs] [Bug 552891] Mono can't deserialize Nullable objects created by .NET (BinaryFormatter)
</A></li>
<LI>Next message: <A HREF="094685.html">[Mono-bugs] [Bug 552917] New: SDB should make System.Diagnostics.Debugger.IsAttached == true
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#94684">[ date ]</a>
<a href="thread.html#94684">[ thread ]</a>
<a href="subject.html#94684">[ subject ]</a>
<a href="author.html#94684">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE><A HREF="http://bugzilla.novell.com/show_bug.cgi?id=552912">http://bugzilla.novell.com/show_bug.cgi?id=552912</A>
Summary: Cannot access memory at address 0x4c from
MakeByRefType
Classification: Mono
Product: Mono: Runtime
Version: unspecified
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: misc
AssignedTo: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">msafar at novell.com</A>
QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
Found By: ---
Compile &amp; Run
using System;
using System.Reflection;
using System.Collections.Generic;
class DynamicType : Type
{
public override Assembly Assembly {
get { return UnderlyingSystemType.Assembly; }
}
public override string AssemblyQualifiedName {
get { throw new NotImplementedException (); }
}
public override Type BaseType {
get { return null; }
}
public override string FullName {
get { return UnderlyingSystemType.FullName; }
}
public override Guid GUID {
get { throw new NotImplementedException (); }
}
protected override TypeAttributes GetAttributeFlagsImpl ()
{
return UnderlyingSystemType.Attributes;
}
protected override ConstructorInfo GetConstructorImpl (BindingFlags
bindingAttr, Binder binder, CallingConventions callConvention, Type[] types,
ParameterModifier[] modifiers)
{
throw new NotImplementedException ();
}
public override ConstructorInfo[] GetConstructors (BindingFlags
bindingAttr)
{
throw new NotImplementedException ();
}
public override Type GetElementType ()
{
throw new NotImplementedException ();
}
public override EventInfo GetEvent (string name, BindingFlags
bindingAttr)
{
throw new NotImplementedException ();
}
public override EventInfo[] GetEvents (BindingFlags bindingAttr)
{
throw new NotImplementedException ();
}
public override FieldInfo GetField (string name, BindingFlags
bindingAttr)
{
throw new NotImplementedException ();
}
public override FieldInfo[] GetFields (BindingFlags bindingAttr)
{
throw new NotImplementedException ();
}
public override Type GetInterface (string name, bool ignoreCase)
{
throw new NotImplementedException ();
}
public override Type[] GetInterfaces ()
{
return Type.EmptyTypes;
}
public override MemberInfo[] GetMembers (BindingFlags bindingAttr)
{
throw new NotImplementedException ();
}
protected override MethodInfo GetMethodImpl (string name, BindingFlags
bindingAttr, Binder binder, CallingConventions callConvention, Type[] types,
ParameterModifier[] modifiers)
{
throw new NotImplementedException ();
}
public override MethodInfo[] GetMethods (BindingFlags bindingAttr)
{
throw new NotImplementedException ();
}
public override Type GetNestedType (string name, BindingFlags
bindingAttr)
{
throw new NotImplementedException ();
}
public override Type[] GetNestedTypes (BindingFlags bindingAttr)
{
throw new NotImplementedException ();
}
public override PropertyInfo[] GetProperties (BindingFlags bindingAttr)
{
throw new NotImplementedException ();
}
protected override PropertyInfo GetPropertyImpl (string name,
BindingFlags bindingAttr, Binder binder, Type returnType, Type[] types,
ParameterModifier[] modifiers)
{
throw new NotImplementedException ();
}
protected override bool HasElementTypeImpl ()
{
throw new NotImplementedException ();
}
public override object InvokeMember (string name, BindingFlags
invokeAttr, Binder binder, object target, object[] args, ParameterModifier[]
modifiers, System.Globalization.CultureInfo culture, string[] namedParameters)
{
throw new NotImplementedException ();
}
protected override bool IsArrayImpl ()
{
return false;
}
protected override bool IsByRefImpl ()
{
return false;
}
protected override bool IsCOMObjectImpl ()
{
return false;
}
protected override bool IsPointerImpl ()
{
return false;
}
protected override bool IsPrimitiveImpl ()
{
return false;
}
public override Module Module {
get { return UnderlyingSystemType.Module; }
}
public override string Namespace {
get { throw new NotImplementedException (); }
}
public override Type UnderlyingSystemType {
get { return typeof (object); }
}
public override object[] GetCustomAttributes (Type attributeType, bool
inherit)
{
return new object [0];
}
public override object[] GetCustomAttributes (bool inherit)
{
return new object [0];
}
public override bool IsDefined (Type attributeType, bool inherit)
{
throw new NotImplementedException ();
}
public override string Name {
get { return UnderlyingSystemType.Name; }
}
public override string ToString ()
{
return UnderlyingSystemType.ToString ();
}
public override RuntimeTypeHandle TypeHandle {
get { return UnderlyingSystemType.TypeHandle; }
}
}
class C
{
public static void Main ()
{
var t = new DynamicType();
t.MakeByRefType ();
}
}
--
Configure bugmail: <A HREF="http://bugzilla.novell.com/userprefs.cgi?tab=email">http://bugzilla.novell.com/userprefs.cgi?tab=email</A>
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="094824.html">[Mono-bugs] [Bug 552891] Mono can't deserialize Nullable objects created by .NET (BinaryFormatter)
</A></li>
<LI>Next message: <A HREF="094685.html">[Mono-bugs] [Bug 552917] New: SDB should make System.Diagnostics.Debugger.IsAttached == true
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#94684">[ date ]</a>
<a href="thread.html#94684">[ thread ]</a>
<a href="subject.html#94684">[ subject ]</a>
<a href="author.html#94684">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
mailing list</a><br>
</body></html>