Save attribute in FFIClassAttributes and FFIMethodAttributes classes
Update parameter check
Update comment
Add test case for csharp attributes caching
Merge pull request #1813 from ke-yu/fix_magn3414

Save FFI attributes in FFIClassAttributes and FFIMethodAttributes