Skip to content
Permalink
Browse files

Merge pull request #1425 from icsharpcode/nullable-reference-types

C# 8.0 nullable reference types
  • Loading branch information...
siegfriedpammer committed Mar 2, 2019
2 parents c71e7ef + 32bc246 commit 76e641f9606cce27e7c64aa8426eb7ca0f496f69
Showing with 1,534 additions and 447,800 deletions.
  1. +1 −0 ICSharpCode.Decompiler.Tests/CorrectnessTestRunner.cs
  2. +3 −1 ICSharpCode.Decompiler.Tests/Helpers/RemoveCompilerAttribute.cs
  3. +8 −2 ICSharpCode.Decompiler.Tests/Helpers/Tester.VB.cs
  4. +25 −9 ICSharpCode.Decompiler.Tests/Helpers/Tester.cs
  5. +9 −4 ICSharpCode.Decompiler.Tests/ICSharpCode.Decompiler.Tests.csproj
  6. +20 −16 ICSharpCode.Decompiler.Tests/PrettyTestRunner.cs
  7. +2 −3 ICSharpCode.Decompiler.Tests/TestCases/ILPretty/FSharpLoops_Debug.cs
  8. +2 −2 ICSharpCode.Decompiler.Tests/TestCases/ILPretty/FSharpLoops_Release.cs
  9. +23 −24 ICSharpCode.Decompiler.Tests/TestCases/ILPretty/Issue1325.cs
  10. +0 −849 ICSharpCode.Decompiler.Tests/TestCases/Pretty/AnonymousTypes.il
  11. +0 −879 ICSharpCode.Decompiler.Tests/TestCases/Pretty/AnonymousTypes.mcs.il
  12. +0 −744 ICSharpCode.Decompiler.Tests/TestCases/Pretty/AnonymousTypes.opt.il
  13. +0 −879 ICSharpCode.Decompiler.Tests/TestCases/Pretty/AnonymousTypes.opt.mcs.il
  14. +0 −814 ICSharpCode.Decompiler.Tests/TestCases/Pretty/AnonymousTypes.opt.roslyn.il
  15. +0 −853 ICSharpCode.Decompiler.Tests/TestCases/Pretty/AnonymousTypes.roslyn.il
  16. +0 −30 ICSharpCode.Decompiler.Tests/TestCases/Pretty/AssemblyCustomAttributes.il
  17. +0 −30 ICSharpCode.Decompiler.Tests/TestCases/Pretty/AssemblyCustomAttributes.opt.il
  18. +0 −34 ICSharpCode.Decompiler.Tests/TestCases/Pretty/AssemblyCustomAttributes.opt.roslyn.il
  19. +0 −34 ICSharpCode.Decompiler.Tests/TestCases/Pretty/AssemblyCustomAttributes.roslyn.il
  20. +0 −1,842 ICSharpCode.Decompiler.Tests/TestCases/Pretty/Async.il
  21. +0 −1,645 ICSharpCode.Decompiler.Tests/TestCases/Pretty/Async.opt.il
  22. +0 −2,010 ICSharpCode.Decompiler.Tests/TestCases/Pretty/Async.opt.roslyn.il
  23. +0 −2,438 ICSharpCode.Decompiler.Tests/TestCases/Pretty/Async.roslyn.il
  24. +0 −205 ICSharpCode.Decompiler.Tests/TestCases/Pretty/AsyncMain.opt.roslyn.il
  25. +0 −233 ICSharpCode.Decompiler.Tests/TestCases/Pretty/AsyncMain.roslyn.il
  26. +0 −215 ICSharpCode.Decompiler.Tests/TestCases/Pretty/AutoProperties.opt.roslyn.il
  27. +0 −223 ICSharpCode.Decompiler.Tests/TestCases/Pretty/AutoProperties.roslyn.il
  28. +0 −1,055 ICSharpCode.Decompiler.Tests/TestCases/Pretty/CS6_StringInterpolation.opt.roslyn.il
  29. +0 −1,126 ICSharpCode.Decompiler.Tests/TestCases/Pretty/CS6_StringInterpolation.roslyn.il
  30. +0 −79 ICSharpCode.Decompiler.Tests/TestCases/Pretty/CS72_PrivateProtected.opt.roslyn.il
  31. +0 −82 ICSharpCode.Decompiler.Tests/TestCases/Pretty/CS72_PrivateProtected.roslyn.il
  32. +0 −1,249 ICSharpCode.Decompiler.Tests/TestCases/Pretty/CS73_StackAllocInitializers.opt.roslyn.il
  33. +0 −1,406 ICSharpCode.Decompiler.Tests/TestCases/Pretty/CS73_StackAllocInitializers.roslyn.il
  34. +5 −5 ICSharpCode.Decompiler.Tests/TestCases/Pretty/CheckedUnchecked.cs
  35. +0 −708 ICSharpCode.Decompiler.Tests/TestCases/Pretty/CheckedUnchecked.il
  36. +0 −611 ICSharpCode.Decompiler.Tests/TestCases/Pretty/CheckedUnchecked.opt.il
  37. +0 −653 ICSharpCode.Decompiler.Tests/TestCases/Pretty/CheckedUnchecked.opt.roslyn.il
  38. +0 −726 ICSharpCode.Decompiler.Tests/TestCases/Pretty/CheckedUnchecked.roslyn.il
  39. +0 −22,203 ICSharpCode.Decompiler.Tests/TestCases/Pretty/CompoundAssignmentTest.il
  40. +0 −20,360 ICSharpCode.Decompiler.Tests/TestCases/Pretty/CompoundAssignmentTest.opt.il
  41. +0 −23,706 ICSharpCode.Decompiler.Tests/TestCases/Pretty/CompoundAssignmentTest.opt.roslyn.il
  42. +0 −26,199 ICSharpCode.Decompiler.Tests/TestCases/Pretty/CompoundAssignmentTest.roslyn.il
  43. +0 −169 ICSharpCode.Decompiler.Tests/TestCases/Pretty/ConstantsTests.il
  44. +0 −151 ICSharpCode.Decompiler.Tests/TestCases/Pretty/ConstantsTests.opt.il
  45. +0 −153 ICSharpCode.Decompiler.Tests/TestCases/Pretty/ConstantsTests.opt.roslyn.il
  46. +0 −172 ICSharpCode.Decompiler.Tests/TestCases/Pretty/ConstantsTests.roslyn.il
  47. +0 −88 ICSharpCode.Decompiler.Tests/TestCases/Pretty/ConstructorInitializers.il
  48. +0 −120 ICSharpCode.Decompiler.Tests/TestCases/Pretty/ConstructorInitializers.mcs.il
  49. +0 −87 ICSharpCode.Decompiler.Tests/TestCases/Pretty/ConstructorInitializers.opt.il
  50. +0 −120 ICSharpCode.Decompiler.Tests/TestCases/Pretty/ConstructorInitializers.opt.mcs.il
  51. +0 −91 ICSharpCode.Decompiler.Tests/TestCases/Pretty/ConstructorInitializers.opt.roslyn.il
  52. +0 −93 ICSharpCode.Decompiler.Tests/TestCases/Pretty/ConstructorInitializers.roslyn.il
  53. +3 −80 ICSharpCode.Decompiler.Tests/TestCases/Pretty/CustomAttributeConflicts.cs
  54. +0 −340 ICSharpCode.Decompiler.Tests/TestCases/Pretty/CustomAttributeConflicts.il
  55. +0 −332 ICSharpCode.Decompiler.Tests/TestCases/Pretty/CustomAttributeConflicts.opt.il
  56. +0 −336 ICSharpCode.Decompiler.Tests/TestCases/Pretty/CustomAttributeConflicts.opt.roslyn.il
  57. +0 −359 ICSharpCode.Decompiler.Tests/TestCases/Pretty/CustomAttributeConflicts.roslyn.il
  58. +108 −107 ICSharpCode.Decompiler.Tests/TestCases/Pretty/CustomAttributeSamples.cs
  59. +0 −1,193 ICSharpCode.Decompiler.Tests/TestCases/Pretty/CustomAttributeSamples.il
  60. +0 −1,071 ICSharpCode.Decompiler.Tests/TestCases/Pretty/CustomAttributeSamples.opt.il
  61. +0 −1,081 ICSharpCode.Decompiler.Tests/TestCases/Pretty/CustomAttributeSamples.opt.roslyn.il
  62. +0 −1,207 ICSharpCode.Decompiler.Tests/TestCases/Pretty/CustomAttributeSamples.roslyn.il
  63. +0 −356 ICSharpCode.Decompiler.Tests/TestCases/Pretty/CustomAttributes.il
  64. +0 −340 ICSharpCode.Decompiler.Tests/TestCases/Pretty/CustomAttributes.opt.il
  65. +0 −344 ICSharpCode.Decompiler.Tests/TestCases/Pretty/CustomAttributes.opt.roslyn.il
  66. +0 −360 ICSharpCode.Decompiler.Tests/TestCases/Pretty/CustomAttributes.roslyn.il
  67. +0 −166 ICSharpCode.Decompiler.Tests/TestCases/Pretty/CustomAttributes2.il
  68. +0 −142 ICSharpCode.Decompiler.Tests/TestCases/Pretty/CustomAttributes2.opt.il
  69. +0 −146 ICSharpCode.Decompiler.Tests/TestCases/Pretty/CustomAttributes2.opt.roslyn.il
  70. +0 −163 ICSharpCode.Decompiler.Tests/TestCases/Pretty/CustomAttributes2.roslyn.il
  71. +0 −1,762 ICSharpCode.Decompiler.Tests/TestCases/Pretty/CustomShortCircuitOperators.il
  72. +0 −1,530 ICSharpCode.Decompiler.Tests/TestCases/Pretty/CustomShortCircuitOperators.opt.il
  73. +0 −1,528 ICSharpCode.Decompiler.Tests/TestCases/Pretty/CustomShortCircuitOperators.opt.roslyn.il
  74. +0 −1,778 ICSharpCode.Decompiler.Tests/TestCases/Pretty/CustomShortCircuitOperators.roslyn.il
  75. +0 −1,761 ICSharpCode.Decompiler.Tests/TestCases/Pretty/DelegateConstruction.il
  76. +0 −1,458 ICSharpCode.Decompiler.Tests/TestCases/Pretty/DelegateConstruction.opt.il
  77. +0 −1,480 ICSharpCode.Decompiler.Tests/TestCases/Pretty/DelegateConstruction.opt.roslyn.il
  78. +0 −1,744 ICSharpCode.Decompiler.Tests/TestCases/Pretty/DelegateConstruction.roslyn.il
  79. +0 −178 ICSharpCode.Decompiler.Tests/TestCases/Pretty/Discards.opt.roslyn.il
  80. +0 −190 ICSharpCode.Decompiler.Tests/TestCases/Pretty/Discards.roslyn.il
  81. +8 −8 ICSharpCode.Decompiler.Tests/TestCases/Pretty/DynamicTests.cs
  82. +0 −15,698 ICSharpCode.Decompiler.Tests/TestCases/Pretty/DynamicTests.il
  83. +0 −14,971 ICSharpCode.Decompiler.Tests/TestCases/Pretty/DynamicTests.opt.il
  84. +0 −14,033 ICSharpCode.Decompiler.Tests/TestCases/Pretty/DynamicTests.opt.roslyn.il
  85. +0 −15,002 ICSharpCode.Decompiler.Tests/TestCases/Pretty/DynamicTests.roslyn.il
  86. +0 −242 ICSharpCode.Decompiler.Tests/TestCases/Pretty/EnumTests.il
  87. +0 −194 ICSharpCode.Decompiler.Tests/TestCases/Pretty/EnumTests.opt.il
  88. +0 −198 ICSharpCode.Decompiler.Tests/TestCases/Pretty/EnumTests.opt.roslyn.il
  89. +0 −247 ICSharpCode.Decompiler.Tests/TestCases/Pretty/EnumTests.roslyn.il
  90. +0 −824 ICSharpCode.Decompiler.Tests/TestCases/Pretty/ExceptionHandling.il
  91. +0 −582 ICSharpCode.Decompiler.Tests/TestCases/Pretty/ExceptionHandling.opt.il
  92. +0 −966 ICSharpCode.Decompiler.Tests/TestCases/Pretty/ExceptionHandling.opt.roslyn.il
  93. +0 −1,233 ICSharpCode.Decompiler.Tests/TestCases/Pretty/ExceptionHandling.roslyn.il
  94. +0 −15,385 ICSharpCode.Decompiler.Tests/TestCases/Pretty/ExpressionTrees.il
  95. +0 −14,602 ICSharpCode.Decompiler.Tests/TestCases/Pretty/ExpressionTrees.opt.il
  96. +0 −13,798 ICSharpCode.Decompiler.Tests/TestCases/Pretty/ExpressionTrees.opt.roslyn.il
  97. +0 −14,141 ICSharpCode.Decompiler.Tests/TestCases/Pretty/ExpressionTrees.roslyn.il
  98. +0 −1,779 ICSharpCode.Decompiler.Tests/TestCases/Pretty/FixProxyCalls.il
  99. +0 −1,501 ICSharpCode.Decompiler.Tests/TestCases/Pretty/FixProxyCalls.opt.il
  100. +0 −1,622 ICSharpCode.Decompiler.Tests/TestCases/Pretty/FixProxyCalls.roslyn.il
  101. +17 −0 ICSharpCode.Decompiler.Tests/TestCases/Pretty/Generics.cs
  102. +0 −811 ICSharpCode.Decompiler.Tests/TestCases/Pretty/Generics.il
  103. +0 −642 ICSharpCode.Decompiler.Tests/TestCases/Pretty/Generics.opt.il
  104. +0 −630 ICSharpCode.Decompiler.Tests/TestCases/Pretty/Generics.opt.roslyn.il
  105. +0 −807 ICSharpCode.Decompiler.Tests/TestCases/Pretty/Generics.roslyn.il
  106. +0 −61 ICSharpCode.Decompiler.Tests/TestCases/Pretty/HelloWorld.il
  107. +0 −4,907 ICSharpCode.Decompiler.Tests/TestCases/Pretty/InitializerTests.il
  108. +0 −4,443 ICSharpCode.Decompiler.Tests/TestCases/Pretty/InitializerTests.opt.il
  109. +0 −4,508 ICSharpCode.Decompiler.Tests/TestCases/Pretty/InitializerTests.opt.roslyn.il
  110. +0 −4,972 ICSharpCode.Decompiler.Tests/TestCases/Pretty/InitializerTests.roslyn.il
  111. +0 −525 ICSharpCode.Decompiler.Tests/TestCases/Pretty/InlineAssignmentTest.il
  112. +0 −426 ICSharpCode.Decompiler.Tests/TestCases/Pretty/InlineAssignmentTest.opt.il
  113. +0 −427 ICSharpCode.Decompiler.Tests/TestCases/Pretty/InlineAssignmentTest.opt.roslyn.il
  114. +0 −520 ICSharpCode.Decompiler.Tests/TestCases/Pretty/InlineAssignmentTest.roslyn.il
  115. +0 −81 ICSharpCode.Decompiler.Tests/TestCases/Pretty/InterfaceTests.il
  116. +0 −81 ICSharpCode.Decompiler.Tests/TestCases/Pretty/InterfaceTests.opt.il
  117. +0 −85 ICSharpCode.Decompiler.Tests/TestCases/Pretty/InterfaceTests.opt.roslyn.il
  118. +0 −87 ICSharpCode.Decompiler.Tests/TestCases/Pretty/InterfaceTests.roslyn.il
  119. +10 −10 ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue1080.cs
  120. +0 −111 ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue1080.opt.roslyn.il
  121. +0 −123 ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue1080.roslyn.il
  122. +126 −117 ICSharpCode.Decompiler.Tests/TestCases/Pretty/LiftedOperators.cs
  123. +0 −6,934 ICSharpCode.Decompiler.Tests/TestCases/Pretty/LiftedOperators.il
  124. +0 −6,375 ICSharpCode.Decompiler.Tests/TestCases/Pretty/LiftedOperators.opt.il
  125. +0 −5,800 ICSharpCode.Decompiler.Tests/TestCases/Pretty/LiftedOperators.opt.roslyn.il
  126. +0 −6,489 ICSharpCode.Decompiler.Tests/TestCases/Pretty/LiftedOperators.roslyn.il
  127. +0 −141 ICSharpCode.Decompiler.Tests/TestCases/Pretty/Lock.il
  128. +0 −134 ICSharpCode.Decompiler.Tests/TestCases/Pretty/Lock.mcs.il
  129. +0 −117 ICSharpCode.Decompiler.Tests/TestCases/Pretty/Lock.opt.il
  130. +0 −134 ICSharpCode.Decompiler.Tests/TestCases/Pretty/Lock.opt.mcs.il
  131. +0 −121 ICSharpCode.Decompiler.Tests/TestCases/Pretty/Lock.opt.roslyn.il
  132. +0 −134 ICSharpCode.Decompiler.Tests/TestCases/Pretty/Lock.roslyn.il
  133. +0 −3,303 ICSharpCode.Decompiler.Tests/TestCases/Pretty/Loops.il
  134. +0 −2,328 ICSharpCode.Decompiler.Tests/TestCases/Pretty/Loops.mcs.il
  135. +0 −2,483 ICSharpCode.Decompiler.Tests/TestCases/Pretty/Loops.opt.il
  136. +0 −2,328 ICSharpCode.Decompiler.Tests/TestCases/Pretty/Loops.opt.mcs.il
  137. +0 −2,421 ICSharpCode.Decompiler.Tests/TestCases/Pretty/Loops.opt.roslyn.il
  138. +0 −3,123 ICSharpCode.Decompiler.Tests/TestCases/Pretty/Loops.roslyn.il
  139. +0 −161 ICSharpCode.Decompiler.Tests/TestCases/Pretty/MemberTests.il
  140. +0 −152 ICSharpCode.Decompiler.Tests/TestCases/Pretty/MemberTests.opt.il
  141. +0 −156 ICSharpCode.Decompiler.Tests/TestCases/Pretty/MemberTests.opt.roslyn.il
  142. +0 −167 ICSharpCode.Decompiler.Tests/TestCases/Pretty/MemberTests.roslyn.il
  143. +0 −214 ICSharpCode.Decompiler.Tests/TestCases/Pretty/MultidimensionalArray.il
  144. +0 −197 ICSharpCode.Decompiler.Tests/TestCases/Pretty/MultidimensionalArray.opt.il
  145. +0 −201 ICSharpCode.Decompiler.Tests/TestCases/Pretty/MultidimensionalArray.opt.roslyn.il
  146. +0 −219 ICSharpCode.Decompiler.Tests/TestCases/Pretty/MultidimensionalArray.roslyn.il
  147. +0 −193 ICSharpCode.Decompiler.Tests/TestCases/Pretty/NamedArguments.il
  148. +0 −175 ICSharpCode.Decompiler.Tests/TestCases/Pretty/NamedArguments.opt.il
  149. +0 −178 ICSharpCode.Decompiler.Tests/TestCases/Pretty/NamedArguments.opt.roslyn.il
  150. +0 −196 ICSharpCode.Decompiler.Tests/TestCases/Pretty/NamedArguments.roslyn.il
  151. +0 −1,612 ICSharpCode.Decompiler.Tests/TestCases/Pretty/NullPropagation.opt.roslyn.il
  152. +0 −1,807 ICSharpCode.Decompiler.Tests/TestCases/Pretty/NullPropagation.roslyn.il
  153. +31 −0 ICSharpCode.Decompiler.Tests/TestCases/Pretty/NullableRefTypes.cs
  154. +0 −501 ICSharpCode.Decompiler.Tests/TestCases/Pretty/OptionalArguments.il
  155. +0 −450 ICSharpCode.Decompiler.Tests/TestCases/Pretty/OptionalArguments.opt.il
  156. +0 −452 ICSharpCode.Decompiler.Tests/TestCases/Pretty/OptionalArguments.opt.roslyn.il
  157. +0 −503 ICSharpCode.Decompiler.Tests/TestCases/Pretty/OptionalArguments.roslyn.il
  158. +0 −210 ICSharpCode.Decompiler.Tests/TestCases/Pretty/PInvoke.il
  159. +0 −205 ICSharpCode.Decompiler.Tests/TestCases/Pretty/PInvoke.opt.il
  160. +0 −208 ICSharpCode.Decompiler.Tests/TestCases/Pretty/PInvoke.opt.roslyn.il
  161. +0 −214 ICSharpCode.Decompiler.Tests/TestCases/Pretty/PInvoke.roslyn.il
  162. +0 −1,076 ICSharpCode.Decompiler.Tests/TestCases/Pretty/PropertiesAndEvents.il
  163. +0 −955 ICSharpCode.Decompiler.Tests/TestCases/Pretty/PropertiesAndEvents.opt.il
  164. +0 −1,005 ICSharpCode.Decompiler.Tests/TestCases/Pretty/PropertiesAndEvents.opt.roslyn.il
  165. +0 −1,068 ICSharpCode.Decompiler.Tests/TestCases/Pretty/PropertiesAndEvents.roslyn.il
  166. +1 −1 ICSharpCode.Decompiler.Tests/TestCases/Pretty/QualifierTests.cs
  167. +0 −739 ICSharpCode.Decompiler.Tests/TestCases/Pretty/QualifierTests.il
  168. +0 −642 ICSharpCode.Decompiler.Tests/TestCases/Pretty/QualifierTests.opt.il
  169. +0 −647 ICSharpCode.Decompiler.Tests/TestCases/Pretty/QualifierTests.opt.roslyn.il
  170. +0 −733 ICSharpCode.Decompiler.Tests/TestCases/Pretty/QualifierTests.roslyn.il
  171. +19 −19 ICSharpCode.Decompiler.Tests/TestCases/Pretty/QueryExpressions.cs
  172. +0 −5,897 ICSharpCode.Decompiler.Tests/TestCases/Pretty/QueryExpressions.il
  173. +0 −4,918 ICSharpCode.Decompiler.Tests/TestCases/Pretty/QueryExpressions.opt.il
  174. +0 −5,553 ICSharpCode.Decompiler.Tests/TestCases/Pretty/QueryExpressions.opt.roslyn.il
  175. +0 −5,778 ICSharpCode.Decompiler.Tests/TestCases/Pretty/QueryExpressions.roslyn.il
  176. +7 −12 ICSharpCode.Decompiler.Tests/TestCases/Pretty/Readme.txt
  177. +0 −949 ICSharpCode.Decompiler.Tests/TestCases/Pretty/ReduceNesting.il
  178. +0 −650 ICSharpCode.Decompiler.Tests/TestCases/Pretty/ReduceNesting.opt.il
  179. +0 −668 ICSharpCode.Decompiler.Tests/TestCases/Pretty/ReduceNesting.opt.roslyn.il
  180. +0 −954 ICSharpCode.Decompiler.Tests/TestCases/Pretty/ReduceNesting.roslyn.il
  181. +0 −90 ICSharpCode.Decompiler.Tests/TestCases/Pretty/RefLocalsAndReturns.opt.roslyn.il
  182. +0 −91 ICSharpCode.Decompiler.Tests/TestCases/Pretty/RefLocalsAndReturns.roslyn.il
  183. +0 −1,500 ICSharpCode.Decompiler.Tests/TestCases/Pretty/ShortCircuit.il
  184. +0 −982 ICSharpCode.Decompiler.Tests/TestCases/Pretty/ShortCircuit.opt.il
  185. +0 −973 ICSharpCode.Decompiler.Tests/TestCases/Pretty/ShortCircuit.opt.roslyn.il
  186. +0 −1,410 ICSharpCode.Decompiler.Tests/TestCases/Pretty/ShortCircuit.roslyn.il
  187. +8 −4 ICSharpCode.Decompiler.Tests/TestCases/Pretty/Switch.cs
  188. +0 −3,907 ICSharpCode.Decompiler.Tests/TestCases/Pretty/Switch.il
  189. +0 −2,945 ICSharpCode.Decompiler.Tests/TestCases/Pretty/Switch.opt.il
  190. +0 −3,118 ICSharpCode.Decompiler.Tests/TestCases/Pretty/Switch.opt.roslyn.il
  191. +0 −4,294 ICSharpCode.Decompiler.Tests/TestCases/Pretty/Switch.roslyn.il
  192. +0 −780 ICSharpCode.Decompiler.Tests/TestCases/Pretty/TupleTests.opt.roslyn.il
  193. +0 −828 ICSharpCode.Decompiler.Tests/TestCases/Pretty/TupleTests.roslyn.il
  194. +0 −973 ICSharpCode.Decompiler.Tests/TestCases/Pretty/TypeAnalysisTests.il
  195. +0 −680 ICSharpCode.Decompiler.Tests/TestCases/Pretty/TypeAnalysisTests.opt.il
  196. +0 −682 ICSharpCode.Decompiler.Tests/TestCases/Pretty/TypeAnalysisTests.opt.roslyn.il
  197. +0 −973 ICSharpCode.Decompiler.Tests/TestCases/Pretty/TypeAnalysisTests.roslyn.il
  198. +123 −119 ICSharpCode.Decompiler.Tests/TestCases/Pretty/TypeMemberTests.cs
  199. +0 −3,801 ICSharpCode.Decompiler.Tests/TestCases/Pretty/TypeMemberTests.il
  200. +0 −3,392 ICSharpCode.Decompiler.Tests/TestCases/Pretty/TypeMemberTests.opt.il
  201. +0 −3,411 ICSharpCode.Decompiler.Tests/TestCases/Pretty/TypeMemberTests.opt.roslyn.il
  202. +0 −3,727 ICSharpCode.Decompiler.Tests/TestCases/Pretty/TypeMemberTests.roslyn.il
  203. +0 −1,715 ICSharpCode.Decompiler.Tests/TestCases/Pretty/UnsafeCode.il
  204. +0 −1,399 ICSharpCode.Decompiler.Tests/TestCases/Pretty/UnsafeCode.opt.il
  205. +0 −1,395 ICSharpCode.Decompiler.Tests/TestCases/Pretty/UnsafeCode.opt.roslyn.il
  206. +0 −1,714 ICSharpCode.Decompiler.Tests/TestCases/Pretty/UnsafeCode.roslyn.il
  207. +0 −517 ICSharpCode.Decompiler.Tests/TestCases/Pretty/Using.il
  208. +0 −406 ICSharpCode.Decompiler.Tests/TestCases/Pretty/Using.opt.il
  209. +0 −389 ICSharpCode.Decompiler.Tests/TestCases/Pretty/Using.opt.roslyn.il
  210. +0 −444 ICSharpCode.Decompiler.Tests/TestCases/Pretty/Using.roslyn.il
  211. +10 −8 ICSharpCode.Decompiler.Tests/TestCases/Pretty/ValueTypes.cs
  212. +0 −511 ICSharpCode.Decompiler.Tests/TestCases/Pretty/ValueTypes.il
  213. +0 −394 ICSharpCode.Decompiler.Tests/TestCases/Pretty/ValueTypes.opt.il
  214. +0 −392 ICSharpCode.Decompiler.Tests/TestCases/Pretty/ValueTypes.opt.roslyn.il
  215. +0 −511 ICSharpCode.Decompiler.Tests/TestCases/Pretty/ValueTypes.roslyn.il
  216. +0 −95 ICSharpCode.Decompiler.Tests/TestCases/Pretty/VariableNaming.il
  217. +0 −91 ICSharpCode.Decompiler.Tests/TestCases/Pretty/VariableNaming.opt.il
  218. +0 −95 ICSharpCode.Decompiler.Tests/TestCases/Pretty/VariableNaming.opt.roslyn.il
  219. +0 −101 ICSharpCode.Decompiler.Tests/TestCases/Pretty/VariableNaming.roslyn.il
  220. +0 −95 ICSharpCode.Decompiler.Tests/TestCases/Pretty/VariableNamingWithoutSymbols.il
  221. +0 −91 ICSharpCode.Decompiler.Tests/TestCases/Pretty/VariableNamingWithoutSymbols.opt.il
  222. +0 −95 ICSharpCode.Decompiler.Tests/TestCases/Pretty/VariableNamingWithoutSymbols.opt.roslyn.il
  223. +0 −101 ICSharpCode.Decompiler.Tests/TestCases/Pretty/VariableNamingWithoutSymbols.roslyn.il
  224. +0 −206 ICSharpCode.Decompiler.Tests/TestCases/Pretty/WellKnownConstants.il
  225. +0 −206 ICSharpCode.Decompiler.Tests/TestCases/Pretty/WellKnownConstants.opt.il
  226. +0 −210 ICSharpCode.Decompiler.Tests/TestCases/Pretty/WellKnownConstants.opt.roslyn.il
  227. +0 −211 ICSharpCode.Decompiler.Tests/TestCases/Pretty/WellKnownConstants.roslyn.il
  228. +11 −11 ICSharpCode.Decompiler.Tests/TestCases/Pretty/YieldReturn.cs
  229. +0 −7,400 ICSharpCode.Decompiler.Tests/TestCases/Pretty/YieldReturn.il
  230. +0 −5,897 ICSharpCode.Decompiler.Tests/TestCases/Pretty/YieldReturn.opt.il
  231. +0 −6,068 ICSharpCode.Decompiler.Tests/TestCases/Pretty/YieldReturn.opt.roslyn.il
  232. +0 −6,641 ICSharpCode.Decompiler.Tests/TestCases/Pretty/YieldReturn.roslyn.il
  233. +11 −9 ICSharpCode.Decompiler.Tests/TestCases/Ugly/NoArrayInitializers.Expected.cs
  234. +19 −1 ICSharpCode.Decompiler/CSharp/CSharpDecompiler.cs
  235. +1 −0 ICSharpCode.Decompiler/CSharp/CSharpLanguageVersion.cs
  236. +2 −1 ICSharpCode.Decompiler/CSharp/CallBuilder.cs
  237. +16 −1 ICSharpCode.Decompiler/CSharp/ExpressionBuilder.cs
  238. +2 −1 ICSharpCode.Decompiler/CSharp/OutputVisitor/CSharpOutputVisitor.cs
  239. +1 −0 ICSharpCode.Decompiler/CSharp/OutputVisitor/InsertParenthesesVisitor.cs
  240. +9 −1 ICSharpCode.Decompiler/CSharp/Syntax/Expressions/UnaryOperatorExpression.cs
  241. +54 −11 ICSharpCode.Decompiler/CSharp/Syntax/TypeSystemAstBuilder.cs
  242. +4 −1 ICSharpCode.Decompiler/CSharp/TranslatedExpression.cs
  243. +37 −3 ICSharpCode.Decompiler/DecompilerSettings.cs
  244. +4 −1 ICSharpCode.Decompiler/ICSharpCode.Decompiler.csproj
  245. +127 −0 ICSharpCode.Decompiler/IL/Transforms/DynamicIsEventAssignmentTransform.cs
  246. +4 −0 ICSharpCode.Decompiler/IL/Transforms/ExpressionTransforms.cs
  247. +7 −1 ICSharpCode.Decompiler/IL/Transforms/ILInlining.cs
  248. +2 −0 ICSharpCode.Decompiler/IL/Transforms/NullPropagationTransform.cs
  249. +14 −14 ICSharpCode.Decompiler/IL/Transforms/SwitchOnNullableTransform.cs
  250. +98 −32 ICSharpCode.Decompiler/IL/Transforms/SwitchOnStringTransform.cs
  251. +5 −4 ICSharpCode.Decompiler/Semantics/TupleResolveResult.cs
  252. +0 −192 ICSharpCode.Decompiler/TypeSystem/AnonymousType.cs
  253. +50 −14 ICSharpCode.Decompiler/TypeSystem/ApplyAttributeTypeVisitor.cs
  254. +31 −7 ICSharpCode.Decompiler/TypeSystem/ArrayType.cs
  255. +16 −1 ICSharpCode.Decompiler/TypeSystem/DecompilerTypeSystem.cs
  256. +10 −0 ICSharpCode.Decompiler/TypeSystem/IType.cs
  257. +14 −1 ICSharpCode.Decompiler/TypeSystem/ITypeParameter.cs
  258. +9 −0 ICSharpCode.Decompiler/TypeSystem/Implementation/AbstractType.cs
  259. +13 −2 ICSharpCode.Decompiler/TypeSystem/Implementation/AbstractTypeParameter.cs
  260. +10 −6 ICSharpCode.Decompiler/TypeSystem/Implementation/AttributeListBuilder.cs
  261. +109 −0 ICSharpCode.Decompiler/TypeSystem/Implementation/DecoratedType.cs
  262. +7 −2 ICSharpCode.Decompiler/TypeSystem/Implementation/DefaultTypeParameter.cs
  263. +6 −12 ICSharpCode.Decompiler/TypeSystem/Implementation/DummyTypeParameter.cs
  264. +7 −0 ICSharpCode.Decompiler/TypeSystem/Implementation/KnownAttributes.cs
  265. +1 −1 ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataEvent.cs
  266. +1 −1 ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataField.cs
  267. +2 −2 ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataMethod.cs
  268. +1 −1 ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataParameter.cs
  269. +1 −1 ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataProperty.cs
  270. +11 −1 ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataTypeDefinition.cs
  271. +53 −1 ICSharpCode.Decompiler/TypeSystem/Implementation/MetadataTypeParameter.cs
  272. +9 −0 ICSharpCode.Decompiler/TypeSystem/Implementation/MinimalCorlib.cs
  273. +98 −0 ICSharpCode.Decompiler/TypeSystem/Implementation/NullabilityAnnotatedType.cs
  274. +7 −12 ICSharpCode.Decompiler/TypeSystem/Implementation/SpecializedMethod.cs
  275. +3 −3 ICSharpCode.Decompiler/TypeSystem/MetadataModule.cs
  276. +10 −0 ICSharpCode.Decompiler/TypeSystem/ModifiedType.cs
  277. +22 −1 ICSharpCode.Decompiler/TypeSystem/NormalizeTypeVisitor.cs
  278. +13 −0 ICSharpCode.Decompiler/TypeSystem/Nullability.cs
  279. +12 −2 ICSharpCode.Decompiler/TypeSystem/ParameterizedType.cs
  280. +1 −1 ICSharpCode.Decompiler/TypeSystem/TupleType.cs
  281. +5 −0 ICSharpCode.Decompiler/TypeSystem/TypeVisitor.cs
  282. +3 −3 ILSpy.Tests/ILSpy.Tests.csproj
  283. +1 −0 ILSpy/Languages/CSharpLanguage.cs
  284. +1 −1 ILSpy/Properties/AssemblyInfo.template.cs
@@ -341,6 +341,7 @@ void RunCS([CallerMemberName] string testName = null, CompilerOptions options =

void RunVB([CallerMemberName] string testName = null, CompilerOptions options = CompilerOptions.UseDebug)
{
options |= CompilerOptions.ReferenceVisualBasic;
string testFileName = testName + ".vb";
string testOutputFileName = testName + Tester.GetSuffix(options) + ".exe";
CompilerResults outputFile = null, decompiledOutputFile = null;
@@ -33,11 +33,13 @@ public void Run(AstNode rootNode, TransformContext context)
}
}

public class RemoveEmbeddedAtttributes : DepthFirstAstVisitor, IAstTransform
public class RemoveEmbeddedAttributes : DepthFirstAstVisitor, IAstTransform
{
HashSet<string> attributeNames = new HashSet<string>() {
"System.Runtime.CompilerServices.IsReadOnlyAttribute",
"System.Runtime.CompilerServices.IsByRefLikeAttribute",
"System.Runtime.CompilerServices.IsUnmanagedAttribute",
"System.Runtime.CompilerServices.NullableAttribute",
"Microsoft.CodeAnalysis.EmbeddedAttribute",
};

@@ -26,8 +26,12 @@ public static CompilerResults CompileVB(string sourceFileName, CompilerOptions f
if (flags.HasFlag(CompilerOptions.UseRoslyn)) {
var parseOptions = new VisualBasicParseOptions(preprocessorSymbols: preprocessorSymbols, languageVersion: LanguageVersion.Latest);
var syntaxTrees = sourceFileNames.Select(f => SyntaxFactory.ParseSyntaxTree(File.ReadAllText(f), parseOptions, path: f));
var references = defaultReferences.Value;
if (flags.HasFlag(CompilerOptions.ReferenceVisualBasic)) {
references = references.Concat(visualBasic.Value);
}
var compilation = VisualBasicCompilation.Create(Path.GetFileNameWithoutExtension(sourceFileName),
syntaxTrees, defaultReferences.Value,
syntaxTrees, references,
new VisualBasicCompilationOptions(
flags.HasFlag(CompilerOptions.Library) ? OutputKind.DynamicallyLinkedLibrary : OutputKind.ConsoleApplication,
platform: flags.HasFlag(CompilerOptions.Force32Bit) ? Platform.X86 : Platform.AnyCpu,
@@ -65,7 +69,9 @@ public static CompilerResults CompileVB(string sourceFileName, CompilerOptions f
options.ReferencedAssemblies.Add("System.dll");
options.ReferencedAssemblies.Add("System.Core.dll");
options.ReferencedAssemblies.Add("System.Xml.dll");
options.ReferencedAssemblies.Add("Microsoft.VisualBasic.dll");
if (flags.HasFlag(CompilerOptions.ReferenceVisualBasic)) {
options.ReferencedAssemblies.Add("Microsoft.VisualBasic.dll");
}
CompilerResults results = provider.CompileAssemblyFromFile(options, sourceFileNames.ToArray());
if (results.Errors.Cast<CompilerError>().Any(e => !e.IsWarning)) {
StringBuilder b = new StringBuilder("Compiler error:");
@@ -54,6 +54,7 @@ public enum CompilerOptions
Library = 0x8,
UseRoslyn = 0x10,
UseMcs = 0x20,
ReferenceVisualBasic = 0x40,
}

[Flags]
@@ -181,10 +182,11 @@ private static string ReplacePrivImplDetails(string il)
return Regex.Replace(il, @"'<PrivateImplementationDetails>\{[0-9A-F-]+\}'", "'<PrivateImplementationDetails>'");
}

static readonly Lazy<IEnumerable<MetadataReference>> defaultReferences = new Lazy<IEnumerable<MetadataReference>>(delegate {
string refAsmPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFilesX86),
static readonly string refAsmPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFilesX86),
@"Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2");
string thisAsmPath = Path.GetDirectoryName(typeof(Tester).Assembly.Location);
static readonly string thisAsmPath = Path.GetDirectoryName(typeof(Tester).Assembly.Location);

static readonly Lazy<IEnumerable<MetadataReference>> defaultReferences = new Lazy<IEnumerable<MetadataReference>>(delegate {
return new[]
{
MetadataReference.CreateFromFile(Path.Combine(refAsmPath, "mscorlib.dll")),
@@ -194,12 +196,17 @@ private static string ReplacePrivImplDetails(string il)
MetadataReference.CreateFromFile(Path.Combine(refAsmPath, @"Facades\System.Runtime.dll")),
MetadataReference.CreateFromFile(Path.Combine(refAsmPath, "System.Xml.dll")),
MetadataReference.CreateFromFile(Path.Combine(refAsmPath, "Microsoft.CSharp.dll")),
MetadataReference.CreateFromFile(Path.Combine(refAsmPath, "Microsoft.VisualBasic.dll")),
MetadataReference.CreateFromFile(typeof(ValueTuple).Assembly.Location),
MetadataReference.CreateFromFile(typeof(Span<>).Assembly.Location),
};
});

static readonly Lazy<IEnumerable<MetadataReference>> visualBasic = new Lazy<IEnumerable<MetadataReference>>(delegate {
return new[] {
MetadataReference.CreateFromFile(Path.Combine(refAsmPath, "Microsoft.VisualBasic.dll"))
};
});

public static List<string> GetPreprocessorSymbols(CompilerOptions flags)
{
var preprocessorSymbols = new List<string>();
@@ -238,10 +245,17 @@ public static CompilerResults CompileCSharp(string sourceFileName, CompilerOptio
var preprocessorSymbols = GetPreprocessorSymbols(flags);

if (flags.HasFlag(CompilerOptions.UseRoslyn)) {
var parseOptions = new CSharpParseOptions(preprocessorSymbols: preprocessorSymbols.ToArray(), languageVersion: Microsoft.CodeAnalysis.CSharp.LanguageVersion.Latest);
var parseOptions = new CSharpParseOptions(
preprocessorSymbols: preprocessorSymbols.ToArray(),
languageVersion: Microsoft.CodeAnalysis.CSharp.LanguageVersion.CSharp8
);
var syntaxTrees = sourceFileNames.Select(f => SyntaxFactory.ParseSyntaxTree(File.ReadAllText(f), parseOptions, path: f));
var references = defaultReferences.Value;
if (flags.HasFlag(CompilerOptions.ReferenceVisualBasic)) {
references = references.Concat(visualBasic.Value);
}
var compilation = CSharpCompilation.Create(Path.GetFileNameWithoutExtension(sourceFileName),
syntaxTrees, defaultReferences.Value,
syntaxTrees, references,
new CSharpCompilationOptions(
flags.HasFlag(CompilerOptions.Library) ? OutputKind.DynamicallyLinkedLibrary : OutputKind.ConsoleApplication,
platform: flags.HasFlag(CompilerOptions.Force32Bit) ? Platform.X86 : Platform.AnyCpu,
@@ -328,7 +342,9 @@ public static CompilerResults CompileCSharp(string sourceFileName, CompilerOptio
options.ReferencedAssemblies.Add("System.Core.dll");
options.ReferencedAssemblies.Add("System.Xml.dll");
options.ReferencedAssemblies.Add("Microsoft.CSharp.dll");
options.ReferencedAssemblies.Add("Microsoft.VisualBasic.dll");
if (flags.HasFlag(CompilerOptions.ReferenceVisualBasic)) {
options.ReferencedAssemblies.Add("Microsoft.VisualBasic.dll");
}
CompilerResults results = provider.CompileAssemblyFromFile(options, sourceFileNames.ToArray());
if (results.Errors.Cast<CompilerError>().Any(e => !e.IsWarning)) {
StringBuilder b = new StringBuilder("Compiler error:");
@@ -433,10 +449,10 @@ public static string DecompileCSharp(string assemblyFileName, DecompilerSettings
resolver.AddSearchDirectory(Path.GetDirectoryName(typeof(Span<>).Assembly.Location));
var typeSystem = new DecompilerTypeSystem(module, resolver, settings);
CSharpDecompiler decompiler = new CSharpDecompiler(typeSystem, settings);
decompiler.AstTransforms.Insert(0, new RemoveEmbeddedAtttributes());
decompiler.AstTransforms.Insert(0, new RemoveEmbeddedAttributes());
decompiler.AstTransforms.Insert(0, new RemoveCompilerAttribute());
decompiler.AstTransforms.Add(new EscapeInvalidIdentifiers());
var syntaxTree = decompiler.DecompileWholeModuleAsSingleFile();
var syntaxTree = decompiler.DecompileWholeModuleAsSingleFile(sortTypes: true);

StringWriter output = new StringWriter();
var visitor = new CSharpOutputVisitor(output, FormattingOptionsFactory.CreateSharpDevelop());
@@ -32,15 +32,19 @@
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DefineConstants>TRACE;DEBUG;NET46;ROSLYN;CS60;CS70</DefineConstants>
<DefineConstants>TRACE;DEBUG;NET46;ROSLYN;CS60;CS70;CS71;CS72;CS73</DefineConstants>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DefineConstants>TRACE;NET46;ROSLYN;CS60;CS70;CS71;CS72;CS73</DefineConstants>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="DiffLib" Version="2017.7.26.1241" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="2.10.0" />
<PackageReference Include="Microsoft.CodeAnalysis.VisualBasic" Version="2.10.0" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="3.0.0-beta4-final" />
<PackageReference Include="Microsoft.CodeAnalysis.VisualBasic" Version="3.0.0-beta4-final" />
<PackageReference Include="Microsoft.DiaSymReader.Converter.Xml" Version="1.1.0-beta1-63314-01" />
<PackageReference Include="NUnit3TestAdapter" Version="3.11.2" />
<PackageReference Include="NUnit3TestAdapter" Version="3.13.0" />
<PackageReference Include="System.Collections.Immutable" Version="1.5.0" />
<PackageReference Include="NUnit" Version="3.11.0" />
<PackageReference Include="System.Memory" Version="4.5.1" />
@@ -81,6 +85,7 @@
<Compile Include="TestCases\ILPretty\Issue1323.cs" />
<Compile Include="TestCases\Pretty\CustomAttributes2.cs" />
<Compile Include="TestCases\Pretty\EnumTests.cs" />
<None Include="TestCases\Pretty\NullableRefTypes.cs" />
<Compile Include="TestCases\Pretty\TypeMemberTests.cs" />
<Compile Include="TestCases\Pretty\ValueTypes.cs" />
<None Include="TestCases\ILPretty\Issue1389.il" />
@@ -258,7 +258,6 @@ public void FixProxyCalls([Values(CompilerOptions.None, CompilerOptions.Optimize
}

[Test]
[Ignore("Special cases not implemented in new decompiler.")]
public void ValueTypes([ValueSource(nameof(defaultOptions))] CompilerOptions cscOptions)
{
RunForLibrary(cscOptions: cscOptions);
@@ -288,6 +287,12 @@ public void AsyncMain([ValueSource(nameof(roslynOnlyOptions))] CompilerOptions c
Run(cscOptions: cscOptions);
}

[Test]
public void NullableRefTypes([ValueSource(nameof(roslynOnlyOptions))] CompilerOptions cscOptions)
{
RunForLibrary(cscOptions: cscOptions);
}

[Test]
public void NullPropagation([ValueSource(nameof(roslynOnlyOptions))] CompilerOptions cscOptions)
{
@@ -433,26 +438,25 @@ void RunForLibrary([CallerMemberName] string testName = null, AssemblerOptions a

void Run([CallerMemberName] string testName = null, AssemblerOptions asmOptions = AssemblerOptions.None, CompilerOptions cscOptions = CompilerOptions.None, DecompilerSettings decompilerSettings = null)
{
var ilFile = Path.Combine(TestCasePath, testName) + Tester.GetSuffix(cscOptions) + ".il";
var csFile = Path.Combine(TestCasePath, testName + ".cs");
var exeFile = Path.Combine(TestCasePath, testName) + Tester.GetSuffix(cscOptions) + ".exe";
if (cscOptions.HasFlag(CompilerOptions.Library)) {
exeFile = Path.ChangeExtension(exeFile, ".dll");
}

if (!File.Exists(ilFile)) {
// re-create .il file if necessary
CompilerResults output = null;
try {
string outputFile = Path.ChangeExtension(ilFile,
cscOptions.HasFlag(CompilerOptions.Library) ? ".dll" : ".exe");
output = Tester.CompileCSharp(csFile, cscOptions, outputFile);
Tester.Disassemble(output.PathToAssembly, ilFile, asmOptions);
} finally {
if (output != null)
output.TempFiles.Delete();
}
// 1. Compile
CompilerResults output = null;
try {
output = Tester.CompileCSharp(csFile, cscOptions, exeFile);
} finally {
if (output != null)
output.TempFiles.Delete();
}

var executable = Tester.AssembleIL(ilFile, asmOptions);
var decompiled = Tester.DecompileCSharp(executable, decompilerSettings ?? Tester.GetSettings(cscOptions));
// 2. Decompile
var decompiled = Tester.DecompileCSharp(exeFile, decompilerSettings ?? Tester.GetSettings(cscOptions));

// 3. Compile
CodeAssert.FilesAreEqual(csFile, decompiled, Tester.GetPreprocessorSymbols(cscOptions).ToArray());
}
}
@@ -1,4 +1,3 @@

// C:\Users\Siegfried\Documents\Visual Studio 2017\Projects\ConsoleApp13\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe
// ConsoleApplication1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// Global type: <Module>
@@ -170,10 +169,10 @@ public static int main(string[] argv)
}
namespace _003CStartupCode_0024ConsoleApplication1_003E
{
internal static class _0024Program
internal static class _0024AssemblyInfo
{
}
internal static class _0024AssemblyInfo
internal static class _0024Program
{
}
}
@@ -172,10 +172,10 @@ public static int main(string[] argv)
}
namespace _003CStartupCode_0024ConsoleApplication1_003E
{
internal static class _0024Program
internal static class _0024AssemblyInfo
{
}
internal static class _0024AssemblyInfo
internal static class _0024Program
{
}
}
@@ -12,16 +12,7 @@
[assembly: TargetFramework(".NETCoreApp,Version=v2.1", FrameworkDisplayName = "")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyFileVersion("1.0.0.0")]
namespace Microsoft.VisualBasic
{
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Module | AttributeTargets.Class, Inherited = false)]
[CompilerGenerated]
[EditorBrowsable(EditorBrowsableState.Never)]
[Embedded]
internal sealed class Embedded : Attribute
{
}
}

namespace Issue1325
{
[StandardModule]
@@ -40,19 +31,7 @@ public static void TestCode(Test t, int i)
t.Unparameterized = str + "asdf";
}
}
}
namespace Microsoft.VisualBasic.CompilerServices
{
[EditorBrowsable(EditorBrowsableState.Never)]
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
[CompilerGenerated]
[Embedded]
internal sealed class StandardModuleAttribute : Attribute
{
}
}
namespace Issue1325
{

internal class Test
{
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
@@ -71,4 +50,24 @@ internal class Test
set;
}
}
}
}
namespace Microsoft.VisualBasic
{
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Module | AttributeTargets.Class, Inherited = false)]
[CompilerGenerated]
[EditorBrowsable(EditorBrowsableState.Never)]
[Embedded]
internal sealed class Embedded : Attribute
{
}
}
namespace Microsoft.VisualBasic.CompilerServices
{
[EditorBrowsable(EditorBrowsableState.Never)]
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
[CompilerGenerated]
[Embedded]
internal sealed class StandardModuleAttribute : Attribute
{
}
}
Oops, something went wrong.

0 comments on commit 76e641f

Please sign in to comment.
You can’t perform that action at this time.