diff --git a/MonoTouch.Dialog/Reflect.cs b/MonoTouch.Dialog/Reflect.cs index b3c8cf5..df6609a 100644 --- a/MonoTouch.Dialog/Reflect.cs +++ b/MonoTouch.Dialog/Reflect.cs @@ -123,6 +123,7 @@ public RangeAttribute (float low, float high) public bool ShowCaption; } +#if !ONLY_TRIMMER_SAFE public class BindingContext : IDisposable { public RootElement Root; Dictionary mappings; @@ -467,4 +468,5 @@ public void Fetch () } } } +#endif // !ONLY_TRIMMER_SAFE } diff --git a/MonoTouch.Dialog/dotnet/shared.csproj b/MonoTouch.Dialog/dotnet/shared.csproj index 9d4a0ca..52ced06 100644 --- a/MonoTouch.Dialog/dotnet/shared.csproj +++ b/MonoTouch.Dialog/dotnet/shared.csproj @@ -12,6 +12,9 @@ $(NoWarn);CA1422 + + + $(DefineConstants);ONLY_TRIMMER_SAFE