Mono.Debugger.Languages.Mono.MonoGenericInstanceType.IMonoStructType C# (CSharp) Method

IMonoStructType() private method

private IMonoStructType ( Mono.Cecil mdef ) : MonoFunctionType
mdef Mono.Cecil
return MonoFunctionType
        MonoFunctionType IMonoStructType.LookupFunction(Cecil.MethodDefinition mdef)
        {
            int token = MonoDebuggerSupport.GetMethodToken (mdef);
            if (function_hash == null)
                function_hash = new Dictionary<int,MonoFunctionType> ();
            if (!function_hash.ContainsKey (token)) {
                MonoFunctionType function = new MonoFunctionType (this, mdef);
                function_hash.Add (token, function);
                return function;
            }

            return function_hash [token];
        }