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