Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

VBNC99999: Unexpected error: The method or operation is not implemented. #41

Open
rolfbjarne opened this issue May 22, 2018 · 0 comments

Comments

@rolfbjarne
Copy link
Member

rolfbjarne commented May 22, 2018

Submitted by Rolf Bjarne Kvinge [MSFT] on 2016-01-08 11:53 UTC

Test code:

Class C
	Sub S (ByRef V As Integer)
		S (P)
	End Sub
	ReadOnly Property P As String
		Get
			Return ""
		End Get
	End Property
End Class
/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

Reference: https://bugzilla.xamarin.com/show_bug.cgi?id=37517

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant