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