Skip to content

Commit 3ea39a8

Browse files
author
Bart Koelman
committed
Activate implicit usings
1 parent 8fcac12 commit 3ea39a8

File tree

544 files changed

+2
-1199
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

544 files changed

+2
-1199
lines changed

Directory.Build.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
<CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)CodingGuidelines.ruleset</CodeAnalysisRuleSet>
1111
<WarningLevel>9999</WarningLevel>
1212
<Nullable>enable</Nullable>
13+
<ImplicitUsings>enable</ImplicitUsings>
1314
<IsPackable>false</IsPackable>
1415
<WarnOnPackingNonPackableProject>false</WarnOnPackingNonPackableProject>
1516
</PropertyGroup>

benchmarks/Deserialization/DeserializationBenchmarkBase.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
using System;
2-
using System.Collections.Generic;
31
using System.ComponentModel.Design;
42
using System.Text.Json;
53
using JetBrains.Annotations;

benchmarks/Deserialization/OperationsDeserializationBenchmarks.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
using System;
21
using System.Text.Json;
32
using BenchmarkDotNet.Attributes;
43
using JsonApiDotNetCore.Configuration;

benchmarks/Deserialization/ResourceDeserializationBenchmarks.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
using System;
21
using System.Text.Json;
32
using BenchmarkDotNet.Attributes;
43
using JsonApiDotNetCore.Configuration;

benchmarks/QueryString/QueryStringParserBenchmarks.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
using System;
21
using System.ComponentModel.Design;
32
using BenchmarkDotNet.Attributes;
43
using JsonApiDotNetCore;

benchmarks/Serialization/OperationsSerializationBenchmarks.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
using System;
2-
using System.Collections.Generic;
31
using System.Text.Json;
42
using BenchmarkDotNet.Attributes;
53
using JsonApiDotNetCore.Configuration;

benchmarks/Serialization/ResourceSerializationBenchmarks.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
using System;
2-
using System.Collections.Generic;
31
using System.Collections.Immutable;
42
using System.Text.Json;
53
using BenchmarkDotNet.Attributes;

benchmarks/Serialization/SerializationBenchmarkBase.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
1-
using System;
2-
using System.Collections.Generic;
31
using System.Collections.Immutable;
42
using System.Text.Json;
53
using System.Text.Json.Serialization;
6-
using System.Threading;
7-
using System.Threading.Tasks;
84
using JetBrains.Annotations;
95
using JsonApiDotNetCore.Configuration;
106
using JsonApiDotNetCore.Middleware;

src/Examples/GettingStarted/Models/Person.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
using System.Collections.Generic;
21
using JetBrains.Annotations;
32
using JsonApiDotNetCore.Resources;
43
using JsonApiDotNetCore.Resources.Annotations;

src/Examples/GettingStarted/Program.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
using Microsoft.AspNetCore.Hosting;
2-
using Microsoft.Extensions.Hosting;
3-
41
namespace GettingStarted
52
{
63
internal static class Program

0 commit comments

Comments
 (0)