1 write to PropertyDeclaration
Microsoft.Build.TaskAuthoring.Analyzer (1)
PreferTypedParameterCodeFixProvider.cs (1)
1028
PropertyDeclaration
= propertyDeclaration;
5 references to PropertyDeclaration
Microsoft.Build.TaskAuthoring.Analyzer (5)
PreferTypedParameterCodeFixProvider.cs (5)
122
editor.ReplaceNode(plan.
PropertyDeclaration
, BuildRetypedProperty(plan));
956
.WithTriviaFrom(plan.
PropertyDeclaration
.Type)
959
var newProperty = plan.
PropertyDeclaration
.WithType(newType);
963
if (plan.
PropertyDeclaration
.Initializer is not null && plan.InitializerValue is not null)
966
plan.
PropertyDeclaration
.Initializer.WithValue(plan.InitializerValue));