Skip to content

Commit

Permalink
ModelsSourceGenerator - Adding: writer.WriteLine("#pragma warning dis…
Browse files Browse the repository at this point in the history
…able 0108");
  • Loading branch information
hfloyd committed Mar 24, 2022
1 parent fd81598 commit 01c3cdc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
src/.vs/
src/Limbo.Umbraco.ModelsBuilder/bin/
src/Limbo.Umbraco.ModelsBuilder/obj/
src/Limbo.Umbraco.ModelsBuilder/obj/
*.suo
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,7 @@ protected virtual void WriteImports(TextWriter writer, TypeModel model, List<str
protected virtual void WritePragma(TextWriter writer, TypeModel model, ModelsGeneratorSettings settings) {
writer.WriteLine("#pragma warning disable 0109");
writer.WriteLine("#pragma warning disable 1591");
writer.WriteLine("#pragma warning disable 0108");
writer.WriteLine();
}

Expand Down

0 comments on commit 01c3cdc

Please sign in to comment.