20 references to Conversion
Microsoft.CodeAnalysis.CSharp (20)
Binder\Semantics\Conversions\Conversion.cs (5)
280return new Conversion(ConversionKind.StackAllocToPointerType, ImmutableArray.Create(underlyingConversion)); 285return new Conversion(ConversionKind.StackAllocToSpanType, ImmutableArray.Create(underlyingConversion)); 318return new Conversion(kind, nested); 323return new Conversion(ConversionKind.SwitchExpression, innerConversions); 328return new Conversion(ConversionKind.ConditionalExpression, innerConversions);
Binder\Semantics\Conversions\ConversionsBase.cs (14)
1205return new Conversion(ConversionKind.ImplicitNullable, Conversion.ImplicitConstantUnderlying); 1235return new Conversion(ConversionKind.ImplicitNullable, ImmutableArray.Create(underlyingTupleConversion)); 1266return new Conversion(ConversionKind.ExplicitNullable, ImmutableArray.Create(underlyingTupleConversion)); 2115return new Conversion(ConversionKind.ImplicitNullable, Conversion.IdentityUnderlying); 2120return new Conversion(ConversionKind.ImplicitNullable, Conversion.ImplicitNumericUnderlying); 2126return new Conversion(ConversionKind.ImplicitNullable, ImmutableArray.Create(tupleConversion)); 2208return new Conversion(kind, argumentConversions.ToImmutableAndFree()); 2281return new Conversion(kind, nestedConversions.ToImmutableAndFree()); 2307return new Conversion(ConversionKind.ExplicitNullable, Conversion.IdentityUnderlying); 2312return new Conversion(ConversionKind.ExplicitNullable, Conversion.ImplicitNumericUnderlying); 2317return new Conversion(ConversionKind.ExplicitNullable, Conversion.ExplicitNumericUnderlying); 2323return new Conversion(ConversionKind.ExplicitNullable, ImmutableArray.Create(tupleConversion)); 2328return new Conversion(ConversionKind.ExplicitNullable, Conversion.ExplicitEnumerationUnderlying); 2333return new Conversion(ConversionKind.ExplicitNullable, Conversion.PointerToIntegerUnderlying);
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
464var outerConversion = new Conversion(ConversionKind.ImplicitNullable, Conversion.IdentityUnderlying);