2 references to RequiresAttributeOnMethod
Roslyn.Diagnostics.Analyzers (2)
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (2)
49if (RequiresAttributeOnMethod && (requiredAttributeType = GetRequiredAttributeType(compilationStartAnalysisContext.Compilation)) == null) 65if (RequiresAttributeOnMethod && !method.HasAnyAttribute(requiredAttributeType))