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.
This commit is contained in:
Maarten Bosmans 2009-06-19 14:39:13 +02:00 committed by Sebastian Dröge
parent c1280b5896
commit 6e81430276
4 changed files with 4 additions and 2 deletions

View file

@ -99,7 +99,7 @@ public Gst.Structure Structure {
cached_structure = null;
}
public string TypeName {
public new string TypeName {
get {
return GetTypeName (Type);
}

View file

@ -25,7 +25,7 @@ public Gst.Structure Structure {
cached_structure = null;
}
public string TypeName {
public new string TypeName {
get {
return GetTypeName (Type);
}

View file

@ -7,4 +7,5 @@
<attr path="/element/element-actions/signal/name[child::text()='get-video-pad']/../params/type[1]" name="name">index</attr>
<attr path="/element/element-actions/signal/name[child::text()='get-audio-pad']/../params/type[1]" name="name">index</attr>
<attr path="/element/element-actions/signal/name[child::text()='get-text-pad']/../params/type[1]" name="name">index</attr>
<add-node path="/element/element-properties/element-property/name[child::text()='flags']/.."><managed_name>PlayFlags</managed_name></add-node>
</metadata>

View file

@ -2,5 +2,6 @@
<metadata>
<attr path="/element/element-signals/signal/name[child::text()='handoff']/../params/type[1]" name="name">Buffer</attr>
<attr path="/element/element-signals/signal/name[child::text()='handoff']/../params/type[2]" name="name">Pad</attr>
<add-node path="/element/element-properties/element-property/name[child::text()='data']/.."><managed_name>Datatype</managed_name></add-node>
</metadata>