Bump StyleCop.Analyzers 1.2.0-beta.507 (#3134)

This commit is contained in:
Piotr Kiełkowicz 2023-11-20 11:29:02 +01:00 committed by GitHub
parent 721e24effb
commit d18fb11d6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 20 additions and 20 deletions

View File

@ -7,7 +7,7 @@
<!-- StyleCop -->
<ItemGroup>
<GlobalPackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.435" PrivateAssets="all" />
<GlobalPackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.507" PrivateAssets="all" />
<AdditionalFiles Include="$(MSBuildThisFileDirectory)stylecop.json" Link="stylecop.json" />
<Compile Include="$(MSBuildThisFileDirectory)GlobalSuppressions.cs" Link="GlobalSuppressions.solution.cs" />
</ItemGroup>

View File

@ -12,10 +12,10 @@ public static class ProjectsHelper
private const string TestApplicationSelector = "TestApplication.*";
private const string TestLibrarySelector = "TestLibrary.*";
private readonly static AbsolutePath SrcDirectory = NukeBuild.RootDirectory / "src";
private readonly static AbsolutePath TestDirectory = NukeBuild.RootDirectory / "test";
private readonly static AbsolutePath TestIntegrationApps = TestDirectory / "test-applications" / "integrations";
private readonly static AbsolutePath TestNuGetPackagesApps = TestDirectory / "test-applications" / "nuget-packages";
private static readonly AbsolutePath SrcDirectory = NukeBuild.RootDirectory / "src";
private static readonly AbsolutePath TestDirectory = NukeBuild.RootDirectory / "test";
private static readonly AbsolutePath TestIntegrationApps = TestDirectory / "test-applications" / "integrations";
private static readonly AbsolutePath TestNuGetPackagesApps = TestDirectory / "test-applications" / "nuget-packages";
public static IEnumerable<Project> GetManagedSrcProjects(this Solution solution)
{

View File

@ -15,6 +15,7 @@
// </copyright>
namespace OpenTelemetry.AutoInstrumentation.CallTarget.Handlers.Continuations;
#if NET6_0_OR_GREATER
internal class ValueTaskContinuationGenerator<TIntegration, TTarget, TReturn> : ContinuationGenerator<TTarget, TReturn>
{

View File

@ -17,6 +17,7 @@
#pragma warning disable SA1649 // File name must match first type name
namespace OpenTelemetry.AutoInstrumentation.CallTarget.Handlers.Continuations;
#if NET6_0_OR_GREATER
internal class ValueTaskContinuationGenerator<TIntegration, TTarget, TReturn, TResult> : ContinuationGenerator<TTarget, TReturn>
{

View File

@ -19,6 +19,7 @@ using System.Reflection;
using System.Runtime.CompilerServices;
namespace OpenTelemetry.AutoInstrumentation.Configurations;
internal static class ServiceNameConfigurator
{
internal static string GetFallbackServiceName()

View File

@ -21,6 +21,7 @@ using Xunit.Abstractions;
using static OpenTelemetry.Proto.Trace.V1.Span.Types;
namespace IntegrationTests;
public abstract class WcfTestsBase : TestHelper, IDisposable
{
private readonly string _testAppName;

View File

@ -13,7 +13,7 @@ namespace StarWars;
/// "name": "Boba Fett"
/// }
/// }
/// }
/// }.
/// </example>
public class StarWarsMutation : ObjectGraphType
{

View File

@ -10,7 +10,7 @@ namespace StarWars;
/// This is an example JSON request for a subscription
/// {
/// "query": "subscription HumanAddedSub{ humanAdded { name } }",
/// }
/// }.
/// </example>
internal class StarWarsSubscription : ObjectGraphType<object>
{

View File

@ -14,13 +14,8 @@
// limitations under the License.
// </copyright>
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
namespace TestApplication.Logs;
public class Startup
{
public Startup(IConfiguration configuration)

View File

@ -1,6 +1,7 @@
using NuGet.Frameworks;
namespace DependencyListGenerator.DotNetOutdated.Models;
public class TargetFramework
{
public TargetFramework(NuGetFramework name)

View File

@ -24,11 +24,11 @@ internal class GraphQLVersion : PackageVersion
}
[PackageDependency("GraphQL.MicrosoftDI", "GraphQLMicrosoftDI")]
required public string MicrosoftDIVersion { get; set; }
public required string MicrosoftDIVersion { get; set; }
[PackageDependency("GraphQL.Server.Transports.AspNetCore", "GraphQLServerTransportsAspNetCore")]
required public string ServerTransportsAspNetCoreVersion { get; set; }
public required string ServerTransportsAspNetCoreVersion { get; set; }
[PackageDependency("GraphQL.Server.Ui.Playground", "GraphQLServerUIPlayground")]
required public string ServerUIPlayground { get; set; }
public required string ServerUIPlayground { get; set; }
}

View File

@ -222,12 +222,12 @@ internal static class PackageVersionDefinitions
internal record PackageVersionDefinition
{
required public string IntegrationName { get; init; }
public required string IntegrationName { get; init; }
required public string NugetPackageName { get; init; }
public required string NugetPackageName { get; init; }
required public string TestApplicationName { get; init; }
public required string TestApplicationName { get; init; }
required public IReadOnlyCollection<PackageVersion> Versions { get; init; }
public required IReadOnlyCollection<PackageVersion> Versions { get; init; }
}
}