Bug 1912 - [New Resolver] Crash when typing params argument
Summary: [New Resolver] Crash when typing params argument
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Mike Krüger
Depends on:
Reported: 2011-11-07 05:32 UTC by Lluis Sanchez
Modified: 2011-11-08 05:15 UTC (History)
1 user (show)

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

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 Developer Community or GitHub 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:

Description Lluis Sanchez 2011-11-07 05:32:14 UTC
I'm trying to type this method:

public DropArea (double x, double y, double width, double height, params string[] props)

When I press '[' just after string I get this exception:

System.NullReferenceException: Object reference not set to an instance of an object
  at Mono.CSharp.ParametersCompiled..ctor (Mono.CSharp.Parameter[] parameters) [0x00031] in /Users/lluis/prog/nowork/mdresolver/main/contrib/ICSharpCode.NRefactory.CSharp/Parser/mcs/parameter.cs:958 
  at Mono.CSharp.CSharpParser.case_156 () [0x0004e] in /Users/lluis/prog/nowork/mdresolver/main/contrib/ICSharpCode.NRefactory.CSharp/Parser/mcs/cs-parser.jay:1424 
  at Mono.CSharp.CSharpParser.yyparse (yyInput yyLex) [0x01833] in /Users/lluis/prog/nowork/mdresolver/main/contrib/ICSharpCode.NRefactory.CSharp/Parser/mcs/cs-parser.jay:1413 
  at Mono.CSharp.CSharpParser.parse () [0x00032] in /Users/lluis/prog/nowork/mdresolver/main/contrib/ICSharpCode.NRefactory.CSharp/Parser/mcs/cs-parser.jay:6586
Comment 1 Mike Krüger 2011-11-08 05:15:24 UTC