23 references to NoConversion
Microsoft.CodeAnalysis.CSharp (23)
Binder\Binder_Operators.cs (3)
3271
return new BoundIsOperator(node, operand, typeExpression, ConversionKind.
NoConversion
, resultType, hasErrors: true);
3444
case ConversionKind.
NoConversion
:
3588
goto case ConversionKind.
NoConversion
;
Binder\Binder_Patterns.cs (1)
707
(conversion.ConversionKind == ConversionKind.
NoConversion
&& convertedExpression.Type?.IsErrorType() == true))
Binder\Semantics\Conversions\Conversion.cs (5)
150
? ConversionKind.
NoConversion
221
case ConversionKind.
NoConversion
:
267
internal static Conversion NoConversion => new Conversion(ConversionKind.
NoConversion
);
604
return Kind != ConversionKind.
NoConversion
;
1061
return this.Kind == ConversionKind.
NoConversion
? LookupResultKind.Empty : LookupResultKind.Viable;
Binder\Semantics\Conversions\ConversionEasyOut.cs (3)
27
const byte NOC = (byte)ConversionKind.
NoConversion
;
77
return ConversionKind.
NoConversion
;
82
return ConversionKind.
NoConversion
;
Binder\Semantics\Conversions\ConversionKindExtensions.cs (1)
22
case
NoConversion
:
Binder\Semantics\Conversions\ConversionsBase.cs (4)
698
Debug.Assert(conversion.Kind == ConversionKind.
NoConversion
|| IsStandardImplicitConversionFromType(conversion.Kind));
902
case ConversionKind.
NoConversion
:
1896
ClassifyImplicitConversionFromType(source.Type, destination.Type, ref discardedUseSiteInfo).Kind != ConversionKind.
NoConversion
;
2027
Debug.Assert(conversion.Kind == ConversionKind.
NoConversion
);
Binder\Semantics\Conversions\UserDefinedImplicitConversions.cs (1)
614
case ConversionKind.
NoConversion
:
Compilation\CSharpSemanticModel.cs (1)
2168
if (highestBoundExpr is BoundConversion { ConversionKind: ConversionKind.CollectionExpression or ConversionKind.
NoConversion
, Conversion: var convertedCollectionConversion })
FlowAnalysis\NullableWalker.cs (2)
8942
case ConversionKind.
NoConversion
:
11126
if (conversion.Kind == ConversionKind.
NoConversion
)
Lowering\SyntheticBoundNodeFactory.cs (1)
558
Debug.Assert(conversion.Kind != ConversionKind.
NoConversion
);
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
1367
return conversions.ClassifyImplicitConversionFromType(sourceType, targetType, ref discardedUseSiteInfo).Kind != ConversionKind.
NoConversion
;