File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed
Basic.Reference.Assemblies.UnitTests Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 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+ }
Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments