From 9164a6cece8b761dcc8011d5ab896ccf1c7aecac Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Mon, 2 Oct 2017 13:18:18 +0200 Subject: [PATCH] removes compilation warnings from generated code --- Yavsc/Attributes/Validation/RequiredAttribute.cs | 1 - Yavsc/Controllers/BugController.cs | 2 -- Yavsc/Controllers/FeatureController.cs | 2 -- Yavsc/Migrations/20171002023107_Features.Designer.cs | 1 - Yavsc/Migrations/20171002023107_Features.cs | 1 - Yavsc/Migrations/20171002023835_bugs.Designer.cs | 1 - Yavsc/Migrations/20171002023835_bugs.cs | 2 -- Yavsc/Migrations/ApplicationDbContextModelSnapshot.cs | 2 -- Yavsc/Models/Cratie/Option.cs | 2 -- Yavsc/Resources/YavscLocalisation.cs | 1 - Yavsc/ViewComponents/TaggerComponent.cs | 1 - 11 files changed, 16 deletions(-) diff --git a/Yavsc/Attributes/Validation/RequiredAttribute.cs b/Yavsc/Attributes/Validation/RequiredAttribute.cs index 474feed5..d31edcc0 100644 --- a/Yavsc/Attributes/Validation/RequiredAttribute.cs +++ b/Yavsc/Attributes/Validation/RequiredAttribute.cs @@ -1,5 +1,4 @@ using System; -using System.Resources; namespace Yavsc.Attributes.Validation { diff --git a/Yavsc/Controllers/BugController.cs b/Yavsc/Controllers/BugController.cs index f1870f2b..1a7f4656 100644 --- a/Yavsc/Controllers/BugController.cs +++ b/Yavsc/Controllers/BugController.cs @@ -1,7 +1,5 @@ -using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Rendering; using Microsoft.Data.Entity; using Yavsc.Models; using Yavsc.Models.IT.Fixing; diff --git a/Yavsc/Controllers/FeatureController.cs b/Yavsc/Controllers/FeatureController.cs index 6e442efd..09e6ce68 100644 --- a/Yavsc/Controllers/FeatureController.cs +++ b/Yavsc/Controllers/FeatureController.cs @@ -1,7 +1,5 @@ -using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Mvc; -using Microsoft.AspNet.Mvc.Rendering; using Microsoft.Data.Entity; using Yavsc.Models; using Yavsc.Models.IT.Maintaining; diff --git a/Yavsc/Migrations/20171002023107_Features.Designer.cs b/Yavsc/Migrations/20171002023107_Features.Designer.cs index 8bf0a17e..8055a6cd 100644 --- a/Yavsc/Migrations/20171002023107_Features.Designer.cs +++ b/Yavsc/Migrations/20171002023107_Features.Designer.cs @@ -1,7 +1,6 @@ using System; using Microsoft.Data.Entity; using Microsoft.Data.Entity.Infrastructure; -using Microsoft.Data.Entity.Metadata; using Microsoft.Data.Entity.Migrations; using Yavsc.Models; diff --git a/Yavsc/Migrations/20171002023107_Features.cs b/Yavsc/Migrations/20171002023107_Features.cs index 3e08b693..02338b09 100644 --- a/Yavsc/Migrations/20171002023107_Features.cs +++ b/Yavsc/Migrations/20171002023107_Features.cs @@ -1,5 +1,4 @@ using System; -using System.Collections.Generic; using Microsoft.Data.Entity.Migrations; namespace Yavsc.Migrations diff --git a/Yavsc/Migrations/20171002023835_bugs.Designer.cs b/Yavsc/Migrations/20171002023835_bugs.Designer.cs index e3f4f37b..98d96d65 100644 --- a/Yavsc/Migrations/20171002023835_bugs.Designer.cs +++ b/Yavsc/Migrations/20171002023835_bugs.Designer.cs @@ -1,7 +1,6 @@ using System; using Microsoft.Data.Entity; using Microsoft.Data.Entity.Infrastructure; -using Microsoft.Data.Entity.Metadata; using Microsoft.Data.Entity.Migrations; using Yavsc.Models; diff --git a/Yavsc/Migrations/20171002023835_bugs.cs b/Yavsc/Migrations/20171002023835_bugs.cs index e5bf8129..89344282 100644 --- a/Yavsc/Migrations/20171002023835_bugs.cs +++ b/Yavsc/Migrations/20171002023835_bugs.cs @@ -1,5 +1,3 @@ -using System; -using System.Collections.Generic; using Microsoft.Data.Entity.Migrations; namespace Yavsc.Migrations diff --git a/Yavsc/Migrations/ApplicationDbContextModelSnapshot.cs b/Yavsc/Migrations/ApplicationDbContextModelSnapshot.cs index 7443ae1e..1471a9a5 100644 --- a/Yavsc/Migrations/ApplicationDbContextModelSnapshot.cs +++ b/Yavsc/Migrations/ApplicationDbContextModelSnapshot.cs @@ -1,8 +1,6 @@ using System; using Microsoft.Data.Entity; using Microsoft.Data.Entity.Infrastructure; -using Microsoft.Data.Entity.Metadata; -using Microsoft.Data.Entity.Migrations; using Yavsc.Models; namespace Yavsc.Migrations diff --git a/Yavsc/Models/Cratie/Option.cs b/Yavsc/Models/Cratie/Option.cs index 47f6b0fb..347fdf87 100644 --- a/Yavsc/Models/Cratie/Option.cs +++ b/Yavsc/Models/Cratie/Option.cs @@ -1,6 +1,4 @@ using System; -using System.ComponentModel.DataAnnotations; -using System.ComponentModel.DataAnnotations.Schema; namespace Yavsc.Models.Cratie { diff --git a/Yavsc/Resources/YavscLocalisation.cs b/Yavsc/Resources/YavscLocalisation.cs index 59c37353..2e7a3636 100644 --- a/Yavsc/Resources/YavscLocalisation.cs +++ b/Yavsc/Resources/YavscLocalisation.cs @@ -1,5 +1,4 @@ using System.IO; -using System.Reflection; using System.Resources; namespace Yavsc.Resources diff --git a/Yavsc/ViewComponents/TaggerComponent.cs b/Yavsc/ViewComponents/TaggerComponent.cs index 1edd1b4a..c8580d85 100644 --- a/Yavsc/ViewComponents/TaggerComponent.cs +++ b/Yavsc/ViewComponents/TaggerComponent.cs @@ -1,4 +1,3 @@ -using System.Linq; using Microsoft.AspNet.Mvc; using Microsoft.Extensions.Localization; using Microsoft.Extensions.Logging;