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