33 references to Constants
Microsoft.CodeAnalysis (33)
MetadataReader\PEModule.cs (2)
1888case (int)Cci.Constants.ComInterfaceType_InterfaceIsDual: 1889case (int)Cci.Constants.ComInterfaceType_InterfaceIsIDispatch:
MetadataReader\TypeAttributesExtensions.cs (1)
38return Cci.Constants.CharSet_Auto;
PEWriter\MetadataWriter.cs (5)
1526case Constants.CharSet_Auto: 2250attributes = exportedType.IsForwarder ? TypeAttributes.NotPublic | Constants.TypeAttributes_TypeForwarder : TypeAttributes.Public; 3608case Constants.UnmanagedType_CustomMarshaler: 3658case Constants.UnmanagedType_SafeArray: 3676case Constants.UnmanagedType_IDispatch:
Symbols\Attributes\CommonAttributeData.cs (3)
472CharSet charSet = (defaultCharSet != Cci.Constants.CharSet_None) ? defaultCharSet : CharSet.Ansi; 500case Cci.Constants.CharSet_None: 505case Cci.Constants.CharSet_Auto:
Symbols\Attributes\CommonModuleWellKnownAttributeData.cs (2)
64return value >= Cci.Constants.CharSet_None && value <= Cci.Constants.CharSet_Auto;
Symbols\Attributes\CommonTypeWellKnownAttributeData.cs (1)
178Debug.Assert(charSet == CharSet.Ansi || charSet == CharSet.Unicode || charSet == Cci.Constants.CharSet_Auto);
Symbols\Attributes\MarshalAsAttributeDecoder.cs (5)
28case Cci.Constants.UnmanagedType_CustomMarshaler: 33case Cci.Constants.UnmanagedType_IDispatch: 54case Cci.Constants.UnmanagedType_SafeArray: 70case Cci.Constants.UnmanagedType_VBByRefStr: 226if (!isFixed && elementType == Cci.Constants.UnmanagedType_CustomMarshaler ||
Symbols\Attributes\MarshalPseudoCustomAttributeData.cs (9)
40_marshalType = Cci.Constants.UnmanagedType_CustomMarshaler; 78_marshalType = Cci.Constants.UnmanagedType_SafeArray; 111_marshalType == Cci.Constants.UnmanagedType_IDispatch); 119Debug.Assert(_marshalType == Cci.Constants.UnmanagedType_CustomMarshaler); 136Debug.Assert(_marshalType == Cci.Constants.UnmanagedType_CustomMarshaler); 145Debug.Assert(_marshalType == UnmanagedType.ByValTStr || _marshalType == UnmanagedType.LPArray || _marshalType == Cci.Constants.UnmanagedType_SafeArray || _marshalType == UnmanagedType.ByValArray); 172Debug.Assert(_marshalType == Cci.Constants.UnmanagedType_SafeArray); 179Debug.Assert(_marshalType == Cci.Constants.UnmanagedType_SafeArray); 197if (_marshalType != Cci.Constants.UnmanagedType_SafeArray || _marshalTypeNameOrSymbol == null)
Symbols\PlatformInvokeInformation.cs (5)
76return Cci.Constants.CharSet_Auto; 79return Cci.Constants.CharSet_None; 119return Cci.Constants.CallingConvention_FastCall; 186case Cci.Constants.CharSet_Auto: 216case Cci.Constants.CallingConvention_FastCall: