4 references to Attribute
Text.Analyzers (4)
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\ComputationalComplexityMetrics.cs (2)
105
if ((operationBlock.Kind is OperationKind.None or OperationKindEx.
Attribute
) &&
331
return !operation.DescendantsAndSelf().All(o => o.IsImplicit || (!o.ConstantValue.HasValue && o.Type == null && o.Kind is not (OperationKind.Branch or OperationKindEx.
Attribute
)));
src\RoslynAnalyzers\Utilities\Compiler\CodeMetrics\MetricsHelper.cs (1)
271
case OperationKindEx.
Attribute
:
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IOperationExtensions.cs (1)
493
Debug.Assert(operation.Kind is OperationKind.None or OperationKindEx.
Attribute
, $"Unexpected root operation kind: {operation.Kind}");