Skip to content

Commit 278b318

Browse files
Add CompilerGenerated attribute to the tracker (#1229)
Add CompilerGenerated attribute to the tracker
1 parent c6dddb5 commit 278b318

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
lines changed

eng/azure-pipelines-nightly.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ steps:
99

1010
- task: UseDotNet@2
1111
inputs:
12-
version: 5.0.101
13-
displayName: Install .NET Core SDK 5.0.101
12+
version: 5.0.401
13+
displayName: Install .NET Core SDK 5.0.401
1414

1515
- task: NuGetAuthenticate@0
1616
displayName: Authenticate with NuGet feeds

eng/azure-pipelines.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
Release:
1616
buildConfiguration: "Release"
1717
pool:
18-
vmImage: 'windows-2019'
18+
vmImage: 'windows-latest'
1919
steps:
2020
- template: build.yml
2121
- task: CopyFiles@2
@@ -45,7 +45,7 @@ jobs:
4545
Release:
4646
buildConfiguration: "Release"
4747
pool:
48-
vmImage: 'macOS-10.14'
48+
vmImage: 'macOS-latest'
4949
steps:
5050
- template: build.yml
5151

@@ -59,6 +59,6 @@ jobs:
5959
Release:
6060
buildConfiguration: "Release"
6161
pool:
62-
vmImage: 'ubuntu-16.04'
62+
vmImage: 'ubuntu-latest'
6363
steps:
6464
- template: build.yml

eng/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ steps:
66

77
- task: UseDotNet@2
88
inputs:
9-
version: 5.0.101
10-
displayName: Install .NET Core SDK 5.0.101
9+
version: 5.0.401
10+
displayName: Install .NET Core SDK 5.0.401
1111

1212
- script: dotnet restore
1313
displayName: Restore packages

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "5.0.101",
3+
"version": "5.0.401",
44
"rollForward": "latestMajor"
55
}
66
}

src/coverlet.core/Instrumentation/ModuleTrackerTemplate.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
using System.Diagnostics.CodeAnalysis;
44
using System.IO;
55
using System.Reflection;
6+
using System.Runtime.CompilerServices;
67
using System.Threading;
78

89
namespace Coverlet.Core.Instrumentation
@@ -15,6 +16,7 @@ namespace Coverlet.Core.Instrumentation
1516
/// As this type is going to be customized for each instrumented module it doesn't follow typical practices
1617
/// regarding visibility of members, etc.
1718
/// </remarks>
19+
[CompilerGenerated]
1820
[ExcludeFromCodeCoverage]
1921
internal static class ModuleTrackerTemplate
2022
{

0 commit comments

Comments
 (0)