I wanted to answer this question and thought I would look inside of the Array
source code to see how it is implemented. Therefore, I looked in .NET source code for the CreateInstance
method and found that it calls an external method whose body is a semi-colon and implemented elsewhere. Here is what it looks like:
private unsafe static extern Array
InternalCreate(void* elementType,int rank,int *pLengths,int *pLowerBounds);
Question:
How do I find where the implementation for the above external method is?