From: huiyueun <35286162+huiyueun@users.noreply.github.com> Date: Tue, 15 Dec 2020 03:23:05 +0000 (+0900) Subject: [NUI] Remove build warning - CA1055 (#2338) X-Git-Tag: accepted/tizen/unified/20210219.040944~173 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e55775a1d1311665106d7cc185e9a0484871bc5e;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [NUI] Remove build warning - CA1055 (#2338) CA1055: URI return values should not be strings https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1055 Signed-off-by: huiyu.eun Co-authored-by: dongsug-song <35130733+dongsug-song@users.noreply.github.com> --- diff --git a/src/Tizen.NUI/src/public/Capture.cs b/src/Tizen.NUI/src/public/Capture.cs index aa39654..a58caaf 100755 --- a/src/Tizen.NUI/src/public/Capture.cs +++ b/src/Tizen.NUI/src/public/Capture.cs @@ -333,20 +333,6 @@ namespace Tizen.NUI Tizen.Log.Debug("NUI", $"GetNativeImageSource()"); return new NativeImageSource(Interop.Capture.GetNativeImageSourcePtr(swigCPtr), true); } - - /// - /// Generate captured image's Url - /// - /// The Url string representing this captured image source - [EditorBrowsable(EditorBrowsableState.Never)] - public string GenerateUrl() - { - string url = ""; - url = Interop.Capture.GenerateUrl(swigCPtr); - if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); - return url; - } - } ///