Maintain Obsolete property when cloning a function

This commit is contained in:
Stefanos A 2013-12-08 16:20:04 +01:00
parent cc25916f14
commit ac52bd9783

View file

@ -36,6 +36,7 @@ namespace Bind.Structures
Parameters = new ParameterCollection(f.Parameters);
ReturnType = new Type(f.ReturnType);
TrimmedName = f.TrimmedName;
Obsolete = f.Obsolete;
Body.AddRange(f.Body);
}