diff options
author | dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com> | 2022-05-11 18:05:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-11 18:05:02 +0300 |
commit | 9d7304a21864a86075f39876bae73d5478fed8c2 (patch) | |
tree | 72b85505a0e2389089e9bd282f51dd152f74f650 /test/Mono.Linker.Tests.Cases/TypeForwarding/AttributesScopeUpdated.cs | |
parent | 6aaa900a0b1268fe4a6ce3e8af4678e84ea154fd (diff) |
[main] Update dependencies from dotnet/arcade (#2719)
[main] Update dependencies from dotnet/arcade
- Update the linker repo to .NET 7
Some small refactoring of the build files to avoid having to update multiple places with the new TFM.
Note that not all can be updated as they are used verbatim in the NuGet package, so can't rely on repo-only properties.
Also currently I left the source code to repeat these. Eventually we might investigate generating `.cs` files in the msbuild to "inject" the TFM and other constants from the MSBuild to the compiled code.
For the Roslyn tests, I hardcoded a new 7.0.0-preview.2 ref package reference, but this feels really weird - note that so far we've been testing against 6.0.0-preview.5 version. Ideally there would be some way to deduce the ref package version from the currently used SDK, and use that in the tests.
The formatting changes are induced by running `lint`. I assume this is because of the SDK version change as well, but I don't know for sure.
- Merge branch 'darc-main-3a65fa7f-262c-4578-97fd-670249162fc8' of https://github.com/dotnet/linker into darc-main-3a65fa7f-262c-4578-97fd-670249162fc8
- Merge remote-tracking branch 'mono/main' into darc-main-3a65fa7f-262c-4578-97fd-670249162fc8
- Update to preview 3 SDK
- Update to .NET 7 Preview 4 which should have the necessary changes.
- Formatting
Diffstat (limited to 'test/Mono.Linker.Tests.Cases/TypeForwarding/AttributesScopeUpdated.cs')
-rw-r--r-- | test/Mono.Linker.Tests.Cases/TypeForwarding/AttributesScopeUpdated.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Mono.Linker.Tests.Cases/TypeForwarding/AttributesScopeUpdated.cs b/test/Mono.Linker.Tests.Cases/TypeForwarding/AttributesScopeUpdated.cs index f1be225b9..809d0225f 100644 --- a/test/Mono.Linker.Tests.Cases/TypeForwarding/AttributesScopeUpdated.cs +++ b/test/Mono.Linker.Tests.Cases/TypeForwarding/AttributesScopeUpdated.cs @@ -33,7 +33,7 @@ namespace Mono.Linker.Tests.Cases.TypeForwarding } [Kept] - public static void Test_2<[KeptAttributeAttribute (typeof (TestType3Attribute))] [TestType3 (typeof (ImplementationLibrary))] T> () + public static void Test_2<[KeptAttributeAttribute (typeof (TestType3Attribute))][TestType3 (typeof (ImplementationLibrary))] T> () { } |