1 implementation of TypeOperand
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
6735
public ITypeSymbol
TypeOperand
{ get; }
8 references to TypeOperand
Microsoft.CodeAnalysis (2)
Generated\Operations.Generated.cs (1)
1898
/// Represents an operation that gets <see cref="System.Type" /> for the given <see cref="
TypeOperand
" />.
Operations\ControlFlowGraphBuilder.cs (1)
6938
return new TypeOfOperation(operation.
TypeOperand
, semanticModel: null, operation.Syntax, operation.Type, IsImplicit(operation));
Microsoft.CodeAnalysis.CodeStyle (2)
AbstractConvertTypeOfToNameOfDiagnosticAnalyzer.cs (2)
77
if (typeofOperation.
TypeOperand
is IErrorTypeSymbol)
82
return typeofOperation.
TypeOperand
is INamedTypeSymbol namedType && namedType.TypeArguments.Length == 0;
Microsoft.CodeAnalysis.Features (2)
AbstractConvertTypeOfToNameOfDiagnosticAnalyzer.cs (2)
77
if (typeofOperation.
TypeOperand
is IErrorTypeSymbol)
82
return typeofOperation.
TypeOperand
is INamedTypeSymbol namedType && namedType.TypeArguments.Length == 0;
Microsoft.CodeAnalysis.Test.Utilities (2)
Compilation\OperationTreeVerifier.cs (1)
1342
LogType(operation.
TypeOperand
, "TypeOperand");
Compilation\TestOperationVisitor.cs (1)
914
Assert.NotNull(operation.
TypeOperand
);