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