Bug 37517 - VBNC99999: Unexpected error: The method or operation is not implemented.
Summary: VBNC99999: Unexpected error: The method or operation is not implemented.
Status: RESOLVED UPSTREAM
Alias: None
Product: Compilers
Classification: Mono
Component: VisualBasic ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Rolf Bjarne Kvinge [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2016-01-08 11:53 UTC by Rolf Bjarne Kvinge [MSFT]
Modified: 2018-05-22 12:30 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
test.vb (136 bytes, text/plain)
2016-01-08 11:54 UTC, Rolf Bjarne Kvinge [MSFT]
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED UPSTREAM

Description Rolf Bjarne Kvinge [MSFT] 2016-01-08 11:53:59 UTC
Attached code results in:

/Users/rolf/test/test.vb (3,7) : warning VBNC42024: Function without an 'As' clause; Object return type assumed.
vbnc : Command line : error VBNC99999: Unexpected error: The method or operation is not implemented.
  at vbnc.CecilHelper.GetCorrectMember (Mono.Cecil.MethodReference Member, Mono.Cecil.TypeReference Type, Boolean Emittable) [0x0005e] 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/General/CecilHelper.vb:525 
  at vbnc.PropertyAccessClassification.GenerateCode (vbnc.EmitInfo Info) [0x0009f] 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/PropertyAccessClassification.vb:74 
  at vbnc.AssignmentStatement.GenerateCode (vbnc.EmitInfo Info) [0x00019] 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/Statements/AssignStatements/AssignmentStatement.vb:73 
  at vbnc.CodeBlock.GenerateCode (vbnc.EmitInfo Info) [0x00149] 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:520 
  at vbnc.CodeBlock.GenerateCode (IMethod Method) [0x00060] 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:450 
  at vbnc.MethodBaseDeclaration.GenerateCode (vbnc.EmitInfo Info) [0x000b9] 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/General/MethodBaseDeclaration.vb:353 
  at vbnc.MethodDeclaration.GenerateCode (vbnc.EmitInfo Info) [0x00006] 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/Members/MethodDeclaration.vb:74 
  at vbnc.SubDeclaration.GenerateCode (vbnc.EmitInfo Info) [0x00045] 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/Members/SubDeclaration.vb:98 
  at vbnc.Helper.GenerateCodeCollection (IEnumerable Collection, vbnc.EmitInfo Info) [0x00036] 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/General/Helper.vb:2100 
  at vbnc.BaseObjects`1[T].GenerateCode (vbnc.EmitInfo Info) [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/General/BaseObjects`1.vb:75 
  at vbnc.AssemblyDeclaration.Emit (vbnc.TypeDeclaration Type) [0x00006] 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/TypeDeclarations/AssemblyDeclaration.vb:129 
  at vbnc.AssemblyDeclaration.Emit () [0x0005e] 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/TypeDeclarations/AssemblyDeclaration.vb:633 
  at vbnc.Compiler.Compile () [0x005b2] 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/General/Compiler.vb:545 
Compilation took 00:00:00.6378950
Comment 1 Rolf Bjarne Kvinge [MSFT] 2016-01-08 11:54:41 UTC
Created attachment 14499 [details]
test.vb
Comment 2 Rolf Bjarne Kvinge [MSFT] 2018-05-22 12:30:42 UTC
Moved to: https://github.com/mono/mono-basic/issues/41