Open RikkiGibson opened 2 months ago
Verified works in Document outline, Navigation bar and solution explorer
When can we experience partial properties in the VS preview version? I can't wait any longer. This feature will greatly simplify and optimize many of our libraries, and it definitely has revolutionary significance.
Thank you for the contributions of the Roslyn team.
The feature will be available in VS 17.11 Preview 3. If you want to experiment with the feature in the short term, a nightly compiler build should be available within a day or so.
Championed proposal: https://github.com/dotnet/csharplang/issues/6420 Speclet: https://github.com/dotnet/csharplang/blob/main/proposals/partial-properties.md Feature branch: https://github.com/dotnet/roslyn/tree/features/partial-properties
Compiler
LangVersion_01
)MissingDeclaration_*
,DuplicateDeclaration_*
)MissingAccessor_*
,UnexpectedAccessor_*
)AccessorKind_*
)ModifierDifference_Readonly_Accessors
)DuplicateDeclaration_08
, split implementation but not split definition)extern
part is considered implementationTypeDifference_*
,NullableDifference_*
,Indexers_*
)RefKindDifference_*
)AliasDifference
)params
(ParamsDifference_*
)OptionalParameters_*
)IndexerParameterNameDifference
)StaticDifference
)ExtendedDifference_01
)abstract
is disallowed (Abstract
)UnsafeDifference_*
)required
(Required_*
)ModifierDifference_Accessibility_*
)scoped
(ScopedDifference_*
,Semantics_Scoped
)ExplicitImplementation
)partial
type (NotInPartialType
)Attributes_*
)Obsolete_*
)PartialDefinitionPart
,PartialImplementationPart
andIsPartialDefinition
on property symbol,AssociatedSymbol
on accessors,GetDeclaredSymbol
) (GetDeclaredSymbol_*
)AllowNull_*
,NullableDifference_Analysis
)PartialProperties_*
)Semantics_ExtendedModifier
)Productivity