50 references to Conversion
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (2)
ExpressionTrees\Sources\ExprLambdaUtils.vb (2)
170If node.Conversion IsNot Nothing Then 173Visit(node.Conversion)
System.Linq.Expressions (48)
System\Linq\Expressions\BinaryExpression.cs (31)
89/// <param name="conversion">The <see cref="Conversion"/> property of the result.</param> 94if (left == Left && right == Right && conversion == Conversion) 1374/// and the <see cref="BinaryExpression.Left"/>, <see cref="BinaryExpression.Right"/> and <see cref="BinaryExpression.Conversion"/> properties set to the specified values. 1520/// <param name="conversion">A <see cref="LambdaExpression"/> to set the <see cref="BinaryExpression.Conversion"/> property equal to.</param> 1523/// and <see cref="BinaryExpression.Conversion"/> properties set to the specified values. 1603/// <param name="conversion">A <see cref="LambdaExpression"/> to set the <see cref="BinaryExpression.Conversion"/> property equal to.</param> 1606/// and <see cref="BinaryExpression.Conversion"/> properties set to the specified values. 1734/// <param name="conversion">A <see cref="LambdaExpression"/> to set the <see cref="BinaryExpression.Conversion"/> property equal to.</param> 1737/// and <see cref="BinaryExpression.Conversion"/> properties set to the specified values. 1792/// <param name="conversion">A <see cref="LambdaExpression"/> to set the <see cref="BinaryExpression.Conversion"/> property equal to.</param> 1795/// and <see cref="BinaryExpression.Conversion"/> properties set to the specified values. 1922/// <param name="conversion">A <see cref="LambdaExpression"/> to set the <see cref="BinaryExpression.Conversion"/> property equal to.</param> 1925/// and <see cref="BinaryExpression.Conversion"/> properties set to the specified values. 2016/// <param name="conversion">A <see cref="LambdaExpression"/> to set the <see cref="BinaryExpression.Conversion"/> property equal to.</param> 2019/// and <see cref="BinaryExpression.Conversion"/> properties set to the specified values. 2110/// <param name="conversion">A <see cref="LambdaExpression"/> to set the <see cref="BinaryExpression.Conversion"/> property equal to.</param> 2113/// and <see cref="BinaryExpression.Conversion"/> properties set to the specified values. 2168/// <param name="conversion">A <see cref="LambdaExpression"/> to set the <see cref="BinaryExpression.Conversion"/> property equal to.</param> 2171/// and <see cref="BinaryExpression.Conversion"/> properties set to the specified values. 2315/// <param name="conversion">A <see cref="LambdaExpression"/> to set the <see cref="BinaryExpression.Conversion"/> property equal to.</param> 2318/// and <see cref="BinaryExpression.Conversion"/> properties set to the specified values. 2411/// <param name="conversion">A <see cref="LambdaExpression"/> to set the <see cref="BinaryExpression.Conversion"/> property equal to.</param> 2414/// and <see cref="BinaryExpression.Conversion"/> properties set to the specified values. 2506/// <param name="conversion">A <see cref="LambdaExpression"/> to set the <see cref="BinaryExpression.Conversion"/> property equal to.</param> 2509/// and <see cref="BinaryExpression.Conversion"/> properties set to the specified values. 2600/// <param name="conversion">A <see cref="LambdaExpression"/> to set the <see cref="BinaryExpression.Conversion"/> property equal to.</param> 2603/// and <see cref="BinaryExpression.Conversion"/> properties set to the specified values. 2694/// <param name="conversion">A <see cref="LambdaExpression"/> to set the <see cref="BinaryExpression.Conversion"/> property equal to.</param> 2697/// and <see cref="BinaryExpression.Conversion"/> properties set to the specified values. 2810/// <param name="conversion">A <see cref="LambdaExpression"/> to set the <see cref="BinaryExpression.Conversion"/> property equal to.</param> 2813/// and <see cref="BinaryExpression.Conversion"/> properties set to the specified values.
System\Linq\Expressions\Compiler\LambdaCompiler.Logical.cs (9)
98if (b.Conversion != null) 124if (b.Conversion != null) 126Debug.Assert(b.Conversion.ParameterCount == 1); 127ParameterExpression p = b.Conversion.GetParameter(0); 132EmitLambdaExpression(b.Conversion); 146_ilg.Emit(OpCodes.Callvirt, b.Conversion.Type.GetInvokeMethod()); 189Debug.Assert(b.Conversion!.ParameterCount == 1); 192EmitLambdaExpression(b.Conversion); 199_ilg.Emit(OpCodes.Callvirt, b.Conversion.Type.GetInvokeMethod());
System\Linq\Expressions\Compiler\StackSpiller.cs (2)
221Result conversion = RewriteExpression(node.Conversion, stack); 262cr.Add(node.Conversion);
System\Linq\Expressions\Expression.DebuggerProxy.cs (1)
23public LambdaExpression? Conversion => _node.Conversion;
System\Linq\Expressions\ExpressionVisitor.cs (1)
199VisitAndConvert(node.Conversion, nameof(VisitBinary)),
System\Linq\Expressions\Interpreter\LightCompiler.cs (4)
2595bool hasConversion = node.Conversion != null; 2640if (node.Conversion != null) 2647Expression.Call(node.Conversion, node.Conversion.Type.GetInvokeMethod(), new[] { temp })