47 references to ConvKind
Microsoft.CSharp (47)
Microsoft\CSharp\RuntimeBinder\Semantics\Conversion.cs (9)
101
private const byte ID = (byte)
ConvKind
.Identity; // 0x01
102
private const byte IMP = (byte)
ConvKind
.Implicit; // 0x02
103
private const byte EXP = (byte)
ConvKind
.Explicit; // 0x03
104
private const byte NO = (byte)
ConvKind
.None; // 0x05
132
private static
ConvKind
GetConvKind(PredefinedType ptSrc, PredefinedType ptDst)
136
return (
ConvKind
)(s_simpleTypeConversions[(int)ptSrc][(int)ptDst] & CONV_KIND_MASK);
140
return
ConvKind
.Implicit;
144
return
ConvKind
.Explicit;
146
return
ConvKind
.Unknown;
Microsoft\CSharp\RuntimeBinder\Semantics\ExplicitConversion.cs (4)
620
ConvKind
convertKind = GetConvKind(ptSrc, ptDest);
622
Debug.Assert(convertKind !=
ConvKind
.Implicit);
623
Debug.Assert(convertKind !=
ConvKind
.Identity);
625
if (convertKind !=
ConvKind
.Explicit)
Microsoft\CSharp\RuntimeBinder\Semantics\ImplicitConversion.cs (5)
677
ConvKind
convertKind;
696
convertKind =
ConvKind
.Implicit;
703
convertKind =
ConvKind
.Implicit;
708
Debug.Assert(convertKind !=
ConvKind
.Identity);
712
if (convertKind !=
ConvKind
.Implicit)
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (29)
209
ConvKind
cv1 = GetConvKind(info.pt1, bos.pt1);
210
ConvKind
cv2 = GetConvKind(info.pt2, bos.pt2);
219
case
ConvKind
.None:
221
case
ConvKind
.Explicit:
250
case
ConvKind
.Implicit:
251
case
ConvKind
.Identity:
256
case
ConvKind
.Unknown:
277
case
ConvKind
.Implicit:
278
case
ConvKind
.Identity:
283
case
ConvKind
.Implicit:
285
case
ConvKind
.Identity:
286
if (cv2 ==
ConvKind
.Identity)
304
case
ConvKind
.None:
306
case
ConvKind
.Explicit:
335
case
ConvKind
.Implicit:
336
case
ConvKind
.Identity:
341
case
ConvKind
.Unknown:
362
case
ConvKind
.Implicit:
363
case
ConvKind
.Identity:
368
case
ConvKind
.Identity:
369
case
ConvKind
.Implicit:
1411
ConvKind
cv = GetConvKind(pt, s_rguos[index].pt);
1420
case
ConvKind
.None:
1423
case
ConvKind
.Explicit:
1444
case
ConvKind
.Unknown:
1460
case
ConvKind
.Implicit:
1463
case
ConvKind
.Identity:
1485
case
ConvKind
.Implicit:
1486
case
ConvKind
.Identity: