1 implementation of IUsingOperation
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
4797internal sealed partial class UsingOperation : Operation, IUsingOperation
22 references to IUsingOperation
Microsoft.Analyzers.Extra (2)
AsyncCallInsideUsingBlockAnalyzer.cs (2)
59var operation = (IUsingOperation)analysisContext.Operation;
Microsoft.CodeAnalysis (6)
Generated\OperationKind.Generated.cs (1)
43/// <summary>Indicates an <see cref="IUsingOperation"/>.</summary>
Generated\Operations.Generated.cs (4)
521/// Locals declared within the <see cref="Resources" /> with scope spanning across this entire <see cref="IUsingOperation" />. 10861public override IOperation VisitUsing(IUsingOperation operation, object? argument) 11429public virtual void VisitUsing(IUsingOperation operation) => DefaultVisit(operation); 11568public virtual TResult? VisitUsing(IUsingOperation operation, TArgument argument) => DefaultVisit(operation, argument);
Operations\ControlFlowGraphBuilder.cs (1)
3947public override IOperation? VisitUsing(IUsingOperation operation, int? captureIdForResult)
Microsoft.CodeAnalysis.CSharp (1)
Operations\CSharpOperationFactory.cs (1)
2029private IUsingOperation CreateBoundUsingStatementOperation(BoundUsingStatement boundUsingStatement)
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
src\Analyzers\CSharp\Analyzers\UseSimpleUsingStatement\UseSimpleUsingStatementDiagnosticAnalyzer.cs (4)
152var usingOperation = (IUsingOperation)semanticModel.GetRequiredOperation(current, cancellationToken); 157var innerUsingOperation = (IUsingOperation)semanticModel.GetRequiredOperation(innermostUsing, cancellationToken);
Microsoft.CodeAnalysis.CSharp.Features (4)
src\Analyzers\CSharp\Analyzers\UseSimpleUsingStatement\UseSimpleUsingStatementDiagnosticAnalyzer.cs (4)
152var usingOperation = (IUsingOperation)semanticModel.GetRequiredOperation(current, cancellationToken); 157var innerUsingOperation = (IUsingOperation)semanticModel.GetRequiredOperation(innermostUsing, cancellationToken);
Microsoft.CodeAnalysis.Test.Utilities (3)
Compilation\OperationTreeVerifier.cs (2)
741public override void VisitUsing(IUsingOperation operation) 743LogString(nameof(IUsingOperation));
Compilation\TestOperationVisitor.cs (1)
460public override void VisitUsing(IUsingOperation operation)
Roslyn.Compilers.VisualBasic.IOperation.UnitTests (2)
IOperation\IOperationTests_IUsingStatement.vb (2)
43Dim op = DirectCast(comp.GetSemanticModel(tree).GetOperation(node), IUsingOperation) 83Dim op = DirectCast(comp.GetSemanticModel(tree).GetOperation(node), IUsingOperation)