1 implementation of IAttributeOperation
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
10555internal sealed partial class AttributeOperation : Operation, IAttributeOperation
21 references to IAttributeOperation
ILLink.RoslynAnalyzer (3)
DataFlow\LocalDataFlowAnalysis.cs (2)
76 if (OperationBlock is IAttributeOperation attribute) { 96 void AnalyzeAttribute (ISymbol owningSymbol, IAttributeOperation attribute)
DataFlow\LocalDataFlowVisitor.cs (1)
273 if (OwningSymbol is IPropertySymbol && (ControlFlowGraph.OriginalOperation is not IAttributeOperation))
Microsoft.CodeAnalysis (6)
Generated\OperationKind.Generated.cs (1)
280/// <summary>Indicates an <see cref="IAttributeOperation"/>.</summary>
Generated\Operations.Generated.cs (3)
11386public override IOperation VisitAttribute(IAttributeOperation operation, object? argument) 11544public virtual void VisitAttribute(IAttributeOperation operation) => DefaultVisit(operation); 11683public virtual TResult? VisitAttribute(IAttributeOperation operation, TArgument argument) => DefaultVisit(operation, argument);
Operations\ControlFlowGraph.cs (1)
145public static ControlFlowGraph Create(Operations.IAttributeOperation attribute, CancellationToken cancellationToken = default)
Operations\ControlFlowGraphBuilder.cs (1)
8095public override IOperation VisitAttribute(IAttributeOperation operation, int? captureIdForResult)
Microsoft.CodeAnalysis.CodeStyle (1)
src\Analyzers\Core\Analyzers\RemoveUnnecessarySuppressions\SuppressMessageAttributeState.cs (1)
51var operation = (model.GetOperation(attributeSyntax, cancellationToken) as IAttributeOperation)?.Operation;
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\Analyzers\RemoveUnnecessarySuppressions\SuppressMessageAttributeState.cs (1)
51var operation = (model.GetOperation(attributeSyntax, cancellationToken) as IAttributeOperation)?.Operation;
Microsoft.CodeAnalysis.Test.Utilities (4)
Compilation\ControlFlowGraphVerifier.cs (1)
68case IAttributeOperation attributeOperation:
Compilation\OperationTreeVerifier.cs (2)
2197public override void VisitAttribute(IAttributeOperation operation) 2199LogString(nameof(IAttributeOperation));
Compilation\TestOperationVisitor.cs (1)
1824public override void VisitAttribute(IAttributeOperation operation)
Microsoft.Interop.ComInterfaceGenerator (2)
Analyzers\ComHostingDoesNotSupportGeneratedComInterfaceAnalyzer.cs (2)
43IAttributeOperation attr = (IAttributeOperation)context.Operation;
Microsoft.Interop.LibraryImportGenerator (4)
Analyzers\CustomMarshallerAttributeAnalyzer.cs (2)
644IAttributeOperation attr = (IAttributeOperation)context.Operation;
Analyzers\NativeMarshallingAttributeAnalyzer.cs (2)
86IAttributeOperation attr = (IAttributeOperation)context.Operation;