summaryrefslogtreecommitdiff
path: root/src/mscorlib/src/System/Reflection/InterfaceMapping.cs
blob: bf994f7b474c9db3f3b23fae8772291c97faff62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
//
// 
// Interface Map.  This struct returns the mapping of an interface into the actual methods on a class
//    that implement that interface.
//
//
namespace System.Reflection {
    using System;

    public struct InterfaceMapping {
        public Type                TargetType;            // The type implementing the interface
        public Type                InterfaceType;        // The type representing the interface
        public MethodInfo[]        TargetMethods;        // The methods implementing the interface
        public MethodInfo[]        InterfaceMethods;    // The methods defined on the interface
    }
}