1 implementation of INameOfOperation
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
6809internal sealed partial class NameOfOperation : Operation, INameOfOperation
21 references to INameOfOperation
ILLink.RoslynAnalyzer (1)
IOperationExtensions.cs (1)
120 } else if (operation.Parent is INameOfOperation ||
Microsoft.CodeAnalysis (5)
Generated\OperationKind.Generated.cs (1)
129/// <summary>Indicates an <see cref="INameOfOperation"/>.</summary>
Generated\Operations.Generated.cs (3)
11046public override IOperation VisitNameOf(INameOfOperation operation, object? argument) 11468public virtual void VisitNameOf(INameOfOperation operation) => DefaultVisit(operation); 11607public virtual TResult? VisitNameOf(INameOfOperation operation, TArgument argument) => DefaultVisit(operation, argument);
Operations\ControlFlowGraphBuilder.cs (1)
7096public override IOperation VisitNameOf(INameOfOperation operation, int? captureIdForResult)
Microsoft.CodeAnalysis.CodeStyle (4)
src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (2)
235if (operation is { Kind: OperationKind.None, Parent: INameOfOperation { Argument: var nameofArgument } } && 443var nameofArgument = ((INameOfOperation)operationContext.Operation).Argument;
src\Analyzers\Core\Analyzers\RemoveUnusedParametersAndValues\AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.SymbolStartAnalyzer.BlockAnalyzer.cs (1)
393hasUnknownOperationNoneDescendant = operation.Parent is not INameOfOperation;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (1)
153else if (operation.Parent is INameOfOperation or
Microsoft.CodeAnalysis.CSharp (1)
Operations\CSharpOperationFactory.cs (1)
1668private INameOfOperation CreateBoundNameOfOperatorOperation(BoundNameOfOperator boundNameOfOperator)
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Analyzers\CSharp\Analyzers\UseSystemThreadingLock\CSharpUseSystemThreadingLockDiagnosticAnalyzer.cs (1)
210if (fieldReferenceOperation.Parent is INameOfOperation)
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\Analyzers\UseSystemThreadingLock\CSharpUseSystemThreadingLockDiagnosticAnalyzer.cs (1)
210if (fieldReferenceOperation.Parent is INameOfOperation)
Microsoft.CodeAnalysis.Features (3)
src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (2)
235if (operation is { Kind: OperationKind.None, Parent: INameOfOperation { Argument: var nameofArgument } } && 443var nameofArgument = ((INameOfOperation)operationContext.Operation).Argument;
src\Analyzers\Core\Analyzers\RemoveUnusedParametersAndValues\AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.SymbolStartAnalyzer.BlockAnalyzer.cs (1)
393hasUnknownOperationNoneDescendant = operation.Parent is not INameOfOperation;
Microsoft.CodeAnalysis.Test.Utilities (3)
Compilation\OperationTreeVerifier.cs (2)
1415public override void VisitNameOf(INameOfOperation operation) 1417LogString(nameof(INameOfOperation));
Compilation\TestOperationVisitor.cs (1)
995public override void VisitNameOf(INameOfOperation operation)
Microsoft.CodeAnalysis.Workspaces (2)
FindSymbols\FindReferences\Finders\AbstractReferenceFinder.cs (1)
681case INameOfOperation:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (1)
153else if (operation.Parent is INameOfOperation or