Skip to content

Commit

Permalink
Fixed false-positive warning
Browse files Browse the repository at this point in the history
See: dotnet/roslyn-analyzers#5828 for more info
  • Loading branch information
acizmarik committed Feb 3, 2023
1 parent 3dad60c commit aa88b4e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public sealed class UnsupportedCallSiteAttributeAnalyzer : DiagnosticAnalyzer
private const string unsupportedCallSiteAttributeMetadataName = "DotVVM.Framework.CodeAnalysis.UnsupportedCallSiteAttribute";
private const int callSiteTypeServerUnderlyingValue = 0;

public static DiagnosticDescriptor DoNotInvokeMethodFromUnsupportedCallSite = new(
public static DiagnosticDescriptor DoNotInvokeMethodFromUnsupportedCallSite = new DiagnosticDescriptor(
DotvvmDiagnosticIds.DoNotInvokeMethodFromUnsupportedCallSiteRuleId,
unsupportedCallSiteTitle,
unsupportedCallSiteMessage,
Expand Down

0 comments on commit aa88b4e

Please sign in to comment.