Fix all new code style warnings
このコミットが含まれているのは:
1 親
10ef020591
コミット
a5aff06390
37ファイル変更
+55
-52
検索条件に一致するファイルはありません
+1
-1
@@ -12,7 +12,7 @@ namespace ComputeSharp.SourceGeneration.Diagnostics;
|
||||
public abstract class MissingAllowUnsafeBlocksCompilationOptionAnalyzerBase(DiagnosticDescriptor diagnosticDescriptor) : DiagnosticAnalyzer
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(diagnosticDescriptor);
|
||||
public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = [diagnosticDescriptor];
|
||||
|
||||
/// <inheritdoc/>
|
||||
public sealed override void Initialize(AnalysisContext context)
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ public abstract class NotAccessibleFieldTypeInGeneratedShaderDescriptorAttribute
|
||||
string generatedShaderDescriptorFullyQualifiedTypeName) : DiagnosticAnalyzer
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(diagnosticDescriptor);
|
||||
public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = [diagnosticDescriptor];
|
||||
|
||||
/// <inheritdoc/>
|
||||
public sealed override void Initialize(AnalysisContext context)
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ public abstract class NotAccessibleGeneratedShaderDescriptorAttributeTargetAnaly
|
||||
string generatedShaderDescriptorFullyQualifiedTypeName) : DiagnosticAnalyzer
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(diagnosticDescriptor);
|
||||
public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = [diagnosticDescriptor];
|
||||
|
||||
/// <inheritdoc/>
|
||||
public sealed override void Initialize(AnalysisContext context)
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ public abstract class NotReadOnlyShaderTypeWithFieldsAnalyzerBase(
|
||||
ImmutableArray<string> shaderInterfaceTypeFullyQualifiedMetadataNames) : DiagnosticAnalyzer
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(diagnosticDescriptor);
|
||||
public sealed override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = [diagnosticDescriptor];
|
||||
|
||||
/// <inheritdoc/>
|
||||
public sealed override void Initialize(AnalysisContext context)
|
||||
|
||||
+1
-1
@@ -99,7 +99,7 @@ internal static partial class ConstantBufferSyntaxProcessor
|
||||
GetInfo(
|
||||
compilation,
|
||||
structDeclarationSymbol,
|
||||
ImmutableArray<FieldPathPart>.Empty,
|
||||
[],
|
||||
ref constantBufferSizeInBytes,
|
||||
fieldBuilder);
|
||||
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする