33 references to BoundConversion
Microsoft.CodeAnalysis.CSharp (33)
Binder\Binder_Conversions.cs (14)
162return new BoundConversion( 177return new BoundConversion( 198return new BoundConversion( 242return new BoundConversion( 288return new BoundConversion( 761expr = new BoundConversion( 2029return new BoundConversion( 2111userDefinedConversion = new BoundConversion( 2149userDefinedConversion = new BoundConversion( 2208expr = new BoundConversion(syntax, source, conversion, @checked: false, explicitCastInCode: isCast, conversionGroup, constantValueOpt: ConstantValue.NotAvailable, type: delegateType, hasErrors: true) { WasCompilerGenerated = source.WasCompilerGenerated }; 2244return new BoundConversion( 2275return new BoundConversion(syntax, group, conversion, @checked: false, explicitCastInCode: isCast, conversionGroup, constantValueOpt: ConstantValue.NotAvailable, type: destination, hasErrors: hasErrors) { WasCompilerGenerated = group.WasCompilerGenerated }; 2521result = new BoundConversion( 2536result = new BoundConversion(
Binder\Binder_Deconstruct.cs (3)
132new BoundConversion(boundRHS.Syntax, boundRHS, Conversion.Deconstruction, @checked: false, explicitCastInCode: false, conversionGroupOpt: null, 161var boundConversion = new BoundConversion( 310nestedConversions.Add((operandPlaceholder, new BoundConversion(syntax, operandPlaceholder, nestedConversion,
Binder\Binder_Expressions.cs (2)
3877return new BoundConversion( 9037expr = new BoundConversion(
Binder\Binder_Invocation.cs (1)
1816collection = new BoundConversion(
Binder\ForEachLoopBinder.cs (2)
660convertedCollectionExpression = new BoundConversion( 1574collectionExpr = new BoundConversion(
BoundTree\Constructors.cs (1)
359return new BoundConversion(
Lowering\DiagnosticsPass_Warnings.cs (1)
291left = new BoundConversion(left.Syntax, left, conversion, node.Operator.Kind.IsChecked(),
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (4)
1018return new BoundConversion( 1134var result = new BoundConversion(syntax, rewrittenOperand, new Conversion(conversionKind, method, false), @checked, explicitCastInCode: explicitCastInCode, conversionGroup, constantValueOpt: null, rewrittenType); 1139return new BoundConversion(syntax, rewrittenOperand, conversion, @checked, explicitCastInCode: explicitCastInCode, conversionGroup, constantValueOpt: null, rewrittenType); 1742return new BoundConversion(syntax, operand, conversion, @checked: false, explicitCastInCode: false, conversionGroupOpt: null, constantValueOpt: constantValueOpt, type: toType);
Lowering\LocalRewriter\LocalRewriter_TupleBinaryOperator.cs (4)
70var newArgument = new BoundConversion( 120var convertedFieldAccess = new BoundConversion( 213return new BoundConversion( 474return new BoundConversion(
Lowering\SyntheticBoundNodeFactory.cs (1)
1534return new BoundConversion(Syntax, arg, conversion, @checked: isChecked, explicitCastInCode: true, conversionGroupOpt: null, null, type) { WasCompilerGenerated = true };