Caution
You must ensure that index falls within Length, or at least in the bounds
of the actual underlying array. Attempting to access protected memory may crash the runtime.
[SecurityCriticalAttribute]
public ref TTo GetElementReferenceUnsafe(
int index
)
<SecurityCriticalAttribute>
Public Function GetElementReferenceUnsafe (
index As Integer
) As TTo
public:
[SecurityCriticalAttribute]
TTo% GetElementReferenceUnsafe(
int index
)
[<SecurityCriticalAttribute>]
member GetElementReferenceUnsafe :
index : int -> 'TTo
VerificationException | .NET Framework only: you execute this method in a partially trusted AppDomain that does not allow executing unverifiable code. |
NullReferenceException | The IsNull property returns . |