104 references to NoConversion
Microsoft.CodeAnalysis.CSharp (104)
Binder\Binder_Patterns.cs (5)
517patternExpressionConversion = Conversion.NoConversion; 538patternExpressionConversion = Conversion.NoConversion; 640patternExpressionConversion = Conversion.NoConversion; 647patternExpressionConversion = Conversion.NoConversion; 676patternExpressionConversion = Conversion.NoConversion;
Binder\Binder_Statements.cs (3)
2644return BoundConversion.Synthesized(node, BindToTypeForErrorRecovery(expr), Conversion.NoConversion, false, explicitCastInCode: false, conversionGroupOpt: null, ConstantValue.NotAvailable, boolean, hasErrors: true); 2710return BoundConversion.Synthesized(node, expr, Conversion.NoConversion, false, explicitCastInCode: false, conversionGroupOpt: null, ConstantValue.NotAvailable, boolean, hasErrors: true); 3141conversion = Conversion.NoConversion;
Binder\Semantics\Conversions\Conversion.cs (2)
1084return best == null ? Conversion.NoConversion : best.SourceConversion; 1096return best == null ? Conversion.NoConversion : best.TargetConversion;
Binder\Semantics\Conversions\Conversions.cs (18)
49return Conversion.NoConversion; 55return Conversion.NoConversion; 106Conversion.NoConversion : 123Conversion.NoConversion : 135return Conversion.NoConversion; 145return Conversion.NoConversion; 153? Conversion.InterpolatedString : Conversion.NoConversion; 168return Conversion.NoConversion; 177return Conversion.NoConversion; 193return Conversion.NoConversion; 199return Conversion.NoConversion; 210return Conversion.NoConversion; 236return Conversion.NoConversion; 447return Conversion.NoConversion; 454return Conversion.NoConversion; 460return Conversion.NoConversion; 465return Conversion.NoConversion; 514return Conversion.NoConversion;
Binder\Semantics\Conversions\ConversionsBase.cs (44)
184return fastConversion.IsImplicit ? fastConversion : Conversion.NoConversion; 218Conversion.NoConversion; 222return Conversion.NoConversion; 266conversion = Conversion.NoConversion; 580return Conversion.NoConversion; 656return Conversion.NoConversion; 725return Conversion.NoConversion; 759return Conversion.NoConversion; 770return Conversion.NoConversion; 779return Conversion.NoConversion; 800return Conversion.NoConversion; 869return Conversion.NoConversion; 903impliedExplicitConversion = Conversion.NoConversion; 912impliedExplicitConversion = Conversion.NoConversion; 924Conversion.NoConversion; 929impliedExplicitConversion = Conversion.NoConversion; 1045return Conversion.NoConversion; 1155return Conversion.NoConversion; 1180return Conversion.NoConversion; 1192return Conversion.NoConversion; 1201return Conversion.NoConversion; 1209return Conversion.NoConversion; 1218return Conversion.NoConversion; 1222return Conversion.NoConversion; 1226return Conversion.NoConversion; 1238return Conversion.NoConversion; 1267return Conversion.NoConversion; 1290return Conversion.NoConversion; 1316return Conversion.NoConversion; 1346return Conversion.NoConversion; 1916return IsValidExtensionMethodThisArgConversion(conversion) ? conversion : Conversion.NoConversion; 1982return Conversion.NoConversion; 1994return Conversion.NoConversion; 2251return Conversion.NoConversion; 2259return Conversion.NoConversion; 2278return Conversion.NoConversion; 2336return Conversion.NoConversion; 2351return Conversion.NoConversion; 2371return Conversion.NoConversion; 2390return Conversion.NoConversion; 2414return Conversion.NoConversion; 2424return Conversion.NoConversion; 2448return Conversion.NoConversion; 2485return Conversion.NoConversion;
Binder\Semantics\Conversions\UserDefinedExplicitConversions.cs (1)
495return result.IsEnumeration ? Conversion.NoConversion : result;
Binder\Semantics\Conversions\UserDefinedImplicitConversions.cs (1)
601return IsEncompassingImplicitConversionKind(result.Kind) ? result : Conversion.NoConversion;
Binder\Semantics\OverloadResolution\OverloadResolution.cs (4)
4418conversion = Conversion.NoConversion; 4559return Conversion.NoConversion; 4598return Conversion.NoConversion; 4610return Conversion.NoConversion;
BoundTree\BoundNode.cs (1)
448return Conversion.NoConversion;
Compilation\CSharpCompilation.cs (2)
2332return Conversion.NoConversion; 2346return Conversion.NoConversion;
Compilation\CSharpSemanticModel.cs (4)
2137conversion = convertedSwitchConversion.IsValid ? convertedSwitchConversion : Conversion.NoConversion; 2838return Conversion.NoConversion; 2864return Conversion.NoConversion; 2916return Conversion.NoConversion;
Compilation\MemberSemanticModel.cs (3)
444return Conversion.NoConversion; 478return Conversion.NoConversion; 502return Conversion.NoConversion;
Compilation\SyntaxTreeSemanticModel.cs (3)
527return Conversion.NoConversion; 552return Conversion.NoConversion; 573return Conversion.NoConversion;
CSharpExtensions.cs (5)
447return Conversion.NoConversion; 773return Conversion.NoConversion; 887return Conversion.NoConversion; 1317return Conversion.NoConversion; 1335return Conversion.NoConversion;
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (8)
1765return Conversion.NoConversion; 1771return Conversion.NoConversion; 1795return Conversion.NoConversion; 1809return Conversion.NoConversion; 1826return Conversion.NoConversion; 1839return Conversion.NoConversion; 1871return Conversion.NoConversion; 1877return Conversion.NoConversion;