Conditional Compilation in XML Comments

Please support conditional compilation within XML documentation comments. This has been a source of pain since portable libraries came on the scene a while ago. Often linked code files are used to ...

Id #492 | Release: None | Updated: Jan 27 at 9:01 PM by davedev | Created: Jan 27 at 3:44 PM by davedev

Custom name for anonymous methods and lambda expressions to have more readable stack traces.

As you may already know, we can assign a name to a function in javascript, see a following sample: jQuery.ajax("some url : jQuery.ajax will get something from a specified web resource").then(functi...

Id #491 | Release: None | Updated: Jan 19 at 6:52 PM by VSadov | Created: Jan 17 at 5:18 AM by real_persian

Problem formatting .cs files

There is a problem while formatting (indenting, adding/erasing whitespaces and/or newlines, etc.) directives such as #endregion, #pragma, etc.. The problem lies within the following classes/funct...

Id #490 | Release: None | Updated: Jan 16 at 5:50 PM by cuervorosario | Created: Jan 16 at 5:50 PM by cuervorosario

GetSymbolInfo returns a weird result in a specific case.

Given this code: using System.Linq; using System.Reflection; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; namespace RoslynOddity {...

Id #489 | Release: None | Updated: Wed at 1:32 PM by OmerRaviv2 | Created: Jan 13 at 2:46 PM by dkinitiate

Script Document IntelliSense race condition

Source: (in a Script document): if (someSequence.Count() > 2) IEnumerable<int> RandomStream(int max) { yield return int. Pressing Ctrl+Space, Space, or Enter will try to consume a cancelled Model...

Id #488 | Release: None | Updated: Jan 15 at 6:21 PM by Pilchie | Created: Jan 11 at 6:36 PM by SSL

Editor indents after comment

Keystrokes (in empty file): // After typing the second newline, the editor will add a tab (I use tabs for indent)

Id #486 | Release: None | Updated: Jan 14 at 9:04 PM by Pilchie | Created: Jan 9 at 3:44 PM by SSL

Formatter ignores NewLine options

Run the code below and notice that neither \r\n is removed, nor that \n is being used. using System; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis....

Id #484 | Release: None | Updated: Jan 8 at 6:25 PM by jrieken | Created: Jan 8 at 6:24 PM by jrieken

Rename tries to rename explicit metadata interface implementations

Source: class X : IComparer { int IComparer.Compare(object x, object y) => 0; } class Y : X, IComparer { public int Compare(object x, object y) => ((IComparer)this).Compare(x, y); } Renaming Y....

Id #483 | Release: None | Updated: Jan 8 at 3:09 PM by SSL | Created: Jan 8 at 3:07 PM by SSL

Implement Interface through member adds extra casts

Source: sealed class X : IComparer{ X x; } Quick fix: public int Compare(object x, object y) { return ((IComparer)this.x).Compare(x, y); } Why do you add the cast, even when there is no exp...

Id #482 | Release: None | Updated: Jan 8 at 3:00 PM by SSL | Created: Jan 8 at 3:00 PM by SSL

Collection Initializers don't show Quick Fixes to import extension methods

Source: class X : IEnumerable { public IEnumerator GetEnumerator() { new X { 1 }; return null; } } namespace Ext { static class Extensions { public static void Add(this X x, int i) ...

Id #480 | Release: None | Updated: Jan 8 at 2:49 PM by SSL | Created: Jan 8 at 2:49 PM by SSL