22 references to ConversionForAssignmentFlags
Microsoft.CodeAnalysis.CSharp (22)
Binder\Binder_Expressions.cs (1)
511defaultValueBinder.GenerateConversionForAssignment(parameter.Type, valueBeforeConversion, diagnostics, ConversionForAssignmentFlags.DefaultParameter));
Binder\Binder_InterpolatedString.cs (1)
360ConversionForAssignmentFlags.InterpolatedString);
Binder\Binder_Operators.cs (4)
202ConversionForAssignmentFlags.CompoundAssignment | 203(isPredefinedOperator ? ConversionForAssignmentFlags.PredefinedOperator : ConversionForAssignmentFlags.None)); 2337BoundExpression resultConversion = GenerateConversionForAssignment(operandType, resultPlaceholder, diagnostics, ConversionForAssignmentFlags.IncrementAssignment);
Binder\Binder_Statements.cs (15)
1064localSymbol.RefKind != RefKind.None ? ConversionForAssignmentFlags.RefAssignment : ConversionForAssignmentFlags.None); 1489var conversion = GenerateConversionForAssignment(op1.Type, op2, diagnostics, isRef ? ConversionForAssignmentFlags.RefAssignment : ConversionForAssignmentFlags.None); 1917internal BoundExpression GenerateConversionForAssignment(TypeSymbol targetType, BoundExpression expression, BindingDiagnosticBag diagnostics, ConversionForAssignmentFlags flags = ConversionForAssignmentFlags.None) 1920internal BoundExpression GenerateConversionForAssignment(TypeSymbol targetType, BoundExpression expression, BindingDiagnosticBag diagnostics, out Conversion conversion, ConversionForAssignmentFlags flags = ConversionForAssignmentFlags.None) 1940conversion = (flags & (ConversionForAssignmentFlags.IncrementAssignment | ConversionForAssignmentFlags.InterpolatedString)) == 0 ? 1946if ((flags & ConversionForAssignmentFlags.RefAssignment) != 0) 1958((flags & ConversionForAssignmentFlags.CompoundAssignment) == 0 ? 1960(conversion.IsExplicit && (flags & ConversionForAssignmentFlags.PredefinedOperator) == 0))) 1966if ((flags & ConversionForAssignmentFlags.DefaultParameter) == 0) 1968if ((flags & ConversionForAssignmentFlags.InterpolatedString) != 0)
Symbols\Source\SourceComplexParameterSymbol.cs (1)
405valueBeforeConversion, diagnostics, Binder.ConversionForAssignmentFlags.DefaultParameter);