From e55775a1d1311665106d7cc185e9a0484871bc5e Mon Sep 17 00:00:00 2001 From: huiyueun <35286162+huiyueun@users.noreply.github.com> Date: Tue, 15 Dec 2020 12:23:05 +0900 Subject: [PATCH] [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> --- src/Tizen.NUI/src/public/Capture.cs | 14 -------------- 1 file changed, 14 deletions(-) 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; - } - } /// -- 2.7.4