[Mono-dev] msdn-browse

Paul F. Johnson paul at all-the-johnsons.co.uk
Mon Aug 29 08:44:20 EDT 2005


Hi,

I noticed on the svn branch a nice little utility for browsing msdn
without having to pratt about with the MSDN website.

I've run makefile, but all I get back is this (the code fails to
compile)

Unhandled Exception: System.Exception: Trying to emit a local from a
different ILGenerator.
in <0x005e7> System.Reflection.Emit.ILGenerator:Emit (OpCode opcode,
System.Reflection.Emit.LocalBuilder lbuilder)
in <0x0005e> Mono.CSharp.ScopeInfo:EmitScopeInstance
(System.Reflection.Emit.ILGenerator ig)
in <0x0005d> Mono.CSharp.CaptureContext:EmitMethodHostInstance
(Mono.CSharp.EmitContext target, Mono.CSharp.AnonymousContainer am)
in <0x0001f> Mono.CSharp.EmitContext:EmitMethodHostInstance
(Mono.CSharp.EmitContext target, Mono.CSharp.AnonymousMethod am)
in <0x0001c> Mono.CSharp.AnonymousDelegate+AnonymousInstance:Emit
(Mono.CSharp.EmitContext ec)
in <0x0004d> Mono.CSharp.DelegateCreation:Emit (Mono.CSharp.EmitContext
ec)
in <0x000c0> Mono.CSharp.AnonymousDelegate:Emit (Mono.CSharp.EmitContext
ec)
in <0x00214> Mono.CSharp.Argument:Emit (Mono.CSharp.EmitContext ec)
in <0x00205> Mono.CSharp.Invocation:EmitArguments
(Mono.CSharp.EmitContext ec, System.Reflection.MethodBase mb,
System.Collections.ArrayList arguments, Boolean dup_args,
Mono.CSharp.LocalTemporary this_arg)
in <0x004fa> Mono.CSharp.Invocation:EmitCall (Mono.CSharp.EmitContext
ec, Boolean is_base, Boolean is_static, Mono.CSharp.Expression
instance_expr, System.Reflection.MethodBase method,
System.Collections.ArrayList Arguments, Location loc, Boolean dup_args,
Boolean omit_args)
in <0x00024> Mono.CSharp.Invocation:EmitCall (Mono.CSharp.EmitContext
ec, Boolean is_base, Boolean is_static, Mono.CSharp.Expression
instance_expr, System.Reflection.MethodBase method,
System.Collections.ArrayList Arguments, Location loc)
in <0x00066> Mono.CSharp.Invocation:Emit (Mono.CSharp.EmitContext ec)
in <0x00012> Mono.CSharp.Invocation:EmitStatement
(Mono.CSharp.EmitContext ec)
in <0x00011> Mono.CSharp.StatementExpression:DoEmit
(Mono.CSharp.EmitContext ec)
in <0x00024> Mono.CSharp.Statement:Emit (Mono.CSharp.EmitContext ec)
in <0x000a0> Mono.CSharp.Block:DoEmit (Mono.CSharp.EmitContext ec)
in <0x0024e> Mono.CSharp.Block:Emit (Mono.CSharp.EmitContext ec)
in <0x0001b> Mono.CSharp.EmitContext:EmitResolvedTopBlock
(Mono.CSharp.ToplevelBlock block, Boolean unreachable)
in <0x00058> Mono.CSharp.EmitContext:EmitTopBlock (IMethodData md,
Mono.CSharp.ToplevelBlock block, Mono.CSharp.InternalParameters ip)
in <0x001e8> Mono.CSharp.MethodData:Emit (Mono.CSharp.TypeContainer
container, Mono.CSharp.Attributable kind)
in <0x00029> Mono.CSharp.Method:Emit ()
in <0x00625> Mono.CSharp.TypeContainer:EmitType ()
in <0x00215> Mono.CSharp.RootContext:EmitCode ()
in <0x00bf0> Mono.CSharp.Driver:MainDriver (System.String[] args)
in <0x0000f> Mono.CSharp.Driver:Main (System.String[] args)
make: *** [msdnb.exe] Error 1

Is the problem with my mcs or something else? The source (all 2.8k of
it!) can be grabbed from

http://mono.shacknet.nu/downloads/msdn-browse.tar.gz

(it'll save time having to find it from svn!)

TTFN

Paul
-- 
"A lot of football success is in the mind. You must believe you are the
best and then make sure that you are. In my time at Liverpool we always
said we had the best two teams on Merseyside, Liverpool and Liverpool
Reserves." - Bill Shankly




More information about the Mono-devel-list mailing list