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