Bug 39881 - Code Analysis shows incorrect errors
Summary: Code Analysis shows incorrect errors
Status: RESOLVED ANSWERED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding ()
Version: 5.10 (C6SR3)
Hardware: PC Mac OS
: Normal normal
Target Milestone: master
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2016-03-24 06:59 UTC by Thomas Van den Bossche
Modified: 2016-03-29 06:16 UTC (History)
1 user (show)

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


Attachments
Code Analysis error (25.43 KB, image/png)
2016-03-24 06:59 UTC, Thomas Van den Bossche
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 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:
Status:
RESOLVED ANSWERED

Description Thomas Van den Bossche 2016-03-24 06:59:18 UTC
Created attachment 15514 [details]
Code Analysis error

The Code Analysis tool in Xamarin Studio shows incorrect errors.
It only happens on certain files and restarting Xamarin Studio does not help, the error is always shown.

I've attached a screenshot where you can see the issue clearly.
I've cleared the Ide.log, opened the troublesome file and this is the log I get:

 Marker - 24 Mar 2016, 07:45:50
Visit unknown expression:ICSharpCode.NRefactory.MonoCSharp.InterpolatedString
  at System.Environment.get_StackTrace () [0x00000] in /private/tmp/source-mono-4.2.3/bockbuild-mono-4.2.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.2.3/mcs/class/corlib/System/Environment.cs:321 
  at ICSharpCode.NRefactory.CSharp.CSharpParser+ConversionVisitor.Visit (ICSharpCode.NRefactory.MonoCSharp.Expression expression) [0x00001] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/CSharpParser.cs:2186 
  at ICSharpCode.NRefactory.MonoCSharp.Expression.Accept (ICSharpCode.NRefactory.MonoCSharp.StructuralVisitor visitor) [0x00003] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/mcs/ecore.cs:1283 
  at ICSharpCode.NRefactory.CSharp.CSharpParser+ConversionVisitor.Visit (ICSharpCode.NRefactory.MonoCSharp.BlockVariable blockVariableDeclaration) [0x000a3] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/CSharpParser.cs:1439 
  at ICSharpCode.NRefactory.MonoCSharp.BlockVariable.Accept (ICSharpCode.NRefactory.MonoCSharp.StructuralVisitor visitor) [0x00003] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/mcs/statement.cs:2284 
  at ICSharpCode.NRefactory.CSharp.CSharpParser+ConversionVisitor.AddBlockChildren (ICSharpCode.NRefactory.CSharp.BlockStatement result, ICSharpCode.NRefactory.MonoCSharp.Block blockStatement, System.Int32& curLocal) [0x00072] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/CSharpParser.cs:1849 
  at ICSharpCode.NRefactory.CSharp.CSharpParser+ConversionVisitor.Visit (ICSharpCode.NRefactory.MonoCSharp.Block blockStatement) [0x00083] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/CSharpParser.cs:1864 
  at ICSharpCode.NRefactory.MonoCSharp.Block.Accept (ICSharpCode.NRefactory.MonoCSharp.StructuralVisitor visitor) [0x00003] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/mcs/statement.cs:3108 
  at ICSharpCode.NRefactory.CSharp.CSharpParser+ConversionVisitor.Visit (ICSharpCode.NRefactory.MonoCSharp.Method m) [0x0010d] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/CSharpParser.cs:1091 
  at ICSharpCode.NRefactory.MonoCSharp.Method.Accept (ICSharpCode.NRefactory.MonoCSharp.StructuralVisitor visitor) [0x00003] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/mcs/method.cs:896 
  at ICSharpCode.NRefactory.MonoCSharp.StructuralVisitor.VisitTypeDefinition (ICSharpCode.NRefactory.MonoCSharp.TypeDefinition tc) [0x0001e] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/mcs/visit.cs:35 
  at ICSharpCode.NRefactory.MonoCSharp.StructuralVisitor.Visit (ICSharpCode.NRefactory.MonoCSharp.Class c) [0x00003] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/mcs/visit.cs:65 
  at ICSharpCode.NRefactory.CSharp.CSharpParser+ConversionVisitor.Visit (ICSharpCode.NRefactory.MonoCSharp.Class c) [0x001cc] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/CSharpParser.cs:575 
  at ICSharpCode.NRefactory.MonoCSharp.Class.Accept (ICSharpCode.NRefactory.MonoCSharp.StructuralVisitor visitor) [0x00003] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/mcs/class.cs:2801 
  at ICSharpCode.NRefactory.CSharp.CSharpParser+ConversionVisitor.Visit (ICSharpCode.NRefactory.MonoCSharp.NamespaceContainer ns) [0x00156] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/CSharpParser.cs:429 
  at ICSharpCode.NRefactory.MonoCSharp.NamespaceContainer.Accept (ICSharpCode.NRefactory.MonoCSharp.StructuralVisitor visitor) [0x00003] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/mcs/namespace.cs:1359 
  at ICSharpCode.NRefactory.CSharp.CSharpParser+ConversionVisitor.Visit (ICSharpCode.NRefactory.MonoCSharp.ModuleContainer mc) [0x001fd] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/CSharpParser.cs:114 
  at ICSharpCode.NRefactory.MonoCSharp.ModuleContainer.Accept (ICSharpCode.NRefactory.MonoCSharp.StructuralVisitor visitor) [0x00003] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/mcs/module.cs:420 
  at ICSharpCode.NRefactory.CSharp.CSharpParser.Parse (ICSharpCode.NRefactory.MonoCSharp.CompilerCompilationUnit top, System.String fileName) [0x00028] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/CSharpParser.cs:3915 
  at ICSharpCode.NRefactory.CSharp.CSharpParser.Parse (ITextSource program, System.String fileName, Int32 initialLine, Int32 initialColumn) [0x000fc] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/CSharpParser.cs:4027 
  at ICSharpCode.NRefactory.CSharp.CSharpParser.Parse (ITextSource program, System.String fileName) [0x0001a] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/CSharpParser.cs:4004 
  at ICSharpCode.NRefactory.CSharp.CSharpParser.Parse (System.IO.TextReader reader, System.String fileName) [0x0000e] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/CSharpParser.cs:3903 
  at MonoDevelop.CSharp.Parser.TypeSystemParser.Parse (Boolean storeAst, System.String fileName, System.IO.TextReader content, MonoDevelop.Projects.Project project) [0x000dc] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Parser/TypeSystemProvider.cs:74 
  at MonoDevelop.Ide.TypeSystem.TypeSystemService.ParseFile (MonoDevelop.Projects.Project project, System.String fileName, System.String mimeType, System.String content) [0x00049] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.TypeSystem/TypeSystemService.cs:379 
  at MonoDevelop.Ide.Gui.Document+<StartReparseThread>c__AnonStorey2+<StartReparseThread>c__AnonStorey3.<>m__0 (System.Object ) [0x00072] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs:878 
  at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context (System.Object state) [0x0000e] in /private/tmp/source-mono-4.2.3/bockbuild-mono-4.2.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.2.3/external/referencesource/mscorlib/system/threading/threadpool.cs:1291 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, Boolean preserveSyncCtx) [0x00081] in /private/tmp/source-mono-4.2.3/bockbuild-mono-4.2.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.2.3/external/referencesource/mscorlib/system/threading/executioncontext.cs:581 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, Boolean preserveSyncCtx) [0x00000] in /private/tmp/source-mono-4.2.3/bockbuild-mono-4.2.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.2.3/external/referencesource/mscorlib/system/threading/executioncontext.cs:530 
  at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x0002a] in /private/tmp/source-mono-4.2.3/bockbuild-mono-4.2.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.2.3/external/referencesource/mscorlib/system/threading/threadpool.cs:1268 
  at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00096] in /private/tmp/source-mono-4.2.3/bockbuild-mono-4.2.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.2.3/external/referencesource/mscorlib/system/threading/threadpool.cs:859 
  at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in /private/tmp/source-mono-4.2.3/bockbuild-mono-4.2.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.2.3/external/referencesource/mscorlib/system/threading/threadpool.cs:1196 
Visit unknown expression:ICSharpCode.NRefactory.MonoCSharp.InterpolatedString
  at System.Environment.get_StackTrace () [0x00000] in /private/tmp/source-mono-4.2.3/bockbuild-mono-4.2.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.2.3/mcs/class/corlib/System/Environment.cs:321 
  at ICSharpCode.NRefactory.CSharp.CSharpParser+ConversionVisitor.Visit (ICSharpCode.NRefactory.MonoCSharp.Expression expression) [0x00001] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/CSharpParser.cs:2186 
  at ICSharpCode.NRefactory.MonoCSharp.Expression.Accept (ICSharpCode.NRefactory.MonoCSharp.StructuralVisitor visitor) [0x00003] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/mcs/ecore.cs:1283 
  at ICSharpCode.NRefactory.CSharp.CSharpParser+ConversionVisitor.Visit (ICSharpCode.NRefactory.MonoCSharp.CompoundAssign compoundAssign) [0x00154] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/CSharpParser.cs:3275 
  at ICSharpCode.NRefactory.MonoCSharp.CompoundAssign.Accept (ICSharpCode.NRefactory.MonoCSharp.StructuralVisitor visitor) [0x00003] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/mcs/assign.cs:965 
  at ICSharpCode.NRefactory.CSharp.CSharpParser+ConversionVisitor.Visit (ICSharpCode.NRefactory.MonoCSharp.StatementExpression statementExpression) [0x0000e] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/CSharpParser.cs:1643 
  at ICSharpCode.NRefactory.MonoCSharp.StatementExpression.Accept (ICSharpCode.NRefactory.MonoCSharp.StructuralVisitor visitor) [0x00003] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/mcs/statement.cs:928 
  at ICSharpCode.NRefactory.CSharp.CSharpParser+ConversionVisitor.AddBlockChildren (ICSharpCode.NRefactory.CSharp.BlockStatement result, ICSharpCode.NRefactory.MonoCSharp.Block blockStatement, System.Int32& curLocal) [0x00072] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/CSharpParser.cs:1849 
  at ICSharpCode.NRefactory.CSharp.CSharpParser+ConversionVisitor.Visit (ICSharpCode.NRefactory.MonoCSharp.Block blockStatement) [0x00083] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/CSharpParser.cs:1864 
  at ICSharpCode.NRefactory.MonoCSharp.Block.Accept (ICSharpCode.NRefactory.MonoCSharp.StructuralVisitor visitor) [0x00003] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/mcs/statement.cs:3108 
  at ICSharpCode.NRefactory.CSharp.CSharpParser+ConversionVisitor.Visit (ICSharpCode.NRefactory.MonoCSharp.If ifStatement) [0x000c8] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/CSharpParser.cs:1544 
  at ICSharpCode.NRefactory.MonoCSharp.If.Accept (ICSharpCode.NRefactory.MonoCSharp.StructuralVisitor visitor) [0x00003] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/mcs/statement.cs:353 
  at ICSharpCode.NRefactory.CSharp.CSharpParser+ConversionVisitor.AddBlockChildren (ICSharpCode.NRefactory.CSharp.BlockStatement result, ICSharpCode.NRefactory.MonoCSharp.Block blockStatement, System.Int32& curLocal) [0x00072] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/CSharpParser.cs:1849 
  at ICSharpCode.NRefactory.CSharp.CSharpParser+ConversionVisitor.Visit (ICSharpCode.NRefactory.MonoCSharp.Block blockStatement) [0x00083] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/CSharpParser.cs:1864 
  at ICSharpCode.NRefactory.MonoCSharp.Block.Accept (ICSharpCode.NRefactory.MonoCSharp.StructuralVisitor visitor) [0x00003] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/mcs/statement.cs:3108 
  at ICSharpCode.NRefactory.CSharp.CSharpParser+ConversionVisitor.Visit (ICSharpCode.NRefactory.MonoCSharp.Method m) [0x0010d] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/CSharpParser.cs:1091 
  at ICSharpCode.NRefactory.MonoCSharp.Method.Accept (ICSharpCode.NRefactory.MonoCSharp.StructuralVisitor visitor) [0x00003] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/mcs/method.cs:896 
  at ICSharpCode.NRefactory.MonoCSharp.StructuralVisitor.VisitTypeDefinition (ICSharpCode.NRefactory.MonoCSharp.TypeDefinition tc) [0x0001e] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/mcs/visit.cs:35 
  at ICSharpCode.NRefactory.MonoCSharp.StructuralVisitor.Visit (ICSharpCode.NRefactory.MonoCSharp.Class c) [0x00003] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/mcs/visit.cs:65 
  at ICSharpCode.NRefactory.CSharp.CSharpParser+ConversionVisitor.Visit (ICSharpCode.NRefactory.MonoCSharp.Class c) [0x001cc] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/CSharpParser.cs:575 
  at ICSharpCode.NRefactory.MonoCSharp.Class.Accept (ICSharpCode.NRefactory.MonoCSharp.StructuralVisitor visitor) [0x00003] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/mcs/class.cs:2801 
  at ICSharpCode.NRefactory.CSharp.CSharpParser+ConversionVisitor.Visit (ICSharpCode.NRefactory.MonoCSharp.NamespaceContainer ns) [0x00156] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/CSharpParser.cs:429 
  at ICSharpCode.NRefactory.MonoCSharp.NamespaceContainer.Accept (ICSharpCode.NRefactory.MonoCSharp.StructuralVisitor visitor) [0x00003] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/mcs/namespace.cs:1359 
  at ICSharpCode.NRefactory.CSharp.CSharpParser+ConversionVisitor.Visit (ICSharpCode.NRefactory.MonoCSharp.ModuleContainer mc) [0x001fd] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/CSharpParser.cs:114 
  at ICSharpCode.NRefactory.MonoCSharp.ModuleContainer.Accept (ICSharpCode.NRefactory.MonoCSharp.StructuralVisitor visitor) [0x00003] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/mcs/module.cs:420 
  at ICSharpCode.NRefactory.CSharp.CSharpParser.Parse (ICSharpCode.NRefactory.MonoCSharp.CompilerCompilationUnit top, System.String fileName) [0x00028] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/CSharpParser.cs:3915 
  at ICSharpCode.NRefactory.CSharp.CSharpParser.Parse (ITextSource program, System.String fileName, Int32 initialLine, Int32 initialColumn) [0x000fc] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/CSharpParser.cs:4027 
  at ICSharpCode.NRefactory.CSharp.CSharpParser.Parse (ITextSource program, System.String fileName) [0x0001a] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/CSharpParser.cs:4004 
  at ICSharpCode.NRefactory.CSharp.CSharpParser.Parse (System.IO.TextReader reader, System.String fileName) [0x0000e] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/external/nrefactory/ICSharpCode.NRefactory.CSharp/Parser/CSharpParser.cs:3903 
  at MonoDevelop.CSharp.Parser.TypeSystemParser.Parse (Boolean storeAst, System.String fileName, System.IO.TextReader content, MonoDevelop.Projects.Project project) [0x000dc] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/src/addins/CSharpBinding/MonoDevelop.CSharp.Parser/TypeSystemProvider.cs:74 
  at MonoDevelop.Ide.TypeSystem.TypeSystemService.ParseFile (MonoDevelop.Projects.Project project, System.String fileName, System.String mimeType, System.String content) [0x00049] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.TypeSystem/TypeSystemService.cs:379 
  at MonoDevelop.Ide.Gui.Document+<StartReparseThread>c__AnonStorey2+<StartReparseThread>c__AnonStorey3.<>m__0 (System.Object ) [0x00072] in /Users/builder/data/lanes/2968/8dc6bca6/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.cs:878 
  at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context (System.Object state) [0x0000e] in /private/tmp/source-mono-4.2.3/bockbuild-mono-4.2.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.2.3/external/referencesource/mscorlib/system/threading/threadpool.cs:1291 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, Boolean preserveSyncCtx) [0x00081] in /private/tmp/source-mono-4.2.3/bockbuild-mono-4.2.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.2.3/external/referencesource/mscorlib/system/threading/executioncontext.cs:581 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, Boolean preserveSyncCtx) [0x00000] in /private/tmp/source-mono-4.2.3/bockbuild-mono-4.2.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.2.3/external/referencesource/mscorlib/system/threading/executioncontext.cs:530 
  at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x0002a] in /private/tmp/source-mono-4.2.3/bockbuild-mono-4.2.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.2.3/external/referencesource/mscorlib/system/threading/threadpool.cs:1268 
  at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00096] in /private/tmp/source-mono-4.2.3/bockbuild-mono-4.2.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.2.3/external/referencesource/mscorlib/system/threading/threadpool.cs:859 
  at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in /private/tmp/source-mono-4.2.3/bockbuild-mono-4.2.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.2.3/external/referencesource/mscorlib/system/threading/threadpool.cs:1196 
 
If needed I can provide you the complete file.

Xamarin Studio details:
Version 5.10.3 (build 27)
Installation UUID: c8d9d174-a2c8-4101-870c-d07ece81c653
Runtime:
	Mono 4.2.3 (explicit/832de4b)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 402030004
Comment 1 Mike Krüger 2016-03-29 06:16:03 UTC
Should be fixed in 6.0 (alpha channel)