[Mono-list] how to use 'Conversions.ToInteger' in mono?

Josh Hammond jhammond at external.fwmail.org
Sat Jun 21 08:17:02 EDT 2008


On Sat, June 21, 2008 1:55 pm, Rolf Bjarne Kvinge wrote:
>> >> Yes it is.
>> >> You need to install the mono-basic package.
>>

Ok, I'm compiling mono-basic now but that's what I get:

Error : VBNC99999: Unexpected error: Array index is out of range.
  at
System.Collections.Generic.Dictionary`2+Enumerator[System.String,vbnc.MemberCacheEntry].get_CurrentValue
() [0x00000]
  at
System.Collections.Generic.Dictionary`2+ValueCollection+Enumerator[System.String,vbnc.MemberCacheEntry].System.Collections.IEnumerator.Current
() [0x00000]
  at vbnc.MemberCache.FlattenWith (vbnc.MemberCache MemberCache) [0x00000]
  at vbnc.MemberCache.Flatten () [0x00000]
  at vbnc.MemberCache.Reload () [0x00000]
  at vbnc.MemberCache..ctor (vbnc.Compiler Compiler, System.Type Type)
[0x00000]
  at vbnc.MemberCache.GetBaseCache () [0x00000]
  at vbnc.MemberCache.Flatten () [0x00000]
  at vbnc.MemberCache.Reload () [0x00000]
  at vbnc.MemberCache..ctor (vbnc.Compiler Compiler, System.Type Type)
[0x00000]
  at vbnc.TypeManager.GetCache (System.Type Type) [0x00000]
  at vbnc.MemberAccessExpression.ResolveExpressionInternal
(vbnc.ResolveInfo Info) [0x00000]
  at vbnc.Expression.ResolveExpression (vbnc.ResolveInfo ResolveInfo)
[0x00000]
  at vbnc.InvocationOrIndexExpression.ResolveExpressionInternal
(vbnc.ResolveInfo Info) [0x00000]
  at vbnc.Expression.ResolveExpression (vbnc.ResolveInfo ResolveInfo)
[0x00000]
  at vbnc.BinaryExpression.ResolveExpressions (vbnc.ResolveInfo Info)
[0x00000]
  at vbnc.BinaryExpression.ResolveExpressionInternal (vbnc.ResolveInfo
Info) [0x00000]
  at vbnc.Expression.ResolveExpression (vbnc.ResolveInfo ResolveInfo)
[0x00000]
  at vbnc.BinaryExpression.ResolveExpressions (vbnc.ResolveInfo Info)
[0x00000]
  at vbnc.BinaryExpression.ResolveExpressionInternal (vbnc.ResolveInfo
Info) [0x00000]
  at vbnc.Expression.ResolveExpression (vbnc.ResolveInfo ResolveInfo)
[0x00000]
  at vbnc.IfStatement.ResolveStatement (vbnc.ResolveInfo Info) [0x00000]
  at vbnc.CodeBlock.ResolveCode (vbnc.ResolveInfo Info) [0x00000]
  at vbnc.IfStatement.ResolveStatement (vbnc.ResolveInfo Info) [0x00000]
  at vbnc.CodeBlock.ResolveCode (vbnc.ResolveInfo Info) [0x00000]
  at vbnc.MethodBaseDeclaration.ResolveCode (vbnc.ResolveInfo Info) [0x00000]
  at vbnc.MethodDeclaration.ResolveCode (vbnc.ResolveInfo Info) [0x00000]
  at vbnc.SubDeclaration.ResolveCode (vbnc.ResolveInfo Info) [0x00000]
  at vbnc.Helper.ResolveCodeCollection (IEnumerable Collection,
vbnc.ResolveInfo Info) [0x00000]
  at vbnc.BaseObjects`1[vbnc.IMember].ResolveCode (vbnc.ResolveInfo Info)
[0x00000]
  at vbnc.TypeDeclaration.ResolveCode (vbnc.ResolveInfo Info) [0x00000]
  at vbnc.ClassDeclaration.ResolveCode (vbnc.ResolveInfo Info) [0x00000]
  at vbnc.AssemblyDeclaration.ResolveCode (vbnc.ResolveInfo Info) [0x00000]
  at vbnc.Compiler.Compile_Resolve () [0x00000]
  at vbnc.Compiler.Compile () [0x00000]
Compilation took 00:00:11.1476740
make[3]: *** [../../class/lib/vbnc/Microsoft.VisualBasic.dll] Error 255
make[3]: Leaving directory
`/root/mono-basic-1.9/vbruntime/Microsoft.VisualBasic'
make[2]: *** [do-all] Error 2
make[2]: Leaving directory
`/root/mono-basic-1.9/vbruntime/Microsoft.VisualBasic'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/mono-basic-1.9/vbruntime'
make: *** [all-recursive] Error 1

Josh



More information about the Mono-list mailing list