From 3a8c6a4542ee1c26f58616a12292db5748eba178 Mon Sep 17 00:00:00 2001 From: "Brett V. Forsgren" Date: Fri, 28 Apr 2023 15:05:33 -0600 Subject: [PATCH] fix line endings --- .gitattributes | 1 + IxMilia.Dwg.sln | 98 ++++++++++++++-------------- src/IxMilia.Dwg/Objects/DwgInsert.cs | 10 +-- 3 files changed, 55 insertions(+), 54 deletions(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..947f120 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.png binary diff --git a/IxMilia.Dwg.sln b/IxMilia.Dwg.sln index c7e3e84..2f2358b 100644 --- a/IxMilia.Dwg.sln +++ b/IxMilia.Dwg.sln @@ -1,49 +1,49 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.3.32417.43 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IxMilia.Dwg", "src\IxMilia.Dwg\IxMilia.Dwg.csproj", "{F0E0DC0D-D86F-4905-BA5D-15984EACD1C9}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IxMilia.Dwg.Test", "src\IxMilia.Dwg.Test\IxMilia.Dwg.Test.csproj", "{8016CE51-1C73-4F1C-83C7-4CF3691ABB4A}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IxMilia.Dwg.Generator", "src\IxMilia.Dwg.Generator\IxMilia.Dwg.Generator.csproj", "{8DEAD223-FCD6-4192-9495-DE846C0F848F}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Examples", "src\Examples\Examples.csproj", "{F5F1773B-E58A-41E8-BEDD-028EC91ED377}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IxMilia.Dwg.Integration.Test", "src\IxMilia.Dwg.Integration.Test\IxMilia.Dwg.Integration.Test.csproj", "{1FC135A6-C7D1-4C62-A290-61E557A9047B}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {F0E0DC0D-D86F-4905-BA5D-15984EACD1C9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {F0E0DC0D-D86F-4905-BA5D-15984EACD1C9}.Debug|Any CPU.Build.0 = Debug|Any CPU - {F0E0DC0D-D86F-4905-BA5D-15984EACD1C9}.Release|Any CPU.ActiveCfg = Release|Any CPU - {F0E0DC0D-D86F-4905-BA5D-15984EACD1C9}.Release|Any CPU.Build.0 = Release|Any CPU - {8016CE51-1C73-4F1C-83C7-4CF3691ABB4A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {8016CE51-1C73-4F1C-83C7-4CF3691ABB4A}.Debug|Any CPU.Build.0 = Debug|Any CPU - {8016CE51-1C73-4F1C-83C7-4CF3691ABB4A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {8016CE51-1C73-4F1C-83C7-4CF3691ABB4A}.Release|Any CPU.Build.0 = Release|Any CPU - {8DEAD223-FCD6-4192-9495-DE846C0F848F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {8DEAD223-FCD6-4192-9495-DE846C0F848F}.Debug|Any CPU.Build.0 = Debug|Any CPU - {8DEAD223-FCD6-4192-9495-DE846C0F848F}.Release|Any CPU.ActiveCfg = Release|Any CPU - {8DEAD223-FCD6-4192-9495-DE846C0F848F}.Release|Any CPU.Build.0 = Release|Any CPU - {F5F1773B-E58A-41E8-BEDD-028EC91ED377}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {F5F1773B-E58A-41E8-BEDD-028EC91ED377}.Debug|Any CPU.Build.0 = Debug|Any CPU - {F5F1773B-E58A-41E8-BEDD-028EC91ED377}.Release|Any CPU.ActiveCfg = Release|Any CPU - {F5F1773B-E58A-41E8-BEDD-028EC91ED377}.Release|Any CPU.Build.0 = Release|Any CPU - {1FC135A6-C7D1-4C62-A290-61E557A9047B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {1FC135A6-C7D1-4C62-A290-61E557A9047B}.Debug|Any CPU.Build.0 = Debug|Any CPU - {1FC135A6-C7D1-4C62-A290-61E557A9047B}.Release|Any CPU.ActiveCfg = Release|Any CPU - {1FC135A6-C7D1-4C62-A290-61E557A9047B}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {8181D97E-2ED4-4E55-B1AD-0D6823C5BFFB} - EndGlobalSection -EndGlobal + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.3.32417.43 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IxMilia.Dwg", "src\IxMilia.Dwg\IxMilia.Dwg.csproj", "{F0E0DC0D-D86F-4905-BA5D-15984EACD1C9}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IxMilia.Dwg.Test", "src\IxMilia.Dwg.Test\IxMilia.Dwg.Test.csproj", "{8016CE51-1C73-4F1C-83C7-4CF3691ABB4A}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IxMilia.Dwg.Generator", "src\IxMilia.Dwg.Generator\IxMilia.Dwg.Generator.csproj", "{8DEAD223-FCD6-4192-9495-DE846C0F848F}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Examples", "src\Examples\Examples.csproj", "{F5F1773B-E58A-41E8-BEDD-028EC91ED377}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IxMilia.Dwg.Integration.Test", "src\IxMilia.Dwg.Integration.Test\IxMilia.Dwg.Integration.Test.csproj", "{1FC135A6-C7D1-4C62-A290-61E557A9047B}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F0E0DC0D-D86F-4905-BA5D-15984EACD1C9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F0E0DC0D-D86F-4905-BA5D-15984EACD1C9}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F0E0DC0D-D86F-4905-BA5D-15984EACD1C9}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F0E0DC0D-D86F-4905-BA5D-15984EACD1C9}.Release|Any CPU.Build.0 = Release|Any CPU + {8016CE51-1C73-4F1C-83C7-4CF3691ABB4A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8016CE51-1C73-4F1C-83C7-4CF3691ABB4A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8016CE51-1C73-4F1C-83C7-4CF3691ABB4A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8016CE51-1C73-4F1C-83C7-4CF3691ABB4A}.Release|Any CPU.Build.0 = Release|Any CPU + {8DEAD223-FCD6-4192-9495-DE846C0F848F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8DEAD223-FCD6-4192-9495-DE846C0F848F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8DEAD223-FCD6-4192-9495-DE846C0F848F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8DEAD223-FCD6-4192-9495-DE846C0F848F}.Release|Any CPU.Build.0 = Release|Any CPU + {F5F1773B-E58A-41E8-BEDD-028EC91ED377}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F5F1773B-E58A-41E8-BEDD-028EC91ED377}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F5F1773B-E58A-41E8-BEDD-028EC91ED377}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F5F1773B-E58A-41E8-BEDD-028EC91ED377}.Release|Any CPU.Build.0 = Release|Any CPU + {1FC135A6-C7D1-4C62-A290-61E557A9047B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1FC135A6-C7D1-4C62-A290-61E557A9047B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1FC135A6-C7D1-4C62-A290-61E557A9047B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1FC135A6-C7D1-4C62-A290-61E557A9047B}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {8181D97E-2ED4-4E55-B1AD-0D6823C5BFFB} + EndGlobalSection +EndGlobal diff --git a/src/IxMilia.Dwg/Objects/DwgInsert.cs b/src/IxMilia.Dwg/Objects/DwgInsert.cs index d2ce596..89f0611 100644 --- a/src/IxMilia.Dwg/Objects/DwgInsert.cs +++ b/src/IxMilia.Dwg/Objects/DwgInsert.cs @@ -1,6 +1,6 @@ using System.Collections.Generic; -using System.Linq; - +using System.Linq; + namespace IxMilia.Dwg.Objects { public partial class DwgInsert @@ -24,9 +24,9 @@ internal override IEnumerable ChildItems yield return attrib; } - if (Attributes.Any()) - { - yield return SeqEnd; + if (Attributes.Any()) + { + yield return SeqEnd; } } }