Expose IPropertySymbol.IsAutoProperty as a public API
See original GitHub issueCan 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:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@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)
@CyrusNajmabadi I finally got it up: https://github.com/dotnet/roslyn/pull/49659