[Mono-bugs] [Bug 639407] New: csharp still doesn't properly support "dynamic"

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Sep 14 19:48:08 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=639407

https://bugzilla.novell.com/show_bug.cgi?id=639407#c0


           Summary: csharp still doesn't properly support "dynamic"
    Classification: Mono
           Product: Mono: Tools
           Version: 2.8.x
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: tools
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: ajorgensen at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


At 0d7b33cb of mono-2-8:
csharp> dynamic y = 5;
csharp> Console.WriteLine(y); 
System.ArgumentException: An element with the same key already exists in the
dictionary.
  at
System.Collections.Generic.Dictionary`2[System.String,Mono.CSharp.Namespace].Add
(System.String key, Mono.CSharp.Namespace value) [0x00000] in <filename
unknown>:0 
  at Mono.CSharp.RootNamespace.RegisterNamespace (Mono.CSharp.Namespace child)
[0x00000] in <filename unknown>:0 
  at Mono.CSharp.Namespace..ctor (Mono.CSharp.Namespace parent, System.String
name) [0x00000] in <filename unknown>:0 
  at Mono.CSharp.Namespace.GetNamespace (System.String name, Boolean create)
[0x00000] in <filename unknown>:0 
  at Mono.CSharp.ReflectionMetaImporter.ImportAssembly
(System.Reflection.Assembly assembly, Mono.CSharp.Namespace targetNamespace)
[0x00000] in <filename unknown>:0 
  at Microsoft.CSharp.RuntimeBinder.DynamicContext.Create () [0x00000] in
<filename unknown>:0 
  at
Microsoft.CSharp.RuntimeBinder.CSharpInvokeMemberBinder.FallbackInvokeMember
(System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[]
args, System.Dynamic.DynamicMetaObject errorSuggestion) [0x00000] in <filename
unknown>:0 
  at System.Dynamic.InvokeMemberBinder.FallbackInvokeMember
(System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[]
args) [0x00000] in <filename unknown>:0 
  at System.Dynamic.DynamicMetaObject.BindInvokeMember
(System.Dynamic.InvokeMemberBinder binder, System.Dynamic.DynamicMetaObject[]
args) [0x00000] in <filename unknown>:0 
  at System.Dynamic.InvokeMemberBinder.Bind (System.Dynamic.DynamicMetaObject
target, System.Dynamic.DynamicMetaObject[] args) [0x00000] in <filename
unknown>:0 
  at System.Dynamic.DynamicMetaObjectBinder.Bind (System.Object[] args,
System.Collections.ObjectModel.ReadOnlyCollection`1 parameters,
System.Linq.Expressions.LabelTarget returnLabel) [0x00000] in <filename
unknown>:0 
  at System.Runtime.CompilerServices.CallSiteBinder.BindCore[Func`4]
(System.Runtime.CompilerServices.CallSite`1 site, System.Object[] args)
[0x00000] in <filename unknown>:0 
  at System.Dynamic.UpdateDelegates.UpdateAndExecute2[Type,Object,Object]
(System.Runtime.CompilerServices.CallSite site, System.Type arg0, System.Object
arg1) [0x00000] in <filename unknown>:0 
  at Class9.Host (System.Object& $retval) [0x00000] in <filename unknown>:0 
  at Mono.CSharp.Evaluator.Evaluate (System.String input, System.Object&
result, System.Boolean& result_set) [0x00000] in <filename unknown>:0 
  at Mono.CSharpShell.Evaluate (System.String input) [0x00000] in <filename
unknown>:0

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list