-
**Version Used**:
**Steps to Reproduce**:
Compile the following code with debug asserts enabled:
```csharp
using System;
namespace ICSharpCode.Decompiler.Tests.TestCases.Correctness
{
p…
-
@sharwell
In my github repo in [this](https://github.com/taori/Amusoft.CodeAnalysis.Analyzers/tree/testingframeworkissue) branch and the method `FixCommentsOnClassTests.SimpleRemoval` i ran into a…
taori updated
4 years ago
-
If you run into any errors saying that a type exists in 2 places, and one is `XX.Interfaces` and the other is `XX.Abstractions`, chances are you have old and new packages in the same project.
-
**Version Used**: Roslyn 4.11.0
**Steps to Reproduce**:
Run this code:
```c#
using Microsoft.CodeAnalysis.MSBuild;
var workspace = MSBuildWorkspace.Create();
var project = await worksp…
svick updated
1 month ago
-
This applies to all suggestions that assist with usage of collection expressions (IDE0300, IDE0301, IDE0302, IDE0303, IDE0304, IDE0305).
**Version Used**: .NET 8.0.403, Visual Studio 2022 Community 1…
-
Certain parts of review updates and requests are moved to do after initial release (parts i think are good to do but are not showstoppers).
Pull requests which these are based on
https://github.co…
-
See https://github.com/dotnet/roslyn/issues/10365.
Dump for the issue shared at \\public\mavasani\10365_OOM shows that bulk of in memory objects are from analyzer state tracking:
```
2fdf332c 312…
-
**Code example**
```
class C
{
int M()
{
int a = 0;
int b = 0;
a = b = 0;
return b;
}
}
```
**Expected**
Provides a diagnostic that 'a' is unu…
-
#### Analyzer package
Microsoft.CodeAnalysis.Analyzers
#### Analyzer
Avoid dynamic objects (new analyzer)
#### Expected behavior
This analyzer reports cases where an object of type `dyn…
-
Here an example of a serialized `CodeAction` response provided by omnisharp-roslyn:
```json
{
"jsonrpc": "2.0",
"id": 9,
"result": [
{
"title": "Remove Unnecessary Usings",
…