I have (roughly) the following classes defined in different assemblies:
AssemblyA:
===========
public class Model
{
...
}
public class Model<TModel> : Model
where TModel : Model<TModel>
{
...
public T GetProperty<T>(string propertyName)
{
...
}
...
}
AssemblyB:
===========
public class Item : Model<Item>
{
[Attr]
public string Name { get; set; }
...
}
I would like to produce the following property code using Fody:
public string Name {
get {
return GetProperty<string>("Name");
}
}
However, after injecting the IL code, I got the following exception:
Missing method AssemblyA.Model<AssemblyB.Item>::GetProperty<[1]>(string) in
AssemblyA.dll, referenced in AssemblyB.dll
Relevant source code: http://pastebin.com/7h39rsdS
--
--
--
mono-cecil
---
You received this message because you are subscribed to the Google Groups
"mono-cecil" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.