3 references to MakeDynamicConversion
Microsoft.CodeAnalysis.CSharp (3)
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (1)
447
return _dynamicFactory.
MakeDynamicConversion
(
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
538
return _dynamicFactory.
MakeDynamicConversion
(rewrittenOperand, explicitCastInCode || conversion.Kind == ConversionKind.ExplicitDynamic, conversion.IsArrayIndex, @checked, rewrittenType).ToExpression();
Lowering\LocalRewriter\LocalRewriter_DelegateCreationExpression.cs (1)
23
var loweredReceiver = _dynamicFactory.
MakeDynamicConversion
(loweredArgument, isExplicit: false, isArrayIndex: false, isChecked: false, resultType: node.Type).ToExpression();