Skip to content

Commit 1618593

Browse files
committed
fix: Correct placement of compile directives for EOS_DISABLE.
1 parent 2d3cd19 commit 1618593

File tree

1 file changed

+3
-1
lines changed
  • com.playeveryware.eos/Runtime/Core/Config

1 file changed

+3
-1
lines changed

com.playeveryware.eos/Runtime/Core/Config/Config.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -808,10 +808,10 @@ private static IEnumerable<MemberInfo> IteratePropertiesAndFields<T>(
808808

809809
#endregion
810810

811-
#endif
812811
}
813812
}
814813

814+
815815
// When compiled outside of Unity - there are some fields within this file
816816
// that are never used. This suppresses those warnings - as the fact that they
817817
// are unused is expected.
@@ -822,4 +822,6 @@ private static IEnumerable<MemberInfo> IteratePropertiesAndFields<T>(
822822
#pragma warning restore CS0414
823823
// Field is never assigned to, and will always have its default value.
824824
#pragma warning restore CS0649
825+
#endif
826+
825827
#endif

0 commit comments

Comments
 (0)