7 instantiations of ConversionOperation
Microsoft.CodeAnalysis (7)
Generated\Operations.Generated.cs (1)
10899
return new
ConversionOperation
(Visit(internalOperation.Operand), internalOperation.ConversionConvertible, internalOperation.IsTryCast, internalOperation.IsChecked, internalOperation.OwningSemanticModel, internalOperation.Syntax, internalOperation.Type, internalOperation.OperationConstantValue, internalOperation.IsImplicit);
Operations\ControlFlowGraphBuilder.cs (6)
2452
return new
ConversionOperation
(condition, _compilation.ClassifyConvertibleConversion(condition, binOp.Type, out _), isTryCast: false, isChecked: false,
2458
return new
ConversionOperation
(operand, _compilation.ClassifyConvertibleConversion(operand, type, out ConstantValue? constantValue), isTryCast: false, isChecked: false,
3025
convertedTestExpression = new
ConversionOperation
(possiblyUnwrappedValue, ((CoalesceOperation)operation).ValueConversionConvertible,
4214
return new
ConversionOperation
(operand, _compilation.ClassifyConvertibleConversion(operand, iDisposable, out var constantValue), isTryCast, isChecked: false,
4563
operand = new
ConversionOperation
(operand, conversionOpt, isTryCast: false, isChecked: false, semanticModel: null,
7424
return new
ConversionOperation
(VisitRequired(operation.Operand), ((ConversionOperation)operation).ConversionConvertible, operation.IsTryCast, operation.IsChecked, semanticModel: null, operation.Syntax, operation.Type, operation.GetConstantValue(), IsImplicit(operation));
3 references to ConversionOperation
Microsoft.CodeAnalysis (3)
Generated\Operations.Generated.cs (2)
10898
var
internalOperation = (
ConversionOperation
)operation;
Operations\ControlFlowGraphBuilder.cs (1)
7424
return new ConversionOperation(VisitRequired(operation.Operand), ((
ConversionOperation
)operation).ConversionConvertible, operation.IsTryCast, operation.IsChecked, semanticModel: null, operation.Syntax, operation.Type, operation.GetConstantValue(), IsImplicit(operation));