Add CompilerGenerated attribute to the tracker (#1229)

Add CompilerGenerated attribute to the tracker
This commit is contained in:
Marco Rossignoli
2021-10-02 18:05:02 +02:00
committed by GitHub
parent c6dddb519c
commit 278b3189d9
5 changed files with 10 additions and 8 deletions
+2 -2
View File
@@ -9,8 +9,8 @@ steps:
- task: UseDotNet@2
inputs:
version: 5.0.101
displayName: Install .NET Core SDK 5.0.101
version: 5.0.401
displayName: Install .NET Core SDK 5.0.401
- task: NuGetAuthenticate@0
displayName: Authenticate with NuGet feeds
+3 -3
View File
@@ -15,7 +15,7 @@ jobs:
Release:
buildConfiguration: "Release"
pool:
vmImage: 'windows-2019'
vmImage: 'windows-latest'
steps:
- template: build.yml
- task: CopyFiles@2
@@ -45,7 +45,7 @@ jobs:
Release:
buildConfiguration: "Release"
pool:
vmImage: 'macOS-10.14'
vmImage: 'macOS-latest'
steps:
- template: build.yml
@@ -59,6 +59,6 @@ jobs:
Release:
buildConfiguration: "Release"
pool:
vmImage: 'ubuntu-16.04'
vmImage: 'ubuntu-latest'
steps:
- template: build.yml
+2 -2
View File
@@ -6,8 +6,8 @@ steps:
- task: UseDotNet@2
inputs:
version: 5.0.101
displayName: Install .NET Core SDK 5.0.101
version: 5.0.401
displayName: Install .NET Core SDK 5.0.401
- script: dotnet restore
displayName: Restore packages
+1 -1
View File
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "5.0.101",
"version": "5.0.401",
"rollForward": "latestMajor"
}
}
@@ -3,6 +3,7 @@ using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Threading;
namespace Coverlet.Core.Instrumentation
@@ -15,6 +16,7 @@ namespace Coverlet.Core.Instrumentation
/// As this type is going to be customized for each instrumented module it doesn't follow typical practices
/// regarding visibility of members, etc.
/// </remarks>
[CompilerGenerated]
[ExcludeFromCodeCoverage]
internal static class ModuleTrackerTemplate
{