diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3056bc0..33a62dc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,7 +20,7 @@ jobs: - name: Setup dotnet uses: actions/setup-dotnet@v1 with: - dotnet-version: '8.0.100' + dotnet-version: '8.0.101' - name: NuGet cache uses: actions/cache@v1 @@ -73,7 +73,7 @@ jobs: - name: Setup dotnet uses: actions/setup-dotnet@v1 with: - dotnet-version: '8.0.100' + dotnet-version: '8.0.101' - name: Download nupkg uses: actions/download-artifact@v1 @@ -97,7 +97,7 @@ jobs: - name: Setup dotnet uses: actions/setup-dotnet@v1 with: - dotnet-version: '8.0.100' + dotnet-version: '8.0.101' - name: Prepare run: | diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a3b19c1..2affdb2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,7 +11,7 @@ jobs: - name: Setup dotnet uses: actions/setup-dotnet@v1 with: - dotnet-version: '8.0.100' + dotnet-version: '8.0.101' - name: Download nupkg uses: dawidd6/action-download-artifact@v2 diff --git a/global.json b/global.json index 35a6577..c9c781a 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "8.0.100", + "version": "8.0.101", "rollForward": "feature", "allowPrerelease": true } diff --git a/src/Bolero/Router.fs b/src/Bolero/Router.fs index 81ab576..f7cbcae 100644 --- a/src/Bolero/Router.fs +++ b/src/Bolero/Router.fs @@ -190,15 +190,8 @@ exception InvalidRouter of kind: InvalidRouterKind with type PageModel<'T> = { Model: 'T } -#if NET8_0 - static let prop = typeof>.GetProperty("Model") - - member internal this.SetModel(value) = - prop.SetValue(this, value) -#else member internal this.SetModel(value) = Unsafe.AsRef<'T>(&this.Model) <- value -#endif [] module private RouterImpl =