VB emit test compiling for netcoreapp2.0

上级 6284c1c6
......@@ -7,9 +7,8 @@
<PlatformTarget>AnyCPU</PlatformTarget>
<OutputType>Library</OutputType>
<AssemblyName>Roslyn.Compilers.VisualBasic.Emit.UnitTests</AssemblyName>
<TargetFramework>net46</TargetFramework>
<RuntimeIdentifier>$(RoslynDesktopRuntimeIdentifier)</RuntimeIdentifier>
<RoslynProjectType>UnitTest</RoslynProjectType>
<TargetFrameworks>$(RoslynPortableTargetFrameworks)</TargetFrameworks>
<RoslynProjectType>UnitTestPortable</RoslynProjectType>
<RootNamespace></RootNamespace>
</PropertyGroup>
<ItemGroup Label="Project References">
......@@ -24,15 +23,12 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'" />
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Xml" />
<Reference Include="System.Xml.Linq" />
<Reference Include="Microsoft.VisualBasic" />
<PackageReference Include="Microsoft.DiaSymReader" Version="$(MicrosoftDiaSymReaderVersion)" />
<PackageReference Include="xunit" Version="$(xunitVersion)" />
<PackageReference Include="xunit.analyzers" Version="$(xunitanalyzersVersion)" />
<PackageReference Include="xunit.runner.console" Version="$(xunitrunnerconsoleVersion)" />
<PackageReference Include="xunit.runner.visualstudio" Version="$(xunitrunnervisualstudioVersion)" />
<PackageReference Include="Microsoft.VisualBasic" Version="$(MicrosoftVisualBasicVersion)" />
</ItemGroup>
<ItemGroup>
<Compile Update="Resource.Designer.vb">
......
......@@ -583,6 +583,7 @@ BC30424: Constants must be of an intrinsic or enumerated type, not a class, stru
</expected>)
End Sub
#If NET46 Then
<Fact>
Public Sub ChrChrWAscAscWAreConst()
Dim source =
......@@ -735,7 +736,7 @@ Chr:
IL_002d: ret
} ]]>)
End Sub
#End If
<Fact>
Public Sub TestFieldsConstInStructures()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册