Bug 25191 - Renaming a "property" method to its upper-cased name is ignored
Summary: Renaming a "property" method to its upper-cased name is ignored
Status: RESOLVED NORESPONSE
Alias: None
Product: Android
Classification: Xamarin
Component: Bindings ()
Version: 5.1
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Atsushi Eno
URL:
Depends on:
Blocks:
 
Reported: 2014-12-09 11:41 UTC by Dimitar Dobrev
Modified: 2017-08-23 21:35 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NORESPONSE

Description Dimitar Dobrev 2014-12-09 11:41:25 UTC
Java code:

public class Parent
{
    public int getType() { return 0; }
}

Metadata.xml:

<attr
path="/api/package[@name='some.package']/class[@name='Parent']/method[@name='getType'
and count(parameter)=0]" name="managedName">GetType</attr>

The new name is ignored and getType() is still wrapped as a property called Type.
Comment 1 Sadik Ali 2016-01-12 11:41:03 UTC
I have tried this issue at my end.However I am unable to reproduce this issue at my end. 

Could you please provide me steps or sample along with the bug to reproduce this issue at my end. Also it would be great if you provide Ide Log ,Build output, Application Output and environment Info

For XS : Ide log:Help-Open log Directory

For VS: Ide log: Help-Xamarin-Open Logs


Environment Info:

Microsoft Visual Studio Professional 2013
Version 12.0.21005.1 REL
Microsoft .NET Framework
Version 4.6.01055

Installed Version: Professional

Team Explorer for Visual Studio 2013   06177-004-0446016-02690
Microsoft Team Explorer for Visual Studio 2013

Visual Basic 2013   06177-004-0446016-02690
Microsoft Visual Basic 2013

Visual C# 2013   06177-004-0446016-02690
Microsoft Visual C# 2013

Visual C++ 2013   06177-004-0446016-02690
Microsoft Visual C++ 2013

Visual F# 2013   06177-004-0446016-02690
Microsoft Visual F# 2013

Visual Studio 2013 Code Analysis Spell Checker   06177-004-0446016-02690
Microsoft® Visual Studio® 2013 Code Analysis Spell Checker

Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

Common Azure Tools   1.0
Provides common services for use by Azure Mobile Services and Windows Azure Tools.

Microsoft Advertising SDK for Windows Phone   
Microsoft Advertising SDK for Windows Phone
Build 

NuGet Package Manager   2.7.40911.287
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

PreEmptive Analytics Visualizer   1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

SQL Server Data Tools   12.0.30919.1
Microsoft SQL Server Data Tools

Windows Azure Mobile Services Tools   1.0
Windows Azure Mobile Services Tools

Windows Phone 8.1 SDK Integration   1.0
This package integrates the tools for the Windows Phone 8.1 SDK into the menus and controls of Visual Studio.

Xamarin   4.0.0.1717 (1390b70)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   6.0.0.35 (d300845)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.iOS   9.3.99.33 (ea30b32)
Visual Studio extension to enable development for Xamarin.iOS.
Comment 2 Cody Beyer (MSFT) 2017-08-23 21:35:47 UTC
Because we have not received a reply to our request for more information we are closing this issue. If you are still encountering this issue, please reopen the ticket with the requested information. Thanks!