Skip to content

Commit a225367

Browse files
Jared Parsonsjaredpar
authored andcommitted
Issue 43
1 parent a0941c2 commit a225367

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

.vscode/tasks.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"type": "dotnet",
6+
"task": "build",
7+
"problemMatcher": [
8+
"$msCompile"
9+
],
10+
"group": {
11+
"kind": "build",
12+
"isDefault": true
13+
},
14+
"label": "dotnet: build"
15+
}
16+
]
17+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
using System.Collections.Generic;
3+
using System.Reflection;
4+
using Microsoft.CodeAnalysis;
5+
using Xunit;
6+
7+
namespace Basic.Reference.Assemblies.UnitTests;
8+
9+
public sealed class CoreUnitTests
10+
{
11+
12+
[Fact]
13+
public void Issue43()
14+
{
15+
var references = new List<MetadataReference>(Basic.Reference.Assemblies.Net70.References.All)
16+
{
17+
MetadataReference.CreateFromFile(Assembly.GetExecutingAssembly().Location)
18+
};
19+
20+
Assert.NotEmpty(references);
21+
}
22+
}

0 commit comments

Comments
 (0)