INNER CODE UNIT · C#

count

GloriousPtr/ArcGameEngine · Arc-ScriptCore/src/Core/AssemblyHelper.cs:301

					int count = Math.Min(methodParams.Length, parameterCount);
					obj = new object[count];
					for (int i = 0; i < count; i++)
						obj[i] = Marshal.PtrToStructure(Marshal.ReadIntPtr(parameters + (i * IntPtr.Size)), methodParams[i].ParameterType);
				}

				method.Invoke(handle.Target, obj);
			}
			catch (Exception ex)
			{
				ex.ReportToArc();
			}
		}

		[UnmanagedCallersOnly]
		internal static int IsDebuggerAttached()
		{
			return Debugger.IsAttached ? 1 : 0;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…