22 references to Conversion
Microsoft.CodeAnalysis.CSharp (22)
Binder\Semantics\Conversions\Conversion.cs (17)
308
internal static readonly Conversion ExplicitNullableWithExplicitEnumerationUnderlying = new
Conversion
(ConversionKind.ExplicitNullable, ExplicitEnumerationUnderlying);
309
internal static readonly Conversion ExplicitNullableWithPointerToIntegerUnderlying = new
Conversion
(ConversionKind.ExplicitNullable, PointerToIntegerUnderlying);
310
internal static readonly Conversion ExplicitNullableWithIdentityUnderlying = new
Conversion
(ConversionKind.ExplicitNullable, IdentityUnderlying);
311
internal static readonly Conversion ExplicitNullableWithImplicitNumericUnderlying = new
Conversion
(ConversionKind.ExplicitNullable, ImplicitNumericUnderlying);
312
internal static readonly Conversion ExplicitNullableWithExplicitNumericUnderlying = new
Conversion
(ConversionKind.ExplicitNullable, ExplicitNumericUnderlying);
313
internal static readonly Conversion ExplicitNullableWithImplicitConstantUnderlying = new
Conversion
(ConversionKind.ExplicitNullable, ImplicitConstantUnderlying);
315
internal static readonly Conversion ImplicitNullableWithExplicitEnumerationUnderlying = new
Conversion
(ConversionKind.ImplicitNullable, ExplicitEnumerationUnderlying);
316
internal static readonly Conversion ImplicitNullableWithPointerToIntegerUnderlying = new
Conversion
(ConversionKind.ImplicitNullable, PointerToIntegerUnderlying);
317
internal static readonly Conversion ImplicitNullableWithIdentityUnderlying = new
Conversion
(ConversionKind.ImplicitNullable, IdentityUnderlying);
318
internal static readonly Conversion ImplicitNullableWithImplicitNumericUnderlying = new
Conversion
(ConversionKind.ImplicitNullable, ImplicitNumericUnderlying);
319
internal static readonly Conversion ImplicitNullableWithExplicitNumericUnderlying = new
Conversion
(ConversionKind.ImplicitNullable, ExplicitNumericUnderlying);
320
internal static readonly Conversion ImplicitNullableWithImplicitConstantUnderlying = new
Conversion
(ConversionKind.ImplicitNullable, ImplicitConstantUnderlying);
336
return new
Conversion
(ConversionKind.StackAllocToPointerType, ImmutableArray.Create(underlyingConversion));
341
return new
Conversion
(ConversionKind.StackAllocToSpanType, ImmutableArray.Create(underlyingConversion));
356
_ => new
Conversion
(kind, ImmutableArray.Create(nestedConversion)),
362
return new
Conversion
(ConversionKind.SwitchExpression, innerConversions);
367
return new
Conversion
(ConversionKind.ConditionalExpression, innerConversions);
Binder\Semantics\Conversions\ConversionsBase.cs (5)
1160
return new
Conversion
(ConversionKind.ImplicitNullable, ImmutableArray.Create(underlyingConversion));
1296
return new
Conversion
(ConversionKind.ImplicitNullable, ImmutableArray.Create(underlyingTupleConversion));
1325
return new
Conversion
(ConversionKind.ExplicitNullable, ImmutableArray.Create(underlyingTupleConversion));
2252
return new
Conversion
(ConversionKind.ImplicitNullable, ImmutableArray.Create(tupleConversion));
2449
return new
Conversion
(ConversionKind.ExplicitNullable, ImmutableArray.Create(tupleConversion));