11 references to NeedsToBeConverted
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder_Attributes.cs (2)
257
Debug.Assert(boundConstructorArguments.All(a => !a.
NeedsToBeConverted
()));
265
Debug.Assert(boundNamedArguments.All(arg => !arg.Right.
NeedsToBeConverted
()));
Binder\Binder_Conversions.cs (1)
67
Debug.Assert(result is BoundConversion || (conversion.IsIdentity && ((object)result == source) || source.
NeedsToBeConverted
()) || hasErrors);
Binder\Binder_Expressions.cs (5)
269
!expression.
NeedsToBeConverted
() ? expression :
284
if (!expression.
NeedsToBeConverted
())
3433
Debug.Assert(!argument.
NeedsToBeConverted
());
3574
else if (argument.
NeedsToBeConverted
())
6051
Debug.Assert(!boundMember.
NeedsToBeConverted
());
Binder\Binder_Statements.cs (1)
1487
Debug.Assert(!op1.
NeedsToBeConverted
()
Binder\Semantics\Conversions\Conversions.cs (1)
486
if (sourceExpression.
NeedsToBeConverted
())
FlowAnalysis\DefiniteAssignment.cs (1)
318
!node.
NeedsToBeConverted
() ||