5 references to Attribute
Microsoft.CodeAnalysis.AnalyzerUtilities (5)
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}");
src\RoslynAnalyzers\Utilities\FlowAnalysis\Extensions\ControlFlowGraphExtensions.cs (1)
47
cfg.OriginalOperation.Kind is OperationKindEx.
Attribute
or OperationKind.None or OperationKind.ParameterInitializer)