question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Expose IPropertySymbol.IsAutoProperty as a public API

See original GitHub issue

Can we file a Roslyn feature request to expose IPropertySymbol.IsAutoProperty as a public API?

_Originally posted by @mavasani in https://github.com/dotnet/roslyn-analyzers/pull/3884_

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
jnm2commented, Aug 10, 2020

@CyrusNajmabadi It was basically this commit: https://github.com/dotnet/roslyn/pull/44932/commits/83ecbec0733d65f892f48c090120a923512b4652 which was going to be extracted from https://github.com/dotnet/roslyn/pull/44932 and done on its own. And then the same for event symbols. I’ll try to do that sometime soon.

Existing issues: https://github.com/dotnet/roslyn/issues/42355 (IPropertySymbol.AssociatedField) https://github.com/dotnet/roslyn/issues/40103 (IEventSymbol.AssociatedField)

0reactions
jnm2commented, Nov 29, 2020

Do you have that PR somewhere? I’d be happy to push it along.

@CyrusNajmabadi I finally got it up: https://github.com/dotnet/roslyn/pull/49659

Read more comments on GitHub >

github_iconTop Results From Across the Web

Expose IPropertySymbol.AssociatedField · Issue #42355
The ability to remove all backing fields from ITypeSymbol.GetMembers() solves a binding cycle problem that is blocking one of the design options ...
Read more >
Checking if a property is an auto-implemented ...
Roslyn will maybe expose IPropertySymbol.IsAutoProperty as a public API or something easier to use in a future release.
Read more >
IPropertySymbol Interface (Microsoft.CodeAnalysis)
Represents a property or indexer. public interface class IPropertySymbol : IEquatable<Microsoft::CodeAnalysis::ISymbol ^>, Microsoft::CodeAnalysis::ISymbol. C#
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found