Exemple #1
0
 public BoundConversion(
     SyntaxNode syntax,
     BoundExpression operand,
     Conversion conversion,
     bool @checked,
     bool explicitCastInCode,
     ConversionGroup conversionGroupOpt,
     ConstantValue constantValueOpt,
     TypeSymbol type,
     bool hasErrors = false)
     : this(
         syntax,
         operand,
         conversion,
         isBaseConversion : false,
         @checked : @checked,
         explicitCastInCode : explicitCastInCode,
         constantValueOpt : constantValueOpt,
         conversionGroupOpt,
         type : type,
         hasErrors : hasErrors || !conversion.IsValid)
 {
     OriginalUserDefinedConversionsOpt = conversion.OriginalUserDefinedConversions;
 }