10 references to NeedsToBeConverted
Microsoft.CodeAnalysis.CSharp (10)
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
())
3401
Debug.Assert(!argument.
NeedsToBeConverted
());
3542
else if (argument.
NeedsToBeConverted
())
6019
Debug.Assert(!boundMember.
NeedsToBeConverted
());
Binder\Semantics\Conversions\Conversions.cs (1)
486
if (sourceExpression.
NeedsToBeConverted
())
FlowAnalysis\DefiniteAssignment.cs (1)
318
!node.
NeedsToBeConverted
() ||