1 implementation of IConditionalAccessOperation
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
6497internal sealed partial class ConditionalAccessOperation : Operation, IConditionalAccessOperation
18 references to IConditionalAccessOperation
Microsoft.Analyzers.Extra (2)
ConditionalAccessAnalyzer.cs (2)
34var op = (IConditionalAccessOperation)operationAnalysisContext.Operation;
Microsoft.CodeAnalysis (10)
Generated\FlowAnalysis.Generated.cs (1)
66/// and <see cref="IConditionalAccessOperation" /> nodes.
Generated\OperationKind.Generated.cs (1)
114/// <summary>Indicates an <see cref="IConditionalAccessOperation"/>.</summary>
Generated\Operations.Generated.cs (4)
1623/// Represents the value of a conditionally-accessed operation within <see cref="IConditionalAccessOperation.WhenNotNull" />. 11016public override IOperation VisitConditionalAccess(IConditionalAccessOperation operation, object? argument) 11460public virtual void VisitConditionalAccess(IConditionalAccessOperation operation) => DefaultVisit(operation); 11599public virtual TResult? VisitConditionalAccess(IConditionalAccessOperation operation, TArgument argument) => DefaultVisit(operation, argument);
Operations\ControlFlowGraphBuilder.ConditionalAccessOperationTracker.cs (1)
17/// Represents the stack <see cref="IConditionalAccessOperation.Operation"/>s of a tree of conditional accesses. The top of the stack is the
Operations\ControlFlowGraphBuilder.cs (3)
3360public override IOperation? VisitConditionalAccess(IConditionalAccessOperation operation, int? captureIdForResult) 3376IConditionalAccessOperation currentConditionalAccess = operation; 3398if (currentConditionalAccess.WhenNotNull is not IConditionalAccessOperation nested)
Microsoft.CodeAnalysis.CSharp (1)
Operations\CSharpOperationFactory.cs (1)
1705private IConditionalAccessOperation CreateBoundConditionalAccessOperation(BoundConditionalAccess boundConditionalAccess)
Microsoft.CodeAnalysis.Test.Utilities (5)
Compilation\OperationTreeVerifier.cs (2)
1141public override void VisitConditionalAccess(IConditionalAccessOperation operation) 1143LogString(nameof(IConditionalAccessOperation));
Compilation\TestOperationVisitor.cs (1)
726public override void VisitConditionalAccess(IConditionalAccessOperation operation)
Diagnostics\OperationTestAnalyzer.cs (2)
1845IConditionalAccessOperation conditionalAccess = (IConditionalAccessOperation)operationContext.Operation;