1 implementation of ITypeOfOperation
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
7100internal sealed partial class TypeOfOperation : Operation, ITypeOfOperation
26 references to ITypeOfOperation
ConfigurationSchemaGenerator (4)
RuntimeSource\Configuration.Binder\Parser\ConfigurationBinder.cs (4)
172ITypeOfOperation? typeOfOperation = GetArgumentForParameterAtIndex(operation.Arguments, 1).ChildOperations.FirstOrDefault() as ITypeOfOperation; 227ITypeOfOperation? typeOfOperation = GetArgumentForParameterAtIndex(operation.Arguments, 1).ChildOperations.FirstOrDefault() as ITypeOfOperation;
ILLink.RoslynAnalyzer (2)
IOperationExtensions.cs (1)
121 operation.Parent is ITypeOfOperation ||
TrimAnalysis\TrimAnalysisVisitor.cs (1)
178 public override MultiValue VisitTypeOf (ITypeOfOperation typeOfOperation, StateValue state)
Microsoft.CodeAnalysis (5)
Generated\OperationKind.Generated.cs (1)
147/// <summary>Indicates an <see cref="ITypeOfOperation"/>.</summary>
Generated\Operations.Generated.cs (3)
11076public override IOperation VisitTypeOf(ITypeOfOperation operation, object? argument) 11477public virtual void VisitTypeOf(ITypeOfOperation operation) => DefaultVisit(operation); 11616public virtual TResult? VisitTypeOf(ITypeOfOperation operation, TArgument argument) => DefaultVisit(operation, argument);
Operations\ControlFlowGraphBuilder.cs (1)
7174public override IOperation VisitTypeOf(ITypeOfOperation operation, int? captureIdForResult)
Microsoft.CodeAnalysis.CodeStyle (3)
src\Analyzers\Core\Analyzers\ConvertTypeofToNameof\AbstractConvertTypeOfToNameOfDiagnosticAnalyzer.cs (2)
57var typeofOperation = (ITypeOfOperation)operation;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (1)
154ITypeOfOperation or
Microsoft.CodeAnalysis.CSharp (1)
Operations\CSharpOperationFactory.cs (1)
1194private ITypeOfOperation CreateBoundTypeOfOperatorOperation(BoundTypeOfOperator boundTypeOfOperator)
Microsoft.CodeAnalysis.Features (2)
src\Analyzers\Core\Analyzers\ConvertTypeofToNameof\AbstractConvertTypeOfToNameOfDiagnosticAnalyzer.cs (2)
57var typeofOperation = (ITypeOfOperation)operation;
Microsoft.CodeAnalysis.Test.Utilities (3)
Compilation\OperationTreeVerifier.cs (2)
1345public override void VisitTypeOf(ITypeOfOperation operation) 1347LogString(nameof(ITypeOfOperation));
Compilation\TestOperationVisitor.cs (1)
929public override void VisitTypeOf(ITypeOfOperation operation)
Microsoft.CodeAnalysis.Workspaces (2)
FindSymbols\FindReferences\Finders\AbstractReferenceFinder.cs (1)
682case ITypeOfOperation:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (1)
154ITypeOfOperation or
Microsoft.Interop.ComInterfaceGenerator (1)
Analyzers\RuntimeComApiUsageWithSourceGeneratedComAnalyzer.cs (1)
237ITypeOfOperation typeOf => (typeOf.TypeOperand, ((TypeOfExpressionSyntax)typeOf.Syntax).Type.GetLocation()),
Microsoft.Interop.LibraryImportGenerator (3)
Analyzers\CustomMarshallerAttributeAnalyzer.cs (2)
655else if (managedTypeArgument.Value is ITypeOfOperation managedTypeOfOp) 676else if (marshallerTypeArgument.Value is ITypeOfOperation marshallerTypeOfOp)
Analyzers\NativeMarshallingAttributeAnalyzer.cs (1)
98if (marshallerEntryPointTypeArgument.Value is ITypeOfOperation typeOfOp)