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