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