Example #1
0
        public string HiddenMethodInfo(MethodReference method)
        {
            MethodReference reference = this._typeResolver.Resolve(method);

            if (method.IsGenericInstance || method.DeclaringType.IsGenericInstance)
            {
                Il2CppGenericMethodCollector.Add(reference);
                this._metadataUsage.AddInflatedMethod(reference);
                return(Naming.ForRuntimeMethodInfo(reference));
            }
            return(Naming.Null);
        }