Skip to content

Commit

Permalink
Merge pull request #2355 from unoplatform/dev/cdb/remote-control-gene…
Browse files Browse the repository at this point in the history
…rator-pragma-warning-disable

Prevent RemoteGenerator from trigerring warnings
  • Loading branch information
mergify[bot] authored Dec 19, 2019
2 parents ad90fd4 + e24701e commit 4088dea
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,17 @@ public override void Execute(SourceGeneratorContext context)
{
var sb = new IndentedStringBuilder();

sb.AppendLineInvariant("// <auto-generated>");
sb.AppendLineInvariant("// ***************************************************************************************");
sb.AppendLineInvariant("// This file has been generated by the package Uno.UI.RemoteControl - for Xaml Hot Reload.");
sb.AppendLineInvariant("// Documentation: https://platform.uno/docs/articles/features/working-with-xaml-hot-reload.html");
sb.AppendLineInvariant("// ***************************************************************************************");
sb.AppendLineInvariant("// </auto-generated>");
sb.AppendLineInvariant("// <autogenerated />");
sb.AppendLineInvariant("#pragma warning disable // Ignore code analysis warnings");

sb.AppendLineInvariant("");

BuildEndPointAttribute(context, sb);
BuildSearchPaths(context, sb);

Expand Down

0 comments on commit 4088dea

Please sign in to comment.