Extend a reviewed static field TFM asset branch
ProprietaryAdds one finite canonical TFM symbol to a reviewed canonical asset assignment, using a closed same-class static constructor name-resolution proof. Preserves every snapshot, original ID and binding. Default off; does not infer asset compatibility.
OpenRewrite. Recipes. CSharp. Migration. Dotnet. ExtendReviewedStaticFieldTfmBranchRequired
Exact captured source path, without globs.
Exact global nonnested nongeneric owner and static string field, separated by a dot.
Existing canonical finite TFM symbol whose asset payload was reviewed.
One finite canonical target symbol. No OR_GREATER or arbitrary condition.
Optional
BranchCompatibilityReviewedBoolean
Owner reviewed the existing assets for the additional target. Required; default false.
mod run . --recipe= OpenRewrite. Recipes. CSharp. Migration. Dotnet. ExtendReviewedStaticFieldTfmBranch \
-P ExactSourcePath= test/ ut/ Plugin/ Domain/ Domain/ DomainPrepare. cs \
-P FieldSelector= DomainPrepare. _runtimeVersion \
-P ExistingTfmSymbol= NET8_0 \
-P AdditionalTfmSymbol= NET10_0Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.