コード例 #1
0
        public FieldDefinition GetField(string name)
        {
            var signature = RuntimeBindingSignature.GetFieldSignature(name);

            return(_fieldMapping.Get(signature));
        }
コード例 #2
0
        public TypeDefinition GetType(string name, string @namespace)
        {
            var signature = RuntimeBindingSignature.GetTypeSignature(name, @namespace, Assembly);

            return(_typeMapping.Get(signature));
        }
コード例 #3
0
        public MethodDefinition GetMethod(string name, CallingConventions callConv, params ITypeInfo[] types)
        {
            var signature = RuntimeBindingSignature.GetMethodSignature(name, callConv, types);

            return(_methodMapping.Get(signature));
        }