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