From 6e81430276bb5ebcb7ccd15ebc80e087f3145ad0 Mon Sep 17 00:00:00 2001 From: Maarten Bosmans Date: Fri, 19 Jun 2009 14:39:13 +0200 Subject: [PATCH] Avoid some C# compiler warnings about name collisions in subclass members There are three types of solution used: adding the new keyword to the member in the subclass, renaming the subclass member to avoid name collision and removing the subclass member if the functionality is the same. --- gstreamer-sharp/Event.custom | 2 +- gstreamer-sharp/Query.custom | 2 +- gstreamer-sharp/baseplugins/playbin2.metadata | 1 + gstreamer-sharp/coreplugins/fakesrc.metadata | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gstreamer-sharp/Event.custom b/gstreamer-sharp/Event.custom index c501b9f014..4cd1363e86 100644 --- a/gstreamer-sharp/Event.custom +++ b/gstreamer-sharp/Event.custom @@ -99,7 +99,7 @@ public Gst.Structure Structure { cached_structure = null; } -public string TypeName { +public new string TypeName { get { return GetTypeName (Type); } diff --git a/gstreamer-sharp/Query.custom b/gstreamer-sharp/Query.custom index 5d0a63100c..46f4f05367 100644 --- a/gstreamer-sharp/Query.custom +++ b/gstreamer-sharp/Query.custom @@ -25,7 +25,7 @@ public Gst.Structure Structure { cached_structure = null; } -public string TypeName { +public new string TypeName { get { return GetTypeName (Type); } diff --git a/gstreamer-sharp/baseplugins/playbin2.metadata b/gstreamer-sharp/baseplugins/playbin2.metadata index c143be24bc..54b533965a 100644 --- a/gstreamer-sharp/baseplugins/playbin2.metadata +++ b/gstreamer-sharp/baseplugins/playbin2.metadata @@ -7,4 +7,5 @@ index index index + PlayFlags diff --git a/gstreamer-sharp/coreplugins/fakesrc.metadata b/gstreamer-sharp/coreplugins/fakesrc.metadata index 0c88923d5b..144e50daeb 100644 --- a/gstreamer-sharp/coreplugins/fakesrc.metadata +++ b/gstreamer-sharp/coreplugins/fakesrc.metadata @@ -2,5 +2,6 @@ Buffer Pad + Datatype