CsWinRT icon indicating copy to clipboard operation
CsWinRT copied to clipboard

Need to handle (rare) collisions of inherited members

Open Scottj1s opened this issue 4 years ago • 0 comments

The warnings below, from building the WinUITest project, are the only remaining issues related to inheritance support. Probably best to explicitly implement all collisions, versus picking a 'new' winner.

2>Generated Files\Microsoft.UI.Composition.cs(5946,48,5946,78): warning CS0108: 'VisualIslandSite.CreateTransformChangedDeferral()' hides inherited member 'CompositionIslandSite.CreateTransformChangedDeferral()'. Use the new keyword if hiding was intended. 2>Generated Files\Microsoft.UI.Xaml.Automation.Peers.cs(3302,21,3302,28): warning CS0108: 'PivotItemDataAutomationPeer.Realize()' hides inherited member 'ItemAutomationPeer.Realize()'. Use the new keyword if hiding was intended. 2>Generated Files\Windows.UI.Xaml.Automation.Peers.cs(3867,21,3867,28): warning CS0108: 'PivotItemDataAutomationPeer.Realize()' hides inherited member 'ItemAutomationPeer.Realize()'. Use the new keyword if hiding was intended. 2>Generated Files\Windows.UI.Xaml.Controls.Maps.cs(1368,58,1368,71): warning CS0108: 'MapControl.StyleProperty' hides inherited member 'FrameworkElement.StyleProperty'. Use the new keyword if hiding was intended. 2>Generated Files\Windows.UI.Xaml.Controls.Maps.cs(1788,25,1788,30): warning CS0108: 'MapControl.Style' hides inherited member 'FrameworkElement.Style'. Use the new keyword if hiding was intended.

Scottj1s avatar Jan 04 '20 19:01 Scottj1s