13 references to MaxMarshalInteger
Microsoft.CodeAnalysis (13)
Symbols\Attributes\MarshalAsAttributeDecoder.cs (6)
84if ((int)unmanagedType < 0 || (int)unmanagedType > MarshalPseudoCustomAttributeData.MaxMarshalInteger) 188if (parameterIndex < 0 || parameterIndex > MarshalPseudoCustomAttributeData.MaxMarshalInteger) 228(int)elementType > MarshalPseudoCustomAttributeData.MaxMarshalInteger) 238if (elementCount < 0 || elementCount > MarshalPseudoCustomAttributeData.MaxMarshalInteger) 312if (elementTypeVariant < 0 || (int)elementTypeVariant > MarshalPseudoCustomAttributeData.MaxMarshalInteger) 380if (elementCount < 0 || elementCount > MarshalPseudoCustomAttributeData.MaxMarshalInteger)
Symbols\Attributes\MarshalPseudoCustomAttributeData.cs (7)
47Debug.Assert(parameterIndex == null || parameterIndex >= 0 && parameterIndex <= MaxMarshalInteger); 55Debug.Assert(elementCount == null || elementCount >= 0 && elementCount <= MaxMarshalInteger); 66Debug.Assert(elementCount == null || elementCount >= 0 && elementCount <= MaxMarshalInteger); 67Debug.Assert(elementType == null || elementType >= 0 && (int)elementType <= MaxMarshalInteger); 76Debug.Assert(elementType == null || elementType >= 0 && (int)elementType <= MaxMarshalInteger); 85Debug.Assert(elementCount >= 0 && elementCount <= MaxMarshalInteger); 93Debug.Assert(type >= 0 && (int)type <= MaxMarshalInteger);