2 references to ThreadStaticInitializedInlineRule
Microsoft.CodeAnalysis.NetAnalyzers (2)
Microsoft.NetCore.Analyzers\Runtime\UseThreadStaticCorrectly.cs (2)
47
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(ThreadStaticOnNonStaticFieldRule,
ThreadStaticInitializedInlineRule
);
94
context.ReportDiagnostic(fieldInit.CreateDiagnostic(
ThreadStaticInitializedInlineRule
));