Advertisement
Guest User

Untitled

a guest
Apr 18th, 2015
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.92 KB | None | 0 0
  1. using System;
  2.  
  3. using NUnit.Framework;
  4.  
  5. namespace SampleNamespace
  6. {
  7. [TestFixture]
  8. public class SampleTest
  9. {
  10. [Test]
  11. public void Test()
  12. {
  13. }
  14.  
  15. [SetUp]
  16. public void SetUp()
  17. { }
  18.  
  19. [TearDown]
  20. public void TearDown()
  21. { }
  22.  
  23. [TestFixtureSetUp]
  24. public void FixtureSetUp()
  25. { }
  26.  
  27. [TestFixtureTearDown]
  28. public void FixtureTearDown()
  29. { }
  30.  
  31. public int PublicField;
  32. public const int PublicConstantField = 1;
  33. public static int PublicConstantField;
  34.  
  35. public void PublicMethod()
  36. {
  37. }
  38.  
  39. public static void PublicStaticMethod()
  40. { }
  41.  
  42. public int PublicProperty { get; set; }
  43. public static int PublicStaticProperty
  44. {
  45. get;
  46. set;
  47. }
  48.  
  49. public event EventHandler<EventArgs> PublicEvent;
  50. public enum PublicEnum { Value1, Value2 }
  51.  
  52. internal int InternalField;
  53. internal const int InternalConstantField = 1;
  54. internal static int InternalStaticField;
  55.  
  56. internal void InternalMethod()
  57. {
  58. }
  59.  
  60. internal static void InternalStaticMethod()
  61. { }
  62.  
  63. internal int InternalProperty { get; set; }
  64. internal static int InternalStaticProperty
  65. {
  66. get;
  67. set;
  68. }
  69.  
  70. internal event EventHandler<EventArgs> InternalEvent;
  71. internal enum InternalEnum { Value1, Value2 }
  72.  
  73. protected internal int ProtectedInternalField;
  74. protected internal const int ProtectedInternalConstantField = 1;
  75. protected internal static int ProtectedInternalConstantField;
  76.  
  77. protected internal void ProtectedInternalMethod()
  78. {
  79. }
  80.  
  81. protected internal static void ProtectedInternalStaticMethod()
  82. { }
  83.  
  84. protected internal int ProtectedInternalProperty { get; set; }
  85. protected internal static int ProtectedInternalStaticProperty
  86. {
  87. get;
  88. set;
  89. }
  90.  
  91. protected internal event EventHandler<EventArgs> ProtectedInternalEvent;
  92. protected internal enum ProtectedInternalEnum { Value1, Value2 }
  93.  
  94. protected int ProtectedField;
  95. protected const int ProtectedConstantField = 1;
  96. protected static int ProtectedStaticField;
  97.  
  98. protected void ProtectedMethod()
  99. {
  100. }
  101.  
  102. protected static void ProtectedStaticMethod()
  103. { }
  104.  
  105. protected int ProtectedProperty { get; set; }
  106. protected static int ProtectedStaticProperty
  107. {
  108. get;
  109. set;
  110. }
  111.  
  112. protected event EventHandler<EventArgs> ProtectedEvent;
  113. protected enum ProtectedEnum { Value1, Value2 }
  114.  
  115. private int PrivateField;
  116. private const int PrivateConstantField = 1;
  117. private static int PrivateStaticField;
  118.  
  119. private void PrivateMethod()
  120. {
  121. }
  122.  
  123. private static void PrivateStaticMethod()
  124. { }
  125.  
  126. private int PrivateProperty { get; set; }
  127. private static int PrivateStaticProperty
  128. {
  129. get;
  130. set;
  131. }
  132.  
  133. private event EventHandler<EventArgs> PrivateEvent;
  134. private enum PrivateEnum { Value1, Value2 }
  135. }
  136.  
  137. public class Sample
  138. {
  139. public int PublicField;
  140. public const int PublicConstantField = 1;
  141. public static int PublicConstantField;
  142.  
  143. public void PublicMethod()
  144. {
  145. }
  146.  
  147. public static void PublicStaticMethod()
  148. {}
  149.  
  150. public int PublicProperty { get; set; }
  151. public static int PublicStaticProperty
  152. {
  153. get;
  154. set;
  155. }
  156.  
  157. public event EventHandler<EventArgs> PublicEvent;
  158. public enum PublicEnum { Value1, Value2}
  159.  
  160. internal int InternalField;
  161. internal const int InternalConstantField = 1;
  162. internal static int InternalStaticField;
  163.  
  164. internal void InternalMethod()
  165. {
  166. }
  167.  
  168. internal static void InternalStaticMethod()
  169. { }
  170.  
  171. internal int InternalProperty { get; set; }
  172. internal static int InternalStaticProperty
  173. {
  174. get;
  175. set;
  176. }
  177.  
  178. internal event EventHandler<EventArgs> InternalEvent;
  179. internal enum InternalEnum { Value1, Value2 }
  180.  
  181. protected internal int ProtectedInternalField;
  182. protected internal const int ProtectedInternalConstantField = 1;
  183. protected internal static int ProtectedInternalConstantField;
  184.  
  185. protected internal void ProtectedInternalMethod()
  186. {
  187. }
  188.  
  189. protected internal static void ProtectedInternalStaticMethod()
  190. { }
  191.  
  192. protected internal int ProtectedInternalProperty { get; set; }
  193. protected internal static int ProtectedInternalStaticProperty
  194. {
  195. get;
  196. set;
  197. }
  198.  
  199. protected internal event EventHandler<EventArgs> ProtectedInternalEvent;
  200. protected internal enum ProtectedInternalEnum { Value1, Value2 }
  201.  
  202. protected int ProtectedField;
  203. protected const int ProtectedConstantField = 1;
  204. protected static int ProtectedStaticField;
  205.  
  206. protected void ProtectedMethod()
  207. {
  208. }
  209.  
  210. protected static void ProtectedStaticMethod()
  211. { }
  212.  
  213. protected int ProtectedProperty { get; set; }
  214. protected static int ProtectedStaticProperty
  215. {
  216. get;
  217. set;
  218. }
  219.  
  220. protected event EventHandler<EventArgs> ProtectedEvent;
  221. protected enum ProtectedEnum { Value1, Value2 }
  222.  
  223. private int PrivateField;
  224. private const int PrivateConstantField = 1;
  225. private static int PrivateStaticField;
  226.  
  227. private void PrivateMethod()
  228. {
  229. }
  230.  
  231. private static void PrivateStaticMethod()
  232. { }
  233.  
  234. private int PrivateProperty { get; set; }
  235. private static int PrivateStaticProperty
  236. {
  237. get;
  238. set;
  239. }
  240.  
  241. private event EventHandler<EventArgs> PrivateEvent;
  242. private enum PrivateEnum { Value1, Value2 }
  243.  
  244. }
  245. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement