Skip to content

Commit 8e03e4d

Browse files
committed
Update Roslyn to v4.12.0
1 parent a750f37 commit 8e03e4d

File tree

3 files changed

+29
-3
lines changed

3 files changed

+29
-3
lines changed

TestCode/Project2/Class1.cs

+6
Original file line numberDiff line numberDiff line change
@@ -178,3 +178,9 @@ class TypeWithPrimaryConstructor(A a, B b)
178178
}
179179

180180
class EmptyType;
181+
182+
class TypeWithAllowsRefStruct<T>
183+
where T : allows ref struct
184+
{
185+
public static T Return(T value) => value;
186+
}

src/HtmlGenerator/HtmlGenerator.csproj

+4-3
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
<NuGetPackageId>SourceBrowser</NuGetPackageId>
1717
<NuSpecFile>$(MSBuildProjectDirectory)\$(NuGetPackageId).nuspec</NuSpecFile>
1818
<NuGetVersion>1.0.46</NuGetVersion>
19-
<NuGetVersionRoslyn>4.8.0</NuGetVersionRoslyn>
20-
<NuGetVersionMSBuild>17.5.0</NuGetVersionMSBuild>
19+
<NuGetVersionRoslyn>4.12.0</NuGetVersionRoslyn>
20+
<NuGetVersionMSBuild>17.12.6</NuGetVersionMSBuild>
2121
</PropertyGroup>
2222
<ItemGroup>
2323
<NuGetInput Include="$(MSBuildThisFile)" />
@@ -39,7 +39,7 @@
3939
<PackageReference Include="ManagedEsent" Version="2.0.0" />
4040
<PackageReference Include="Microsoft.Build" Version="$(NuGetVersionMSBuild)" ExcludeAssets="runtime" />
4141
<PackageReference Include="Microsoft.Build.Framework" Version="$(NuGetVersionMSBuild)" ExcludeAssets="runtime" />
42-
<PackageReference Include="Microsoft.Build.Locator" Version="1.6.10" />
42+
<PackageReference Include="Microsoft.Build.Locator" Version="1.7.8" />
4343
<PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(NuGetVersionMSBuild)" ExcludeAssets="runtime" />
4444
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="$(NuGetVersionMSBuild)" ExcludeAssets="runtime" />
4545
<PackageReference Include="Microsoft.CodeAnalysis" Version="$(NuGetVersionRoslyn)" />
@@ -57,6 +57,7 @@
5757
<PackageReference Include="Microsoft.VisualStudio.Language.Intellisense" Version="16.10.230" />
5858
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
5959
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
60+
<PackageReference Include="System.Memory" Version="4.6.0" />
6061
</ItemGroup>
6162
<ItemGroup>
6263
<ProjectReference Include="..\Common\Common.csproj" />

src/HtmlGenerator/app.config

+19
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,24 @@
88
<DisableFXClosureWalk enabled="true" />
99
<appDomainManagerType value="Microsoft.SourceBrowser.Common.CustomAppDomainManager"/>
1010
<appDomainManagerAssembly value="Microsoft.SourceBrowser.Common"/>
11+
12+
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
13+
<dependentAssembly>
14+
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral"/>
15+
<bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0"/>
16+
</dependentAssembly>
17+
</assemblyBinding>
18+
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
19+
<dependentAssembly>
20+
<assemblyIdentity name="System.Numerics.Vectors" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
21+
<bindingRedirect oldVersion="0.0.0.0-4.1.5.0" newVersion="4.1.5.0"/>
22+
</dependentAssembly>
23+
</assemblyBinding>
24+
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
25+
<dependentAssembly>
26+
<assemblyIdentity name="System.Text.Json" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral"/>
27+
<bindingRedirect oldVersion="0.0.0.0-8.0.0.5" newVersion="8.0.0.5"/>
28+
</dependentAssembly>
29+
</assemblyBinding>
1130
</runtime>
1231
</configuration>

0 commit comments

Comments
 (0)