System.Diagnostics.StackFrameHelper.OnSerializing C# (CSharp) Method

OnSerializing() private method

private OnSerializing ( StreamingContext context ) : void
context System.Runtime.Serialization.StreamingContext
return void
        void OnSerializing(StreamingContext context)
        {
            rgMethodBase = (rgMethodHandle == null) ? null : new MethodBase[rgMethodHandle.Length];
            if (rgMethodHandle != null) 
            {
                for (int i = 0; i < rgMethodHandle.Length; i++) 
                {
                    if (!rgMethodHandle[i].IsNullHandle())
                        rgMethodBase[i] = RuntimeType.GetMethodBase(rgMethodHandle[i]);
                }
            }
        }