14 references to AppendLine
Microsoft.Maui.Controls.BindingSourceGen (14)
BindingCodeWriter.cs (14)
179 AppendLine(GeneratedCodeAttribute);
219 AppendLine("};");
223 AppendLine("throw new InvalidOperationException(\"Cannot set value on the source object.\");");
243 AppendLine(")");
315 AppendLine($"[InterceptsLocationAttribute(@\"{location.FilePath}\", {location.Line}, {location.Column})]");
327 AppendLine($"if (!{valueVariableName}.HasValue)");
332 AppendLine($"if ({valueVariableName} is null)");
336 AppendLine("return;");
372 AppendLine(setter.AssignmentStatement);
383 AppendLine($"new Tuple<Func<{binding.SourceType}, object?>, string>[]");
399 AppendLine($"new(static source => {previousExpression}, \"{indexAccess.DefaultMemberName}\"),");
403 AppendLine($"new(static source => {previousExpression}, \"{innerIndexAccess.DefaultMemberName}\"),");
409 AppendLine($"new(static source => {previousExpression}, \"{propertyName}\"),");
449 AppendLine(line);