You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.
/Users/rolf/test/test.vb (8,25) : error VBNC99999: Internal compiler error close to this location
vbnc : Command line : error VBNC99999: Unexpected error: Index must be within the bounds of the List.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException (ExceptionArgument argument, ExceptionResource resource) [0x00000] in /private/tmp/source-mono-mac-4.2.0-branch/bockbuild-mono-4.2.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.2.1/external/referencesource/mscorlib/system/throwhelper.cs:90
at System.Collections.Generic.List`1[T].Insert (Int32 index, System.Collections.Generic.T item) <0x18d7030 + 0x00034> in <filename unknown>:0
at vbnc.CodeBlock.AddStatementBefore (vbnc.Statement Statement, vbnc.Statement Before) [0x00000] in /private/tmp/source-mono-mac-4.2.0-branch/bockbuild-mono-4.2.0-branch/profiles/mono-mac-xamarin/build-root/mono-mono-basic-b8011b2/vbnc/vbnc/source/Code/CodeBlock.vb:142
at vbnc.ArgumentList.VerifyArguments (Mono.Collections.Generic.Collection`1 parameters, Boolean ShowErrors) [0x00520] in /private/tmp/source-mono-mac-4.2.0-branch/bockbuild-mono-4.2.0-branch/profiles/mono-mac-xamarin/build-root/mono-mono-basic-b8011b2/vbnc/vbnc/source/Expressions/ArgumentList.vb:163
at vbnc.ArgumentList.VerifyArguments (Mono.Cecil.MethodReference Method, Boolean ShowErrors) [0x00000] in /private/tmp/source-mono-mac-4.2.0-branch/bockbuild-mono-4.2.0-branch/profiles/mono-mac-xamarin/build-root/mono-mono-basic-b8011b2/vbnc/vbnc/source/Expressions/ArgumentList.vb:91
at vbnc.ArgumentList.ReplaceAndVerifyArguments (vbnc.ArgumentList NewArguments, Mono.Cecil.MethodReference Method, Boolean ShowErrors) [0x0000e] in /private/tmp/source-mono-mac-4.2.0-branch/bockbuild-mono-4.2.0-branch/profiles/mono-mac-xamarin/build-root/mono-mono-basic-b8011b2/vbnc/vbnc/source/Expressions/ArgumentList.vb:72
at vbnc.MethodGroupClassification.VerifyGroup (vbnc.ArgumentList Arguments, Boolean ShowErrors) [0x00015] in /private/tmp/source-mono-mac-4.2.0-branch/bockbuild-mono-4.2.0-branch/profiles/mono-mac-xamarin/build-root/mono-mono-basic-b8011b2/vbnc/vbnc/source/Expressions/Classifications/MethodGroupClassification.vb:374
at vbnc.InvocationOrIndexExpression.ResolveMethodInvocation () [0x0015a] in /private/tmp/source-mono-mac-4.2.0-branch/bockbuild-mono-4.2.0-branch/profiles/mono-mac-xamarin/build-root/mono-mono-basic-b8011b2/vbnc/vbnc/source/Expressions/InvocationOrIndexExpression.vb:516
at vbnc.InvocationOrIndexExpression.ResolveExpressionInternal (vbnc.ResolveInfo Info) [0x00368] in /private/tmp/source-mono-mac-4.2.0-branch/bockbuild-mono-4.2.0-branch/profiles/mono-mac-xamarin/build-root/mono-mono-basic-b8011b2/vbnc/vbnc/source/Expressions/InvocationOrIndexExpression.vb:238
at vbnc.Expression.ResolveExpression (vbnc.ResolveInfo ResolveInfo) [0x00011] in /private/tmp/source-mono-mac-4.2.0-branch/bockbuild-mono-4.2.0-branch/profiles/mono-mac-xamarin/build-root/mono-mono-basic-b8011b2/vbnc/vbnc/source/Expressions/Expression.vb:221
Compilation took 00:00:00.5606970
Submitted by Rolf Bjarne Kvinge [MSFT] on 2016-01-08 12:10 UTC
Code:
Results in:
Setting option strict on results in:
Reference: https://bugzilla.xamarin.com/show_bug.cgi?id=37518
The text was updated successfully, but these errors were encountered: