mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-02 21:48:55 +00:00
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:
parent
c1280b5896
commit
6e81430276
4 changed files with 4 additions and 2 deletions
|
@ -99,7 +99,7 @@ public Gst.Structure Structure {
|
|||
cached_structure = null;
|
||||
}
|
||||
|
||||
public string TypeName {
|
||||
public new string TypeName {
|
||||
get {
|
||||
return GetTypeName (Type);
|
||||
}
|
||||
|
|
|
@ -25,7 +25,7 @@ public Gst.Structure Structure {
|
|||
cached_structure = null;
|
||||
}
|
||||
|
||||
public string TypeName {
|
||||
public new string TypeName {
|
||||
get {
|
||||
return GetTypeName (Type);
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue