예제 #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));
        }