dense-analysis / dense-analysis/ale

Auto detect used C# libraries

Open
#3,668 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Vim Script
Stars
14k
Forks
1.5k
Avg merge
17h 49m
Merged PRs (30d)
1

Description

When using `mcs` on Fedora, ALE doesn't detect used assemblies and requires them to be added manually, such as `System.Net.Http` in the example below. Is would be nice if ALE could detect those and do not fail with the error.

```csharp
using System;
using System.Net.Http;

class Program
{
>> static HttpClient Client = new HttpClient();

static void Main(string[] args)
{

var hyper = "inter";
Console.WriteLine($"string {hyper}polation");
}
}
~
~
~
CS0246: The type or namespace name `HttpClient' could not be found. Are you missing an assembly reference?
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.