On 11/6/2012 10:42 AM, Max Samukha wrote:
C# allows custom attributes on function parameters, including the return value. Actually, it allows custom meta-data everywhere. See a use case here http://msdn.microsoft.com/en-us/library/system.runtime.interopservices.marshalasattribute.aspx.
Thank you. Under the "Remarks" section they give some good examples.As for the return value attributes, I think that can be handled by attributing the function symbol itself, as it can only have one return type.