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