xamarin-macios/tests/generator/classNameCollision.cs

20 строки
511 B
C#

using System;
using System.Runtime.InteropServices;
using Foundation;
namespace AudioUnit {
[BaseType (typeof (NSObject))]
interface AUParameterNode {
[Export ("tokenByAddingParameterRecordingObserver:")]
IntPtr TokenByAddingParameterRecordingObserver (AUParameterRecordingObserver observer);
}
public unsafe delegate void AUParameterRecordingObserver (int arg0, AURecordedParameterEvent arg1);
// Commenting this out "fixes" the problem
[BaseType (typeof (NSObject))]
interface AudioUnit {
}
}