Maintain Obsolete property when cloning a function
This commit is contained in:
parent
cc25916f14
commit
ac52bd9783
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue