Skip to content

Commit c8b5d51

Browse files
authored
[CoreImage] Simplify CIFilter.OutputImage. (#22711)
1 parent 8f3472c commit c8b5d51

File tree

3 files changed

+1
-12
lines changed

3 files changed

+1
-12
lines changed

src/CoreImage/CIFilter.cs

-9
Original file line numberDiff line numberDiff line change
@@ -305,15 +305,6 @@ internal CGRect GetRect (string key)
305305
return v is not null ? new CGRect (v.X, v.Y, v.Z, v.W) : default (CGRect);
306306
}
307307

308-
#if MONOMAC
309-
/// <summary>Gets the image that results from applying the filter to <see cref="P:CoreImage.CIFilter.Image" />.</summary>
310-
/// <value>To be added.</value>
311-
/// <remarks>To be added.</remarks>
312-
public virtual CIImage? OutputImage {
313-
get { return ValueForKey (CIFilterOutputKey.Image) as CIImage; }
314-
}
315-
#endif
316-
317308
// Calls the selName selector for cases where we do not have an instance created
318309
static internal string? GetFilterName (IntPtr filterHandle)
319310
{

src/coreimage.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1131,8 +1131,7 @@ string Name {
11311131
[Export ("viewForUIConfiguration:excludedKeys:")]
11321132
IKFilterUIView GetFilterUIView (NSDictionary configurationOptions, [NullAllowed] NSArray excludedKeys);
11331133

1134-
// added in 10.10 but it was already accessible in a different way before (manual bindings)
1135-
[NoMac]
1134+
/// <summary>Gets the image that results from applying the filter.</summary>
11361135
[MacCatalyst (13, 1)]
11371136
[Export ("outputImage")]
11381137
[NullAllowed]

tests/xtro-sharpie/api-annotations-dotnet/macOS-CoreImage.ignore

-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,4 @@
66
!missing-selector! +CIVector::vectorWithCGRect: not bound
77
!missing-selector! CIFilter::apply: not bound
88
!missing-selector! CIFilter::isEnabled not bound
9-
!missing-selector! CIFilter::outputImage not bound
109
!missing-selector! CIFilter::setEnabled: not bound

0 commit comments

Comments
 (0)