1 implementation of TypeOperand
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
7108public ITypeSymbol TypeOperand { get; }
15 references to TypeOperand
ConfigurationSchemaGenerator (2)
RuntimeSource\Configuration.Binder\Parser\ConfigurationBinder.cs (2)
173type = typeOfOperation?.TypeOperand; 228type = typeOfOperation?.TypeOperand;
ILLink.RoslynAnalyzer (1)
TrimAnalysis\TrimAnalysisVisitor.cs (1)
180 return SingleValueExtensions.FromTypeSymbol (typeOfOperation.TypeOperand) ?? TopValue;
Microsoft.CodeAnalysis (2)
Generated\Operations.Generated.cs (1)
2054/// Represents an operation that gets <see cref="System.Type" /> for the given <see cref="TypeOperand" />.
Operations\ControlFlowGraphBuilder.cs (1)
7176return new TypeOfOperation(operation.TypeOperand, semanticModel: null, operation.Syntax, operation.Type, IsImplicit(operation));
Microsoft.CodeAnalysis.CodeStyle (2)
src\Analyzers\Core\Analyzers\ConvertTypeofToNameof\AbstractConvertTypeOfToNameOfDiagnosticAnalyzer.cs (2)
74if (typeofOperation.TypeOperand is IErrorTypeSymbol) 79return typeofOperation.TypeOperand is INamedTypeSymbol namedType && namedType.TypeArguments.Length == 0;
Microsoft.CodeAnalysis.Features (2)
src\Analyzers\Core\Analyzers\ConvertTypeofToNameof\AbstractConvertTypeOfToNameOfDiagnosticAnalyzer.cs (2)
74if (typeofOperation.TypeOperand is IErrorTypeSymbol) 79return typeofOperation.TypeOperand is INamedTypeSymbol namedType && namedType.TypeArguments.Length == 0;
Microsoft.CodeAnalysis.Test.Utilities (2)
Compilation\OperationTreeVerifier.cs (1)
1351LogType(operation.TypeOperand, "TypeOperand");
Compilation\TestOperationVisitor.cs (1)
932Assert.NotNull(operation.TypeOperand);
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)
659ITypeSymbol managedTypeInAttribute = managedTypeOfOp.TypeOperand; 679ITypeSymbol? marshallerTypeInAttribute = marshallerTypeOfOp.TypeOperand;
Analyzers\NativeMarshallingAttributeAnalyzer.cs (1)
103(INamedTypeSymbol?)typeOfOp.TypeOperand);