Boo.Lang.Compiler.TypeSystem.GenericMapping.UnMap C# (CSharp) Method

UnMap() public method

Gets the method from which the specified method was mapped.
public UnMap ( IMethod method ) : IMethod
method IMethod
return IMethod
        public IMethod UnMap(IMethod method)
        {
            GenericMappedMethod mapped = method as GenericMappedMethod;
            if (mapped == null)
            {
                return null;
            }
            return mapped.Source;
        }

Usage Example

 public IMember UnMap(IMember mapped)
 {
     return(GenericMapping.UnMap(mapped));
 }