зеркало из https://github.com/dotnet/razor.git
Update compiler roslyn version
This commit is contained in:
Родитель
36c374709c
Коммит
5245dfa173
|
@ -1,6 +1,6 @@
|
|||
<Project>
|
||||
<PropertyGroup>
|
||||
<_RoslynPackageVersion>4.9.2</_RoslynPackageVersion>
|
||||
<_RoslynPackageVersion>4.11.0-2.24255.2</_RoslynPackageVersion>
|
||||
<_RoslynPackageVersion Condition="'$(DotNetBuildFromSource)' == 'true'">$(MicrosoftCodeAnalysisCommonPackageVersion)</_RoslynPackageVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
|
|
|
@ -10771,7 +10771,7 @@ Time: @DateTime.Now
|
|||
{
|
||||
var generated = CompileToCSharp($"""
|
||||
<{ComponentName} @rendermode="Microsoft.AspNetCore.Components.Web.RenderMode.Server" />
|
||||
""", throwOnFailure: true);
|
||||
""");
|
||||
|
||||
// Assert
|
||||
AssertDocumentNodeMatchesBaseline(generated.CodeDocument);
|
||||
|
@ -10791,7 +10791,7 @@ Time: @DateTime.Now
|
|||
public string Extra {get;set;}
|
||||
}
|
||||
}
|
||||
""", throwOnFailure: true);
|
||||
""");
|
||||
|
||||
// Assert
|
||||
AssertDocumentNodeMatchesBaseline(generated.CodeDocument);
|
||||
|
@ -10811,7 +10811,7 @@ Time: @DateTime.Now
|
|||
|
||||
[Parameter]public string P2 {get; set;}
|
||||
}
|
||||
""", throwOnFailure: true);
|
||||
""");
|
||||
|
||||
// Assert
|
||||
AssertDocumentNodeMatchesBaseline(generated.CodeDocument);
|
||||
|
|
Загрузка…
Ссылка в новой задаче