~/f/mono-core/RPMS.2017 ~/f/mono-core ~/f/mono-core RPMS.2017/mono-core-6.8.0-0.0.x86_64.rpm RPMS/mono-core-6.8.0-0.0.x86_64.rpm differ: byte 225, line 1 Comparing mono-core-6.8.0-0.0.x86_64.rpm to mono-core-6.8.0-0.0.x86_64.rpm comparing the rpm tags of mono-core --- old-rpm-tags +++ new-rpm-tags @@ -968,10 +968,10 @@ /usr/bin/ikdasm c7f4920b91a4cc349a23db6c133d42786f6465ee7457900d40b60848857a43e4 0 /usr/bin/mcs f32629dc0d71591efac16bd234de60b6c053ee3e2e467c1d82755178c0623d0d 0 /usr/bin/mono 0 -/usr/bin/mono-boehm aad3f52b3aa46064c4e2bfe91901747e344b0f223ae31fca59f10a695ed991d5 0 +/usr/bin/mono-boehm 1e740d4582faf964ca5093e5e030632a894f183f98c1524b184bd7ecfa4f9f3c 0 /usr/bin/mono-configuration-crypto f579579b923c50d2914c90191c2c3d7612f709e5941ee9a8107e64ed940919b6 0 /usr/bin/mono-hang-watchdog 1012b3ab443a743798b25e238709af068e40023852c292863d2ff3146db2d901 0 -/usr/bin/mono-sgen ee6b075b0170cf9f456cc0eab62f1a13c240b0f9413d539eaa9f559d39f2d632 0 +/usr/bin/mono-sgen 214e904e83aac0d3144163785c2236ef02d463fd219fa0684d76e90ebe50cacd 0 /usr/bin/mono-test-install d426c66af27d8568cb79aa418f12c30ad84647091e4cddb47c84034a8f90f6f7 0 /usr/bin/mozroots 6c20cbb676d618aee0db91ba8b697b0c5e4895ece2a47f4af1f97523b6f065cf 0 /usr/bin/peverify d3c4689ddfd96d99917e33d02e0cdc25c863e93ddd9cca461495c943c4792e20 0 @@ -1129,11 +1129,11 @@ /usr/lib/mono/4.5/Microsoft.CSharp.dll 0 /usr/lib/mono/4.5/Microsoft.CodeAnalysis.CSharp.Scripting.dll 65b56e85d492e3e3b5869e70fe06897001a910ae6b99e6862e0aac5e7d955f0e 0 /usr/lib/mono/4.5/Microsoft.CodeAnalysis.CSharp.dll c39ca043cc0072d4e47e194f19d12fa7895a1944a55192705ece48c12fc748f1 0 -/usr/lib/mono/4.5/Microsoft.CodeAnalysis.CSharp.dll.so c8bd9cbbdd6a831e25924849989925c41ec319817d1ad2997fe7a8d517f518b8 0 +/usr/lib/mono/4.5/Microsoft.CodeAnalysis.CSharp.dll.so 7624bbe35417ed8501e880592cd55c56118f39cc3be98bf23d12402d06c7d783 0 /usr/lib/mono/4.5/Microsoft.CodeAnalysis.Scripting.dll 6086f2731610ecd76b63c4625cb8e8a9f7e19ad3e2b2c941b03f6b50200e2251 0 /usr/lib/mono/4.5/Microsoft.CodeAnalysis.VisualBasic.dll 9901df3d4d640d3ff717b866d2c8a1c98fd1007bda3616aad2f18a03d36c7086 0 /usr/lib/mono/4.5/Microsoft.CodeAnalysis.dll fca43090d8f636640874e0c44374b2085a8253019c95b028a509e8484d3798aa 0 -/usr/lib/mono/4.5/Microsoft.CodeAnalysis.dll.so 8e00a6120170974775bc27ff27c49b8770c601c32ac330595da6322bf152b653 0 +/usr/lib/mono/4.5/Microsoft.CodeAnalysis.dll.so 7ba8a45a2473732219873eeda5f914cecadca76f7976b32e588cba1973ea1c02 0 /usr/lib/mono/4.5/Microsoft.VisualC.dll 0 /usr/lib/mono/4.5/Mono.Btls.Interface.dll 0 /usr/lib/mono/4.5/Mono.CSharp.dll 0 @@ -1147,7 +1147,7 @@ /usr/lib/mono/4.5/Mono.Simd.dll 0 /usr/lib/mono/4.5/Mono.Tasklets.dll 0 /usr/lib/mono/4.5/System.Collections.Immutable.dll 2f05a2c489c2d30a6cca346d4ce184323d70eb4f5afa6bed34d5800274444e57 0 -/usr/lib/mono/4.5/System.Collections.Immutable.dll.so aa4cc5536eb41ac3a69b38a918e5aca7de4524fb639529931d1d77cf70315215 0 +/usr/lib/mono/4.5/System.Collections.Immutable.dll.so b0a7fe4e217374a899bd192d74626df644f766a833e1523c9e1d2d848f65e0f9 0 /usr/lib/mono/4.5/System.Configuration.dll 0 /usr/lib/mono/4.5/System.Core.dll 0 /usr/lib/mono/4.5/System.Deployment.dll 0 @@ -1166,7 +1166,7 @@ /usr/lib/mono/4.5/System.Numerics.dll 0 /usr/lib/mono/4.5/System.Reflection.Context.dll 0 /usr/lib/mono/4.5/System.Reflection.Metadata.dll 2e180767f1415cb5bbed14450e1d4003cf56a9da6aeaf91ce969a4b9d2a54314 0 -/usr/lib/mono/4.5/System.Reflection.Metadata.dll.so fd85cffe6e7e11d7ccb085993515c93294c8c8d7f11557155e190dec0a4fb91f 0 +/usr/lib/mono/4.5/System.Reflection.Metadata.dll.so 6234360a008c9f60736ff5ba4b3389c84fd513e835fd6a7e82ceb7e8fa465bcd 0 /usr/lib/mono/4.5/System.Runtime.CompilerServices.Unsafe.dll 1ad2dd7225d5162a0fd3a3b337a1949448520e3130a4bc8e010ec02f76097500 0 /usr/lib/mono/4.5/System.Security.dll 0 /usr/lib/mono/4.5/System.Threading.Tasks.Dataflow.dll 0 @@ -1183,8 +1183,8 @@ /usr/lib/mono/4.5/System.dll 0 /usr/lib/mono/4.5/VBCSCompiler.exe fc3ca1050dcc3c0aac4e47584c21b934562bbfb871bb3266e179916e3079f823 0 /usr/lib/mono/4.5/VBCSCompiler.exe.config 895b95ebd175a9c8a267779a6a162306160ca492a6ec1ca0e58d27afbfe6f768 0 -/usr/lib/mono/4.5/al.exe 18d0eeb58b7aee6e7b5c1d28e97eb0ea4bb01750268be4dc8132e8cc0abfa280 0 -/usr/lib/mono/4.5/al.pdb da69b81aa4188444e6b7337af5f75bd35189204b0f2c17e3cf5a352ec4033e3f 0 +/usr/lib/mono/4.5/al.exe 980b2a263abce6d67b7ca0174cc1988f4ff6066608d0cbbc1ff7ec92561a0567 0 +/usr/lib/mono/4.5/al.pdb 5927f66628cf73d37eaef5d755746e9814f8e897de51823dc83936830e8b90d0 0 /usr/lib/mono/4.5/cert-sync.exe fedc300e4f4fccc7ecddf4d918719bc80cda8e258f1a9f43d74f3d1f2994ca54 0 /usr/lib/mono/4.5/cert-sync.pdb 5b29166a500f8d1d0126024515e5e7e4b42026032a58a6ded616bf5bc75b3b7e 0 /usr/lib/mono/4.5/certmgr.exe 4994e0d6b5ad551eb2d7105f7c0b1f043e03ec6d79ddcc2417dd6019e525a8ee 0 @@ -1195,7 +1195,7 @@ /usr/lib/mono/4.5/crlupdate.pdb 72dd93ecfdcf52bfd2012a1deb81487d0bf4bab0926a6a1264f6aca8b38b83e9 0 /usr/lib/mono/4.5/csc.exe b1ff218c939e85de1465bcc9d6e7165537988946d355922caa3877b10803fa61 0 /usr/lib/mono/4.5/csc.exe.config c9d921e276786ffc6c7c286e5f2dee88ece0e38c325dc7be0af9fd26ccf9765a 0 -/usr/lib/mono/4.5/csc.exe.so dbad1be29d9a8c5fb4c40f40308a119c7d7e0738ff32801860baa799b3a0ab39 0 +/usr/lib/mono/4.5/csc.exe.so 8e4c1af8af3763aac34b7edc03268ff4bdb6660b7a7603278e44bc7e2154db99 0 /usr/lib/mono/4.5/csc.rsp 483d67166be6d6d942c0768f02dbb40e1f9665e51d58006f313093254780349d 0 /usr/lib/mono/4.5/cscompmgd.dll 0 /usr/lib/mono/4.5/csharp.exe 596c94a1fc88a3330ed66909bd2a14b5b682c42d82ca22463ef4ace17eb3eba7 0 @@ -1203,17 +1203,17 @@ /usr/lib/mono/4.5/csi.exe a06241a9a454fbb54d8e9165bece6df6f072287e2954da2e6c5c6bc9b47d8aff 0 /usr/lib/mono/4.5/csi.exe.config 218944c45aae2b2ffe6d655879fe6ac26e97036bf7d28f96f47989f7dd00692c 0 /usr/lib/mono/4.5/csi.rsp 46a0095443c3d26f7f29c368252845d77b95d46038c94347b6fbf1a72a1c0b21 0 -/usr/lib/mono/4.5/gacutil.exe e9999658513fdc3f788163c4bbd0649fbe3dc8d0161274b3ebded2ae36fbed1f 0 -/usr/lib/mono/4.5/gacutil.pdb 61c57ce22e8f502ce0d5491f4b85f719c66843c343332fcdb25348231279bd6b 0 -/usr/lib/mono/4.5/ikdasm.exe 57d8cba83ceb251bda8367ef612749f5506463151b9f27b08f28e9b0e0c4b7e5 0 -/usr/lib/mono/4.5/ikdasm.pdb dac0db7fc8cd6eb4fb161943adefe26d9f0b17c622ad878db56aad6ea97e87db 0 -/usr/lib/mono/4.5/mcs.exe d95e0f0732d068a7764e88d8ef5747d1e374c43525ac4e0605b99e9c5452f445 0 -/usr/lib/mono/4.5/mcs.exe.so 1433aa722dc915f8015b69fceb9e6ab796fe0e954b62c56bc139b81e8471026c 0 -/usr/lib/mono/4.5/mcs.pdb a18e20b3602f420ab5dcf0c4e6c8368d854bb9f9f82bd8bf4edfce0db3b28233 0 +/usr/lib/mono/4.5/gacutil.exe da318749a23703e5bf4581bd37b516af0bd91cb7168386b42b306c2c9bf8006d 0 +/usr/lib/mono/4.5/gacutil.pdb cce0b9c086a1136de33b68fafca1667fcc5a84864bb6633217528e948b867971 0 +/usr/lib/mono/4.5/ikdasm.exe 0ff0650de2b5c4a0049fbfed3c7ff77ce1b878e1a5063fdf756570e7b0fea030 0 +/usr/lib/mono/4.5/ikdasm.pdb 7e734c5dc13effc3d2b45b3bffefe2af14f27fd08fb646e2c7df27dcfcef63e7 0 +/usr/lib/mono/4.5/mcs.exe 358a9881f03c93d1ee13c6dd0655bdec25980c23edd476431bcd9cfbb9220374 0 +/usr/lib/mono/4.5/mcs.exe.so 9f90f062121eb43d9f3d50cfbca448ea203351b967f38ab167d81f49d258fa5c 0 +/usr/lib/mono/4.5/mcs.pdb b4a560a0fdc808265c158c5073c51cefc2dcf6e4727069c3bbc14a7d6247d82e 0 /usr/lib/mono/4.5/mozroots.exe 764d4a626cc2ce3b50ccd19b56b3e60e6edca8264f5e25d80427d394f79a148d 0 /usr/lib/mono/4.5/mozroots.pdb 23f66380aa10999660aac4e7a0c0b45fe97f18b7976d3c2f9c9baea7a5ed77e6 0 /usr/lib/mono/4.5/mscorlib.dll 2d1269396aa51a5fd86a58d4702101064332d8244722f3f931ae94fd525b3c5c 0 -/usr/lib/mono/4.5/mscorlib.dll.so 6d799e7504c7d01834d83d76d8d1792eb26c53c8a81ec869f8daf2f908e041b1 0 +/usr/lib/mono/4.5/mscorlib.dll.so 20033df57614543cf0d0e1ea61e18ad5fcc27170664ce8e6b056c22c6024554b 0 /usr/lib/mono/4.5/mscorlib.pdb 5a4abafe16947ee7a1a665cf3f5b74eb073fd4afead29c3e73e401493cb86e0a 0 /usr/lib/mono/4.5/setreg.exe 0d85d75b4b4abdb42635410037827babc65fa7fda8827b5eb0b2709ed25d0a0a 0 /usr/lib/mono/4.5/setreg.pdb 499f6cb2f614d1dd4853e0cafbe999662a74dd9efef24d345a3fb01f072d24bf 0 comparing rpmtags comparing RELEASE comparing PROVIDES comparing scripts comparing filelist comparing file checksum creating rename script RPM file checksum differs. Extracting packages /usr/bin/mono-boehm differs in ELF section .rodata --- old /usr/bin/mono-boehm (objdump) +++ new /usr/bin/mono-boehm (objdump) @@ -12,9 +12,9 @@ 321070 723a004d 4f4e4f5f 50415448 006d6163 r:.MONO_PATH.mac 321080 68696e65 636f6e66 69673a00 656e763a hineconfig:.env: 321090 006c6962 72617279 3a006d6f 6e6f2d62 .library:.mono-b - 3210a0 756e646c 652d5858 58585858 00467269 undle-XXXXXX.Fri - 3210b0 20417567 20323820 30343a34 383a3536 Aug 28 04:48:56 - 3210c0 20555443 20323032 30000000 00000000 UTC 2020....... + 3210a0 756e646c 652d5858 58585858 0053756e undle-XXXXXX.Sun + 3210b0 20536570 20333020 31383a30 363a3139 Sep 30 18:06:19 + 3210c0 20555443 20323033 35000000 00000000 UTC 2035....... 3210d0 2a204173 73657274 696f6e20 61742025 * Assertion at % 3210e0 733a2564 2c20636f 6e646974 696f6e20 s:%d, condition 3210f0 60257327 206e6f74 206d6574 0a000000 `%s' not met.... /usr/bin/mono-sgen differs in ELF section .rodata --- old /usr/bin/mono-sgen (objdump) +++ new /usr/bin/mono-sgen (objdump) @@ -12,9 +12,9 @@ 350070 723a004d 4f4e4f5f 50415448 006d6163 r:.MONO_PATH.mac 350080 68696e65 636f6e66 69673a00 656e763a hineconfig:.env: 350090 006c6962 72617279 3a006d6f 6e6f2d62 .library:.mono-b - 3500a0 756e646c 652d5858 58585858 00467269 undle-XXXXXX.Fri - 3500b0 20417567 20323820 30343a35 303a3036 Aug 28 04:50:06 - 3500c0 20555443 20323032 30000000 00000000 UTC 2020....... + 3500a0 756e646c 652d5858 58585858 0053756e undle-XXXXXX.Sun + 3500b0 20536570 20333020 31383a30 373a3334 Sep 30 18:07:34 + 3500c0 20555443 20323033 35000000 00000000 UTC 2035....... 3500d0 2a204173 73657274 696f6e20 61742025 * Assertion at % 3500e0 733a2564 2c20636f 6e646974 696f6e20 s:%d, condition 3500f0 60257327 206e6f74 206d6574 0a000000 `%s' not met.... /usr/lib/mono/4.5/Microsoft.CodeAnalysis.CSharp.dll.so differs in ELF section .rodata --- old /usr/lib/mono/4.5/Microsoft.CodeAnalysis.CSharp.dll.so (objdump) +++ new /usr/lib/mono/4.5/Microsoft.CodeAnalysis.CSharp.dll.so (objdump) @@ -280636,9 +280636,9 @@ ba0370 07089001 470eb001 44831645 8615458e ....G...D..E..E. ba0380 14458f13 1c0a4408 03450806 45080e45 .E....D..E..E..E ba0390 080f470c 0708410b 362e382e 302e3130 ..G...A.6.8.0.10 - ba03a0 35202874 61726261 6c6c2046 72692041 5 (tarball Fri A - ba03b0 75672032 38203034 3a35303a 30362055 ug 28 04:50:06 U - ba03c0 54432032 30323029 00334643 33333044 TC 2020).3FC330D + ba03a0 35202874 61726261 6c6c2053 756e2053 5 (tarball Sun S + ba03b0 65702033 30203138 3a30373a 33342055 ep 30 18:07:34 U + ba03c0 54432032 30333529 00334643 33333044 TC 2035).3FC330D ba03d0 422d3235 43322d34 4130352d 38424442 B-25C2-4A05-8BDB ba03e0 2d334644 36343944 31424239 36004d69 -3FD649D1BB96.Mi ba03f0 63726f73 6f66742e 436f6465 416e616c crosoft.CodeAnal /usr/lib/mono/4.5/Microsoft.CodeAnalysis.CSharp.dll.so differs in ELF section .data --- old /usr/lib/mono/4.5/Microsoft.CodeAnalysis.CSharp.dll.so (objdump) +++ new /usr/lib/mono/4.5/Microsoft.CodeAnalysis.CSharp.dll.so (objdump) @@ -23,7 +23,7 @@ bcc120 00807500 00000000 00807500 00000000 ..u.......u..... bcc130 40717200 00000000 29380000 58290400 @qr.....)8..X).. bcc140 024d0000 04860000 00000000 20000000 .M.......... ... - bcc150 ff695116 3f000000 5ebc4100 80000000 .iQ.?...^.A..... + bcc150 ff695116 07000000 5ebc4100 80000000 .iQ.....^.A..... bcc160 08000000 08000000 08000000 09000000 ................ bcc170 ffff7f00 00000000 05000000 19000000 ................ bcc180 00000000 00000000 00000000 00000000 ................ @@ -35,5 +35,5 @@ bcc1e0 00000000 00000000 00000000 00000000 ................ bcc1f0 00000000 00000000 00000000 00000000 ................ bcc200 00000000 00000000 00000000 00000000 ................ - bcc210 00000000 00000000 373b1f9c 159f8409 ........7;...... - bcc220 6a5544e1 49400d5d jUD.I@.] + bcc210 00000000 00000000 2975f520 698b056f ........)u. i..o + bcc220 8c690aea f96ccf79 .i...l.y /usr/lib/mono/4.5/Microsoft.CodeAnalysis.dll.so differs in assembler output --- old /usr/lib/mono/4.5/Microsoft.CodeAnalysis.dll.so (disasm) +++ new /usr/lib/mono/4.5/Microsoft.CodeAnalysis.dll.so (disasm) @@ -120001,25 +120001,11 @@ add %al,(%rax) add %al,(%rax) pop %rcx - rex - rex.RB - rex.RB - rex.RB - rex.RB - rex.RB - rex.RB - rex.RB - rex.RB - scas %es:(%rdi),%rax + rex mov $something,%edx + mov $something,%edx mov $something,%esp - ds rex.RB - rex.RB - rex.RB - rex.RB - rex.RB - rex.RB - rex.RB - add %r8b,(%r8) + ds mov $something,%edx + mov $something,%edx add %al,(%rax) add %al,(%rax) pop %rcx @@ -537309,7 +537295,7 @@ rex.WRB (bad) push %rax (bad) - xchg %eax,%esi + (bad) mov $something,%esi mov $something,%edi rorb %cl,offset(%rbp) /usr/lib/mono/4.5/Microsoft.CodeAnalysis.dll.so differs in ELF section .text --- old /usr/lib/mono/4.5/Microsoft.CodeAnalysis.dll.so (objdump) +++ new /usr/lib/mono/4.5/Microsoft.CodeAnalysis.dll.so (objdump) @@ -31073,8 +31073,8 @@ 07a5c0 00ebb0be 86080000 eb9abeb6 080000eb ................ 07a5d0 a2beac09 0000eb8c bed50900 00eb94be ................ 07a5e0 410a0000 e97bffff ffbe710a 0000eb83 A....{....q..... - 07a5f0 00000000 00005940 45454545 45454545 ......Y@EEEEEEEE - 07a600 48afbc9a f2d77a3e 45454545 45454545 H.....z>EEEEEEEE + 07a5f0 00000000 00005940 babababa babababa ......Y@........ + 07a600 48afbc9a f2d77a3e babababa babababa H.....z>........ 07a610 00000000 00005940 0f1f8400 00000000 ......Y@........ 07a620 4883ec18 48893c24 488bc748 8b402048 H...H.<$H..H.@ H 07a630 8bc88339 00488b40 484883c4 18c36690 ...9.H.@HH....f. @@ -80552,7 +80552,7 @@ 13ba30 488bb424 88000000 4c8b8424 90000000 H..$....L..$.... 13ba40 48894424 70488bf8 e8699b17 00488b44 H.D$pH...i...H.D 13ba50 24704c8b 34244c8b 7c240848 81c49800 $pL.4$L.|$.H.... - 13ba60 0000c301 0000bf2a 010000e8 a0cb3697 .......*......6. + 13ba60 0000c301 0000bf2a 010000e8 90b5af38 .......*.......8 13ba70 b040bce3 7f5c743d 48898424 a8000000 .@...\t=H..$.... 13ba80 48afbc9a f2d77a3e 0f1f8400 00000000 H.....z>........ 13ba90 4881ec08 0d000049 8b05c297 3600f700 H......I....6... @@ -142191,7 +142191,7 @@ 22c6a0 e8f51908 00488bd0 488b7424 50488b7c .....H..H.t$PH.| 22c6b0 2458f20f 10442460 f20f1142 10e85078 $X...D$`...B..Px 22c6c0 09004c8b 3c244883 c468c38b 000000bf ..L.<$H..h...... - 22c6d0 fca9f1d2 4d62503f 96beb900 0000bfbb ....MbP?........ + 22c6d0 fca9f1d2 4d62503f 37beb900 0000bfbb ....MbP?7....... 22c6e0 fca9f1d2 4d62503f 0f1f8400 00000000 ....MbP?........ 22c6f0 4883ec08 4883c408 c30f1f80 00000000 H...H........... 22c700 4883ec38 48891c24 4c897424 084c897c H..8H..$L.t$.L.| /usr/lib/mono/4.5/Microsoft.CodeAnalysis.dll.so differs in ELF section .rodata --- old /usr/lib/mono/4.5/Microsoft.CodeAnalysis.dll.so (objdump) +++ new /usr/lib/mono/4.5/Microsoft.CodeAnalysis.dll.so (objdump) @@ -116582,8 +116582,8 @@ 490610 0c070890 01470e90 02448e22 458f211c .....G...D."E.!. 490620 0a44080e 45080f47 0c070841 0b362e38 .D..E..G...A.6.8 490630 2e302e31 30352028 74617262 616c6c20 .0.105 (tarball - 490640 46726920 41756720 32382030 343a3530 Fri Aug 28 04:50 - 490650 3a303620 55544320 32303230 29004346 :06 UTC 2020).CF + 490640 53756e20 53657020 33302031 383a3037 Sun Sep 30 18:07 + 490650 3a333420 55544320 32303335 29004346 :34 UTC 2035).CF 490660 37414131 33322d32 4434302d 34304644 7AA132-2D40-40FD 490670 2d393930 352d3231 35314542 39374145 -9905-2151EB97AE 490680 3334004d 6963726f 736f6674 2e436f64 34.Microsoft.Cod /usr/lib/mono/4.5/Microsoft.CodeAnalysis.dll.so differs in ELF section .data --- old /usr/lib/mono/4.5/Microsoft.CodeAnalysis.dll.so (objdump) +++ new /usr/lib/mono/4.5/Microsoft.CodeAnalysis.dll.so (objdump) @@ -23,7 +23,7 @@ 4a5120 00902c00 00000000 00902c00 00000000 ..,.......,..... 4a5130 b8dd2a00 00000000 d91e0000 c84b0200 ..*..........K.. 4a5140 a02a0000 ca3d0000 00000000 20000000 .*...=...... ... - 4a5150 ff695116 3f000000 98da1a00 80000000 .iQ.?........... + 4a5150 ff695116 07000000 98da1a00 80000000 .iQ............. 4a5160 08000000 08000000 08000000 09000000 ................ 4a5170 ffff7f00 00000000 05000000 19000000 ................ 4a5180 00000000 00000000 00000000 00000000 ................ @@ -35,5 +35,5 @@ 4a51e0 00000000 00000000 00000000 00000000 ................ 4a51f0 00000000 00000000 00000000 00000000 ................ 4a5200 00000000 00000000 00000000 00000000 ................ - 4a5210 00000000 00000000 0fcd03da ddb5a1c7 ................ - 4a5220 66a2c7e6 a48a6268 f.....bh + 4a5210 00000000 00000000 f74988a8 6d54dc75 .........I..mT.u + 4a5220 b248b18d dfdd4877 .H....Hw /usr/lib/mono/4.5/System.Collections.Immutable.dll.so differs in assembler output --- old /usr/lib/mono/4.5/System.Collections.Immutable.dll.so (disasm) +++ new /usr/lib/mono/4.5/System.Collections.Immutable.dll.so (disasm) @@ -32236,8 +32236,11 @@ mov (%rsp),%r15 add $something,%rsp retq - rcrb -offset(%rdx) - jmpq + pushfq + (bad) + jmp + add %al,(%rax) + add %al,(%rax) mov %rbx,offset(%rdx) nopw %cs:offset(%rax,%rax,1) nop /usr/lib/mono/4.5/System.Collections.Immutable.dll.so differs in ELF section .text --- old /usr/lib/mono/4.5/System.Collections.Immutable.dll.so (objdump) +++ new /usr/lib/mono/4.5/System.Collections.Immutable.dll.so (objdump) @@ -8415,7 +8415,7 @@ 21da0 c8670f2f c80f8a15 0000000f 830f0000 .g./............ 21db0 00488b7c 2420498b f7e8bebe 0200eb0d .H.|$ I......... 21dc0 488b7c24 20498bf7 e8b9be02 004c8b3c H.|$ I.......L.< - 21dd0 244883c4 38c3d05a b0e90000 00004889 $H..8..Z......H. + 21dd0 244883c4 38c39cea ebe90000 00004889 $H..8.........H. 21de0 9a99193e 66662e0f 1f840000 00000090 ...>ff.......... 21df0 4883ec28 4c893c24 48897c24 084c8bfe H..(L.<$H.|$.L.. 21e00 498b0559 040700f7 00010000 007405e8 I..Y.........t.. /usr/lib/mono/4.5/System.Collections.Immutable.dll.so differs in ELF section .rodata --- old /usr/lib/mono/4.5/System.Collections.Immutable.dll.so (objdump) +++ new /usr/lib/mono/4.5/System.Collections.Immutable.dll.so (objdump) @@ -15685,9 +15685,9 @@ 8e400 45080f47 0c070841 0b1c0c07 08900144 E..G...A.......D 8e410 0e50448d 0a458e09 1c0a4408 0d45080e .PD..E....D..E.. 8e420 440c0708 410b362e 382e302e 31303520 D...A.6.8.0.105 - 8e430 28746172 62616c6c 20467269 20417567 (tarball Fri Aug - 8e440 20323820 30343a35 303a3036 20555443 28 04:50:06 UTC - 8e450 20323032 30290036 35313844 3045362d 2020).6518D0E6- + 8e430 28746172 62616c6c 2053756e 20536570 (tarball Sun Sep + 8e440 20333020 31383a30 373a3334 20555443 30 18:07:34 UTC + 8e450 20323033 35290036 35313844 3045362d 2035).6518D0E6- 8e460 30434138 2d344636 422d3931 35432d30 0CA8-4F6B-915C-0 8e470 37333431 41303331 41333200 53797374 7341A031A32.Syst 8e480 656d2e43 6f6c6c65 6374696f 6e732e49 em.Collections.I /usr/lib/mono/4.5/System.Collections.Immutable.dll.so differs in ELF section .data --- old /usr/lib/mono/4.5/System.Collections.Immutable.dll.so (objdump) +++ new /usr/lib/mono/4.5/System.Collections.Immutable.dll.so (objdump) @@ -23,7 +23,7 @@ 92120 00100500 00000000 00100500 00000000 ................ 92130 b8a70400 00000000 8a000000 c84f0000 .............O.. 92140 6f090000 53060000 00000000 20000000 o...S....... ... - 92150 ff695116 3f000000 fca80300 80000000 .iQ.?........... + 92150 ff695116 07000000 fca80300 80000000 .iQ............. 92160 08000000 08000000 08000000 09000000 ................ 92170 ffff7f00 00000000 05000000 19000000 ................ 92180 00000000 00000000 00000000 00000000 ................ @@ -35,5 +35,5 @@ 921e0 00000000 00000000 00000000 00000000 ................ 921f0 00000000 00000000 00000000 00000000 ................ 92200 00000000 00000000 00000000 00000000 ................ - 92210 00000000 00000000 0b6ce491 965b337a .........l...[3z - 92220 23a7af1f e4bcb67c #......| + 92210 00000000 00000000 36c7e6da cd2d176b ........6....-.k + 92220 7f32366d eb440f2b .26m.D.+ /usr/lib/mono/4.5/System.Reflection.Metadata.dll.so differs in ELF section .rodata --- old /usr/lib/mono/4.5/System.Reflection.Metadata.dll.so (objdump) +++ new /usr/lib/mono/4.5/System.Reflection.Metadata.dll.so (objdump) @@ -20543,9 +20543,9 @@ d73a0 08410b28 0c070890 01440e60 448c0c45 .A.(.....D.`D..E d73b0 8d0b458e 0a458f09 1c0a4408 0c45080d ..E..E....D..E.. d73c0 45080e45 080f440c 0708410b 362e382e E..E..D...A.6.8. - d73d0 302e3130 35202874 61726261 6c6c2046 0.105 (tarball F - d73e0 72692041 75672032 38203034 3a35303a ri Aug 28 04:50: - d73f0 30362055 54432032 30323029 00344244 06 UTC 2020).4BD + d73d0 302e3130 35202874 61726261 6c6c2053 0.105 (tarball S + d73e0 756e2053 65702033 30203138 3a30373a un Sep 30 18:07: + d73f0 33342055 54432032 30333529 00344244 34 UTC 2035).4BD d7400 34333244 302d4130 39382d34 3544332d 432D0-A098-45D3- d7410 38363733 2d343745 35363742 38363441 8673-47E567B864A d7420 34005379 7374656d 2e526566 6c656374 4.System.Reflect /usr/lib/mono/4.5/System.Reflection.Metadata.dll.so differs in ELF section .data --- old /usr/lib/mono/4.5/System.Reflection.Metadata.dll.so (objdump) +++ new /usr/lib/mono/4.5/System.Reflection.Metadata.dll.so (objdump) @@ -23,7 +23,7 @@ dd120 00700800 00000000 00700800 00000000 .p.......p...... dd130 c0180800 00000000 b6030000 20580000 ............ X.. dd140 4e070000 4e0d0000 00000000 20000000 N...N....... ... - dd150 ff695116 3f000000 64a40400 80000000 .iQ.?...d....... + dd150 ff695116 07000000 64a40400 80000000 .iQ.....d....... dd160 08000000 08000000 08000000 09000000 ................ dd170 ffff7f00 00000000 05000000 19000000 ................ dd180 00000000 00000000 00000000 00000000 ................ @@ -35,5 +35,5 @@ dd1e0 00000000 00000000 00000000 00000000 ................ dd1f0 00000000 00000000 00000000 00000000 ................ dd200 00000000 00000000 00000000 00000000 ................ - dd210 00000000 00000000 8f5ccf27 277c70cc .........\.''|p. - dd220 12fbdb44 16584a3c ...D.XJ< + dd210 00000000 00000000 e8160d86 a973838f .............s.. + dd220 73f5aee9 13e2c170 s......p PE32 Mono/.Net assembly: /usr/lib/mono/4.5/al.exe Cannot compare, no monodis installed /usr/lib/mono/4.5/al.pdb differs at offset '125' (Microsoft Rosyln C# debugging symbols version 1.0) --- old /usr/lib/mono/4.5/al.pdb (hex) +++ new /usr/lib/mono/4.5/al.pdb (hex) @@ -1,8 +1,8 @@ 00000040 88 15 00 00 23 53 74 72 69 6e 67 73 00 00 00 00 |....#Strings....| 00000050 c0 b4 01 00 04 00 00 00 23 55 53 00 c4 b4 01 00 |........#US.....| 00000060 20 00 00 00 23 47 55 49 44 00 00 00 e4 b4 01 00 | ...#GUID.......| -00000070 bc 77 01 00 23 42 6c 6f 62 00 00 00 48 c2 b8 0d |.w..#Blob...H...| -00000080 54 1c df 40 88 4f 36 1e 79 27 70 2f 1f 39 14 fc |T..@.O6.y'p/.9..| +00000070 bc 77 01 00 23 42 6c 6f 62 00 00 00 ee c4 c3 32 |.w..#Blob......2| +00000080 2f cf 68 4a 88 14 cc 98 07 f5 9c e2 2c 14 0a 99 |/.hJ........,...| 00000090 0e 0e 00 06 57 bf b7 3f 09 1e 00 00 01 00 00 00 |....W..?........| 000000a0 cb 00 00 00 7b 01 00 00 be 07 00 00 2f 0f 00 00 |....{......./...| 000000b0 e8 0d 00 00 3d 00 00 00 75 04 00 00 2a 02 00 00 |....=...u...*...| @@ -14,20 +14,20 @@ 00000110 0d 00 00 00 00 00 00 00 02 00 04 01 00 00 00 00 |................| 00000120 00 00 3f 00 00 00 00 00 00 00 04 00 5d 00 00 00 |..?.........]...| 00000130 2f 0f 00 00 ee 10 00 00 f4 06 00 00 26 00 00 00 |/...........&...| -00000140 d5 00 00 00 66 00 00 00 01 00 72 00 00 00 02 00 |....f.....r.....| -00000150 5e 01 00 00 01 00 6b 01 00 00 02 00 3d 02 00 00 |^.....k.....=...| -00000160 01 00 4a 02 00 00 02 00 8d 03 00 00 01 00 9a 03 |..J.............| -00000170 00 00 02 00 a9 08 00 00 01 00 b6 08 00 00 02 00 |................| -00000180 00 11 00 00 01 00 0d 11 00 00 02 00 6f 16 00 00 |............o...| -00000190 01 00 7c 16 00 00 02 00 62 18 00 00 01 00 6f 18 |..|.....b.....o.| -000001a0 00 00 02 00 da 1b 00 00 01 00 e7 1b 00 00 02 00 |................| -000001b0 e3 1c 00 00 01 00 f0 1c 00 00 02 00 c6 1f 00 00 |................| -000001c0 01 00 d3 1f 00 00 02 00 f3 25 00 00 01 00 00 26 |.........%.....&| -000001d0 00 00 02 00 26 27 00 00 01 00 33 27 00 00 02 00 |....&'....3'....| -000001e0 46 2e 00 00 01 00 53 2e 00 00 02 00 22 2f 00 00 |F.....S....."/..| -000001f0 01 00 2f 2f 00 00 02 00 dd 30 00 00 01 00 ea 30 |..//.....0.....0| -00000200 00 00 02 00 91 32 00 00 01 00 9e 32 00 00 02 00 |.....2.....2....| -00000210 40 35 00 00 01 00 4d 35 00 00 02 00 14 36 00 00 |@5....M5.....6..| -00000220 01 00 21 36 00 00 02 00 ca 36 00 00 01 00 d7 36 |..!6.....6.....6| -00000230 00 00 02 00 41 3d 00 00 01 00 4e 3d 00 00 02 00 |....A=....N=....| +00000140 d5 00 00 00 74 00 00 00 01 00 80 00 00 00 02 00 |....t...........| +00000150 7f 02 00 00 01 00 8c 02 00 00 02 00 75 03 00 00 |............u...| +00000160 01 00 82 03 00 00 02 00 04 04 00 00 01 00 11 04 |................| +00000170 00 00 02 00 07 05 00 00 01 00 14 05 00 00 02 00 |................| +00000180 7d 0b 00 00 01 00 8a 0b 00 00 02 00 4a 0e 00 00 |}...........J...| +00000190 01 00 57 0e 00 00 02 00 25 10 00 00 01 00 32 10 |..W.....%.....2.| +000001a0 00 00 02 00 4d 19 00 00 01 00 5a 19 00 00 02 00 |....M.....Z.....| +000001b0 cc 23 00 00 01 00 d9 23 00 00 02 00 f7 29 00 00 |.#.....#.....)..| +000001c0 01 00 04 2a 00 00 02 00 9a 2b 00 00 01 00 a7 2b |...*.....+.....+| +000001d0 00 00 02 00 ac 33 00 00 01 00 b9 33 00 00 02 00 |.....3.....3....| +000001e0 94 35 00 00 01 00 a1 35 00 00 02 00 92 3a 00 00 |.5.....5.....:..| +000001f0 01 00 9f 3a 00 00 02 00 0a 3e 00 00 01 00 17 3e |...:.....>.....>| +00000200 00 00 02 00 c6 3e 00 00 01 00 d3 3e 00 00 02 00 |.....>.....>....| +00000210 f2 40 00 00 01 00 01 41 00 00 02 00 e7 43 00 00 |.@.....A.....C..| +00000220 01 00 f6 43 00 00 02 00 07 47 00 00 01 00 16 47 |...C.....G.....G| +00000230 00 00 02 00 70 4c 00 00 01 00 7f 4c 00 00 02 00 |....pL.....L....| 00000240 /usr/lib/mono/4.5/csc.exe.so differs in ELF section .rodata --- old /usr/lib/mono/4.5/csc.exe.so (objdump) +++ new /usr/lib/mono/4.5/csc.exe.so (objdump) @@ -1931,8 +1931,8 @@ 16860 05448e04 448f031c 0a440803 44080c44 .D..D....D..D..D 16870 080e4408 0f410806 0c070841 0b362e38 ..D..A.....A.6.8 16880 2e302e31 30352028 74617262 616c6c20 .0.105 (tarball - 16890 46726920 41756720 32382030 343a3530 Fri Aug 28 04:50 - 168a0 3a303620 55544320 32303230 29004643 :06 UTC 2020).FC + 16890 53756e20 53657020 33302031 383a3037 Sun Sep 30 18:07 + 168a0 3a333420 55544320 32303335 29004643 :34 UTC 2035).FC 168b0 44304530 38382d36 4335422d 34384433 D0E088-6C5B-48D3 168c0 2d423245 442d4333 36374442 31303835 -B2ED-C367DB1085 168d0 42310063 736300 B1.csc. /usr/lib/mono/4.5/csc.exe.so differs in ELF section .data --- old /usr/lib/mono/4.5/csc.exe.so (objdump) +++ new /usr/lib/mono/4.5/csc.exe.so (objdump) @@ -23,7 +23,7 @@ 18120 00f00000 00000000 00f00000 00000000 ................ 18130 08d80000 00000000 fe000000 80100000 ................ 18140 12010000 bd000000 00000000 20000000 ............ ... - 18150 ff695116 3f000000 046b0000 80000000 .iQ.?....k...... + 18150 ff695116 07000000 046b0000 80000000 .iQ......k...... 18160 08000000 08000000 08000000 09000000 ................ 18170 ffff7f00 00000000 05000000 19000000 ................ 18180 00000000 00000000 00000000 00000000 ................ @@ -35,5 +35,5 @@ 181e0 00000000 00000000 00000000 00000000 ................ 181f0 00000000 00000000 00000000 00000000 ................ 18200 00000000 00000000 00000000 00000000 ................ - 18210 00000000 00000000 53acba97 8122965d ........S....".] - 18220 506874f7 1f9d675c Pht...g\ + 18210 00000000 00000000 b1d76e04 f92459b6 ..........n..$Y. + 18220 14b5bc03 e4046d90 ......m. PE32 Mono/.Net assembly: /usr/lib/mono/4.5/gacutil.exe Cannot compare, no monodis installed /usr/lib/mono/4.5/gacutil.pdb differs at offset '125' (Microsoft Rosyln C# debugging symbols version 1.0) --- old /usr/lib/mono/4.5/gacutil.pdb (hex) +++ new /usr/lib/mono/4.5/gacutil.pdb (hex) @@ -1,8 +1,8 @@ 00000040 b8 15 00 00 23 53 74 72 69 6e 67 73 00 00 00 00 |....#Strings....| 00000050 c4 a2 01 00 04 00 00 00 23 55 53 00 c8 a2 01 00 |........#US.....| 00000060 20 00 00 00 23 47 55 49 44 00 00 00 e8 a2 01 00 | ...#GUID.......| -00000070 58 70 01 00 23 42 6c 6f 62 00 00 00 cb a9 b4 43 |Xp..#Blob......C| -00000080 b0 ad 19 47 a1 b2 e5 37 6d 64 66 57 11 7c 14 8a |...G...7mdfW.|..| +00000070 58 70 01 00 23 42 6c 6f 62 00 00 00 bd 6c 9a 54 |Xp..#Blob....l.T| +00000080 6c b4 fc 4e 87 4e 85 99 ed 53 84 7c c5 97 b4 95 |l..N.N...S.|....| 00000090 d9 0c 00 06 57 df b7 3f 09 1e 00 00 01 00 00 00 |....W..?........| 000000a0 b9 00 00 00 6c 01 00 00 44 07 00 00 fb 0d 00 00 |....l...D.......| 000000b0 fa 0c 00 00 33 00 00 00 4b 04 00 00 01 02 00 00 |....3...K.......| @@ -14,20 +14,20 @@ 00000110 0d 00 00 00 00 00 00 00 02 00 04 01 00 00 00 00 |................| 00000120 00 00 3f 00 00 00 00 00 00 00 04 00 5a 00 00 00 |..?.........Z...| 00000130 fb 0d 00 00 3a 10 00 00 0c 07 00 00 26 00 00 00 |....:.......&...| -00000140 d0 00 00 00 66 00 00 00 01 00 72 00 00 00 02 00 |....f.....r.....| -00000150 5e 01 00 00 01 00 6b 01 00 00 02 00 3d 02 00 00 |^.....k.....=...| -00000160 01 00 4a 02 00 00 02 00 8d 03 00 00 01 00 9a 03 |..J.............| -00000170 00 00 02 00 a9 08 00 00 01 00 b6 08 00 00 02 00 |................| -00000180 00 11 00 00 01 00 0d 11 00 00 02 00 6f 16 00 00 |............o...| -00000190 01 00 7c 16 00 00 02 00 62 18 00 00 01 00 6f 18 |..|.....b.....o.| -000001a0 00 00 02 00 da 1b 00 00 01 00 e7 1b 00 00 02 00 |................| -000001b0 e3 1c 00 00 01 00 f0 1c 00 00 02 00 c6 1f 00 00 |................| -000001c0 01 00 d3 1f 00 00 02 00 f3 25 00 00 01 00 00 26 |.........%.....&| -000001d0 00 00 02 00 26 27 00 00 01 00 33 27 00 00 02 00 |....&'....3'....| -000001e0 46 2e 00 00 01 00 53 2e 00 00 02 00 22 2f 00 00 |F.....S....."/..| -000001f0 01 00 2f 2f 00 00 02 00 dd 30 00 00 01 00 ea 30 |..//.....0.....0| -00000200 00 00 02 00 91 32 00 00 01 00 9e 32 00 00 02 00 |.....2.....2....| -00000210 40 35 00 00 01 00 4d 35 00 00 02 00 14 36 00 00 |@5....M5.....6..| -00000220 01 00 21 36 00 00 02 00 ca 36 00 00 01 00 d7 36 |..!6.....6.....6| -00000230 00 00 02 00 41 3d 00 00 01 00 4e 3d 00 00 02 00 |....A=....N=....| +00000140 d0 00 00 00 74 00 00 00 01 00 80 00 00 00 02 00 |....t...........| +00000150 7f 02 00 00 01 00 8c 02 00 00 02 00 75 03 00 00 |............u...| +00000160 01 00 82 03 00 00 02 00 04 04 00 00 01 00 11 04 |................| +00000170 00 00 02 00 07 05 00 00 01 00 14 05 00 00 02 00 |................| +00000180 7d 0b 00 00 01 00 8a 0b 00 00 02 00 4a 0e 00 00 |}...........J...| +00000190 01 00 57 0e 00 00 02 00 25 10 00 00 01 00 32 10 |..W.....%.....2.| +000001a0 00 00 02 00 4d 19 00 00 01 00 5a 19 00 00 02 00 |....M.....Z.....| +000001b0 cc 23 00 00 01 00 d9 23 00 00 02 00 f7 29 00 00 |.#.....#.....)..| +000001c0 01 00 04 2a 00 00 02 00 9a 2b 00 00 01 00 a7 2b |...*.....+.....+| +000001d0 00 00 02 00 ac 33 00 00 01 00 b9 33 00 00 02 00 |.....3.....3....| +000001e0 94 35 00 00 01 00 a1 35 00 00 02 00 92 3a 00 00 |.5.....5.....:..| +000001f0 01 00 9f 3a 00 00 02 00 0a 3e 00 00 01 00 17 3e |...:.....>.....>| +00000200 00 00 02 00 c6 3e 00 00 01 00 d3 3e 00 00 02 00 |.....>.....>....| +00000210 f2 40 00 00 01 00 01 41 00 00 02 00 e7 43 00 00 |.@.....A.....C..| +00000220 01 00 f6 43 00 00 02 00 07 47 00 00 01 00 16 47 |...C.....G.....G| +00000230 00 00 02 00 70 4c 00 00 01 00 7f 4c 00 00 02 00 |....pL.....L....| 00000240 PE32 Mono/.Net assembly: /usr/lib/mono/4.5/ikdasm.exe Cannot compare, no monodis installed /usr/lib/mono/4.5/ikdasm.pdb differs at offset '113' (Microsoft Rosyln C# debugging symbols version 1.0) --- old /usr/lib/mono/4.5/ikdasm.pdb (hex) +++ new /usr/lib/mono/4.5/ikdasm.pdb (hex) @@ -1,8 +1,8 @@ 00000040 b4 18 00 00 23 53 74 72 69 6e 67 73 00 00 00 00 |....#Strings....| 00000050 58 dc 01 00 04 00 00 00 23 55 53 00 5c dc 01 00 |X.......#US.\...| 00000060 30 00 00 00 23 47 55 49 44 00 00 00 8c dc 01 00 |0...#GUID.......| -00000070 10 c2 01 00 23 42 6c 6f 62 00 00 00 a4 67 bb 9c |....#Blob....g..| -00000080 d5 d5 48 4d 8f 8f 93 1b 94 fa 7b ff 33 51 7e 8b |..HM......{.3Q~.| +00000070 44 c2 01 00 23 42 6c 6f 62 00 00 00 cc e4 59 90 |D...#Blob.....Y.| +00000080 59 df 4c 4a 9a d3 95 3a 70 66 21 93 cf d1 1d e4 |Y.LJ...:pf!.....| 00000090 15 0e 00 06 57 df b7 3f 09 1e 00 00 01 00 00 00 |....W..?........| 000000a0 c7 00 00 00 97 01 00 00 0b 08 00 00 8f 0f 00 00 |................| 000000b0 2b 0f 00 00 51 00 00 00 06 05 00 00 34 02 00 00 |+...Q.......4...| @@ -15,19 +15,19 @@ 00000120 00 00 ff 00 00 00 00 00 00 00 c4 00 63 00 00 00 |............c...| 00000130 8f 0f 00 00 5e 12 00 00 a1 08 00 00 35 00 00 00 |....^.......5...| 00000140 e1 00 00 00 04 00 00 00 03 00 00 00 74 01 00 00 |............t...| -00000150 01 00 8b 01 00 00 02 00 3a 15 00 00 01 00 4f 15 |........:.....O.| -00000160 00 00 02 00 09 16 00 00 01 00 1e 16 00 00 02 00 |................| -00000170 f0 16 00 00 01 00 05 17 00 00 02 00 47 18 00 00 |............G...| -00000180 01 00 5c 18 00 00 02 00 6a 1d 00 00 01 00 7f 1d |..\.....j.......| -00000190 00 00 02 00 b3 25 00 00 01 00 c8 25 00 00 02 00 |.....%.....%....| -000001a0 29 2b 00 00 01 00 3e 2b 00 00 02 00 23 2d 00 00 |)+....>+....#-..| -000001b0 01 00 38 2d 00 00 02 00 a3 30 00 00 01 00 b8 30 |..8-.....0.....0| -000001c0 00 00 02 00 b3 31 00 00 01 00 c8 31 00 00 02 00 |.....1.....1....| -000001d0 9d 34 00 00 01 00 b2 34 00 00 02 00 d1 3a 00 00 |.4.....4.....:..| -000001e0 01 00 e6 3a 00 00 02 00 0b 3c 00 00 01 00 20 3c |...:.....<.... <| -000001f0 00 00 02 00 33 43 00 00 01 00 4a 43 00 00 02 00 |....3C....JC....| -00000200 18 44 00 00 01 00 2f 44 00 00 02 00 dd 45 00 00 |.D..../D.....E..| -00000210 01 00 f4 45 00 00 02 00 9a 47 00 00 01 00 b1 47 |...E.....G.....G| -00000220 00 00 02 00 53 4a 00 00 01 00 6a 4a 00 00 02 00 |....SJ....jJ....| -00000230 31 4b 00 00 01 00 48 4b 00 00 02 00 f2 4b 00 00 |1K....HK.....K..| +00000150 01 00 8b 01 00 00 02 00 2d 15 00 00 01 00 42 15 |........-.....B.| +00000160 00 00 02 00 41 17 00 00 01 00 56 17 00 00 02 00 |....A.....V.....| +00000170 33 18 00 00 01 00 48 18 00 00 02 00 ca 18 00 00 |3.....H.........| +00000180 01 00 df 18 00 00 02 00 cc 19 00 00 01 00 e1 19 |................| +00000190 00 00 02 00 4a 20 00 00 01 00 5f 20 00 00 02 00 |....J ...._ ....| +000001a0 1f 23 00 00 01 00 34 23 00 00 02 00 02 25 00 00 |.#....4#.....%..| +000001b0 01 00 17 25 00 00 02 00 32 2e 00 00 01 00 47 2e |...%....2.....G.| +000001c0 00 00 02 00 b9 38 00 00 01 00 ce 38 00 00 02 00 |.....8.....8....| +000001d0 ec 3e 00 00 01 00 01 3f 00 00 02 00 99 40 00 00 |.>.....?.....@..| +000001e0 01 00 b0 40 00 00 02 00 b7 48 00 00 01 00 ce 48 |...@.....H.....H| +000001f0 00 00 02 00 ab 4a 00 00 01 00 c2 4a 00 00 02 00 |.....J.....J....| +00000200 bd 4f 00 00 01 00 d4 4f 00 00 02 00 45 53 00 00 |.O.....O....ES..| +00000210 01 00 5c 53 00 00 02 00 0c 54 00 00 01 00 23 54 |..\S.....T....#T| +00000220 00 00 02 00 49 56 00 00 01 00 60 56 00 00 02 00 |....IV....`V....| +00000230 4c 59 00 00 01 00 63 59 00 00 02 00 60 5c 00 00 |LY....cY....`\..| 00000240 PE32 Mono/.Net assembly: /usr/lib/mono/4.5/mcs.exe Cannot compare, no monodis installed /usr/lib/mono/4.5/mcs.exe.so differs in assembler output --- old /usr/lib/mono/4.5/mcs.exe.so (disasm) +++ new /usr/lib/mono/4.5/mcs.exe.so (disasm) @@ -22,924 +22,376 @@ nop nop -IKVM_Reflection_AmbiguousMatchException__ctor: - sub $something,%rsp - mov %rdi,(%rsp) - mov offset(%rip),%rax # - testl $something,(%rax) - je - callq - mov (%rsp),%rdi - callq - add $something,%rsp - retq - nopw offset(%rax,%rax,1) - -IKVM_Reflection_AmbiguousMatchException__ctor_string: - sub $something,%rsp - mov %rdi,(%rsp) - mov %rsi,offset(%rsp) - mov offset(%rip),%rax # - testl $something,(%rax) - je - callq - mov (%rsp),%rdi - mov offset(%rsp),%rsi - callq - add $something,%rsp - retq - data16 nopw %cs:offset(%rax,%rax,1) - nop - -IKVM_Reflection_AmbiguousMatchException__ctor_string_System_Exception: +IKVM_Reflection_Assembly__ctor_IKVM_Reflection_Universe: sub $something,%rsp mov %rdi,(%rsp) mov %rsi,offset(%rsp) - mov %rdx,offset(%rsp) - mov offset(%rip),%rax # - testl $something,(%rax) - je - callq - mov (%rsp),%rdi - mov offset(%rsp),%rsi - mov offset(%rsp),%rdx - callq + mov %rdi,%rcx + add $something,%rcx + mov offset(%rsp),%rax + mov %rax,(%rcx) + shr $something,%ecx + and $something,%rcx + mov offset(%rip),%rdx # + add %rdx,%rcx + movb $something,(%rcx) add $something,%rsp retq - xchg %ax,%ax + nopl offset(%rax,%rax,1) -IKVM_Reflection_AmbiguousMatchException__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext: +IKVM_Reflection_Assembly_ToString: sub $something,%rsp mov %rdi,(%rsp) - mov %rsi,offset(%rsp) - mov %rdx,offset(%rsp) - mov %rcx,offset(%rsp) mov offset(%rip),%rax # testl $something,(%rax) - je + je callq mov (%rsp),%rdi - mov offset(%rsp),%rsi - mov offset(%rsp),%rdx - mov offset(%rsp),%rcx - callq + callq add $something,%rsp retq - nopl offset(%rax,%rax,1) + nopw offset(%rax,%rax,1) -IKVM_Reflection_FieldSignature_Create_IKVM_Reflection_Type_IKVM_Reflection_CustomModifiers: +IKVM_Reflection_Assembly_add_ModuleResolve_IKVM_Reflection_ModuleResolveEventHandler: sub $something,%rsp - mov %rdi,(%rsp) - mov %rsi,offset(%rsp) + mov %r12,(%rsp) + mov %r13,offset(%rsp) + mov %r14,offset(%rsp) + mov %r15,offset(%rsp) + mov %rdi,%r14 + mov %rsi,%r15 mov offset(%rip),%rax # testl $something,(%rax) - je + je callq + mov offset(%r14),%rax + test %rax,%rax + jne mov offset(%rip),%rdi # mov $something,%esi callq - mov %rax,offset(%rsp) - mov %rax,%rdi - mov (%rsp),%rsi - mov offset(%rsp),%rdx - callq - mov offset(%rsp),%rax - add $something,%rsp - retq - data16 nopw %cs:offset(%rax,%rax,1) - nopl (%rax) - -IKVM_Reflection_FieldSignature__ctor_IKVM_Reflection_Type_IKVM_Reflection_CustomModifiers: - sub $something,%rsp - mov %r14,(%rsp) - mov %rdi,%r14 - mov %rsi,offset(%rsp) - mov %rdx,offset(%rsp) + mov offset(%rip),%rcx # + mov (%rcx),%rcx + mov %rax,%rdx + add $something,%rdx + mov %rcx,(%rdx) + shr $something,%edx + and $something,%rdx + mov offset(%rip),%rsi # + add %rsi,%rdx + movb $something,(%rdx) lea offset(%r14),%rcx - mov offset(%rsp),%rax mov %rax,(%rcx) shr $something,%ecx and $something,%rcx mov offset(%rip),%rdx # add %rdx,%rcx movb $something,(%rcx) - lea offset(%r14),%rdx - mov %rdx,%rcx - mov offset(%rsp),%rax - mov %rax,(%rdx) - shr $something,%ecx - and $something,%rcx - mov offset(%rip),%rdx # - add %rdx,%rcx - movb $something,(%rcx) - mov (%rsp),%r14 - add $something,%rsp - retq - nopw offset(%rax,%rax,1) - -IKVM_Reflection_FieldSignature_Equals_object: - sub $something,%rsp - mov %r13,(%rsp) - mov %r14,offset(%rsp) - mov %r15,offset(%rsp) - mov %rdi,%r14 - mov %rsi,%r15 - mov offset(%rip),%rax # - testl $something,(%rax) - je - callq - movq $something,offset(%rsp) + mov offset(%r14),%rax + mov %rax,%r14 mov %r15,%r13 - test %r15,%r15 - je - mov (%r15),%rax - mov (%rax),%rax - mov offset(%rax),%rax - mov offset(%rax),%rax - mov offset(%rip),%rcx # - cmp %rcx,%rax - je - xor %r13d,%r13d - mov %r13,%r15 - test %r13,%r13 - je - mov offset(%r15),%rax - mov offset(%r14),%rsi - mov %rax,%rdi cmpl $something,(%rax) - callq - test %eax,%eax - je - lea offset(%r15),%rax - mov (%rax),%rax - mov %rax,offset(%rsp) - lea offset(%r14),%rax - mov (%rax),%rax - mov %rax,offset(%rsp) - lea offset(%rsp),%rdi - mov offset(%rsp),%rsi /usr/lib/mono/4.5/mcs.exe.so differs in ELF section .dynsym --- old /usr/lib/mono/4.5/mcs.exe.so (objdump) +++ new /usr/lib/mono/4.5/mcs.exe.so (objdump) @@ -4,4 +4,4 @@ Contents of section .dynsym: 0208 00000000 00000000 00000000 00000000 ................ 0218 00000000 00000000 01000000 11000b00 ................ - 0228 00f04500 00000000 00000000 00000000 ..E............. + 0228 00004600 00000000 00000000 00000000 ..F............. /usr/lib/mono/4.5/mcs.exe.so differs in ELF section .rela.dyn --- old /usr/lib/mono/4.5/mcs.exe.so (objdump) +++ new /usr/lib/mono/4.5/mcs.exe.so (objdump) @@ -2,39 +2,39 @@ /usr/lib/mono/4.5/mcs.exe.so: file format elf64-x86-64 Contents of section .rela.dyn: - 0250 08f04500 00000000 08000000 00000000 ..E............. - 0260 28f24500 00000000 30f04500 00000000 (.E.....0.E..... + 0250 08004600 00000000 08000000 00000000 ..F............. + 0260 28024600 00000000 30004600 00000000 (.F.....0.F..... 0270 08000000 00000000 00100000 00000000 ................ - 0280 38f04500 00000000 08000000 00000000 8.E............. - 0290 d8be2900 00000000 40f04500 00000000 ..).....@.E..... - 02a0 08000000 00000000 801d4500 00000000 ..........E..... - 02b0 58f04500 00000000 08000000 00000000 X.E............. - 02c0 20862b00 00000000 60f04500 00000000 .+.....`.E..... - 02d0 08000000 00000000 88ee2a00 00000000 ..........*..... - 02e0 68f04500 00000000 08000000 00000000 h.E............. - 02f0 887d2b00 00000000 70f04500 00000000 .}+.....p.E..... + 0280 38004600 00000000 08000000 00000000 8.F............. + 0290 d8be2900 00000000 40004600 00000000 ..).....@.F..... + 02a0 08000000 00000000 802d4500 00000000 .........-E..... + 02b0 58004600 00000000 08000000 00000000 X.F............. + 02c0 68862b00 00000000 60004600 00000000 h.+.....`.F..... + 02d0 08000000 00000000 a0ee2a00 00000000 ..........*..... + 02e0 68004600 00000000 08000000 00000000 h.F............. + 02f0 d07d2b00 00000000 70004600 00000000 .}+.....p.F..... 0300 08000000 00000000 08b02a00 00000000 ..........*..... - 0310 78f04500 00000000 08000000 00000000 x.E............. - 0320 58332b00 00000000 80f04500 00000000 X3+.......E..... - 0330 08000000 00000000 80ee2a00 00000000 ..........*..... - 0340 88f04500 00000000 08000000 00000000 ..E............. - 0350 f8ed2a00 00000000 90f04500 00000000 ..*.......E..... - 0360 08000000 00000000 00102b00 00000000 ..........+..... - 0370 a0f04500 00000000 08000000 00000000 ..E............. - 0380 70842b00 00000000 a8f04500 00000000 p.+.......E..... - 0390 08000000 00000000 18862b00 00000000 ..........+..... - 03a0 b0f04500 00000000 08000000 00000000 ..E............. - 03b0 20ab2a00 00000000 b8f04500 00000000 .*.......E..... - 03c0 08000000 00000000 960b4500 00000000 ..........E..... - 03d0 c0f04500 00000000 08000000 00000000 ..E............. - 03e0 650b4500 00000000 00f14500 00000000 e.E.......E..... - 03f0 08000000 00000000 bb0b4500 00000000 ..........E..... - 0400 08f14500 00000000 08000000 00000000 ..E............. - 0410 f0be2900 00000000 10f14500 00000000 ..).......E..... + 0310 78004600 00000000 08000000 00000000 x.F............. + 0320 78332b00 00000000 80004600 00000000 x3+.......F..... + 0330 08000000 00000000 98ee2a00 00000000 ..........*..... + 0340 88004600 00000000 08000000 00000000 ..F............. + 0350 10ee2a00 00000000 90004600 00000000 ..*.......F..... + 0360 08000000 00000000 18102b00 00000000 ..........+..... + 0370 a0004600 00000000 08000000 00000000 ..F............. + 0380 b8842b00 00000000 a8004600 00000000 ..+.......F..... + 0390 08000000 00000000 60862b00 00000000 ........`.+..... + 03a0 b0004600 00000000 08000000 00000000 ..F............. + 03b0 20ab2a00 00000000 b8004600 00000000 .*.......F..... + 03c0 08000000 00000000 be0e4500 00000000 ..........E..... + 03d0 c0004600 00000000 08000000 00000000 ..F............. + 03e0 8d0e4500 00000000 00014600 00000000 ..E.......F..... + 03f0 08000000 00000000 e30e4500 00000000 ..........E..... + 0400 08014600 00000000 08000000 00000000 ..F............. + 0410 f0be2900 00000000 10014600 00000000 ..).......F..... 0420 08000000 00000000 1cab2a00 00000000 ..........*..... - 0430 18f14500 00000000 08000000 00000000 ..E............. - 0440 40d24400 00000000 20f14500 00000000 @.D..... .E..... + 0430 18014600 00000000 08000000 00000000 ..F............. + 0440 68d54400 00000000 20014600 00000000 h.D..... .F..... 0450 08000000 00000000 00b02a00 00000000 ..........*..... - 0460 28f14500 00000000 08000000 00000000 (.E............. - 0470 00b02a00 00000000 30f14500 00000000 ..*.....0.E..... + 0460 28014600 00000000 08000000 00000000 (.F............. + 0470 00b02a00 00000000 30014600 00000000 ..*.....0.F..... 0480 08000000 00000000 e0be2900 00000000 ..........)..... /usr/lib/mono/4.5/mcs.exe.so differs in ELF section .text --- old /usr/lib/mono/4.5/mcs.exe.so (objdump) +++ new /usr/lib/mono/4.5/mcs.exe.so (objdump) @@ -3,37227 +3,37227 @@ Contents of section .text: 001000 90909090 90909090 90909090 90909090 ................ - 001010 4883ec08 48893c24 498b0541 e24500f7 H...H.<$I..A.E.. - 001020 00010000 007405e8 c4ae2900 488b3c24 .....t....).H.<$ - 001030 e8c5ae29 004883c4 08c3660f 1f440000 ...).H....f..D.. - 001040 4883ec18 48893c24 48897424 08498b05 H...H.<$H.t$.I.. - 001050 0ce24500 f7000100 00007405 e88fae29 ..E.......t....) - 001060 00488b3c 24488b74 2408e895 ae290048 .H.<$H.t$....).H - 001070 83c418c3 66662e0f 1f840000 00000090 ....ff.......... - 001080 4883ec18 48893c24 48897424 08488954 H...H.<$H.t$.H.T - 001090 2410498b 05c7e145 00f70001 00000074 $.I....E.......t - 0010a0 05e84aae 2900488b 3c24488b 74240848 ..J.).H.<$H.t$.H - 0010b0 8b542410 e855ae29 004883c4 18c36690 .T$..U.).H....f. - 0010c0 4883ec28 48893c24 48897424 08488954 H..(H.<$H.t$.H.T - 0010d0 24104889 4c241849 8b0582e1 4500f700 $.H.L$.I....E... - 0010e0 01000000 7405e805 ae290048 8b3c2448 ....t....).H.<$H - 0010f0 8b742408 488b5424 10488b4c 2418e815 .t$.H.T$.H.L$... - 001100 ae290048 83c428c3 0f1f8400 00000000 .).H..(......... - 001110 4883ec18 48893c24 48897424 08498b05 H...H.<$H.t$.I.. - 001120 3ce14500 f7000100 00007405 e8bfad29 <.E.......t....) - 001130 00498b3d b8e14500 be200000 00e8e0ad .I.=..E.. ...... - 001140 29004889 44241048 8bf8488b 3424488b ).H.D$.H..H.4$H. - 001150 542408e8 d4ad2900 488b4424 104883c4 T$....).H.D$.H.. - 001160 18c36666 2e0f1f84 00000000 000f1f00 ..ff............ - 001170 4883ec18 4c893424 4c8bf748 89742408 H...L.4$L..H.t$. - 001180 48895424 10498d4e 10488b44 24084889 H.T$.I.N.H.D$.H. - 001190 01c1e909 4881e1ff ff7f0049 8b1596e0 ....H......I.... - 0011a0 45004803 cac60101 498d5618 488bca48 E.H.....I.V.H..H - 0011b0 8b442410 488902c1 e9094881 e1ffff7f .D$.H.....H..... - 0011c0 00498b15 70e04500 4803cac6 01014c8b .I..p.E.H.....L. - 0011d0 34244883 c418c366 0f1f8400 00000000 4$H....f........ - 0011e0 4883ec38 4c892c24 4c897424 084c897c H..8L.,$L.t$.L.| - 0011f0 24104c8b f74c8bfe 498b0561 e04500f7 $.L..L..I..a.E.. - 001200 00010000 007405e8 e4ac2900 48c74424 .....t....).H.D$ - 001210 20000000 004d8bef 4d85ff74 1d498b07 ....M..M..t.I.. - 001220 488b0048 8b401048 8b401049 8b0dc6e0 H..H.@.H.@.I.... - 001230 4500483b c1740345 33ed4d8b fd4d85ed E.H;.t.E3.M..M.. - 001240 0f844400 0000498b 4710498b 7610488b ..D...I.G.I.v.H. - 001250 f8833800 e8ddac29 0085c00f 84290000 ..8....).....).. - 001260 00498d47 18488b00 48894424 20498d46 .I.G.H..H.D$ I.F - 001270 18488b00 48894424 18488d7c 2420488b .H..H.D$.H.|$ H. - 001280 742418e8 b8ac2900 eb0233c0 4c8b2c24 t$....)...3.L.,$ - 001290 4c8b7424 084c8b7c 24104883 c438c390 L.t$.L.|$.H..8.. - 0012a0 4883ec18 4c893c24 4c8bff49 8b05aedf H...L.<$L..I.... - 0012b0 4500f700 01000000 7405e831 ac290048 E.......t..1.).H - 0012c0 c7442408 00000000 498b4710 488bf848 .D$.....I.G.H..H - 0012d0 8b00ff50 50488944 2410498d 4718488b ...PPH.D$.I.G.H. - 0012e0 00488944 2408488d 7c2408e8 5aac2900 .H.D$.H.|$..Z.). - 0012f0 488bc848 8b442410 33c14c8b 3c244883 H..H.D$.3.L.<$H. + 001010 4883ec18 48893c24 48897424 08488bcf H...H.<$H.t$.H.. + 001020 4883c110 488b4424 08488901 c1e90948 H...H.D$.H.....H + 001030 81e1ffff 7f00498b 15fbf145 004803ca ......I....E.H.. + 001040 c6010148 83c418c3 0f1f8400 00000000 ...H............ + 001050 4883ec08 48893c24 498b0501 f24500f7 H...H.<$I....E.. + 001060 00010000 007405e8 84ae2900 488b3c24 .....t....).H.<$ + 001070 e885ae29 004883c4 08c3660f 1f440000 ...).H....f..D.. + 001080 4883ec28 4c892424 4c896c24 084c8974 H..(L.$$L.l$.L.t + 001090 24104c89 7c24184c 8bf74c8b fe498b05 $.L.|$.L..L..I.. + 0010a0 bcf14500 f7000100 00007405 e83fae29 ..E.......t..?.) + 0010b0 00498b46 204885c0 0f855a00 0000498b .I.F H....Z...I. + 0010c0 3d2bf245 00be2800 0000e835 ae290049 =+.E..(....5.).I + 0010d0 8b0d22f2 4500488b 09488bd0 4883c210 ..".E.H..H..H... + 0010e0 48890ac1 ea094881 e2ffff7f 00498b35 H.....H......I.5 + 0010f0 44f14500 4803d6c6 0201498d 4e204889 D.E.H.....I.N H. + 001100 01c1e909 4881e1ff ff7f0049 8b1526f1 ....H......I..&. + 001110 45004803 cac60101 498b4620 4c8bf04d E.H.....I.F L..M + 001120 8bef8338 0049634e 24ffc189 48244d8b ...8.IcN$...H$M. + 001130 7e104d63 6620498b c449634f 183bc173 ~.Mcf I..IcO.;.s + 001140 1d418d44 24014189 4620498b ff498bf4 .A.D$.A.F I..I.. + 001150 498bd549 8b07ff90 08010000 eb0b498b I..I..........I. + 001160 fe498bf5 e8a5ad29 004c8b24 244c8b6c .I.....).L.$$L.l + 001170 24084c8b 7424104c 8b7c2418 4883c428 $.L.t$.L.|$.H..( + 001180 c366662e 0f1f8400 00000000 0f1f4000 .ff...........@. + 001190 4883ec18 48893c24 48897424 08498b05 H...H.<$H.t$.I.. + 0011a0 bcf04500 f7000100 00007405 e83fad29 ..E.......t..?.) + 0011b0 00488b04 24488b40 20488bf8 488b7424 .H..$H.@ H..H.t$ + 0011c0 08833800 e84fad29 004883c4 18c36690 ..8..O.).H....f. + 0011d0 4883ec38 4c892c24 4c897424 084c8bf7 H..8L.,$L.t$.L.. + 0011e0 48897424 10488954 24184889 4c242049 H.t$.H.T$.H.L$ I + 0011f0 8b056af0 4500f700 01000000 7405e8ed ..j.E.......t... + 001200 ac290049 8bfe488b 74241848 8b542420 .).I..H.t$.H.T$ + 001210 498b06ff 90a80000 004c8be8 4885c00f I........L..H... + 001220 853c0000 00498b46 10488944 2428498b .<...I.F.H.D$(I. + 001230 fe498b06 ff90f800 0000488b d0488b44 .I........H..H.D + 001240 2428488b f8488b74 241033c9 4c8b4424 $(H..H.t$.3.L.D$ + 001250 184c8b4c 24208338 00e8c4ac 29004c8b .L.L$ .8....).L. + 001260 e8498bc5 4c8b2c24 4c8b7424 084883c4 .I..L.,$L.t$.H.. + 001270 38c36666 2e0f1f84 00000000 000f1f00 8.ff............ + 001280 4883ec18 4c893424 4c897c24 084c8bff H...L.4$L.|$.L.. + 001290 498b05c9 ef4500f7 00010000 007405e8 I....E.......t.. + 0012a0 4cac2900 498b4718 4c8bf048 85c00f85 L.).I.G.L..H.... + 0012b0 3e000000 498bff49 8b07ff90 08010000 >...I..I........ + 0012c0 488bf883 3800e861 ac290048 8bc84c8b H...8..a.).H..L. + 0012d0 f0498d57 1848890a c1ea0948 81e2ffff .I.W.H.....H.... + 0012e0 7f00498b 354fef45 004803d6 c602014c ..I.5O.E.H.....L + 0012f0 8bf0498b c64c8b34 244c8b7c 24084883 ..I..L.4$L.|$.H. 001300 c418c366 662e0f1f 84000000 00006690 ...ff.........f. - 001310 4883ec08 48893c24 488bc748 8b401048 H...H.<$H..H.@.H - 001320 83c408c3 66662e0f 1f840000 00000090 ....ff.......... - 001330 4883ec18 48897c24 08488bc7 4883c018 H...H.|$.H..H... - 001340 488b0048 89042448 8b042448 83c418c3 H..H..$H..$H.... - 001350 4883ec38 4c893424 4c8bf748 89742418 H..8L.4$L..H.t$. - 001360 498b05f9 de4500f7 00010000 007405e8 I....E.......t.. - 001370 7cab2900 48c74424 10000000 00498b46 |.).H.D$.....I.F - 001380 10488bf8 488b7424 18488b00 ff904001 .H..H.t$.H....@. - 001390 00004889 44242849 8d461848 8b004889 ..H.D$(I.F.H..H. - 0013a0 44241048 8d7c2410 488b7424 18e8a2ab D$.H.|$.H.t$.... - 0013b0 29004889 44240849 8b3d32df 4500be20 ).H.D$.I.=2.E.. - 0013c0 000000e8 5aab2900 488b7424 28488944 ....Z.).H.t$(H.D - 0013d0 2420488b f8488b54 2408e84d ab290048 $ H..H.T$..M.).H - 0013e0 8b442420 4c8b3424 4883c438 c30f1f00 .D$ L.4$H..8.... - 0013f0 4883ec38 4c893424 48897c24 104c8bf6 H..8L.4$H.|$.L.. - 001400 48895424 18498b05 54de4500 f7000100 H.T$.I..T.E..... - 001410 00007405 e8d7aa29 0048c744 24080000 ..t....).H.D$... - 001420 0000498b fe41833e 00e830ab 290083f8 ..I..A.>..0.)... - 001430 060f8564 00000048 8b7c2410 498bf648 ...d...H.|$.I..H - 001440 8b542418 e81fab29 00488944 2408488b .T$....).H.D$.H. - 001450 7c241049 8bf6488b 542418e8 12ab2900 |$.I..H.T$....). - 001460 48894424 28498b3d 84de4500 be200000 H.D$(I.=..E.. .. - 001470 00e8acaa 2900488b 74242848 89442420 ....).H.t$(H.D$ - 001480 488bf848 8b542408 e89faa29 00488b44 H..H.T$....).H.D - 001490 24204c8b 34244883 c438c349 8b3d5ede $ L.4$H..8.I.=^. - 0014a0 4500be90 000000e8 76aa2900 48894424 E.......v.).H.D$ - 0014b0 20488bf8 e8c3aa29 00488b44 2420488b H.....).H.D$ H. - 0014c0 f8e8c0aa 2900662e 0f1f8400 00000000 ....).f......... - 0014d0 4883ec28 4c892c24 4c897c24 084c8bef H..(L.,$L.|$.L.. - 0014e0 48897424 184c8bfa 498b0571 dd4500f7 H.t$.L..I..q.E.. - 0014f0 00010000 007405e8 f4a92900 498bffbe .....t....).I... - 001500 06000000 41833f00 e883aa29 00498d45 ....A.?....).I.E - 001510 18488b00 48894424 10488b7c 2418498b .H..H.D$.H.|$.I. - 001520 f7488b54 2410e86f aa290049 8b551048 .H.T$..o.).I.U.H - 001530 8b7c2418 498bf7e8 68aa2900 4c8b2c24 .|$.I...h.).L.,$ - 001540 4c8b7c24 084883c4 28c3660f 1f440000 L.|$.H..(.f..D.. - 001550 4883ec18 48893c24 48897424 08498b05 H...H.<$H.t$.I.. - 001560 fcdc4500 f7000100 00007405 e87fa929 ..E.......t....) - 001570 00488b44 24084885 c00f8452 00000049 .H.D$.H....R...I - 001580 8b0582dd 45000fb6 0085c074 18e81caa ....E......t.... - 001590 2900488b c8833900 48634028 83f8020f ).H...9.Hc@(.... - 0015a0 84520000 00488b0c 244883c1 18488b44 .R...H..$H...H.D - 0015b0 24084889 01c1e909 4881e1ff ff7f0049 $.H.....H......I - 0015c0 8b1572dc 45004803 cac60101 4883c418 ..r.E.H.....H... - 0015d0 c3498b3d 50dc4500 be010000 00e8d6a9 .I.=P.E......... - 0015e0 2900488b f0bfbc00 0002e8d3 a9290048 ).H..........).H - 0015f0 8bf8e88f a9290049 8b3d2adc 4500be23 .....).I.=*.E..# - 001600 000000e8 b0a92900 488bf0bf 29010002 ......).H...)... - 001610 e8ada929 00488bf8 e869a929 000f1f00 ...).H...i.).... - 001620 4883ec18 4c893c24 48897c24 084c8bfe H...L.<$H.|$.L.. - 001630 498b0529 dc4500f7 00010000 007405e8 I..).E.......t.. - 001640 aca82900 4d85ff0f 84800000 00498bff ..).M........I.. - 001650 41833f00 e873a929 004c8bf8 4d85ff0f A.?..s.).L..M... - 001660 843d0000 00498b07 488b000f b6481a48 .=...I..H....H.H - 001670 83f9010f 85900000 00488b40 08488b40 .........H.@.H.@ - 001680 10488b40 10498b0d 84dc4500 483bc10f .H.@.I....E.H;.. - 001690 856d0000 00498b47 104885c0 0f855100 .m...I.G.H....Q. - 0016a0 0000488b 44240848 83c0104c 8938c1e8 ..H.D$.H...L.8.. - 0016b0 094825ff ff7f0049 8b0d7adb 45004803 .H%....I..z.E.H. - 0016c0 c1c60001 4c8b3c24 4883c418 c3498b3d ....L.<$H....I.= - 0016d0 54db4500 beae0000 00e8daa8 2900488b T.E.........).H. - 0016e0 f0bfbc00 0002e8d7 a8290048 8bf8e893 .........).H.... - 0016f0 a82900be 66000000 bf130100 00e8d4a8 .)..f........... - 001700 2900be73 000000eb efbe8f00 0000ebe8 )..s............ - 001710 4883ec18 48893c24 48897424 08498b05 H...H.<$H.t$.I.. - 001720 3cdb4500 f7000100 00007405 e8bfa729 <.E.......t....) - 001730 00488b7c 2408e8a5 a8290048 8bf0488b .H.|$....).H..H. - 001740 3c24e8a3 a8290048 83c418c3 0f1f4000 <$...).H......@. - 001750 4883ec18 4c893424 4c897c24 084c8bff H...L.4$L.|$.L.. - 001760 498b05f9 da4500f7 00010000 007405e8 I....E.......t.. - 001770 7ca72900 4d85ff0f 84710000 00498bff |.).M....q...I.. - 001780 498b07ff 90880100 00488944 2410498b I........H.D$.I. - 001790 ff498b07 ff908001 0000488b 74241048 .I........H.t$.H - 0017a0 2bf0b8ff ffffff48 3bf00f8f 73000000 +......H;...s... - 0017b0 4885f60f 8c5b0000 00498b3d 58db4500 H....[...I.=X.E. - 0017c0 e82fa829 004c8bf0 49634e18 498bff49 ./.).L..IcN.I..I - 0017d0 8bf633d2 498b07ff 90c80000 00498bc6 ..3.I........I.. - 0017e0 4c8b3424 4c8b7c24 084883c4 18c3498b L.4$L.|$.H....I. - 0017f0 3d33da45 00bec800 0000e8b9 a7290048 =3.E.........).H - 001800 8bf0bfbc 000002e8 b6a72900 488bf8e8 ..........).H... - 001810 72a72900 be700000 00bf3301 0000e8b3 r.)..p....3..... - 001820 a72900be 79000000 ebef660f 1f440000 .)..y.....f..D.. - 001830 55488bec 4883ec30 4c8975f0 4c897df8 UH..H..0L.u.L.}. - 001840 4c8bff49 8b0516da 4500f700 01000000 L..I....E....... - 001850 7405e899 a6290048 c745e800 00000049 t....).H.E.....I - 001860 8b05a2da 45000fb6 0085c074 0d498bff ....E......t.I.. - 001870 e889a729 00e93d01 0000498b ffe886a7 ...)..=...I..... - 001880 29004889 45e8488b 45e8488b f833f683 ).H.E.H.E.H..3.. - 001890 3800e87b a729004c 8bf84963 771883c6 8..{.).L..Icw... - 0018a0 0c498b3d 70da4500 e847a729 004c8bf0 .I.=p.E..G.).L.. - 0018b0 4d634718 498bff33 f6498bd6 b90c0000 McG.I..3.I...... - 0018c0 00e856a7 29004183 7e18010f 86220100 ..V.).A.~....".. - 0018d0 0041c646 21244183 7e18040f 860b0100 .A.F!$A.~....... - 0018e0 0041c646 24044183 7e18050f 86f40000 .A.F$.A.~....... - 0018f0 0041c646 25804963 47184183 7e18080f .A.F%.IcG.A.~... - 001900 86d90000 00418846 28496347 18c1f808 .....A.F(IcG.... - 001910 41837e18 090f86bc 00000041 88462949 A.~........A.F)I - 001920 634718c1 f8104183 7e180a0f 869f0000 cG....A.~....... - 001930 00418846 2a496347 18c1f818 41837e18 .A.F*IcG....A.~. /usr/lib/mono/4.5/mcs.exe.so differs in ELF section .rodata --- old /usr/lib/mono/4.5/mcs.exe.so (objdump) +++ new /usr/lib/mono/4.5/mcs.exe.so (objdump) @@ -3,87757 +3,87757 @@ Contents of section .rodata: 2ab000 00000000 00000000 e2290000 0a000000 .........)...... - 2ab010 31040000 02000000 00000a00 14001e00 1............... - 2ab020 28003200 3c004600 50005b00 66007100 (.2.<.F.P.[.f.q. - 2ab030 7c008700 92009d00 a800b300 be00c900 |............... - 2ab040 d400df00 ea00f500 00010b01 16012101 ..............!. - 2ab050 2c013701 42014d01 58016301 6e017d01 ,.7.B.M.X.c.n.}. - 2ab060 88019801 a301ae01 b901c401 d301de01 ................ - 2ab070 e901f901 04020f02 1a022602 31024002 ..........&.1.@. - 2ab080 4a025502 64027e02 8e029e02 a902b802 J.U.d.~......... - 2ab090 c302d202 dd02e802 f402ff02 0a031503 ................ - 2ab0a0 25033003 3b034603 5a036e03 79038903 %.0.;.F.Z.n.y... - 2ab0b0 94039f03 aa03b503 c003cb03 d603e503 ................ - 2ab0c0 f403ff03 0a041a04 25043004 3b044604 ........%.0.;.F. - 2ab0d0 51045c04 67047204 7d048804 93049e04 Q.\.g.r.}....... - 2ab0e0 a904b404 bf04ca04 d504e004 eb04f604 ................ - 2ab0f0 06051105 1c052705 32053d05 48055305 ......'.2.=.H.S. - 2ab100 5e056905 74057f05 8a059a05 a505b005 ^.i.t........... - 2ab110 bb05c605 d105dc05 e705f205 fd050c06 ................ - 2ab120 16062106 2c063706 42065106 5c066b06 ..!.,.7.B.Q.\.k. - 2ab130 75068006 8b069a06 a506b006 bf06ca06 u............... - 2ab140 d506e006 eb06f606 01070c07 17072207 ..............". - 2ab150 2d073807 48075407 5f076907 74077f07 -.8.H.T._.i.t... - 2ab160 8a079a07 a507b007 bb07cf07 da07e507 ................ - 2ab170 f0070008 10081b08 26083108 3c084708 ........&.1.<.G. - 2ab180 52085d08 68087308 7e088908 94089f08 R.].h.s.~....... - 2ab190 aa08b508 c008cb08 d608e108 ec08f708 ................ - 2ab1a0 02090d09 18092309 2e093909 44094f09 ......#...9.D.O. - 2ab1b0 5a096509 70097b09 86099109 9c09a709 Z.e.p.{......... - 2ab1c0 b209bd09 c809d309 de09e909 f409ff09 ................ - 2ab1d0 0a0a150a 200a2b0a 360a410a 560a610a .... .+.6.A.V.a. - 2ab1e0 6c0a770a 820a8d0a 980aa30a ae0ab90a l.w............. - 2ab1f0 c40acf0a da0ae50a f00afb0a 060b110b ................ - 2ab200 1c0b270b 320b3d0b 480b530b 5e0b690b ..'.2.=.H.S.^.i. - 2ab210 740b7f0b 8a0b950b a00bab0b b60bc10b t............... - 2ab220 cc0bd70b e20bed0b f80b030c 0e0c190c ................ - 2ab230 240c2f0c 3a0c450c 500c5b0c 660c710c $./.:.E.P.[.f.q. - 2ab240 7c0c870c 920c9d0c a80cb30c be0cc90c |............... - 2ab250 d40cdf0c ea0cf50c 000d0b0d 160d210d ..............!. - 2ab260 2c0d370d 420d4d0d 580d630d 6e0d790d ,.7.B.M.X.c.n.y. - 2ab270 840d8f0d 9a0da50d b00dbb0d c60dd10d ................ - 2ab280 dc0de70d f20dfd0d 0d0e1c0e 2c0e370e ............,.7. - 2ab290 420e4d0e 580e630e 6e0e790e 860e910e B.M.X.c.n.y..... - 2ab2a0 9c0ea70e b20ebd0e c80ed30e de0ee90e ................ - 2ab2b0 f40eff0e 0a0f150f 200f2b0f 360f410f ........ .+.6.A. - 2ab2c0 4c0f570f 620f6d0f 780f830f 8e0f9a0f L.W.b.m.x....... - 2ab2d0 a50fb00f bb0fc60f d10fdc0f e70ff20f ................ - 2ab2e0 fd0f0810 13101e10 29103410 3f104a10 ........).4.?.J. - 2ab2f0 55106010 6b107610 81108c10 9710a210 U.`.k.v......... - 2ab300 ad10b810 c310ce10 d910e410 ef10fa10 ................ - 2ab310 07111411 21112e11 3b114811 55116211 ....!...;.H.U.b. - 2ab320 6f117c11 89119611 a311b011 bd11ca11 o.|............. - 2ab330 d711e411 f111fe11 0b121812 25123212 ............%.2. - 2ab340 3f124c12 59126612 73128012 8d129a12 ?.L.Y.f.s....... - 2ab350 a712b612 c312d012 dd12ea12 f7120413 ................ - 2ab360 11132213 2f133c13 49135613 63137013 .."./.<.I.V.c.p. - 2ab370 7e138b13 9f13ac13 b913c613 d313e013 ~............... - 2ab380 f4130114 0e141b14 28143514 42144f14 ........(.5.B.O. - 2ab390 5c146914 76148314 90149d14 aa14b714 \.i.v........... - 2ab3a0 cb14d814 e514f214 ff140c15 19152615 ..............&. - 2ab3b0 33154015 4d155a15 67157415 81158e15 3.@.M.Z.g.t..... - 2ab3c0 9b15a915 b615c315 d015dd15 ea15f715 ................ - 2ab3d0 04161216 1f162c16 39164616 53166016 ......,.9.F.S.`. - 2ab3e0 6d167a16 87169416 a116ae16 bb16c816 m.z............. - 2ab3f0 d516e216 ef16fc16 09171d17 2a173717 ............*.7. - 2ab400 44175117 5e176b17 78178517 92179f17 D.Q.^.k.x....... - 2ab410 ac17b917 c617d317 e017f117 02181618 ................ - 2ab420 23183718 44185118 5e186b18 78188518 #.7.D.Q.^.k.x... - 2ab430 92189f18 ac18b918 c618d318 e018ed18 ................ - 2ab440 fa180719 14192119 2e193b19 49195619 ......!...;.I.V. - 2ab450 64197519 82198f19 9c19a919 b619c319 d.u............. - 2ab460 d019dd19 ea19f719 041a111a 2c1a391a ............,.9. - 2ab470 461a5a1a 671a741a 851a961a a31ab01a F.Z.g.t......... - 2ab480 bd1aca1a d71ae41a f11afe1a 0b1b181b ................ - 2ab490 251b321b 3f1b501b 5d1b6b1b 781b851b %.2.?.P.].k.x... - 2ab4a0 991ba61b b31bc71b d41be11b f51b021c ................ - 2ab4b0 0f1c1c1c 301c441c 511c5e1c 6b1c781c ....0.D.Q.^.k.x. - 2ab4c0 851c931c a01cad1c ba1cc71c d41ce81c ................ - 2ab4d0 f51c091d 161d311d 3e1d4f1d 5c1d691d ......1.>.O.\.i. - 2ab4e0 761d831d 901d9d1d aa1db71d c41dd11d v............... - 2ab4f0 de1deb1d f81d051e 121e1f1e 331e4e1e ............3.N. - 2ab500 5b1e681e 751e821e 8f1e9c1e b01ebd1e [.h.u........... - 2ab510 ca1edb1e e81ef51e 021f0f1f 1d1f2a1f ..............*. - 2ab520 371f441f 511f5e1f 6b1f7f1f 8c1f991f 7.D.Q.^.k....... - 2ab530 a61fb31f c01fcd1f da1fe71f f41f0120 ............... - 2ab540 0e201b20 28203520 42204f20 5c206920 . . ( 5 B O \ i - 2ab550 76208720 9420a120 ae20bb20 c820d520 v . . . . . . . - 2ab560 e220ef20 fc200921 16212321 30213d21 . . . .!.!#!0!=! - 2ab570 4a215721 64217121 7e218b21 9821a521 J!W!d!q!~!.!.!.! - 2ab580 b221c321 d021dd21 ea21f721 04221122 .!.!.!.!.!.!."." - 2ab590 1e222b22 38224522 52225f22 6c227922 ."+"8"E"R"_"l"y" - 2ab5a0 86229322 a022ad22 ba22c722 d422e122 ."."."."."."."." - 2ab5b0 ee22fb22 08231523 22232f23 3c234923 .".".#.#"#/#<#I# - 2ab5c0 56236323 70237d23 8a239723 a423b123 V#c#p#}#.#.#.#.# - 2ab5d0 be23cb23 d823e523 f223ff23 0c241924 .#.#.#.#.#.#.$.$ - 2ab5e0 26243324 40244d24 5a246724 74248124 &$3$@$M$Z$g$t$.$ - 2ab5f0 8e249b24 a824b524 c224cf24 dc24e924 .$.$.$.$.$.$.$.$ - 2ab600 f6240325 10252425 31253e25 4b255825 .$.%.%$%1%>%K%X% - 2ab610 65257225 7f258c25 9925a625 b325c025 e%r%.%.%.%.%.%.% - 2ab620 cd25da25 e725f425 01260e26 1b262826 .%.%.%.%.&.&.&(& - 2ab630 35264226 4f265c26 69267626 83269026 5&B&O&\&i&v&.&.& - 2ab640 9d26aa26 b726c426 d126de26 eb26f826 .&.&.&.&.&.&.&.& - 2ab650 0c271927 26273327 40274d27 5a276727 .'.'&'3'@'M'Z'g' - 2ab660 74278127 8e279827 a527b227 bf27d327 t'.'.'.'.'.'.'.' - 2ab670 e127ee27 fb270828 15282228 2f283c28 .'.'.'.(.("(/(<( - 2ab680 49285628 63287028 7d288e28 9b28a828 I(V(c(p(}(.(.(.( - 2ab690 b528c228 cf28dc28 e928f628 03291029 .(.(.(.(.(.(.).) - 2ab6a0 1d292a29 37294429 51295e29 6b297829 .)*)7)D)Q)^)k)x) - 2ab6b0 85299229 9f29ac29 b929c629 d329e029 .).).).).).).).) - 2ab6c0 ed29fa29 072a142a 2f2a3c2a 492a562a .).).*.*/*<*I*V* - 2ab6d0 632a702a 7d2a8a2a 972aa62a b32ac02a c*p*}*.*.*.*.*.* - 2ab6e0 cd2ada2a e72af42a 0c2b202b 2d2b3a2b .*.*.*.*.+ +-+:+ - 2ab6f0 472b542b 612b6e2b 7b2b882b 9c2ba92b G+T+a+n+{+.+.+.+ - 2ab700 b62bc32b d02bdd2b ea2bf72b 082c152c .+.+.+.+.+.+.,., - 2ab710 222c2f2c 3c2c492c 562c632c 702c7d2c ",/,<,I,V,c,p,}, - 2ab720 8a2c972c a42cb12c be2ccb2c d82ce52c .,.,.,.,.,.,.,., - 2ab730 f22cff2c 0c2d192d 262d332d 442d512d .,.,.-.-&-3-D-Q- - 2ab740 5e2d6b2d 782d852d 922d9f2d ac2db92d ^-k-x-.-.-.-.-.- - 2ab750 c62dd32d e02ded2d 012e112e 1e2e2b2e .-.-.-.-......+. - 2ab760 382e452e 522e5f2e 6c2e792e 862e932e 8.E.R._.l.y..... - 2ab770 a02ead2e be2ecb2e d82ee52e f22eff2e ................ - 2ab780 0c2f192f 262f332f 402f4d2f 5a2f672f ././&/3/@/M/Z/g/ - 2ab790 742f812f 8e2f9b2f a82fb52f c22fcf2f t/./././././././ - 2ab7a0 dc2fe92f f62f0330 10301d30 2a303730 ./././.0.0.0*070 - 2ab7b0 44305130 5e306b30 78308530 92309f30 D0Q0^0k0x0.0.0.0 - 2ab7c0 ac30b930 c630d330 e430f130 fe300b31 .0.0.0.0.0.0.0.1 - 2ab7d0 18312531 32313f31 4c315631 63317031 .1%121?1L1V1c1p1 - 2ab7e0 7d318a31 9731a431 b131be31 cb31d831 }1.1.1.1.1.1.1.1 - 2ab7f0 e531f231 ff310c32 19322632 37324432 .1.1.1.2.2&272D2 - 2ab800 51325e32 6b327832 85329232 9f32ac32 Q2^2k2x2.2.2.2.2 - 2ab810 b932c632 d332e032 ed32fa32 07331433 .2.2.2.2.2.2.3.3 - 2ab820 21332e33 3b334833 59336633 73338033 !3.3;3H3Y3f3s3.3 - 2ab830 8d339a33 a733b433 c133ce33 db33e833 .3.3.3.3.3.3.3.3 - 2ab840 f5330234 0f341c34 29343634 43345034 .3.4.4.4)464C4P4 - 2ab850 5d346a34 77348834 9534a334 b034bd34 ]4j4w4.4.4.4.4.4 - 2ab860 ca34de34 eb34f834 05351235 1f352c35 .4.4.4.4.5.5.5,5 - 2ab870 39354a35 57356435 71350101 01010103 95J5W5d5q5...... - 2ab880 01030101 0f030401 03030103 05063001 ..............0. - 2ab890 03010103 03010101 40010101 01030103 ........@....... - 2ab8a0 01014e03 01030101 01010103 5e030101 ..N.........^... - 2ab8b0 01030101 01016c01 01010101 01010103 ......l......... - 2ab8c0 78010101 01010101 01018082 01010103 x............... - 2ab8d0 01010101 03809001 01010101 01010101 ................ - 2ab8e0 809a0103 01010103 01010380 aa010101 ................ - 2ab8f0 01010101 010180b6 01010101 01040101 ................ - 2ab900 0480c601 04010104 01030301 80dc0303 ................ - 2ab910 03010303 03030380 f8030303 01010103 ................ - 2ab920 0103810c 03030303 01010303 03812603 ..............&. - 2ab930 03030301 03030303 81400503 01010101 .........@...... - 2ab940 01010181 50010103 03030303 0303816a ....P..........j - 2ab950 03030303 03030305 01818601 03010101 ................ - 2ab960 01010101 81920303 05010103 04010181 ................ - 2ab970 ab010104 01010101 010181b8 01010301 ................ - 2ab980 03010401 0181c901 01010103 01010101 ................ - 2ab990 81d70101 01010101 01010181 e1010103 ................ - 2ab9a0 01030103 010181f1 03030303 03030303 ................ - 2ab9b0 03820f01 01010101 03010903 82250101 .............%.. - 2ab9c0 01030101 01010182 31010101 01030101 ........1....... - 2ab9d0 0101823d 01010101 01010101 01824703 ...=..........G. - 2ab9e0 0d040304 03010303 82700601 010a01ff .........p...... - 2ab9f0 fffffd7d 00000000 82840101 01010101 ...}............ - 2aba00 0101828d 01010101 010101ff fffffd6c ...............l - 2aba10 82950082 96030101 03040101 0182a601 ................ - 2aba20 01010101 01010101 82b20101 01010101 ................ - 2aba30 01010182 bc010101 03030101 010182cf ................ - 2aba40 03010101 01010104 fffffffd 24000000 ............$... - 2aba50 00000000 82dd0401 82e30101 01010101 ................ - 2aba60 01010182 ed010301 0101ffff fffd0c00 ................ - 2aba70 0082f582 f601030b 01010303 01018312 ................ - 2aba80 01080104 01010508 01833601 03010101 ..........6..... - 2aba90 01010103 83440101 03018103 04010101 .....D.......... - 2abaa0 84550101 01010101 04010184 62010401 .U..........b... - 2abab0 010101ff fffffb95 00000000 00000000 ................ - 2abac0 00000000 00846c01 01010504 04010100 ......l......... - 2abad0 84820101 01040101 01ffffff fb748490 .............t.. - 2abae0 fffffffb 70000084 9101ffff fffb6e84 ....p.........n. - 2abaf0 93ffffff fb6d8494 008495ff fffffb6b .....m.........k - 2abb00 84960101 01010105 84a4ffff fffb5c00 ..............\. - 2abb10 0084a504 01010101 84b10404 01010101 ................ - 2abb20 01010184 c1010101 01010101 01ffffff ................ - 2abb30 fb370000 00000000 0084ca01 0484d001 .7.............. - 2abb40 fffffffb 2f000000 00000000 000084d2 ..../........... - 2abb50 01010101 01010184 da040101 01010101 ................ - 2abb60 010184e7 01010101 01826d08 0e16879f ..........m..... - 2abb70 0b070e03 03030305 0387d607 07030e0e ................ - 2abb80 01010103 880a0112 01010101 01010188 ................ - 2abb90 27ffffff f7d9882a 06060303 03060688 '......*........ - 2abba0 4e030303 03030303 0303886f 03030303 N..........o.... - 2abbb0 03090104 01888e01 01040101 01010101 ................ - 2abbc0 88c80301 0101ffff fff73200 0088cfff ..........2..... - 2abbd0 fffff731 88d0ffff fff73088 d1010401 ...1......0..... - 2abbe0 010101ff fffff726 000088db 01010101 .......&........ - 2abbf0 01010488 e6010101 0101ffff fff71588 ................ - 2abc00 ec070188 f5040404 01090701 01018916 ................ - 2abc10 01010504 01010804 0a893a01 0401080c ..........:..... - 2abc20 01010101 89590101 01050901 01010189 .....Y.......... /usr/lib/mono/4.5/mcs.exe.so differs in ELF section .data.rel.ro --- old /usr/lib/mono/4.5/mcs.exe.so (objdump) +++ new /usr/lib/mono/4.5/mcs.exe.so (objdump) @@ -2,3354 +2,3354 @@ /usr/lib/mono/4.5/mcs.exe.so: file format elf64-x86-64 Contents of section .data.rel.ro: - 451d80 e88bf2ba ffe8b6f2 baffe8f1 f2baffe8 ................ - 451d90 2cf3baff e877f3ba ffe8d2f3 baffe83d ,....w.........= - 451da0 f4baffe8 f8f4baff e863f5ba ffe87ef5 .........c....~. - 451db0 baffe899 f5baffe8 34f6baff e80ff7ba ........4....... - 451dc0 ffe88af7 baffe855 f8baffe8 40f9baff .......U....@... - 451dd0 e87bf9ba ffe856fa baffe821 fcbaffe8 .{....V....!.... - 451de0 7cfdbaff e827feba ffe8b2fe baffe86d |....'.........m - 451df0 ffbaffe8 d8ffbaff e82300bb ffe88e00 .........#...... - 451e00 bbffe879 01bbffe8 b401bbff e8ef01bb ...y............ - 451e10 ffe82a02 bbffe865 02bbffe8 a002bbff ..*....e........ - 451e20 e8eb02bb ffe82603 bbffe861 03bbffe8 ......&....a.... - 451e30 fc03bbff e83704bb ffe8b204 bbffe8ed .....7.......... - 451e40 04bbffe8 4805bbff e81306bb ffe8de06 ....H........... - 451e50 bbffe8f9 06bbffe8 b407bbff e82f08bb ............./.. - 451e60 ffe86a08 bbffe8a5 08bbffe8 5009bbff ..j.........P... - 451e70 e8db09bb ffe8560a bbffe891 0abbffe8 ......V......... - 451e80 9c0bbbff e8d70bbb ffe8120c bbffe87d ...............} - 451e90 0cbbffe8 280dbbff e8830dbb ffe8be0d ....(........... - 451ea0 bbffe8f9 0dbbffe8 140ebbff e84f0ebb .............O.. - 451eb0 ffe88a0e bbffe8c5 0ebbffe8 200fbbff ............ ... - 451ec0 e85b0fbb ffe8960f bbffe8b1 0fbbffe8 .[.............. - 451ed0 fc0fbbff e87710bb ffe8f210 bbffe82d .....w.........- - 451ee0 11bbffe8 6811bbff e8d311bb ffe80e12 ....h........... - 451ef0 bbffe859 12bbffe8 9412bbff e8cf12bb ...Y............ - 451f00 ffe80a13 bbffe865 13bbffe8 a013bbff .......e........ - 451f10 e8bb13bb ffe8f613 bbffe831 14bbffe8 ...........1.... - 451f20 9c14bbff e83715bb ffe89215 bbffe8cd .....7.......... - 451f30 15bbffe8 0816bbff e84316bb ffe8be16 .........C...... - 451f40 bbffe809 17bbffe8 5417bbff e81f18bb ........T....... - 451f50 ffe85a18 bbffe895 18bbffe8 d018bbff ..Z............. - 451f60 e80b19bb ffe85619 bbffe891 19bbffe8 ......V......... - 451f70 ac19bbff e8e719bb ffe8221a bbffe89d .........."..... - 451f80 1abbffe8 d81abbff e8131bbb ffe87e1b ..............~. - 451f90 bbffe819 1cbbffe8 741cbbff e8af1cbb ........t....... - 451fa0 ffe82a1d bbffe875 1dbbffe8 c01dbbff ..*....u........ - 451fb0 e80b1ebb ffe8d61e bbffe891 1fbbffe8 ................ - 451fc0 dc1fbbff e81720bb ffe83220 bbffe86d ...... ...2 ...m - 451fd0 20bbffe8 a820bbff e82321bb ffe85e21 .... ...#!...^! - 451fe0 bbffe899 21bbffe8 d421bbff e80f22bb ....!....!....". - 451ff0 ffe84a22 bbffe8d5 22bbffe8 2023bbff ..J"...."... #.. - 452000 e83b23bb ffe8d623 bbffe821 24bbffe8 .;#....#...!$... - 452010 3c24bbff e8e724bb ffe83225 bbffe84d <$....$...2%...M - 452020 25bbffe8 0826bbff e84326bb ffe87e27 %....&...C&...~' - 452030 bbffe8a9 28bbffe8 c428bbff e88f29bb ....(....(....). - 452040 ffe8da29 bbffe835 2abbffe8 802abbff ...)...5*....*.. - 452050 e89b2abb ffe8e62a bbffe831 2bbbffe8 ..*....*...1+... - 452060 7c2bbbff e8c72bbb ffe8122c bbffe85d |+....+....,...] - 452070 2cbbffe8 a82cbbff e8f32cbb ffe83e2d ,....,....,...>- - 452080 bbffe849 2dbbffe8 542dbbff e85f2dbb ...I-...T-..._-. - 452090 ffe8aa2d bbffe825 2ebbffe8 702ebbff ...-...%....p... - 4520a0 e88b2ebb ffe8d62e bbffe8c1 2fbbffe8 ............/... - 4520b0 1c30bbff e86730bb ffe87230 bbffe87d .0...g0...r0...} - 4520c0 30bbffe8 c830bbff e81331bb ffe85e31 0....0....1...^1 - 4520d0 bbffe8a9 31bbffe8 f431bbff e83f32bb ....1....1...?2. - 4520e0 ffe88a32 bbffe8d5 32bbffe8 e032bbff ...2....2....2.. - 4520f0 e82b33bb ffe87633 bbffe8c1 33bbffe8 .+3...v3....3... - 452100 1c35bbff e85736bb ffe81237 bbffe86d .5...W6....7...m - 452110 37bbffe8 7837bbff e88337bb ffe88e37 7...x7....7....7 - 452120 bbffe8a9 37bbffe8 5438bbff e87f38bb ....7...T8....8. - 452130 ffe8aa38 bbffe8c5 38bbffe8 e038bbff ...8....8....8.. - 452140 e8eb39bb ffe8363a bbffe881 3abbffe8 ..9...6:....:... - 452150 cc3abbff e8173bbb ffe8623b bbffe8bd .:....;...b;.... - 452160 3bbbffe8 083cbbff e8533cbb ffe89e3c ;....<...S<....< - 452170 bbffe8f9 3cbbffe8 443dbbff e88f3dbb ....<...D=....=. - 452180 ffe8da3d bbffe825 3ebbffe8 703ebbff ...=...%>...p>.. - 452190 e8bb3fbb ffe8c63f bbffe801 40bbffe8 ..?....?....@... - 4521a0 1c40bbff e86740bb ffe89240 bbffe8ad .@...g@....@.... - 4521b0 40bbffe8 f840bbff e84341bb ffe8be41 @....@...CA....A - 4521c0 bbffe8f9 41bbffe8 0442bbff e81f42bb ....A....B....B. - 4521d0 ffe86a42 bbffe8b5 42bbffe8 5043bbff ..jB....B...PC.. - 4521e0 e88b43bb ffe81644 bbffe891 44bbffe8 ..C....D....D... - 4521f0 dc45bbff e81746bb ffe85246 bbffe8ad .E....F...RF.... - 452200 46bbffe8 c846bbff e8f346bb ffe8be47 F....F....F....G - 452210 bbffe8f9 47bbffe8 3448bbff e86f48bb ....G...4H...oH. - 452220 ffe8aa48 bbffe8c5 48bbffe8 7049bbff ...H....H...pI.. - 452230 e88b49bb ffe8d649 bbffe811 4abbffe8 ..I....I....J... - 452240 cc4abbff e8374bbb ffe8c24b bbffe8fd .J...7K....K.... - 452250 4bbbffe8 284dbbff e8834dbb ffe8be4d K...(M....M....M - 452260 bbffe8f9 4dbbffe8 344ebbff e85f4ebb ....M...4N..._N. - 452270 ffe89a4e bbffe8c5 4ebbffe8 604fbbff ...N....N...`O.. - 452280 e89b4fbb ffe8d64f bbffe811 50bbffe8 ..O....O....P... - 452290 9c50bbff e81751bb ffe8a251 bbffe8dd .P....Q....Q.... - 4522a0 51bbffe8 1852bbff e87352bb ffe8ae52 Q....R...sR....R - 4522b0 bbffe8e9 52bbffe8 2453bbff e83f53bb ....R...$S...?S. - 4522c0 ffe8ea53 bbffe805 54bbffe8 5054bbff ...S....T...PT.. - 4522d0 e88b54bb ffe81655 bbffe851 55bbffe8 ..T....U...QU... - 4522e0 0c56bbff e87756bb ffe8e256 bbffe81d .V...wV....V.... - 4522f0 57bbffe8 5857bbff e8e357bb ffe82e58 W...XW....W....X - 452300 bbffe879 58bbffe8 c458bbff e80f59bb ...yX....X....Y. - 452310 ffe85a59 bbffe8a5 59bbffe8 f059bbff ..ZY....Y....Y.. - 452320 e83b5abb ffe8865a bbffe8d1 5abbffe8 .;Z....Z....Z... - 452330 ec5abbff e8075bbb ffe8225b bbffe85d .Z....[..."[...] - 452340 5bbbffe8 985bbbff e8e35bbb ffe8fe5b [....[....[....[ - 452350 bbffe879 5fbbffe8 a460bbff e81f61bb ...y_....`....a. - 452360 ffe84a61 bbffe865 61bbffe8 a061bbff ..Ja...ea....a.. - 452370 e80b62bb ffe88662 bbffe8a1 62bbffe8 ..b....b....b... - 452380 bc62bbff e8f762bb ffe81263 bbffe84d .b....b....c...M - 452390 63bbffe8 6863bbff e8a363bb ffe8be63 c...hc....c....c - 4523a0 bbffe8f9 63bbffe8 6464bbff e87f64bb ....c...dd....d. - 4523b0 ffe8ba64 bbffe8d5 64bbffe8 1065bbff ...d....d....e.. - 4523c0 e82b65bb ffe84665 bbffe861 65bbffe8 .+e...Fe...ae... - 4523d0 9c65bbff e8b765bb ffe81266 bbffe87d .e....e....f...} - 4523e0 66bbffe8 b866bbff e8d366bb ffe8ee66 f....f....f....f - 4523f0 bbffe809 67bbffe8 4468bbff e8bf6cbb ....g...Dh....l. - 452400 ffe81a6e bbffe895 6ebbffe8 b06fbbff ...n....n....o.. - 452410 e84b70bb ffe88670 bbffe841 71bbffe8 .Kp....p...Aq... - 452420 fc71bbff e8a772bb ffe82275 bbffe83d .q....r..."u...= - 452430 75bbffe8 5875bbff e83379bb ffe83e79 u...Xu...3y...>y - 452440 bbffe839 f9ffffe8 34f9ffff e82ff9ff ...9....4..../.. - 452450 ffe82af9 ffffe825 f9ffffe8 3079bbff ..*....%....0y.. - 452460 e86b79bb ffe8b679 bbffe8f1 79bbffe8 .ky....y....y... - 452470 2c7abbff e8677abb ffe8a27a bbffe8dd ,z...gz....z.... - 452480 7abbffe8 187bbbff e8537bbb ffe88e7b z....{...S{....{ - 452490 bbffe8c9 7bbbffe8 047cbbff e83f7cbb ....{....|...?|. - 4524a0 ffe87a7c bbffe8b5 7cbbffe8 f07cbbff ..z|....|....|.. - 4524b0 e8cbf8ff ffe8f67c bbffe8c1 f8ffffe8 .......|........ - 4524c0 4c7dbbff e8c77dbb ffe8427e bbffe8cd L}....}...B~.... - 4524d0 7ebbffe8 287fbbff e82382bb ffe88e82 ~...(....#...... - 4524e0 bbffe8c9 82bbffe8 2483bbff e85f83bb ........$...._.. - 4524f0 ffe89a83 bbffe8d5 83bbffe8 1084bbff ................ - 452500 e84b84bb ffe88684 bbffe8c1 84bbffe8 .K.............. - 452510 fc84bbff e83785bb ffe85285 bbffe8ed .....7....R..... - 452520 85bbffe8 4886bbff e88386bb ffe8be86 ....H........... - 452530 bbffe8f9 86bbffe8 3487bbff e86f87bb ........4....o.. - 452540 ffe8aa87 bbffe855 88bbffe8 7088bbff .......U....p... - 452550 e88b88bb ffe8e688 bbffe841 89bbffe8 ...........A.... - 452560 bc89bbff e8878abb ffe8d28a bbffe82d ...............- - 452570 8bbbffe8 088cbbff e8f38cbb ffe86e8e ..............n. - 452580 bbffe809 90bbffe8 5491bbff e89f95bb ........T....... - 452590 ffe87a96 bbffe895 96bbffe8 b096bbff ..z............. - 4525a0 e8cb96bb ffe8069c bbffe881 a0bbffe8 ................ - 4525b0 ccf7ffff e8c7f7ff ffe8c2f7 ffffe8bd ................ - 4525c0 f7ffffe8 b8f7ffff e8b3f7ff ffe8aef7 ................ - 4525d0 ffffe8a9 f7ffffe8 64a0bbff e8efa0bb ........d....... - 4525e0 ffe82aa1 bbffe865 a1bbffe8 a0a1bbff ..*....e........ - 4525f0 e8dba1bb ffe816a2 bbffe851 a2bbffe8 ...........Q.... - 452600 8ca2bbff e8c7a2bb ffe802a3 bbffe83d ...............= - 452610 a3bbffe8 78a3bbff e8b3a3bb ffe8eea3 ....x........... - 452620 bbffe809 a4bbffe8 14a4bbff e81fa4bb ................ - 452630 ffe85aa4 bbffe845 f7ffffe8 40f7ffff ..Z....E....@... - 452640 e83bf7ff ffe856a4 bbffe8d1 a4bbffe8 .;....V......... - 452650 5ca5bbff e877a5bb ffe872a8 bbffe8ad \....w....r..... - 452660 a8bbffe8 38a9bbff e8b3a9bb ffe82eaa ....8........... - 452670 bbffe849 aabbffe8 84aabbff e82fabbb ...I........./.. - 452680 ffe85aab bbffe815 adbbffe8 40adbbff ..Z.........@... - 452690 e83bafbb ffe866af bbffe891 afbbffe8 .;....f......... - 4526a0 ccb1bbff e887b4bb ffe842b5 bbffe80d ..........B..... - 4526b0 b7bbffe8 38b7bbff e843b8bb ffe8aeb8 ....8....C...... - 4526c0 bbffe8e9 b8bbffe8 04b9bbff e86fb9bb .............o.. - 4526d0 ffe8aab9 bbffe8e5 b9bbffe8 60babbff ............`... - 4526e0 e8abbabb ffe8e6ba bbffe831 bbbbffe8 ...........1.... - 4526f0 ccbbbbff e857bcbb ffe842d4 bbffe8dd .....W....B..... - 452700 dbbbffe8 08dcbbff e833dcbb ffe8bedc .........3...... - 452710 bbffe8e9 dcbbffe8 14ddbbff e83fddbb .............?.. - 452720 ffe86add bbffe8a5 ddbbffe8 10debbff ..j............. - 452730 e83bdebb ffe8a6de bbffe811 dfbbffe8 .;.............. - 452740 8cdfbbff e817e0bb ffe842e0 bbffe8ad ..........B..... - 452750 e0bbffe8 08e1bbff e833e1bb ffe85ee1 .........3....^. - 452760 bbffe899 e1bbffe8 14f6ffff e80ff6ff ................ - 452770 ffe80af6 ffffe805 f6ffffe8 00f6ffff ................ - 452780 e8fbf5ff ffe8f6f5 ffffe8f1 f5ffffe8 ................ - 452790 ecf5ffff e8e7f5ff ffe8e2f5 ffffe8dd ................ - 4527a0 f5ffffe8 d8f5ffff e8d3f5ff ffe89ee1 ................ - 4527b0 bbffe8e9 e1bbffe8 24e2bbff e85fe2bb ........$...._.. - 4527c0 ffe87ae4 bbffe805 e5bbffe8 90e6bbff ..z............. - 4527d0 e89be6bb ffe8d6e6 bbffe8a1 f5ffffe8 ................ - 4527e0 6ce7bbff e8a7e7bb ffe8e2e7 bbffe81d l............... - 4527f0 e8bbffe8 78e8bbff e8b3e8bb ffe8dee8 ....x........... - 452800 bbffe809 e9bbffe8 74f5ffff e81fe9bb ........t....... - 452810 ffe86af5 ffffe865 f5ffffe8 60f5ffff ..j....e....`... - 452820 e83be9bb ffe846e9 bbffe851 f5ffffe8 .;....F....Q.... - 452830 7ce9bbff e847f5ff ffe8b2e9 bbffe83d |....G.........= - 452840 f5ffffe8 e8e9bbff e833f5ff ffe81eea .........3...... - 452850 bbffe849 eabbffe8 74eabbff e89feabb ...I....t....... - 452860 ffe8caea bbffe8f5 eabbffe8 50ecbbff ............P... - 452870 e8cbecbb ffe806f5 ffffe801 f5ffffe8 ................ - 452880 fcf4ffff e8e7eebb ffe822f0 bbffe82d .........."....- - 452890 f0bbffe8 38f0bbff e863f0bb ffe89ef0 ....8....c...... - 4528a0 bbffe8d9 f0bbffe8 14f1bbff e84ff1bb .............O.. - 4528b0 ffe88af1 bbffe8c5 f1bbffe8 00f2bbff ................ - 4528c0 e83bf2bb ffe876f2 bbffe8b1 f2bbffe8 .;....v......... - 4528d0 ecf2bbff e827f3bb ffe862f3 bbffe89d .....'....b..... - 4528e0 f3bbffe8 d8f3bbff e813f4bb ffe84ef4 ..............N. - 4528f0 bbffe889 f4bbffe8 c4f4bbff e8fff4bb ................ - 452900 ffe87af4 ffffe875 f4ffffe8 70f4ffff ..z....u....p... - 452910 e86bf4ff ffe866f4 ffffe861 f4ffffe8 .k....f....a.... - 452920 5cf4ffff e857f4ff ffe812f5 bbffe81d \....W.......... - 452930 f5bbffe8 f8f5bbff e853f6bb ffe8aef6 .........S...... - 452940 bbffe839 f4ffffe8 34f4ffff e82ff4ff ...9....4..../.. - 452950 ffe82af4 ffffe825 f4ffffe8 20f4ffff ..*....%.... ... - 452960 e81bf4ff ffe816f4 ffffe811 f4ffffe8 ................ - 452970 0cf4ffff e8b7f6bb ffe802f7 bbffe84d ...............M - 452980 f7bbffe8 88f7bbff e8c3f7bb ffe8fef7 ................ - 452990 bbffe839 f8bbffe8 74f8bbff e8aff8bb ...9....t....... /usr/lib/mono/4.5/mcs.exe.so differs in ELF section .dynamic --- old /usr/lib/mono/4.5/mcs.exe.so (objdump) +++ new /usr/lib/mono/4.5/mcs.exe.so (objdump) @@ -2,20 +2,20 @@ /usr/lib/mono/4.5/mcs.exe.so: file format elf64-x86-64 Contents of section .dynamic: - 45eef0 10000000 00000000 00000000 00000000 ................ - 45ef00 04000000 00000000 c8010000 00000000 ................ - 45ef10 f5feff6f 00000000 e0010000 00000000 ...o............ - 45ef20 05000000 00000000 38020000 00000000 ........8....... - 45ef30 06000000 00000000 08020000 00000000 ................ - 45ef40 0a000000 00000000 14000000 00000000 ................ - 45ef50 0b000000 00000000 18000000 00000000 ................ - 45ef60 07000000 00000000 50020000 00000000 ........P....... - 45ef70 08000000 00000000 40020000 00000000 ........@....... - 45ef80 09000000 00000000 18000000 00000000 ................ - 45ef90 1e000000 00000000 02000000 00000000 ................ - 45efa0 f9ffff6f 00000000 18000000 00000000 ...o............ - 45efb0 00000000 00000000 00000000 00000000 ................ - 45efc0 00000000 00000000 00000000 00000000 ................ - 45efd0 00000000 00000000 00000000 00000000 ................ - 45efe0 00000000 00000000 00000000 00000000 ................ - 45eff0 00000000 00000000 00000000 00000000 ................ + 45fef0 10000000 00000000 00000000 00000000 ................ + 45ff00 04000000 00000000 c8010000 00000000 ................ + 45ff10 f5feff6f 00000000 e0010000 00000000 ...o............ + 45ff20 05000000 00000000 38020000 00000000 ........8....... + 45ff30 06000000 00000000 08020000 00000000 ................ + 45ff40 0a000000 00000000 14000000 00000000 ................ + 45ff50 0b000000 00000000 18000000 00000000 ................ + 45ff60 07000000 00000000 50020000 00000000 ........P....... + 45ff70 08000000 00000000 40020000 00000000 ........@....... + 45ff80 09000000 00000000 18000000 00000000 ................ + 45ff90 1e000000 00000000 02000000 00000000 ................ + 45ffa0 f9ffff6f 00000000 18000000 00000000 ...o............ + 45ffb0 00000000 00000000 00000000 00000000 ................ + 45ffc0 00000000 00000000 00000000 00000000 ................ + 45ffd0 00000000 00000000 00000000 00000000 ................ + 45ffe0 00000000 00000000 00000000 00000000 ................ + 45fff0 00000000 00000000 00000000 00000000 ................ /usr/lib/mono/4.5/mcs.exe.so differs in ELF section .data --- old /usr/lib/mono/4.5/mcs.exe.so (objdump) +++ new /usr/lib/mono/4.5/mcs.exe.so (objdump) @@ -2,38 +2,38 @@ /usr/lib/mono/4.5/mcs.exe.so: file format elf64-x86-64 Contents of section .data: - 45f000 ab000000 00000000 28f24500 00000000 ........(.E..... - 45f010 00000000 00000000 00000000 00000000 ................ - 45f020 00000000 00000000 00000000 00000000 ................ - 45f030 00100000 00000000 d8be2900 00000000 ..........)..... - 45f040 801d4500 00000000 00000000 00000000 ..E............. - 45f050 00000000 00000000 20862b00 00000000 ........ .+..... - 45f060 88ee2a00 00000000 887d2b00 00000000 ..*......}+..... - 45f070 08b02a00 00000000 58332b00 00000000 ..*.....X3+..... - 45f080 80ee2a00 00000000 f8ed2a00 00000000 ..*.......*..... - 45f090 00102b00 00000000 00000000 00000000 ..+............. - 45f0a0 70842b00 00000000 18862b00 00000000 p.+.......+..... - 45f0b0 20ab2a00 00000000 960b4500 00000000 .*.......E..... - 45f0c0 650b4500 00000000 00000000 00000000 e.E............. - 45f0d0 00000000 00000000 00000000 00000000 ................ - 45f0e0 00000000 00000000 00000000 00000000 ................ - 45f0f0 00000000 00000000 00000000 00000000 ................ - 45f100 bb0b4500 00000000 f0be2900 00000000 ..E.......)..... - 45f110 1cab2a00 00000000 40d24400 00000000 ..*.....@.D..... - 45f120 00b02a00 00000000 00b02a00 00000000 ..*.......*..... - 45f130 e0be2900 00000000 82170000 08790100 ..)..........y.. - 45f140 9f170000 e2290000 00000000 20000000 .....)...... ... - 45f150 ff695116 3f000000 1a4c1900 80000000 .iQ.?....L...... - 45f160 08000000 08000000 08000000 09000000 ................ - 45f170 ffff7f00 00000000 05000000 19000000 ................ - 45f180 00000000 00000000 00000000 00000000 ................ - 45f190 00000000 00000000 00000000 00000000 ................ - 45f1a0 00000000 00000000 00000000 00000000 ................ - 45f1b0 00000000 00000000 00000000 00000000 ................ - 45f1c0 00000000 00000000 00000000 00000000 ................ - 45f1d0 00000000 00000000 00000000 00000000 ................ - 45f1e0 00000000 00000000 00000000 00000000 ................ - 45f1f0 00000000 00000000 00000000 00000000 ................ - 45f200 00000000 00000000 00000000 00000000 ................ - 45f210 00000000 00000000 9077853c 3b2a3ef0 .........w.<;*>. - 45f220 c7e1a45d 0b18e254 ...]...T + 460000 ab000000 00000000 28024600 00000000 ........(.F..... + 460010 00000000 00000000 00000000 00000000 ................ + 460020 00000000 00000000 00000000 00000000 ................ + 460030 00100000 00000000 d8be2900 00000000 ..........)..... + 460040 802d4500 00000000 00000000 00000000 .-E............. + 460050 00000000 00000000 68862b00 00000000 ........h.+..... + 460060 a0ee2a00 00000000 d07d2b00 00000000 ..*......}+..... + 460070 08b02a00 00000000 78332b00 00000000 ..*.....x3+..... + 460080 98ee2a00 00000000 10ee2a00 00000000 ..*.......*..... + 460090 18102b00 00000000 00000000 00000000 ..+............. + 4600a0 b8842b00 00000000 60862b00 00000000 ..+.....`.+..... + 4600b0 20ab2a00 00000000 be0e4500 00000000 .*.......E..... + 4600c0 8d0e4500 00000000 00000000 00000000 ..E............. + 4600d0 00000000 00000000 00000000 00000000 ................ + 4600e0 00000000 00000000 00000000 00000000 ................ + 4600f0 00000000 00000000 00000000 00000000 ................ + 460100 e30e4500 00000000 f0be2900 00000000 ..E.......)..... + 460110 1cab2a00 00000000 68d54400 00000000 ..*.....h.D..... + 460120 00b02a00 00000000 00b02a00 00000000 ..*.......*..... + 460130 e0be2900 00000000 82170000 08790100 ..)..........y.. + 460140 9f170000 e2290000 00000000 20000000 .....)...... ... + 460150 ff695116 07000000 fb4e1900 80000000 .iQ......N...... + 460160 08000000 08000000 08000000 09000000 ................ + 460170 ffff7f00 00000000 05000000 19000000 ................ + 460180 00000000 00000000 00000000 00000000 ................ + 460190 00000000 00000000 00000000 00000000 ................ + 4601a0 00000000 00000000 00000000 00000000 ................ + 4601b0 00000000 00000000 00000000 00000000 ................ + 4601c0 00000000 00000000 00000000 00000000 ................ + 4601d0 00000000 00000000 00000000 00000000 ................ + 4601e0 00000000 00000000 00000000 00000000 ................ + 4601f0 00000000 00000000 00000000 00000000 ................ + 460200 00000000 00000000 00000000 00000000 ................ + 460210 00000000 00000000 e4baf809 3843cea0 ............8C.. + 460220 654ee783 beef6fb8 eN....o. /usr/lib/mono/4.5/mcs.pdb differs at offset '113' (Microsoft Rosyln C# debugging symbols version 1.0) --- old /usr/lib/mono/4.5/mcs.pdb (hex) +++ new /usr/lib/mono/4.5/mcs.pdb (hex) @@ -1,8 +1,8 @@ 00000040 54 4d 00 00 23 53 74 72 69 6e 67 73 00 00 00 00 |TM..#Strings....| 00000050 70 28 05 00 04 00 00 00 23 55 53 00 74 28 05 00 |p(......#US.t(..| 00000060 20 00 00 00 23 47 55 49 44 00 00 00 94 28 05 00 | ...#GUID....(..| -00000070 40 85 05 00 23 42 6c 6f 62 00 00 00 8c b3 88 74 |@...#Blob......t| -00000080 29 3d b5 4a 99 a3 42 1b 58 b1 ab 6a 33 99 ab ed |)=.J..B.X..j3...| +00000070 28 85 05 00 23 42 6c 6f 62 00 00 00 0b 85 29 7c |(...#Blob.....)|| +00000080 2d 9e 01 4a 8b 72 47 ce 07 39 42 57 30 39 3a d6 |-..J.rG..9BW09:.| 00000090 5a 16 00 06 57 9f b7 3f 09 1e 00 00 01 00 00 00 |Z...W..?........| 000000a0 f0 00 00 00 52 04 00 00 4c 12 00 00 e1 29 00 00 |....R...L....)..| 000000b0 48 2a 00 00 e7 00 00 00 c7 09 00 00 3e 05 00 00 |H*..........>...| @@ -14,20 +14,20 @@ 00000110 00 00 00 00 02 00 04 01 00 00 00 00 00 00 3f 00 |..............?.| 00000120 00 00 00 00 00 00 04 00 95 00 00 00 e1 29 00 00 |.............)..| 00000130 b7 32 00 00 09 1b 00 00 4a 00 00 00 5e 01 00 00 |.2......J...^...| -00000140 66 00 00 00 01 00 72 00 00 00 02 00 5e 01 00 00 |f.....r.....^...| -00000150 01 00 6b 01 00 00 02 00 3d 02 00 00 01 00 4a 02 |..k.....=.....J.| -00000160 00 00 02 00 8d 03 00 00 01 00 9a 03 00 00 02 00 |................| -00000170 a9 08 00 00 01 00 b6 08 00 00 02 00 00 11 00 00 |................| -00000180 01 00 0d 11 00 00 02 00 6f 16 00 00 01 00 7c 16 |........o.....|.| -00000190 00 00 02 00 62 18 00 00 01 00 6f 18 00 00 02 00 |....b.....o.....| -000001a0 da 1b 00 00 01 00 e7 1b 00 00 02 00 e3 1c 00 00 |................| -000001b0 01 00 f0 1c 00 00 02 00 c6 1f 00 00 01 00 d3 1f |................| -000001c0 00 00 02 00 eb 25 00 00 01 00 f8 25 00 00 02 00 |.....%.....%....| -000001d0 1e 27 00 00 01 00 2b 27 00 00 02 00 3e 2e 00 00 |.'....+'....>...| -000001e0 01 00 4b 2e 00 00 02 00 1a 2f 00 00 01 00 27 2f |..K....../....'/| -000001f0 00 00 02 00 d5 30 00 00 01 00 e2 30 00 00 02 00 |.....0.....0....| -00000200 89 32 00 00 01 00 96 32 00 00 02 00 38 35 00 00 |.2.....2....85..| -00000210 01 00 45 35 00 00 02 00 0c 36 00 00 01 00 19 36 |..E5.....6.....6| -00000220 00 00 02 00 c2 36 00 00 01 00 cf 36 00 00 02 00 |.....6.....6....| -00000230 39 3d 00 00 01 00 46 3d 00 00 02 00 99 41 00 00 |9=....F=.....A..| +00000140 74 00 00 00 01 00 80 00 00 00 02 00 7f 02 00 00 |t...............| +00000150 01 00 8c 02 00 00 02 00 75 03 00 00 01 00 82 03 |........u.......| +00000160 00 00 02 00 04 04 00 00 01 00 11 04 00 00 02 00 |................| +00000170 07 05 00 00 01 00 14 05 00 00 02 00 7d 0b 00 00 |............}...| +00000180 01 00 8a 0b 00 00 02 00 4a 0e 00 00 01 00 57 0e |........J.....W.| +00000190 00 00 02 00 25 10 00 00 01 00 32 10 00 00 02 00 |....%.....2.....| +000001a0 4d 19 00 00 01 00 5a 19 00 00 02 00 cc 23 00 00 |M.....Z......#..| +000001b0 01 00 d9 23 00 00 02 00 ef 29 00 00 01 00 fc 29 |...#.....).....)| +000001c0 00 00 02 00 92 2b 00 00 01 00 9f 2b 00 00 02 00 |.....+.....+....| +000001d0 a4 33 00 00 01 00 b1 33 00 00 02 00 8c 35 00 00 |.3.....3.....5..| +000001e0 01 00 99 35 00 00 02 00 8a 3a 00 00 01 00 97 3a |...5.....:.....:| +000001f0 00 00 02 00 02 3e 00 00 01 00 0f 3e 00 00 02 00 |.....>.....>....| +00000200 be 3e 00 00 01 00 cb 3e 00 00 02 00 ea 40 00 00 |.>.....>.....@..| +00000210 01 00 f9 40 00 00 02 00 df 43 00 00 01 00 ee 43 |...@.....C.....C| +00000220 00 00 02 00 ff 46 00 00 01 00 0e 47 00 00 02 00 |.....F.....G....| +00000230 68 4c 00 00 01 00 77 4c 00 00 02 00 93 53 00 00 |hL....wL.....S..| 00000240 /usr/lib/mono/4.5/mscorlib.dll.so differs in assembler output --- old /usr/lib/mono/4.5/mscorlib.dll.so (disasm) +++ new /usr/lib/mono/4.5/mscorlib.dll.so (disasm) @@ -84040,39 +84040,36 @@ mov (%rsp),%r15 add $something,%rsp retq - add %ah,offset(%rbp) + lock mov offset(%rsp),%rdi + mov %r15d,offset(%rsi) add %al,(%rax) - add %ch,offset(%rax) add %al,(%rax) add %al,(%rax) - add %ah,%al - mov $something,%edi - lods %ds:(%rsi),%al - ... - add %ah,%al + loopne + and $something,%al mov $something,%edi - mov $something,%bh - add %al,(%rax) - add %al,(%rax) - adc %al,(%rax) + callq add %al,(%rax) loopne - insb (%dx),%es:(%rdi) + mov offset(%rsp),%esi + mov $something,%edi + add %dl,(%rax) add %al,(%rax) - add %bh,offset(%rdx) + add %ah,%al + sar $something,%eax + jb + add $something,%eax add %al,(%rax) add %al,(%rax) add %ah,%al (bad) - outsb %ds:(%rsi),(%dx) - add %al,(%rax) - add %al,%ah - ... + callq + mov %rax,offset(%rax,%rax,1) add %ah,%al (bad) - jo add %al,(%rax) - movl $something,(%rax) + callq + rex.W add %al,(%rax) loopne (bad) (bad) @@ -93385,14 +93382,17 @@ callq mov %rax,%rdi callq - lret $something + mul %bh + push %rcx rex.W add %al,(%rax) add %al,(%rax) add %al,(%rax) loopne imul %al - ror %cl,%dl - cmp $something,%eax + (bad) + mul %bh + push %rcx + mov (%rax),%rax add %al,(%rax) add %al,(%rax) add %ah,%al @@ -95291,8 +95291,8 @@ callq mov %rax,%rdi callq - lret - cmp $something,%eax + rex.WRXB in $something,%eax + mov %rax,%rcx mov offset(%rax,%rax,1),%rdx add %al,(%rax) jo @@ -103051,16 +103051,41 @@ jmp mov $something,%esi jmp - ... + rex.RB + rex.RB + rex.RB + rex.RB + rex.RB + rex.RB + rex.RB + rex.RB + rex.RB + rex.RB + rex.RB + rex.RB + add %r8b,(%r8) add %al,(%rax) - add %bh,%al - incl (%rax) - ... - add %dh,%al - incl (%rax) - ... - add %dh,%al - jg + add %al,(%rax) + clc + incl offset(%rbp) + rex.RB + rex.RB + rex.RB + rex.RB + rex.RB + add %r8b,(%r8) + add %al,(%rax) + add %al,(%rax) + lock incl offset(%rbp) + rex.RB + rex.RB + rex.RB + rex.RB + rex.RB + add %r8b,(%r8) + add %al,(%rax) + add %al,(%rax) + lock jg (bad) test %al,(%rax) add %al,(%rax) @@ -122117,10 +122142,13 @@ cmp (%rax),%al add %al,(%rax) jmp - rex sub $something,%eax + xchg %eax,%ebp + (bad) + push %rcx add %al,(%rax) - add %dh,%al - mov $something,%edi + add %al,(%rax) + add %al,(%rax) + lock mov $something,%edi add %al,(%rax) ... @@ -137085,7 +137113,7 @@ (bad) (bad) (bad) - jg + jg xor %edi,%edi mov -offset(%rbp),%rsi rex.W add %al,(%rax) @@ -138291,12 +138319,15 @@ movss (%rsp),%xmm0 add $something,%rsp retq - ... - add %al,offset(%rax) - ... add %al,(%rax) - sar $something,%bh - nopw %cs:offset(%rax,%rax,1) + and %al,(%rcx) + add %al,(%rax) + add %al,(%rax) + add %al,offset(%rax) + movabs 0x123000000,%al + add %al,%al + jmpq *offset(%rsi) + nopl %cs:offset(%rax,%rax,1) nop System_MathF_Log_single_single: @@ -138388,10 +138419,9 @@ movss %xmm0,offset(%rsp) repz sldt (%rax) sar $something,%bh - push %rdi - (bad) - sub $something,%eax - rex.R and $something,%al + out %eax,$something + rclb -offset(%rcx) + movups offset(%rsp),%xmm0 repz add %al,(%rax) /usr/lib/mono/4.5/mscorlib.dll.so differs in ELF section .text --- old /usr/lib/mono/4.5/mscorlib.dll.so (objdump) +++ new /usr/lib/mono/4.5/mscorlib.dll.so (objdump) @@ -21541,12 +21541,12 @@ 055200 c0740341 ffcf498b c7eb1fbf 594c0000 .t.A..I.....YL.. 055210 e8d51f4e 00488bf0 bf330100 02e8e61f ...N.H...3...... 055220 4e00488b f8e8aa1c 4e004c8b 3c244883 N.H.....N.L.<$H. - 055230 c418c300 a5000000 62000000 a8000000 ........b....... - 055240 00000000 0000e0bf 62000000 ac000000 ........b....... - 055250 00000000 0000e0bf 62000000 b7000000 ........b....... - 055260 00001000 0000e0c1 6c000000 ba000000 ........l....... - 055270 00000000 0000e03f 6e000000 c4000000 .......?n....... - 055280 00000000 0000e03f 70000000 c7000000 .......?p....... + 055230 c418c3f0 488bbc24 80000000 44897e10 ....H..$....D.~. + 055240 00000000 0000e0bf 2478bf07 420000e8 ........$x..B... + 055250 00000000 0000e0bf 8b742478 bfbb0000 .........t$x.... + 055260 00001000 0000e0c1 f8e87235 0552e900 ..........r5.R.. + 055270 00000000 0000e03f e8633505 52488984 .......?.c5.RH.. + 055280 00000000 0000e03f 0000e851 35055248 .......?...Q5.RH 055290 0000e0ff ffffdf41 0f1f8400 00000000 .......A........ 0552a0 4883ec38 48897c24 20488974 2428498b H..8H.|$ H.t$(I. 0552b0 05ab9f86 00f70001 00000074 05e8fe1b ...........t.... @@ -23946,11 +23946,11 @@ 05e850 e4fa1e01 004c3bf8 7d13498b c74869c0 .....L;.}.I..Hi. 05e860 10270000 4c8b3c24 4883c428 c3bf3e5a .'..L.<$H..(..>Z 05e870 0000e873 894d0048 8bf0bfbb 000002e8 ...s.M.H........ - 05e880 84894d00 488bf8e8 48864d00 ca3d8248 ..M.H...H.M..=.H - 05e890 00000000 0000e03f f6e8d2ca 3d82488b .......?....=.H. + 05e880 84894d00 488bf8e8 48864d00 f6e75148 ..M.H...H.M...QH + 05e890 00000000 0000e03f f6e882f6 e751488b .......?.....QH. 05e8a0 00000000 0000e0bf 1c244c8b 6424084c .........$L.d$.L 05e8b0 00000000 70999441 184883c4 28c3be74 ....p..A.H..(..t - 05e8c0 00000000 361024c1 e8a3ca3d 82beed00 ....6.$....=.... + 05e8c0 00000000 361024c1 e853f6e7 51beed00 ....6.$..S..Q... 05e8d0 00000000 41924641 0f1f8400 00000000 ....A.FA........ 05e8e0 4883ec28 4c892c24 4c897c24 0848897c H..(L.,$L.|$.H.| 05e8f0 24184c8b fe48c744 24100000 00004d8b $.L..H.D$.....M. @@ -24454,7 +24454,7 @@ 060810 100d3a00 0000f20f 5ec14c8b 34244c8b ..:.....^.L.4$L. 060820 7c240848 83c418c3 bf0a5a00 00e8b869 |$.H......Z....i 060830 4d00488b f0bf3301 0002e8c9 694d0048 M.H...3.....iM.H - 060840 8bf8e88d 664d00cb 3d82488b c8488b54 ....fM..=.H..H.T + 060840 8bf8e88d 664d004f e551488b c8488b54 ....fM.O.QH..H.T 060850 00000000 70999441 0f1f8400 00000000 ....p..A........ 060860 4883ec08 48893c24 498b05f1 e98500f7 H...H.<$I....... 060870 00010000 007405e8 44664d00 488b0424 .....t..DfM.H..$ @@ -26621,9 +26621,9 @@ 068f80 8b6c2408 4c8b7424 104c8b7c 24184881 .l$.L.t$.L.|$.H. 068f90 c4880300 00c3bea3 040000bf 2a010000 ............*... 068fa0 e84be14c 00be9409 0000ebef be970e00 .K.L............ - 068fb0 00ebe800 00000000 00000000 00000000 ................ - 068fc0 00000000 0000f8ff 00000000 00000000 ................ - 068fd0 00000000 0000f0ff 00000000 00000000 ................ + 068fb0 00ebe845 45454545 45454545 45454545 ...EEEEEEEEEEEEE + 068fc0 00000000 0000f8ff 45454545 45454545 ........EEEEEEEE + 068fd0 00000000 0000f0ff 45454545 45454545 ........EEEEEEEE 068fe0 00000000 0000f07f 0f1f8400 00000000 ................ 068ff0 4883ec08 b80e0000 004883c4 08c36690 H........H....f. 069000 4883ec18 48893c24 488bc7f2 0f100066 H...H.<$H......f @@ -29991,7 +29991,7 @@ 076220 c0480fb6 c0488b1c 244c8b64 24084c8b .H...H..$L.d$.L. 076230 6c24104c 8b742418 4c8b7c24 204883c4 l$.L.t$.L.|$ H.. 076240 38c3bedc 000000bf 0e010000 e89f0e4c 8..............L - 076250 00be7b01 0000ebef e8a3e12d 8233c0e9 ..{........-.3.. + 076250 00be7b01 0000ebef e8d393d5 5133c0e9 ..{.........Q3.. 076260 00000000 00002440 0f1f8400 00000000 ......$@........ 076270 4883ec18 4c893424 4c8bf748 89742408 H...L.4$L..H.t$. 076280 498b05d9 8f8400f7 00010000 007405e8 I............t.. @@ -31828,7 +31828,7 @@ 07d4f0 41c74614 ffffffff 41c74618 ffffffff A.F.....A.F..... 07d500 41c7461c ffffffff f20f1005 20000000 A.F......... ... 07d510 f2410f11 4620488b 44240849 89064c8b .A..F H.D$.I..L. - 07d520 34244883 c418c33a 000000eb ef402d82 4$H....:.....@-. + 07d520 34244883 c418c33a 000000eb ef95d551 4$H....:.......Q 07d530 00000000 0000f0bf 0f1f8400 00000000 ................ 07d540 4883ec18 4c893424 4c8bf748 89742408 H...L.4$L..H.t$. 07d550 498b0649 634e0848 8bd1ffc2 41895608 I..IcN.H....A.V. @@ -35707,7 +35707,7 @@ 08c760 ffffffff ffffff7f 898578ff ffff4489 ..........x...D. 08c770 ffffffff ffffff7f ff488945 c8488b45 .........H.E.H.E 08c780 ffffffff ffffff7f 4883c7d8 488b75c8 ........H...H.u. - 08c790 ffffffff ffffff7f 8233ff48 8b75d848 .........3.H.u.H + 08c790 ffffffff ffffff7f 5133ff48 8b75d848 ........Q3.H.u.H 08c7a0 00000000 00000080 4c8b6de8 4c8b75f0 ........L.m.L.u. 08c7b0 00000000 0000f8ff 0f1f8400 00000000 ................ 08c7c0 4883ec28 f20f1144 2410f20f 114c2418 H..(...D$....L$. @@ -36016,8 +36016,8 @@ 08dab0 100424e8 f0ce4a00 f30f10c8 f20f1044 ..$...J........D 08dac0 2430f30f 114c2414 f30f104c 2414670f $0...L$....L$.g. 08dad0 2fc80f86 08000000 f30f1044 240ceb05 /..........D$... - 08dae0 f30f1004 244883c4 48c30000 00000000 ....$H..H....... - 08daf0 00000080 00000000 00000000 00000000 ................ + 08dae0 f30f1004 244883c4 48c30000 20010000 ....$H..H... ... + 08daf0 00000080 23010000 a0000000 23010000 ....#.......#... 08db00 0000c0ff 66662e0f 1f840000 00000090 ....ff.......... 08db10 4883ec28 f30f1144 2410f30f 114c2418 H..(...D$....L$. 08db20 498b0539 178300f7 00010000 007405e8 I..9.........t.. @@ -36041,10 +36041,10 @@ 08dc40 8ccd4a00 f20f1144 2420f30f 10442418 ..J....D$ ...D$. 08dc50 e87bcd4a 00f30f10 c8f20f10 442420f3 .{.J........D$ . 08dc60 0f5ec148 83c428c3 00f30f10 442428f3 .^.H..(.....D$(. - 08dc70 0000c0ff 0cf30f10 442428e8 803f2d82 ........D$(..?-. + 08dc70 0000c0ff 0cf30f10 442428e8 1032d051 ........D$(..2.Q 08dc80 0000807f 240cf30f 1044240c f20f1144 ....$....D$....D 08dc90 0000803f 10442420 f30f1144 240cf30f ...?.D$ ...D$... - 08dca0 0000c0ff e8573f2d 82f20f10 442438f3 .....W?-....D$8. + 08dca0 0000c0ff e8e731d0 51f20f10 442438f3 ......1.Q...D$8. 08dcb0 0000803f 66662e0f 1f840000 00000090 ...?ff.......... 08dcc0 4883ec28 f30f1144 2410f30f 114c2418 H..(...D$....L$. 08dcd0 f30f1044 2410f30f 110424f3 0f104424 ...D$.....$...D$ @@ -44225,8 +44225,8 @@ 0adbc0 8424d803 00004c8b 2c244c8b 7424084c .$....L.,$L.t$.L 0adbd0 8b7c2410 4881c408 040000c3 beca0400 .|$.H........... 0adbe0 00bf2a01 0000e805 954800be b5090000 ..*......H...... - 0adbf0 ebefbeac 0e0000eb e8454545 45454545 .........EEEEEEE - 0adc00 00000000 0000f8ff 45454545 45454545 ........EEEEEEEE + 0adbf0 ebefbeac 0e0000eb e8bababa babababa ................ + 0adc00 00000000 0000f8ff babababa babababa ................ 0adc10 00000000 0000f0ff babababa babababa ................ 0adc20 00000000 0000f07f 0f1f8400 00000000 ................ 0adc30 4881ec18 0400004c 892c244c 89742408 H......L.,$L.t$. @@ -54208,7 +54208,7 @@ 0d4bb0 00e83426 4600488b f0bfbb00 0002e845 ..4&F.H........E 0d4bc0 26460048 8bf8e809 23460000 00bf6590 &F.H....#F....e. 0d4bd0 28431ceb e2360ac3 8bf0bfbb 000002e8 (C...6.......... - 0d4be0 28431ceb e2360a43 b4aee481 488b1c24 (C...6.C....H..$ + 0d4be0 28431ceb e2360a43 c4318f51 488b1c24 (C...6.C.1.QH..$ 0d4bf0 00000000 0000e03f 24104c8b 6c24184c .......?$.L.l$.L 0d4c00 00000000 0000e0bf 0f1f8400 00000000 ................ 0d4c10 4883ec18 f20f1144 2408498b 053fa67e H......D$.I..?.~ @@ -58423,7 +58423,7 @@ 0e5320 488b4c24 10488908 498b0571 c77d0048 H.L$.H..I..q.}.H 0e5330 8b004889 44240848 8b7c2408 e8eb7745 ..H.D$.H.|$...wE 0e5340 00488904 24498b05 4cc77d00 488b0c24 .H..$I..L.}.H..$ - 0e5350 48890848 83c448c3 77000000 a5000000 H..H..H.w....... + 0e5350 48890848 83c448c3 8b7c2428 e8bf0d83 H..H..H..|$(.... 0e5360 00000000 00002c40 0f1f8400 00000000 ......,@........ 0e5370 4883ec18 48897c24 08488bc7 4883c010 H...H.|$.H..H... 0e5380 488b0048 89042448 8b042448 83c418c3 H..H..$H..$H.... @@ -58490,7 +58490,7 @@ 0e5750 f20f1005 38000000 e8314445 00488945 ....8....1DE.H.E 0e5760 f0488b75 f0488b7d e8e81045 4500e909 .H.u.H.}...EE... 0e5770 00000033 c0eb05b8 01000000 4c8b7df8 ...3........L.}. - 0e5780 c9c30000 7e010000 1c000000 81010000 ....~........... + 0e5780 c9c31848 8b442420 48898424 90000000 ...H.D$ H..$.... 0e5790 00000000 0000f03f 0f1f8400 00000000 .......?........ 0e57a0 55488bec 4881ecf0 0000004c 8975f04c UH..H......L.u.L 0e57b0 897df84c 8bf74c8b fe498b05 a09a7d00 .}.L..L..I....}. @@ -88575,7 +88575,7 @@ 15afa0 0000498b c4eb1949 63762c83 c602498b ..I....Icv,...I. 15afb0 fd488b54 24204183 7d0000e8 74593e00 .H.T$ A.}...tY>. 15afc0 4c8b2424 4c8b6c24 084c8b74 24104883 L.$$L.l$.L.t$.H. - 15afd0 c438c381 4c8b2424 4c8b6c24 084c8b74 .8..L.$$L.l$.L.t + 15afd0 c438c350 4c8b2424 4c8b6c24 084c8b74 .8.PL.$$L.l$.L.t 15afe0 e2ffffff ffffef7f 83c428c3 be4f0000 ..........(..O.. 15aff0 e2ffffff ffffefff 0f1f8400 00000000 ................ 15b000 4883ec28 4c892424 4c896c24 084c8974 H..(L.$$L.l$.L.t @@ -180639,7 +180639,7 @@ 2c29a0 4c8b3424 4c8b7c24 084883c4 28c3beb7 L.4$L.|$.H..(... 2c29b0 000000bf 13010000 e8334727 00bec800 .........3G'.... 2c29c0 0000ebef bed50000 00ebe800 0000483b ..............H; - 2c29d0 00000000 00002440 37ee7f48 85c00f84 ......$@7..H.... + 2c29d0 00000000 00002440 ad934f48 85c00f84 ......$@..OH.... 2c29e0 00000000 0000f03f 4510488b 4008498b .......?E.H.@.I. 2c29f0 00000000 00003e40 0f1f8400 00000000 ......>@........ 2c2a00 4883ec08 498b0555 c85f00f7 00010000 H...I..U._...... @@ -289320,7 +289320,7 @@ 46b230 3f4823c1 483bf048 0f4ff048 c7042400 ?H#.H;.H.O.H..$. 46b240 00000048 8bfce889 e40c0048 8b042448 ...H.......H..$H 46b250 89442408 488d7c24 08e80ac9 0c004883 .D$.H.|$......H. - 46b260 c418c38a 807e488b c8b80700 000085c9 .....~H......... + 46b260 c418c32b 274e488b c8b80700 000085c9 ...+'NH......... 46b270 00000038 4d256942 0f1f8400 00000000 ...8M%iB........ 46b280 4883ec18 f20f1104 24f20f11 4c240849 H.......$...L$.I 46b290 8b05ca3f 4500f700 01000000 7405e81d ...?E.......t... @@ -289335,7 +289335,7 @@ 46b320 c80f8616 000000f2 0f100424 f20f100d ...........$.... 46b330 1c000000 f20f58c1 f20f1104 24f20f10 ......X.....$... 46b340 04244883 c408c348 0f4ff048 c7042400 .$H....H.O.H..$. - 46b350 00000000 00807640 8a807e48 8b042448 ......v@..~H..$H + 46b350 00000000 00807640 2b274e48 8b042448 ......v@+'NH..$H 46b360 00000000 00807640 0f1f8400 00000000 ......v@........ 46b370 4883ec08 f20f1104 24f20f10 0424f20f H.......$....$.. 46b380 100d0a00 0000f20f 5ec14883 c408c310 ........^.H..... @@ -289380,7 +289380,7 @@ 46b5f0 0f100d09 000000f2 0f5ec148 83c418c3 .........^.H.... 46b600 00000000 0018f540 10442410 4c8b3424 .......@.D$.L.4$ 46b610 00000000 00002e40 28c3be52 000000bf .......@(..R.... - 46b620 00000000 cd928341 7ebeba00 0000ebef .......A~....... + 46b620 00000000 cd928341 4ebeba00 0000ebef .......AN....... 46b630 00000000 00000040 c8f20f2a c0488d7c .......@...*.H.| 46b640 00000000 0000e03f 0f1f8400 00000000 .......?........ 46b650 4883ec08 48893c24 488bc72d 8d070000 H...H.<$H..-.... @@ -289429,7 +289429,7 @@ 46b900 4618443b e80f8c25 ffffff49 8bffe833 F.D;...%...I...3 46b910 560e004c 8b2c244c 8b742408 4c8b7c24 V..L.,$L.t$.L.|$ 46b920 104883c4 28c3beea 000000bf 0e010000 .H..(........... - 46b930 e8bbb70c 0000e835 89807e48 8bd0488b .......5..~H..H. + 46b930 e8bbb70c 0000e8e5 2a274e48 8bd0488b ........*'NH..H. 46b940 00000000 0018f540 0f1f8400 00000000 .......@........ 46b950 4883ec18 f20f1104 24498b05 00394500 H.......$I...9E. /usr/lib/mono/4.5/mscorlib.dll.so differs in ELF section .rodata --- old /usr/lib/mono/4.5/mscorlib.dll.so (objdump) +++ new /usr/lib/mono/4.5/mscorlib.dll.so (objdump) @@ -214886,9 +214886,9 @@ 89c610 3a458d39 458e3845 8f371c0a 44080345 :E.9E.8E.7..D..E 89c620 08064508 0c45080d 45080e45 080f470c ..E..E..E..E..G. 89c630 0708410b 362e382e 302e3130 35202874 ..A.6.8.0.105 (t - 89c640 61726261 6c6c2046 72692041 75672032 arball Fri Aug 2 - 89c650 38203034 3a35303a 30362055 54432032 8 04:50:06 UTC 2 - 89c660 30323029 00353531 34423742 302d4543 020).5514B7B0-EC + 89c640 61726261 6c6c2053 756e2053 65702033 arball Sun Sep 3 + 89c650 30203138 3a30373a 33342055 54432032 0 18:07:34 UTC 2 + 89c660 30333529 00353531 34423742 302d4543 035).5514B7B0-EC 89c670 36352d34 4446312d 42373444 2d463544 65-4DF1-B74D-F5D 89c680 41364538 38344637 34006d73 636f726c A6E884F74.mscorl 89c690 696200 ib. /usr/lib/mono/4.5/mscorlib.dll.so differs in ELF section .data --- old /usr/lib/mono/4.5/mscorlib.dll.so (objdump) +++ new /usr/lib/mono/4.5/mscorlib.dll.so (objdump) @@ -23,7 +23,7 @@ 8bf120 00505500 00000000 00505500 00000000 .PU......PU..... 8bf130 b86e5300 00000000 28200000 30810200 .nS.....( ..0... 8bf140 fe2f0000 d76a0000 00000000 20000000 ./...j...... ... - 8bf150 ff695116 3f000000 36133200 80000000 .iQ.?...6.2..... + 8bf150 ff695116 07000000 36133200 80000000 .iQ.....6.2..... 8bf160 08000000 08000000 08000000 09000000 ................ 8bf170 ffff7f00 00000000 05000000 19000000 ................ 8bf180 00000000 00000000 00000000 00000000 ................ @@ -35,5 +35,5 @@ 8bf1e0 00000000 00000000 00000000 00000000 ................ 8bf1f0 00000000 00000000 00000000 00000000 ................ 8bf200 00000000 00000000 00000000 00000000 ................ - 8bf210 00000000 00000000 229171fc 8b61eedd ........".q..a.. - 8bf220 129eec10 a12764ee .....'d. + 8bf210 00000000 00000000 d1c7b524 92012a92 ...........$..*. + 8bf220 4ea9dd84 998c65a9 N.....e. RPMS.2017/mono-devel-6.8.0-0.0.x86_64.rpm RPMS/mono-devel-6.8.0-0.0.x86_64.rpm differ: byte 225, line 1 Comparing mono-devel-6.8.0-0.0.x86_64.rpm to mono-devel-6.8.0-0.0.x86_64.rpm comparing the rpm tags of mono-devel --- old-rpm-tags +++ new-rpm-tags @@ -4008,8 +4008,8 @@ /usr/lib/mono/4.5/ictool.pdb ac67dbbce9b0e163bda9705946dcde53a4aac251ab6654b63474f584695a0023 0 /usr/lib/mono/4.5/ilasm.exe 2b500e64f5492ac1868b66457c74ae0c92208ca9912d710cc425d9d9ec7d9a77 0 /usr/lib/mono/4.5/ilasm.pdb 6e952a24f052fbd60acc3fadcb9f811fdecf3d4dd41e461e482ea59783d6852e 0 -/usr/lib/mono/4.5/illinkanalyzer.exe 064a25b0eefe6ae54b8c64ad9d26ed7e85922c4e2c62710f4374e07ae2981fb9 0 -/usr/lib/mono/4.5/illinkanalyzer.pdb 1868bc2e91cbfe659b708b97ba7d9de86da3a64a40bf442da8a25118824e8f3d 0 +/usr/lib/mono/4.5/illinkanalyzer.exe 79cab14f6b2eb8bceaf942fbb482f9ffba54e341125cdf71ec063709fcace55e 0 +/usr/lib/mono/4.5/illinkanalyzer.pdb c68bb852060af894dd91e6c2a38943214664722cf0d64ef15ff2dc8570ba59ff 0 /usr/lib/mono/4.5/installvst.exe 4a3d33a5eae2473856c136ab52a6e926e06c5b8f1924431ffc6a4ed82b0d53f5 0 /usr/lib/mono/4.5/installvst.pdb 8c7cbfe6d2989e20a0d9d9831920591b10718ef84905f0a8584c330834665d39 0 /usr/lib/mono/4.5/lc.exe 3c6f93feb96afc11be81d101e56dbc8686087d1363a47253f049231acc3d895e 0 @@ -4020,8 +4020,8 @@ /usr/lib/mono/4.5/makecert.pdb 026942b3d7a46186aff5e642e63494bb297fdb1f45b9be1624565dc4195d8a9b 0 /usr/lib/mono/4.5/mdbrebase.exe a2de370bd0fc5ddf63f460feb5971e79efaf4b34e4fd4217c53cd6d1bfc23671 0 /usr/lib/mono/4.5/mdbrebase.pdb 76a7a7d3e40ac775715f8fa8e7289201c0fc0285a3a94c28308072031db8592e 0 -/usr/lib/mono/4.5/mkbundle.exe 08706bb3727cdc78de4f388773203eeba6cbb01b10d9128c95b1b9683f6087de 0 -/usr/lib/mono/4.5/mkbundle.pdb f89775f760e3b0016a831a4a618e85dfe3190064deaf0ef2352b7692301aa9e3 0 +/usr/lib/mono/4.5/mkbundle.exe 49d5148df9118eb5525e297589a0bbb7addedcaf9e5aac76267489786f80c7f5 0 +/usr/lib/mono/4.5/mkbundle.pdb d750b1625d7b65e3b5aa8d12179c597ea114a6429ad35ac513d2db0bd6905c2d 0 /usr/lib/mono/4.5/mono-api-diff.exe 1b0687e86ee86f02cbe0040bdb82f0960838be45f377e15b44889f26101fad6b 0 /usr/lib/mono/4.5/mono-api-diff.pdb 6570f746142a01cfa553b4c5147ae5ad3c3b7fd57ff761ae3f727fa4f040ee66 0 /usr/lib/mono/4.5/mono-api-html.exe 5b731dc3dbada2bc9732b11c9cb80d4c16dbf4979dfd832d074d954b81811bb9 0 @@ -4033,14 +4033,14 @@ /usr/lib/mono/4.5/mono-shlib-cop.exe b1d42dc6dde49480cdd4c76426be01e2e9518e6c581d06762a9e7f94a6172341 0 /usr/lib/mono/4.5/mono-shlib-cop.exe.config aa7d21b8b5c1bef43e8a080609e1623e5ab2e6fbcfaf9b1fc132fa5ef6bd72a5 0 /usr/lib/mono/4.5/mono-shlib-cop.pdb eddb91982c22dd9b4d10bf4d57eb3a220bb863c5219cbe93c798a62f9347c8c5 0 -/usr/lib/mono/4.5/mono-symbolicate.exe be1365e6f5528701947943e38d068f6637e8915827b65362316396c2e2664763 0 -/usr/lib/mono/4.5/mono-symbolicate.pdb 43bae84578afc7692ba85be7c246116e7fa041ebfc839a1e96ff7e2a81de8963 0 +/usr/lib/mono/4.5/mono-symbolicate.exe 94318b0b49ab90de5114f520466dc3647ba777771698a3d20c737bce7b3b237d 0 +/usr/lib/mono/4.5/mono-symbolicate.pdb 1602ce18984ddbe93d4b61bdd1747534775a21582d858dd941d6d25a73f4e08f 0 /usr/lib/mono/4.5/mono-xmltool.exe 05c143d25908585af2314d1de22052ea137a50684beefae8e63ecf2fcfc1200a 0 /usr/lib/mono/4.5/mono-xmltool.pdb 547775c61847802d0abdd183dd332065eef89c89cb6904afcc381c6f256013a2 0 /usr/lib/mono/4.5/monolinker.exe 1639af364f23808313ba3037c15489ca80c49267f7880c630239c96dc83997a4 0 /usr/lib/mono/4.5/monolinker.pdb 5fe10e8a6ec2cd4a3be5cb15252e2bd163b2886d81315a927b0960c78391c92f 0 -/usr/lib/mono/4.5/monop.exe d608c67074a81271a2b2c527f030840477c41148373dc7d9f329128ef2d89773 0 -/usr/lib/mono/4.5/monop.pdb 942df25b7b148b68e43d1fe6d15e709e46d959e5000c67cc7a285275bea3ff77 0 +/usr/lib/mono/4.5/monop.exe f15eeb0ea7888bfb1f48cf40f2aec08261f7fda9aa392fa04644d6f7fb628298 0 +/usr/lib/mono/4.5/monop.pdb 0c4c7c2605b89204b71e27e1eeb35e8d2ec9ca5b4bf413a84f667476c3a11e69 0 /usr/lib/mono/4.5/pdb2mdb.exe 297bcadafa07649536e1e4008caa9353bbf1b666d40088503ddafcdcef9d1242 0 /usr/lib/mono/4.5/pdb2mdb.pdb 92988967bcbc9035fc8ba4b854107bdf93cb9d1fafc5d6c98cd8dfd9cd2c0d50 0 /usr/lib/mono/4.5/permview.exe 1ebdba488260b6bc8ea80f82db19abdabd600dce6bd7c4343050e3e6fccd7e60 0 comparing rpmtags comparing RELEASE comparing PROVIDES comparing scripts comparing filelist comparing file checksum creating rename script RPM file checksum differs. Extracting packages PE32 Mono/.Net assembly: /usr/lib/mono/4.5/illinkanalyzer.exe Cannot compare, no monodis installed /usr/lib/mono/4.5/illinkanalyzer.pdb differs at offset '113' (Microsoft Rosyln C# debugging symbols version 1.0) --- old /usr/lib/mono/4.5/illinkanalyzer.pdb (hex) +++ new /usr/lib/mono/4.5/illinkanalyzer.pdb (hex) @@ -1,9 +1,9 @@ 00000040 14 02 00 00 23 53 74 72 69 6e 67 73 00 00 00 00 |....#Strings....| 00000050 20 20 00 00 04 00 00 00 23 55 53 00 24 20 00 00 | ......#US.$ ..| 00000060 30 00 00 00 23 47 55 49 44 00 00 00 54 20 00 00 |0...#GUID...T ..| -00000070 24 21 00 00 23 42 6c 6f 62 00 00 00 75 8c 6e b1 |$!..#Blob...u.n.| -00000080 8c 21 06 44 8f d6 9c bc f5 ff c2 cf 36 de bd 84 |.!.D........6...| -00000090 01 00 00 06 57 5f a2 0b 09 0e 00 00 01 00 00 00 |....W_..........| +00000070 30 21 00 00 23 42 6c 6f 62 00 00 00 91 a3 88 14 |0!..#Blob.......| +00000080 f4 04 bf 46 86 ac b9 78 d8 6a c5 b5 d1 f2 31 b2 |...F...x.j....1.| +00000090 10 00 00 06 57 5f a2 0b 09 0e 00 00 01 00 00 00 |....W_..........| 000000a0 6a 00 00 00 26 00 00 00 85 00 00 00 32 01 00 00 |j...&.......2...| 000000b0 48 01 00 00 1f 00 00 00 2b 01 00 00 0f 00 00 00 |H.......+.......| 000000c0 4d 00 00 00 01 00 00 00 3b 00 00 00 11 00 00 00 |M.......;.......| @@ -12,22 +12,22 @@ 000000f0 07 00 00 00 00 00 00 00 02 00 00 01 00 00 00 00 |................| 00000100 00 00 ff 00 00 00 00 00 00 00 c4 00 05 00 00 00 |................| 00000110 32 01 00 00 40 01 00 00 97 00 00 00 01 00 00 00 |2...@...........| -00000120 0e 00 00 00 05 00 00 00 03 00 00 00 7f 00 01 00 |................| -00000130 8c 00 02 00 ef 01 01 00 fd 01 02 00 d1 04 01 00 |................| -00000140 e1 04 02 00 01 07 01 00 11 07 02 00 6e 09 01 00 |............n...| -00000150 7e 09 02 00 01 00 ad 00 02 00 1e 02 02 00 76 02 |~.............v.| -00000160 02 00 ce 02 02 00 d6 02 02 00 4a 03 02 00 75 03 |..........J...u.| -00000170 02 00 a0 03 02 00 b6 03 02 00 04 04 02 00 44 04 |..............D.| -00000180 02 00 56 04 02 00 68 04 02 00 7a 04 00 00 00 00 |..V...h...z.....| -00000190 02 00 91 04 03 00 02 05 03 00 1d 05 03 00 38 05 |..............8.| -000001a0 03 00 53 05 03 00 5a 05 03 00 7f 05 03 00 e7 05 |..S...Z.........| -000001b0 03 00 a2 06 04 00 32 07 00 00 00 00 04 00 43 07 |......2.......C.| -000001c0 04 00 4a 07 04 00 51 07 04 00 99 07 04 00 f2 07 |..J...Q.........| -000001d0 04 00 53 08 00 00 00 00 04 00 5a 08 04 00 62 08 |..S.......Z...b.| -000001e0 05 00 9f 09 05 00 ac 09 00 00 00 00 05 00 be 09 |................| -000001f0 05 00 e6 09 05 00 ee 09 05 00 30 0a 05 00 47 0a |..........0...G.| -00000200 05 00 54 0a 05 00 5c 0a 05 00 64 0a 05 00 71 0a |..T...\...d...q.| -00000210 05 00 7e 0a 05 00 86 0a 05 00 93 0a 05 00 9b 0a |..~.............| -00000220 05 00 a3 0a 05 00 ab 0a 05 00 b3 0a 05 00 bb 0a |................| -00000230 05 00 c3 0a 05 00 cb 0a 05 00 d3 0a 05 00 e0 0a |................| +00000120 0e 00 00 00 05 00 00 00 03 00 00 00 c0 00 01 00 |................| +00000130 d2 00 02 00 8b 03 01 00 9d 03 02 00 00 05 01 00 |................| +00000140 14 05 02 00 9f 06 01 00 b3 06 02 00 7a 09 01 00 |............z...| +00000150 8c 09 02 00 01 00 f3 00 01 00 4b 01 01 00 a3 01 |..........K.....| +00000160 01 00 ab 01 01 00 1f 02 01 00 4a 02 01 00 75 02 |..........J...u.| +00000170 01 00 8b 02 01 00 d9 02 01 00 19 03 01 00 2b 03 |..............+.| +00000180 01 00 3d 03 01 00 4f 03 00 00 00 00 01 00 66 03 |..=...O.......f.| +00000190 02 00 be 03 03 00 35 05 00 00 00 00 03 00 46 05 |......5.......F.| +000001a0 03 00 4d 05 03 00 54 05 03 00 9c 05 03 00 f5 05 |..M...T.........| +000001b0 03 00 56 06 00 00 00 00 03 00 5d 06 03 00 65 06 |..V.......]...e.| +000001c0 04 00 d4 06 04 00 ef 06 04 00 0a 07 04 00 25 07 |..............%.| +000001d0 04 00 2c 07 04 00 51 07 04 00 b9 07 04 00 74 08 |..,...Q.......t.| +000001e0 05 00 ad 09 05 00 ba 09 00 00 00 00 05 00 cc 09 |................| +000001f0 05 00 f4 09 05 00 fc 09 05 00 3e 0a 05 00 55 0a |..........>...U.| +00000200 05 00 62 0a 05 00 6a 0a 05 00 72 0a 05 00 7f 0a |..b...j...r.....| +00000210 05 00 8c 0a 05 00 94 0a 05 00 a1 0a 05 00 a9 0a |................| +00000220 05 00 b1 0a 05 00 b9 0a 05 00 c1 0a 05 00 c9 0a |................| +00000230 05 00 d1 0a 05 00 d9 0a 05 00 e1 0a 05 00 ee 0a |................| 00000240 PE32 Mono/.Net assembly: /usr/lib/mono/4.5/mkbundle.exe Cannot compare, no monodis installed /usr/lib/mono/4.5/mkbundle.pdb differs at offset '113' (Microsoft Rosyln C# debugging symbols version 1.0) --- old /usr/lib/mono/4.5/mkbundle.pdb (hex) +++ new /usr/lib/mono/4.5/mkbundle.pdb (hex) @@ -1,8 +1,8 @@ 00000040 b4 18 00 00 23 53 74 72 69 6e 67 73 00 00 00 00 |....#Strings....| 00000050 28 b5 01 00 04 00 00 00 23 55 53 00 2c b5 01 00 |(.......#US.,...| 00000060 20 00 00 00 23 47 55 49 44 00 00 00 4c b5 01 00 | ...#GUID...L...| -00000070 84 86 01 00 23 42 6c 6f 62 00 00 00 a3 8b 44 ca |....#Blob.....D.| -00000080 ec f3 55 43 af 26 6c 66 ff b8 50 d1 29 29 70 90 |..UC.&lf..P.))p.| +00000070 ac 86 01 00 23 42 6c 6f 62 00 00 00 ac 61 a5 b7 |....#Blob....a..| +00000080 33 64 f7 41 99 4d 28 f9 cf af 8d e9 1e 2c 32 c8 |3d.A.M(......,2.| 00000090 01 00 00 06 57 9f b7 3f 09 1f 00 00 01 00 00 00 |....W..?........| 000000a0 bd 00 00 00 82 01 00 00 90 07 00 00 80 0e 00 00 |................| 000000b0 84 0d 00 00 34 00 00 00 9d 04 00 00 f1 01 00 00 |....4...........| @@ -15,19 +15,19 @@ 00000120 00 00 3f 00 00 00 00 00 00 00 04 00 59 00 00 00 |..?.........Y...| 00000130 80 0e 00 00 df 10 00 00 6b 07 00 00 26 00 00 00 |........k...&...| 00000140 c7 00 00 00 31 01 00 00 01 00 46 01 00 00 02 00 |....1.....F.....| -00000150 e7 1b 00 00 01 00 fc 1b 00 00 02 00 b5 1c 00 00 |................| -00000160 01 00 ca 1c 00 00 02 00 9b 1d 00 00 01 00 b0 1d |................| -00000170 00 00 02 00 f2 1e 00 00 01 00 07 1f 00 00 02 00 |................| -00000180 f5 23 00 00 01 00 0a 24 00 00 02 00 53 2c 00 00 |.#.....$....S,..| -00000190 01 00 68 2c 00 00 02 00 b5 31 00 00 01 00 ca 31 |..h,.....1.....1| -000001a0 00 00 02 00 ae 33 00 00 01 00 c3 33 00 00 02 00 |.....3.....3....| -000001b0 2e 37 00 00 01 00 43 37 00 00 02 00 3d 38 00 00 |.7....C7....=8..| -000001c0 01 00 52 38 00 00 02 00 27 3b 00 00 01 00 3c 3b |..R8....';....<;| -000001d0 00 00 02 00 53 41 00 00 01 00 6a 41 00 00 02 00 |....SA....jA....| -000001e0 8f 42 00 00 01 00 a6 42 00 00 02 00 b9 49 00 00 |.B.....B.....I..| -000001f0 01 00 d0 49 00 00 02 00 9d 4a 00 00 01 00 b4 4a |...I.....J.....J| -00000200 00 00 02 00 62 4c 00 00 01 00 79 4c 00 00 02 00 |....bL....yL....| -00000210 1e 4e 00 00 01 00 35 4e 00 00 02 00 d7 50 00 00 |.N....5N.....P..| -00000220 01 00 ee 50 00 00 02 00 b5 51 00 00 01 00 cc 51 |...P.....Q.....Q| -00000230 00 00 02 00 74 52 00 00 01 00 8b 52 00 00 02 00 |....tR.....R....| +00000150 da 1b 00 00 01 00 ef 1b 00 00 02 00 ee 1d 00 00 |................| +00000160 01 00 03 1e 00 00 02 00 e0 1e 00 00 01 00 f5 1e |................| +00000170 00 00 02 00 77 1f 00 00 01 00 8c 1f 00 00 02 00 |....w...........| +00000180 64 20 00 00 01 00 79 20 00 00 02 00 e1 26 00 00 |d ....y .....&..| +00000190 01 00 f6 26 00 00 02 00 b5 29 00 00 01 00 ca 29 |...&.....).....)| +000001a0 00 00 02 00 96 2b 00 00 01 00 ab 2b 00 00 02 00 |.....+.....+....| +000001b0 c5 34 00 00 01 00 da 34 00 00 02 00 4c 3f 00 00 |.4.....4....L?..| +000001c0 01 00 61 3f 00 00 02 00 76 45 00 00 01 00 8d 45 |..a?....vE.....E| +000001d0 00 00 02 00 03 47 00 00 01 00 1a 47 00 00 02 00 |.....G.....G....| +000001e0 1e 4f 00 00 01 00 35 4f 00 00 02 00 10 51 00 00 |.O....5O.....Q..| +000001f0 01 00 27 51 00 00 02 00 1e 56 00 00 01 00 35 56 |..'Q.....V....5V| +00000200 00 00 02 00 a6 59 00 00 01 00 bd 59 00 00 02 00 |.....Y.....Y....| +00000210 6d 5a 00 00 01 00 84 5a 00 00 02 00 aa 5c 00 00 |mZ.....Z.....\..| +00000220 01 00 c1 5c 00 00 02 00 aa 5f 00 00 01 00 c1 5f |...\....._....._| +00000230 00 00 02 00 d5 62 00 00 01 00 ec 62 00 00 02 00 |.....b.....b....| 00000240 PE32 Mono/.Net assembly: /usr/lib/mono/4.5/mono-symbolicate.exe Cannot compare, no monodis installed /usr/lib/mono/4.5/mono-symbolicate.pdb differs at offset '113' (Microsoft Rosyln C# debugging symbols version 1.0) --- old /usr/lib/mono/4.5/mono-symbolicate.pdb (hex) +++ new /usr/lib/mono/4.5/mono-symbolicate.pdb (hex) @@ -1,8 +1,8 @@ 00000040 30 1c 00 00 23 53 74 72 69 6e 67 73 00 00 00 00 |0...#Strings....| 00000050 30 df 01 00 04 00 00 00 23 55 53 00 34 df 01 00 |0.......#US.4...| 00000060 30 00 00 00 23 47 55 49 44 00 00 00 64 df 01 00 |0...#GUID...d...| -00000070 d4 c2 01 00 23 42 6c 6f 62 00 00 00 39 21 b3 99 |....#Blob...9!..| -00000080 58 6f e9 49 b5 79 81 14 d8 42 15 45 48 1d 9c c2 |Xo.I.y...B.EH...| +00000070 14 c3 01 00 23 42 6c 6f 62 00 00 00 de e0 f6 63 |....#Blob......c| +00000080 ed ba 2f 47 ae 2a 97 94 d1 d4 a9 a1 67 86 94 c7 |../G.*......g...| 00000090 75 00 00 06 57 ff b6 3f 09 1e 00 00 01 00 00 00 |u...W..?........| 000000a0 cf 00 00 00 a1 02 00 00 e1 0d 00 00 09 10 00 00 |................| 000000b0 d8 11 00 00 c6 00 00 00 e3 05 00 00 c8 05 00 00 |................| @@ -14,20 +14,20 @@ 00000110 0c 00 00 00 00 00 00 00 02 00 04 01 00 00 00 00 |................| 00000120 00 00 ff 00 00 00 00 00 00 00 c4 00 b2 00 00 00 |................| 00000130 09 10 00 00 aa 11 00 00 4c 09 00 00 2a 00 00 00 |........L...*...| -00000140 e9 00 00 00 06 00 00 00 05 00 00 00 9b 00 00 00 |................| -00000150 01 00 aa 00 00 00 02 00 40 01 00 00 01 00 4f 01 |........@.....O.| -00000160 00 00 02 00 21 04 00 00 01 00 30 04 00 00 02 00 |....!.....0.....| -00000170 b5 04 00 00 01 00 c4 04 00 00 02 00 59 0b 00 00 |............Y...| -00000180 01 00 68 0b 00 00 02 00 73 10 00 00 01 00 82 10 |..h.....s.......| -00000190 00 00 02 00 79 11 00 00 01 00 88 11 00 00 02 00 |....y...........| -000001a0 f3 11 00 00 01 00 02 12 00 00 02 00 c8 12 00 00 |................| -000001b0 01 00 d7 12 00 00 02 00 6c 13 00 00 01 00 7b 13 |........l.....{.| -000001c0 00 00 02 00 24 16 00 00 01 00 33 16 00 00 02 00 |....$.....3.....| -000001d0 82 16 00 00 01 00 91 16 00 00 02 00 e3 16 00 00 |................| -000001e0 01 00 f2 16 00 00 02 00 8b 17 00 00 01 00 9a 17 |................| -000001f0 00 00 02 00 fc 17 00 00 01 00 0b 18 00 00 02 00 |................| -00000200 9e 18 00 00 01 00 ad 18 00 00 02 00 c3 19 00 00 |................| -00000210 01 00 d2 19 00 00 02 00 6b 1a 00 00 01 00 7a 1a |........k.....z.| -00000220 00 00 02 00 d2 1a 00 00 01 00 e1 1a 00 00 02 00 |................| -00000230 28 1b 00 00 01 00 37 1b 00 00 02 00 8f 1b 00 00 |(.....7.........| +00000140 e9 00 00 00 06 00 00 00 05 00 00 00 6d 00 00 00 |............m...| +00000150 01 00 7b 00 00 00 02 00 04 01 00 00 01 00 13 01 |..{.............| +00000160 00 00 02 00 7e 01 00 00 01 00 8d 01 00 00 02 00 |....~...........| +00000170 17 02 00 00 01 00 26 02 00 00 02 00 bb 02 00 00 |......&.........| +00000180 01 00 ca 02 00 00 02 00 31 03 00 00 01 00 40 03 |........1.....@.| +00000190 00 00 02 00 d8 03 00 00 01 00 e7 03 00 00 02 00 |................| +000001a0 56 05 00 00 01 00 65 05 00 00 02 00 9f 05 00 00 |V.....e.........| +000001b0 01 00 ae 05 00 00 02 00 38 06 00 00 01 00 47 06 |........8.....G.| +000001c0 00 00 02 00 99 06 00 00 01 00 a8 06 00 00 02 00 |................| +000001d0 14 07 00 00 01 00 23 07 00 00 02 00 86 07 00 00 |......#.........| +000001e0 01 00 95 07 00 00 02 00 97 08 00 00 01 00 a6 08 |................| +000001f0 00 00 02 00 f0 08 00 00 01 00 ff 08 00 00 02 00 |................| +00000200 c7 0b 00 00 01 00 d6 0b 00 00 02 00 f1 0c 00 00 |................| +00000210 01 00 00 0d 00 00 02 00 d0 0f 00 00 01 00 df 0f |................| +00000220 00 00 02 00 21 10 00 00 01 00 30 10 00 00 02 00 |....!.....0.....| +00000230 81 10 00 00 01 00 90 10 00 00 02 00 58 11 00 00 |............X...| 00000240 PE32 Mono/.Net assembly: /usr/lib/mono/4.5/monop.exe Cannot compare, no monodis installed /usr/lib/mono/4.5/monop.pdb differs at offset '113' (Microsoft Rosyln C# debugging symbols version 1.0) --- old /usr/lib/mono/4.5/monop.pdb (hex) +++ new /usr/lib/mono/4.5/monop.pdb (hex) @@ -1,8 +1,8 @@ 00000040 30 15 00 00 23 53 74 72 69 6e 67 73 00 00 00 00 |0...#Strings....| 00000050 2c bc 01 00 04 00 00 00 23 55 53 00 30 bc 01 00 |,.......#US.0...| 00000060 20 00 00 00 23 47 55 49 44 00 00 00 50 bc 01 00 | ...#GUID...P...| -00000070 50 97 01 00 23 42 6c 6f 62 00 00 00 07 1c 35 78 |P...#Blob.....5x| -00000080 17 80 1c 40 bd 17 3a 80 d8 59 56 d2 a1 30 44 a0 |...@..:..YV..0D.| +00000070 84 97 01 00 23 42 6c 6f 62 00 00 00 24 38 53 2d |....#Blob...$8S-| +00000080 a3 05 79 4f a2 29 16 a5 db e8 e8 b0 fa 71 ba a3 |..yO.).......q..| 00000090 0b 00 00 06 57 9f b7 3f 09 1e 00 00 01 00 00 00 |....W..?........| 000000a0 b2 00 00 00 89 01 00 00 eb 07 00 00 ca 0e 00 00 |................| 000000b0 f8 0d 00 00 39 00 00 00 a7 04 00 00 0d 02 00 00 |....9...........| @@ -16,18 +16,18 @@ 00000130 50 11 00 00 98 07 00 00 26 00 00 00 d7 00 00 00 |P.......&.......| 00000140 d5 00 00 00 01 00 ea 00 00 00 02 00 cb 05 00 00 |................| 00000150 01 00 e0 05 00 00 02 00 70 07 00 00 01 00 85 07 |........p.......| -00000160 00 00 02 00 f2 07 00 00 01 00 07 08 00 00 02 00 |................| -00000170 db 08 00 00 01 00 f0 08 00 00 02 00 c1 09 00 00 |................| -00000180 01 00 d6 09 00 00 02 00 18 0b 00 00 01 00 2d 0b |..............-.| -00000190 00 00 02 00 3c 10 00 00 01 00 51 10 00 00 02 00 |....<.....Q.....| -000001a0 99 18 00 00 01 00 ae 18 00 00 02 00 fc 1d 00 00 |................| -000001b0 01 00 11 1e 00 00 02 00 f5 1f 00 00 01 00 0a 20 |............... | -000001c0 00 00 02 00 75 23 00 00 01 00 8a 23 00 00 02 00 |....u#.....#....| -000001d0 84 24 00 00 01 00 99 24 00 00 02 00 6f 27 00 00 |.$.....$....o'..| -000001e0 01 00 84 27 00 00 02 00 9c 2d 00 00 01 00 b1 2d |...'.....-.....-| -000001f0 00 00 02 00 d6 2e 00 00 01 00 eb 2e 00 00 02 00 |................| -00000200 fe 35 00 00 01 00 13 36 00 00 02 00 e1 36 00 00 |.5.....6.....6..| -00000210 01 00 f6 36 00 00 02 00 a4 38 00 00 01 00 b9 38 |...6.....8.....8| -00000220 00 00 02 00 5f 3a 00 00 01 00 74 3a 00 00 02 00 |...._:....t:....| -00000230 16 3d 00 00 01 00 2b 3d 00 00 02 00 f2 3d 00 00 |.=....+=.....=..| +00000160 00 00 02 00 04 08 00 00 01 00 19 08 00 00 02 00 |................| +00000170 18 0a 00 00 01 00 2d 0a 00 00 02 00 0a 0b 00 00 |......-.........| +00000180 01 00 1f 0b 00 00 02 00 9e 0b 00 00 01 00 b3 0b |................| +00000190 00 00 02 00 8a 0c 00 00 01 00 9f 0c 00 00 02 00 |................| +000001a0 07 13 00 00 01 00 1c 13 00 00 02 00 dc 15 00 00 |................| +000001b0 01 00 f1 15 00 00 02 00 bd 17 00 00 01 00 d2 17 |................| +000001c0 00 00 02 00 ec 20 00 00 01 00 01 21 00 00 02 00 |..... .....!....| +000001d0 74 2b 00 00 01 00 89 2b 00 00 02 00 9f 31 00 00 |t+.....+.....1..| +000001e0 01 00 b4 31 00 00 02 00 4b 33 00 00 01 00 60 33 |...1....K3....`3| +000001f0 00 00 02 00 65 3b 00 00 01 00 7a 3b 00 00 02 00 |....e;....z;....| +00000200 55 3d 00 00 01 00 6a 3d 00 00 02 00 5a 42 00 00 |U=....j=....ZB..| +00000210 01 00 71 42 00 00 02 00 dc 45 00 00 01 00 f3 45 |..qB.....E.....E| +00000220 00 00 02 00 a2 46 00 00 01 00 b9 46 00 00 02 00 |.....F.....F....| +00000230 d8 48 00 00 01 00 ef 48 00 00 02 00 d8 4b 00 00 |.H.....H.....K..| 00000240 RPMS.2017/monodoc-core-6.8.0-0.0.x86_64.rpm RPMS/monodoc-core-6.8.0-0.0.x86_64.rpm differ: byte 225, line 1 Comparing monodoc-core-6.8.0-0.0.x86_64.rpm to monodoc-core-6.8.0-0.0.x86_64.rpm comparing the rpm tags of monodoc-core --- old-rpm-tags +++ new-rpm-tags @@ -181,27 +181,27 @@ /usr/lib/monodoc/sources 0 /usr/lib/monodoc/sources/Mono.source d02fcffc93e8efd86d7bf90ebbd9efd82a48a7ed6603a64f17245812f637d6cf 0 /usr/lib/monodoc/sources/Mono.tree 273c209768c1596f13655575417934ca283b29e742337895a6f3dc502c8d5ff6 0 -/usr/lib/monodoc/sources/Mono.zip d2da761c4e9e7587bb366b995d16cb8401e5fcb72bfb85fc42aaacbce23c790a 0 +/usr/lib/monodoc/sources/Mono.zip 0034ade457a24055bae1ea0d57eb4739282ec21c7a615871a52dc3ab29f447f2 0 /usr/lib/monodoc/sources/Novell.source d27df8ca6ed3ef3db0884fb38d3be4e671ee04d81a0493b542b5731576eb0b2a 0 /usr/lib/monodoc/sources/Novell.tree eafc871db9bab8d800cccf458d263a7fe769ac4871fa122185050bc38da0c752 0 -/usr/lib/monodoc/sources/Novell.zip 594c8047ea708122b46a2b570cd26bb47f1dcd3129074bcac2532c1782aaa776 0 +/usr/lib/monodoc/sources/Novell.zip ad1481578e5007f2cfb89887e2d0473e62b1e0022e2043b614ac59a8e75347e6 0 /usr/lib/monodoc/sources/cs-errors.tree d8878bd82dda036f2e61310a41c86ad7af05c2295dd4a0cadfab302bfab95ff4 0 -/usr/lib/monodoc/sources/cs-errors.zip 7b677e5da6ccbbc47e51e1438426317e8737ec9153034f41b50d19616a76fa55 0 +/usr/lib/monodoc/sources/cs-errors.zip 9757379da15fae953790f7512dbca77025ee2b186a0101372485140c2eb4b4ae 0 /usr/lib/monodoc/sources/ecma334.tree bffc503f76f95fa7af05c48b7cc936380e9b9a39f5a30921ce685c5337e13938 0 -/usr/lib/monodoc/sources/ecma334.zip bdab6a9fb6d31c523624fcd622f4965619c0ca0956f4e36cb291e8fc5a869c92 0 +/usr/lib/monodoc/sources/ecma334.zip eaca2f212f24e17942ff3de682ab5b2bf80dc6595e24ee1296fc260c5a917847 0 /usr/lib/monodoc/sources/lang-csharp.source e56326f2846c7da47f8ab4097d2815b1c8cd8da92c09c7ef0c0c093832a16a39 0 /usr/lib/monodoc/sources/mono-file-formats.source f18ca74316f325db710f3a00abf5e353fe7aa22389a8435ef9254811c6c4be01 0 /usr/lib/monodoc/sources/mono-file-formats.tree c7756d581871c269dbf36cd46e77c0ebc4004b55868b4b53f32f73f601c9e0c1 0 -/usr/lib/monodoc/sources/mono-file-formats.zip 83459a89c92c891794fc266107255458a79c78e806419749e2757732eb66f1b2 0 +/usr/lib/monodoc/sources/mono-file-formats.zip dfbd44874f1f947e8c9da306365a861a0cc4c984ad21931cd385b4cf1817e901 0 /usr/lib/monodoc/sources/mono-tools.source 76b790ba8a0514362d091e538d911999f2a0c7938ee3008971e4e20214fce606 0 /usr/lib/monodoc/sources/mono-tools.tree c218ec49f7dd2a85f1e2e5731a20ef9392e89b32205d578f25d4cf90e293e0d1 0 -/usr/lib/monodoc/sources/mono-tools.zip 384cc50d4098cf3edebbf0364b18f3e6de8c8e25dbb47a6f4bdb94e9183843a7 0 +/usr/lib/monodoc/sources/mono-tools.zip e678af4f0c241b36ef63461b37c941edf3c93f787024bff6f938ca858c3922e2 0 /usr/lib/monodoc/sources/monoapi.source 8f78af424d38125ed13b6e6de064d36b859f5557a0cdef11001643ad0c88f006 0 /usr/lib/monodoc/sources/monoapi.tree 30829e908cd963eded1d870233c4bd8c1429b8ddf715f53b4ed186c47143babf 0 -/usr/lib/monodoc/sources/monoapi.zip aac6a4d138c65fe7f3f623f5a72c5e954e6eafc3b251d064da9a9848bfefda8d 0 +/usr/lib/monodoc/sources/monoapi.zip 8734f99c22f9c908798096b01ac253c054195dabb4c43b5502b97f63baa6f1d2 0 /usr/lib/monodoc/sources/netdocs.source b2359f125959c0013b032a2834ce8f2108471345e35bb76b403d74c93354ac97 0 /usr/lib/monodoc/sources/netdocs.tree 18e1fed643062dae008a59b65ee3e1fb871d6416d80da416a7113a38aa2ce05c 0 -/usr/lib/monodoc/sources/netdocs.zip 7d41f581fdf8683a5fc3a9d24059f0c2ee95aeab2afd47207eecf9ea96ff33dd 0 +/usr/lib/monodoc/sources/netdocs.zip bdaca8d895e9a7b70f9b74c66b0140c9743e812be191576a1160ccc07e75471f 0 /usr/lib64/pkgconfig/monodoc.pc 3716f2c497d885e43150f12ad6d5d144318977fdd9fb2d2410f708f358a12d4d 0 /usr/share/man/man1/mdassembler.1.gz c0495f419d18668f836389625f4197f9c7fcc43b95f0460c16bb804aa009a26a 2 /usr/share/man/man1/mdoc-assemble.1.gz 325628a02ee95b3a0d4538d133ee55fcb2bd1bdcfb150c80d9f00e29e47c9dd4 2 comparing rpmtags comparing RELEASE comparing PROVIDES comparing scripts comparing filelist comparing file checksum creating rename script RPM file checksum differs. Extracting packages /usr/lib/monodoc/sources/Mono.zip/mastersummary.xml differs (C++ source, ASCII text, with very long lines) --- old//usr/lib/monodoc/sources/Mono.zip/mastersummary.xml 2020-08-28 05:33:52.000000000 +0000 +++ new//usr/lib/monodoc/sources/Mono.zip/mastersummary.xml 2035-09-30 19:00:54.000000000 +0000 @@ -3,22 +3,22 @@ To be added. To be added. + + + + To be added. To be added. - + To be added. To be added. - + To be added. To be added. - - - - A binding to the 2D Cairo Graphics rendering API. @@ -177,26 +177,22 @@ - Types to help parse command-line options. - Types to help parse command-line options. - - To be added. To be added. - - To be added. - To be added. + + Types to help parse command-line options. + Types to help parse command-line options. To be added. To be added. - + To be added. To be added. - + To be added. To be added. @@ -206,22 +202,34 @@ This namespace provides functionality to access Posix/Unix features. It has been deprecated in favor of the new namespace. - - Low-level Unix wrapper types. + + High-level Unix wrapper types. - The Mono.Unix.Native namespace contains - low-level wrapper classes, structures, and enumerations - which are accessible from the - and classes, which are - a low-level wrappers over ANSI C, POSIX and Unix system calls and library - functions. + The Mono.Unix namespace contains + high-level wrapper classes, which provide .NET naming and + usage conventions over the low-level + and + functionality. + + + If an exception is generated due to an operating system-level error + (as opposed to invalid arguments or some fully managed reason), the + exception thrown will either inherit from + , or the + property will be a + type inheriting from UnixIOException. In either case, the + property will + contain the underlying error number that generated the exception. + This error number can be used to look up additional information if + necessary. + - Thread-safety wasn't handled in the original Unix API. While + Thread-safety wasn't considered in the original Unix API. While some degree of thread-safety is provided from managed code, it is impossible to provide full thread-safety for interactions between managed and unmanaged code. For example, if you DllImport into a C library which uses non-thread-safe Unix functions which are also - exposed in Mono.Unix.Native, you may have threading issues including, but not + exposed in Mono.Unix, you may have threading issues including, but not limited to, memory corruption. An effort is made to provide thread-safety from managed code, but it is impossible to know all dependencies for all potential @@ -258,34 +266,26 @@ - - High-level Unix wrapper types. + + To be added. + To be added. + + + Low-level Unix wrapper types. - The Mono.Unix namespace contains - high-level wrapper classes, which provide .NET naming and - usage conventions over the low-level - and - functionality. - - - If an exception is generated due to an operating system-level error - (as opposed to invalid arguments or some fully managed reason), the - exception thrown will either inherit from - , or the - property will be a - type inheriting from UnixIOException. In either case, the - property will - contain the underlying error number that generated the exception. - This error number can be used to look up additional information if - necessary. - + The Mono.Unix.Native namespace contains + low-level wrapper classes, structures, and enumerations + which are accessible from the + and classes, which are + a low-level wrappers over ANSI C, POSIX and Unix system calls and library + functions. - Thread-safety wasn't considered in the original Unix API. While + Thread-safety wasn't handled in the original Unix API. While some degree of thread-safety is provided from managed code, it is impossible to provide full thread-safety for interactions between managed and unmanaged code. For example, if you DllImport into a C library which uses non-thread-safe Unix functions which are also - exposed in Mono.Unix, you may have threading issues including, but not + exposed in Mono.Unix.Native, you may have threading issues including, but not limited to, memory corruption. An effort is made to provide thread-safety from managed code, but it is impossible to know all dependencies for all potential @@ -326,43 +326,43 @@ To be added. To be added. - + To be added. To be added. - + To be added. To be added. - + To be added. To be added. - + To be added. To be added. - + To be added. To be added. - + To be added. To be added. - + To be added. To be added. - + To be added. To be added. /usr/lib/monodoc/sources/cs-errors.zip/CS0012 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0012 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0012 2035-09-30 19:00:50.000000000 +0000 @@ -2,15 +2,15 @@ CS0012 - // CS0012: The type `A.Nested' is defined in an assembly that is not referenced. Consider adding a reference to assembly `CS0012-lib-missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' + // CS0012: The type `AA' is defined in an assembly that is not referenced. Consider adding a reference to assembly `CS0012-lib-missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' // Line: 9 -// Compiler options: -r:CS0012-11-lib.dll +// Compiler options: -r:CS0012-16-lib.dll class Test { public static void Main () { - new B ().Test (); + B.Foo (new Test ()); } } @@ -26,37 +26,45 @@ } } - // CS0012: The type `A0' is defined in an assembly that is not referenced. Consider adding a reference to assembly `cs0012-24-missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' + // CS0012: The type `Base.IQueryExpr`1<System.Collections.Generic.IEnumerable<double>>' is defined in an assembly that is not referenced. Consider adding a reference to assembly `CS0012-lib-missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' // Line: 9 -// Compiler options: -r:CS0012-24-lib.dll +// Compiler options: -r:CS0012-22-lib.dll -public class X +public class C { public static void Main () { - A.Test (); + B.Sum (null); } } - // CS0012: The type `Struct`1<int>' is defined in an assembly that is not referenced. Consider adding a reference to assembly `CS0012-lib-missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' -// Line: 9 -// Compiler options: -r:CS0012-23-lib.dll + // CS0012: The type `A1' is defined in an assembly that is not referenced. Consider adding a reference to assembly `CS0012-lib-missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' +// Line: 13 +// Compiler options: -r:CS0012-lib.dll -public class C +using System.Threading.Tasks; + +class Test { public static void Main () { - var val = B.ArrayMember; + var b = new B (); + var t = Task.Factory.StartNew (() => { + b.Test (); + b.Test (); + }); + + b.Test (); } } - // CS0012: The type `Base.IQueryExpr`1<System.Collections.Generic.IEnumerable<double>>' is defined in an assembly that is not referenced. Consider adding a reference to assembly `CS0012-lib-missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' + // CS0012: The type `X`1.Y.Z.W' is defined in an assembly that is not referenced. Consider adding a reference to assembly `CS0012-lib-missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' // Line: 9 -// Compiler options: -r:CS0012-22-lib.dll +// Compiler options: -r:CS0012-21-lib.dll public class C { public static void Main () { - B.Sum (null); + new B (); } } // CS0012: The type `A1' is defined in an assembly that is not referenced. Consider adding a reference to assembly `CS0012-lib-missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' @@ -72,39 +80,48 @@ } } // CS0012: The type `A1' is defined in an assembly that is not referenced. Consider adding a reference to assembly `CS0012-lib-missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' -// Line: 10 -// Compiler options: -r:CS0012-2-lib.dll +// Line: 9 +// Compiler options: -r:CS0012-13-lib.dll class Test { public static void Main () { - var b = new B (); - b.Test (null); + var a = B.Value; } -} - // CS0012: The type `A1' is defined in an assembly that is not referenced. Consider adding a reference to assembly `CS0012-lib-missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' +} + + // CS0012: The type `I1' is defined in an assembly that is not referenced. Consider adding a reference to assembly `CS0012-lib-missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' // Line: 10 -// Compiler options: -r:CS0012-lib.dll +// Compiler options: -r:CS0012-5-lib.dll class Test { public static void Main () { - var b = new B (); - b.Test (); - b.Test (); + object o = typeof (B.N); } } - // CS0012: The type `X`1.Y.Z.W' is defined in an assembly that is not referenced. Consider adding a reference to assembly `CS0012-lib-missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' + // CS0012: The type `A1' is defined in an assembly that is not referenced. Consider adding a reference to assembly `CS0012-lib-missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' // Line: 9 -// Compiler options: -r:CS0012-21-lib.dll +// Compiler options: -r:CS0012-6-lib.dll -public class C +class Test +{ + public static void Main () + { + A.M.Foo (); + } +} + + // CS0012: The type `A1' is defined in an assembly that is not referenced. Consider adding a reference to assembly `CS0012-lib-missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' +// Line: 10 +// Compiler options: -r:CS0012-6-lib.dll + +class Test : A { public static void Main () { - new B (); } } // CS0012: The type `I1' is defined in an assembly that is not referenced. Consider adding a reference to assembly `CS0012-lib-missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' @@ -115,170 +132,153 @@ { event D<Test> e; } - // CS0012: The type `Lib2.Class1`1<Lib2.Class2>' is defined in an assembly that is not referenced. Consider adding a reference to assembly `CS0012-lib-missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' -// Line: 5 -// Compiler options: -r:CS0012-12-lib.dll - -class Program : Lib1.Class1<int> -{ -} - // CS0012: The type `A1' is defined in an assembly that is not referenced. Consider adding a reference to assembly `CS0012-lib-missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' // Line: 10 -// Compiler options: -r:CS0012-6-lib.dll +// Compiler options: -r:CS0012-2-lib.dll -class Test : A +class Test { public static void Main () { + var b = new B (); + b.Test (null); } } // CS0012: The type `A1' is defined in an assembly that is not referenced. Consider adding a reference to assembly `CS0012-lib-missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' -// Line: 10 -// Compiler options: -r:CS0012-6-lib.dll +// Line: 9 +// Compiler options: -r:CS0012-9-lib.dll -[A] class Test { public static void Main () { + A.M<string> (); } } - // CS0012: The type `AA' is defined in an assembly that is not referenced. Consider adding a reference to assembly `CS0012-lib-missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' -// Line: 9 -// Compiler options: -r:CS0012-14-lib.dll + // CS0012: The type `A1' is defined in an assembly that is not referenced. Consider adding a reference to assembly `CS0012-lib-missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' +// Line: 10 +// Compiler options: -r:CS0012-3-lib.dll class Test { public static void Main () { - B.Foo (new Test ()); + var b = new B (); + b.value = null; } -} - +} /usr/lib/monodoc/sources/cs-errors.zip/CS0019 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0019 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0019 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,20 @@ CS0019 + // CS0019: Operator `==' cannot be applied to operands of type `A.D' and `anonymous method' +// Line: 11 + +class A +{ + delegate void D (); + + static void Main () + { + D d = null; + bool r = d == (() => { }); + } +} + // CS0019: Operator `+=' cannot be applied to operands of type `object' and `object' // Line: 10 @@ -16,162 +30,107 @@ } } - // CS0019: Operator `+' cannot be applied to operands of type `AA' and `uint' -// Line: 11 + // CS0019: Operator `*' cannot be applied to operands of type `E' and `E' +// Line : 10 -enum AA : byte { a, b = 200 } +enum E: byte { + Min +} -public class C -{ - public static void Main () - { - const uint ul = 1; - AA b = AA.a + ul; +class T { + static void Main () { + E error = E.Min * E.Min; } } - // CS0019: Operator `==' cannot be applied to operands of type `A' and `B' -// Line : 21 - -enum A -{ - A1, - A2 -} - -enum B -{ - B1, - B2 -} + // CS0019: Operator `==' cannot be applied to operands of type `dynamic' and `method group' +// Line: 9 class C { - static void Main () - { - A a = A.A1; - System.Console.WriteLine (a == B.B1); - } -} - - // CS0019: Operator `==' cannot be applied to operands of type `A' and `int?' -// Line: 22 - -class A -{ - public static bool operator == (A a, int b) - { - return false; - } - - public static bool operator != (A a, int b) + static void Main () { - return false; + dynamic x = null; + var y = x == Main; } } + + // CS0019: Operator `==' cannot be applied to operands of type `dynamic' and `void' +// Line: 9 class C { - public static void Main () - { - A a = new A (); - object b = a == Id; - } - - static int? Id { - get { return 1; } - } -} - - // CS0019: Operator `==' cannot be applied to operands of type `X' and `Y' -// Line : 13 - -class X { -} - -class Y { -} - -class T { static void Main () { - X x = new X (); - Y y = new Y (); - - if (x == y){ - } + dynamic x = null; + var y = x == Main (); } } - // CS0019: Operator `==' cannot be applied to operands of type `C.E1' and `C.E2' -// Line: 21 + // CS0019: Operator `&' cannot be applied to operands of type `C.Flags' and `int' +// Line: 16 + +using System; class C { - enum E1 : long - { - A - } - - enum E2 : sbyte - { - A + enum Flags { + Removed = 0 } - public static void Main () - { - E1 b = E1.A; - E2 d = E2.A; + public int _enumFlags; - bool brr = b == d; + internal void Close() + { + if ((Flags.Removed & _enumFlags) == Flags.Removed) + Console.WriteLine ("error"); } } - // CS0019: Operator `==' cannot be applied to operands of type `T' and `T' -// Line: 5 -public class TestClass<T> -{ - public bool Check (T x, T y) { return x == y; } -} + // CS0019: Operator `+' cannot be applied to operands of type `string' and `float*' +// Line: 12 +// Compiler options: -unsafe +using System; -public class X -{ - static void Main () - { } +public class Driver { + public static void Main () { + float [] floats = new float[1]; + floats[0] = 1.0f; + unsafe { + fixed (float *fp = &floats[0]) { + Console.WriteLine ("foo" + fp); + } + } + } } - - - // CS0019: Operator `==' cannot be applied to operands of type `void' and `null' -// Line: 11 - -using System; /usr/lib/monodoc/sources/cs-errors.zip/CS0021 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0021 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0021 2035-09-30 19:00:50.000000000 +0000 @@ -2,18 +2,6 @@ CS0021 - // CS0021: Cannot apply indexing with [] to an expression of type `method group' -// Line: - -class X -{ - public void Foo () - { - object baz = Foo [0]; - } -} - - // CS0021: Cannot apply indexing with [] to an expression of type `object' // Line: 9 @@ -26,15 +14,14 @@ }; } } - // CS0021: Cannot apply indexing with [] to an expression of type `System.Array' -// Line: 9 + // CS0021: Cannot apply indexing with [] to an expression of type `method group' +// Line: -using System; class X { - public void Foo (Array bar) + public void Foo () { - object baz = bar[0]; + object baz = Foo [0]; } } @@ -64,6 +51,19 @@ } } + + // CS0021: Cannot apply indexing with [] to an expression of type `System.Array' +// Line: 9 + +using System; +class X +{ + public void Foo (Array bar) + { + object baz = bar[0]; + } +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0023 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0023 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0023 2035-09-30 19:00:50.000000000 +0000 @@ -2,32 +2,68 @@ CS0023 - // CS0023: The `~' operator cannot be applied to operand of type `Foo' -// Line : 10 + // CS0023: The `+' operator cannot be applied to operand of type `X' +// Line : 6 -public class Foo { +class X { + static void Foo (object o) + { + } + + static void Main () { + Foo (+(X)null); + } +} - public static void Main () + + + + // CS0023: The `++' operator cannot be applied to operand of type `X' +// Line: 9 + +class X { + static void Main () { - Foo k = new Foo (); - - int i = ~ k; + X x = new X(); + x++; } } - // CS0023: The `?' operator cannot be applied to operand of type `void' + // CS0023: The `?' operator cannot be applied to operand of type `int*' // Line: 10 +// Compiler options: -unsafe -using System; +class C +{ + unsafe static void Main () + { + int* arr = null; + var v2 = arr?.ToString (); + } +} + // CS0023: The `is' operator cannot be applied to operand of type `default' +// Line: 9 +// Compiler options: -langversion:latest class C { static void Main () { - var v = Console.WriteLine ()?[0]; + bool d = default is C; } } + // CS0023: The `.' operator cannot be applied to operand of type `anonymous method' +// Line: 8 + +using System; +class Test { + public static void Main(string[] argv) { + Console.WriteLine("Type of anonymous block: {0}", + (delegate() {}).GetType()); + } +} + // CS0023: The `+' operator cannot be applied to operand of type `string' // Line: 10 @@ -68,60 +104,114 @@ System.Action n = x?.Test; } } - // CS0023: The `.' operator cannot be applied to operand of type `int*' -// Line: 8 -// Compiler options: -unsafe + // CS0023: The `.' operator cannot be applied to operand of type `method group' +// Line: 14 -class C +using System; + +public class Test { - static unsafe int* Foo () + public static void E () + { + } + + public static void Main () + { + Console.WriteLine(E.x); + } +} + + // CS0023: The `?' operator cannot be applied to operand of type `T' +// Line: 13 + +interface IFoo<T> +{ + T Call (); +} + +class C1 +{ + U Foo<T, U> (IFoo<T> t) { - return (int*)0; + return t?.Call (); } - +} + + // CS0023: The `!' operator cannot be applied to operand of type `int?' +// Line: 9 + +class Z +{ public static void Main () { - unsafe { - string s = Foo().ToString (); - } + int? n = null; + var m = !n; } -} - // CS0023: The `?' operator cannot be applied to operand of type `int' -// Line: 11 +} + + // CS0023: The `?' operator cannot be applied to operand of type `void' +// Line: 10 using System; class C { - static void Main() + static void Main () { - int k = 0; - var r = k?.ToString (); + var v = Console.WriteLine ()?[0]; } } - // CS0023: The `?' operator cannot be applied to operand of type `null' + // CS0023: The `.' operator cannot be applied to operand of type `null' // Line: 8 class C { - static void Main () + public static void Main () { - var res = null?[0]; + string s = null.ToString (); } } - // CS0023: The `?' operator cannot be applied to operand of type `T' -// Line: 13 + // CS0023: The `?' operator cannot be applied to operand of type `int' +// Line: 9 -interface IFoo<T> +public class C { - T Call (); + static void Main() + { + string s = null; + var x = s?.Length?.ToString (); + } +} + // CS0023: The `+' operator cannot be applied to operand of type `bool' +// Line : 6 + +class X { + static void Main () { + bool b = +true; + } } -class C1 + + + + // CS0023: The `?' operator cannot be applied to operand of type `T' /usr/lib/monodoc/sources/cs-errors.zip/CS0026 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0026 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0026 2035-09-30 19:00:50.000000000 +0000 @@ -3,22 +3,22 @@ CS0026 // CS0026: Keyword `this' is not valid in a static property, static method, or static field initializer -// Line: 4 +// Line: 6 class X { - static object o = this; - - static int Main () + static void A () { - return 1; + this = null; } } // CS0026: Keyword `this' is not valid in a static property, static method, or static field initializer -// Line: 6 +// Line: 4 class X { - static void A () + static object o = this; + + static int Main () { - this = null; + return 1; } } /usr/lib/monodoc/sources/cs-errors.zip/CS0027 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0027 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0027 2035-09-30 19:00:50.000000000 +0000 @@ -3,6 +3,25 @@ CS0027 // CS0027: Keyword `this' is not available in the current context +// Line: 10 + +// Attention: Here the compiler complains saying that cannot convert implicitly from 'Error0027' to 'int' but +// should also say that the use of keyword 'this' is out of context since it's used outside a constructor, method +// or property. +using System; + +class Error0027 { + int i = this; + int x = 0; + + public static void Main () { + Console.WriteLine ("The compiler should complain: Error CS0027 trying to use 'this' outside context."); + Console.WriteLine ("Trying to assign i to 'this' outside a method, property or ctr."); + } +} + + + // CS0027: Keyword `this' is not available in the current context // Line: 6 class Program @@ -44,25 +63,6 @@ } } - - // CS0027: Keyword `this' is not available in the current context -// Line: 10 - -// Attention: Here the compiler complains saying that cannot convert implicitly from 'Error0027' to 'int' but -// should also say that the use of keyword 'this' is out of context since it's used outside a constructor, method -// or property. -using System; - -class Error0027 { - int i = this; - int x = 0; - - public static void Main () { - Console.WriteLine ("The compiler should complain: Error CS0027 trying to use 'this' outside context."); - Console.WriteLine ("Trying to assign i to 'this' outside a method, property or ctr."); - } -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0028 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0028 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0028 2035-09-30 19:00:50.000000000 +0000 @@ -2,18 +2,6 @@ CS0028 - // CS0028: `T.Main()' has the wrong signature to be an entry point -// Line: 6 -// Compiler options: -warnaserror:28 -warn:4 - -class T { - public static bool Main () - { - return false; - } -} - - // CS0028: `T.Main(int)' has the wrong signature to be an entry point // Line: 8 // Compiler options: -warnaserror -warn:4 @@ -27,6 +15,18 @@ } } + + // CS0028: `T.Main()' has the wrong signature to be an entry point +// Line: 6 +// Compiler options: -warnaserror:28 -warn:4 + +class T { + public static bool Main () + { + return false; + } +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0029 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0029 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0029 2035-09-30 19:00:50.000000000 +0000 @@ -2,12 +2,10 @@ CS0029 - // CS0029: Cannot implicitly convert type `S' to `System.ValueType' -// Line: 16 + // CS0029: Cannot implicitly convert type `S' to `object' +// Line: 13 // Compiler options: -langversion:latest -using System; - public ref struct S { } @@ -16,116 +14,130 @@ { public static void Main () { - var s = default (S); - ValueType s2 = s; - var res = default (S).ToString (); + object o = new S (); } } - // CS0029: Cannot implicitly convert type `T[]' to `I[]' -// Line: 12 - -interface I -{ -} + // CS0029: Cannot implicitly convert type `int' to `System.IDisposable' +// Line: 8 -class C +class A { - static void Foo<T> (T [] t) where T : I + public static void Main () { - I [] i = t; + System.IDisposable id = 1; } } - // CS0029: Cannot implicitly convert type `T' to `EventHandler' -// Line: 14 - -using System; - -public delegate void EventHandler (int i, int j); + // CS0029: Cannot implicitly convert type `B [cs0029-26, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null -- *PATH*/cs0029-26.cs]' to `B [CS0029-26-lib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=36f3ae7e947792e3 -- *PATH*/CS0029-26-lib.dll]' +// Line: 16 +// Compiler options: -r:R1=CS0029-26-lib.dll -public class Button { +extern alias R1; - public event EventHandler Click; +public class B +{ +} - public void Connect<T> () where T : class +public class C +{ + public static void Main () { - Click += default (T); + B b1 = null; + R1::B b2 = b1; } } - // CS0029: Cannot implicitly convert type `int' to `System.EventHandler' -// Line: 12 + // CS0029: Cannot implicitly convert type `U' to `int' +// Line: 13 -using System; +abstract class A<T> +{ + public abstract void Foo<U> (U arg) where U : T; +} -class C +class B : A<int> { - static event EventHandler h; - - public static void Main () + public override void Foo<U> (U arg) { - h = 0; + int i = arg; } } - // CS0029: Cannot implicitly convert type `T' to `int' -// Line: 4 + // CS0029: Cannot implicitly convert type `T[]' to `U[]' +// Line: 8 -class X { - static void Main() +class Test +{ + static void Main () { - int a = new T (); + Foo<int, object> (new int[] { 1 }); } -} -struct T { + static U[] Foo<T, U> (T[] arg) where T : U where U : class + { + return arg; + } } - // CS0029: Cannot implicitly convert type `T[]' to `System.Collections.Generic.IList<U>' -// Line: 10 - -using System.Collections.Generic; + // CS0029: Cannot implicitly convert type `int' to `A' +// Line: 14 -class Program +class A { - static IList<U> Foo<T, U> (T[] arg) where T : U + public static implicit operator int (A x) { - return arg; + return 1; + } + + public static void Main () + { + var a = new A (); + a++; } } - // CS0029: Cannot implicitly convert type `void' to `System.EventHandler' -// Line: 14 + // CS0029: Cannot implicitly convert type `void' to `int' +// Line: 11 + +using System; +using System.Threading.Tasks; class C { - static event System.EventHandler ev + public async Task<int> Test () { - add { } - remove { } + return await Call (); } - - static void Main () + + Task Call () { - ev += ev += null; + return null; } } - // CS0029: Cannot implicitly convert type `X' to `bool' -// Line : 11 - -class X { -} + // CS0029: Cannot implicitly convert type `T' to `int*' +// Line : 8 +// Compiler options: -unsafe class T { - static void Main () + static unsafe void Main () { - X x = new X (); - if (x){ - } + int *a = (T) null; } } + // CS0029: Cannot implicitly convert type `void' to `object' +// Line: 10 + +using System; + +class TestClass /usr/lib/monodoc/sources/cs-errors.zip/CS0030 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0030 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0030 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,17 @@ CS0030 + // CS0030: Cannot convert type `string' to `char' +// Line: 8 + +public class Blah { + + public static int Main () + { + char ch = (char)"a"; + } +} + // CS0030: Cannot convert type `Position' to `Board.Stone' // Line: 20 @@ -51,74 +62,6 @@ } } - // CS0030: Cannot convert type `T' to `X' -// Line: 8 -class Foo<T> - where T : System.ICloneable -{ - public X Test (T t) - { - return (X) t; - } -} - -class X -{ - static void Main () - { } -} - - // CS0030: Cannot convert type `object' to `S' -// Line: 13 -// Compiler options: -langversion:latest - -ref struct S -{ -} - -class X -{ - public static void Foo (object o) - { - var res = (S) o; - } -} - // CS0030: Cannot convert type `string' to `char' -// Line: 8 - -public class Blah { - - public static int Main () - { - char ch = (char)"a"; - } -} - - // CS0030: Cannot convert type `System.DateTime' to `string' -// Line: 10 - -using System; - -public class Blah -{ - public static void Main () - { - string s = (string)DateTime.Now; - } -} - - // CS0030: Cannot convert type `bool' to `int' -// Line: 9 - -class X -{ - static void Main () - { - const bool b = true; - int a = (int)(b ? true : false); - } -} - // CS0030: Cannot convert type `bool' to `float' // Line: 12 @@ -132,32 +75,27 @@ } } - // CS0030: Cannot convert type `S' to `E' -// Line: 10 - -enum E -{ - V -} + // CS0030: Cannot convert type `T2[]' to `T1[]' +// Line: 8 -struct S +class X { - public static explicit operator int (S val) + static void Foo<T1,T2> (T2[] array) where T1 : class where T2 : struct { - return 1; + T1[] a = (T1[])array; } } + + // CS0030: Cannot convert type `T[,]' to `System.Collections.Generic.IEnumerable<T>' +// Line: 10 + +using System.Collections.Generic; class C { - E Foo () - { - S s = new S (); - return (E) s; - } - - public static void Main () + IEnumerable<T> Foo<T> (T [,] a) { + return (IEnumerable<T>) a; } } @@ -173,6 +111,22 @@ var dow = (DayOfWeek?) long.MaxValue; } } + // CS0030: Cannot convert type `string' to `IA' +// Line: 13 + +interface IA +{ +} + +class MainClass +{ + public static void Main () + { + string s = "s"; + IA i = (IA) s; + } +} + // CS0030: Cannot convert type `System.Enum' to `int' // Line: 11 @@ -187,59 +141,74 @@ } } - // CS0030: Cannot convert type `T[,]' to `System.Collections.Generic.IEnumerable<T>' -// Line: 10 + // CS0030: Cannot convert type `T' to `X' +// Line: 8 +class Foo<T> + where T : System.ICloneable +{ + public X Test (T t) + { + return (X) t; + } +} -using System.Collections.Generic; +class X +{ + static void Main () + { } +} + + // CS0030: Cannot convert type `bool' to `int' +// Line: 9 -class C +class X { - IEnumerable<T> Foo<T> (T [,] a) + static void Main () { - return (IEnumerable<T>) a; + const bool b = true; + int a = (int)(b ? true : false); } /usr/lib/monodoc/sources/cs-errors.zip/CS0031 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0031 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0031 2035-09-30 19:00:50.000000000 +0000 @@ -2,19 +2,55 @@ CS0031 - // CS0031: Constant value `999999999999999' cannot be converted to a `int' -// Line: 9 + // CS0031: Constant value `1000M' cannot be converted to a `byte' +// Line: 8 -class X +class C { public static void Main () { - int i = 3; - i += 999999999999999; + const byte c = unchecked ((byte) 1000M); + } +} + + + // CS0031: Constant value `-9' cannot be converted to a `uint' +// Line: 9 + +public class Test +{ + public static void Main() + { + uint b = -9; } +} + // CS0031: Constant value `200000000000' cannot be converted to a `int' +// Line: 7 +// Compiler options: -unsafe + +public unsafe struct C +{ + private fixed long test_1 [200000000000]; } + // CS0031: Constant value `1.42' cannot be converted to a `int' +// Line: 6 + +class X +{ + const int val = 1.42f; +} + // CS0031: Constant value `-1' cannot be converted to a `byte' +// Line: 9 + +public class Test +{ + public static void Main() + { + byte b = -1; + } +} // CS0031: Constant value `1022' cannot be converted to a `byte' // Line: 9 @@ -49,52 +85,16 @@ } } - // CS0031: Constant value `-9' cannot be converted to a `uint' + // CS0031: Constant value `999999999999999' cannot be converted to a `int' // Line: 9 -public class Test -{ - public static void Main() - { - uint b = -9; - } -} - // CS0031: Constant value `1.42' cannot be converted to a `int' -// Line: 6 - class X { - const int val = 1.42f; -} - // CS0031: Constant value `1000M' cannot be converted to a `byte' -// Line: 8 - -class C -{ public static void Main () { - const byte c = unchecked ((byte) 1000M); - } -} - - - // CS0031: Constant value `-1' cannot be converted to a `byte' -// Line: 9 - -public class Test -{ - public static void Main() - { - byte b = -1; + int i = 3; + i += 999999999999999; } -} - // CS0031: Constant value `200000000000' cannot be converted to a `int' -// Line: 7 -// Compiler options: -unsafe - -public unsafe struct C -{ - private fixed long test_1 [200000000000]; } /usr/lib/monodoc/sources/cs-errors.zip/CS0034 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0034 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0034 2035-09-30 19:00:50.000000000 +0000 @@ -2,33 +2,6 @@ CS0034 - // CS0034: Operator `==' is ambiguous on operands of type `A' and `A' -// Line: 36 - -using System; - -struct A -{ - public static implicit operator string (A c) - { - return null; - } - - public static implicit operator Delegate (A c) - { - return null; - } -} - - -class Program -{ - public static void Main () - { - bool b = new A () == new A (); - } -} - // CS0034: Operator `+' is ambiguous on operands of type `null' and `null' // Line: 8 @@ -78,53 +51,33 @@ } } - // CS0034: Operator `+' is ambiguous on operands of type `A' and `A' -// Line: 22 - -public class A { - public static implicit operator int (A a) - { - return 0; - } - - public static implicit operator string (A a) - { - return "a"; - } + // CS0034: Operator `==' is ambiguous on operands of type `A' and `A' +// Line: 36 - public static void Main () - { - A a = new A (); - object o = a + a; - System.Console.WriteLine (o); - } -} - - // CS0034: Operator `==' is ambiguous on operands of type `Foo' and `Foo' -// Line: 23 +using System; -public struct Foo +struct A { - public static implicit operator int? (Foo f) + public static implicit operator string (A c) { - return 1; + return null; } - public static implicit operator bool? (Foo f) + public static implicit operator Delegate (A c) { - return false; + return null; } } -class C + +class Program { public static void Main () { - Foo f; - Foo f2; - var v = f == f2; + bool b = new A () == new A (); } -} +} + // CS0034: Operator `+' is ambiguous on operands of type `Y' and `X' // Line: 22 public class Y { @@ -163,5 +116,52 @@ } + // CS0034: Operator `+' is ambiguous on operands of type `A' and `A' +// Line: 22 + +public class A { + public static implicit operator int (A a) + { + return 0; + } + + public static implicit operator string (A a) + { + return "a"; + } + + public static void Main () + { + A a = new A (); + object o = a + a; + System.Console.WriteLine (o); + } +} + + // CS0034: Operator `==' is ambiguous on operands of type `Foo' and `Foo' +// Line: 23 + +public struct Foo +{ + public static implicit operator int? (Foo f) + { + return 1; + } + + public static implicit operator bool? (Foo f) + { + return false; + } +} + +class C +{ + public static void Main () + { + Foo f; + Foo f2; + var v = f == f2; + } +} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0037 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0037 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0037 2035-09-30 19:00:50.000000000 +0000 @@ -2,23 +2,6 @@ CS0037 - // CS0037: Cannot convert null to `int' because it is a value type -// Line: 6 - -class C -{ - int [,] i = new int [2,null] { { 1 }, { 2 } }; -} - - - // CS0037: Cannot convert null to `int' because it is a value type -// Line: 6 - -class C -{ - object [,] i = new int [2,1] { { null }, { 2 } }; -} - // CS0037: Cannot convert null to `char' because it is a value type // Line: 8 @@ -30,21 +13,6 @@ } } - // CS0037: Cannot convert null to `bool' because it is a value type -// Line: 13 - -using System; - -public sealed class BoundAttribute : System.Attribute -{ - public bool Dec { set { } get { return false; } } -} - -class C -{ - [Bound (Dec = null)] - double d2; -} // CS0037: Cannot convert null to `byte' because it is a value type // Line : 7 @@ -83,15 +51,38 @@ } // CS0037: Cannot convert null to `int' because it is a value type -// Line: 9 +// Line: 6 + +class C +{ + object [,] i = new int [2,1] { { null }, { 2 } }; +} + + // CS0037: Cannot convert null to `bool' because it is a value type +// Line: 13 + +using System; + +public sealed class BoundAttribute : System.Attribute +{ + public bool Dec { set { } get { return false; } } +} + +class C +{ + [Bound (Dec = null)] + double d2; +} + // CS0037: Cannot convert null to `S' because it is a value type +// Line: 10 +struct S { + int a; +} class X { static void Main () { - int s = 44; - switch (s) { - case null: break; - } + S s = (S) null; } } @@ -111,18 +102,27 @@ } } - // CS0037: Cannot convert null to `S' because it is a value type -// Line: 10 -struct S { - int a; -} + // CS0037: Cannot convert null to `int' because it is a value type +// Line: 9 class X { static void Main () { - S s = (S) null; + int s = 44; + switch (s) { + case null: break; + } } } + // CS0037: Cannot convert null to `int' because it is a value type +// Line: 6 + +class C +{ + int [,] i = new int [2,null] { { 1 }, { 2 } }; +} + + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0038 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0038 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0038 2035-09-30 19:00:50.000000000 +0000 @@ -2,44 +2,40 @@ CS0038 - // CS0038: Cannot access a nonstatic member of outer type `B' via nested type `B.C' -// Line: 14 + // CS0038: Cannot access a nonstatic member of outer type `Outer' via nested type `Outer.Inner' +// Line: 33 -public class B { - public static void Main () +public class Runner +{ + string msg; + + public Runner (string s) { + msg = s; } - public int Foo { get { return 1; } } - - public class C { - public void Baz () - { - int x = Foo; - } + public string Report () + { + return msg; } } - - // CS0038: Cannot access a nonstatic member of outer type `X' via nested type `X.Y' -// Line: 15 -using System; -class X +public class Outer { - int a = 5; + private Runner r = new Runner ("Outer"); - class Y + public Runner Runner { - public long b; - - public Y () - { - Console.WriteLine (a); - } + get { return r; } + set { r = value; } } - static void Main () + class Inner { + public string Check () + { + return Runner.Report (); + } } } @@ -63,39 +59,20 @@ } } - // CS0038: Cannot access a nonstatic member of outer type `Outer' via nested type `Outer.Inner' -// Line: 33 - -public class Runner -{ - string msg; - - public Runner (string s) - { - msg = s; - } + // CS0038: Cannot access a nonstatic member of outer type `B' via nested type `B.C' +// Line: 14 - public string Report () +public class B { + public static void Main () { - return msg; } -} - -public class Outer -{ - private Runner r = new Runner ("Outer"); - public Runner Runner - { - get { return r; } - set { r = value; } - } + public int Foo { get { return 1; } } - class Inner - { - public string Check () + public class C { + public void Baz () { - return Runner.Report (); + int x = Foo; } } } @@ -119,5 +96,28 @@ } } + // CS0038: Cannot access a nonstatic member of outer type `X' via nested type `X.Y' +// Line: 15 +using System; + +class X +{ + int a = 5; + + class Y + { + public long b; + + public Y () + { + Console.WriteLine (a); + } + } + + static void Main () + { + } +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0039 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0039 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0039 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,17 @@ CS0039 + // CS0039: Cannot convert type `string' to `C' via a built-in conversion +// Line: 8 + +class C +{ + public static void Main () + { + C c = "test" as C; + } +} + // CS0039: Cannot convert type `decimal' to `string' via a built-in conversion // Line: 8 class A { @@ -19,16 +30,5 @@ - // CS0039: Cannot convert type `string' to `C' via a built-in conversion -// Line: 8 - -class C -{ - public static void Main () - { - C c = "test" as C; - } -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0050 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0050 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0050 2035-09-30 19:00:50.000000000 +0000 @@ -2,22 +2,6 @@ CS0050 - // CS0050: Inconsistent accessibility: return type `ErrorCS0052' is less accessible than method `Foo.Method()' -// Line: 10 - -using System; - -class ErrorCS0052 { -} - -public class Foo { - public ErrorCS0052 Method () { - Console.WriteLine ("The compile should advice the return type of this method is less accessible than the method."); - } - public static void Main () {} -} - - // CS0050: Inconsistent accessibility: return type `X' is less accessible than method `Foo.Bar()' // Line: 13 @@ -40,5 +24,21 @@ } + // CS0050: Inconsistent accessibility: return type `ErrorCS0052' is less accessible than method `Foo.Method()' +// Line: 10 + +using System; + +class ErrorCS0052 { +} + +public class Foo { + public ErrorCS0052 Method () { + Console.WriteLine ("The compile should advice the return type of this method is less accessible than the method."); + } + public static void Main () {} +} + + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0051 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0051 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0051 2035-09-30 19:00:50.000000000 +0000 @@ -2,15 +2,6 @@ CS0051 - // CS0051: Inconsistent accessibility: parameter type `C.S?[][]' is less accessible than method `C.Foo(C.S?[][])' -// Line: 7 - -public class C -{ - struct S {} - public void Foo (S?[][] o) {} -} - // CS0051: Inconsistent accessibility: parameter type `NV' is less accessible than method `C1.Foo(NV)' // Line: 14 @@ -44,5 +35,14 @@ } } + // CS0051: Inconsistent accessibility: parameter type `C.S?[][]' is less accessible than method `C.Foo(C.S?[][])' +// Line: 7 + +public class C +{ + struct S {} + public void Foo (S?[][] o) {} +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0052 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0052 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0052 2035-09-30 19:00:50.000000000 +0000 @@ -2,16 +2,6 @@ CS0052 - // CS0052: Inconsistent accessibility: field type `InternalClass' is less accessible than field `PublicClass.member' -// Line: 8 - -class InternalClass { -} - -public class PublicClass { - public InternalClass member; -} - // CS0052: Inconsistent accessibility: field type `A.B' is less accessible than field `A.C.D.b' // Line: 12 @@ -41,6 +31,16 @@ } + // CS0052: Inconsistent accessibility: field type `InternalClass' is less accessible than field `PublicClass.member' +// Line: 8 + +class InternalClass { +} + +public class PublicClass { + public InternalClass member; +} + // CS0052: Inconsistent accessibility: field type `A.B' is less accessible than field `A.C.D.b' // Line: 12 /usr/lib/monodoc/sources/cs-errors.zip/CS0053 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0053 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0053 2035-09-30 19:00:50.000000000 +0000 @@ -18,6 +18,24 @@ } + // CS0053: Inconsistent accessibility: property type `MonoTests.System.ComponentModel.PropertyDescriptorTests.MissingConverterType_test.NestedClass' is less accessible than property `MonoTests.System.ComponentModel.PropertyDescriptorTests.MissingConverterType_test.Prop' +// Line: 12 + +namespace MonoTests.System.ComponentModel +{ + public class PropertyDescriptorTests + { + class MissingConverterType_test + { + class NestedClass { } + + public NestedClass Prop { + get { return null; } + } + } + } +} + // CS0053: Inconsistent accessibility: property type `ErrorCS0053' is less accessible than property `Foo.Property' // Line: 11 @@ -39,23 +57,5 @@ } - // CS0053: Inconsistent accessibility: property type `MonoTests.System.ComponentModel.PropertyDescriptorTests.MissingConverterType_test.NestedClass' is less accessible than property `MonoTests.System.ComponentModel.PropertyDescriptorTests.MissingConverterType_test.Prop' -// Line: 12 - -namespace MonoTests.System.ComponentModel -{ - public class PropertyDescriptorTests - { - class MissingConverterType_test - { - class NestedClass { } - - public NestedClass Prop { - get { return null; } - } - } - } -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0060 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0060 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0060 2035-09-30 19:00:50.000000000 +0000 @@ -22,6 +22,17 @@ } } + // CS0060: Inconsistent accessibility: base class `Foo<Bar.Baz>' is less accessible than class `Bar' +// Line: 7 + +public class Foo<K> { +} + +public class Bar : Foo<Bar.Baz> { + private class Baz { + } +} + // CS0060: Inconsistent accessibility: base class `A.B.C' is less accessible than class `A.B.D' // Line: 10 @@ -37,6 +48,43 @@ } } + // CS0060: Inconsistent accessibility: base class `Foo<Bar.Baz>' is less accessible than class `Bar' +// Line: 7 + +public class Foo<K> { +} + +public class Bar : Foo<Bar.Baz> { + internal class Baz { + } +} + + // CS0060: Inconsistent accessibility: base class `System.Collections.Generic.List<Foo<T>.Bar>' is less accessible than class `Foo<T>' +// Line: 7 + +using System; +using System.Collections.Generic; + +public class Foo<T> : List<Foo<T>.Bar> +{ + class Bar + { + } +} + + + // CS0060: Inconsistent accessibility: base class `A.B.Base' is less accessible than class `A.B.Derived' +// Line: 9 + +internal class A +{ + protected class B + { + protected class Base {} + public class Derived : Base { } + } +} + // CS0060: Inconsistent accessibility: base class `A<C>.B' is less accessible than class `D' // Line: 13 @@ -74,17 +122,6 @@ } } - // CS0060: Inconsistent accessibility: base class `Foo<Bar.Baz>' is less accessible than class `Bar' -// Line: 7 - -public class Foo<K> { -} - -public class Bar : Foo<Bar.Baz> { - private class Baz { - } -} - // CS0060: Inconsistent accessibility: base class `X' is less accessible than class `Y' // Line: 6 class X { @@ -93,42 +130,5 @@ public class Y : X { } - // CS0060: Inconsistent accessibility: base class `Foo<Bar.Baz>' is less accessible than class `Bar' -// Line: 7 - -public class Foo<K> { -} - -public class Bar : Foo<Bar.Baz> { - internal class Baz { - } -} - - // CS0060: Inconsistent accessibility: base class `A.B.Base' is less accessible than class `A.B.Derived' -// Line: 9 - -internal class A -{ - protected class B - { - protected class Base {} - public class Derived : Base { } - } -} - - // CS0060: Inconsistent accessibility: base class `System.Collections.Generic.List<Foo<T>.Bar>' is less accessible than class `Foo<T>' -// Line: 7 - -using System; -using System.Collections.Generic; - -public class Foo<T> : List<Foo<T>.Bar> -{ - class Bar - { - } -} - - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0061 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0061 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0061 2035-09-30 19:00:50.000000000 +0000 @@ -2,23 +2,6 @@ CS0061 - // CS0061: Inconsistent accessibility: base interface `B.IBase' is less accessible than interface `A.IDerived' -// Line: 6 - -public class A -{ - protected internal interface IDerived : B.IBase - { - } -} - -public class B -{ - protected internal interface IBase - { - } -} - // CS0061: Inconsistent accessibility: base interface `IFoo' is less accessible than interface `IBar' // Line: 9 @@ -45,6 +28,23 @@ { } } + +public class B +{ + protected internal interface IBase + { + } +} + + // CS0061: Inconsistent accessibility: base interface `B.IBase' is less accessible than interface `A.IDerived' +// Line: 6 + +public class A +{ + protected internal interface IDerived : B.IBase + { + } +} public class B { /usr/lib/monodoc/sources/cs-errors.zip/CS0067 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0067 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0067 2035-09-30 19:00:50.000000000 +0000 @@ -31,6 +31,22 @@ public static event EventHandler EH; } + // CS0067: The event `EventTestClass.Elapsed' is never used +// Line: 8 +// Compiler options: -warnaserror + +using System; + +public class EventTestClass : IEventTest +{ + public event EventHandler Elapsed; +} + +public interface IEventTest +{ + event EventHandler Elapsed; +} + // CS0067: The event `Foo.OnFoo' is never used // Line: 12 // Compiler options: -warnaserror -warn:3 @@ -48,21 +64,5 @@ } - // CS0067: The event `EventTestClass.Elapsed' is never used -// Line: 8 -// Compiler options: -warnaserror - -using System; - -public class EventTestClass : IEventTest -{ - public event EventHandler Elapsed; -} - -public interface IEventTest -{ - event EventHandler Elapsed; -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0070 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0070 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0070 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,30 @@ CS0070 + // CS0070: The event `A.evt' can only appear on the left hand side of += or -= when used outside of the type `A' +// Line: 22 + +using System; + +public static class EventExtensions +{ + public static void Raise (this EventHandler h) + { + } +} + +public class A +{ + public event EventHandler evt; +} + +public class B : A +{ + public void Run() + { + Action a = () => evt.Raise (); + } +} // CS0070: The event `Button.Click' can only appear on the left hand side of += or -= when used outside of the type `Button' // Line: 20 @@ -33,29 +57,5 @@ } } - // CS0070: The event `A.evt' can only appear on the left hand side of += or -= when used outside of the type `A' -// Line: 22 - -using System; - -public static class EventExtensions -{ - public static void Raise (this EventHandler h) - { - } -} - -public class A -{ - public event EventHandler evt; -} - -public class B : A -{ - public void Run() - { - Action a = () => evt.Raise (); - } -} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0079 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0079 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0079 2035-09-30 19:00:50.000000000 +0000 @@ -21,23 +21,6 @@ } } - // CS0079: The event `C.ev' can only appear on the left hand side of `+=' or `-=' operator -// Line: 14 - -class C -{ - static event System.EventHandler ev - { - add { } - remove { } - } - - static void Main () - { - ev *= null; - } -} - // CS0079: The event `Foo.BaseFoo.Changed' can only appear on the left hand side of `+=' or `-=' operator // Line: 16 @@ -80,6 +63,23 @@ } } + // CS0079: The event `C.ev' can only appear on the left hand side of `+=' or `-=' operator +// Line: 14 + +class C +{ + static event System.EventHandler ev + { + add { } + remove { } + } + + static void Main () + { + ev *= null; + } +} + // CS0079: The event `ErrorCS0079.OnFoo' can only appear on the left hand side of `+=' or `-=' operator // Line: 19 /usr/lib/monodoc/sources/cs-errors.zip/CS0081 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0081 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0081 2035-09-30 19:00:50.000000000 +0000 @@ -5,7 +5,11 @@ // CS0081: Type parameter declaration must be an identifier not a type // Line: 4 -class D<string> +partial class A<T, bool> +{ +} + +partial class A<T, O> { } @@ -22,11 +26,7 @@ // CS0081: Type parameter declaration must be an identifier not a type // Line: 4 -partial class A<T, bool> -{ -} - -partial class A<T, O> +class D<string> { } /usr/lib/monodoc/sources/cs-errors.zip/CS0082 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0082 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0082 2035-09-30 19:00:50.000000000 +0000 @@ -6,19 +6,34 @@ // Line: 6 public interface ISample { - int this[int i] { set; } void set_Item (int a, int b); + int this[int i] { set; } } - // CS0082: A member `Test.set_Item(int, string)' is already reserved -// Line : 6 + // CS0082: A member `Test.get_Value()' is already reserved +// Line: 7 + +public partial class Test +{ + public string get_Value () { return null; } +} + +public partial class Test +{ + public string Value { + get { } + } +} + + // CS0082: A member `Test.get_Value()' is already reserved +// Line: 6 public class Test { - public string this [int i] { - get { return ""; } + public string Value { + set { } } - public void set_Item (int i, string s) { } + public string get_Value () { return null; } } // CS0082: A member `ErrorClass.get_Blah(int)' is already reserved @@ -38,38 +53,23 @@ } } - // CS0082: A member `Test.add_XX(Test.MyEvent)' is already reserved -// Line: 12 + // CS0082: A member `Test.get_Value()' is already reserved +// Line: 7 public class Test { - public delegate void MyEvent (); - public event MyEvent XX { - add { } - remove { } + public string get_Value () { return null; } + public string Value { + get { } } - - public void add_XX (MyEvent e) { return; } } - // CS0082: A member `ISample.set_Item(int, int)' is already reserved // Line: 6 public interface ISample { - void set_Item (int a, int b); int this[int i] { set; } -} - - // CS0082: A member `Test.get_Value()' is already reserved -// Line: 6 - -public class Test -{ - public string Value { - set { } - } - public string get_Value () { return null; } + void set_Item (int a, int b); } // CS0082: A member `I.set_Item(int[], params int[])' is already reserved @@ -81,31 +81,31 @@ int[] this [params int[] ii] { get; } } - // CS0082: A member `Test.get_Value()' is already reserved -// Line: 7 + // CS0082: A member `Test.set_Item(int, string)' is already reserved +// Line : 6 public class Test { - public string get_Value () { return null; } - public string Value { - get { } + public string this [int i] { + get { return ""; } } + public void set_Item (int i, string s) { } } - // CS0082: A member `Test.get_Value()' is already reserved -// Line: 7 - -public partial class Test -{ - public string get_Value () { return null; } -} + // CS0082: A member `Test.add_XX(Test.MyEvent)' is already reserved +// Line: 12 -public partial class Test +public class Test { - public string Value { - get { } + public delegate void MyEvent (); + public event MyEvent XX { + add { } + remove { } } + + public void add_XX (MyEvent e) { return; } } + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0100 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0100 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0100 2035-09-30 19:00:50.000000000 +0000 @@ -5,39 +5,24 @@ // CS0100: The parameter name `obj' is a duplicate // Line: 4 -public delegate void D (object obj, object obj); - - // CS0100: The parameter name `a' is a duplicate -// Line: 6 -// -// Author: -// Alejandro Snchez Acosta <raciel@es.gnu.org> -// -// (C) Alejandro Snchez Acosta -// - -public class X +abstract class C { - public void Add (int a, int a) - { - int c; - c= a + a; - Console.WriteLine (c); - } - - static void Main () - { - this.Add (3, 5); + public abstract int this [object obj, object obj] { + set; } } + + // CS0100: The parameter name `obj' is a duplicate +// Line: 4 +public delegate void D (object obj, object obj); // CS0100: The parameter name `obj' is a duplicate // Line: 4 class C { - public static extern bool operator +(C obj, C obj); + public extern C (object obj, object obj); } // CS0100: The parameter name `a' is a duplicate @@ -53,19 +38,12 @@ } } - // CS100: The parameter name `obj' is a duplicate -// Line: 6 - -abstract class C -{ - public abstract int this [object obj, object obj] => 1; -} // CS0100: The parameter name `obj' is a duplicate // Line: 4 class C { - public extern C (object obj, object obj); + public static extern bool operator +(C obj, C obj); } // CS0100: The parameter name `obj' is a duplicate @@ -76,15 +54,37 @@ public abstract void TestMethod (object obj, object obj); } - // CS0100: The parameter name `obj' is a duplicate -// Line: 4 + // CS0100: The parameter name `a' is a duplicate +// Line: 6 +// +// Author: +// Alejandro Snchez Acosta <raciel@es.gnu.org> +// +// (C) Alejandro Snchez Acosta +// -abstract class C +public class X { - public abstract int this [object obj, object obj] { - set; + public void Add (int a, int a) + { + int c; + c= a + a; + Console.WriteLine (c); + } + + static void Main () + { + this.Add (3, 5); } } + + // CS100: The parameter name `obj' is a duplicate +// Line: 6 + +abstract class C +{ + public abstract int this [object obj, object obj] => 1; +} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0101 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0101 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0101 2035-09-30 19:00:50.000000000 +0000 @@ -2,15 +2,6 @@ CS0101 - // CS0101: The namespace `global::' already contains a definition for `Test' -// Line: 6 - -class Test {} - -namespace Test -{ -} - // CS0101: The namespace `Test' already contains a definition for `Foo' // Line: 10 @@ -25,35 +16,6 @@ } } - // CS0101: The namespace `global::' already contains a definition for `SomeEnum' -// Line: 10 -using System; - -public enum SomeEnum { - Something1, - Something2 -} - -public enum SomeEnum { - Dog, - Fish, - Cat -} - -public class DupeEnumTest { - public static void Main(string[] args) { - SomeEnum someEnum = SomeEnum.Dog; - Console.WriteLine("SomeEnum Result: " + someEnum.ToString -()); - } -} - - - - - - - // CS0101: The namespace `global::' already contains a definition for `Test' // Line: 5 // Compiler options: CS0101-7-2.cs @@ -74,6 +36,22 @@ } } + // CS0101: The namespace `N' already contains a definition for `C' +// Line: 13 + +namespace N +{ + public class C + { + } +} + +namespace N +{ + public class C + { + } +} // CS0101: The namespace `global::' already contains a definition for `I<T>' // Line: 8 @@ -93,22 +71,44 @@ { class Test<T> {} } - // CS0101: The namespace `N' already contains a definition for `C' -// Line: 13 + // CS0101: The namespace `global::' already contains a definition for `SomeEnum' +// Line: 10 +using System; -namespace N -{ - public class C - { +public enum SomeEnum { + Something1, + Something2 +} + +public enum SomeEnum { + Dog, + Fish, + Cat +} + +public class DupeEnumTest { + public static void Main(string[] args) { + SomeEnum someEnum = SomeEnum.Dog; + Console.WriteLine("SomeEnum Result: " + someEnum.ToString +()); } } -namespace N + + + + + + + // CS0101: The namespace `global::' already contains a definition for `Test' +// Line: 6 + +class Test {} + +namespace Test { - public class C - { - } -} +} + // CS0101: The namespace `AA.VV' already contains a definition for `SomeEnum' // Line: 10 using System; /usr/lib/monodoc/sources/cs-errors.zip/CS0102 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0102 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0102 2035-09-30 19:00:50.000000000 +0000 @@ -2,13 +2,12 @@ CS0102 - // CS0102: The type `SampleClass' already contains a definition for `A' -// Line: 7 + // CS0102: The type `SampleEnum' already contains a definition for `Label' +// Line: 6 -public class SampleClass { - class A {} - - public void A () {} +public enum SampleEnum { + Label, + Label } // CS0102: The type `T' already contains a definition for `A' // Line: 6 @@ -18,21 +17,6 @@ public string A (int a) { return "a"; } } - // CS0102: The type `SampleClass' already contains a definition for `MyEvent' -// Line: 7 - -public class SampleClass { - public delegate void MyEvent (); - - public void MyEvent () {} -} - // CS0102: The type `SampleEnum' already contains a definition for `Label' -// Line: 6 - -public enum SampleEnum { - Label, - Label -} // CS0102: The type `X' already contains a definition for `False' // Line: 11 @@ -62,23 +46,17 @@ public int Blah; } - // CS0102: The type `C' already contains a definition for `Item' -// Line: 7 + // CS0102: The type `C' already contains a definition for `get_Foo' +// Line: 9 class C { - bool this [int i] { get { return false; } } - bool Item (int i) { return false; } + int Foo { + get { } + } + int get_Foo; } - // CS0102: The type `SampleClass' already contains a definition for `A' -// Line: 7 - -public class SampleClass { - partial class A {} - - public void A () {} -} // CS0102: The type `X<T>' already contains a definition for `T' // Line: 11 @@ -90,20 +68,6 @@ static void Main () {} } - // CS0102: The type `SampleClass' already contains a definition for `set_Item' -// Line: 6 - -public class SampleClass { - protected const int set_Item = 3; - const int set_Item = 5; -} - // CS0102: The type `ErrorClass' already contains a definition for `Method' -// Line: 6 - -public class ErrorClass { - protected int Method () { return 2; } - public bool Method; -} // CS0102: The type `SampleClass' already contains a definition for `add_XX' // Line: 13 @@ -116,6 +80,13 @@ bool add_XX; } + // CS0102: The type `SampleClass' already contains a definition for `set_Item' +// Line: 6 + +public class SampleClass { + protected int set_Item; + public int this[int index] { set {} } +} // CS0102: The type `SampleClass' already contains a definition for `EE' // Line: 6 @@ -123,16 +94,6 @@ public delegate void EE (); public event EE EE; } - // CS0102: The type `SampleClass' already contains a definition for `set_Item' -// Line: 7 - -public class SampleClass { - protected const int set_Item = 3; - public int Item { - set {} - } -} - // CS0102: The type `X' already contains a definition for `A' // Line: 6 @@ -141,23 +102,14 @@ int A () {} } - // CS0102: The type `SampleClass' already contains a definition for `set_Item' -// Line: 6 + // CS0102: The type `SampleClass' already contains a definition for `A' +// Line: 7 public class SampleClass { - protected int set_Item; - public int this[int index] { set {} } + class A {} + + public void A () {} } - // CS0102: The type `C<get_Foo>' already contains a definition for `get_Foo' -// Line: 6 - -class C<get_Foo> -{ - string Foo { - set { } - } -} - // CS0102: The type `SampleClass' already contains a definition for `Item' // Line: 6 @@ -165,6 +117,43 @@ protected int Item { set {} } public bool Item; } + // CS0102: The type `SampleClass' already contains a definition for `op_Implicit' +// Line: 10 + +public class SampleClass { + + static public implicit operator SampleClass (byte value) { + return new SampleClass(); + } + + public bool op_Implicit; +} + // CS0102: The type `SampleClass' already contains a definition for `set_Item' +// Line: 7 + +public class SampleClass { + protected const int set_Item = 3; + public int Item { + set {} + } +} + + // CS0102: The type `SampleClass' already contains a definition for `MyEvent' +// Line: 7 + +public class SampleClass { + public delegate void MyEvent (); + + public void MyEvent () {} +} + // CS0102: The type `SampleClass' already contains a definition for `A' +// Line: 7 + +public class SampleClass { + partial class A {} + + public void A () {} +} // CS0102: The type `CS0102' already contains a definition for `Clone' // Line: 6 @@ -180,27 +169,38 @@ } /usr/lib/monodoc/sources/cs-errors.zip/CS0103 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0103 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0103 2035-09-30 19:00:50.000000000 +0000 @@ -2,55 +2,21 @@ CS0103 - // CS0103: The name `Foo' does not exist in the current context -// Line: 17 - -using static S; - -class S -{ - public void Foo () - { - } -} - -class Test -{ - public static void Main () - { - Foo (); - } -} - // CS0103: The name `test' does not exist in the current context + // CS0103: The name `a' does not exist in the current context // Line: 11 -class ClassMain +using System.Linq; + +class C { public static void Main () { - if (true) { - const bool test = false; - } - test = false; - } - - static bool Test { - set { - } + var e = from a in "abcd" + join b in "defg" on "a" equals a + select a; } } - - // CS0103: The name `List' does not exist in the current context -// Line: 8 - -class X -{ - public static void Main () - { - var r = nameof (List<int2>); - } -} // CS0103: The name `Value' does not exist in the current context // Line: 9 @@ -63,6 +29,19 @@ } } + // CS0103: The name `owner' does not exist in the current context +// Line: 6 + +class C +{ + public readonly object A = owner.Foo; + + public C () + { + int owner = 1; + } +} + // CS0103: The name `de' does not exist in the current context // Line: 4 @@ -70,17 +49,45 @@ public class Hello { } - // CS0103: The name `Console' does not exist in the current context -// Line: 10 + // CS0103: The name `count' does not exist in the current context +// Line: 6 + +class ClassMain { + public static void Main () { + count++; + } +} + + + // CS0103: The name `a1' does not exist in the current context +// Line: 11 +using System.Linq; class C { - delegate void WithOutParam (string value); + public static void Main () + { + var e = + from a1 in "abcd" + select a1; + + a1 = null; + } +} + + // CS0103: The name `b' does not exist in the current context +// Line: 11 - static void Main() +using System.Linq; + +class C +{ + public static void Main () { - WithOutParam o = (s) => Console.WriteLine(); + var e = from a in "abcd" + join b in "defg" on b equals "g" + select a; } } @@ -106,84 +113,101 @@ } } - // CS0103: The name `owner' does not exist in the current context -// Line: 6 + // C0103: The name `s' does not exist in the current context +// Line: 7 +// Compiler options: -langversion:experimental -class C +class Test(string s) { - public readonly object A = owner.Foo; + public Test () + : this (s) + { + } +} + // CS0103: The name `bar' does not exist in the current context +// Line: 8 - public C () +public class Test +{ + static void Main () { - int owner = 1; + if (false && bar ()) { + } } -} - - // CS0103: The name `a' does not exist in the current context -// Line: 11 +} + // CS0103: The name `Console' does not exist in the current context +// Line: 10 -using System.Linq; class C { - public static void Main () + delegate void WithOutParam (string value); + + static void Main() { - var e = from a in "abcd" - join b in "defg" on "a" equals a - select a; + WithOutParam o = (s) => Console.WriteLine(); } } - // CS0103: The name `_' does not exist in the current context -// Line: 8 + // CS0103: The name `Foo' does not exist in the current context +// Line: 17 -class C +using static S; + +class S /usr/lib/monodoc/sources/cs-errors.zip/CS0104 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0104 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0104 2035-09-30 19:00:50.000000000 +0000 @@ -2,38 +2,36 @@ CS0104 - // CS0104: `N' is an ambiguous reference between `C.N' and `A.T.N' -// Line: 32 + // CS0104: `X' is an ambiguous reference between `A.X' and `B.X' +// Line: 25 namespace A { - public class T - { - public class N - { - - } - } + class X { } } -namespace C +namespace B { - struct N - { - - } + class X { } } -namespace B +namespace C { - using static A.T; - using C; + using System; + using A; + using B; - static class Program + class Test { static void Main () { - var u = new N (); + Foo (delegate { + X x; + }); + } + + static void Foo (Action a) + { } } } @@ -114,36 +112,38 @@ } } - // CS0104: `X' is an ambiguous reference between `A.X' and `B.X' -// Line: 25 + // CS0104: `N' is an ambiguous reference between `C.N' and `A.T.N' +// Line: 32 namespace A { - class X { } + public class T + { + public class N + { + + } + } } -namespace B +namespace C { - class X { } + struct N + { + + } } -namespace C +namespace B { - using System; - using A; - using B; + using static A.T; + using C; - class Test + static class Program { static void Main () { - Foo (delegate { - X x; - }); - } - - static void Foo (Action a) - { + var u = new N (); } } } /usr/lib/monodoc/sources/cs-errors.zip/CS0105 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0105 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0105 2035-09-30 19:00:50.000000000 +0000 @@ -2,26 +2,6 @@ CS0105 - // CS0105: The using directive for `N.M' appeared previously in this namespace -// Line: 8 -// Compiler options: -warnaserror -warn:3 - -namespace N -{ - using M; - using N.M; - - namespace M - { - } -} - - // CS0105: The using directive for `System.Console' appeared previously in this namespace -// Line: 6 -// Compiler options: -warnaserror -warn:3 - -using static System.Console; -using static System.Console; // CS0105: The using directive for `System' appeared previously in this namespace // Line: 6 // Compiler options: -warnaserror -warn:3 @@ -45,5 +25,25 @@ } } + // CS0105: The using directive for `N.M' appeared previously in this namespace +// Line: 8 +// Compiler options: -warnaserror -warn:3 + +namespace N +{ + using M; + using N.M; + + namespace M + { + } +} + + // CS0105: The using directive for `System.Console' appeared previously in this namespace +// Line: 6 +// Compiler options: -warnaserror -warn:3 + +using static System.Console; +using static System.Console; \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0106 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0106 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0106 2035-09-30 19:00:50.000000000 +0000 @@ -2,32 +2,25 @@ CS0106 - // CS0106: The modifier `async' is not valid for this item -// Line: 6 - -interface I -{ - async void M (); -} - - // CS0106: The modifier `sealed' is not valid for this item -// Line: 6 + // CS0106: The modifier `virtual' is not valid for this item +// Line: 7 -struct S +class C { - public sealed override int GetHashCode () - { - return 1; + public int Foo { + virtual set { } } } - // CS0106: The modifier `public' is not valid for this item -// Line: 6 + // CS0106: The modifier `volatile' is not valid for this item +// Line: 8 +// Compiler options: -unsafe -interface S +public unsafe struct S { - public void Foo (); + volatile fixed char b[8]; } + // CS0106: The modifier `abstract' is not valid for this item // Line: 6 @@ -39,23 +32,26 @@ } } - // CS0106: The modifier `volatile' is not valid for this item -// Line: 8 -// Compiler options: -unsafe + // CS0106: The modifier `static' is not valid for this item +// Line: 6 -public unsafe struct S +class Data { - volatile fixed char b[8]; + public static delegate int Count (); } - - // CS0106: The modifier `readonly' is not valid for this item -// Line: 6 -// Compiler option: -langversion:latest + // CS0106: The modifier `public' is not valid for this item +// Line: 8 +interface A { + void B (); +} -readonly interface I -{ +class X : A { + public virtual void A.B () {} + + static void Main () {} } + // CS0106: The modifier `unsafe' is not valid for this item // Line: 5 @@ -65,45 +61,49 @@ { } + // CS0106: The modifier `async' is not valid for this item +// Line: 6 + +interface I +{ + async void M (); +} + // CS0106: The modifier `public' is not valid for this item // Line: 6 -class C +interface S { - public ~C () - { - } + public void Foo (); } - // CS0106: The modifier `virtual' is not valid for this item -// Line: 7 + // CS0106: The modifier `sealed' is not valid for this item +// Line: 6 -class C +struct S { - public int Foo { - virtual set { } + public sealed override int GetHashCode () + { + return 1; } } - // CS0106: The modifier `public' is not valid for this item -// Line: 8 -interface A { - void B (); -} - -class X : A { - public virtual void A.B () {} + // CS0106: The modifier `readonly' is not valid for this item +// Line: 6 +// Compiler option: -langversion:latest - static void Main () {} +readonly interface I +{ } - - // CS0106: The modifier `static' is not valid for this item + // CS0106: The modifier `public' is not valid for this item // Line: 6 -class Data +class C { - public static delegate int Count (); + public ~C () + { + } } /usr/lib/monodoc/sources/cs-errors.zip/CS0108 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0108 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0108 2035-09-30 19:00:50.000000000 +0000 @@ -2,66 +2,63 @@ CS0108 - // CS0108: `B.Adapter' hides inherited member `A.Adapter'. Use the new keyword if hiding was intended -// Line: 14 + // CS0108: `B.D' hides inherited member `A.D'. Use the new keyword if hiding was intended +// Line: 15 // Compiler options: -warnaserror -warn:2 -class A +public class B : A { - public abstract class Adapter - { - } + public delegate void D (); } -class B : A +public class A { - public int Adapter { get; set; } -} - // CS0108: `O.InnerAttribute' hides inherited member `Base.InnerAttribute()'. Use the new keyword if hiding was intended + public int D; +} + + // CS0108: `Derived.Action<U>' hides inherited member `Base.Action<U>'. Use the new keyword if hiding was intended // Line: 12 -// Compiler options: -warnaserror -warn:2 - -using System; +// Compiler options: -warnaserror -public class Base +public abstract class Base { - public void InnerAttribute () {} + public delegate void Action<U> (U val); } -class O: Base +public class Derived : Base { - [AttributeUsage(AttributeTargets.Class)] - public sealed class InnerAttribute: Attribute { - } -} - -class D { - static void Main () {} + public delegate void Action<U> (U i); } - // CS0108: `Derived.Method()' hides inherited member `Base.Method()'. Use the new keyword if hiding was intended -// Line: 11 + // CS0108: `Derived.Prop' hides inherited member `Base.Prop'. Use the new keyword if hiding was intended +// Line: 14 // Compiler options: -warnaserror -warn:2 class Base { - public bool Method () { return false; } - public void Method (int a) {} + public int Prop { + get { + return 0; + } + } } class Derived : Base { - public void Method () {} + public bool Prop = false; } - // CS0108: `Derived.F()' hides inherited member `Base.F()'. Use the new keyword if hiding was intended -// Line: -// Compiler options: -warnaserror -warn:2 + // CS0108: `IB.Foo(int)' hides inherited member `IA.Foo'. Use the new keyword if hiding was intended +// Line: 13 +// Compiler options: -warnaserror -class Base { - public void F () {} +interface IA +{ + bool Foo { get; } } -class Derived : Base { - void F () {} +interface IB : IA +{ + new void Foo (); + void Foo (int a); } // CS0108: `BaseConcrete.InnerDerived<T>()' hides inherited member `BaseGeneric<string>.InnerDerived'. Use the new keyword if hiding was intended @@ -82,62 +79,26 @@ } } - // CS0118: `B.Factory' hides inherited member `A.Factory(object)'. Use the new keyword if hiding was intended + // CS0108: `O.InnerAttribute' hides inherited member `Base.InnerAttribute()'. Use the new keyword if hiding was intended // Line: 12 // Compiler options: -warnaserror -warn:2 -public abstract class A -{ - public void Factory (object data) { } -} - -public class B : A -{ - public delegate void Factory (object data, object fail); -} - - // CS0108: `B.D' hides inherited member `A.D'. Use the new keyword if hiding was intended -// Line: 15 -// Compiler options: -warnaserror -warn:2 +using System; -public class B : A +public class Base { - public delegate void D (); + public void InnerAttribute () {} } -public class A +class O: Base { - public int D; -} - - // CS0108: `Derived.EE' hides inherited member `Base.EE'. Use the new keyword if hiding was intended -// Line: 12 -// Compiler options: -warnaserror -warn:2 - -class Base { - public enum EE { - Item - }; -} - -class Derived : Base { - public int EE; -} - - // CS0108: `Derived.Prop' hides inherited member `Base.Prop'. Use the new keyword if hiding was intended -// Line: 14 -// Compiler options: -warnaserror -warn:2 - -class Base { - public int Prop { - get { - return 0; - } - } + [AttributeUsage(AttributeTargets.Class)] + public sealed class InnerAttribute: Attribute { + } } -class Derived : Base { - public bool Prop = false; +class D { + static void Main () {} } // CS0108: `A.B.AnInt' hides inherited member `A.AnInt'. Use the new keyword if hiding was intended @@ -154,83 +115,32 @@ } } - // CS0108: `Derived.Prop(bool)' hides inherited member `Base.Prop'. Use the new keyword if hiding was intended -// Line: 13 -// Compiler options: -warnaserror -warn:2 - -class Base { - public bool Prop = false; -} - -class Derived : Base { - public void Prop (bool b) {} -} - - // CS0108: `Bar.this[int, int]' hides inherited member `Foo.this[int, int]'. Use the new keyword if hiding was intended -// Line: 15 -// Compiler options: -warnaserror -warn:2 - -public class Foo -{ - public long this [int start, int count] { - set { - } - } /usr/lib/monodoc/sources/cs-errors.zip/CS0109 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0109 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0109 2035-09-30 19:00:50.000000000 +0000 @@ -34,83 +34,46 @@ } - // CS0109: The member `Outer.Inner' does not hide an inherited member. The new keyword is not required -// Line: 7 + // CS0109: The member `Test.this[string]' does not hide an inherited member. The new keyword is not required +// Line: 9 // Compiler options: -warnaserror -warn:4 -class Outer +using System.Collections; + +public class Test: ArrayList { - public new class Inner + public new string this[string index] { + set + { + } } -} - // CS0109: The member `BaseClass.Location' does not hide an inherited member. The new keyword is not required -// Line: 6 -// Compiler options: -warnaserror -warn:4 - -class BaseClass { - public new int Location; -} - // CS0109: The member `Derived.Test()' does not hide an inherited member. The new keyword is not required -// Line: 10 -// Compiler options: -warnaserror -warn:4 - -class Base { - void Test (bool arg) {} } - -class Derived : Base { - new void Test () {} -} - // CS0109: The member `BaseClass.Location' does not hide an inherited member. The new keyword is not required -// Line: 6 -// Compiler options: -warnaserror -warn:4 - -class BaseClass { - public new int Location { set { } } -} - // CS0109: The member `Derived<U>.Action' does not hide an inherited member. The new keyword is not required + + // CS0109: The member `Derived.Action<T,U>' does not hide an inherited member. The new keyword is not required // Line: 12 // Compiler options: -warnaserror -warn:4 public abstract class Base { - public delegate void Action<U>(U val); + public delegate void Action<U> (U val); } -public class Derived<U> : Base +public class Derived : Base { - new internal Action<U> Action; -} - - // CS0109: The member `Derived.this[string]' does not hide an inherited member. The new keyword is not required -// Line: 10 -// Compiler options: -warnaserror -warn:4 - -class Base { - public bool this [int arg] { set {} } -} - -class Derived : Base { - public new bool this [string arg] { set {} } + public new delegate void Action<T, U> (U val); } - // CS0109: The member `Test.this[string]' does not hide an inherited member. The new keyword is not required -// Line: 9 + // CS0109: The member `Outer.Inner' does not hide an inherited member. The new keyword is not required +// Line: 7 // Compiler options: -warnaserror -warn:4 -using System.Collections; - -public class Test: ArrayList +class Outer { - public new string this[string index] + public new class Inner { - set - { - } } -} - +} // CS0109: The member `BaseClass.Val' does not hide an inherited member. The new keyword is not required // Line: 6 // Compiler options: -warnaserror -warn:4 @@ -118,6 +81,18 @@ class BaseClass { public new const bool Val = false; } + // CS0109: The member `Derived.this[string]' does not hide an inherited member. The new keyword is not required +// Line: 10 +// Compiler options: -warnaserror -warn:4 + +class Base { + public bool this [int arg] { set {} } +} + +class Derived : Base { + public new bool this [string arg] { set {} } +} + // CS0109: The member `Wrapper.DerivedClass.AnInt' does not hide an inherited member. The new keyword is not required // Line: 18 // Compiler options: -warnaserror @@ -139,19 +114,44 @@ } } - // CS0109: The member `Derived.Action<T,U>' does not hide an inherited member. The new keyword is not required + // CS0109: The member `BaseClass.Location' does not hide an inherited member. The new keyword is not required +// Line: 6 +// Compiler options: -warnaserror -warn:4 + +class BaseClass { + public new int Location { set { } } +} + // CS0109: The member `Derived<U>.Action' does not hide an inherited member. The new keyword is not required // Line: 12 // Compiler options: -warnaserror -warn:4 public abstract class Base { - public delegate void Action<U> (U val); + public delegate void Action<U>(U val); } -public class Derived : Base +public class Derived<U> : Base { - public new delegate void Action<T, U> (U val); + new internal Action<U> Action; } + // CS0109: The member `BaseClass.Location' does not hide an inherited member. The new keyword is not required +// Line: 6 +// Compiler options: -warnaserror -warn:4 + +class BaseClass { + public new int Location; +} + // CS0109: The member `Derived.Test()' does not hide an inherited member. The new keyword is not required +// Line: 10 +// Compiler options: -warnaserror -warn:4 + +class Base { + void Test (bool arg) {} +} + +class Derived : Base { + new void Test () {} +} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0110 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0110 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0110 2035-09-30 19:00:50.000000000 +0000 @@ -2,16 +2,6 @@ CS0110 - // CS0110: The evaluation of the constant value for `E.a' involves a circular definition -// Line: 6 - -enum E -{ - a = b, - b = c, - c = a -} - // CS0110: The evaluation of the constant value for `A.B.C.X' involves a circular definition // Line: 9 @@ -49,5 +39,15 @@ } + // CS0110: The evaluation of the constant value for `E.a' involves a circular definition +// Line: 6 + +enum E +{ + a = b, + b = c, + c = a +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0111 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0111 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0111 2035-09-30 19:00:50.000000000 +0000 @@ -2,92 +2,94 @@ CS0111 - // CS0111: A member `Blah.Foo(int, int)' is already defined. Rename this member or use different parameter types -// Line : 10 - -public class Blah { - - static public void Foo (int i, int j) - { - } - - static public void Foo (int i, int j) - { - } + // CS0111: A member `C.I<int>.Prop' is already defined. Rename this member or use different parameter types +// Line: 12 - public static void Main () - { - int i = 1; - int j = 2; +interface I<T> +{ + T Prop { get; set; } +} - Foo (i, j); - } +class C : I<int> +{ + int I<int>.Prop { get; set; } + int I<int>.Prop { get; set; } } - // CS0111: A member `C.Foo<U>(U)' is already defined. Rename this member or use different parameter types -// Line : 12 + // CS0111: A member `ISample.Blah()' is already defined. Rename this member or use different parameter types +// Line: 6 -public class C -{ - void Foo (int i) - { - } - - void Foo<T> (T i) - { - } - - void Foo<U> (U i) - { - } +public interface ISample { + int Blah (); + int Blah (); } - // CS0111: A member `Dictionary<K,V>.Add(V)' is already defined. Rename this member or use different parameter types -// Line: 14 + // CS0111: A member `C.Foo()' is already defined. Rename this member or use different parameter types +// Line: 12 -using System; -using System.Collections.Generic; -public class Dictionary<K,V> +public partial class C { - public void Add (V key) - { - throw new InvalidOperationException (); - } + partial void Foo (); +} - public void Add (V value) +public partial class C +{ + void Foo () { - throw new InvalidOperationException (); } } - // CS0111: A member `C.Foo<U>(G<U>)' is already defined. Rename this member or use different parameter types -// Line : 14 + // CS0111: A member `Blah.I.M()' is already defined. Rename this member or use different parameter types +// Line : 12 -class G<T> +public interface I { + void M (); } -public class C +public class Blah: I { - void Foo<T> (G<T> g) + void I.M () {} + void I.M () {} +} + + // CS0111: A member `C.Method(object)' is already defined. Rename this member or use different parameter types +// Line: 10 + +class C +{ + void Method (dynamic d) { } - - void Foo<U> (G<U> u) + + void Method (object d) { } } - // CS0111: A member `T.T()' is already defined. Rename this member or use different parameter types -// Line: 9 + // CS0111: A member `N.MyClass.N.IMyInterface.MyEvent' is already defined. Rename this member or use different parameter types +// Line: 18 -partial class T { - T () {} -} +namespace N +{ + interface IMyInterface + { + bool MyEvent { set; } + } -partial class T { - T () {} + public class MyClass : IMyInterface + { + bool IMyInterface.MyEvent + { + set { } + } + + bool N.IMyInterface.MyEvent + { + set { } + } + } } // CS0111: A member `T.T()' is already defined. Rename this member or use different parameter types @@ -116,69 +118,72 @@ } } - // CS0111: A member `C.Foo()' is already defined. Rename this member or use different parameter types -// Line: 12 + // CS0111: A member `Dictionary<K,V>.Add(V)' is already defined. Rename this member or use different parameter types +// Line: 14 +using System; +using System.Collections.Generic; -public partial class C +public class Dictionary<K,V> { - partial void Foo (); -} + public void Add (V key) + { + throw new InvalidOperationException (); + } -public partial class C -{ - void Foo () + public void Add (V value) { + throw new InvalidOperationException (); } } - // CS0111: A member `Class.op_Implicit(byte)' is already defined. Rename this member or use different parameter types -// Line: 9 + // CS0111: A member `C.Foo<U>(G<U>)' is already defined. Rename this member or use different parameter types +// Line : 14 -public class Class { - static public implicit operator Class(byte value) { - return new Class(); - } - - public static void op_Implicit (byte value) {} +class G<T> +{ +} /usr/lib/monodoc/sources/cs-errors.zip/CS0115 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0115 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0115 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,45 @@ CS0115 + // CS0115: `B.Foo(ref int)' is marked as an override but no suitable method found to override +// Line: 13 + +class A +{ + public virtual void Foo (out int i) + { + } +} + +class B : A +{ + public override void Foo (ref int i) + { + } +} + + // CS0115: `MyTestExtended.GetName()' is marked as an override but no suitable method found to override +// Line: 12 +// Compiler options: -r:CS0534-4-lib.dll + +using System; +public class MyTestExtended : MyTestAbstract +{ + public MyTestExtended() : base() + { + } + + protected override string GetName() { return "foo"; } + public static void Main(string[] args) + { + Console.WriteLine("Calling PrintName"); + MyTestExtended test = new MyTestExtended(); + test.PrintName(); + Console.WriteLine("Out of PrintName"); + } + +} + // CS0115: `B.MyMissingSuperclassEvent' is marked as an override but no suitable event found to override // Line: 10 @@ -13,6 +52,15 @@ class B : A { public override event EventHandler MyMissingSuperclassEvent; } + // CS0115: `X.Bla()' is marked as an override but no suitable method found to override +// Line: 5 + +class X { + public override void Bla () + { + } +} + // CS0115: `C.P' is marked as an override but no accessible `set' accessor found to override // Line: 11 @@ -31,6 +79,15 @@ set { } } } + // CS0115: `X.this[int]' is marked as an override but no suitable indexer found to override +// Line: 5 + +class X { + public override long this [int i] { + set { } + } +} + // CS0115: `DerivedClass.get_Value()' is marked as an override but no suitable method found to override // Line: 13 @@ -50,62 +107,5 @@ static void Main () {} } - // CS0115: `X.this[int]' is marked as an override but no suitable indexer found to override -// Line: 5 - -class X { - public override long this [int i] { - set { } - } -} - - // CS0115: `B.Foo(ref int)' is marked as an override but no suitable method found to override -// Line: 13 - -class A -{ - public virtual void Foo (out int i) - { - } -} - -class B : A -{ - public override void Foo (ref int i) - { - } -} - - // CS0115: `X.Bla()' is marked as an override but no suitable method found to override -// Line: 5 - -class X { - public override void Bla () - { - } -} - - // CS0115: `MyTestExtended.GetName()' is marked as an override but no suitable method found to override -// Line: 12 -// Compiler options: -r:CS0534-4-lib.dll - -using System; -public class MyTestExtended : MyTestAbstract -{ - public MyTestExtended() : base() - { - } - - protected override string GetName() { return "foo"; } - public static void Main(string[] args) - { - Console.WriteLine("Calling PrintName"); - MyTestExtended test = new MyTestExtended(); - test.PrintName(); - Console.WriteLine("Out of PrintName"); - } - -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0117 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0117 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0117 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,37 @@ CS0117 + // CS0117: `System.Console' does not contain a definition for `WriteLINE' +// Line: 10 + +using System; + +public class Test +{ + public static void Main () + { + var x = nameof (Console.WriteLINE); + } +} + + // CS0117: `Data' does not contain a definition for `Count' +// Line: 15 + + +using System; + +class Data +{ +} + +public class Test +{ + static void Main () + { + var c = new Data { Count = 10 }; + } +} + // CS0117: `System.Runtime.CompilerServices.IndexerNameAttribute' does not contain a definition for `errorarg' // Line: @@ -17,41 +48,31 @@ } } - // CS0117: `System.Reflection.BindingFlags' does not contain a definition for `Private' -// Line: 8 - -using System; -using System.Reflection; - -public class Test { - const BindingFlags Def = BindingFlags.Private | BindingFlags.Static; - const BindingFlags SetBindingFlags = Def | BindingFlags.SetProperty; + // CS0117: `X' does not contain a definition for `P' +// Line: 11 - static void Main () +class X +{ + public void Test () { + Foo (); } -} - - // CS0117: `A' does not contain a definition for `Method' -// Line: 8 -public class E : A -{ - void Test () + public static void Foo (string Product = X.P) { - base.Method (); } -} +} + // CS0117: `string' does not contain a definition for `Parse' +// Line: 10 -static class S +using System; + +class string_parse { - public static void Method (this A a) + public static void Main () { + string drawBackLabel = string.Parse("absDrawBack"); } -} - -public class A -{ } // CS0117: `Color' does not contain a definition for `Transparent' // Line: @@ -78,34 +99,18 @@ } } - // CS0117: `Data' does not contain a definition for `Count' -// Line: 15 - + // CS0117: `System.Reflection.BindingFlags' does not contain a definition for `Private' +// Line: 8 using System; +using System.Reflection; -class Data -{ -} +public class Test { + const BindingFlags Def = BindingFlags.Private | BindingFlags.Static; + const BindingFlags SetBindingFlags = Def | BindingFlags.SetProperty; -public class Test -{ static void Main () { - var c = new Data { Count = 10 }; - } -} - - // CS0117: `System.Console' does not contain a definition for `WriteLINE' -// Line: 10 - -using System; - -public class Test -{ - public static void Main () - { - var x = nameof (Console.WriteLINE); } } @@ -122,31 +127,26 @@ class A { } - // CS0117: `string' does not contain a definition for `Parse' -// Line: 10 - -using System; + // CS0117: `A' does not contain a definition for `Method' +// Line: 8 -class string_parse +public class E : A { - public static void Main () + void Test () { - string drawBackLabel = string.Parse("absDrawBack"); + base.Method (); } -} - // CS0117: `X' does not contain a definition for `P' -// Line: 11 +} -class X +static class S { - public void Test () + public static void Method (this A a) { - Foo (); } +} - public static void Foo (string Product = X.P) - { - } +public class A +{ } \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0118 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0118 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0118 2035-09-30 19:00:50.000000000 +0000 @@ -2,70 +2,33 @@ CS0118 - // CS0118: `Region.Value' is a `field' but a `type' was expected -// Line: 8 - -public sealed class Region -{ - int Value; - - [Value(2)] - public Region() {} -} - - // CS0118: `Martin.Test' is a `namespace' but a `type' was expected -// Line: 15 -using System; -using Foo; - -namespace Foo -{ - public class Test : Attribute - { - } -} + // CS0118: `X.Foo' is a `property' but a `method group' was expected +// Line: 12 -namespace Martin.Test +class X { - [Test] - public class X - { + static int Foo { + get { return 1; } } -} - - // CS0118: `C' is a `type' but a `variable' was expected -// Line: 8 -class C -{ - public static void Main () + static void Main () { - int i = (C) +1; + Foo (1); } } - // CS0118: `N' is a `namespace' but a `type' was expected -// Line: 8 + // CS0118: `A.B' is a `namespace' but a `type' was expected +// Line: 9 +// Compiler options: -r:CS0118-2-lib.dll -namespace N -{ -} +using A.B.C; -public class C<T> where T : N -{ -} - // CS0118: `Foo<X>' is a `type' but a `variable' was expected -// Line: 12 - -public class Foo<T> -{ -} - -class X -{ - static void Main () - { - Foo<X> = new Foo<X> (); +namespace A.D { + class Test { + static public void Main () + { + B c = new B (); + } } } @@ -100,43 +63,40 @@ } } - // CS0118: `System' is a `namespace' but a `type' was expected -// Line: 9 - -public class C + // CS0118: `Foo<X>' is a `type' but a `variable' was expected +// Line: 12 + +public class Foo<T> { - public object Test (object a) +} + +class X +{ + static void Main () { - return (System)(a); + Foo<X> = new Foo<X> (); } } - // CS0118: `M.N' is a `namespace' but a `variable' was expected -// Line: 10 + // CS0118: `C' is a `type' but a `variable' was expected +// Line: 8 -namespace M.N +class C { - public class Foo + public static void Main () { - public Foo (object value) - { - N = value; - } + int i = (C) +1; } } - // CS0118: `A' is a `type' but a `variable' was expected -// Line: 12 - -class A -{ -} + // CS0118: `System' is a `namespace' but a `type' was expected +// Line: 9 -class B +public class C { - public B () + public object Test (object a) { - A = 2; + return (System)(a); } } @@ -157,66 +117,61 @@ } } - // CS0118: `x.a.B' is a `property' but a `type' was expected -// Line: 9 + // CS0118: `A.Foo(string)' is a `method group' but a `type' was expected +// Line: 15 -using System; +public class A +{ + public static void Foo (string Setting) + { + } +} -namespace x +class Example { - class a + public void Main(string[] args) { - bool B { set {} } - - void Test (B b) {} + A a = new A.Foo ("test"); } } - // CS0118: `A.B' is a `namespace' but a `type' was expected -// Line: 9 -// Compiler options: -r:CS0118-2-lib.dll - -using A.B.C; + // CS0118: `M.N' is a `namespace' but a `variable' was expected +// Line: 10 -namespace A.D { - class Test { - static public void Main () +namespace M.N +{ + public class Foo + { + public Foo (object value) { /usr/lib/monodoc/sources/cs-errors.zip/CS0119 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0119 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0119 2035-09-30 19:00:50.000000000 +0000 @@ -2,22 +2,22 @@ CS0119 - // CS0119: Expression denotes a `type parameter', where a `variable', `value' or `type' was expected + // CS0119: Expression denotes a `namespace', where a `variable', `value' or `method group' was expected // Line: 8 -class C +class X { - static void Foo<T> () + public static void Main () { - T.ToString (); + System.Collections.Generic (""); } -} - +} // CS0119: Expression denotes a `variable', where a `type' was expected -// Line: 8 +// Line: 9 class A { + private string test; public void f () { this.test bad = null; @@ -26,59 +26,83 @@ } - // CS0119: Expression denotes a `variable', where a `type' or `method group' was expected -// Line: 10 + // CS0119: Expression denotes a `variable', where a `method group' was expected +// Line: 11 -delegate void D (); +using System; -class C +class X { - public void Foo (int i) - { - D d = new D (i); - } + static void Main () + { + Delegate d = null; + Console.WriteLine (d (null, null)); + } } - // CS0119: Expression denotes a `method group', where a `variable', `value' or `type' was expected + // CS0119: Expression denotes a `type parameter', where a `variable', `value' or `type' was expected // Line: 8 class C { - static void Main () + static void Foo<T> () { - throw Main; + T.ToString (); } } - // CS0119: Expression denotes a `type parameter', where a `variable', `value' or `type' was expected + // CS0119: Expression denotes a `type', where a `variable' or `value' was expected // Line: 15 class A { - public class T + public class D { } } -class B<T> : A +class B { - void Foo () + public B () { - T.Equals (null, null); + A.D = 2; } } - // CS0119: Expression denotes a `variable', where a `method group' was expected -// Line: 11 + // CS0119: Expression denotes a `type', where a `variable', `value' or `method group' was expected +// Line: 10 -using System; +class A +{ + delegate string Test (string t); -class X + public static void Main () + { + Test ("t"); + } +} + + // CS0119: Expression denotes a `variable', where a `type' was expected +// Line: 8 + +class A +{ + public void f () + { + this.test bad = null; + } + static void Main () {} +} + + + // CS0119: Expression denotes a `method group', where a `variable', `value' or `type' was expected +// Line: 8 + +class C { static void Main () { - Delegate d = null; - Console.WriteLine (d (null, null)); + throw Main; } } @@ -99,59 +123,35 @@ } } } - // CS0119: Expression denotes a `type', where a `variable', `value' or `method group' was expected -// Line: 10 + // CS0119: Expression denotes a `type parameter', where a `variable', `value' or `type' was expected +// Line: 15 class A { - delegate string Test (string t); - - public static void Main () + public class T { - Test ("t"); } } - - // CS0119: Expression denotes a `namespace', where a `variable', `value' or `method group' was expected -// Line: 8 -class X +class B<T> : A { - public static void Main () + void Foo () { - System.Collections.Generic (""); + T.Equals (null, null); } -} - // CS0119: Expression denotes a `variable', where a `type' was expected -// Line: 9 - -class A -{ - private string test; - public void f () - { - this.test bad = null; - } - static void Main () {} } - - // CS0119: Expression denotes a `type', where a `variable' or `value' was expected -// Line: 15 + // CS0119: Expression denotes a `variable', where a `type' or `method group' was expected +// Line: 10 -class A -{ - public class D - { - } -} +delegate void D (); -class B +class C /usr/lib/monodoc/sources/cs-errors.zip/CS0120 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0120 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0120 2035-09-30 19:00:50.000000000 +0000 @@ -2,86 +2,82 @@ CS0120 - // CS0120: An object reference is required to access non-static member `test.method()' + // CS0120: An object reference is required to access non-static member `MemRefMonoBug.Int32' // Line: 11 -class test { +using System; - void method () +public class MemRefMonoBug { + private int Int32; // this member has the same name as System.Int32 class + public static void Main () { - } - - public static int Main (string [] args){ - method (); - return 1; + new MemRefMonoBug ().Int32 = 0; // this line causes no problem + Int32 = 0; // mcs crashes in this line } } - // CS0120: An object reference is required to access non-static member `MemRefMonoBug.String' -// Line: 11 + // CS0120: An object reference is required to access non-static member `X.Y(System.Text.StringBuilder)' +// Line: 8 -using System; +using System.Text; -public class MemRefMonoBug { - private string String; // this member has the same name as System.String class - public static void Main () - { - new MemRefMonoBug ().String = ""; // this line causes no problem - String = ""; // mcs crashes in this line +class X { + static void Main () { + X.Y(null); + } + + void Y(StringBuilder someParam) { } } - - // CS0120: An object reference is required to access non-static member `Derived.Foo()' + // CS0120: An object reference is required to access non-static member `C.i' // Line: 16 -using System; - -public class Base +class B { - public Base (Action a) + public B (object o) { } } -public class Derived : Base +class C : B { - public Derived () - : base (() => Foo ()) + int i; + + public C () + : base (i) { } +} - void Foo () - { - } -} - // CS0120: An object reference is required to access non-static member `X.Y' -// Line: 11 + + // CS0120: An object reference is required to access non-static member `MainClass.Callback()' +// Line: 9 using System; -class X { - // Public properties and variables. - public string Y; - - // Constructors. - public X() +class MainClass : BaseClass +{ + public MainClass (string a, Action callback) + : base (a, () => Callback ()) { } - // Public static methods. - public static void Main(string[] Arguments) + private void Callback () { - X.Y = ""; } } +public class BaseClass +{ + public BaseClass (string a, int b) + { + } - - - - - + public BaseClass (string a, Action callback) + { + } +} // CS0120: An object reference is required to access non-static member `MainClass.Test' // Line: 20 @@ -106,32 +102,16 @@ } } - // CS0120: An object reference is required to access non-static member `X.Y(System.Text.StringBuilder)' -// Line: 8 - -using System.Text; + // CS0120: An object reference is required to access non-static member `Test.ArrayList' +// Line: 10 -class X { - static void Main () { - X.Y(null); - } - - void Y(StringBuilder someParam) { - } -} - - // CS0120: An object reference is required to access non-static member `X.method()' -// Line: 11 +using System.Collections; -class X { +public class Test { + ArrayList ArrayList; - void method () - { - } - - public static int Main (string [] args){ - X.method (); - return 1; + public static void Main () { + ArrayList.Capacity = 5; } } @@ -159,137 +139,85 @@ } } - // CS0120: An object reference is required to access non-static member `MemRefMonoBug.Int32' -// Line: 11 - -using System; - -public class MemRefMonoBug { - private int Int32; // this member has the same name as System.Int32 class - public static void Main () - { - new MemRefMonoBug ().Int32 = 0; // this line causes no problem - Int32 = 0; // mcs crashes in this line - } -} - - // CS0120: An object reference is required to access non-static member `Test.ArrayList' -// Line: 10 - -using System.Collections; - -public class Test { - ArrayList ArrayList; - - public static void Main () { - ArrayList.Capacity = 5; - } /usr/lib/monodoc/sources/cs-errors.zip/CS0121 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0121 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0121 2035-09-30 19:00:50.000000000 +0000 @@ -2,35 +2,6 @@ CS0121 - // CS0121: The call is ambiguous between the following methods or properties: `Program.Foo(System.Func<string,dynamic>)' and `Program.Foo(System.Func<object>)' -// Line: 10 - -using System; - -public static class Program -{ - public static void Main () - { - Foo (Bar); - } - - public static dynamic Bar (string s1) - { - return 1; - } - - public static object Bar () { - return 2; - } - - public static void Foo (Func<string, dynamic> input) - { - } - - public static void Foo (Func<object> input) - { - } -} // CS0121: The call is ambiguous between the following methods or properties: `G<int>.Foo()' and `G<string>.Foo()' // Line: 18 @@ -51,163 +22,107 @@ Foo (); } } - // CS0121: The call is ambiguous between the following methods or properties: `C.Foo(int, params string[])' and `C.Foo(string[], int)' -// Line: 9 + // CS0121: The call is ambiguous between the following methods or properties: `A.operator +(A, B)' and `B.operator +(A, B)' +// Line: 21 -class C +class A { - public static void Main () + public static A operator + (A a, B b) { - var d = new C (); - d.Foo (x: 1, y: new [] { "" }); + return null; } +} - public void Foo (int x, params string[] y) +class B +{ + public static A operator + (A a, B b) { + return null; } - public void Foo (string[] y, int x) + static void Main () { + object o = new A () + new B (); } } - // CS0121: The call is ambiguous between the following methods or properties: `IList.Count()' and `ICounter.Count()' -// Line: 29 - -using System; - -interface IList -{ - int Count (); -} - -interface ICounter -{ - int Count (); -} - -interface ICollection -{ - int Count { set; } -} - -interface IListCounter: IList, ICounter, ICollection -{ -} + // CS0121: The call is ambiguous between the following methods or properties: `X.a(int, double)' and `X.a(double, int)' +// Line: 15 -class Test -{ - static void Foo (IListCounter t) +class X { + static void a (int i, double d) { - t.Count (); } -} - - // CS0121: The call is ambiguous between the following methods or properties: `Foo<int,int>.Test(int)' and `Foo<int,int>.Test(int)' -// Line: 23 -using System; -public class Foo<T,U> -{ - public void Test (T index) + static void a (double d, int i) { - Console.WriteLine ("Test 1: {0}", index); } - public void Test (U index) + public static void Main () { - Console.WriteLine ("Test 2: {0}", index); + a (0, 0); } -} +} + + // CS0121: The call is ambiguous between the following methods or properties: `IFoo.DoIt()' and `IBar.DoIt()' +// Line: 9 -class X -{ +class A : IFooBar { static void Main () { - Foo<int,int> foo = new Foo<int,int> (); - foo.Test (3); + A a = new A (); + IFooBar fb = (IFooBar) a; + fb.DoIt (); } -} - - // CS0121: The call is ambiguous between the following methods or properties: `C.C(double[], int, object)' and `C.C(double[], int, string[])' -// Line: 16 -class C -{ - C (double[] o, int i = -1, object ii = null) - { - } - - C (double[] o, int i = -1, string[] s = null) - { - } - - public static void Main () + void IFoo.DoIt () { - new C (null, 1); + System.Console.WriteLine ("void IFoo.DoIt ()"); } -} - - // CS0121: The call is ambiguous between the following methods or properties: `V2.operator -(V2, V2)' and `V3.operator -(V3, V3)' -// Line: 45 - -public struct V3 -{ - public float x, y, z; - public V3 (float ix, float iy, float iz) { x = ix; y = iy; z = iz; } - - static public V3 operator - (V3 lhs, V3 rhs) + void IBar.DoIt () { - return new V3 (lhs.x - rhs.x, lhs.y - rhs.y, lhs.z - rhs.z); + System.Console.WriteLine ("void IBar.DoIt ()"); } } -public struct V2 -{ - public float x, y; +interface IFoo { + void DoIt (); +} - public V2 (float ix, float iy) { x = ix; y = iy; } +interface IBar { + void DoIt (); +} - public static implicit operator V2 (V3 v) - { - return new V2 (v.x, v.y); /usr/lib/monodoc/sources/cs-errors.zip/CS0122 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0122 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0122 2035-09-30 19:00:50.000000000 +0000 @@ -2,41 +2,122 @@ CS0122 - // CS0122: `A.output' is inaccessible due to its protection level -// Line: 12 + // CS0122: `Test<A>' is inaccessible due to its protection level +// Line: 8 +// Compiler options: -r:CS0122-35-lib.dll -public class A { - private string output; +class X +{ + static void Main () + { + Test<float> test = new Test<float> (); + } } -public class B : A { - public void Test() { - switch ("a") { - case "1": - output.Replace("a", "b"); - break; - } - } -} - // CS0122: `Foo.Bar()' is inaccessible due to its protection level -// Line: 17 + // CS0122: `A.X' is inaccessible due to its protection level +// Line: 18 using System; -public class Foo +class A { - void Bar () + class X { + public static string V = "a"; } } -public class Baz : Foo +class C : A { - public static void Main (String[] args) + public static void Main () { - Bar (); + Console.WriteLine (X.V); + } +} + + // CS0122: `AAttribute.AAttribute()' is inaccessible due to its protection level +// Line: 9 + +class AAttribute : System.Attribute +{ + protected AAttribute() { } +} + +[A] +class C +{ +} + + // CS0122: `Test.TestClass.TestClass()' is inaccessible due to its protection level +// Line: 17 + +namespace Test +{ + public class TestClass + { + private TestClass() : base() + { + } + } + + class Class1 + { + static void Main(string[] args) + { + TestClass test = new TestClass(); + } } +} + // CS0122: `Test.SomeAttribute.SomeAttribute()' is inaccessible due to its protection level +// Line: 10 + +using System; + +namespace Test +{ + public class SomeAttribute : Attribute + { + SomeAttribute() {} + } + + [SomeAttribute] + public class SomeClass + { + } +} + + // CS0122: `Test.SomeValue' is inaccessible due to its protection level +// Line: 7 +// Compiler options: -r:CS0122-15-lib.dll + +public class MyEnum +{ + int Unknown = Test.SomeValue; + static void Main () {} +} + + + // CS0122: `A.prop' is inaccessible due to its protection level +// Line: 19 +// Compiler options: -t:library + +class A +{ + int i; + + int prop + { + set { i = value; } + } +} + +class B : A +{ + void M () + { + prop = 2; + } } // CS0122: `A.AA.Foo()' is inaccessible due to its protection level @@ -51,6 +132,31 @@ } } + // CS0122: `A.Foo()' is inaccessible due to its protection level +// Line: 23 + +class A +{ + public void Foo (int i) + { + } + + private void Foo () + { + } +} + +class B : A +{ + public static void Main () + { + } + + void Test () + { + Foo (); + } +} // CS0122: `Foo.this[int]' is inaccessible due to its protection level // Line: 14 @@ -68,60 +174,46 @@ } } - // CS0122: `Test<A>' is inaccessible due to its protection level -// Line: 8 -// Compiler options: -r:CS0122-35-lib.dll + // CS0122: `Foo.Bar()' is inaccessible due to its protection level +// Line: 17 -class X +using System; + +public class Foo { - static void Main () + void Bar () { - Test<float> test = new Test<float> (); } } - /usr/lib/monodoc/sources/cs-errors.zip/CS0123 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0123 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0123 2035-09-30 19:00:50.000000000 +0000 @@ -2,27 +2,26 @@ CS0123 - // CS0123: A method or delegate `Program.method(A)' parameters do not match delegate `D(dynamic)' parameters -// Line: 19 + // CS0123: A method or delegate `MainClass.Delegate()' parameters do not match delegate `TestDelegate(bool)' parameters +// Line: 17 -delegate object D (dynamic b); +delegate IA TestDelegate(bool b); -class A -{ -} +interface IA {} -class Program +public class MainClass : IA { - static string method (A a) + static MainClass Delegate() { - return ""; + return null; } - static void Main () + public static void Main() { - var d = new D (method); + TestDelegate delegateInstance = new TestDelegate (Delegate); } } + // CS0123: A method or delegate `Test.Foo(int, bool)' parameters do not match delegate `System.Func<int,bool>(int)' parameters // Line: 15 @@ -42,36 +41,38 @@ } } - // CS0123: A method or delegate `A<T,U>.M(T)' parameters do not match delegate `A<T,U>.D(U)' parameters -// Line: 10 + // CS0123: A method or delegate `object.ToString()' parameters do not match delegate `System.Func<string>()' parameters +// Line: 16 +// Compiler options: -langversion:latest -class A<T, U> where T : U +using System; + +public ref struct S { - delegate void D (U u); +} - static void M (T t) +class Test +{ + public static void Main () { - D d = M; + var s = new S (); + Func<string> f = s.ToString; } -} - - // CS0123: A method or delegate `MainClass.Delegate()' parameters do not match delegate `TestDelegate(bool)' parameters -// Line: 17 - -delegate IA TestDelegate(bool b); - -interface IA {} +} + // CS0123: A method or delegate `C.Method(ref dynamic)' parameters do not match delegate `C.D(dynamic)' parameters +// Line: 14 -public class MainClass : IA +public class C { - static MainClass Delegate() + delegate void D (dynamic d); + + static void Method (ref dynamic d) { - return null; } - public static void Main() + public static void Main () { - TestDelegate delegateInstance = new TestDelegate (Delegate); + D d = Method; } } @@ -116,42 +117,53 @@ } } - // CS0123: A method or delegate `C.Method(ref dynamic)' parameters do not match delegate `C.D(dynamic)' parameters -// Line: 14 + // CS0123: A method or delegate `object.ToString()' parameters do not match delegate `System.Func<string>()' parameters +// Line: 16 -public class C -{ - delegate void D (dynamic d); - - static void Method (ref dynamic d) - { - } +using System; +class Test +{ public static void Main () { - D d = Method; + Func<string> f = default (TypedReference).ToString; } -} +} + // CS0123: A method or delegate `Program.method(A)' parameters do not match delegate `D(dynamic)' parameters +// Line: 19 - - // CS0123: A method or delegate `object.ToString()' parameters do not match delegate `System.Func<string>()' parameters -// Line: 16 -// Compiler options: -langversion:latest +delegate object D (dynamic b); -using System; +class A +{ +} -public ref struct S +class Program { + static string method (A a) + { + return ""; + } + + static void Main () + { + var d = new D (method); + } } + + // CS0123: A method or delegate `A<T,U>.M(T)' parameters do not match delegate `A<T,U>.D(U)' parameters +// Line: 10 -class Test +class A<T, U> where T : U { - public static void Main () + delegate void D (U u); + + static void M (T t) { - var s = new S (); - Func<string> f = s.ToString; + D d = M; } -} +} + // CS0123: A method or delegate `X.f1(int, object)' parameters do not match delegate `X.Function(int, int)' parameters // Line: 13 @@ -174,18 +186,6 @@ } } - // CS0123: A method or delegate `object.ToString()' parameters do not match delegate `System.Func<string>()' parameters -// Line: 16 - -using System; - -class Test -{ - public static void Main () - { - Func<string> f = default (TypedReference).ToString; - } -} // CS0123: A method or delegate `MainClass.Delegate()' parameters do not match delegate `TestDelegate(bool)' parameters // Line: 12 /usr/lib/monodoc/sources/cs-errors.zip/CS0126 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0126 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0126 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,25 @@ CS0126 + // CS0126: An object of a type convertible to `string' is required for the return statement +// Line: 7 + +using System.Threading.Tasks; + +class A +{ + static async Task<string> Test () + { + await CallAsync (); + return; + } + + static Task<string> CallAsync () + { + return null; + } +} + // CS0126: An object of a type convertible to `int' is required for the return statement // Line: 7 @@ -38,24 +57,5 @@ { string Id { get; set; } } - // CS0126: An object of a type convertible to `string' is required for the return statement -// Line: 7 - -using System.Threading.Tasks; - -class A -{ - static async Task<string> Test () - { - await CallAsync (); - return; - } - - static Task<string> CallAsync () - { - return null; - } -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0128 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0128 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0128 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,33 @@ CS0128 + // CS0128: A local variable named `x' is already defined in this scope +// Line: 9 + +class X +{ + public static void Main () + { + Foo (out int x); + Foo (out int x); + } + + static void Foo (out int arg) + { + arg = 2; + } +} + // CS0128: A local variable named `xx' is already defined in this scope +// Line: 9 + +class X +{ + public static void Main () + { + short xx; + var (xx, yy) = (1, 'g'); + } +} // CS0128: A local variable named `s' is already defined in this scope // Line: 12 @@ -47,32 +74,5 @@ } } - // CS0128: A local variable named `xx' is already defined in this scope -// Line: 9 - -class X -{ - public static void Main () - { - short xx; - var (xx, yy) = (1, 'g'); - } -} - // CS0128: A local variable named `x' is already defined in this scope -// Line: 9 - -class X -{ - public static void Main () - { - Foo (out int x); - Foo (out int x); - } - - static void Foo (out int arg) - { - arg = 2; - } -} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0131 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0131 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0131 2035-09-30 19:00:50.000000000 +0000 @@ -3,12 +3,17 @@ CS0131 // CS0131: The left-hand side of an assignment must be a variable, a property or an indexer -// Line: 7 +// Line: 12 -class X { - void A () - { - 5 = 4; +using System; +using System.Collections; + +class Test { + public static void Main(string[] args) { + ArrayList al = new ArrayList(); + al[0] = 0; + + Console.WriteLine(((int)al[0])++); } } @@ -26,6 +31,16 @@ } // CS0131: The left-hand side of an assignment must be a variable, a property or an indexer +// Line: 7 + +class X { + void A () + { + 5 = 4; + } +} + + // CS0131: The left-hand side of an assignment must be a variable, a property or an indexer // Line: 8 class X @@ -41,39 +56,6 @@ } } // CS0131: The left-hand side of an assignment must be a variable, a property or an indexer -// Line: 15 -// Compiler options: -unsafe - -unsafe struct MyStruct -{ - public fixed char Name[32]; -} - -unsafe class MainClass -{ - public static void Main () - { - var str = new MyStruct(); - str.Name = null; - } -} - - // CS0131: The left-hand side of an assignment must be a variable, a property or an indexer -// Line: 12 - -using System; -using System.Collections; - -class Test { - public static void Main(string[] args) { - ArrayList al = new ArrayList(); - al[0] = 0; - - Console.WriteLine(((int)al[0])++); - } -} - - // CS0131: The left-hand side of an assignment must be a variable, a property or an indexer // Line: 17 public class Person @@ -93,5 +75,23 @@ } } + // CS0131: The left-hand side of an assignment must be a variable, a property or an indexer +// Line: 15 +// Compiler options: -unsafe + +unsafe struct MyStruct +{ + public fixed char Name[32]; +} + +unsafe class MainClass +{ + public static void Main () + { + var str = new MyStruct(); + str.Name = null; + } +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0132 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0132 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0132 2035-09-30 19:00:50.000000000 +0000 @@ -21,17 +21,17 @@ } // CS0132: `X.X(int)': The static constructor must be parameterless -// Line: 4 +// Line: 5 class X { + static int ii = 55; static X (int x) { } } // CS0132: `X.X(int)': The static constructor must be parameterless -// Line: 5 +// Line: 4 class X { - static int ii = 55; static X (int x) { } /usr/lib/monodoc/sources/cs-errors.zip/CS0133 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0133 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0133 2035-09-30 19:00:50.000000000 +0000 @@ -2,17 +2,39 @@ CS0133 - // CS0133: The expression being assigned to `c' must be a constant or default value -// Line: 10 + // CS0133: The expression being assigned to `o' must be a constant or default value +// Line: 8 -class C +class X { void Foo () { - int[] array; - int idx; - const int c = array [idx]; + const object o = "" ?? null; } +} + // CS0133: The expression being assigned to `Foo' must be a constant or default value +// Line: 8 + +class T +{ + public void FooBar () + { + const string Foo = Foo; + } +} + + // CS0133: The expression being assigned to `S.pathName' must be a constant or default value +// Line: 12 +// Compiler options: -unsafe + +class C +{ + public static int i = 4; +} + +public unsafe struct S +{ + private fixed char pathName [C.i]; } // CS0133: The expression being assigned to `b' must be a constant or default value @@ -46,39 +68,17 @@ } } - // CS0133: The expression being assigned to `o' must be a constant or default value -// Line: 8 + // CS0133: The expression being assigned to `c' must be a constant or default value +// Line: 10 -class X +class C { void Foo () { - const object o = "" ?? null; + int[] array; + int idx; + const int c = array [idx]; } -} - // CS0133: The expression being assigned to `S.pathName' must be a constant or default value -// Line: 12 -// Compiler options: -unsafe - -class C -{ - public static int i = 4; -} - -public unsafe struct S -{ - private fixed char pathName [C.i]; -} - - // CS0133: The expression being assigned to `Foo' must be a constant or default value -// Line: 8 - -class T -{ - public void FooBar () - { - const string Foo = Foo; - } } /usr/lib/monodoc/sources/cs-errors.zip/CS0134 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0134 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0134 2035-09-30 19:00:50.000000000 +0000 @@ -2,17 +2,6 @@ CS0134 - // CS0134: A constant `o' of reference type `object' can only be initialized with null -// Line: 8 - -public class C -{ - public static void Main () - { - const object o = 1; - } -} - // CS0134: A constant `T.i' of reference type `decimal[]' can only be initialized with null // Line: 12 @@ -29,13 +18,6 @@ public const object o = "12345"; } - // CS0134: A constant `C.b' of reference type `object' can only be initialized with null -// Line: 6 - -class C -{ - const object a = null, b = 1; -} // CS0134: A constant `C.b' of reference type `bool[]' can only be initialized with null // Line: 6 @@ -44,5 +26,23 @@ const bool [] b = { true }; } + // CS0134: A constant `o' of reference type `object' can only be initialized with null +// Line: 8 + +public class C +{ + public static void Main () + { + const object o = 1; + } +} + + // CS0134: A constant `C.b' of reference type `object' can only be initialized with null +// Line: 6 + +class C +{ + const object a = null, b = 1; +} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0136 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0136 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0136 2035-09-30 19:00:50.000000000 +0000 @@ -2,19 +2,76 @@ CS0136 - // CS0136: A local variable named `s' cannot be declared in this scope because it would give a different meaning to `s', which is already used in a `parent or current' scope to denote something else + // CS0136: A local variable named `res' cannot be declared in this scope because it would give a different meaning to `res', which is already used in a `child' scope to denote something else +// Line: 15 + +class C +{ + public void Foo (int i, int v) + { + switch (i) { + case 1: + if (v > 0) { + int res = 1; + } + break; + case 2: + int res = 2; + break; + } + } +} + + // CS0136: A local variable named `i' cannot be declared in this scope because it would give a different meaning to `i', which is already used in a `parent or current' scope to denote something else // Line: 10 +delegate string Fun (int i); -internal class Program +class X { - public static void Main () + static void Main () { - object o = null; - if (o is string s) { - int s = 1; + for (int i = 0; i < 5; i++) { + Fun m = delegate (int i) { + return "<<" + i + ">>"; + }; } } -} +} + + // CS0136: A local variable named `i' cannot be declared in this scope because it would give a different meaning to `i', which is already used in a `child' scope to denote something else +// Line: 15 +delegate string Fun (); + +class X +{ + static void Main () + { + for (int j = 0; j < 5; j++) { + Fun m = delegate { + int i = j; + return "<<" + i + ">>"; + }; + + int i = j; + } + } +} + + // CS0136: A local variable named `i' cannot be declared in this scope because it would give a different meaning to `i', which is already used in a `parent or current' scope to denote something else +// Line: 9 + +class X { + void b () + { + int i; + { + string i; + } + } +} + + + // CS0136: A local variable named `t' cannot be declared in this scope because it would give a different meaning to `t', which is already used in a `child' scope to denote something else // Line: 20 using System; @@ -39,66 +96,30 @@ } } - // CS0136: A local variable named `j' cannot be declared in this scope because it would give a different meaning to `j', which is already used in a `parent or current' scope to denote something else -// Line: 7 - -class X { - public static void Bar (int j, params int [] args) - { - foreach (int j in args) - ; - } -} - - // CS0136: A local variable named `v' cannot be declared in this scope because it would give a different meaning to `v', which is already used in a `child' scope to denote something else -// Line: 11 - -using System.Linq; + // CS0136: A local variable named `t' cannot be declared in this scope because it would give a different meaning to `t', which is already used in a `child' scope to denote something else +// Line: 18 +using System; -class C -{ - public static void Main () - { - var l = from v in "abcd" select v; - int v; - } -} - - // CS0136: A local variable named `res' cannot be declared in this scope because it would give a different meaning to `res', which is already used in a `child' scope to denote something else -// Line: 15 +public delegate void Hello (Test test); -class C +public class Test { - public void Foo (int i, int v) - { - switch (i) { - case 1: - if (v > 0) { - int res = 1; - } - break; - case 2: - int res = 2; - break; - } - } -} - - // CS0136: A local variable named `i' cannot be declared in this scope because it would give a different meaning to `i', which is already used in a `parent or current' scope to denote something else -// Line: 10 - -using System; + public void Whatever () + { } -class T -{ - public void Foo (int i) + static void Main () { - Action<int> v = x => { int i = 9; }; + Hello hello = delegate (Test test) { + Test t = test; + t.Whatever (); + }; + Test t = new Test (); + hello (t); } } // CS0136: A local variable named `t' cannot be declared in this scope because it would give a different meaning to `t', which is already used in a `parent or current' scope to denote something else -// Line: 14 +// Line: 15 using System; public delegate void Hello (Test test); @@ -108,18 +129,26 @@ public void Whatever () { } - static void RunIt (Test t) + static void Main () { + Test t = new Test (); Hello hello = delegate (Test t) { t.Whatever (); }; hello (t); } +} + + // CS0136: A local variable named `v' cannot be declared in this scope because it would give a different meaning to `v', which is already used in a `parent or current' scope to denote something else +// Line: 13 - static void Main () +using System.Linq; + +public class Test +{ + public static void Main () { - Test t = new Test (); - RunIt (t); + var l = from v in "abcd" select (v => v); } } @@ -129,30 +158,14 @@ /usr/lib/monodoc/sources/cs-errors.zip/CS0139 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0139 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0139 2035-09-30 19:00:50.000000000 +0000 @@ -3,36 +3,13 @@ CS0139 // CS0139: No enclosing loop out of which to break or continue -// Line: 9 - -class Foo { - static void Main () - { - try {} - finally { - continue; - } - } -} - - - // CS0139: No enclosing loop out of which to break or continue -// Line: 6 -class X { - void A () - { - continue; - } -} - - // CS0139: No enclosing loop out of which to break or continue // Line: 8 class Foo { static void Main () { try { - continue; + break; } finally { throw new System.Exception (); } @@ -40,13 +17,12 @@ } // CS0139: No enclosing loop out of which to break or continue -// Line: 9 +// Line: 8 class Foo { static void Main () { try { - } catch { continue; } finally { throw new System.Exception (); @@ -72,12 +48,13 @@ // CS0139: No enclosing loop out of which to break or continue -// Line: 8 +// Line: 9 class Foo { static void Main () { try { + } catch { break; } finally { throw new System.Exception (); @@ -91,15 +68,38 @@ class Foo { static void Main () { + try {} + finally { + continue; + } + } +} + + + // CS0139: No enclosing loop out of which to break or continue +// Line: 9 + +class Foo { + static void Main () + { try { } catch { - break; + continue; } finally { throw new System.Exception (); } } } + // CS0139: No enclosing loop out of which to break or continue +// Line: 6 +class X { + void A () + { + continue; + } +} + // CS0139: No enclosing loop out of which to break or continue // Line: 9 /usr/lib/monodoc/sources/cs-errors.zip/CS0144 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0144 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0144 2035-09-30 19:00:50.000000000 +0000 @@ -2,17 +2,6 @@ CS0144 - // CS0144: Cannot create an instance of the abstract class or interface `ITest' -// Line: 9 -// Compiler options: -r:CS0144-3-lib.dll - -public class SampleClass { - public void Main () - { - ITest modelo; - modelo= new ITest (); - } -} // CS0144: Cannot create an instance of the abstract class or interface `X' // Line: 11 interface X { @@ -41,5 +30,16 @@ } } + // CS0144: Cannot create an instance of the abstract class or interface `ITest' +// Line: 9 +// Compiler options: -r:CS0144-3-lib.dll + +public class SampleClass { + public void Main () + { + ITest modelo; + modelo= new ITest (); + } +} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0146 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0146 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0146 2035-09-30 19:00:50.000000000 +0000 @@ -2,27 +2,12 @@ CS0146 - // CS0146: Circular base class dependency involving `Baz' and `Foo.Bar' + // CS0146: Circular base class dependency involving `Foo' and `Foo.Bar' // Line: 5 -class Foo : Baz { +class Foo : Foo.Bar { public class Bar {} } -class Baz : Foo.Bar {} - - // CS0146: Circular base class dependency involving `B' and `A' -// Line: 7 - -class A : B { -} - -class B : A { -} - - // CS0146: Circular base class dependency involving `A' and `A' -// Line: 4 - -class A : A {} // CS0146: Circular base class dependency involving `Generic<P>.Status' and `Generic<P>.Status' // Line: 6 @@ -37,6 +22,19 @@ } } + // CS0146: Circular base class dependency involving `C' and `A' +// Line: 4 + +class A : B +{ } + +class B : C +{ } + +class C : A +{ } + + // CS0146: Circular base class dependency involving `B<T>' and `A<float>' // Line: 8 @@ -53,25 +51,27 @@ { } } - // CS0146: Circular base class dependency involving `Foo' and `Foo.Bar' + // CS0146: Circular base class dependency involving `B' and `A' +// Line: 7 + +class A : B { +} + +class B : A { +} + + // CS0146: Circular base class dependency involving `Baz' and `Foo.Bar' // Line: 5 -class Foo : Foo.Bar { +class Foo : Baz { public class Bar {} } +class Baz : Foo.Bar {} - // CS0146: Circular base class dependency involving `C' and `A' + // CS0146: Circular base class dependency involving `A' and `A' // Line: 4 -class A : B -{ } - -class B : C -{ } - -class C : A -{ } - +class A : A {} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0149 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0149 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0149 2035-09-30 19:00:50.000000000 +0000 @@ -3,28 +3,28 @@ CS0149 // CS0149: Method name expected -// Line: 10 +// Line: 8 -delegate void D (); +delegate void TestDelegate(); public class MainClass { public static void Main () { - D delegateInstance = new D (Main, null); + TestDelegate delegateInstance = new TestDelegate (); } } // CS0149: Method name expected -// Line: 8 +// Line: 10 -delegate void TestDelegate(); +delegate void D (); public class MainClass { public static void Main () { - TestDelegate delegateInstance = new TestDelegate (); + D delegateInstance = new D (Main, null); } } /usr/lib/monodoc/sources/cs-errors.zip/CS0150 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0150 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0150 2035-09-30 19:00:50.000000000 +0000 @@ -3,6 +3,21 @@ CS0150 // CS0150: A constant value is expected +// Line : 12 + +using System; + +public class Blah { + + public static void Main () + { + int foo = 6; + + int [] i = new int [foo] { 0, 1, 2, 3, 4, 5 }; + } +} + + // CS0150: A constant value is expected // Line : 14 using System; @@ -47,20 +62,5 @@ var s = $"{1,Arg()}"; } } - // CS0150: A constant value is expected -// Line : 12 - -using System; - -public class Blah { - - public static void Main () - { - int foo = 6; - - int [] i = new int [foo] { 0, 1, 2, 3, 4, 5 }; - } -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0151 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0151 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0151 2035-09-30 19:00:50.000000000 +0000 @@ -2,65 +2,37 @@ CS0151 - // CS0151: A switch expression of type `Y' cannot be converted to an integral type, bool, char, string, enum or nullable type -// Line: 28 + // CS0151: A switch expression of type `S1?' cannot be converted to an integral type, bool, char, string, enum or nullable type +// Line: 25 +// Compiler options: -langversion:5 -class Y { - byte b; - - public static implicit operator int (Y i) - { - return i.b; - } +using System; - public static implicit operator byte (Y i) +struct S1 +{ + public static implicit operator int? (S1? s) { - return i.b; + throw new ApplicationException (); } - public Y (byte b) - { - this.b = b; - } -} - -class X { - static void Main () + public static implicit operator int (S1? s) { - Y y = new Y (1); - - switch (y){ - case 0: - break; - case 1: - break; - } - - int a = y; + throw new ApplicationException (); } } - - // CS0151: A switch expression of type `Y' cannot be converted to an integral type, bool, char, string, enum or nullable type -// Line: 13 -class Y { - byte b; -} - -class X { - static void Main () +class C +{ + public static int Main () { - Y y = new Y (); - - switch (y){ - case 0: - break; - case 1: - break; + S1? s1 = new S1 (); + switch (s1) + { + default: + return 1; } } -} - +} // CS0151: A switch expression of type `X?' cannot be converted to an integral type, bool, char, string, enum or nullable type // Line: 15 @@ -101,36 +73,64 @@ } } - // CS0151: A switch expression of type `S1?' cannot be converted to an integral type, bool, char, string, enum or nullable type -// Line: 25 -// Compiler options: -langversion:5 + // CS0151: A switch expression of type `Y' cannot be converted to an integral type, bool, char, string, enum or nullable type +// Line: 13 -using System; +class Y { + byte b; +} -struct S1 -{ - public static implicit operator int? (S1? s) +class X { + static void Main () { - throw new ApplicationException (); + Y y = new Y (); + + switch (y){ + case 0: + break; + case 1: + break; + } } +} + + // CS0151: A switch expression of type `Y' cannot be converted to an integral type, bool, char, string, enum or nullable type +// Line: 28 - public static implicit operator int (S1? s) +class Y { + byte b; + + public static implicit operator int (Y i) { - throw new ApplicationException (); + return i.b; } + + public static implicit operator byte (Y i) + { + return i.b; + } + + public Y (byte b) + { + this.b = b; + } } -class C -{ - public static int Main () +class X { + static void Main () { - S1? s1 = new S1 (); - switch (s1) - { - default: - return 1; + Y y = new Y (1); + + switch (y){ + case 0: + break; + case 1: + break; } + + int a = y; } -} +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0152 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0152 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0152 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,23 @@ CS0152 + // CS0152: The label `case 0:' already occurs in this switch statement +// Line: 13 + +// https://bugzilla.novell.com/show_bug.cgi?id=363791 + +class Test { + enum Foo { MUL, JL } + static Foo f; + public static void Main () + { + switch (f) { + case Foo.MUL: break; + case Foo.MUL: break; + } + } +} + // CS0152: The label `case 2:' already occurs in this switch statement // Line: 19 @@ -40,22 +57,5 @@ } } - // CS0152: The label `case 0:' already occurs in this switch statement -// Line: 13 - -// https://bugzilla.novell.com/show_bug.cgi?id=363791 - -class Test { - enum Foo { MUL, JL } - static Foo f; - public static void Main () - { - switch (f) { - case Foo.MUL: break; - case Foo.MUL: break; - } - } -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0154 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0154 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0154 2035-09-30 19:00:50.000000000 +0000 @@ -2,28 +2,6 @@ CS0154 - // CS0154: The property or indexer `A.this[int]' cannot be used in this context because it lacks the `get' accessor -// Line: 18 - -public class A -{ - public int this[int i] { set { } } -} - -public class B : A -{ - public int this[string i] { get { return 9; } } -} - -class Test -{ - public static void Main () - { - int i = new B ()[1]; - } -} - - // CS0154: The property or indexer `B.Foo' cannot be used in this context because it lacks the `get' accessor // Line: 13 // this is bug 55780. @@ -39,22 +17,6 @@ System.Console.WriteLine (new B ().Foo); } } - // CS0154: The property or indexer `Test.this[bool]' cannot be used in this context because it lacks the `get' accessor -// Line: 13 - -class Test -{ - public int this[bool b] { set {} } -} - -class C -{ - public static void Main () - { - int i = new Test()[false]; - } -} - // CS0154: The property or indexer `BugReport.MyProperty' cannot be used in this context because it lacks the `get' accessor // Line: 16 @@ -99,5 +61,43 @@ } + // CS0154: The property or indexer `A.this[int]' cannot be used in this context because it lacks the `get' accessor +// Line: 18 + +public class A +{ + public int this[int i] { set { } } +} + +public class B : A +{ + public int this[string i] { get { return 9; } } +} + +class Test +{ + public static void Main () + { + int i = new B ()[1]; + } +} + + + // CS0154: The property or indexer `Test.this[bool]' cannot be used in this context because it lacks the `get' accessor +// Line: 13 + +class Test +{ + public int this[bool b] { set {} } +} + +class C +{ + public static void Main () + { + int i = new Test()[false]; + } +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0155 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0155 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0155 2035-09-30 19:00:50.000000000 +0000 @@ -5,24 +5,6 @@ // CS0155: The type caught or thrown must be derived from System.Exception // Line: 9 -class X -{ - public int Test () => throw ""; -} - - // CS0155: The type caught or thrown must be derived from System.Exception -// Line: 7 -class X { - static void Main () - { - int a = 9; - throw a; - } -} - - // CS0155: The type caught or thrown must be derived from System.Exception -// Line: 9 - class Test { public static void Main () @@ -47,6 +29,14 @@ // CS0155: The type caught or thrown must be derived from System.Exception +// Line: 9 + +class X +{ + public int Test () => throw ""; +} + + // CS0155: The type caught or thrown must be derived from System.Exception // Line: 8 class X { static void Main () @@ -58,5 +48,15 @@ } } + // CS0155: The type caught or thrown must be derived from System.Exception +// Line: 7 +class X { + static void Main () + { + int a = 9; + throw a; + } +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0157 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0157 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0157 2035-09-30 19:00:50.000000000 +0000 @@ -3,19 +3,20 @@ CS0157 // CS0157: Control cannot leave the body of a finally clause -// Line: 10 +// Line: 11 -class Foo { - static void Main () { int i; foo (out i); } - static void foo (out int i) +class T { + static void Main () { - try {} - finally { - return; + while (true) { + try { + System.Console.WriteLine ("trying"); + } finally { + break; + } } } -} - +} // CS0157: Control cannot leave the body of a finally clause // Line: 11 @@ -32,19 +33,6 @@ } } // CS0157: Control cannot leave the body of a finally clause -// Line: 9 - -class X { - void A () - { - try { - } finally { - return; - } - } -} - - // CS0157: Control cannot leave the body of a finally clause // Line: 12 class T { @@ -80,19 +68,31 @@ } } // CS0157: Control cannot leave the body of a finally clause -// Line: 11 +// Line: 9 -class T { - static void Main () +class X { + void A () { - while (true) { - try { - System.Console.WriteLine ("trying"); - } finally { - break; - } + try { + } finally { + return; } } -} +} + + // CS0157: Control cannot leave the body of a finally clause +// Line: 10 + +class Foo { + static void Main () { int i; foo (out i); } + static void foo (out int i) + { + try {} + finally { + return; + } + } +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0158 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0158 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0158 2035-09-30 19:00:50.000000000 +0000 @@ -2,20 +2,6 @@ CS0158 - // CS0158: The label `start' shadows another label by the same name in a contained scope -// Line: 9 - -class ClassMain { - public static void Main() { - start: - { - start: - goto start; - } - } -} - - // CS0158: The label `a' shadows another label by the same name in a contained scope // Line: 11 @@ -34,36 +20,19 @@ } } - // CS0158: The label `Foo' shadows another label by the same name in a contained scope -// Line: 17 -using System; - -public delegate void Hello (Test test); - -public class Test -{ - public void Whatever () - { } - - static void RunIt (Test t) - { - Hello hello = delegate (Test test) { - Foo: - Hello hello2 = delegate (Test test2) { - Foo: - test2.Whatever (); - }; - hello2 (test); - }; - hello (t); - } + // CS0158: The label `start' shadows another label by the same name in a contained scope +// Line: 9 - static void Main () - { - Test t = new Test (); - RunIt (t); - } +class ClassMain { + public static void Main() { + start: + { + start: + goto start; + } + } } + // CS0158: The label `Foo' shadows another label by the same name in a contained scope // Line: 17 @@ -129,6 +98,37 @@ // CS0158: The label `Foo' shadows another label by the same name in a contained scope // Line: 17 +using System; + +public delegate void Hello (Test test); + +public class Test +{ + public void Whatever () + { } + + static void RunIt (Test t) + { + Hello hello = delegate (Test test) { + Foo: + Hello hello2 = delegate (Test test2) { + Foo: + test2.Whatever (); + }; + hello2 (test); + }; + hello (t); + } + + static void Main () + { + Test t = new Test (); + RunIt (t); + } +} + + // CS0158: The label `Foo' shadows another label by the same name in a contained scope +// Line: 17 using System; public delegate void Hello (Test test); /usr/lib/monodoc/sources/cs-errors.zip/CS0159 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0159 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0159 2035-09-30 19:00:50.000000000 +0000 @@ -17,73 +17,78 @@ } } - // CS0159: The label `case null:' could not be found within the scope of the goto statement -// Line: 1 + // CS0159: The label `case 20:' could not be found within the scope of the goto statement +// Line: 13 class y { + enum X { A = 1, B = 1, C = 1 } + static void Main () { - string x = null; + int x = 1; switch (x){ - case "": goto case null; + case 1: break; + case 2: goto case 20; } } } - // CS0159: The label `default:' could not be found within the scope of the goto statement -// Line: 10 - -class X { - - static int m (int n) - { - switch (n){ - case 0: - goto default; - - case 1: - return 1; - } + // CS0159: The label `a:' could not be found within the scope of the goto statement +// Line: 9 - return 10; - } - +class Foo { static void Main () { - m (1); + int i = 9; + goto a; + do { + a: + throw new System.Exception ("huh?"); + } while (i != 9); } } // CS0159: The label `a:' could not be found within the scope of the goto statement -// Line: 9 +// Line: 8 class Foo { static void Main () { int i = 9; goto a; - do { + if (i == 9) { a: throw new System.Exception ("huh?"); - } while (i != 9); + } } } - // CS0159: The label `case 20:' could not be found within the scope of the goto statement -// Line: 13 + // CS0159: The label `skip:' could not be found within the scope of the goto statement +// Line: 9 -class y { - enum X { A = 1, B = 1, C = 1 } +class Foo { + static void Main () + { + try {} + finally { + goto skip; + } + } +} + + // CS0159: The label `case null:' could not be found within the scope of the goto statement +// Line: 1 + +class y { static void Main () { - int x = 1; + string x = null; switch (x){ - case 1: break; - case 2: goto case 20; + case "": goto case null; } } } @@ -107,32 +112,27 @@ } - // CS0159: The label `skip:' could not be found within the scope of the goto statement -// Line: 9 + // CS0159: The label `default:' could not be found within the scope of the goto statement +// Line: 10 -class Foo { - static void Main () +class X { + + static int m (int n) { - try {} - finally { - goto skip; - } - } -} + switch (n){ + case 0: + goto default; - - // CS0159: The label `a:' could not be found within the scope of the goto statement -// Line: 8 + case 1: + return 1; + } -class Foo { + return 10; + } + static void Main () { - int i = 9; - goto a; - if (i == 9) { - a: - throw new System.Exception ("huh?"); - } + m (1); } } /usr/lib/monodoc/sources/cs-errors.zip/CS0160 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0160 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0160 2035-09-30 19:00:50.000000000 +0000 @@ -30,10 +30,9 @@ public static void Main() { try { } catch (System.Exception) { } - catch (System.ApplicationException) { } + catch (System.Exception) { } } } - // CS0160: A previous catch clause already catches all exceptions of this or a super type `System.Exception' // Line: 8 @@ -42,9 +41,10 @@ public static void Main() { try { } catch (System.Exception) { } - catch (System.Exception) { } + catch (System.ApplicationException) { } } } + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0161 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0161 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0161 2035-09-30 19:00:50.000000000 +0000 @@ -2,16 +2,6 @@ CS0161 - // CS0161: `A.Main()': not all code paths return a value -// Line: 6 - -class A -{ - public static int Main () - { - } -} - // CS0161: `A.Test()': not all code paths return a value // Line: 8 @@ -45,5 +35,15 @@ } + // CS0161: `A.Main()': not all code paths return a value +// Line: 6 + +class A +{ + public static int Main () + { + } +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0162 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0162 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0162 2035-09-30 19:00:50.000000000 +0000 @@ -6,71 +6,53 @@ // Line: 12 // Compiler options: -warnaserror -warn:2 -class Program +using System; + +class X { - static int Main () - { - int ctc_f = 0; + void Test () + { + var x = true ? throw new NullReferenceException () : 1; + x = 2; + return; + } - if ((++ctc_f == 0 && false)) { - return 1; - } - - return 0; + static void Main () + { } } - // CS0162: Unreachable code detected -// Line: 12 +// Line: 10 // Compiler options: -warnaserror using System; -public class Driver +class C { - public static void Main () + void Test () { - int yyTop = 0; - for (; ; ++yyTop) { - if (yyTop > 0) - break; - else - return; + return; + const int a = 0; + if (a > 0) { + int x = a + 20; + return; } } -} - - +} // CS0162: Unreachable code detected -// Line: 9 +// Line: 12 // Compiler options: -warnaserror -warn:2 -class Foo { - static void Main () - { - goto skip; - a: - goto a; - skip: - return; - } -} - - // CS0162: Unreachable code detected -// Line: 9 -// Compiler options: -warnaserror -warn:2 +using System; -class Foo { - static void Main () - { - goto skip; - a: - throw new System.Exception (); - goto a; - skip: - return; - } +class E +{ + public void Method (int i) + { + throw new ArgumentNullException (); + Console.WriteLine ("Once upon a time.."); + } } // CS0162: Unreachable code detected @@ -92,21 +74,6 @@ class XXXX { static void Main () {} } // CS0162: Unreachable code detected -// Line: 12 -// Compiler options: -warnaserror -warn:2 - -using System; - -class E -{ - public void Method<T> () where T : class - { - if (default (T) != null) - throw new ArgumentNullException (); - } -} - - // CS0162: Unreachable code detected // Line: 10 // Compiler options: -warnaserror -warn:2 @@ -120,94 +87,106 @@ } // CS0162: Unreachable code detected -// Line: 18 +// Line: 9 // Compiler options: -warnaserror -warn:2 +class Foo { + static void Main () + { + goto skip; + a: + throw new System.Exception (); + goto a; + skip: + return; + } +} + + // CS0162: Unreachable code detected +// Line: 12 +// Compiler options: -warnaserror + using System; -class C { - public enum Flags { - Removed = 0, - Public = 1 +public class Driver +{ + public static void Main () + { + int yyTop = 0; + for (; ; ++yyTop) { + if (yyTop > 0) + break; + else + return; + } } +} - public Flags _enumFlags; - - internal void Close() - { - if ((Flags.Removed & _enumFlags) != (Flags.Removed & _enumFlags)) - Console.WriteLine ("error"); - } + + // CS0162: Unreachable code detected +// Line: 9 +// Compiler options: -warnaserror -warn:2 - static void Main () {} +class Foo { + static void Main () + { + goto skip; + a: + goto a; + skip: + return; + } } // CS0162: Unreachable code detected -// Line: 11 +// Line: 9 // Compiler options: -warnaserror -warn:2 class Error { /usr/lib/monodoc/sources/cs-errors.zip/CS0165 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0165 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0165 2035-09-30 19:00:50.000000000 +0000 @@ -2,159 +2,249 @@ CS0165 - // CS0165: Use of unassigned local variable `a' -// Line: 14 + // CS0165: Use of unassigned local variable `res' +// Line: 11 class X { - public static void Main () + public static int Main () { - int i = 3; - switch (i) { - case 1: - float a = 7.0f; - break; - default: - float b = a + 99.0f; - break; - } + string[] a = null; + int res; + var m = a?[res = 3]; + System.Console.WriteLine (res); + return 0; } } - // Cs0165: Use of unassigned local variable `c' -// Line: 9 + // CS0165: Use of unassigned local variable `service' +// Line: 17 +using System; -public class C +public class Foo { - public static void Main () + static void Main () { - C c; - c.ToString (); + int service; + + foreach (char b in "hola") { + Console.WriteLine (b); + service = 1; + break; + } + + Console.WriteLine (service); } } - // CS0165: Use of unassigned local variable `x' -// Line: 21 + // CS0165: Use of unassigned local variable `a' +// Line: 9 using System; -class X -{ - static bool Foo (out int x) +class C { + public static int test5 () { - x = 5; - return false; - } + int a; - public static int Main () - { - int x; try { - throw new ApplicationException (); - } catch when (Foo (out x)) { - return 1; - } catch when (x > 0) { - return 0; + Console.WriteLine ("TRY"); + a = 8; + } catch { + a = 9; + } finally { + // CS0165 + Console.WriteLine (a); } + + return a; } -} - // CS0165: Use of unassigned local variable `x' -// Line: 17 +} + + // CS0165: Use of unassigned local variable `trial' +// Line: 18 using System; -class Program +class Test { - static int Main () + public static void Main (string[] args) { - int foo = 9; - int x; + bool trial; + string action = "add_trial"; - switch (foo) { - case 1: - x = 1; - gotoTarget: - { - Console.WriteLine (x); - } + switch (action) { + case "add_trial": + trial = true; + goto case "add_to_project"; + case "add_to_project": + Console.WriteLine (trial); + break; + case "test": break; - default: - { - if (foo != 0) { - goto gotoTarget; - } - - break; - } } - - return 1; } -} +} + // CS0165: Use of unassigned local variable `s' +// Line: 16 - - // CS0165: Use of unassigned local variable `y' -// Line: 12 +using System; -class test +public class Test { - static void Main(string[] args) + public int i; + + public void Hoge () { - { - int x = 8; - } - string y; - args[0] = y; // use of unassigned variable y + if (i > 0) + goto Fuga; + string s = "defined later"; + Fuga: + Console.WriteLine (s); } } // CS0165: Use of unassigned local variable `a' -// Line: 14 +// Line: 13 -class C +using System; + +class Program +{ + public static void Main () + { + int a; + string s = ""; + var res = s == null || ((a = 1) > 0); + Console.WriteLine (a); + } +} + + // CS0165: Use of unassigned local variable `j' +// Line: 10 + +class Test { static void Main () /usr/lib/monodoc/sources/cs-errors.zip/CS0168 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0168 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0168 2035-09-30 19:00:50.000000000 +0000 @@ -14,18 +14,6 @@ return null; } } - // CS0168: The variable `p' is declared but never used -// Line: 9 -// Compiler options: -warn:3 -warnaserror - -class Main -{ - public void Method (int i) - { - long p; - } -} - // CS0168: The variable `e' is declared but never used // Line: 10 // Compiler options: -warn:3 -warnaserror @@ -41,5 +29,17 @@ } + // CS0168: The variable `p' is declared but never used +// Line: 9 +// Compiler options: -warn:3 -warnaserror + +class Main +{ + public void Method (int i) + { + long p; + } +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0169 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0169 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0169 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,16 @@ CS0169 + // CS0169: The private field `X.x' is never used +// Line: 4 +// Compiler options: -warnaserror -warn:4 + +class X { + int x; + + static void Main () {} +} + // CS0169: The private field `Foo.Bar.a' is never used // Line: 9 // Compiler options: -warnaserror -warn:4 @@ -14,15 +24,5 @@ } } - // CS0169: The private field `X.x' is never used -// Line: 4 -// Compiler options: -warnaserror -warn:4 - -class X { - int x; - - static void Main () {} -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0170 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0170 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0170 2035-09-30 19:00:50.000000000 +0000 @@ -2,26 +2,6 @@ CS0170 - // CS0170: Use of possibly unassigned field `a' -// Line: 17 - -using System; - -public struct S -{ - public Action a; -} - - -public class Test -{ - static void Main () - { - S s; - s.a += delegate { }; - } -} - // CS0170: Use of possibly unassigned field `c' // Line: 21 @@ -71,6 +51,40 @@ } // CS0170: Use of possibly unassigned field `c' +// Line: 11 + +struct A +{ + public long b; + public float c; + + public A (int foo) + { + b = (long) c; + c = 1; + } +} + // CS0170: Use of possibly unassigned field `a' +// Line: 17 + +using System; + +public struct S +{ + public Action a; +} + + +public class Test +{ + static void Main () + { + S s; + s.a += delegate { }; + } +} + + // CS0170: Use of possibly unassigned field `c' // Line: 24 public class C @@ -122,19 +136,5 @@ } } - // CS0170: Use of possibly unassigned field `c' -// Line: 11 - -struct A -{ - public long b; - public float c; - - public A (int foo) - { - b = (long) c; - c = 1; - } -} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0171 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0171 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0171 2035-09-30 19:00:50.000000000 +0000 @@ -2,39 +2,22 @@ CS0171 - // CS0171: Field `S.value' must be fully assigned before control leaves the constructor + // CS0171: Field `Test.x' must be fully assigned before control leaves the constructor // Line: 10 -using System; - -struct S +public struct Test { - internal string value; + internal int x; - public S (int arg) + public Test (int x) { - if (arg > 0) { - return; - } - - throw new ApplicationException (); + X = x; } -} - - // CS0171: Field `S<TKey>.key' must be fully assigned before control leaves the constructor -// Line: 13 - -public struct S<TKey> { - internal TKey key; - public TKey Key { - get { return key; } - private set { key = value; } - } - - public S (TKey key) + public int X { - Key = key; + get { return x; } + set { x = value; } } } @@ -61,6 +44,20 @@ } } + // CS0171: Field `S.ev' must be fully assigned before control leaves the constructor +// Line: 12 + +using System; + +struct S +{ + public event EventHandler ev; + + public S (int i) + { + } +} + // CS0171: Field `X.x' must be fully assigned before control leaves the constructor // Line: struct X { @@ -73,6 +70,23 @@ static void Main () {} } + // CS0171: Field `S<TKey>.key' must be fully assigned before control leaves the constructor +// Line: 13 + +public struct S<TKey> { + internal TKey key; + + public TKey Key { + get { return key; } + private set { key = value; } + } + + public S (TKey key) + { + Key = key; + } +} + // CS0171: Field `S1.s2' must be fully assigned before control leaves the constructor // Line: 11 @@ -92,36 +106,22 @@ int field; } - // CS0171: Field `Test.x' must be fully assigned before control leaves the constructor + // CS0171: Field `S.value' must be fully assigned before control leaves the constructor // Line: 10 -public struct Test -{ - internal int x; - - public Test (int x) - { - X = x; - } - - public int X - { - get { return x; } - set { x = value; } - } -} - - // CS0171: Field `S.ev' must be fully assigned before control leaves the constructor -// Line: 12 - using System; struct S { - public event EventHandler ev; - - public S (int i) + internal string value; + + public S (int arg) { + if (arg > 0) { + return; + } + + throw new ApplicationException (); } } /usr/lib/monodoc/sources/cs-errors.zip/CS0173 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0173 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0173 2035-09-30 19:00:50.000000000 +0000 @@ -2,15 +2,24 @@ CS0173 - // CS0173: Type of conditional expression cannot be determined because there is no implicit conversion between `dynamic' and `void' -// Line: 19 + // CS0173: Type of conditional expression cannot be determined because there is no implicit conversion between `null' and `null' +// Line: 8 class X { - static void Main () + static void Main (string[] args) { - dynamic d = null; - dynamic t = true ? d : Main (); + bool b = args.Length > 0 ? null : null; + } +} + + // CS0173: Type of conditional expression cannot be determined because there is no implicit conversion between `int' and `null' +// Line: 29 + +public class MainClass { + public static void Main() { + bool result = false; + System.Console.WriteLine (result ? 1 : null); } } @@ -28,26 +37,6 @@ } } - // CS0173: Type of conditional expression cannot be determined because there is no implicit conversion between `throw expression' and `throw expression' -// Line: 8 - -class C -{ - public static void Test (bool b) - { - var s = b ? throw null : throw null; - } -} - // CS0173: Type of conditional expression cannot be determined because there is no implicit conversion between `int' and `null' -// Line: 29 - -public class MainClass { - public static void Main() { - bool result = false; - System.Console.WriteLine (result ? 1 : null); - } -} - // CS0173: Type of conditional expression cannot be determined because there is no implicit conversion between `null' and `null' // Line: 10 @@ -62,16 +51,27 @@ } } - // CS0173: Type of conditional expression cannot be determined because there is no implicit conversion between `null' and `null' -// Line: 8 + // CS0173: Type of conditional expression cannot be determined because there is no implicit conversion between `dynamic' and `void' +// Line: 19 class X { - static void Main (string[] args) + static void Main () { - bool b = args.Length > 0 ? null : null; + dynamic d = null; + dynamic t = true ? d : Main (); } } + // CS0173: Type of conditional expression cannot be determined because there is no implicit conversion between `throw expression' and `throw expression' +// Line: 8 + +class C +{ + public static void Test (bool b) + { + var s = b ? throw null : throw null; + } +} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0176 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0176 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0176 2035-09-30 19:00:50.000000000 +0000 @@ -20,6 +20,38 @@ } } + // CS0176: Static member `A.X' cannot be accessed with an instance reference, qualify it with a type name instead +// Line: 12 +using System; + +class A +{ + public static int X { get { return 2; } } +} + +class T + { + static void Main () + { + A T = new A (); + System.Console.WriteLine (T.X); + } +} + // CS0176: Static member `X.CONST' cannot be accessed with an instance reference, qualify it with a type name instead +// Line: 12 + +public class X { + public const double CONST = 1; +} + +public class Y: X { + + void D (X x) + { + double d = x.CONST; + } +} + // CS0176: Static member `A.Foo()' cannot be accessed with an instance reference, qualify it with a type name instead // Line: 21 @@ -45,21 +77,35 @@ } } - // CS0176: Static member `A.X' cannot be accessed with an instance reference, qualify it with a type name instead -// Line: 12 + // CS0176: Static member `MyClass.Start(string)' cannot be accessed with an instance reference, qualify it with a type name instead +// Line: 10 using System; -class A +class TestIt { - public static int X { get { return 2; } } + public static void Main() + { + MyClass p = new MyClass(); + p.Start ("hi"); + } } -class T - { - static void Main () +class MyClass +{ + public static void Start (string info) + { + } +} + + // CS0176: Static member `string.Empty' cannot be accessed with an instance reference, qualify it with a type name instead +// Line: 9 + +class X +{ + public static void Main () { - A T = new A (); - System.Console.WriteLine (T.X); + string y = null; + var x = y?.Empty; } } // CS0176: Static member `A.X' cannot be accessed with an instance reference, qualify it with a type name instead @@ -95,51 +141,5 @@ } } - // CS0176: Static member `MyClass.Start(string)' cannot be accessed with an instance reference, qualify it with a type name instead -// Line: 10 -using System; - -class TestIt -{ - public static void Main() - { - MyClass p = new MyClass(); - p.Start ("hi"); - } -} - -class MyClass -{ - public static void Start (string info) - { - } -} - - // CS0176: Static member `X.CONST' cannot be accessed with an instance reference, qualify it with a type name instead -// Line: 12 - -public class X { - public const double CONST = 1; -} - -public class Y: X { - - void D (X x) - { - double d = x.CONST; - } -} - - // CS0176: Static member `string.Empty' cannot be accessed with an instance reference, qualify it with a type name instead -// Line: 9 - -class X -{ - public static void Main () - { - string y = null; - var x = y?.Empty; - } -} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0177 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0177 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0177 2035-09-30 19:00:50.000000000 +0000 @@ -2,25 +2,94 @@ CS0177 - // CS0177: The out parameter `s' must be assigned to before control leaves the current method -// Line: 17 + // CS0177: The out parameter `x' must be assigned to before control leaves the current method +// Line: 6 -public class C +public class GotoWithOut { -} + public static void Test (bool cond, out int x) + { + if (cond) + { + goto Label2; + } + else + { + goto Label; + } + Label: + x = 0; + Label2: + return; + } +} + // CS0177: The out parameter `display' must be assigned to before control leaves the current method +// Line: 5 -public struct S -{ - public C c; +class ClassMain { + void Error(out bool display) { + } + + public static void Main() { + } } -public class Test + + // CS0177: The out parameter `baz' must be assigned to before control leaves the current method +// Line: 6 + +static class A { - void M (out S s) + public static void Foo (int i, out object baz) { - var xx = s.c; + switch (i) { + case 0: + baz = 1; + return; + } + } +} + // CS0177: The out parameter `f' must be assigned to before control leaves the current method +// Line: 5 + +class C { + public static void test3 (out float f) + { + try { + f = 8.53F; + } catch { + return; + } } } + + + // CS0177: The out parameter `a' must be assigned to before control leaves the current method +// Line: 21 + +using System; + +class OutputParam +{ + public static void Main(string[] args) + { + int a; + Method(out a); + Console.WriteLine(a); + } + + public static void Method(out int a) + { + int b; + + try { + b = 5; + return; + } catch (Exception) { throw; } + + a = b; + } +} // CS0177: The out parameter `o' must be assigned to before control leaves the current method // Line: 4 @@ -30,39 +99,78 @@ { } - // CS0177: The out parameter `display' must be assigned to before control leaves the current method -// Line: 5 + // CS0177: The out parameter `output' must be assigned to before control leaves the current method +// Line: 10 -class ClassMain { - void Error(out bool display) { - } - - public static void Main() { - } +class Test +{ + delegate T Creator<T> (); + + static bool TryAction<T> (Creator<T> creator, out T output) where T : struct + { + return false; + } } + + // CS0177: The out parameter `a' must be assigned to before control leaves the current method +// Line: 21 + +using System; + +class OutputParam +{ + public static void Main(string[] args) + { + int a; + Method(out a); + Console.WriteLine(a); + } + + public static void Method(out int a) + { + int b; + + try { + b = 5; + } catch (Exception) { return; } + a = b; + } +} - // CS0177: The out parameter `x' must be assigned to before control leaves the current method -// Line: 6 + // CS0177: The out parameter `arg' must be assigned to before control leaves the current method +// Line: 12 -public class GotoWithOut +class C { - public static void Test (bool cond, out int x) + delegate void D (string s, out int arg); + + public static void Main () { - if (cond) - { - goto Label2; - } - else + D d = delegate (string s, out int arg) { - goto Label; - } - Label: - x = 0; - Label2: - return; + return; + }; } -} +} + + // CS0177: The out parameter `output' must be assigned to before control leaves the current method +// Line: 8 + +class Test +{ + static bool TryAction<T> (out T output) + { + return false; + } + /usr/lib/monodoc/sources/cs-errors.zip/CS0181 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0181 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0181 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,23 @@ CS0181 + // CS0181: Attribute constructor parameter has type `System.Attribute', which is not a valid attribute parameter type +// Line: 6 + +using System; + +[BAttribute (null)] +public class BAttribute : Attribute +{ + public BAttribute (Attribute a) + { + } + + public static void Main () + { + } +} + // CS0181: Attribute constructor parameter has type `int[,]', which is not a valid attribute parameter type // Line: 13 @@ -38,23 +55,6 @@ class Test { } - // CS0181: Attribute constructor parameter has type `System.Attribute', which is not a valid attribute parameter type -// Line: 6 - -using System; - -[BAttribute (null)] -public class BAttribute : Attribute -{ - public BAttribute (Attribute a) - { - } - - public static void Main () - { - } -} - // CS0181: Attribute constructor parameter has type `int[][]', which is not a valid attribute parameter type // Line: 13 /usr/lib/monodoc/sources/cs-errors.zip/CS0182 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0182 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0182 2035-09-30 19:00:50.000000000 +0000 @@ -3,13 +3,24 @@ CS0182 // CS0182: An attribute argument must be a constant expression, typeof expression or array creation expression -// Line: 8 +// Line: 14 +using System; +using System.Reflection; -using System.Runtime.InteropServices; +[AttributeUsage (AttributeTargets.All)] +public class MineAttribute : Attribute { + public MineAttribute (object t) + { + } +} -class X { - [DllImport ("1" + 9)] - extern static void Blah (); + +[Mine(new Type [2,2])] +public class Foo { + public static int Main () + { + return 0; + } } // CS0182: An attribute argument must be a constant expression, typeof expression or array creation expression @@ -17,49 +28,77 @@ using System; -class TestAttribute: Attribute +class MyAttribute : Attribute { - public TestAttribute (object o) {} + public MyAttribute (object s) + { + } } -public class E +[My (decimal.MaxValue)] +class X { - [Test (new int[][] { null })] - public static void Main () - { - System.Reflection.MethodBase.GetCurrentMethod().GetCustomAttributes (true); - } -} +} + + // CS0182: An attribute argument must be a constant expression, typeof expression or array creation expression +// Line: 8 + +using System.Runtime.InteropServices; + +class X { + [DllImport ("1" + 9)] + extern static void Blah (); +} + // CS0182: An attribute argument must be a constant expression, typeof expression or array creation expression // Line: 4 -[A (true is bool)] +[A (false ? new object () : null)] class AAttribute : System.Attribute { - public AAttribute (bool b) + public AAttribute (object value) { } } // CS0182: An attribute argument must be a constant expression, typeof expression or array creation expression -// Line: 13 +// Line: 10 -using System; +using System.Runtime.InteropServices; -class MyAttribute : Attribute { +class X { + static string dll = "some.dll"; + + [DllImport (dll)] + extern static void Blah (); +} + + // CS0182: An attribute argument must be a constant expression, typeof expression or array creation expression +// Line: 14 +using System; +using System.Reflection; - public MyAttribute (string s) +[AttributeUsage (AttributeTargets.All)] +public class MineAttribute : Attribute { + public MineAttribute (Type [] t) { } } -[My (null as string)] -class X { - static void Main () +[Mine(new Type [2])] +public class Foo { + public static int Main () { + return 0; } } + + + + + + // CS0182: An attribute argument must be a constant expression, typeof expression or array creation expression // Line: 6 @@ -69,15 +108,34 @@ [assembly: AssemblyKeyFile(string.Empty)] // CS0182: An attribute argument must be a constant expression, typeof expression or array creation expression -// Line: 10 +// Line: 13 -using System.Runtime.InteropServices; +using System; + +class MyAttribute : Attribute { + + public MyAttribute (string s) + { + } +} +[My (null as string)] class X { - static string dll = "some.dll"; - - [DllImport (dll)] - extern static void Blah (); + + static void Main () + { + } +} + + // CS0182: An attribute argument must be a constant expression, typeof expression or array creation expression +// Line: 4 + +[A (true is bool)] +class AAttribute : System.Attribute +{ + public AAttribute (bool b) + { + } } // CS0182: An attribute argument must be a constant expression, typeof expression or array creation expression @@ -98,56 +156,19 @@ using System; -class MyAttribute : Attribute -{ - public MyAttribute (object s) - { - } -} - -[My (decimal.MaxValue)] -class X +class TestAttribute: Attribute { + public TestAttribute (object o) {} } - - // CS0182: An attribute argument must be a constant expression, typeof expression or array creation expression -// Line: 4 -[A (false ? new object () : null)] -class AAttribute : System.Attribute +public class E { - public AAttribute (object value) - { - } -} - - // CS0182: An attribute argument must be a constant expression, typeof expression or array creation expression /usr/lib/monodoc/sources/cs-errors.zip/CS0183 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0183 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0183 2035-09-30 19:00:50.000000000 +0000 @@ -60,6 +60,20 @@ } } + // CS0183: The given expression is always of the provided (`object') type +// Line: 10 +// Compiler options: -warnaserror -warn:1 + +class X +{ + public void Foo () + { + int x = 1; + if (x is object) { + } + } +} + // CS0183: The given expression is always of the provided (`U') type // Line: 14 // Compiler options: -warnaserror @@ -77,19 +91,5 @@ } } - // CS0183: The given expression is always of the provided (`object') type -// Line: 10 -// Compiler options: -warnaserror -warn:1 - -class X -{ - public void Foo () - { - int x = 1; - if (x is object) { - } - } -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0184 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0184 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0184 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,18 @@ CS0184 + // CS0184: The given expression is never of the provided (`decimal') type +// Line: 7 +// Compiler options: -warnaserror -warn:1 + +class A +{ + static void Main () + { + System.Console.WriteLine (1 is decimal); + } +} + // CS0184: The given expression is never of the provided (`byte') type // Line: 13 // Compiler options: -warnaserror -warn:1 @@ -51,72 +63,50 @@ } } - // CS0184: The given expression is never of the provided (`B') type + // CS0184: The given expression is never of the provided (`T') type // Line: 9 // Compiler options: -warnaserror -warn:1 -class B +class X<T> where T : class { static void Foo () { - if (1 is B) { + if (1 is T) { } } } - // CS0184: The given expression is never of the provided (`int') type -// Line: 10 + // CS0184: The given expression is never of the provided (`bool') type +// Line: 13 // Compiler options: -warnaserror -warn:1 +using System; + class X { - public void Foo<T> () where T : class + void Foo () { - T t = default (T); - if (t is int) { + int? i = null; + + if (i is bool) { } } } - // CS0184: The given expression is never of the provided (`T') type -// Line: 9 + // CS0184: The given expression is never of the provided (`int') type +// Line: 10 // Compiler options: -warnaserror -warn:1 -class X<T> where T : class +class X { - static void Foo () + public void Foo<T> () where T : class { - if (1 is T) { + T t = default (T); + if (t is int) { } } } - // CS0184: The given expression is never of the provided (`object') type -// Line: 13 -// Compiler options: -warnaserror -warn:1 - -public class Test -{ - static void Foo () - { - } - - public static void Main() - { - bool b = Foo () is object; - } -} - - // CS0184: The given expression is never of the provided (`string') type -// Line: 7 -// Compiler options: -warnaserror -warn:1 - -class A { - static void Main () { - System.Console.WriteLine (null is string); - } -} - // CS0184: The given expression is never of the provided (`Y') type // Line: 10 // Compiler options: -warnaserror -warn:1 @@ -135,32 +125,42 @@ } } - // CS0184: The given expression is never of the provided (`bool') type -// Line: 13 + // CS0184: The given expression is never of the provided (`B') type +// Line: 9 // Compiler options: -warnaserror -warn:1 -using System; - -class X +class B { - void Foo () + static void Foo () { - int? i = null; - - if (i is bool) { + if (1 is B) { } } } - // CS0184: The given expression is never of the provided (`decimal') type + // CS0184: The given expression is never of the provided (`string') type // Line: 7 // Compiler options: -warnaserror -warn:1 -class A +class A { + static void Main () { + System.Console.WriteLine (null is string); + } +} + + // CS0184: The given expression is never of the provided (`object') type +// Line: 13 +// Compiler options: -warnaserror -warn:1 + +public class Test { - static void Main () - { - System.Console.WriteLine (1 is decimal); + static void Foo () + { + } + + public static void Main() + { + bool b = Foo () is object; } } /usr/lib/monodoc/sources/cs-errors.zip/CS0188 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0188 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0188 2035-09-30 19:00:50.000000000 +0000 @@ -3,36 +3,22 @@ CS0188 // CS0188: The `this' object cannot be used before all of its fields are assigned to -// Line: 8 - -struct Sample -{ - public Sample (int arg) - { - text = base.ToString (); - } - - internal string text; -} - // CS0188: The `this' object cannot be used before all of its fields are assigned to -// Line: 16 +// Line: 10 -struct Foo +struct B { - public int bar; - public int baz; + public int a; - public int Bar { - get { return bar; } + public B (int foo) + { + Test (this); + a = 1; } - public Foo (int baz) + static void Test (B b) { - this.baz = baz; - bar = Bar - 1; } -} - +} // CS0188: The `this' object cannot be used before all of its fields are assigned to // Line: 10 @@ -67,54 +53,43 @@ public int text; } // CS0188: The `this' object cannot be used before all of its fields are assigned to -// Line: 6 - -struct Sample { - public Sample(string text) { - Initialize(); - this.text = text; - } - - void Initialize() { - } - - public string text; -} - // CS0188: The `this' object cannot be used before all of its fields are assigned to -// Line: 10 +// Line: 16 -struct S +struct Foo { - public int x; - - S (dynamic d) - { - Foo (d); - x = 44; + public int bar; + public int baz; + + public int Bar { + get { return bar; } } - void Foo (int a) + public Foo (int baz) { + this.baz = baz; + bar = Bar - 1; } } // CS0188: The `this' object cannot be used before all of its fields are assigned to -// Line: 10 +// Line: 16 -struct B +struct Foo { - public int a; + public int bar; + public int baz; - public B (int foo) - { - Test (this); - a = 1; + public int this [int i] { + get { return bar; } } - static void Test (B b) + public Foo (int baz) { + this.baz = baz; + bar = this [2] - 1; } -} +} + // CS0188: The `this' object cannot be used before all of its fields are assigned to // Line: 10 @@ -132,23 +107,48 @@ } } // CS0188: The `this' object cannot be used before all of its fields are assigned to -// Line: 16 +// Line: 10 -struct Foo +struct S { - public int bar; - public int baz; - - public int this [int i] { - get { return bar; } + public int x; + + S (dynamic d) + { + Foo (d); + x = 44; } - public Foo (int baz) + void Foo (int a) { - this.baz = baz; - bar = this [2] - 1; } } + // CS0188: The `this' object cannot be used before all of its fields are assigned to +// Line: 6 + +struct Sample { + public Sample(string text) { + Initialize(); + this.text = text; + } + + void Initialize() { + } + + public string text; +} + // CS0188: The `this' object cannot be used before all of its fields are assigned to +// Line: 8 + +struct Sample +{ + public Sample (int arg) + { + text = base.ToString (); + } + + internal string text; +} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0190 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0190 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0190 2035-09-30 19:00:50.000000000 +0000 @@ -3,16 +3,6 @@ CS0190 // CS0190: The __arglist construct is valid only within a variable argument method -// Line: 8 - -public class Test -{ - public static void Foo () - { - object o = __arglist; - } -} - // CS0190: The __arglist construct is valid only within a variable argument method // Line: 11 public class Test @@ -34,5 +24,15 @@ Foo (__arglist ()); } } + // CS0190: The __arglist construct is valid only within a variable argument method +// Line: 8 + +public class Test +{ + public static void Foo () + { + object o = __arglist; + } +} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0193 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0193 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0193 2035-09-30 19:00:50.000000000 +0000 @@ -3,29 +3,29 @@ CS0193 // CS0193: The * or -> operator must be applied to a pointer -// Line: 10 +// Line: 9 // Compiler options: -unsafe -class C -{ - unsafe static void Foo (object o) +unsafe class X { + static void Main () { - bool x = false; - if (o is bool ? *x : null) { - } + int a = 0; + if (*a == 0) + return; } } // CS0193: The * or -> operator must be applied to a pointer -// Line: 9 +// Line: 10 // Compiler options: -unsafe -unsafe class X { - static void Main () +class C +{ + unsafe static void Foo (object o) { - int a = 0; - if (*a == 0) - return; + bool x = false; + if (o is bool ? *x : null) { + } } } /usr/lib/monodoc/sources/cs-errors.zip/CS0200 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0200 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0200 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,19 @@ CS0200 + // CS0200: Property or indexer `C.P' cannot be assigned to (it is read-only) +// Line: 10 + +class C +{ + public int P { get; } + + public void Foo () + { + P = 10; + } +} + // CS0200: Property or indexer `A.X' cannot be assigned to (it is read-only) // Line: 13 @@ -17,30 +30,20 @@ base.X = 1; } } - // CS0200: Property or indexer `MyClass.Type' cannot be assigned to (it is read-only) -// Line: 12 - -using System; - - public class MyClass - { - Type Type { get; } + // CS0200: Property or indexer `X.P' cannot be assigned to (it is read-only) +// Line: 13 - public void Test () - { - Type = typeof (string); +class X { + static int P { + get { + return 1; + } } -} - // CS0200: Property or indexer `C.S' cannot be assigned to (it is read-only) -// Line: 10 - -class C -{ - public static int S { get; } - public C () + static int Main () { - S = 3; + P = 10; + return 1; } } @@ -62,6 +65,33 @@ } } + // CS0200: Property or indexer `C.S' cannot be assigned to (it is read-only) +// Line: 10 + +class C +{ + public static int S { get; } + + public C () + { + S = 3; + } +} + + // CS0200: Property or indexer `MyClass.Type' cannot be assigned to (it is read-only) +// Line: 12 + +using System; + + public class MyClass + { + Type Type { get; } + + public void Test () + { + Type = typeof (string); + } +} // CS0200: Property or indexer `A.Counter' cannot be assigned to (it is read-only) // Line: 9 @@ -81,35 +111,5 @@ } } - // CS0200: Property or indexer `X.P' cannot be assigned to (it is read-only) -// Line: 13 - -class X { - static int P { - get { - return 1; - } - } - - static int Main () - { - P = 10; - return 1; - } -} - - // CS0200: Property or indexer `C.P' cannot be assigned to (it is read-only) -// Line: 10 - -class C -{ - public int P { get; } - - public void Foo () - { - P = 10; - } -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0201 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0201 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0201 2035-09-30 19:00:50.000000000 +0000 @@ -3,17 +3,6 @@ CS0201 // CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement -// Line: 9 - -public class X -{ - public static void Main () - { - return; - 1+1; - } -} - // CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement // Line: 7 class T { @@ -26,33 +15,67 @@ } // CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement -// Line: 8 +// Line: 13 -class MainClass +class C<T> { + static T Test () + { + return default (T); + } + public static void Main () { - for (int i = 0; i++; i < 8) { - } + Test ().Foo; } } + + // CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement +// Line: 7 +class T { + static string XX; + static void Main () { + T.XX; + } +} // CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement // Line: 10 -class TestClass +using System; + +class X { - delegate void test_delegate (int arg); + public static void Main () + { + new Func<int> (() => 0); + } +} + // CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement +// Line: 9 - public TestClass () +class D +{ + void Foo () { - test_delegate D = (b) => "a"; + System.Threading.Tasks.TaskFactory m = null; + m.StartNew (() => delegate { }); } } - // CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement +// Line: 9 + +public class X +{ + public static void Main () + { + return; + 1+1; + } +} + // CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement // Line: 11 using System; @@ -66,16 +89,6 @@ } // CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement -// Line: 7 - -class T { - static string XX; - static void Main () { - T.XX; - } -} - - // CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement // Line: 11 using System; @@ -92,26 +105,29 @@ // CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement // Line: 10 -using System; - -class X +class TestClass { - public static void Main () + delegate void test_delegate (int arg); + + public TestClass () { - new Func<int> (() => 0); + test_delegate D = (b) => "a"; } -} +} + + // CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement -// Line: 9 +// Line: 8 -class D +class MainClass { - void Foo () + public static void Main () { - System.Threading.Tasks.TaskFactory m = null; - m.StartNew (() => delegate { }); + for (int i = 0; i++; i < 8) { + } } } + // CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement // Line: 10 @@ -125,21 +141,5 @@ from s in "string" select s; } } - // CS0201: Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement -// Line: 13 - -class C<T> -{ - static T Test () - { - return default (T); - } - - public static void Main () - { - Test ().Foo; - } -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0202 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0202 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0202 2035-09-30 19:00:50.000000000 +0000 @@ -2,25 +2,6 @@ CS0202 - // CS0202: foreach statement requires that the return type `System.Collections.Generic.IEnumerable<string>' of `Test.GetEnumerator()' must have a suitable public MoveNext method and public Current property -// Line: 10 -using System; -using System.Collections.Generic; - -class Test { - static void Main () - { - Test obj = new Test (); - foreach (string s in obj) { - } - } - - public IEnumerable<string> GetEnumerator () - { - return null; - } -} - // CS0202: foreach statement requires that the return type `Foo.E[]' of `Foo.P.GetEnumerator()' must have a suitable public MoveNext method and public Current property // Line: 18 @@ -45,5 +26,24 @@ } } + // CS0202: foreach statement requires that the return type `System.Collections.Generic.IEnumerable<string>' of `Test.GetEnumerator()' must have a suitable public MoveNext method and public Current property +// Line: 10 +using System; +using System.Collections.Generic; + +class Test { + static void Main () + { + Test obj = new Test (); + foreach (string s in obj) { + } + } + + public IEnumerable<string> GetEnumerator () + { + return null; + } +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0205 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0205 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0205 2035-09-30 19:00:50.000000000 +0000 @@ -2,45 +2,29 @@ CS0205 - // CS0205: Cannot call an abstract base member `A.Foobar()' -// Line: 21 - -using System; - -public abstract class A -{ - public abstract void Foobar (); -} - -public class B: A -{ - public override void Foobar () - { - base.Foobar (); - } + // CS0205: Cannot call an abstract base member `A.OnUpdate' +// Line: 17 - static void Main () - { - B b = new B (); - b.Foobar (); - } -} - - // CS0205: Cannot call an abstract base member `A.this[int].set' -// Line: 13 +public delegate int TestDelegate1 (); public abstract class A { - public abstract int this[int i] { set; } + public abstract event TestDelegate1 OnUpdate; } -public class B: A +public class B : A { - public override int this[int i] { - set { - base[i] = value; - } + public override event TestDelegate1 OnUpdate + { + add + { + base.OnUpdate += value; } + remove + { + base.OnUpdate -= value; + } + } } // CS0205: Cannot call an abstract base member `A.Foobar.get' @@ -66,6 +50,24 @@ } + // CS0205: Cannot call an abstract base member `A.Foobar.set' +// Line: 13 + +public abstract class A +{ + public abstract int Foobar { set; } +} + +public class B: A +{ + public override int Foobar { + set { + base.Foobar = value; + } + } +} + + // CS0205: Cannot call an abstract base member `A.Foobar.get' // Line: 22 @@ -93,48 +95,46 @@ } - // CS0205: Cannot call an abstract base member `A.OnUpdate' -// Line: 17 + // CS0205: Cannot call an abstract base member `A.Foobar()' +// Line: 21 -public delegate int TestDelegate1 (); +using System; public abstract class A { - public abstract event TestDelegate1 OnUpdate; + public abstract void Foobar (); } -public class B : A +public class B: A { - public override event TestDelegate1 OnUpdate - { - add - { - base.OnUpdate += value; - } - remove - { - base.OnUpdate -= value; - } - } + public override void Foobar () + { + base.Foobar (); + } + + static void Main () + { + B b = new B (); + b.Foobar (); + } } - // CS0205: Cannot call an abstract base member `A.Foobar.set' + // CS0205: Cannot call an abstract base member `A.this[int].set' // Line: 13 public abstract class A { - public abstract int Foobar { set; } + public abstract int this[int i] { set; } } public class B: A { - public override int Foobar { + public override int this[int i] { set { - base.Foobar = value; + base[i] = value; } } } - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0206 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0206 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0206 2035-09-30 19:00:50.000000000 +0000 @@ -3,43 +3,6 @@ CS0206 // CS0206: A property, indexer or dynamic member access may not be passed as `ref' or `out' parameter -// Line: 16 - -using System; - -public class Test -{ - public static void WriteOutData (out dynamic d) - { - d = 5.0; - } - - public static void Main (string[] args) - { - dynamic d = null; - WriteOutData (out d.Foo); - } -} - - - // CS0206: A property, indexer or dynamic member access may not be passed as `ref' or `out' parameter -// Line: 14 - -class C -{ - static void Foo (ref object o) - { - } - - public static void Main () - { - var v = new { Foo = "Bar" }; - - Foo (ref v.Foo); - } -} - - // CS0206: A property, indexer or dynamic member access may not be passed as `ref' or `out' parameter // Line: 15 class X { @@ -70,6 +33,26 @@ } } // CS0206: A property, indexer or dynamic member access may not be passed as `ref' or `out' parameter +// Line: 16 + +using System; + +public class Test +{ + public static void WriteOutData (out dynamic d) + { + d = 5.0; + } + + public static void Main (string[] args) + { + dynamic d = null; + WriteOutData (out d.Foo); + } +} + + + // CS0206: A property, indexer or dynamic member access may not be passed as `ref' or `out' parameter // Line: 22 using System; @@ -97,5 +80,22 @@ } + // CS0206: A property, indexer or dynamic member access may not be passed as `ref' or `out' parameter +// Line: 14 + +class C +{ + static void Foo (ref object o) + { + } + + public static void Main () + { + var v = new { Foo = "Bar" }; + + Foo (ref v.Foo); + } +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0208 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0208 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0208 2035-09-30 19:00:50.000000000 +0000 @@ -2,50 +2,75 @@ CS0208 - // CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type `object' -// Line: 11 + // CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type `_Port' +// Line: 16 // Compiler options: -unsafe -using System; using System.Runtime.InteropServices; -class C -{ - [DllImport ("xml2")] - unsafe static extern object* valuePop (IntPtr context); - public static void Main () +[StructLayout(LayoutKind.Sequential)] +internal unsafe struct _Port { + [MarshalAs(UnmanagedType.ByValTStr, SizeConst=128)] char[] port; +} + +unsafe class d { + static void Main () { + _Port * port = null; } } - // CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type `S<int>.N' -// Line: 16 + // CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type `X' +// Line: 8 // Compiler options: -unsafe -struct S<T> -{ - public struct N - { +unsafe struct X { + string a; + static void Main () { + X x; + void* y = &x; } } -unsafe class Test + + // CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type `Splay<T>.Node' +// Line: 9 +// Compiler options: /unsafe + +public class Splay<T> { - public static void Main() + unsafe private struct Node + { + private Node * parent; + private T data; + } +} + + + // CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type `object' +// Line: 11 +// Compiler options: -unsafe + +using System; +using System.Runtime.InteropServices; + +class C +{ + [DllImport ("xml2")] + unsafe static extern object* valuePop (IntPtr context); + public static void Main () { - S<int>.N* a; } } // CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type `CS208.Foo' -// Line: 17 +// Line: 20 // Compiler options: -unsafe namespace CS208 { - public struct Foo + public class Foo { - public string PP { get; set; } } public class Bar @@ -53,48 +78,11 @@ unsafe static void Main () { Foo f = new Foo (); - void *s = &f; + Foo *s = &f; } } } - // CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type `Splay<T>.Node' -// Line: 9 -// Compiler options: /unsafe - -public class Splay<T> -{ - unsafe private class Node - { - private Node * parent; - private T data; - } -} - - - // CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type `Foo.P' -// Line: 18 -// Compiler options: -unsafe - -public unsafe class Foo -{ - public class P - { - public P* GetEnumerator () - { - return null; - } - } - - public static void Main () - { - P o = new P (); - foreach (P p in o) - { - } - } -} - // CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type `Foo' // Line: 7 // Compiler options: -t:library -unsafe @@ -123,33 +111,6 @@ - // CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type `Splay<T>.Node' -// Line: 9 -// Compiler options: /unsafe - -public class Splay<T> -{ - unsafe private struct Node - { - private Node * parent; - private T data; - } -} - - - // CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type `T' -// Line: 7 -// Compiler options: -unsafe - -unsafe class Foo<T> where T : struct -{ - public T* Elements { - get { - return null; - } - } -} - // CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type `X' // Line: 8 // Compiler options: -unsafe @@ -157,29 +118,24 @@ unsafe struct X { string a; static void Main () { - X x; - void* y = &x; + X* y; } } - // CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type `S' + // CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type `Splay<T>.Node' // Line: 9 // Compiler options: /unsafe -unsafe public class C -{ /usr/lib/monodoc/sources/cs-errors.zip/CS0210 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0210 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0210 2035-09-30 19:00:50.000000000 +0000 @@ -15,6 +15,19 @@ // CS0210: You must provide an initializer in a fixed or using statement declaration +// Line: 8 + +using System.Resources; + +public class MainClass { + static void Main () { + using (ResourceReader reader) { + } + } +} + + + // CS0210: You must provide an initializer in a fixed or using statement declaration // Line: 14 using System; @@ -33,18 +46,5 @@ } - // CS0210: You must provide an initializer in a fixed or using statement declaration -// Line: 8 - -using System.Resources; - -public class MainClass { - static void Main () { - using (ResourceReader reader) { - } - } -} - - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0212 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0212 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0212 2035-09-30 19:00:50.000000000 +0000 @@ -3,6 +3,26 @@ CS0212 // CS0212: You can only take the address of unfixed expression inside of a fixed statement initializer +// Line: 17 +// Compiler options: -unsafe + +using System; + +unsafe class X { + static void Main () + { + int foo = 0; + Blah (ref foo); + + } + + static void Blah (ref int mptr) + { + int* x = &mptr; + } +} + + // CS0212: You can only take the address of unfixed expression inside of a fixed statement initializer // Line: 10 // Compiler options: -unsafe @@ -45,25 +65,5 @@ } } - // CS0212: You can only take the address of unfixed expression inside of a fixed statement initializer -// Line: 17 -// Compiler options: -unsafe - -using System; - -unsafe class X { - static void Main () - { - int foo = 0; - Blah (ref foo); - - } - - static void Blah (ref int mptr) - { - int* x = &mptr; - } -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0214 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0214 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0214 2035-09-30 19:00:50.000000000 +0000 @@ -3,26 +3,76 @@ CS0214 // CS0214: Pointers and fixed size buffers may only be used in an unsafe context -// Line: 17 +// Line: 9 // Compiler options: -unsafe -public unsafe delegate void Bar (int* x); - -class X +public class Test { - public X (Bar bar) - { } + public void Foo () + { + Foo (null); + } - unsafe static void Test (int* b) - { } + public static unsafe void Foo (int* buf) { } +} - static void Main () + + + // CS0214: Pointers and fixed size buffers may only be used in an unsafe context +// Line: 13 +// Compiler options: -unsafe + +class C +{ + public static unsafe void Write (params int*[] args) + { + } + + public static void Main () + { + Write (); + } +} + + // CS0214: Pointers and fixed size buffers may only be used in an unsafe context +// Line: 7 +// Compiler options: -unsafe + +class C +{ + int*[] data = new int*[16]; + + unsafe C () { - X x = new X (Test); } } // CS0214: Pointers and fixed size buffers may only be used in an unsafe context +// Line: 13 +// Compiler options: -unsafe + +struct X { + static unsafe void *a () + { + return null; + } + + static void Main () + { + a (); + } + +} + + // CS0214: Pointers and fixed size buffers may only be used in an unsafe context +// Line: 6 +// Compiler options: -unsafe + +class X { + void *a; +} + + // CS0214: Pointers and fixed size buffers may only be used in an unsafe context // Line: 12 // Compiler options: -unsafe @@ -40,50 +90,63 @@ } // CS0214: Pointers and fixed size buffers may only be used in an unsafe context -// Line: 9 +// Line: 12 // Compiler options: -unsafe -public class aClass -{ - public struct foo_t +using System; + +class X { + public unsafe int* this [int i] { set { } } + + void Foo () { - public fixed char b[16]; + this [0] = null; } } // CS0214: Pointers and fixed size buffers may only be used in an unsafe context -// Line: 11 +// Line: 6 // Compiler options: -unsafe -public class C +class Test { - unsafe int* i; - - public static void Main () - { - var v = new C().i; - } + public void Main () + { + byte* arr = stackalloc byte [4]; + } } + // CS0214: Pointers and fixed size buffers may only be used in an unsafe context -// Line: 6 +// Line: 9 // Compiler options: -unsafe -class X { - void *a; +public class aClass +{ + public struct foo_t + { + public fixed char b[16]; + } } // CS0214: Pointers and fixed size buffers may only be used in an unsafe context -// Line: 8 +// Line: 17 // Compiler options: -unsafe -class X { - public void a () - { - void *p; - } +public unsafe delegate void Bar (int* x); - static void Main () {} +class X +{ + public X (Bar bar) + { } + + unsafe static void Test (int* b) + { } + + static void Main () + { + X x = new X (Test); + } } // CS0214: Pointers and fixed size buffers may only be used in an unsafe context @@ -105,6 +168,19 @@ } } + // CS0214: Pointers and fixed size buffers may only be used in an unsafe context +// Line: 8 +// Compiler options: -unsafe + +class X { + public void a () + { + void *p; + } + + static void Main () {} +} + // CS214: Pointers and fixed size buffers may only be used in an unsafe context // Line: 21 // Compiler options: -unsafe @@ -140,92 +216,16 @@ } // CS0214: Pointers and fixed size buffers may only be used in an unsafe context /usr/lib/monodoc/sources/cs-errors.zip/CS0216 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0216 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0216 2035-09-30 19:00:50.000000000 +0000 @@ -2,51 +2,6 @@ CS0216 - // CS0216: The operator `X.operator <(X, int)' requires a matching operator `>' to also be defined -// Line: 5 - -class X { - public static X operator < (X a, int b) - { - return null; - } - - static void Main () { - } -} - - - // CS0216: The operator `Test.operator ==(Test, bool)' requires a matching operator `!=' to also be defined -// Line: 11 - -public abstract class Test -{ - public static bool operator == (Test lhs, bool rhs) - { - return false; - } - - public static bool operator != (Test lhs, IDoNotExist rhs) - { - return !(lhs == rhs); - } -} - - - // CS0216: The operator `X.operator true(X)' requires a matching operator `false' to also be defined -// Line: 5 - -class X { - public static bool operator true (X i) - { - return true; - } - - static void Main () - { - } -} - // CS0216: The operator `Test.operator ==(Test, bool)' requires a matching operator `!=' to also be defined // Line: 10 @@ -101,5 +56,50 @@ } } + // CS0216: The operator `X.operator <(X, int)' requires a matching operator `>' to also be defined +// Line: 5 + +class X { + public static X operator < (X a, int b) + { + return null; + } + + static void Main () { + } +} + + + // CS0216: The operator `Test.operator ==(Test, bool)' requires a matching operator `!=' to also be defined +// Line: 11 + +public abstract class Test +{ + public static bool operator == (Test lhs, bool rhs) + { + return false; + } + + public static bool operator != (Test lhs, IDoNotExist rhs) + { + return !(lhs == rhs); + } +} + + + // CS0216: The operator `X.operator true(X)' requires a matching operator `false' to also be defined +// Line: 5 + +class X { + public static bool operator true (X i) + { + return true; + } + + static void Main () + { + } +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0217 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0217 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0217 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,33 @@ CS0217 + // CS0217: A user-defined operator `UserOperatorClass.operator &(UserOperatorClass, UserOperatorClass)' must have each parameter type and return type of the same type in order to be applicable as a short circuit operator +// Line: 22 + +public class UserOperatorClass +{ + public static bool operator & (UserOperatorClass u1, UserOperatorClass u2) { + return true; + } + + public static bool operator true (UserOperatorClass u) { + return true; + } + + public static bool operator false (UserOperatorClass u) { + return false; + } + + public static void Main () { + + UserOperatorClass x = new UserOperatorClass(); + UserOperatorClass y = new UserOperatorClass(); + UserOperatorClass z = x && y; + } +} + + + // CS0217: A user-defined operator `UserOperatorClass.operator &(UserOperatorClass, bool)' must have each parameter type and return type of the same type in order to be applicable as a short circuit operator // Line: 25 @@ -31,33 +58,6 @@ } - - // CS0217: A user-defined operator `UserOperatorClass.operator &(UserOperatorClass, UserOperatorClass)' must have each parameter type and return type of the same type in order to be applicable as a short circuit operator -// Line: 22 - -public class UserOperatorClass -{ - public static bool operator & (UserOperatorClass u1, UserOperatorClass u2) { - return true; - } - - public static bool operator true (UserOperatorClass u) { - return true; - } - - public static bool operator false (UserOperatorClass u) { - return false; - } - - public static void Main () { - - UserOperatorClass x = new UserOperatorClass(); - UserOperatorClass y = new UserOperatorClass(); - UserOperatorClass z = x && y; - } -} - - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0219 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0219 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0219 2035-09-30 19:00:50.000000000 +0000 @@ -17,17 +17,6 @@ } } - // CS0219: The constant `C' is never used -// Line: 9 -// Compiler options: -warn:3 -warnaserror - -class C -{ - public static void Main () - { - const int C = 1; - } -} // CS0219: The variable `i' is assigned but its value is never used // Line: 14 // Compiler options: -warn:3 -warnaserror @@ -45,6 +34,34 @@ } } } + // CS0219: The variable `next' is assigned but its value is never used +// Line: 9 +// Compiler options: -warn:3 -warnaserror + +class A +{ + public static void Main () + { + int n\U00000065xt = 0; + } +} + // CS0219: The variable `e' is assigned but its value is never used +// Line: 12 +// Compiler options: -warn:3 -warnaserror + +using System; +public class ConsoleStub +{ + public static void Main() + { + try { + } catch (Exception e) { + e = null; + } + } +} + + // CS0219: The variable `p' is assigned but its value is never used // Line: 9 // Compiler options: -warn:3 -warnaserror @@ -57,15 +74,15 @@ } } - // CS0219: The variable `next' is assigned but its value is never used + // CS0219: The constant `C' is never used // Line: 9 // Compiler options: -warn:3 -warnaserror -class A +class C { public static void Main () { - int n\U00000065xt = 0; + const int C = 1; } } // CS0219: The variable `o' is assigned but its value is never used @@ -86,22 +103,5 @@ } } - // CS0219: The variable `e' is assigned but its value is never used -// Line: 12 -// Compiler options: -warn:3 -warnaserror - -using System; -public class ConsoleStub -{ - public static void Main() - { - try { - } catch (Exception e) { - e = null; - } - } -} - - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0220 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0220 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0220 2035-09-30 19:00:50.000000000 +0000 @@ -17,18 +17,6 @@ } // CS0220: The operation overflows at compile time in checked mode -// Line: 7 - -public class MainClass { - static void Main () { - const long a = long.MaxValue; - long b = 2 * a; - } -} - - - - // CS0220: The operation overflows at compile time in checked mode // Line: 10 // Compiler options: -unsafe @@ -49,6 +37,18 @@ } } + + + // CS0220: The operation overflows at compile time in checked mode +// Line: 7 + +public class MainClass { + static void Main () { + const long a = long.MaxValue; + long b = 2 * a; + } +} + /usr/lib/monodoc/sources/cs-errors.zip/CS0221 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0221 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0221 2035-09-30 19:00:50.000000000 +0000 @@ -2,36 +2,16 @@ CS0221 - // CS0221: Constant value `NaN' cannot be converted to a `int' (use `unchecked' syntax to override) + // CS0221: Constant value `-200' cannot be converted to a `byte' (use `unchecked' syntax to override) // Line: 6 -class X { - static void Main () { - System.Console.WriteLine ((int)double.NaN); - } -} - - // CS0221: Constant value `-1' cannot be converted to a `char' (use `unchecked' syntax to override) -// Line: 10 +enum AA : byte { a, b = 200 } -class C +public class C { - static void Main () + public static void Main () { - unchecked { - checked { - const char c = (char) -1; - } - } - } -} - - // CS0221: Constant value `-Infinity' cannot be converted to a `ushort' (use `unchecked' syntax to override) -// Line: 6 - -class X { - static void Main () { - System.Console.WriteLine ((ushort)double.NegativeInfinity); + const int b = AA.a - AA.b; } } @@ -45,29 +25,22 @@ } } - // CS0221: Constant value `-200' cannot be converted to a `byte' (use `unchecked' syntax to override) -// Line: 6 - -enum AA : byte { a, b = 200 } + // CS0221: Constant value `-1' cannot be converted to a `ushort' (use `unchecked' syntax to override) +// Line: 11 -public class C +class C { - public static void Main () - { - const int b = AA.a - AA.b; - } -} - - // CS0221: Constant value `-10.1' cannot be converted to a `byte' (use `unchecked' syntax to override) -// Line: 6 + delegate void D (); -class T { - static void Main () { - byte d = (byte)-10.1d; + static void Main () + { + D d = unchecked (delegate { + const ushort s = (ushort) -1; + }); } } - // CS0221: Constant value `-9' cannot be converted to a `E' (use `unchecked' syntax to override) + // CS0221: Constant value `-91' cannot be converted to a `E' (use `unchecked' syntax to override) // Line: 10 enum E:byte { @@ -76,41 +49,24 @@ class T { static void Main () { - E error = (E)(-9); + E error = E.Min - 100; System.Console.WriteLine (error); } } - // CS0221: Constant value `NaN' cannot be converted to a `char' (use `unchecked' syntax to override) -// Line: 6 - -class X { - static void Main () { - System.Console.WriteLine ((char)float.NaN); - } -} - - // CS0221: Constant value `-1' cannot be converted to a `byte' (use `unchecked' syntax to override) -// Line: 11 - -using System; + // CS0221: Constant value `256' cannot be converted to a `byte' (use `unchecked' syntax to override) +// Line: 13 -public class My3Attribute : Attribute +class Test { - public My3Attribute (byte b) {} -} - -[My3((byte)-1)] -public class Test { } - // CS0221: Constant value `4294967295' cannot be converted to a `int' (use `unchecked' syntax to override) -// Line: 5 + public static explicit operator Test (byte b) + { + return null; + } -class X { - int a = (int) 0xffffffff; - static void Main () { - + var a = (Test) 256UL; } } @@ -129,38 +85,52 @@ } } - // CS0221: Constant value `-1' cannot be converted to a `ushort' (use `unchecked' syntax to override) -// Line: 11 + // CS0221: Constant value `-1' cannot be converted to a `char' (use `unchecked' syntax to override) +// Line: 10 class C { - delegate void D (); - static void Main () { - D d = unchecked (delegate { - const ushort s = (ushort) -1; - }); + unchecked { + checked { + const char c = (char) -1; + } + } } } - // CS0221: Constant value `256' cannot be converted to a `byte' (use `unchecked' syntax to override) -// Line: 13 + // CS0221: Constant value `-10.1' cannot be converted to a `byte' (use `unchecked' syntax to override) +// Line: 6 -class Test -{ - public static explicit operator Test (byte b) - { - return null; +class T { + static void Main () { + byte d = (byte)-10.1d; } +} + + // CS0221: Constant value `-1' cannot be converted to a `byte' (use `unchecked' syntax to override) +// Line: 11 - static void Main () - { - var a = (Test) 256UL; +using System; + +public class My3Attribute : Attribute +{ + public My3Attribute (byte b) {} +} + +[My3((byte)-1)] +public class Test { } + // CS0221: Constant value `-Infinity' cannot be converted to a `ushort' (use `unchecked' syntax to override) +// Line: 6 + +class X { + static void Main () { + System.Console.WriteLine ((ushort)double.NegativeInfinity); } } /usr/lib/monodoc/sources/cs-errors.zip/CS0227 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0227 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0227 2035-09-30 19:00:50.000000000 +0000 @@ -6,20 +6,20 @@ // Line: 5 class UnsafeClass { - UnsafeClass () - { - unsafe {} - } + unsafe UnsafeClass () {} } + + // CS0227: Unsafe code requires the `unsafe' command line option to be specified // Line: 5 class UnsafeClass { - unsafe UnsafeClass () {} + UnsafeClass () + { + unsafe {} + } } - - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0229 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0229 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0229 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,27 @@ CS0229 + // CS0229: Ambiguity between `Program.I1.Id' and `Program.I2.Id' +// Line: 18 + +static class Program +{ + public interface I1 + { + string Id { get; } + } + + public interface I2 + { + int Id { get; } + } + + static void Generic<T> (T item) where T : I1, I2 + { + var a = item.Id; + } +} + // CS0229: Ambiguity between `IList.Test' and `ICounter.Test' // Line: 26 @@ -56,27 +77,6 @@ t.Count = 9; } } - // CS0229: Ambiguity between `Program.I1.Id' and `Program.I2.Id' -// Line: 18 - -static class Program -{ - public interface I1 - { - string Id { get; } - } - - public interface I2 - { - int Id { get; } - } - - static void Generic<T> (T item) where T : I1, I2 - { - var a = item.Id; - } -} - // CS0229: Ambiguity between `TestLib.FOO' and `TestLib.FOO' // Line: 9 // Compiler options: -r:CS0229-3-lib.dll @@ -89,18 +89,6 @@ } } - // CS0229: Ambiguity between `TestLib.FOO()' and `TestLib.FOO' -// Line: 9 -// Compiler options: -r:CS0229-4-lib.dll - -public class Test -{ - public static void Main() - { - System.Console.WriteLine(TestLib.FOO); - } -} - // CS0229: Ambiguity between `A.N' and `B.N' // Line: 26 @@ -129,5 +117,17 @@ N.Foo (); } } + // CS0229: Ambiguity between `TestLib.FOO()' and `TestLib.FOO' +// Line: 9 +// Compiler options: -r:CS0229-4-lib.dll + +public class Test +{ + public static void Main() + { + System.Console.WriteLine(TestLib.FOO); + } +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0231 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0231 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0231 2035-09-30 19:00:50.000000000 +0000 @@ -6,7 +6,7 @@ // Line: 5 class Test { - void Foo (params object[] o, params bool[] b) {} + void Foo (int i, params object[] o, params bool[] b) {} } @@ -14,7 +14,7 @@ // Line: 5 class Test { - void Foo (int i, params object[] o, params bool[] b) {} + void Foo (params object[] o, params bool[] b) {} } @@ -22,7 +22,7 @@ // Line: 5 class Test { - void Foo (params object[] o, bool b) {} + void Foo (int i, params object[] o, bool b) {} } @@ -30,7 +30,7 @@ // Line: 5 class Test { - void Foo (int i, params object[] o, bool b) {} + void Foo (params object[] o, bool b) {} } /usr/lib/monodoc/sources/cs-errors.zip/CS0234 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0234 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0234 2035-09-30 19:00:50.000000000 +0000 @@ -2,18 +2,6 @@ CS0234 - // CS0234: The type or namespace name `Linq' does not exist in the namespace `System'. Are you missing `System.Core' assembly reference? -// Line: 5 -// Compiler options: -noconfig - -using System.Linq; - -class C -{ - public static void Main () - { - } -} // CS0234: The type or namespace name `Enum' does not exist in the namespace `A.B.System'. Are you missing an assembly reference? // Line: 8 @@ -26,6 +14,18 @@ } } + // CS0234: The type or namespace name `Linq' does not exist in the namespace `System'. Are you missing `System.Core' assembly reference? +// Line: 5 +// Compiler options: -noconfig + +using System.Linq; + +class C +{ + public static void Main () + { + } +} // CS0234: The type or namespace name `Type' does not exist in the namespace `MonoTests.System'. Are you missing an assembly reference? // Line: 12 /usr/lib/monodoc/sources/cs-errors.zip/CS0236 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0236 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0236 2035-09-30 19:00:50.000000000 +0000 @@ -20,6 +20,18 @@ } + // CS0236: A field initializer cannot reference the nonstatic field, method, or property `C.stuff' +// Line: 6 + +class C +{ + object stuff = stuff; + + public C (object stuff) + { + } +} + // CS0236: A field initializer cannot reference the nonstatic field, method, or property `Test.o1' // Line: 8 delegate void Foo (); @@ -34,18 +46,6 @@ } - // CS0236: A field initializer cannot reference the nonstatic field, method, or property `C.stuff' -// Line: 6 - -class C -{ - object stuff = stuff; - - public C (object stuff) - { - } -} - // CS0236: A field initializer cannot reference the nonstatic field, method, or property `C1.CC' // Line: 11 /usr/lib/monodoc/sources/cs-errors.zip/CS0243 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0243 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0243 2035-09-30 19:00:50.000000000 +0000 @@ -2,18 +2,6 @@ CS0243 - // CS0243: Conditional not valid on `MyClass.GetHashCode()' because it is an override method -// Line: 6 - -public class MyClass -{ - [System.Diagnostics.Conditional ("WOOHOO")] - public override int GetHashCode () - { - return base.GetHashCode (); - } -} - // CS0243: Conditional not valid on `DerivedClass.Show()' because it is an override method // Line: 10 @@ -28,5 +16,17 @@ } + // CS0243: Conditional not valid on `MyClass.GetHashCode()' because it is an override method +// Line: 6 + +public class MyClass +{ + [System.Diagnostics.Conditional ("WOOHOO")] + public override int GetHashCode () + { + return base.GetHashCode (); + } +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0246 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0246 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0246 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,131 @@ CS0246 + // CS0246: The type or namespace name `M' could not be found. Are you missing an assembly reference? +// Line: 11 + +interface I<T> +{ + void G<TT> (); +} + +class C +{ + void I<M>.G<M> () + { + } + + public static void Main () + { + } +} + + // CS0246: The type or namespace name `ErrorType' could not be found. Are you missing an assembly reference? +// Line: 5 + +interface A { + event ErrorType Test; +} + + // CS0246: The type or namespace name `B' could not be found. Are you missing an assembly reference? +// Line: 8 + +class X +{ + public static void Main () + { + B b; + } +} + // CS0246: The type or namespace name `aGgt' could not be found. Are you missing an assembly reference? +// Line: 13 + +using System; + +class C +{ + public static void Main () + { + try { + throw null; + } catch (ArgumentException) { + } catch (aGgt) { + } + } +} + + // CS0246: The type or namespace name `ErrorType' could not be found. Are you missing an assembly reference? +// Line: 4 + +public delegate ErrorType Delegate (); + + // CS0246: The type or namespace name `Foo' could not be found. Are you missing an assembly reference? +// Line: 8 + +class Crashy +{ + void Call (System.Action<object> action) { } + + public void DoCrash () => Call (f => f as Foo); +} + + // CS0246: The type or namespace name `B' could not be found. Are you missing an assembly reference? +// Line: 4 + +class A : B +{ + public class B + { } +} + + // CS0246: The type or namespace name `class' could not be found. Are you missing an assembly reference? +// Line: 9 +using System; + +public class classAttribute : Attribute +{ +} + +[@class] +class Foo +{ +} + + // CS0246: The type or namespace name `Etp' could not be found. Are you missing an assembly reference? +// Line: 8 + +class Test +{ + static void Main () + { + try { + } catch (Etp e) { + } catch { + } + } +} + + // CS0246: The type or namespace name `aa' could not be found. Are you missing an assembly reference? +// Line: 6 + +public class Test +{ + [aa.bb] int dummy; +} + + + // CS0246: The type or namespace name `AAAA' could not be found. Are you missing an assembly reference? +// Line: 7 + +using System; +[assembly:CLSCompliant (true)] + +[AAAA(false)] +public sealed class Region +{ + public Region() {} +} + // CS0246: The type or namespace name `InvalidTypeBlah' could not be found. Are you missing an assembly reference? // Line: 17 @@ -34,29 +159,16 @@ - // CS0246: The type or namespace name `foo' could not be found. Are you missing an assembly reference? + // CS0246: The type or namespace name `C' could not be found. Are you missing an assembly reference? // Line: 5 -struct bar { - foo foo; -} - - - // CS0246: The type or namespace name `Uri' could not be found. Are you missing `System' using directive? -// Line: 7 - -public interface IFoo -{ - string Heh { get; } // significant to cause the error. - Uri Hoge (); // note that it cannot be resolved here. -} +using C = Cks.Runtime.Data; +using BigInteger = C.BigInteger; -public class Foo : IFoo +namespace Cks.Runtime.Data { - string IFoo.Heh { get { return null; } } - public System.Uri Hoge () { return null; } + public class BigInteger {} } - // CS0246: The type or namespace name `B' could not be found. Are you missing an assembly reference? // Line: 4 @@ -69,27 +181,6 @@ } - // CS0246: The type or namespace name `AAAA' could not be found. Are you missing an assembly reference? -// Line: 7 - -using System; -[assembly:CLSCompliant (true)] - -[AAAA(false)] -public sealed class Region -{ - public Region() {} -} - - // CS0246: The type or namespace name `dynamic' could not be found. Are you missing an assembly reference? -// Line: 4 - -using dynamic; - // CS0246: The type or namespace name `ErrorType' could not be found. Are you missing an assembly reference? -// Line: 4 - -public delegate ErrorType Delegate (); - // CS0246: The type or namespace name `wrong' could not be found. Are you missing an assembly reference? // Line: 15 @@ -108,104 +199,47 @@ }; } /usr/lib/monodoc/sources/cs-errors.zip/CS0252 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0252 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0252 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,19 @@ CS0252 + // CS0252: Possible unintended reference comparison. Consider casting the left side expression to type `string' to get value comparison +// Line: 10 +// Compiler options: -warn:2 -warnaserror + +using System; + +class X { + static void Main() { + object a = "11"; + Console.WriteLine(a == "11"); + } +} + // CS0252: Possible unintended reference comparison. Consider casting the left side expression to type `A' to get value comparison // Line: 15 // Compiler options: -warnaserror @@ -31,18 +44,5 @@ } } - // CS0252: Possible unintended reference comparison. Consider casting the left side expression to type `string' to get value comparison -// Line: 10 -// Compiler options: -warn:2 -warnaserror - -using System; - -class X { - static void Main() { - object a = "11"; - Console.WriteLine(a == "11"); - } -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0253 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0253 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0253 2035-09-30 19:00:50.000000000 +0000 @@ -2,21 +2,19 @@ CS0253 - // CS0253: Possible unintended reference comparison. Consider casting the right side expression to type `System.Action' to get value comparison -// Line: 13 -// Compiler options: -warnaserror + // CS0253: Possible unintended reference comparison. Consider casting the right side expression to type `string' to get value comparison +// Line: 10 +// Compiler options: -warn:2 -warnaserror using System; -class MainClass -{ - public static void Main () - { - Action a = null; - object b = null; - var x = a == b; +class X { + static void Main() { + object a = "11"; + Console.WriteLine("11" == a); } -} +} + // CS0253: Possible unintended reference comparison. Consider casting the right side expression to type `A' to get value comparison // Line: 16 // Compiler options: -warnaserror @@ -46,18 +44,20 @@ } } - // CS0253: Possible unintended reference comparison. Consider casting the right side expression to type `string' to get value comparison -// Line: 10 -// Compiler options: -warn:2 -warnaserror + // CS0253: Possible unintended reference comparison. Consider casting the right side expression to type `System.Action' to get value comparison +// Line: 13 +// Compiler options: -warnaserror using System; -class X { - static void Main() { - object a = "11"; - Console.WriteLine("11" == a); +class MainClass +{ + public static void Main () + { + Action a = null; + object b = null; + var x = a == b; } -} - +} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0260 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0260 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0260 2035-09-30 19:00:50.000000000 +0000 @@ -3,11 +3,11 @@ CS0260 // CS0260: Missing partial modifier on declaration of type `Foo'. Another partial declaration of this type exists -// Line: 6 -public partial class Foo +// Line: 3 +public class Foo { } -public class Foo +public partial class Foo { } class X @@ -17,11 +17,11 @@ } // CS0260: Missing partial modifier on declaration of type `Foo'. Another partial declaration of this type exists -// Line: 3 -public class Foo +// Line: 6 +public partial class Foo { } -public partial class Foo +public class Foo { } class X /usr/lib/monodoc/sources/cs-errors.zip/CS0266 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0266 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0266 2035-09-30 19:00:50.000000000 +0000 @@ -2,50 +2,6 @@ CS0266 - // CS0266: Cannot implicitly convert type `System.IntPtr' to `byte*'. An explicit conversion exists (are you missing a cast?) -// Line: 23 -// Compiler options: -unsafe - -using System; - -public class Pixbuf { - static void Main (string [] args) - { - Bug (); - } - - public IntPtr Pixels { - get { - return IntPtr.Zero; - } - } - public static unsafe void Bug () - { - Pixbuf pixbuf = null; - //should be: - //byte *pix = (byte *)pixbuf.Pixels; - byte *pix = pixbuf.Pixels; - } -} - - - - - // CS0266: Cannot implicitly convert type `Foo<int>.FooEvent' to `Foo<string>.FooEvent'. An explicit conversion exists (are you missing a cast?) -// Line: 12 - -class Foo<T> { - public event FooEvent Event; - public delegate T FooEvent(); -} - -class CompilerCrashTest { - static void Main() { - Foo<string> foo = new Foo<string>(); - foo.Event += new Foo<int>.FooEvent (() => 0); - } -} - // CS0266: Cannot implicitly convert type `void*' to `int*'. An explicit conversion exists (are you missing a cast?) // Line: 7 // Compiler options: -unsafe @@ -56,30 +12,51 @@ public static void Main () { } } - // CS0266: Cannot implicitly convert type `B' to `I'. An explicit conversion exists (are you missing a cast?) -// Line: 21 + // CS0266: Cannot implicitly convert type `long' to `int'. An explicit conversion exists (are you missing a cast?) +// Line : 6 -interface I { } +class X { + const uint a = 2; + const int b = -a; +} -class A : I { } -class B + + + // CS0266: Cannot implicitly convert type `object' to `bool'. An explicit conversion exists (are you missing a cast?) +// Line: 9 + +class X { - public static explicit operator A (B from) + static void Main () { - return new A (); + object o = true; + bool b = (o ?? string.Empty); } } + + // CS0266: Cannot implicitly convert type `System.Collections.Generic.IList<int>' to `Hoge<System.Collections.Generic.IList<int>>'. An explicit conversion exists (are you missing a cast?) +// Line: 20 -class App +using System; +using System.Collections.Generic; + +public class Hoge<T> { - public static void Main () + public static implicit operator Hoge<T> (T value) { - B b = new B (); - I i = b; + return null; } } +public class Test +{ + static void Main () + { + IList<int> x = new List<int> (); + Hoge<IList<int>> hoge = x; + } +} // CS0266: Cannot implicitly convert type `E?' to `E'. An explicit conversion exists (are you missing a cast?) // Line: 13 @@ -97,115 +74,46 @@ } } - // CS0266: Cannot implicitly convert type `object' to `System.Collections.ArrayList'. An explicit conversion exists (are you missing a cast?) + // CS0266: Cannot implicitly convert type `int' to `char'. An explicit conversion exists (are you missing a cast?) // Line: 12 -using System.Collections; - class X { - static Hashtable h = new Hashtable (); - public static void Main () { - ArrayList l = h ["hola"] = new ArrayList (); + char x = 'A'; + char b = +x; } } - // CS0266: Cannot implicitly convert type `Helper*' to `Obsolete*'. An explicit conversion exists (are you missing a cast?) -// Line: 18 -// Compiler options: -unsafe - -class Box { - public Helper o; -} - -unsafe struct Obsolete { -} - -unsafe struct Helper {} - -class MainClass { - unsafe public static void Main () - { - Box b = new Box (); - fixed (Obsolete* p = &b.o) - { - } - } -} - - // CS0266: Cannot implicitly convert type `object' to `System.Collections.Hashtable'. An explicit conversion exists (are you missing a cast?) -// Line: 17 - -// This case actually tests that the compiler doesn't crash after reporting the error - -using System.Collections; - -class X { - static void Main (string [] install) - { - ArrayList order = new ArrayList (); - Hashtable states = new Hashtable (); - - try { - if (install != null){ - foreach (string inst in order){ - Hashtable state = states [inst]; - } - } - } catch { - } - } -} - - // CS0266: Cannot implicitly convert type `bool?' to `bool'. An explicit conversion exists (are you missing a cast?) -// Line: 9 + // CS0266: Cannot implicitly convert type `int?' to `E'. An explicit conversion exists (are you missing a cast?) +// Line: 13 -class X +enum E { - static void Main () - { - bool? a = true; - int? b = a ? 3 : 4; - } } - /usr/lib/monodoc/sources/cs-errors.zip/CS0267 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0267 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0267 2035-09-30 19:00:50.000000000 +0000 @@ -3,13 +3,6 @@ CS0267 // CS0267: The `partial' modifier can be used only immediately before `class', `struct', `interface', or `void' keyword -// Line: 4 - -public partial static class Test -{ -} - - // CS0267: The `partial' modifier can be used only immediately before `class', `struct', `interface', or `void' keyword // Line: 6 public partial class C @@ -20,6 +13,13 @@ } // CS0267: The `partial' modifier can be used only immediately before `class', `struct', `interface', or `void' keyword +// Line: 4 + +public partial static class Test +{ +} + + // CS0267: The `partial' modifier can be used only immediately before `class', `struct', `interface', or `void' keyword // Line: 4 partial enum e {} /usr/lib/monodoc/sources/cs-errors.zip/CS0269 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0269 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0269 2035-09-30 19:00:50.000000000 +0000 @@ -3,6 +3,18 @@ CS0269 // CS0269: Use of unassigned out parameter `a' +// Line: 9 + +public class A +{ + void Test(out A a) + { + a.ToString (); + a = null; + } +} + + // CS0269: Use of unassigned out parameter `a' // Line: 23 struct A @@ -27,17 +39,5 @@ } } - // CS0269: Use of unassigned out parameter `a' -// Line: 9 - -public class A -{ - void Test(out A a) - { - a.ToString (); - a = null; - } -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0271 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0271 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0271 2035-09-30 19:00:50.000000000 +0000 @@ -2,26 +2,6 @@ CS0271 - // CS0271: The property or indexer `Test.A.B' cannot be used in this context because the get accessor is inaccessible -// Line: 17 - -using System; - -public class Test -{ - private class A - { - public string B { protected get; set; } - } - - static void Main () - { - A a = new A (); - a.B = "foo"; - string b = a.B; - } -} - // CS0271: The property or indexer `P.Prop' cannot be used in this context because the get accessor is inaccessible // Line: 19 @@ -43,5 +23,25 @@ return P.Prop; } } + // CS0271: The property or indexer `Test.A.B' cannot be used in this context because the get accessor is inaccessible +// Line: 17 + +using System; + +public class Test +{ + private class A + { + public string B { protected get; set; } + } + + static void Main () + { + A a = new A (); + a.B = "foo"; + string b = a.B; + } +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0272 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0272 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0272 2035-09-30 19:00:50.000000000 +0000 @@ -2,27 +2,25 @@ CS0272 - // CS0272: The property or indexer `P.Prop' cannot be used in this context because the set accessor is inaccessible -// Line: 19 + // CS0272: The property or indexer `Test.A.B' cannot be used in this context because the set accessor is inaccessible +// Line: 16 -class P +using System; + +public class Test { - public static int Prop - { - get { - return 4; + private class A + { + public string B { get; private set; } + } + + static void Main () + { + A a = new A (); + a.B = "Foo"; } - private set {} - } } - -public class C -{ - public static void Main () - { - P.Prop = 453422; - } -} + // CS0272: The property or indexer `C.this[string]' cannot be used in this context because the set accessor is inaccessible // Line: 13 @@ -39,24 +37,26 @@ } } - // CS0272: The property or indexer `Test.A.B' cannot be used in this context because the set accessor is inaccessible -// Line: 16 - -using System; + // CS0272: The property or indexer `P.Prop' cannot be used in this context because the set accessor is inaccessible +// Line: 19 -public class Test +class P { - private class A - { - public string B { get; private set; } - } - - static void Main () - { - A a = new A (); - a.B = "Foo"; + public static int Prop + { + get { + return 4; } + private set {} + } } - + +public class C +{ + public static void Main () + { + P.Prop = 453422; + } +} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0273 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0273 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0273 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,16 @@ CS0273 + // CS0273: The accessibility modifier of the `C.S2.set' accessor must be more restrictive than the modifier of the property or indexer `C.S2' +// Line: 7 +// Compiler options: -langversion:7.2 + + class C + { + private string S2 { get; private protected set; } + } + + // CS0273: The accessibility modifier of the `Error0273.Message.get' accessor must be more restrictive than the modifier of the property or indexer `Error0273.Message' // Line: 8 // Compiler options: -t:library @@ -19,15 +29,5 @@ } - // CS0273: The accessibility modifier of the `C.S2.set' accessor must be more restrictive than the modifier of the property or indexer `C.S2' -// Line: 7 -// Compiler options: -langversion:7.2 - - class C - { - private string S2 { get; private protected set; } - } - - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0278 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0278 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0278 2035-09-30 19:00:50.000000000 +0000 @@ -2,37 +2,6 @@ CS0278 - // CS0278: `IListCounter' contains ambiguous implementation of `enumerable' pattern. Method `IList.GetEnumerator()' is ambiguous with method `ICounter.GetEnumerator()' -// Line: 26 -// Compiler options: -warnaserror -warn:2 - -using System; -using System.Collections; - -interface IList -{ - IEnumerator GetEnumerator (); -} - -interface ICounter -{ - IEnumerator GetEnumerator (); -} - -interface IListCounter: IList, ICounter -{ -} - -class Test -{ - static void Foo (IListCounter t) - { - foreach (var e in t) - { - } - } -} - // CS0278: `Testing.IMixedEnumerable' contains ambiguous implementation of `enumerable' pattern. Method `System.Collections.IEnumerable.GetEnumerator()' is ambiguous with method `Testing.ICustomEnumerable.GetEnumerator()' // Line: 28 // Compiler options: -warnaserror -warn:2 @@ -65,5 +34,36 @@ } } + // CS0278: `IListCounter' contains ambiguous implementation of `enumerable' pattern. Method `IList.GetEnumerator()' is ambiguous with method `ICounter.GetEnumerator()' +// Line: 26 +// Compiler options: -warnaserror -warn:2 + +using System; +using System.Collections; + +interface IList +{ + IEnumerator GetEnumerator (); +} + +interface ICounter +{ + IEnumerator GetEnumerator (); +} + +interface IListCounter: IList, ICounter +{ +} + +class Test +{ + static void Foo (IListCounter t) + { + foreach (var e in t) + { + } + } +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0283 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0283 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0283 2035-09-30 19:00:50.000000000 +0000 @@ -2,17 +2,6 @@ CS0283 - // CS0283: The type `int?' cannot be declared const -// Line: 8 - -class C -{ - void Test () - { - const int? ac = null; - } -} - // CS0283: The type `S' cannot be declared const // Line: 10 @@ -24,14 +13,6 @@ { const S s = new S(); } - // CS0283: The type `int*' cannot be declared const -// Line: 10 -// Compiler options: -unsafe - -unsafe class Test -{ - const int* o = null; -} // CS0283: The type `S' cannot be declared const // Line: 12 @@ -46,5 +27,24 @@ const S s = new S(); } } + // CS0283: The type `int*' cannot be declared const +// Line: 10 +// Compiler options: -unsafe + +unsafe class Test +{ + const int* o = null; +} + // CS0283: The type `int?' cannot be declared const +// Line: 8 + +class C +{ + void Test () + { + const int? ac = null; + } +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0305 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0305 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0305 2035-09-30 19:00:50.000000000 +0000 @@ -2,34 +2,58 @@ CS0305 - // CS0305: Using the generic type `Stack<T>' requires `1' type argument(s) -// Line: 9 + // CS0305: Using the generic method `X.G<T>()' requires `1' type argument(s) +// Line: 17 -class Stack<T> -{ } +using System; + +delegate int E (); class X { - Stack stack; -} - - // CS0305: Using the generic type `Stack<T>' requires `1' type argument(s) -// Line: 11 + public static T G<T> () + { + throw new ArgumentException (); + } -class Stack<T> { + static void Main () + { + E e2 = new E (G); + } } - -class Test { + + // CS0305: Using the generic type `N1.A<T>' requires `1' type argument(s) +// Line: 12 +namespace N1 +{ + class A<T> + { + } } -class T { - Stack<Test,Test> a; +namespace N3 +{ + using W = N1.A; - static void Main() + class X { + static void Main () + { + } } } + // CS0305: Using the generic type `Stack<T>' requires `1' type argument(s) +// Line: 9 + +class Stack<T> +{ } + +class X +{ + Stack stack; +} + // CS0305: Using the generic type `N<T>' requires `1' type argument(s) // Line: 12 @@ -44,36 +68,23 @@ global::N n = null; } } - // CS0305: Using the generic method `X.G<T>()' requires `1' type argument(s) -// Line: 17 - -using System; - -delegate int E (); + // CS0305: Using the generic method `C.Test<T,Y>(C.Func<T>)' requires `2' type argument(s) +// Line: 14 -class X +public class C { - public static T G<T> () + public delegate int Func<T> (T t); + + public static void Test<T, Y> (Func<T> f) { - throw new ArgumentException (); } - static void Main () + public static void Main () { - E e2 = new E (G); + Test<int> (delegate (int i) { return i; }); } } - // CS0305: Using the generic type `System.Collections.Generic.List<T>' requires `1' type argument(s) -// Line: 8 - -using System.Collections.Generic; - -class X -{ - List<int,long> list; -} - // CS0305: Using the generic type `A.B<T>' requires `1' type argument(s) // Line: 12 @@ -89,41 +100,30 @@ } } - // CS0305: Using the generic type `N1.A<T>' requires `1' type argument(s) -// Line: 12 -namespace N1 + // CS0305: Using the generic type `System.Collections.Generic.List<T>' requires `1' type argument(s) +// Line: 8 + +using System.Collections.Generic; + +class X { - class A<T> - { - } + List<int,long> list; } + + // CS0305: Using the generic type `Stack<T>' requires `1' type argument(s) +// Line: 11 -namespace N3 -{ - using W = N1.A; +class Stack<T> { +} - class X - { - static void Main () - { - } - } +class Test { } - - // CS0305: Using the generic method `C.Test<T,Y>(C.Func<T>)' requires `2' type argument(s) -// Line: 14 -public class C -{ - public delegate int Func<T> (T t); - - public static void Test<T, Y> (Func<T> f) - { - } +class T { + Stack<Test,Test> a; - public static void Main () + static void Main() { - Test<int> (delegate (int i) { return i; }); } } /usr/lib/monodoc/sources/cs-errors.zip/CS0306 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0306 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0306 2035-09-30 19:00:50.000000000 +0000 @@ -2,31 +2,6 @@ CS0306 - // CS0306: The type `char*' may not be used as a type argument -// Line: 9 -// Compiler options: -unsafe - -class F<U> {} -unsafe class O { - F<char *> f; - static void Main () {} -} - - // CS0306: The type `int*' may not be used as a type argument -// Line: 11 -// Compiler options: -unsafe - -using System.Linq; - -public class C -{ - public static unsafe void Main () - { - var e = from int* a in "aaa" - select a; - } -} - // CS0306: The type `S' may not be used as a type argument // Line: 13 // Compiler options: -langversion:latest @@ -51,5 +26,30 @@ { } + // CS0306: The type `int*' may not be used as a type argument +// Line: 11 +// Compiler options: -unsafe + +using System.Linq; + +public class C +{ + public static unsafe void Main () + { + var e = from int* a in "aaa" + select a; + } +} + + // CS0306: The type `char*' may not be used as a type argument +// Line: 9 +// Compiler options: -unsafe + +class F<U> {} +unsafe class O { + F<char *> f; + static void Main () {} +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0307 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0307 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0307 2035-09-30 19:00:50.000000000 +0000 @@ -2,37 +2,25 @@ CS0307 - // CS0307: The type parameter `a' cannot be used with type arguments -// Line: 9 - -public class Tests + // CS0307: The property `B.Get' cannot be used with type arguments +// Line: 14 +public class B { - public static void Test<a> () - { - a<int> (); + public virtual int Get { + get { return 3; } } } - - // CS0307: The variable `a' cannot be used with type arguments -// Line: 9 -public class Tests +public class A : B { - public static void Test (int a) - { - a<int> (); + public override int Get { + get { + return base.Get<int>; + } } -} - - // CS0307: The variable `d' cannot be used with type arguments -// Line: 9 -public class Tests -{ public static void Main () { - var d = 0; - d<int> (); } } @@ -55,25 +43,36 @@ } } - // CS0307: The property `B.Get' cannot be used with type arguments -// Line: 14 -public class B + // CS0307: The type parameter `a' cannot be used with type arguments +// Line: 9 + +public class Tests { - public virtual int Get { - get { return 3; } + public static void Test<a> () + { + a<int> (); } } + + // CS0307: The type parameter `a' cannot be used with type arguments +// Line: 9 -public class A : B +public class Tests<a> { - public override int Get { - get { - return base.Get<int>; - } + public static void Test () + { + a<int> (); } +} + + // CS0307: The variable `a' cannot be used with type arguments +// Line: 9 - public static void Main () +public class Tests +{ + public static void Test (int a) { + a<int> (); } } @@ -95,14 +94,15 @@ } } - // CS0307: The type parameter `a' cannot be used with type arguments + // CS0307: The variable `d' cannot be used with type arguments // Line: 9 -public class Tests<a> +public class Tests { - public static void Test () + public static void Main () { - a<int> (); + var d = 0; + d<int> (); } } /usr/lib/monodoc/sources/cs-errors.zip/CS0308 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0308 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0308 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,21 @@ CS0308 + // CS0308: The non-generic method `X.Foo()' cannot be used with the type arguments +// Line: 12 + +class X +{ + public void Foo () + { + } + + void Test () + { + Foo<int> (); + } +} + // CS0308: The non-generic method `C.TestCall(int)' cannot be used with the type arguments // Line: 13 @@ -57,6 +72,20 @@ } } + // CS0308: The non-generic type `NamingContext' cannot be used with the type arguments +// Line: 6 + +class Program +{ + static NamingContext<int> Lookup () + { + return null; + } +} + +class NamingContext +{ +} // CS0308: The non-generic type `Stack' cannot be used with the type arguments // Line: 9 @@ -68,36 +97,6 @@ Stack<float> stack; } - // CS0308: The non-generic method `X.Foo()' cannot be used with the type arguments -// Line: 12 - -class X -{ - public void Foo () - { - } - - void Test () - { - Foo<int> (); - } -} - - // CS0308: The non-generic type `Test.NonGeneric' cannot be used with the type arguments -// Line: 8 - -public class Test -{ - public static void Main (string[] args) - { - NonGeneric dummy = new NonGeneric<string> (); - } - - internal class NonGeneric - { - } -} - // CS0308: The non-generic type `System.DateTime' cannot be used with the type arguments // Line: 8 @@ -130,19 +129,20 @@ } } - // CS0308: The non-generic type `NamingContext' cannot be used with the type arguments -// Line: 6 + // CS0308: The non-generic type `Test.NonGeneric' cannot be used with the type arguments +// Line: 8 -class Program +public class Test { - static NamingContext<int> Lookup () + public static void Main (string[] args) { - return null; + NonGeneric dummy = new NonGeneric<string> (); } -} -class NamingContext -{ -} + internal class NonGeneric + { + } +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0310 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0310 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0310 2035-09-30 19:00:50.000000000 +0000 @@ -2,27 +2,27 @@ CS0310 - // CS0310: The type `Class1' must have a public parameterless constructor in order to use it as parameter `T' in the generic type or method `Class3<T>' -// Line: 18 - -public class Class1 -{ - public Class1 (int i) { } -} + // CS0310: The type `A' must have a public parameterless constructor in order to use it as parameter `T' in the generic type or method `Foo<T>' +// Line: 20 -public class Class2<T> +public class Foo<T> + where T : new () { } -public class Class3<T> where T : new () +class A { + private A () + { } } - -class A : Class2<Class3<Class1>> +class X { + static void Main () + { + object o = new Foo<A> (); + } } - // CS0310: The type `Foo' must have a public parameterless constructor in order to use it as parameter `a' in the generic type or method `C<a>' // Line: 14 @@ -43,28 +43,6 @@ - // CS0310: The type `A' must have a public parameterless constructor in order to use it as parameter `T' in the generic type or method `Foo<T>' -// Line: 20 - -public class Foo<T> - where T : new () -{ -} - -class A -{ - private A () - { } -} - -class X -{ - static void Main () - { - object o = new Foo<A> (); - } -} - // CS0310: The type `string' must have a public parameterless constructor in order to use it as parameter `T' in the generic type or method `Program.Ret<T>()' // Line: 10 @@ -81,6 +59,28 @@ } } + // CS0310: The type `Class1' must have a public parameterless constructor in order to use it as parameter `T' in the generic type or method `Class3<T>' +// Line: 18 + +public class Class1 +{ + public Class1 (int i) { } +} + +public class Class2<T> +{ +} + +public class Class3<T> where T : new () +{ +} + + +class A : Class2<Class3<Class1>> +{ +} + + // CS0310: The type `A' must have a public parameterless constructor in order to use it as parameter `T' in the generic type or method `Foo<T>' // Line: 18 @@ -89,9 +89,9 @@ { } -abstract class A +class A { - public A () + private A () { } } @@ -112,9 +112,9 @@ { } -class A +abstract class A { - private A () + public A () { } } /usr/lib/monodoc/sources/cs-errors.zip/CS0311 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0311 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0311 2035-09-30 19:00:50.000000000 +0000 @@ -2,42 +2,21 @@ CS0311 - // CS0311: The type `B' cannot be used as type parameter `T' in the generic type or method `Foo<T>'. There is no implicit reference conversion from `B' to `A' -// Line: 35 -using System; - -public class Foo<T> - where T : A -{ - public void Test (T t) - { - Console.WriteLine (t); - Console.WriteLine (t.GetType ()); - t.Hello (); - } -} - -public class A -{ - public void Hello () - { - Console.WriteLine ("Hello World"); - } -} + // CS0311: The type `object' cannot be used as type parameter `U' in the generic type or method `G<C>.Method<U>()'. There is no implicit reference conversion from `object' to `C' +// Line: 9 -public class B +public class C { - public static implicit operator A (B b) + public static void Main () { - return new A (); + var mc = new G<C> (); + mc.Method<object> (); } } -class X +public class G<T> where T : C { - Foo<B> b; - - static void Main () + public void Method<U> () where U : T { } } @@ -93,31 +72,52 @@ } } - // CS0311: The type `B<int>' cannot be used as type parameter `X' in the generic type or method `C<X>'. There is no implicit reference conversion from `B<int>' to `D<B<int>>' -// Line: 3 -class A : C<B<int>> {} -class B<X> {} -interface C<X> where X : D<X> {} -interface D<X> {} - - // CS0311: The type `object' cannot be used as type parameter `U' in the generic type or method `G<C>.Method<U>()'. There is no implicit reference conversion from `object' to `C' -// Line: 9 + // CS0311: The type `B' cannot be used as type parameter `T' in the generic type or method `Foo<T>'. There is no implicit reference conversion from `B' to `A' +// Line: 35 +using System; -public class C +public class Foo<T> + where T : A { - public static void Main () + public void Test (T t) { - var mc = new G<C> (); - mc.Method<object> (); + Console.WriteLine (t); + Console.WriteLine (t.GetType ()); + t.Hello (); } } -public class G<T> where T : C +public class A { - public void Method<U> () where U : T + public void Hello () + { + Console.WriteLine ("Hello World"); + } +} + +public class B +{ + public static implicit operator A (B b) + { + return new A (); + } +} + +class X +{ + Foo<B> b; + + static void Main () { } } + // CS0311: The type `B<int>' cannot be used as type parameter `X' in the generic type or method `C<X>'. There is no implicit reference conversion from `B<int>' to `D<B<int>>' +// Line: 3 +class A : C<B<int>> {} +class B<X> {} +interface C<X> where X : D<X> {} +interface D<X> {} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0312 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0312 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0312 2035-09-30 19:00:50.000000000 +0000 @@ -21,7 +21,7 @@ } } - // CS0312: The type `E?' cannot be used as type parameter `T' in the generic type or method `C<System.Enum>.Foo<T>(T)'. The nullable type `E?' does not satisfy constraint `System.Enum' + // CS0312: The type `E?' cannot be used as type parameter `T' in the generic type or method `C<E>.Foo<T>(T)'. The nullable type `E?' does not satisfy constraint `E' // Line: 16 enum E @@ -34,13 +34,13 @@ { } - static void Test (E? s) + static void Test (E? e) { - C<System.Enum>.Foo (s); + C<E>.Foo (e); } } - // CS0312: The type `E?' cannot be used as type parameter `T' in the generic type or method `C<E>.Foo<T>(T)'. The nullable type `E?' does not satisfy constraint `E' + // CS0312: The type `E?' cannot be used as type parameter `T' in the generic type or method `C<System.Enum>.Foo<T>(T)'. The nullable type `E?' does not satisfy constraint `System.Enum' // Line: 16 enum E @@ -53,9 +53,9 @@ { } - static void Test (E? e) + static void Test (E? s) { - C<E>.Foo (e); + C<System.Enum>.Foo (s); } } /usr/lib/monodoc/sources/cs-errors.zip/CS0313 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0313 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0313 2035-09-30 19:00:50.000000000 +0000 @@ -2,45 +2,45 @@ CS0313 - // CS0313: The type `S?' cannot be used as type parameter `T' in the generic type or method `S.Foo<T>(T)'. The nullable type `S?' never satisfies interface constraint `I' -// Line: 16 + // CS0313: The type `S?' cannot be used as type parameter `T' in the generic type or method `C<I>.Foo<T>(T)'. The nullable type `S?' never satisfies interface constraint `I' +// Line: 20 + +struct S : I +{ +} interface I { } -struct S : I +class C<U> { - static void Foo<T> (T t) where T : I + static void Foo<T> (T value) where T : U { } - static void Test (S? s) + static void Bar (S? s) { - Foo (s); + C<I>.Foo (s); } } - // CS0313: The type `S?' cannot be used as type parameter `T' in the generic type or method `C<I>.Foo<T>(T)'. The nullable type `S?' never satisfies interface constraint `I' -// Line: 20 - -struct S : I -{ -} + // CS0313: The type `S?' cannot be used as type parameter `T' in the generic type or method `S.Foo<T>(T)'. The nullable type `S?' never satisfies interface constraint `I' +// Line: 16 interface I { } -class C<U> +struct S : I { - static void Foo<T> (T value) where T : U + static void Foo<T> (T t) where T : I { } - static void Bar (S? s) + static void Test (S? s) { - C<I>.Foo (s); + Foo (s); } } /usr/lib/monodoc/sources/cs-errors.zip/CS0315 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0315 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0315 2035-09-30 19:00:50.000000000 +0000 @@ -2,40 +2,36 @@ CS0315 - // CS0315: The type `int' cannot be used as type parameter `U' in the generic type or method `A<int?>.Test<U>()'. There is no boxing conversion from `int' to `int?' -// Line: 19 + // CS0315: The type `int' cannot be used as type parameter `T' in the generic type or method `H<T>'. There is no boxing conversion from `int' to `I' +// Line: 27 -class A<T> +using System; + +interface I { - public static void Test<U> () where U : T - { - } } -class B : A<int?> +class H<T> where T : I, new() { } -class Program +public class A { - public static void Main () + static void Test (Action a) { - B.Test<int> (); } -} - - // CS0315: The type `int' cannot be used as type parameter `TEventArgs' in the generic type or method `X.D<TEventArgs>'. There is no boxing conversion from `int' to `System.EventArgs' -// Line: 8 - -class X -{ - delegate void D<TEventArgs> () where TEventArgs : System.EventArgs; - - D<int> x; -} + static void Foo<T>() + { + } - + static void Main () + { + Test (() => { + Foo<H<int>> (); + }); + } +} // CS0315: The type `ushort' cannot be used as type parameter `T' in the generic type or method `A<T>'. There is no boxing conversion from `ushort' to `A<ushort>.N1<ushort>' // Line: 9 // Compiler options: -r:CS0315-2-lib.dll @@ -48,36 +44,28 @@ } } - // CS0315: The type `int' cannot be used as type parameter `T' in the generic type or method `H<T>'. There is no boxing conversion from `int' to `I' -// Line: 27 - -using System; + // CS0315: The type `int' cannot be used as type parameter `U' in the generic type or method `A<int?>.Test<U>()'. There is no boxing conversion from `int' to `int?' +// Line: 19 -interface I +class A<T> { + public static void Test<U> () where U : T + { + } } -class H<T> where T : I, new() +class B : A<int?> { } -public class A +class Program { - static void Test (Action a) - { - } - - static void Foo<T>() - { - } - - static void Main () + public static void Main () { - Test (() => { - Foo<H<int>> (); - }); + B.Test<int> (); } -} +} + // CS0315: The type `short' cannot be used as type parameter `T' in the generic type or method `A<T>'. There is no boxing conversion from `short' to `A<short>.N1<short>' // Line: 4 @@ -87,5 +75,17 @@ { } } + // CS0315: The type `int' cannot be used as type parameter `TEventArgs' in the generic type or method `X.D<TEventArgs>'. There is no boxing conversion from `int' to `System.EventArgs' +// Line: 8 + +class X +{ + delegate void D<TEventArgs> () where TEventArgs : System.EventArgs; + + D<int> x; +} + + + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0403 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0403 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0403 2035-09-30 19:00:50.000000000 +0000 @@ -5,15 +5,23 @@ // CS0403: Cannot convert null to the type parameter `T' because it could be a value type. Consider using `default (T)' instead // Line: 8 -struct S +class X { - public void Foo<T> () where T : struct + public static T CreateMethod<T> () { - T t = null; + return (T)null; } +} + + // CS0403: Cannot convert null to the type parameter `T' because it could be a value type. Consider using `default (T)' instead +// Line: 8 - static void Main () - { } +class Test<T> +{ + public T Null () + { + return (null); + } } // CS0403: Cannot convert null to the type parameter `T' because it could be a value type. Consider using `default (T)' instead @@ -35,23 +43,15 @@ // CS0403: Cannot convert null to the type parameter `T' because it could be a value type. Consider using `default (T)' instead // Line: 8 -class X +struct S { - public static T CreateMethod<T> () + public void Foo<T> () where T : struct { - return (T)null; + T t = null; } -} - - // CS0403: Cannot convert null to the type parameter `T' because it could be a value type. Consider using `default (T)' instead -// Line: 8 -class Test<T> -{ - public T Null () - { - return (null); - } + static void Main () + { } } /usr/lib/monodoc/sources/cs-errors.zip/CS0407 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0407 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0407 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,21 @@ CS0407 + // CS0407: A method or delegate `int MainClass.Delegate()' return type does not match delegate `void TestDelegate()' return type +// Line: 12 + +delegate void TestDelegate(); + +public class MainClass { + public static int Delegate() { + return 0; + } + + public static void Main() { + TestDelegate delegateInstance = new TestDelegate (Delegate); + } +} + // CS0407: A method or delegate `int TestDelegateA(bool)' return type does not match delegate `bool TestDelegateB(bool)' return type // Line: 12 @@ -23,21 +38,22 @@ } - // CS0407: A method or delegate `TestDelegateA MainClass.Method(bool)' return type does not match delegate `int TestDelegateA(bool)' return type -// Line: 12 + // CS0407: A method or delegate `int int.Parse(string)' return type does not match delegate `object Test.Conv(string)' return type +// Line: 17 -delegate int TestDelegateA (bool b); +using System; -public class MainClass +public class Test { - static TestDelegateA Method (bool b) + private delegate object Conv(string str); + + public static void Main() { - return Method; + Conv c = new Conv(int.Parse); } } - - // CS0407: A method or delegate `int Program.Foo(object)' return type does not match delegate `void System.Action<dynamic>(dynamic)' return type + // CS0407: A method or delegate `dynamic Program.Foo()' return type does not match delegate `string System.Func<string>()' return type // Line: 10 using System; @@ -46,27 +62,12 @@ { static void Main() { - Action<dynamic> d = Foo; - } - - static int Foo (object o) - { - return 0; + Func<string> d = Foo; } -} - - // CS0407: A method or delegate `int int.Parse(string)' return type does not match delegate `object Test.Conv(string)' return type -// Line: 17 - -using System; -public class Test -{ - private delegate object Conv(string str); - - public static void Main() + static dynamic Foo () { - Conv c = new Conv(int.Parse); + return 1; } } @@ -90,22 +91,7 @@ } } - // CS0407: A method or delegate `int MainClass.Delegate()' return type does not match delegate `void TestDelegate()' return type -// Line: 12 - -delegate void TestDelegate(); - -public class MainClass { - public static int Delegate() { - return 0; - } - - public static void Main() { - TestDelegate delegateInstance = new TestDelegate (Delegate); - } -} - - // CS0407: A method or delegate `dynamic Program.Foo()' return type does not match delegate `string System.Func<string>()' return type + // CS0407: A method or delegate `int Program.Foo(object)' return type does not match delegate `void System.Action<dynamic>(dynamic)' return type // Line: 10 using System; @@ -114,14 +100,28 @@ { static void Main() { - Func<string> d = Foo; + Action<dynamic> d = Foo; } - static dynamic Foo () + static int Foo (object o) { - return 1; + return 0; + } +} + + // CS0407: A method or delegate `TestDelegateA MainClass.Method(bool)' return type does not match delegate `int TestDelegateA(bool)' return type +// Line: 12 + +delegate int TestDelegateA (bool b); + +public class MainClass +{ + static TestDelegateA Method (bool b) + { + return Method; } } + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0411 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0411 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0411 2035-09-30 19:00:50.000000000 +0000 @@ -3,70 +3,130 @@ CS0411 // CS0411: The type arguments for method `C.Foo<T>(System.Func<T>)' cannot be inferred from the usage. Try specifying the type arguments explicitly -// Line: 10 +// Line: 14 using System; class C { - static void Main () + static void Foo<T> (Func<T> a) { - Foo (() => () => 1); } - - static void Foo<T> (Func<T> arg) + + static void Main () { + Foo (() => Main); } } - // CS0411: The type arguments for method `M.Foo<T>(System.Func<T>)' cannot be inferred from the usage. Try specifying the type arguments explicitly + // CS0411: The type arguments for method `C.Foo<T>(ref T, ref T)' cannot be inferred from the usage. Try specifying the type arguments explicitly // Line: 14 -using System; - -class M +class C { - static void Foo<T> (Func<T> t) + public static void Foo<T> (ref T t1, ref T t2) { } public static void Main () { - Foo (delegate { throw new Exception("foo"); }); + string s = "a"; + object o = null; + Foo (ref s, ref o); } } - // CS0411: The type arguments for method `C.Foo<T>(ref T, ref T)' cannot be inferred from the usage. Try specifying the type arguments explicitly -// Line: 14 + // CS0411: The type arguments for method `C.Foo<T>(System.Func<T>)' cannot be inferred from the usage. Try specifying the type arguments explicitly +// Line: 10 + +using System; class C { - public static void Foo<T> (ref T t1, ref T t2) + static void Main () { + Foo (() => () => 1); } - - public static void Main () + + static void Foo<T> (Func<T> arg) { - string s = "a"; - object o = null; - Foo (ref s, ref o); } } // CS0411: The type arguments for method `C.Foo<T>(T)' cannot be inferred from the usage. Try specifying the type arguments explicitly -// Line: 14 -// Compiler options: -unsafe +// Line: 12 class C { + static void X () + { + } + static void Foo<T> (T t) { + Foo(X ()); } +} + + // CS0411: The type arguments for method `System.Linq.Enumerable.OrderBy<TSource,TKey>(this System.Collections.Generic.IEnumerable<TSource>, System.Func<TSource,TKey>)' cannot be inferred from the usage. Try specifying the type arguments explicitly +// Line: 20 - unsafe static void Test () +using System.Collections.Generic; +using System.Linq; + +public class C +{ + public string Name () + { + return "aa"; + } +} + +class Z +{ + void Test () + { + List<C> l = null; + var r = l.OrderBy (f => f.Name).ToList (); + } +} + // CS0411: The type arguments for method `Test<float>.Foo<V,W>(V, V)' cannot be inferred from the usage. Try specifying the type arguments explicitly +// Line: 15 + +class Test<A> +{ + public void Foo<V,W> (V v, V w) + { } +} + +class X +{ + static void Main () + { + Test<float> test = new Test<float> (); + test.Foo (8, 9); + } +} + + + // CS0411: The type arguments for method `C.Test<T>(System.Func<T>)' cannot be inferred from the usage. Try specifying the type arguments explicitly +// Line: 14 + +using System; + +interface IB +{ +} + +class C +{ + public static void Main () + { + Test (() => { if (true) return (C) null; return (IB) null; }); + } + + static void Test<T> (Func<T> f) { - int* i = null; - Foo (i); } } @@ -88,23 +148,19 @@ int s = Test (delegate (int i) { return 0; }, delegate (int i) { return "a"; }); } } - // CS0411: The type arguments for method `C.Foo<T>(I<T>)' cannot be inferred from the usage. Try specifying the type arguments explicitly -// Line: 17 - -interface I<T> -{ -} + // CS0411: The type arguments for method `C.TestCall<T>(int)' cannot be inferred from the usage. Try specifying the type arguments explicitly +// Line: 13 -class C : I<long>, I<int> +class C { - static void Foo<T> (I<T> i) + static void TestCall<T> (int i) { } - - static void Main () + + public static void Main () { - C c = new C (); - Foo (c); + dynamic d = 0; + TestCall (d); } } @@ -127,40 +183,66 @@ } - // CS0411: The type arguments for method `C.TestCall<T>(int)' cannot be inferred from the usage. Try specifying the type arguments explicitly -// Line: 13 + // CS0411: The type arguments for method `Foo<U>.DoSomething<U>(System.Func<U,U>)' cannot be inferred from the usage. Try specifying the type arguments explicitly +// Line: 15 + +using System; + /usr/lib/monodoc/sources/cs-errors.zip/CS0413 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0413 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0413 2035-09-30 19:00:50.000000000 +0000 @@ -3,12 +3,11 @@ CS0413 // CS0413: The `as' operator cannot be used with a non-reference type parameter `T'. Consider adding `class' or a reference type constraint -// Line: 8 +// Line: 7 -public class SomeClass { -} +public class SomeClass {} -public class Foo<T> where T : struct { +public class Foo<T> { public T Do (object o) { return o as T; } } @@ -22,11 +21,12 @@ // CS0413: The `as' operator cannot be used with a non-reference type parameter `T'. Consider adding `class' or a reference type constraint -// Line: 7 +// Line: 8 -public class SomeClass {} +public class SomeClass { +} -public class Foo<T> { +public class Foo<T> where T : struct { public T Do (object o) { return o as T; } } /usr/lib/monodoc/sources/cs-errors.zip/CS0416 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0416 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0416 2035-09-30 19:00:50.000000000 +0000 @@ -34,6 +34,25 @@ } } } + // CS0416: `C<T>': an attribute argument cannot use type parameters +// Line: 15 + +using System; + +public class TestAttribute : Attribute +{ + public TestAttribute(Type type) + { + } +} + +class C<T> +{ + [Test(typeof(C<T>))] + public static void Foo() + { + } +} // CS0416: `C<T>.N': an attribute argument cannot use type parameters // Line: 17 @@ -57,24 +76,5 @@ } } - // CS0416: `C<T>': an attribute argument cannot use type parameters -// Line: 15 - -using System; - -public class TestAttribute : Attribute -{ - public TestAttribute(Type type) - { - } -} - -class C<T> -{ - [Test(typeof(C<T>))] - public static void Foo() - { - } -} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0418 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0418 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0418 2035-09-30 19:00:50.000000000 +0000 @@ -9,7 +9,7 @@ public string myId; } -public sealed partial class Foo +public static partial class Foo { public string Id { get { return myId; } } } @@ -24,6 +24,13 @@ } + // CS0418: `TestClass': an abstract class cannot be sealed or static +// Line: 4 + +public abstract static class TestClass +{ +} + // CS0418: `Foo': an abstract class cannot be sealed or static // Line: 3 public abstract sealed partial class Foo @@ -44,13 +51,6 @@ // CS0418: `TestClass': an abstract class cannot be sealed or static // Line: 4 -public abstract static class TestClass -{ -} - - // CS0418: `TestClass': an abstract class cannot be sealed or static -// Line: 4 - public abstract sealed class TestClass { } @@ -62,7 +62,7 @@ public string myId; } -public static partial class Foo +public sealed partial class Foo { public string Id { get { return myId; } } } /usr/lib/monodoc/sources/cs-errors.zip/CS0419 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0419 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0419 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,16 @@ CS0419 + // CS0419: Ambiguous reference in cref attribute `System.String.Replace'. Assuming `string.Replace(string, string, bool, System.Globalization.CultureInfo)' but other overloads including `string.Replace(string, string, System.StringComparison)' have also matched +// Line: 1 +// Compiler options: -doc:dummy.xml -warn:3 -warnaserror +/// <summary> +/// Exposes <see cref="System.String.Replace"/> to XSLT +/// </summary> +public class Test { +} + + // CS0419: Ambiguous reference in cref attribute `A.this'. Assuming `Test.A.this[int]' but other overloads including `Test.A.this[string]' have also matched // Line: 7 // Compiler options: -doc:dummy.xml -warnaserror @@ -38,50 +48,40 @@ } - // CS0419: Ambiguous reference in cref attribute `XmlDocument.Load'. Assuming `System.Xml.XmlDocument.Load(string)' but other overloads including `System.Xml.XmlDocument.Load(System.IO.Stream)' have also matched + // CS0419: Ambiguous reference in cref attribute `DateTime.ToString'. Assuming `System.DateTime.ToString()' but other overloads including `System.DateTime.ToString(string)' have also matched // Line: 10 // Compiler options: -doc:dummy.xml -warnaserror -warn:4 // // NOTE: this error message is dependent on the order of members, so feel free to modify the message if is going not to match. -using System.Xml; +using System; /// <summary> -/// <see cref="XmlDocument.Load" /> +/// <see cref="DateTime.ToString" /> /// </summary> public class EntryPoint { static void Main () { } } - - // CS0419: Ambiguous reference in cref attribute `System.String.Replace'. Assuming `string.Replace(string, string, bool, System.Globalization.CultureInfo)' but other overloads including `string.Replace(string, string, System.StringComparison)' have also matched -// Line: 1 -// Compiler options: -doc:dummy.xml -warn:3 -warnaserror -/// <summary> -/// Exposes <see cref="System.String.Replace"/> to XSLT -/// </summary> -public class Test { -} - // CS0419: Ambiguous reference in cref attribute `DateTime.ToString'. Assuming `System.DateTime.ToString()' but other overloads including `System.DateTime.ToString(string)' have also matched + // CS0419: Ambiguous reference in cref attribute `XmlDocument.Load'. Assuming `System.Xml.XmlDocument.Load(string)' but other overloads including `System.Xml.XmlDocument.Load(System.IO.Stream)' have also matched // Line: 10 // Compiler options: -doc:dummy.xml -warnaserror -warn:4 // // NOTE: this error message is dependent on the order of members, so feel free to modify the message if is going not to match. -using System; +using System.Xml; /// <summary> -/// <see cref="DateTime.ToString" /> +/// <see cref="XmlDocument.Load" /> /// </summary> public class EntryPoint { static void Main () { } } - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0420 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0420 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0420 2035-09-30 19:00:50.000000000 +0000 @@ -2,35 +2,35 @@ CS0420 - // CS0420: `XX.j': A volatile field references will not be treated as volatile -// Line: 14 + // CS0420: `X.j': A volatile field references will not be treated as volatile +// Line: 10 // Compiler options: -unsafe /warnaserror /warn:1 -unsafe class XX { +unsafe class X { static volatile int j; - - static void X (ref int a) - { - } static void Main () { - X (ref j); + fixed (int *p = &j){ + + } } } - // CS0420: `X.j': A volatile field references will not be treated as volatile -// Line: 10 + // CS0420: `XX.j': A volatile field references will not be treated as volatile +// Line: 14 // Compiler options: -unsafe /warnaserror /warn:1 -unsafe class X { +unsafe class XX { static volatile int j; + + static void X (ref int a) + { + } static void Main () { - fixed (int *p = &j){ - - } + X (ref j); } } /usr/lib/monodoc/sources/cs-errors.zip/CS0425 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0425 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0425 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,17 @@ CS0425 + // CS0425: The constraints for type parameter `T' of method `CA.Foo<T>()' must match the constraints for type parameter `U' of interface method `IA.Foo<U>()'. Consider using an explicit interface implementation instead +// Line: 5 +// Compiler options: -r:CS0425-7-lib.dll + +public class CB : CA, IA +{ + public static void Main () + { + } +} + // CS0425: The constraints for type parameter `V' of method `Foo<T>.Test<V>()' must match the constraints for type parameter `U' of interface method `IFoo<T>.Test<U>()'. Consider using an explicit interface implementation instead // Line: 13 interface IFoo<T> @@ -23,43 +34,6 @@ { } } - // CS0425: The constraints for type parameter `V' of method `Foo<T,X>.Test<V>()' must match the constraints for type parameter `U' of interface method `IFoo<T>.Test<U>()'. Consider using an explicit interface implementation instead -// Line: 11 - -interface IFoo<T> -{ - void Test<U> () where U : T; -} - -class Foo<T, X> : IFoo<T> -{ - public void Test<V> () where V : X - { - } -} - - // CS0425: The constraints for type parameter `T' of method `CA.Foo<T>()' must match the constraints for type parameter `U' of interface method `IA.Foo<U>()'. Consider using an explicit interface implementation instead -// Line: 16 - -interface IA -{ - void Foo<U> (); -} - -class CA -{ - public void Foo<T> () where T : class - { - } -} - -class CB : CA, IA -{ - public static void Main () - { - } -} - // CS0425: The constraints for type parameter `V' of method `Foo<T>.Test<V>()' must match the constraints for type parameter `U' of interface method `IFoo<T>.Test<U>()'. Consider using an explicit interface implementation instead // Line: 12 interface IFoo<T> @@ -80,6 +54,21 @@ { } } + // CS0425: The constraints for type parameter `T' of method `C.Foo<T>()' must match the constraints for type parameter `T' of interface method `I.Foo<T>()'. Consider using an explicit interface implementation instead +// Line: 11 + +interface I +{ + void Foo<T> (); +} + +class C : I +{ + public void Foo<T> () where T : struct + { + } +} + // CS0425: The constraints for type parameter `T' of method `Test.Baz.Method<T,V>()' must match the constraints for type parameter `T' of interface method `Test.IBar.Method<T,V>()'. Consider using an explicit interface implementation instead // Line: 18 namespace Test @@ -103,26 +92,37 @@ } } - // CS0425: The constraints for type parameter `T' of method `C.Foo<T>()' must match the constraints for type parameter `T' of interface method `I.Foo<T>()'. Consider using an explicit interface implementation instead + // CS0425: The constraints for type parameter `V' of method `Foo<T,X>.Test<V>()' must match the constraints for type parameter `U' of interface method `IFoo<T>.Test<U>()'. Consider using an explicit interface implementation instead // Line: 11 -interface I +interface IFoo<T> { - void Foo<T> (); + void Test<U> () where U : T; } -class C : I +class Foo<T, X> : IFoo<T> { - public void Foo<T> () where T : struct + public void Test<V> () where V : X { } } // CS0425: The constraints for type parameter `T' of method `CA.Foo<T>()' must match the constraints for type parameter `U' of interface method `IA.Foo<U>()'. Consider using an explicit interface implementation instead -// Line: 5 -// Compiler options: -r:CS0425-7-lib.dll +// Line: 16 -public class CB : CA, IA +interface IA +{ + void Foo<U> (); +} + +class CA +{ + public void Foo<T> () where T : class + { + } +} + +class CB : CA, IA { public static void Main () { /usr/lib/monodoc/sources/cs-errors.zip/CS0426 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0426 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0426 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,20 @@ CS0426 + // CS0426: The nested type `Foo' does not exist in the type `C<int>' +// Line: 11 + +public abstract class B<T> +{ + public class Foo + { + } +} + +public class C<T> : B<C<int>.Foo> +{ +} + // CS0426: The nested type `M' does not exist in the type `N' // Line: 6 @@ -32,19 +46,5 @@ } } - // CS0426: The nested type `Foo' does not exist in the type `C<int>' -// Line: 11 - -public abstract class B<T> -{ - public class Foo - { - } -} - -public class C<T> : B<C<int>.Foo> -{ -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0429 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0429 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0429 2035-09-30 19:00:50.000000000 +0000 @@ -3,31 +3,31 @@ CS0429 // CS0429: Unreachable expression code detected -// Line: 11 +// Line: 9 // Compiler options: -warn:4 -warnaserror -using System; - class Main { public void Method (int i) { - if (5 == 5 || i > 10) - Console.WriteLine ("TEST"); + if (false && i > 10) + return; } } // CS0429: Unreachable expression code detected -// Line: 9 -// Compiler options: -warn:4 -warnaserror +// Line: 12 +// Compiler options: -warnaserror -class Main +public class X { - public void Method (int i) - { - if (false && i > 10) - return; - } + static void test (int stop) + { + int pos = 0; + do { + break; + } while (pos < stop); + } } // CS0429: Unreachable expression code detected @@ -43,18 +43,18 @@ } // CS0429: Unreachable expression code detected -// Line: 12 -// Compiler options: -warnaserror +// Line: 11 +// Compiler options: -warn:4 -warnaserror -public class X +using System; + +class Main { - static void test (int stop) - { - int pos = 0; - do { - break; - } while (pos < stop); - } + public void Method (int i) + { + if (5 == 5 || i > 10) + Console.WriteLine ("TEST"); + } } /usr/lib/monodoc/sources/cs-errors.zip/CS0430 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0430 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0430 2035-09-30 19:00:50.000000000 +0000 @@ -5,33 +5,33 @@ // CS0430: The extern alias `dontdefined' was not specified in -reference option // Line: 4 +extern alias dontdefined; using System; -namespace N -{ - extern alias dontdefined; -} - public class Tester { static void Main () { } } + // CS0430: The extern alias `dontdefined' was not specified in -reference option // Line: 4 -extern alias dontdefined; using System; +namespace N +{ + extern alias dontdefined; +} + public class Tester { static void Main () { } } - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0432 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0432 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0432 2035-09-30 19:00:50.000000000 +0000 @@ -8,13 +8,6 @@ using X = System; using X::Collections.Generic; - // CS0432: Alias `Sa' not found -// Line: 6 - -using S = System; - -[assembly: Sa::CLSCompliantAttribute (false)] - // CS0432: Alias `BB' not found // Line: 13 @@ -43,6 +36,13 @@ } } + // CS0432: Alias `Sa' not found +// Line: 6 + +using S = System; + +[assembly: Sa::CLSCompliantAttribute (false)] + // CS0432: Alias `fool' not found // Line: 9 /usr/lib/monodoc/sources/cs-errors.zip/CS0445 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0445 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0445 2035-09-30 19:00:50.000000000 +0000 @@ -3,30 +3,30 @@ CS0445 // CS0445: Cannot modify the result of an unboxing conversion -// Line: 8 +// Line: 10 struct S { - public void Do (object o) + public int val { set {} } + + public void Do (object o) { - ((S) o)[1] = 4; + ((S)o).val = 4; } - - int this[int arg] { set { } } } // CS0445: Cannot modify the result of an unboxing conversion -// Line: 10 +// Line: 8 struct S { - public int val; - - public void Do (object o) + public void Do (object o) { - ((S)o).val = 4; + ((S) o)[1] = 4; } + + int this[int arg] { set { } } } @@ -35,7 +35,7 @@ struct S { - public int val { set {} } + public int val; public void Do (object o) { /usr/lib/monodoc/sources/cs-errors.zip/CS0446 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0446 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0446 2035-09-30 19:00:50.000000000 +0000 @@ -2,32 +2,32 @@ CS0446 - // CS0446: Foreach statement cannot operate on a `anonymous method' + // CS0446: Foreach statement cannot operate on a `method group' // Line: 8 class C { static void M () { - foreach (int i in delegate { } ) + foreach (int i in Test) { } } + + static void Test () { } } - // CS0446: Foreach statement cannot operate on a `method group' + // CS0446: Foreach statement cannot operate on a `anonymous method' // Line: 8 class C { static void M () { - foreach (int i in Test) + foreach (int i in delegate { } ) { } } - - static void Test () { } } /usr/lib/monodoc/sources/cs-errors.zip/CS0449 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0449 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0449 2035-09-30 19:00:50.000000000 +0000 @@ -3,15 +3,6 @@ CS0449 // CS0449: The `class' or `struct' constraint must be the first constraint specified -// Line: 6 - -public class C<T> -{ - public void Foo<T>() where T : class, struct - { - } -} - // CS0449: The `class' or `struct' constraint must be the first constraint specified // Line: 8 public interface I @@ -29,5 +20,14 @@ void Foo<T> () where T : class, struct; } + // CS0449: The `class' or `struct' constraint must be the first constraint specified +// Line: 6 + +public class C<T> +{ + public void Foo<T>() where T : class, struct + { + } +} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0450 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0450 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0450 2035-09-30 19:00:50.000000000 +0000 @@ -2,25 +2,25 @@ CS0450 - // CS0450: `A': cannot specify both a constraint class and the `class' or `struct' constraint + // CS0450: `A<bool,int>': cannot specify both a constraint class and the `class' or `struct' constraint // Line: 8 -class A +class A<T, U> { } -class B<T> where T : class, A -{ -} +delegate void Test<T>() where T : struct, A<bool, int>; - // CS0450: `A<bool,int>': cannot specify both a constraint class and the `class' or `struct' constraint + // CS0450: `A': cannot specify both a constraint class and the `class' or `struct' constraint // Line: 8 -class A<T, U> +class A { } -delegate void Test<T>() where T : struct, A<bool, int>; +class B<T> where T : class, A +{ +} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0452 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0452 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0452 2035-09-30 19:00:50.000000000 +0000 @@ -2,24 +2,30 @@ CS0452 - // CS0452: The type `int' must be a reference type in order to use it as type parameter `T' in the generic type or method `A.Foo<T>(T, string)' -// Line: 18 + // CS0452: The type `int' must be a reference type in order to use it as type parameter `T' in the generic type or method `TestClass<T>' +// Line: 23 +using System; -class A +public class TestClass<T> where T : class { - static int Foo<T> (T a, string s) where T : class + static public T meth() { - return 1; + return null; } - static int Foo<T> (T a, object y) + static public T Value; +} + +public class Test +{ + public Test() { - return 2; } - - public static void Main () + + static public void Main() { - A.Foo<int> (99, null); + int i = TestClass<int>.meth(); + Console.WriteLine (i); } } @@ -40,22 +46,37 @@ } } - // CS0452: The type `int' must be a reference type in order to use it as type parameter `T' in the generic type or method `C<T>' -// Line: 10 + // CS0452: The type `U' must be a reference type in order to use it as type parameter `UU' in the generic type or method `B.Test<UU>(UU)' +// Line: 13 -public class C<T> where T : class +abstract class A<T> { + public abstract void Foo<U> (U arg) where U : T; } -delegate C<int> D (); +class B : A<int> +{ + public override void Foo<U> (U arg) + { + Test (arg); + } + + void Test<UU> (UU a) where UU : class + { + } +} - // CS0452: The type `ulong' must be a reference type in order to use it as type parameter `T' in the generic type or method `C<T>' + // CS0452: The type `int' must be a reference type in order to use it as type parameter `T' in the generic type or method `C<T>' // Line: 10 public class C<T> where T : class { - public int this [params C<ulong>[] args] { - set {} +} + +class A +{ + public A (ref C<int> args) + { } } @@ -77,20 +98,35 @@ { } } - // CS0452: The type `int' must be a reference type in order to use it as type parameter `T' in the generic type or method `C<T>' -// Line: 10 - -public class C<T> where T : class -{ -} + // CS0452: The type `int' must be a reference type in order to use it as type parameter `T' in the generic type or method `A.Foo<T>(T, string)' +// Line: 18 class A { - public A (ref C<int> args) + static int Foo<T> (T a, string s) where T : class + { + return 1; + } + + static int Foo<T> (T a, object y) { + return 2; } + + public static void Main () + { + A.Foo<int> (99, null); + } +} + + // CS0452: The type `int' must be a reference type in order to use it as type parameter `T' in the generic type or method `C<T>' +// Line: 10 + +public class C<T> where T : class +{ } +delegate void D (C<int> arg); // CS0452: The type `int' must be a reference type in order to use it as type parameter `T' in the generic type or method `Program.M<T>(T, T)' // Line: 8 @@ -102,52 +138,16 @@ M (1); } } - // CS0452: The type `U' must be a reference type in order to use it as type parameter `UU' in the generic type or method `B.Test<UU>(UU)' -// Line: 13 - -abstract class A<T> -{ - public abstract void Foo<U> (U arg) where U : T; -} + // CS0452: The type `ulong' must be a reference type in order to use it as type parameter `T' in the generic type or method `C<T>' +// Line: 10 -class B : A<int> +public class C<T> where T : class { - public override void Foo<U> (U arg) - { - Test (arg); - } - - void Test<UU> (UU a) where UU : class - { + public int this [params C<ulong>[] args] { + set {} } } - - // CS0452: The type `int' must be a reference type in order to use it as type parameter `T' in the generic type or method `TestClass<T>' -// Line: 23 -using System; -public class TestClass<T> where T : class -{ - static public T meth() - { - return null; - } - - static public T Value; -} - -public class Test -{ - public Test() - { - } - - static public void Main() - { - int i = TestClass<int>.meth(); - Console.WriteLine (i); - } -} // CS0452: The type `int' must be a reference type in order to use it as type parameter `T' in the generic type or method `TestClass<T>' // Line: 23 @@ -183,7 +183,7 @@ { } -delegate void D (C<int> arg); +delegate C<int> D (); \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0453 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0453 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0453 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,21 @@ CS0453 + // CS0453: The type `string' must be a non-nullable value type in order to use it as type parameter `T' in the generic type or method `C<T>' +// Line: 10 + +public class C<T> where T : struct +{ +} + +class A +{ + public void Foo (C<string>[] args) + { + } +} + + // CS0453: The type `Foo' must be a non-nullable value type in order to use it as type parameter `T' in the generic type or method `System.Nullable<T>' // Line: 10 public class Foo @@ -15,6 +30,37 @@ } } + // CS0453: The type `X' must be a non-nullable value type in order to use it as type parameter `T' in the generic type or method `MyValue<T>' +// Line: 10 +public class MyValue<T> + where T : struct +{ } + +class X +{ + MyValue<X> x; + + static void Main () + { } +} + + // CS0453: The type `Bar?' must be a non-nullable value type in order to use it as type parameter `T' in the generic type or method `Foo<T>' +// Line: 14 +public class Foo<T> + where T : struct +{ } + +public struct Bar +{ } + +class X +{ + static void Main () + { + Foo<Bar?> foo; + } +} + // CS0453: The type `B.M' must be a non-nullable value type in order to use it as type parameter `T' in the generic type or method `Foo.Test_2<T>(this T)' // Line: 20 @@ -39,23 +85,6 @@ } } } - // CS0453: The type `dynamic' must be a non-nullable value type in order to use it as type parameter `T' in the generic type or method `Tester.Foo<T>(T)' -// Line: 10 - -class Tester -{ - static void Foo<T> (T t) where T : struct - { - } - - public static int Main () - { - dynamic d = 1; - Foo<dynamic>(d); - return 0; - } -} - // CS0453: The type `string' must be a non-nullable value type in order to use it as type parameter `T' in the generic type or method `C<T>' // Line: 10 @@ -71,38 +100,6 @@ } - // CS0453: The type `string' must be a non-nullable value type in order to use it as type parameter `T' in the generic type or method `C<T>' -// Line: 10 - -public class C<T> where T : struct -{ -} - -class A -{ - public void Foo (C<string>[] args) - { - } -} - - - // CS0453: The type `Bar?' must be a non-nullable value type in order to use it as type parameter `T' in the generic type or method `Foo<T>' -// Line: 14 -public class Foo<T> - where T : struct -{ } - -public struct Bar -{ } - -class X -{ - static void Main () - { - Foo<Bar?> foo; - } -} - // CS0453: The type `T' must be a non-nullable value type in order to use it as type parameter `T' in the generic type or method `System.Nullable<T>' // Line: 14 @@ -114,18 +111,21 @@ return 0; } } - // CS0453: The type `X' must be a non-nullable value type in order to use it as type parameter `T' in the generic type or method `MyValue<T>' + // CS0453: The type `dynamic' must be a non-nullable value type in order to use it as type parameter `T' in the generic type or method `Tester.Foo<T>(T)' // Line: 10 -public class MyValue<T> - where T : struct -{ } -class X +class Tester { - MyValue<X> x; - - static void Main () - { } + static void Foo<T> (T t) where T : struct + { + } + + public static int Main () + { + dynamic d = 1; + Foo<dynamic>(d); + return 0; + } } /usr/lib/monodoc/sources/cs-errors.zip/CS0455 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0455 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0455 2035-09-30 19:00:50.000000000 +0000 @@ -18,6 +18,35 @@ { } + // CS0455: Type parameter `T3' inherits conflicting constraints `X' and `Y' +// Line: 15 + +class X +{ +} + +class Y +{ +} + +class C<T1, T2, T3, T4> + where T1 : X + where T2 : T1 + where T3 : Y, T4 + where T4 : T2 +{ +} + // CS0455: Type parameter `T' inherits conflicting constraints `System.ValueType' and `Test' +// Line: 8 + +class Test +{ } + +class Foo<T,U> + where T : struct, U + where U : Test +{ } + // CS0455: Type parameter `T' inherits conflicting constraints `Test' and `World' // Line: 11 @@ -47,17 +76,6 @@ } } - // CS0455: Type parameter `T' inherits conflicting constraints `System.ValueType' and `Test' -// Line: 8 - -class Test -{ } - -class Foo<T,U> - where T : struct, U - where U : Test -{ } - // CS0455: Type parameter `Y' inherits conflicting constraints `long' and `long?' // Line: 11 @@ -73,23 +91,5 @@ } } - // CS0455: Type parameter `T3' inherits conflicting constraints `X' and `Y' -// Line: 15 - -class X -{ -} - -class Y -{ -} - -class C<T1, T2, T3, T4> - where T1 : X - where T2 : T1 - where T3 : Y, T4 - where T4 : T2 -{ -} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0457 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0457 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0457 2035-09-30 19:00:50.000000000 +0000 @@ -2,50 +2,6 @@ CS0457 - // CS0457: Ambiguous user defined conversions `A.implicit operator byte(A)' and `A.implicit operator sbyte(A)' when converting from 'A' to 'int' -// Line: 20 - -class A -{ - public static implicit operator ushort (A mask) - { - return 1; - } - - public static implicit operator short (A mask) - { - return 2; - } -} - -class X -{ - static A a = null; - static object o = -a; -} - - // CS0457: Ambiguous user defined conversions `A.implicit operator byte(A)' and `A.implicit operator sbyte(A)' when converting from 'A' to 'int' -// Line: 20 - -class A -{ - public static implicit operator sbyte (A mask) - { - return 1; - } - - public static implicit operator byte (A mask) - { - return 2; - } -} - -class X -{ - static A a = null; - static object o = ~a; -} - // CS0457: Ambiguous user defined operators `D.implicit operator A(D)' and `C.implicit operator B(C)' when converting from `D' to `B' // Line: 30 @@ -107,5 +63,49 @@ } } + // CS0457: Ambiguous user defined conversions `A.implicit operator byte(A)' and `A.implicit operator sbyte(A)' when converting from 'A' to 'int' +// Line: 20 + +class A +{ + public static implicit operator sbyte (A mask) + { + return 1; + } + + public static implicit operator byte (A mask) + { + return 2; + } +} + +class X +{ + static A a = null; + static object o = ~a; +} + + // CS0457: Ambiguous user defined conversions `A.implicit operator byte(A)' and `A.implicit operator sbyte(A)' when converting from 'A' to 'int' +// Line: 20 + +class A +{ + public static implicit operator ushort (A mask) + { + return 1; + } + + public static implicit operator short (A mask) + { + return 2; + } +} + +class X +{ + static A a = null; + static object o = -a; +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0458 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0458 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0458 2035-09-30 19:00:50.000000000 +0000 @@ -2,72 +2,82 @@ CS0458 - // CS0458: The result of the expression is always `null' of type `int?' -// Line: 10 + // CS0458: The result of the expression is always `null' of type `bool?' +// Line: 8 // Compiler options: -warnaserror -warn:2 class C { - public static void Main () + static void Foo() { - int i = 44; - i <<= null; + bool? b = null as bool?; } } // CS0458: The result of the expression is always `null' of type `int?' -// Line: 14 +// Line: 9 // Compiler options: -warnaserror -warn:2 -public enum E -{ -} - class C { - public static void Main () + static void Foo() { - E? e = null; - var res = e - null; + var res = null >> 2; } -} - // CS0458: The result of the expression is always `null' of type `int?' -// Line: 9 +} + + // CS0458: The result of the expression is always `null' of type `E?' +// Line: 15 // Compiler options: -warnaserror -warn:2 -class C +enum E { - static void Foo() + V +} + +public class C +{ + public static void Main () { - var res = null >> 2; + E e = E.V; + object o = e + null; } } - // CS0458: The result of the expression is always `null' of type `ulong?' -// Line: 10 + // CS0458: The result of the expression is always `null' of type `int?' +// Line: 15 // Compiler options: -warnaserror -warn:2 -class C +enum E { - static void Foo() + V +} + +public class C +{ + public static void Main () { - ulong a = 100; - var res = a << null; + E e = E.V; + object o = null - e; } } - // CS0458: The result of the expression is always `null' of type `bool?' -// Line: 8 + // CS0458: The result of the expression is always `null' of type `int?' +// Line: 14 // Compiler options: -warnaserror -warn:2 +public enum E +{ +} + class C { - static void Foo() + public static void Main () { - bool? b = null as bool?; + E? e = null; + var res = e - null; } -} - +} // CS0458: The result of the expression is always `null' of type `int?' // Line: 8 // Compiler options: -warnaserror -warn:2 @@ -81,7 +91,7 @@ } - // CS0458: The result of the expression is always `null' of type `int?' + // CS0458: The result of the expression is always `null' of type `E?' // Line: 15 // Compiler options: -warnaserror -warn:2 @@ -95,7 +105,7 @@ public static void Main () { E e = E.V; - object o = null - e; + object o = null + e; } } @@ -107,36 +117,60 @@ { public static void Main () { - b = (null & 0) != null; + int? s = null; + int? v = s + null; } } - // CS0458: The result of the expression is always `null' of type `short?' -// Line: 24 + // CS0458: The result of the expression is always `null' of type `int?' +// Line: 9 // Compiler options: -warnaserror -warn:2 -struct S +class C { - public static short operator + (S s, S i) + static void Foo() { - return 2; + var res = null << 2; } +} + + // CS0458: The result of the expression is always `null' of type `int?' +// Line: 9 +// Compiler options: -warnaserror -warn:2 - public static int? operator + (S? s, int? i) +public class C +{ + public static void Main () { - return 2; + b = (null & 0) != null; } - } + + // CS0458: The result of the expression is always `null' of type `int?' +// Line: 10 +// Compiler options: -warnaserror -warn:2 class C { public static void Main () { - S? s = new S (); - var x = s + (S?)null; + int i = 44; + i <<= null; } -} +} + + // CS0458: The result of the expression is always `null' of type `bool?' +// Line: 8 +// Compiler options: -warnaserror -warn:2 + +class C +{ + static void Foo() + { /usr/lib/monodoc/sources/cs-errors.zip/CS0459 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0459 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0459 2035-09-30 19:00:50.000000000 +0000 @@ -28,6 +28,20 @@ // CS0459: Cannot take the address of `this' because it is read-only // Line: 11 +// Compiler options: -unsafe + +using System; + +class X { + + unsafe void Test () + { + X x = *&this; + } +} + + // CS0459: Cannot take the address of `this' because it is read-only +// Line: 11 // Compiler options: -unsafe -langversion:latest readonly struct X @@ -70,19 +84,5 @@ } } - // CS0459: Cannot take the address of `this' because it is read-only -// Line: 11 -// Compiler options: -unsafe - -using System; - -class X { - - unsafe void Test () - { - X x = *&this; - } -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0462 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0462 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0462 2035-09-30 19:00:50.000000000 +0000 @@ -2,32 +2,32 @@ CS0462 - // CS0462: `B.this[int]' cannot override inherited members `A<T>.this[int]' and `A<T>.this[T]' because they have the same signature when used in type `B' + // CS0462: `B.M(int)' cannot override inherited members `A<T>.M(int)' and `A<T>.M(T)' because they have the same signature when used in type `B' // Line: 12 abstract class A<T> { - public abstract int this[T t] { set; } - public virtual bool this [int a] { set { } } + public abstract void M (T t); + public virtual void M (int t) { } } class B : A<int> { - public override int this [int a] { set {} } + public override void M (int t) { } } - // CS0462: `B.M(int)' cannot override inherited members `A<T>.M(int)' and `A<T>.M(T)' because they have the same signature when used in type `B' + // CS0462: `B.this[int]' cannot override inherited members `A<T>.this[int]' and `A<T>.this[T]' because they have the same signature when used in type `B' // Line: 12 abstract class A<T> { - public abstract void M (T t); - public virtual void M (int t) { } + public abstract int this[T t] { set; } + public virtual bool this [int a] { set { } } } class B : A<int> { - public override void M (int t) { } + public override int this [int a] { set {} } } /usr/lib/monodoc/sources/cs-errors.zip/CS0464 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0464 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0464 2035-09-30 19:00:50.000000000 +0000 @@ -3,14 +3,26 @@ CS0464 // CS0464: The result of comparing type `int?' with null is always `false' +// Line: 10 +// Compiler options: -warnaserror -warn:2 + +class C +{ + public static void Main () + { + int? k = 1; + var x = k > null; + } +} + // CS0464: The result of comparing type `int?' with null is always `false' // Line: 9 // Compiler options: -warnaserror -warn:2 public class X { - public static bool Compute () + public static bool Compute (int? x) { - return null >= null; + return x >= null; } } @@ -31,26 +43,14 @@ } } // CS0464: The result of comparing type `int?' with null is always `false' -// Line: 10 -// Compiler options: -warnaserror -warn:2 - -class C -{ - public static void Main () - { - int? k = 1; - var x = k > null; - } -} - // CS0464: The result of comparing type `int?' with null is always `false' // Line: 9 // Compiler options: -warnaserror -warn:2 public class X { - public static bool Compute (int? x) + public static bool Compute () { - return x >= null; + return null >= null; } } /usr/lib/monodoc/sources/cs-errors.zip/CS0472 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0472 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0472 2035-09-30 19:00:50.000000000 +0000 @@ -2,14 +2,31 @@ CS0472 - // CS0472: The result of comparing value type `int' with null is always `false' -// Line: 8 + // CS0472: The result of comparing value type `E' with null is always `false' +// Line: 14 +// Compiler options: -warnaserror + +enum E +{ +} + +class X +{ + public static void Main () + { + E u = 0; + var b = u == (E?)null; + } +} + // CS0472: The result of comparing value type `long' with null is always `false' +// Line: 9 // Compiler options: -warnaserror -warn:2 -public class X { - public static bool Compute (int x) +class C +{ + public static void Main () { - return x == null; + System.Console.WriteLine(5 == (long?)null); } } @@ -24,49 +41,45 @@ } } - // CS0472: The result of comparing value type `int' with null is always `false' -// Line: 12 -// Compiler options: -warnaserror - -using System; + // CS0472: The result of comparing value type `int' with null is always `true' +// Line: 9 +// Compiler options: -warnaserror -warn:2 -class X +public class X { - public static void Main () + public static void Compute (int x) { - int i = 0; - var x = i == default (byte?); + if (true && x != null) + return; } } - // CS0472: The result of comparing value type `long' with null is always `false' -// Line: 9 + // CS0472: The result of comparing value type `int' with null is always `false' +// Line: 8 // Compiler options: -warnaserror -warn:2 -class C -{ - public static void Main () +public class X { + public static bool Compute (int x) { - System.Console.WriteLine(5 == (long?)null); + return x == null; } } - // CS0472: The result of comparing value type `E' with null is always `false' -// Line: 14 + // CS0472: The result of comparing value type `int' with null is always `false' +// Line: 12 // Compiler options: -warnaserror -enum E -{ -} +using System; class X { public static void Main () { - E u = 0; - var b = u == (E?)null; + int i = 0; + var x = i == default (byte?); } -} +} + // CS0472: The result of comparing value type `byte' with null is always `false' // Line: 9 // Compiler options: -warnaserror -warn:2 @@ -82,18 +95,5 @@ } } - // CS0472: The result of comparing value type `int' with null is always `true' -// Line: 9 -// Compiler options: -warnaserror -warn:2 - -public class X -{ - public static void Compute (int x) - { - if (true && x != null) - return; - } -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0501 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0501 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0501 2035-09-30 19:00:50.000000000 +0000 @@ -2,21 +2,6 @@ CS0501 - // CS0501: `Test.this[string].get' must have a body because it is not marked abstract, extern, or partial -// Line: 6 - -public abstract class Test -{ - public string this [string key] { get; set; } -} - - // CS0501: `Class.X()' must have a body because it is not marked abstract, extern, or partial -// Line: 5 - -class Class { - virtual public void X (); -} - // CS0501: `X.Mine.get' must have a body because it is not marked abstract, extern, or partial // Line: 6 @@ -34,5 +19,20 @@ public static bool operator == (C l, C r); } + // CS0501: `Test.this[string].get' must have a body because it is not marked abstract, extern, or partial +// Line: 6 + +public abstract class Test +{ + public string this [string key] { get; set; } +} + + // CS0501: `Class.X()' must have a body because it is not marked abstract, extern, or partial +// Line: 5 + +class Class { + virtual public void X (); +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0505 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0505 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0505 2035-09-30 19:00:50.000000000 +0000 @@ -5,12 +5,14 @@ // CS0505: `DerivedClass.value()': cannot override because `BaseClass.value' is not a method // Line: 9 +using System; + class BaseClass { protected int value; } class DerivedClass: BaseClass { - protected override int value() {} + protected override EventHandler value() {} } @@ -20,25 +22,23 @@ using System; class BaseClass { - protected int value; + protected EventHandler value; } class DerivedClass: BaseClass { - protected override EventHandler value() {} + protected override void value() {} } // CS0505: `DerivedClass.value()': cannot override because `BaseClass.value' is not a method // Line: 9 -using System; - class BaseClass { - protected EventHandler value; + protected int value; } class DerivedClass: BaseClass { - protected override void value() {} + protected override int value() {} } /usr/lib/monodoc/sources/cs-errors.zip/CS0506 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0506 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0506 2035-09-30 19:00:50.000000000 +0000 @@ -13,29 +13,29 @@ } } - // CS0506: `DerivedClass.Test': cannot override inherited member `BaseClass.Test' because it is not marked virtual, abstract or override -// Line: 11 - -using System; + // CS0506: `DerivedClass.Show()': cannot override inherited member `BaseClass.Show()' because it is not marked virtual, abstract or override +// Line: 9 class BaseClass { - protected event EventHandler Test; + protected void Show () {} } class DerivedClass: BaseClass { - protected override event EventHandler Test; + protected override void Show () {} } - // CS0506: `DerivedClass.Show()': cannot override inherited member `BaseClass.Show()' because it is not marked virtual, abstract or override -// Line: 9 + // CS0506: `DerivedClass.Test': cannot override inherited member `BaseClass.Test' because it is not marked virtual, abstract or override +// Line: 11 + +using System; class BaseClass { - protected void Show () {} + protected event EventHandler Test; } class DerivedClass: BaseClass { - protected override void Show () {} + protected override event EventHandler Test; } /usr/lib/monodoc/sources/cs-errors.zip/CS0507 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0507 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0507 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,30 @@ CS0507 + // CS0507: `DerivedClass.Show()': cannot change access modifiers when overriding `protected' inherited member `BaseClass.Show()' +// Line: 9 + +class BaseClass { + protected virtual void Show () {} +} + +class DerivedClass: BaseClass { + public override void Show () {} +} + + + // CS0507: `Class2.GetString()': cannot change access modifiers when overriding `protected internal' inherited member `Class1.GetString()' +// Line: 7 +// Compiler options: -r:CS0507-7-lib.dll + +public sealed class Class2 : Class1 +{ + protected override string GetString () + { + return "Hello2"; + } +} + // CS0507: `DerivedClass.Message.set': cannot change access modifiers when overriding `protected' inherited member `BaseClass.Message.set' // Line: 15 @@ -26,17 +50,28 @@ } - // CS0507: `Class2.GetString()': cannot change access modifiers when overriding `protected internal' inherited member `Class1.GetString()' -// Line: 7 -// Compiler options: -r:CS0507-7-lib.dll + // CS0507: `DerivedClass.Message.set': cannot change access modifiers when overriding `public' inherited member `BaseClass.Message.set' +// Line: 19 -public sealed class Class2 : Class1 -{ - protected override string GetString () - { - return "Hello2"; +class BaseClass { + public virtual string Message { + get { + return ""; + } + set {} } } + +class DerivedClass : BaseClass { + public override string Message { + get { + return ""; + } + + private set {} + } +} + // CS0507: `Bar.X()': cannot change access modifiers when overriding `protected internal' inherited member `Foo.X()' // Line: 13 @@ -55,17 +90,17 @@ } } - // CS0507: `DerivedClass.Show()': cannot change access modifiers when overriding `protected' inherited member `BaseClass.Show()' -// Line: 9 - -class BaseClass { - protected virtual void Show () {} -} + // CS0507: `Class2.GetString()': cannot change access modifiers when overriding `protected' inherited member `Class1.GetString()' +// Line: 7 +// Compiler options: -r:CS0507-8-lib.dll -class DerivedClass: BaseClass { - public override void Show () {} +public sealed class Class2 : Class1 +{ + protected internal override string GetString () + { + return "Hello2"; + } } - // CS0507: `DerivedClass.Test': cannot change access modifiers when overriding `protected' inherited member `BaseClass.Test' // Line: 11 @@ -98,41 +133,6 @@ } } - - // CS0507: `Class2.GetString()': cannot change access modifiers when overriding `protected' inherited member `Class1.GetString()' -// Line: 7 -// Compiler options: -r:CS0507-8-lib.dll - -public sealed class Class2 : Class1 -{ - protected internal override string GetString () - { - return "Hello2"; - } -} - - // CS0507: `DerivedClass.Message.set': cannot change access modifiers when overriding `public' inherited member `BaseClass.Message.set' -// Line: 19 - -class BaseClass { - public virtual string Message { - get { - return ""; - } - set {} - } -} - -class DerivedClass : BaseClass { - public override string Message { - get { - return ""; - } - - private set {} - } -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0508 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0508 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0508 2035-09-30 19:00:50.000000000 +0000 @@ -2,18 +2,18 @@ CS0508 - // CS0508: `A<T>.B<H>.Test()': return type must be `A<T>.B<H>' to match overridden member `A<A<T>.B<H>>.Test()' + // CS0508: `A<T>.B.getT()': return type must be `A<T>.B' to match overridden member `A<A<T>.B>.getT()' // Line: 10 abstract class A<T> { - public abstract T Test (); + public abstract T getT (); - public class B<H> : A<B<H>> + public class B : A<B> { - public override B<H> Test () + public override B getT () { - return this; + return default (B); } } } @@ -41,23 +41,23 @@ { public override B getT () { - return default (B); + throw new System.Exception ("The method or operation is not implemented."); } } } - // CS0508: `A<T>.B.getT()': return type must be `A<T>.B' to match overridden member `A<A<T>.B>.getT()' + // CS0508: `A<T>.B<H>.Test()': return type must be `A<T>.B<H>' to match overridden member `A<A<T>.B<H>>.Test()' // Line: 10 abstract class A<T> { - public abstract T getT (); + public abstract T Test (); - public class B : A<B> + public class B<H> : A<B<H>> { - public override B getT () + public override B<H> Test () { - throw new System.Exception ("The method or operation is not implemented."); + return this; } } } /usr/lib/monodoc/sources/cs-errors.zip/CS0509 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0509 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0509 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,13 @@ CS0509 + // CS0509: `A': cannot derive from sealed type `System.Action' +// Line: 4 + +class A : System.Action +{ +} + // CS0509: `A': cannot derive from sealed type `D' // Line: 6 @@ -11,13 +18,6 @@ { } - // CS0509: `A': cannot derive from sealed type `System.Action' -// Line: 4 - -class A : System.Action -{ -} - // CS0509: `InstanceClass': cannot derive from sealed type `E' // Line: 6 /usr/lib/monodoc/sources/cs-errors.zip/CS0516 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0516 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0516 2035-09-30 19:00:50.000000000 +0000 @@ -2,16 +2,6 @@ CS0516 - // CS0516: Constructor `Sample.Sample()' cannot call itself -// Line: 6 - -class Sample { - public Sample () - : this () - { - } -} - // CS0516: Constructor `A<T>.A(T)' cannot call itself // Line: 7 @@ -22,6 +12,16 @@ { } } + + // CS0516: Constructor `Sample.Sample()' cannot call itself +// Line: 6 + +class Sample { + public Sample () + : this () + { + } +} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0523 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0523 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0523 2035-09-30 19:00:50.000000000 +0000 @@ -2,34 +2,42 @@ CS0523 - // CS0523: Struct member `S<T>.s' of type `S<int>' causes a cycle in the struct layout + // CS0523: Struct member `S<T>.s' of type `S<T[]>' causes a cycle in the struct layout // Line: 6 struct S<T> { - S<int> s; + static S<T[]> s; } - // CS0523: Struct member `S.value' of type `G<string>' causes a cycle in the struct layout -// Line: 11 + // CS0523: Struct member `Foo.Handle' of type `Handle<Foo>' causes a cycle in the struct layout +// Line: 13 +// NOTE: Not detected by csc only by runtime loader -struct G<T> +using System; + +struct Handle<T> { - public static S s; + public IntPtr Value; } -struct S +struct Foo { - private G<string> value; + public readonly Handle<Foo> Handle; } - // CS0523: Struct member `S<T>.s' of type `S<T[]>' causes a cycle in the struct layout -// Line: 6 + // CS0523: Struct member `B.a' of type `A' causes a cycle in the struct layout +// Line: 9 -struct S<T> -{ - static S<T[]> s; +struct A { + B b; +} + +struct B { + A a; } + +class Y { static void Main () {} } // CS0523: Struct member `A.a' of type `A?' causes a cycle in the struct layout // Line: 6 @@ -47,33 +55,25 @@ A<T> a; } - // CS0523: Struct member `B.a' of type `A' causes a cycle in the struct layout -// Line: 9 - -struct A { - B b; -} + // CS0523: Struct member `S<T>.s' of type `S<int>' causes a cycle in the struct layout +// Line: 6 -struct B { - A a; +struct S<T> +{ + S<int> s; } - -class Y { static void Main () {} } - // CS0523: Struct member `Foo.Handle' of type `Handle<Foo>' causes a cycle in the struct layout -// Line: 13 -// NOTE: Not detected by csc only by runtime loader - -using System; + // CS0523: Struct member `S.value' of type `G<string>' causes a cycle in the struct layout +// Line: 11 -struct Handle<T> +struct G<T> { - public IntPtr Value; + public static S s; } -struct Foo +struct S { - public readonly Handle<Foo> Handle; + private G<string> value; } /usr/lib/monodoc/sources/cs-errors.zip/CS0524 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0524 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0524 2035-09-30 19:00:50.000000000 +0000 @@ -6,6 +6,14 @@ // Line: 5 interface Interface { + public class C { + } +} + + // CS0524: Interfaces cannot declare classes, structs, interfaces, delegates, or enumerations +// Line: 5 + +interface Interface { interface I {} } @@ -13,8 +21,7 @@ // Line: 5 interface Interface { - public class C { - } + delegate void D (); } // CS0524: Interfaces cannot declare classes, structs, interfaces, delegates, or enumerations @@ -28,13 +35,6 @@ } // CS0524: Interfaces cannot declare classes, structs, interfaces, delegates, or enumerations -// Line: 5 - -interface Interface { - delegate void D (); -} - - // CS0524: Interfaces cannot declare classes, structs, interfaces, delegates, or enumerations // Line: 5 interface Interface { /usr/lib/monodoc/sources/cs-errors.zip/CS0527 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0527 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0527 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,14 @@ CS0527 + // CS0527: Type `X' in interface list is not an interface +// Line: 6 +class X { +} + +interface A : X { +} + // CS0527: Type `B' in interface list is not an interface // Line: 4 @@ -11,13 +19,5 @@ struct B : A { } - // CS0527: Type `X' in interface list is not an interface -// Line: 6 -class X { -} - -interface A : X { -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0531 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0531 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0531 2035-09-30 19:00:50.000000000 +0000 @@ -8,13 +8,6 @@ public interface Interface { int P { get {} } } - // CS0531: `I.P': interface members cannot have a definition -// Line: 6 - -interface I -{ - int P => 1; -} // CS0531: `Interface.Foo()': interface members cannot have a definition // Line: 5 @@ -26,5 +19,12 @@ + // CS0531: `I.P': interface members cannot have a definition +// Line: 6 + +interface I +{ + int P => 1; +} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0533 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0533 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0533 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,19 @@ CS0533 + // CS0533: `DerivedClass.Foo()' hides inherited abstract member `BaseClass.Foo()' +// Line: 9 + +abstract public class BaseClass { + abstract protected void Foo (); +} + +abstract class DerivedClass: BaseClass { + public new void Foo () {} + public static void Main () {} +} + + // CS0533: `DerivedClass.Foo' hides inherited abstract member `BaseClass.Foo()' // Line: 11 @@ -29,32 +42,6 @@ public event EventHandler MyEvent; } - // CS0533: `DerivedClass.Foo()' hides inherited abstract member `BaseClass.Foo()' -// Line: 9 - -abstract public class BaseClass { - abstract protected void Foo (); -} - -abstract class DerivedClass: BaseClass { - public new void Foo () {} - public static void Main () {} -} - - - // CS0533: `B.MyEvent' hides inherited abstract member `A.MyEvent' -// Line: 11 - -using System; - -abstract class A { - public abstract event EventHandler MyEvent; -} - -class B : A { - public new event EventHandler MyEvent; -} - // CS0533: `MyAbstract.Initialize()' hides inherited abstract member `MyAbstractBase.Initialize()' // Line: 10 public abstract class MyAbstractBase @@ -78,5 +65,18 @@ + // CS0533: `B.MyEvent' hides inherited abstract member `A.MyEvent' +// Line: 11 + +using System; + +abstract class A { + public abstract event EventHandler MyEvent; +} + +class B : A { + public new event EventHandler MyEvent; +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0534 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0534 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0534 2035-09-30 19:00:50.000000000 +0000 @@ -4,7 +4,7 @@ // CS0534: `MyTestExtended' does not implement inherited abstract member `MyTestAbstract.GetName()' // Line: 6 -// Compiler options: -r:CS0534-4-lib.dll +// Compiler options: -r:CS0534-3-lib.dll using System; public class MyTestExtended : MyTestAbstract @@ -23,64 +23,42 @@ } - // CS0534: `Foo' does not implement inherited abstract member `SomeAbstract.SomeProperty.get' + // CS0534: `B' does not implement inherited abstract member `A<int>.set_Prop(int)' // Line: 13 -public class SomeProperty +abstract class A<T> { -} + public abstract void set_Prop (int value); -public abstract class SomeAbstract -{ - public abstract SomeProperty SomeProperty { get; } + public virtual T Prop { + set { } + } } -public class Foo : SomeAbstract +class B : A<int> { - public static SomeProperty SomeProperty { get { return null; } } + public override int Prop { + set { } + } } - - // CS0534: `C' does not implement inherited abstract member `B.Foo()' -// Line: 16 + // CS0534: `Foo' does not implement inherited abstract member `SomeAbstract.SomeProperty.get' +// Line: 13 -class A +public class SomeProperty { - public virtual void Foo () - { - } } -abstract class B : A +public abstract class SomeAbstract { - public abstract override void Foo (); + public abstract SomeProperty SomeProperty { get; } } -class C : B +public class Foo : SomeAbstract { -} - // CS0534: `Y' does not implement inherited abstract member `X.myAbstract()' -// Line: 5 - -abstract class X { - public abstract void myAbstract (); -} - -class Y : X { -static void Main (){} -} - - - // CS0534: `DerivedClass' does not implement inherited abstract member `BaseClass.Value.set' -// Line: 8 - -abstract class BaseClass { - protected abstract int Value { get; set; } + public static SomeProperty SomeProperty { get { return null; } } } -class DerivedClass: BaseClass { - protected override int Value { get {} } -} // CS0534: `B' does not implement inherited abstract member `A<int>.set_Prop(int)' // Line: 13 @@ -101,6 +79,17 @@ } } + // CS0534: `DerivedClass' does not implement inherited abstract member `BaseClass.Value.set' +// Line: 8 + +abstract class BaseClass { + protected abstract int Value { get; set; } +} + +class DerivedClass: BaseClass { + protected override int Value { get {} } +} + // CS0534: `C1' does not implement inherited abstract member `A.M(int)' // Line: 16 @@ -120,36 +109,44 @@ { } - // CS0534: `M' does not implement inherited abstract member `B.BMethod()' -// Line: 5 -// Compiler options: -r:CS0534-6-lib.dll + // CS0534: `C' does not implement inherited abstract member `B.Foo()' +// Line: 16 -class M : C +class A { + public virtual void Foo () + { + } } - - // CS0534: `B' does not implement inherited abstract member `A<int>.set_Prop(int)' + +abstract class B : A +{ + public abstract override void Foo (); +} + +class C : B +{ +} + // CS0534: `C' does not implement inherited abstract member `B.Foo(string)' // Line: 13 -abstract class A<T> +public abstract class A { - public abstract void set_Prop (int value); + public abstract int Foo (string s); +} - public virtual T Prop { - set { } - } +public abstract class B : A +{ + public abstract override int Foo (string s); } -class B : A<int> +public class C : B { - public override int Prop { - set { } - } } // CS0534: `MyTestExtended' does not implement inherited abstract member `MyTestAbstract.GetName()' // Line: 6 -// Compiler options: -r:CS0534-3-lib.dll +// Compiler options: -r:CS0534-4-lib.dll using System; public class MyTestExtended : MyTestAbstract @@ -168,22 +165,25 @@ } - // CS0534: `C' does not implement inherited abstract member `B.Foo(string)' -// Line: 13 + // CS0534: `M' does not implement inherited abstract member `B.BMethod()' +// Line: 5 +// Compiler options: -r:CS0534-6-lib.dll -public abstract class A +class M : C { - public abstract int Foo (string s); } + + // CS0534: `Y' does not implement inherited abstract member `X.myAbstract()' +// Line: 5 -public abstract class B : A -{ - public abstract override int Foo (string s); +abstract class X { + public abstract void myAbstract (); } -public class C : B -{ /usr/lib/monodoc/sources/cs-errors.zip/CS0535 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0535 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0535 2035-09-30 19:00:50.000000000 +0000 @@ -2,24 +2,18 @@ CS0535 - // CS0535: `B' does not implement interface member `ITest2.GetName(string)' -// Line: 17 + // CS0535: `Class' does not implement interface member `Interface.Method()' +// Line: 8 -public interface ITest1 { - void GetName(string id); +interface Interface { + void Method(); } -public interface ITest2 { - void GetName(string id); +class Class: Interface { } -public class A : ITest1 { - void ITest1.GetName(string id) { - } -} -public class B : A, ITest2 { -} + // CS0535: `CC' does not implement interface member `IA.this[int].set' // Line: 33 @@ -61,25 +55,25 @@ } } - // CS0535: `Test' does not implement interface member `X.Hola(ref string)' -// Line: 9 - -using System; -interface X { - void Hola (ref string name); + // CS0535: `Stack' does not implement interface member `IStack.Insert(int, object)' +// Line: 11 + +using System; + +public interface IStack { + void Insert (int index, object value); + object this [int index] { set; } } -class Test : X { - static void Main () - { - } - - public void Hola (out string name) - { - name = null; +public class Stack : IStack { + object IStack.this [int index] { + set {} } } +public class D { + static void Main () {} +} // CS0535: `ServerProperty' does not implement interface member `IServerProperty.SetValue(string, uint)' // Line: 10 @@ -98,45 +92,43 @@ } } - // CS0535: `Stack' does not implement interface member `IStack.Insert(int, object)' -// Line: 11 - -using System; - -public interface IStack { - void Insert (int index, object value); - object this [int index] { set; } -} + // CS0535: `B' does not implement interface member `ITest2.GetName(string)' +// Line: 17 -public class Stack : IStack { - object IStack.this [int index] { - set {} - } +public interface ITest1 { + void GetName(string id); } -public class D { - static void Main () {} +public interface ITest2 { + void GetName(string id); } - - // CS0535: `CA' does not implement interface member `IA.M()' -// Line: 14 -interface IA -{ - void M (); +public class A : ITest1 { + void ITest1.GetName(string id) { + } } -interface IB -{ - void M (); +public class B : A, ITest2 { +} + // CS0535: `Test' does not implement interface member `X.Hola(ref string)' +// Line: 9 + +using System; +interface X { + void Hola (ref string name); } -class CA : IA, IB -{ - void IB.M () +class Test : X { + static void Main () + { + } + + public void Hola (out string name) { + name = null; } } + // CS0535: `CC' does not implement interface member `IA.Coordinate.set' // Line: 33 @@ -179,17 +171,25 @@ } } - // CS0535: `Class' does not implement interface member `Interface.Method()' -// Line: 8 + // CS0535: `CA' does not implement interface member `IA.M()' +// Line: 14 -interface Interface { - void Method(); +interface IA +{ + void M (); } -class Class: Interface { +interface IB +{ + void M (); } - +class CA : IA, IB +{ + void IB.M () + { + } +} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0540 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0540 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0540 2035-09-30 19:00:50.000000000 +0000 @@ -2,30 +2,6 @@ CS0540 - // CS0540: `N.Nested.C.I.P': containing type does not implement interface `N.Nested.I' -// Line: 17 - -using System; - -namespace N -{ - class Nested - { - public interface I - { - bool P { get; } - } - - public class C - { - bool I.P - { - get { return true; } - } - } - } -} - // CS0540: `Foo.ISomeProp.SomeProperty': containing type does not implement interface `ISomeProp' // Line: 18 @@ -54,6 +30,30 @@ } } + // CS0540: `N.Nested.C.I.P': containing type does not implement interface `N.Nested.I' +// Line: 17 + +using System; + +namespace N +{ + class Nested + { + public interface I + { + bool P { get; } + } + + public class C + { + bool I.P + { + get { return true; } + } + } + } +} + // CS0540: `B.A.B()': containing type does not implement interface `A' // Line: /usr/lib/monodoc/sources/cs-errors.zip/CS0542 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0542 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0542 2035-09-30 19:00:50.000000000 +0000 @@ -24,16 +24,6 @@ } - // CS0542: `Same.Same': member names cannot be the same as their enclosing type -// Line: 6 - -public class Same -{ - public class Same - { - } -} - // CS0542: `X.X': member names cannot be the same as their enclosing type // Line: 4 class X { @@ -52,5 +42,15 @@ } + // CS0542: `Same.Same': member names cannot be the same as their enclosing type +// Line: 6 + +public class Same +{ + public class Same + { + } +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0545 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0545 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0545 2035-09-30 19:00:50.000000000 +0000 @@ -2,18 +2,6 @@ CS0545 - // CS0545: `DerivedClass.Value.get': cannot override because `BaseClass.Value' does not have an overridable get accessor -// Line: 9 - -abstract class BaseClass { - protected abstract int Value { set; } -} - -class DerivedClass: BaseClass { - protected override int Value { get {} set {} } -} - - // CS0545: `B.Prop': cannot override because `A.Prop' does not have accessible get accessor // Line: 13 @@ -30,5 +18,17 @@ set { } } } + // CS0545: `DerivedClass.Value.get': cannot override because `BaseClass.Value' does not have an overridable get accessor +// Line: 9 + +abstract class BaseClass { + protected abstract int Value { set; } +} + +class DerivedClass: BaseClass { + protected override int Value { get {} set {} } +} + + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0547 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0547 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0547 2035-09-30 19:00:50.000000000 +0000 @@ -2,13 +2,6 @@ CS0547 - // CS0547: `PropertyClass.Value': property or indexer cannot have void type -// Line: 5 - -class PropertyClass { - public void Value { get {} } -} - // CS0547: `PropertyInterface.Value': property or indexer cannot have void type // Line: 5 @@ -17,5 +10,12 @@ } + // CS0547: `PropertyClass.Value': property or indexer cannot have void type +// Line: 5 + +class PropertyClass { + public void Value { get {} } +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0548 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0548 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0548 2035-09-30 19:00:50.000000000 +0000 @@ -2,12 +2,11 @@ CS0548 - // CS0548: `PropertyClass.Value': property or indexer must have at least one accessor + // CS0548: `IndexerClass.this[bool]': property or indexer must have at least one accessor // Line: 5 -class PropertyClass { - public int Value { - } +class IndexerClass { + public int this [bool b] { } } // CS0548: `PropertyInterface.this[long]': property or indexer must have at least one accessor @@ -26,11 +25,12 @@ } - // CS0548: `IndexerClass.this[bool]': property or indexer must have at least one accessor + // CS0548: `PropertyClass.Value': property or indexer must have at least one accessor // Line: 5 -class IndexerClass { - public int this [bool b] { } +class PropertyClass { + public int Value { + } } /usr/lib/monodoc/sources/cs-errors.zip/CS0553 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0553 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0553 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,20 @@ CS0553 + // CS0553: User-defined conversion `DerivedClass.implicit operator BaseClass(DerivedClass)' cannot convert to or from a base class +// Line: 8 + +class BaseClass { +} + +class DerivedClass: BaseClass { + public static implicit operator BaseClass(DerivedClass value) { + return new BaseClass(); + } +} + + + // CS0553: User-defined conversion `plj.aClass.implicit operator plj.aClass(object)' cannot convert to or from a base class // Line: 10 @@ -18,19 +32,5 @@ } } - // CS0553: User-defined conversion `DerivedClass.implicit operator BaseClass(DerivedClass)' cannot convert to or from a base class -// Line: 8 - -class BaseClass { -} - -class DerivedClass: BaseClass { - public static implicit operator BaseClass(DerivedClass value) { - return new BaseClass(); - } -} - - - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0557 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0557 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0557 2035-09-30 19:00:50.000000000 +0000 @@ -2,33 +2,6 @@ CS0557 - // CS0557: Duplicate user-defined conversion in type `C' -// Line: 9 -class C { - public static bool operator != (C a, C b) - { - return true; - } - - public static bool operator != (C a, C b) - { - return true; - } - - public static bool operator == (C a, C b) - { return false; } - } - - - - - -class X { - static void Main () - { - } -} - // CS0557: Duplicate user-defined conversion in type `Foo' // Line: 5 @@ -63,5 +36,32 @@ } } + // CS0557: Duplicate user-defined conversion in type `C' +// Line: 9 +class C { + public static bool operator != (C a, C b) + { + return true; + } + + public static bool operator != (C a, C b) + { + return true; + } + + public static bool operator == (C a, C b) + { return false; } + } + + + + + +class X { + static void Main () + { + } +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0564 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0564 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0564 2035-09-30 19:00:50.000000000 +0000 @@ -6,7 +6,7 @@ // Line: 5 class SampleClass { - public static int operator << (SampleClass value, SampleClass count) { + public static int operator << (object value, int count) { return 0; } } @@ -15,7 +15,7 @@ // Line: 5 class SampleClass { - public static int operator << (object value, int count) { + public static int operator << (SampleClass value, SampleClass count) { return 0; } } /usr/lib/monodoc/sources/cs-errors.zip/CS0571 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0571 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0571 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,31 @@ CS0571 + // CS0571: `C2.this[int].set': cannot explicitly call operator or accessor +// Line: 8 +// Compiler options: -r:CS0571-5-lib.dll + +class MainClass { + public static void Main() { + C2 c = new C2 (); + c.set_Item(1, 2); + } +} + + // CS0571: `IFoo.this[int].get': cannot explicitly call operator or accessor +// Line: 11 +// Compiler options: -r:CS0571-6-lib.dll + +using System; + +public class Test +{ + void TestMethod (IFoo i) + { + i.get_Jaj (1); + } +} + // CS0571: `MainClass.this[int, bool, string].get': cannot explicitly call operator or accessor // Line: 15 @@ -20,23 +45,16 @@ } } - // CS0571: `C.Prop.set': cannot explicitly call operator or accessor -// Line: 14 - -class C -{ - delegate void D (int i); + // CS0571: `System.Reflection.MemberInfo.Name.get': cannot explicitly call operator or accessor +// Line: 8 +using System; - static int Prop { - set {} - } - - public static void Main () - { - D d = set_Prop; - } -} - +public class EntryPoint { + public static void Main () { + Type type = typeof(string); + Console.WriteLine (type.get_Name()); + } +} // CS0571: `Test.C0.foo.get': cannot explicitly call operator or accessor // Line: 12 // Compiler options: -r:CS0571-3-lib.dll @@ -53,41 +71,6 @@ } - // CS0571: `System.Reflection.MemberInfo.Name.get': cannot explicitly call operator or accessor -// Line: 8 -using System; - -public class EntryPoint { - public static void Main () { - Type type = typeof(string); - Console.WriteLine (type.get_Name()); - } -} - // CS0571: `C2.this[int].set': cannot explicitly call operator or accessor -// Line: 8 -// Compiler options: -r:CS0571-5-lib.dll - -class MainClass { - public static void Main() { - C2 c = new C2 (); - c.set_Item(1, 2); - } -} - - // CS0571: `IFoo.this[int].get': cannot explicitly call operator or accessor -// Line: 11 -// Compiler options: -r:CS0571-6-lib.dll - -using System; - -public class Test -{ - void TestMethod (IFoo i) - { - i.get_Jaj (1); - } -} - // CS0571: `MainClass.Value.get': cannot explicitly call operator or accessor // Line: 12 @@ -103,5 +86,22 @@ } } + // CS0571: `C.Prop.set': cannot explicitly call operator or accessor +// Line: 14 + +class C +{ + delegate void D (int i); + + static int Prop { + set {} + } + + public static void Main () + { + D d = set_Prop; + } +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0572 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0572 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0572 2035-09-30 19:00:50.000000000 +0000 @@ -2,32 +2,26 @@ CS0572 - // CS0572: `Foo': cannot reference a type through an expression. Consider using `Y.Foo' instead -// Line: 13 -using System; + // CS0572: `Inner': cannot reference a type through an expression. Consider using `Outer.Inner' instead +// Line: 18 -class X +public class Outer { - private static Y y; - - public static void Main () + public enum Inner { - y = new Y (); - - object o = y.Foo.Hello; + ONE, + TWO } } -class Y +public class C { - public enum Foo { Hello, World }; - - public void Test (Foo foo) + public static bool Test () { - Console.WriteLine (foo); + Outer outer = null; + return 0 == outer.Inner.ONE; } -} - +} // CS0572: `meth': cannot reference a type through an expression. Consider using `test.meth' instead // Line: 8 @@ -43,25 +37,31 @@ public delegate void meth( bool b ) ; } - // CS0572: `Inner': cannot reference a type through an expression. Consider using `Outer.Inner' instead -// Line: 18 + // CS0572: `Foo': cannot reference a type through an expression. Consider using `Y.Foo' instead +// Line: 13 +using System; -public class Outer +class X { - public enum Inner + private static Y y; + + public static void Main () { - ONE, - TWO + y = new Y (); + + object o = y.Foo.Hello; } } -public class C +class Y { - public static bool Test () + public enum Foo { Hello, World }; + + public void Test (Foo foo) { - Outer outer = null; - return 0 == outer.Inner.ONE; + Console.WriteLine (foo); } -} +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0573 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0573 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0573 2035-09-30 19:00:50.000000000 +0000 @@ -7,6 +7,14 @@ struct S { + int v = 0; +} + + // CS0573: 'S': Structs cannot have instance property or field initializers +// Line: 6 + +struct S +{ public int Prop { get; set; } = 3; } @@ -19,13 +27,5 @@ { event Action E = null; } - // CS0573: 'S': Structs cannot have instance property or field initializers -// Line: 6 - -struct S -{ - int v = 0; -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0576 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0576 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0576 2035-09-30 19:00:50.000000000 +0000 @@ -2,23 +2,6 @@ CS0576 - // CS0576: Namespace `global::' contains a definition with same name as alias `S' -// Line: 14 - -using S = System; - -public class S -{ -} - -public class Test -{ - public static void Main() - { - S s; - } -} - // CS0576: Namespace `Top' contains a definition with same name as alias `T' // Line: 12 @@ -50,5 +33,22 @@ } } } + // CS0576: Namespace `global::' contains a definition with same name as alias `S' +// Line: 14 + +using S = System; + +public class S +{ +} + +public class Test +{ + public static void Main() + { + S s; + } +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0579 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0579 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0579 2035-09-30 19:00:50.000000000 +0000 @@ -2,29 +2,44 @@ CS0579 - // CS0579: The attribute `SimpleAttribute' cannot be applied multiple times -// Line : 18 + // CS0579: The attribute `System.ObsoleteAttribute' cannot be applied multiple times +// Line : 17 using System; -[AttributeUsage (AttributeTargets.All, AllowMultiple = false)] -public class SimpleAttribute : Attribute { - - public SimpleAttribute () - { +[AttributeUsage (AttributeTargets.ReturnValue)] +public class ReturnAttribute : Attribute +{ + public ReturnAttribute () + { } - } -[Simple] -public partial class Blah { } +class MainClass { + [Obsolete] + [return: Return] + [Obsolete] + static void Main() + { + } +} + + // CS0579: The attribute `System.Diagnostics.DebuggableAttribute' cannot be applied multiple times +// Line: 7 -[Simple] -public partial class Blah { } +using System.Diagnostics; + +[module: DebuggableAttribute (false, false)] +[module: DebuggableAttribute (false, false)] +class MainClass { + static void Main() + { + } +} // CS0579: The attribute `System.ObsoleteAttribute' cannot be applied multiple times -// Line: 12 +// Line: 14 using System; @@ -32,24 +47,28 @@ partial class C { [Obsolete ("A")] - partial void PartialMethod (); - [Obsolete ("A")] partial void PartialMethod () { } + + [Obsolete ("A")] + partial void PartialMethod (); } - // CS0579: The attribute `System.CLSCompliantAttribute' cannot be applied multiple times -// Line : 10 + // CS0579: The attribute `System.ObsoleteAttribute' cannot be applied multiple times +// Line: 12 -using System; -[assembly:CLSCompliant(true)] +using System; -namespace DuplicateAttributes { - [CLSCompliant(true)] - [type:CLSCompliant(true)] - public class ClassA {} +partial class C +{ + [Obsolete ("A")] + partial void PartialMethod (); + [Obsolete ("A")] + partial void PartialMethod () + { + } } // CS0579: The attribute `TestAttributesCollecting.A' cannot be applied multiple times @@ -75,28 +94,6 @@ } } - // CS0579: The attribute `System.ObsoleteAttribute' cannot be applied multiple times -// Line : 17 - -using System; - -[AttributeUsage (AttributeTargets.ReturnValue)] -public class ReturnAttribute : Attribute -{ - public ReturnAttribute () - { - } -} - -class MainClass { - [Obsolete] - [return: Return] - [Obsolete] - static void Main() - { - } -} - // CS0579: The attribute `System.CLSCompliantAttribute' cannot be applied multiple times // Line : 10 @@ -110,49 +107,47 @@ public class ClassA {} } - // CS0579: The attribute `System.ObsoleteAttribute' cannot be applied multiple times -// Line : 8 + // CS0579: The attribute `ReturnAttribute' cannot be applied multiple times +// Line : 17 using System; +using System.Reflection; -class MainClass { - [Obsolete] - [Obsolete] - static void Main() +[AttributeUsage (AttributeTargets.ReturnValue)] +public class ReturnAttribute : Attribute +{ + public ReturnAttribute () { - } + } } - - // CS0579: The attribute `System.Diagnostics.DebuggableAttribute' cannot be applied multiple times -// Line: 7 - -using System.Diagnostics; - -[module: DebuggableAttribute (false, false)] -[module: DebuggableAttribute (false, false)] -class MainClass { - static void Main() - { - } +public class Blah { + [return: Return ()] + [return: Return ()] + public static void Main () { } } - - // CS0579: The attribute `System.ObsoleteAttribute' cannot be applied multiple times -// Line: 14 + + // CS0579: The attribute `SimpleAttribute' cannot be applied multiple times +// Line : 18 using System; -partial class C -{ - [Obsolete ("A")] - partial void PartialMethod () +[AttributeUsage (AttributeTargets.All, AllowMultiple = false)] +public class SimpleAttribute : Attribute { + + public SimpleAttribute () { } - [Obsolete ("A")] - partial void PartialMethod (); } + +[Simple] +public partial class Blah { } + +[Simple] +public partial class Blah { } /usr/lib/monodoc/sources/cs-errors.zip/CS0591 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0591 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0591 2035-09-30 19:00:50.000000000 +0000 @@ -17,29 +17,6 @@ using System.Runtime.CompilerServices; -class Program -{ - [MethodImpl((MethodImplOptions)255)] - void Foo() - { - } -} - // CS0591: Invalid value for argument to `System.AttributeUsageAttribute' attribute -// Line: 4 - -[System.AttributeUsage(0)] -class ClassMain { - - public static void Main () { - } -} - - - // CS0591: Invalid value for argument to `System.Runtime.CompilerServices.MethodImplAttribute' attribute -// Line: 8 - -using System.Runtime.CompilerServices; - class Test { [MethodImplAttribute(445)] @@ -54,7 +31,7 @@ using System; class X { - [DllImport (null)] + [DllImport ("")] extern static void Blah (); static void Main (string [] args) @@ -70,7 +47,7 @@ using System; class X { - [DllImport ("")] + [DllImport (null)] extern static void Blah (); static void Main (string [] args) @@ -79,5 +56,28 @@ } + // CS0591: Invalid value for argument to `System.AttributeUsageAttribute' attribute +// Line: 4 + +[System.AttributeUsage(0)] +class ClassMain { + + public static void Main () { + } +} + + + // CS0591: Invalid value for argument to `System.Runtime.CompilerServices.MethodImplAttribute' attribute +// Line: 8 + +using System.Runtime.CompilerServices; + +class Program +{ + [MethodImpl((MethodImplOptions)255)] + void Foo() + { + } +} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0592 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0592 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0592 2035-09-30 19:00:50.000000000 +0000 @@ -2,18 +2,57 @@ CS0592 - // CS0592: The attribute `System.ObsoleteAttribute' is not valid on this declaration type. It is valid on `class, struct, enum, constructor, method, property, indexer, field, event, interface, delegate' declarations only + // CS0592: The attribute `TestAttribute' is not valid on this declaration type. It is valid on `constructor' declarations only +// Line: 6 + +using System; + +[TestAttribute ()] +enum E { +} + +[AttributeUsage(AttributeTargets.Constructor)] +public class TestAttribute: Attribute { +} + // CS0592: The attribute `MyAttributeAttribute' is not valid on this declaration type. It is valid on `interface' declarations only // Line : 8 using System; -public class C +public interface ITest { - [return: Obsolete] - public void Test (int a) - { - } - static public void Main () {} + [MyAttribute] + void Method(); +} + +[AttributeUsage (AttributeTargets.Interface)] +public class MyAttributeAttribute : Attribute +{ +} + +public class Foo { + + public static void Main () + { + } +} + + + + // CS0592: The attribute `EnumAttribute' is not valid on this declaration type. It is valid on `method' declarations only +// Line: 13 + +using System; +using System.Reflection; + +[AttributeUsage(AttributeTargets.Method)] +public class EnumAttribute : Attribute {} + +public enum E +{ + e_1, + [EnumAttribute] + e_2 } // CS0592: The attribute `SAttribute' is not valid on this declaration type. It is valid on `return' declarations only @@ -34,13 +73,10 @@ } // CS0592: The attribute `TestAttribute' is not valid on this declaration type. It is valid on `constructor' declarations only -// Line: 6 +// Line: 5 using System; - -[TestAttribute ()] -enum E { -} +[assembly:TestAttribute ()] [AttributeUsage(AttributeTargets.Constructor)] public class TestAttribute: Attribute { @@ -75,66 +111,19 @@ - // CS0592: The attribute `TestAttribute' is not valid on this declaration type. It is valid on `constructor' declarations only -// Line: 5 - -using System; -[assembly:TestAttribute ()] - -[AttributeUsage(AttributeTargets.Constructor)] -public class TestAttribute: Attribute { -} - // CS0592: The attribute `System.Runtime.CompilerServices.IndexerNameAttribute' is not valid on this declaration type. It is valid on `property, indexer' declarations only -// Line : 6 - -using System.Runtime.CompilerServices; - -[IndexerName("XXX")] -class A { - public static void Main () { } - -} - - // CS0592: The attribute `EnumAttribute' is not valid on this declaration type. It is valid on `method' declarations only -// Line: 13 - -using System; -using System.Reflection; - -[AttributeUsage(AttributeTargets.Method)] -public class EnumAttribute : Attribute {} - -public enum E -{ - e_1, - [EnumAttribute] - e_2 -} - - // CS0592: The attribute `MyAttributeAttribute' is not valid on this declaration type. It is valid on `interface' declarations only + // CS0592: The attribute `System.ObsoleteAttribute' is not valid on this declaration type. It is valid on `class, struct, enum, constructor, method, property, indexer, field, event, interface, delegate' declarations only // Line : 8 using System; -public interface ITest -{ - [MyAttribute] - void Method(); -} - -[AttributeUsage (AttributeTargets.Interface)] -public class MyAttributeAttribute : Attribute +public class C { + [return: Obsolete] + public void Test (int a) + { + } + static public void Main () {} } - -public class Foo { - - public static void Main () - { - } -} - - // CS0592: The attribute `TestAttribute' is not valid on this declaration type. It is valid on `constructor' declarations only // Line: 6 @@ -147,5 +136,16 @@ [AttributeUsage(AttributeTargets.Constructor)] public class TestAttribute: Attribute { } + // CS0592: The attribute `System.Runtime.CompilerServices.IndexerNameAttribute' is not valid on this declaration type. It is valid on `property, indexer' declarations only +// Line : 6 + +using System.Runtime.CompilerServices; + +[IndexerName("XXX")] +class A { + public static void Main () { } + +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0594 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0594 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0594 2035-09-30 19:00:50.000000000 +0000 @@ -20,21 +20,21 @@ } } - // CS0594: Floating-point constant is outside the range of type `double' + // CS0594: Floating-point constant is outside the range of type `float' // Line: 6 class X { public static void Main() { - double dbl = 1.0e99999; + float f = 1.0e999999f; } } - // CS0594: Floating-point constant is outside the range of type `float' + // CS0594: Floating-point constant is outside the range of type `double' // Line: 6 class X { public static void Main() { - float f = 1.0e999999f; + double dbl = 1.0e99999; } } /usr/lib/monodoc/sources/cs-errors.zip/CS0610 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0610 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0610 2035-09-30 19:00:50.000000000 +0000 @@ -6,13 +6,6 @@ // Line: 5 public class Sample { - const System.TypedReference arg = null; -} - - // CS0610: Field or property cannot be of type `System.TypedReference' -// Line: 5 - -public class Sample { System.TypedReference reference { get { return null; @@ -33,5 +26,12 @@ + // CS0610: Field or property cannot be of type `System.TypedReference' +// Line: 5 + +public class Sample { + const System.TypedReference arg = null; +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0611 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0611 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0611 2035-09-30 19:00:50.000000000 +0000 @@ -17,27 +17,27 @@ var x = new S[0]; } } - // CS0611: Array elements cannot be of type `System.ArgIterator' + // CS0611: Array elements cannot be of type `System.TypedReference' // Line: 5 public class Sample { - System.ArgIterator[] arg; + System.TypedReference[] references { + get { + return null; + } + } + static void Main () {} } - // CS0611: Array elements cannot be of type `System.TypedReference' + // CS0611: Array elements cannot be of type `System.ArgIterator' // Line: 5 public class Sample { - System.TypedReference[] references { - get { - return null; - } - } - + System.ArgIterator[] arg; static void Main () {} } /usr/lib/monodoc/sources/cs-errors.zip/CS0612 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0612 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0612 2035-09-30 19:00:50.000000000 +0000 @@ -2,36 +2,21 @@ CS0612 - // CS0612: `A.Value' is obsolete -// Line: 13 -// Compiler options: -warnaserror - -class A { - [System.Obsolete ("")] - int Value { - set { - } - } - - public A () { - Value = 4; - } -} - // CS0612: `O1' is obsolete + // CS0612: `O2' is obsolete // Line: 23 // Compiler options: -warnaserror using System; [Obsolete] -class O1 +interface O2 { } #pragma warning disable 612 class A { - public virtual void Foo<T> () where T : O1 + public virtual void Foo<T> () where T : O2 { } } @@ -44,21 +29,36 @@ } } - // CS0612: `O2' is obsolete + // CS0612: `A.Value' is obsolete +// Line: 13 +// Compiler options: -warnaserror + +class A { + [System.Obsolete ("")] + int Value { + set { + } + } + + public A () { + Value = 4; + } +} + // CS0612: `O1' is obsolete // Line: 23 // Compiler options: -warnaserror using System; [Obsolete] -interface O2 +class O1 { } #pragma warning disable 612 class A { - public virtual void Foo<T> () where T : O2 + public virtual void Foo<T> () where T : O1 { } } @@ -71,6 +71,21 @@ } } + // CS0612: `A.Value' is obsolete +// Line: 13 +// Compiler options: -warnaserror + +class A { + [System.Obsolete] + int Value { + set { + } + } + + public A () { + Value = 4; + } +} // CS0612: `Foo.Bar' is obsolete // Line: 8 // Compiler options: -r:CS0612-2-lib.dll -warnaserror @@ -108,20 +123,5 @@ } } } - // CS0612: `A.Value' is obsolete -// Line: 13 -// Compiler options: -warnaserror - -class A { - [System.Obsolete] - int Value { - set { - } - } - - public A () { - Value = 4; - } -} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0617 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0617 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0617 2035-09-30 19:00:50.000000000 +0000 @@ -2,21 +2,6 @@ CS0617 - // CS0617: `Foo' is not a valid named attribute argument. Named attribute arguments must be fields which are not readonly, static, const or read-write properties which are public and not static -// Line: 11 - -using System; - -public sealed class FooAttribute : Attribute -{ - internal int Foo; -} - -[Foo (Foo = 1)] -public class Tests -{ -} - // CS0617: `foo3' is not a valid named attribute argument. Named attribute arguments must be fields which are not readonly, static, const or read-write properties which are public and not static // Line: 11 @@ -37,7 +22,7 @@ public sealed class FooAttribute : Attribute { - public short Foo { get; private set; } + internal int Foo; } [Foo (Foo = 1)] @@ -72,6 +57,21 @@ } // CS0617: `Foo' is not a valid named attribute argument. Named attribute arguments must be fields which are not readonly, static, const or read-write properties which are public and not static +// Line: 11 + +using System; + +public sealed class FooAttribute : Attribute +{ + public short Foo { get; private set; } +} + +[Foo (Foo = 1)] +public class Tests +{ +} + + // CS0617: `Foo' is not a valid named attribute argument. Named attribute arguments must be fields which are not readonly, static, const or read-write properties which are public and not static // Line: 11 using System; /usr/lib/monodoc/sources/cs-errors.zip/CS0618 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0618 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0618 2035-09-30 19:00:50.000000000 +0000 @@ -2,18 +2,6 @@ CS0618 - // CS0618: `ObsoleteDispose' is obsolete: `Class is obsolete' -// Line: 9 -// Compiler options: -reference:CS0618-2-lib.dll -warnaserror - -class AA -{ - public AA () - { - using (ObsoleteDispose od = ObsoleteDispose.Factory) { - } - } -} // CS0618: `Name.Feat.Feat(string, string, int, params object[])' is obsolete: `AaA' // Line: 22 // Compiler options: -warnaserror @@ -45,5 +33,17 @@ #endregion } } + // CS0618: `ObsoleteDispose' is obsolete: `Class is obsolete' +// Line: 9 +// Compiler options: -reference:CS0618-2-lib.dll -warnaserror + +class AA +{ + public AA () + { + using (ObsoleteDispose od = ObsoleteDispose.Factory) { + } + } +} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0619 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0619 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0619 2035-09-30 19:00:50.000000000 +0000 @@ -2,47 +2,50 @@ CS0619 - // CS0619: `A' is obsolete: `stop' -// Line: 11 - -using System; + // CS0619: `AA' is obsolete: `' +// Line: 13 -[Obsolete ("stop", true)] -public class A +[System.Obsolete ("", true)] +class AA { + public void Foo () {} } -public class C<T> where T : A -{ -} - - // CS0619: `ObsoleteInterface' is obsolete: `' -// Line: 11 +class B { + public B (object a) + { + object o = ((AA)a); + } +} + // CS0619-38: `ObsoleteEnum' is obsolete: `ooo' +// Line: 14 using System; -[Obsolete("", true)] -interface ObsoleteInterface +[Obsolete("ooo", true)] +enum ObsoleteEnum { + value_A } -delegate ObsoleteInterface @delegate (); - - // CS0619-49: `A.A(string[])' is obsolete: `!!!' -// Line: 12 - -class A: System.Attribute +class C { - [System.Obsolete("!!!", true)] - public A (string[] s) - { - } -} - -[A(new string[0])] -class Obsolete { + static ObsoleteEnum oe = ObsoleteEnum.value_A; } + // CS0619-33: `Error.Report(string)' is obsolete: `Obsolete method' +// Line: 11 +// Compiler options: -reference:CS0619-33-lib.dll + +using System; + +class MainClass { + public static void Main () + { + Error e = new Error (); + e.Report ("text"); + } +} // CS0619: `ObsoleteClass' is obsolete: `Is obsolete' // Line: 13 @@ -57,32 +60,32 @@ { void Foo (ObsoleteClass o1, ObsoleteClass o2); } - // CS0619: `A' is obsolete: `' -// Line: 9 + // CS0619-39: `C.ob' is obsolete: `ooo' +// Line: 13 -[System.Obsolete ("", true)] -class A -{ -} +using System; -class AA +class C { - public AA () - { - foreach (A aa in new System.Collections.ArrayList ()) { - System.Console.WriteLine (aa); - } - } + [Obsolete("ooo", true)] + const int ob = 4; + + public int Prop { + get { + return ob; + } + } } - // CS0619-31: `ObsoleteEnum' is obsolete: `Is obsolete' -// Line: 15 + // CS0619-30: `ObsoleteEnum.value_B' is obsolete: `Is obsolete' +// Line: 16 using System; -[Obsolete("Is obsolete", true)] enum ObsoleteEnum { + value_A, + [Obsolete("Is obsolete", true)] value_B } @@ -92,103 +95,6 @@ Console.WriteLine (ObsoleteEnum.value_B); } } - // CS0619: `AA' is obsolete: `' -// Line: 13 - -[System.Obsolete ("", true)] -class AA -{ - public void Foo () {} -} - -class B { - public B (object a) - { - object o = ((AA)a); - } -} - // CS0619-29: `Obsolete.Error' is obsolete: `Do not use it.' -// Line: 15 - -class Obsolete { - [System.Obsolete("Do not use it.", true)] - public static bool Error { - get { - return false; - } - } -} - -class MainClass { - public static void Main () { - System.Console.WriteLine (Obsolete.Error); - } -} - // CS0619: `ObsoleteException' is obsolete: `' -// Line: 15 - -using System; - -[System.Obsolete("", true)] -class ObsoleteException: Exception { -} - -class MainClass { - public void Method () - { - try { - } - catch (ObsoleteException) { - } - } -} - // CS0619: `Obsolete' is obsolete: `!!!' -// Line: 9 - -[System.Obsolete("!!!", true)] -class Obsolete { -} - -class Class { - public void Method (Obsolete[] o) - { - } -} - - // CS0619-43: `Error.C' is obsolete: `Obsolete constant' -// Line: 6 -// Compiler options: -reference:CS0619-43-lib.dll /usr/lib/monodoc/sources/cs-errors.zip/CS0620 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0620 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0620 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,13 @@ CS0620 + // CS0620: `Indexer.this[int]': indexer return type cannot be `void' +// Line: 5 + +interface Indexer { + void this [int i] { set; } +} + // CS0620: `PropertyClass.this[int]': indexer return type cannot be `void' // Line: 5 @@ -11,12 +18,5 @@ } } - // CS0620: `Indexer.this[int]': indexer return type cannot be `void' -// Line: 5 - -interface Indexer { - void this [int i] { set; } -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0625 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0625 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0625 2035-09-30 19:00:50.000000000 +0000 @@ -10,7 +10,7 @@ namespace CS0625 { [StructLayout(LayoutKind.Explicit)] - class GValue { + partial class GValue { public int foo; } @@ -20,16 +20,20 @@ } } - // CS0625: `CS0625.GValue.foo': Instance field types marked with StructLayout(LayoutKind.Explicit) must have a FieldOffset attribute + // CS0625: `CS0625.GValue.value': Instance field types marked with StructLayout(LayoutKind.Explicit) must have a FieldOffset attribute // Line: 10 using System; using System.Runtime.InteropServices; namespace CS0625 { - [StructLayout(LayoutKind.Explicit)] - partial class GValue { - public int foo; + [StructLayout (LayoutKind.Explicit)] + partial struct GValue + { + } + + partial struct GValue { + public int value; } class Tests { @@ -57,20 +61,16 @@ } } - // CS0625: `CS0625.GValue.value': Instance field types marked with StructLayout(LayoutKind.Explicit) must have a FieldOffset attribute + // CS0625: `CS0625.GValue.foo': Instance field types marked with StructLayout(LayoutKind.Explicit) must have a FieldOffset attribute // Line: 10 using System; using System.Runtime.InteropServices; namespace CS0625 { - [StructLayout (LayoutKind.Explicit)] - partial struct GValue - { - } - - partial struct GValue { - public int value; + [StructLayout(LayoutKind.Explicit)] + class GValue { + public int foo; } class Tests { /usr/lib/monodoc/sources/cs-errors.zip/CS0626 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0626 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0626 2035-09-30 19:00:50.000000000 +0000 @@ -2,13 +2,12 @@ CS0626 - // CS0626: `ExternClass.ExternMethod()' is marked as an external but has no DllImport attribute. Consider adding a DllImport attribute to specify the external implementation + // CS0626: `ExternClass.implicit operator ExternClass(byte)' is marked as an external but has no DllImport attribute. Consider adding a DllImport attribute to specify the external implementation // Line: 6 // Compiler options: -warnaserror -warn:1 class ExternClass { - [System.Obsolete] - public static extern void ExternMethod(); + static public extern implicit operator ExternClass(byte value); } // CS0626: `A.~A()' is marked as an external but has no DllImport attribute. Consider adding a DllImport attribute to specify the external implementation @@ -20,13 +19,6 @@ extern ~A (); } - // CS0626: `ExternClass.ExternMethod()' is marked as an external but has no DllImport attribute. Consider adding a DllImport attribute to specify the external implementation -// Line: 6 -// Compiler options: -warnaserror -warn:1 - -class ExternClass { - public static extern void ExternMethod(); -} // CS0626: `ExternClass.ExternMethod' is marked as an external but has no DllImport attribute. Consider adding a DllImport attribute to specify the external implementation // Line: 6 // Compiler options: -warnaserror -warn:1 @@ -35,17 +27,6 @@ public static extern int ExternMethod { set; } } - // CS0626: `C.this[int]' is marked as an external but has no DllImport attribute. Consider adding a DllImport attribute to specify the external implementation -// Line: 7 -// Compiler options: -warnaserror -warn:1 - -class C -{ - public extern char this[int index] - { - get; - } -} // CS0626: `Test.OnFoo' is marked as an external but has no DllImport attribute. Consider adding a DllImport attribute to specify the external implementation // Line: 9 // Compiler options: -warnaserror -warn:1 @@ -60,13 +41,32 @@ } - // CS0626: `ExternClass.implicit operator ExternClass(byte)' is marked as an external but has no DllImport attribute. Consider adding a DllImport attribute to specify the external implementation + // CS0626: `ExternClass.ExternMethod()' is marked as an external but has no DllImport attribute. Consider adding a DllImport attribute to specify the external implementation // Line: 6 // Compiler options: -warnaserror -warn:1 class ExternClass { - static public extern implicit operator ExternClass(byte value); + [System.Obsolete] + public static extern void ExternMethod(); } + // CS0626: `C.this[int]' is marked as an external but has no DllImport attribute. Consider adding a DllImport attribute to specify the external implementation +// Line: 7 +// Compiler options: -warnaserror -warn:1 + +class C +{ + public extern char this[int index] + { + get; + } +} + // CS0626: `ExternClass.ExternMethod()' is marked as an external but has no DllImport attribute. Consider adding a DllImport attribute to specify the external implementation +// Line: 6 +// Compiler options: -warnaserror -warn:1 + +class ExternClass { + public static extern void ExternMethod(); +} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0628 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0628 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0628 2035-09-30 19:00:50.000000000 +0000 @@ -2,20 +2,20 @@ CS0628 - // CS0628: `D.D()': new protected member declared in sealed class + // CS0628: `D.a': new protected member declared in sealed class // Line: 6 // Compiler options: -warnaserror -warn:4 sealed class D { - protected D () {} + protected int a; } - // CS0628: `D.a': new protected member declared in sealed class + // CS0628: `D.D()': new protected member declared in sealed class // Line: 6 // Compiler options: -warnaserror -warn:4 sealed class D { - protected int a; + protected D () {} } // CS0628: `Test.print_argv(string[])': new protected member declared in sealed class /usr/lib/monodoc/sources/cs-errors.zip/CS0631 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0631 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0631 2035-09-30 19:00:50.000000000 +0000 @@ -6,7 +6,7 @@ // Line: 5 class X { - public static X operator < (ref X a, int b) + public static explicit operator X (ref X[] foo) { return null; } @@ -16,17 +16,17 @@ // Line: 5 class X { - public static explicit operator X (ref X[] foo) - { - return null; - } + public int this [ref int arg] { set {} } } // CS0631: The parameter modifier `ref' is not valid in this context // Line: 5 class X { - public int this [ref int arg] { set {} } + public static X operator < (ref X a, int b) + { + return null; + } } /usr/lib/monodoc/sources/cs-errors.zip/CS0633 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0633 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0633 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,32 @@ CS0633 + // CS0633: The argument to the `System.Runtime.CompilerServices.IndexerNameAttribute' attribute must be a valid identifier +// Line: 8 + +using System.Runtime.CompilerServices; + +public class C +{ + [IndexerName ("class")] + public string this [int i] { + set { } + } +} + + // CS0633: The argument to the `System.Runtime.CompilerServices.IndexerNameAttribute' attribute must be a valid identifier +// Line: 8 + +using System.Runtime.CompilerServices; + +public class C +{ + [IndexerName (null)] + public string this [int i] { + set { } + } +} + // CS0633: The argument to the `System.Diagnostics.ConditionalAttribute' attribute must be a valid identifier // Line: 6 @@ -30,19 +56,6 @@ // CS0633: The argument to the `System.Runtime.CompilerServices.IndexerNameAttribute' attribute must be a valid identifier -// Line: 8 - -using System.Runtime.CompilerServices; - -public class C -{ - [IndexerName (null)] - public string this [int i] { - set { } - } -} - - // CS0633: The argument to the `System.Runtime.CompilerServices.IndexerNameAttribute' attribute must be a valid identifier // Line: 5 public class MonthDays { @@ -76,18 +89,5 @@ - // CS0633: The argument to the `System.Runtime.CompilerServices.IndexerNameAttribute' attribute must be a valid identifier -// Line: 8 - -using System.Runtime.CompilerServices; - -public class C -{ - [IndexerName ("class")] - public string this [int i] { - set { } - } -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0642 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0642 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0642 2035-09-30 19:00:50.000000000 +0000 @@ -4,32 +4,32 @@ // CS0642: Possible mistaken empty statement // Line: 9 -// Compiler options: -warnaserror -warn:3 +// Compiler options: -warnaserror -warn:3 -unsafe -nowarn:0219 public class C { - public void Test () + public unsafe void Test () { - lock (this); + fixed (char *p = str); { } } + + static readonly char [] str = new char [] {'A'}; } // CS0642: Possible mistaken empty statement -// Line: 11 -// Compiler options: /warnaserror /warn:3 -using System; +// Line: 10 +// Compiler options: -warnaserror -warn:3 + public class C { - public static int p = 0; - public static void Foo () - { - if (p < 5) - ; - else - Console.WriteLine (); - } + public static void Main () + { + int i= 5; + while (i++ < 100); + { } + } } @@ -52,6 +52,20 @@ // CS0642: Possible mistaken empty statement +// Line: 9 +// Compiler options: -warnaserror -warn:3 + +public class C +{ + public void Test (System.IDisposable arg) + { + using (arg); + { } + } +} + + + // CS0642: Possible mistaken empty statement // Line: 11 // Compiler options: /warnaserror /warn:3 using System; @@ -69,15 +83,13 @@ // CS0642: Possible mistaken empty statement -// Line: 9 +// Line: 7 // Compiler options: -warnaserror -warn:3 -public class C -{ - public void Test () +class X{ + static void Main () { - using (System.IDisposable arg = null); - { } + if (true); } } @@ -87,27 +99,28 @@ public class C { - public void Test (System.IDisposable arg) + public void Test () { - using (arg); + lock (this); { } } } // CS0642: Possible mistaken empty statement -// Line: 9 -// Compiler options: -warnaserror -warn:3 -unsafe -nowarn:0219 - +// Line: 11 +// Compiler options: /warnaserror /warn:3 +using System; public class C { - public unsafe void Test () - { - fixed (char *p = str); - { } - } - - static readonly char [] str = new char [] {'A'}; + public static int p = 0; + public static void Foo () + { + if (p < 5) + ; + else + Console.WriteLine (); + } } @@ -117,13 +130,12 @@ public class C { - public void Test (System.Collections.IEnumerable e) - { - foreach (object o in e); - { } - } + public void Test () + { + using (System.IDisposable arg = null); + { } + } } - // CS0642: Possible mistaken empty statement // Line: 10 @@ -133,37 +145,25 @@ { public static void Main () { - int i= 5; - while (i++ < 100); + for (;;); { } } } // CS0642: Possible mistaken empty statement -// Line: 10 +// Line: 9 // Compiler options: -warnaserror -warn:3 public class C { - public static void Main () + public void Test (System.Collections.IEnumerable e) { - for (;;); + foreach (object o in e); { } } } - // CS0642: Possible mistaken empty statement -// Line: 7 -// Compiler options: -warnaserror -warn:3 - -class X{ - static void Main () - { - if (true); - } -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0649 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0649 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0649 2035-09-30 19:00:50.000000000 +0000 @@ -16,6 +16,15 @@ } } + // CS0649: Field `X.x' is never assigned to, and will always have its default value `0' +// Line: 4 +// Compiler options: -warnaserror -warn:4 + +class X +{ + public readonly int x; +} + // CS0649: Field `X.e' is never assigned to, and will always have its default value `0' // Line: 10 // Compiler options: -warnaserror -warn:4 @@ -36,15 +45,6 @@ Foo } - // CS0649: Field `X.x' is never assigned to, and will always have its default value `0' -// Line: 4 -// Compiler options: -warnaserror -warn:4 - -class X -{ - public readonly int x; -} - // CS0649: Field `TestClass.b' is never assigned to, and will always have its default value // Line: 12 // Compiler options: -warnaserror -warn:4 /usr/lib/monodoc/sources/cs-errors.zip/CS0652 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0652 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0652 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,23 @@ CS0652 + // CS0652: A comparison between a constant and a variable is useless. The constant is out of the range of the variable type `char' +// Line: 12 +// Compiler options: /warn:2 /warnaserror + +using System; + +public class CS0652 { + + public static void Main () + { + char value = 'a'; + if (value > ulong.MaxValue) + return; + } +} + + // CS0652: A comparison between a constant and a variable is useless. The constant is out of the range of the variable type `byte' // Line: 12 // Compiler options: /warn:2 /warnaserror @@ -21,7 +38,23 @@ } - // CS0652: A comparison between a constant and a variable is useless. The constant is out of the range of the variable type `ushort' + // CS0652: A comparison between a constant and a variable is useless. The constant is out of the range of the variable type `byte' +// Line: 9 +// Compiler options: -warnaserror -warn:2 + +class X +{ + void b () + { + byte b = 0; + if (b == 500) + return; + } + + static void Main () {} +} + + // CS0652: A comparison between a constant and a variable is useless. The constant is out of the range of the variable type `short' // Line: 11 // Compiler options: /warn:2 /warnaserror using System; @@ -30,8 +63,8 @@ public static void Main () { - ushort us = 0; - if (us == -1) + short us = 0; + if (us == -10000000) Console.WriteLine (":("); else Console.WriteLine (":)"); @@ -56,19 +89,20 @@ } - // CS0652: A comparison between a constant and a variable is useless. The constant is out of the range of the variable type `char' -// Line: 12 + // CS0652: A comparison between a constant and a variable is useless. The constant is out of the range of the variable type `ushort' +// Line: 11 // Compiler options: /warn:2 /warnaserror - using System; public class CS0652 { public static void Main () { - char value = 'a'; - if (value > ulong.MaxValue) - return; + ushort us = 0; + if (us == -1) + Console.WriteLine (":("); + else + Console.WriteLine (":)"); } } @@ -90,39 +124,5 @@ } - // CS0652: A comparison between a constant and a variable is useless. The constant is out of the range of the variable type `short' -// Line: 11 -// Compiler options: /warn:2 /warnaserror -using System; - -public class CS0652 { - - public static void Main () - { - short us = 0; - if (us == -10000000) - Console.WriteLine (":("); - else - Console.WriteLine (":)"); - } -} - - - // CS0652: A comparison between a constant and a variable is useless. The constant is out of the range of the variable type `byte' -// Line: 9 -// Compiler options: -warnaserror -warn:2 - -class X -{ - void b () - { - byte b = 0; - if (b == 500) - return; - } - - static void Main () {} -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0657 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0657 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0657 2035-09-30 19:00:50.000000000 +0000 @@ -2,88 +2,82 @@ CS0657 - // CS0657: `param' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `method, return'. All attributes in this section will be ignored -// Line: 9 + // CS0657: `method' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `assembly, module'. All attributes in this section will be ignored +// Line : 7 // Compiler options: -warnaserror using System; -struct S -{ - [param: Obsolete] - void method () {} -} - // CS0657: `assembly' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `field'. All attributes in this section will be ignored -// Line: 9 -// Compiler options: -warnaserror - -using System; +[method: CLSCompliant (false)] -public enum E +public class C { - [assembly: CLSCompliant (false)] - item } - // CS0657: `assembly' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `type'. All attributes in this section will be ignored -// Line: 8 + // CS0657: `event' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `method, param, return'. All attributes in this section will be ignored +// Line: 15 // Compiler options: -warnaserror -using System.Reflection; +using System; -namespace N { - [assembly: AssemblyKeyName("")] - class A {} +[AttributeUsage(AttributeTargets.All)] +public class TestAttribute: Attribute +{ } - - // CS0657: `method' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `assembly, module'. All attributes in this section will be ignored -// Line: 5 -// Compiler options: -warnaserror - -[method: System.CLSCompliant (false)] - - // CS0657: `method' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `assembly, module'. All attributes in this section will be ignored -// Line: 5 -// Compiler options: -warnaserror - -[method: Obsolete] -delegate void Delegate (); - - // CS0657: `method' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `assembly, module'. All attributes in this section will be ignored -// Line : 7 +class C +{ + event ResolveEventHandler field { + [event: Test] + add {} + remove {} + + } +} + // CS0657: `type' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `method, param, return'. All attributes in this section will be ignored +// Line: 15 // Compiler options: -warnaserror using System; -[method: CLSCompliant (false)] - -public class C +[AttributeUsage(AttributeTargets.All)] +public class TestAttribute: Attribute { } - - // CS0657: `param' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `assembly, module'. All attributes in this section will be ignored -// Line: 7 + +class C +{ + int Prop { + [type:Test] + set { + } + } +} + // CS0657: `assembly' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `field'. All attributes in this section will be ignored +// Line: 9 // Compiler options: -warnaserror using System; -[param: CLSCompliant (false)] public enum E { + [assembly: CLSCompliant (false)] item } - // CS0657: `method' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `assembly, module'. All attributes in this section will be ignored -// Line: 5 + // CS0657: `field' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `event, method'. All attributes in this section will be ignored +// Line: 9 // Compiler options: -warnaserror -[method: Obsolete] -public interface I +using System; + +abstract class X { + [field:NonSerialized] + public abstract event EventHandler XEvent; } - // CS0657: `type' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `param'. All attributes in this section will be ignored + // CS0657: `param' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `method, return'. All attributes in this section will be ignored // Line: 15 // Compiler options: -warnaserror @@ -94,36 +88,27 @@ { } -struct S +class C { - void method ( - [type: Test] - int p) {} + int Prop { + [param:Test] + get { + return 1; + } + } } - // CS0657: `return' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `method'. All attributes in this section will be ignored -// Line: 9 + // CS0657: `param' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `assembly, module'. All attributes in this section will be ignored +// Line: 7 // Compiler options: -warnaserror using System; -public class C +[param: CLSCompliant (false)] +public enum E { - [return: CLSCompliant (false)] - public C () - { - } + item } - // CS0657: `return' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `assembly, module'. All attributes in this section will be ignored -// Line: 7 -// Compiler options: -warnaserror - -using System; - -[return: CLSCompliant (false)] - -public enum E {} - // CS0657: `field' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `event, method'. All attributes in this section will be ignored // Line: 8 // Compiler options: -warnaserror @@ -135,20 +120,6 @@ event EventHandler XEvent; } - // CS0657: `return' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `method'. All attributes in this section will be ignored -// Line: 9 -// Compiler options: -warnaserror - -using System; - -public class C -{ - [return: CLSCompliant (false)] - ~C () - { - } -} /usr/lib/monodoc/sources/cs-errors.zip/CS0658 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0658 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0658 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,23 @@ CS0658 + // CS0658: `value' is invalid attribute target. All attributes in this attribute section will be ignored +// Line : 5 +// Compiler options: -warnaserror -warn:1 + +[reply] ["asd"] + // CS0658: `class' is invalid attribute target. All attributes in this attribute section will be ignored +// Line : 8 +// Compiler options: -warnaserror -warn:1 + +using System; + +[class:Serializable] +public class C +{ + public static void Main () {} +} + // CS0658: `blah' is invalid attribute target. All attributes in this attribute section will be ignored // Line : 9 // Compiler options: -warnaserror -warn:1 @@ -22,22 +39,5 @@ } } - // CS0658: `class' is invalid attribute target. All attributes in this attribute section will be ignored -// Line : 8 -// Compiler options: -warnaserror -warn:1 - -using System; - -[class:Serializable] -public class C -{ - public static void Main () {} -} - - // CS0658: `value' is invalid attribute target. All attributes in this attribute section will be ignored -// Line : 5 -// Compiler options: -warnaserror -warn:1 - -[reply] ["asd"] \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0663 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0663 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0663 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,14 @@ CS0663 + // CS0663: Overloaded method `WrongInterface.Test(ref int)' cannot differ on use of parameter modifiers only +// Line: 6 + +public interface WrongInterface { + int Test(out int obj); + int Test(ref int obj); +} + // CS0633: Overloaded method `C.Foo(string)' cannot differ on use of parameter modifiers only // Line: 11 @@ -17,13 +25,5 @@ } } - // CS0663: Overloaded method `WrongInterface.Test(ref int)' cannot differ on use of parameter modifiers only -// Line: 6 - -public interface WrongInterface { - int Test(out int obj); - int Test(ref int obj); -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0664 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0664 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0664 2035-09-30 19:00:50.000000000 +0000 @@ -2,28 +2,13 @@ CS0664 - // CS0664: Literal of type double cannot be implicitly converted to type `float'. Add suffix `f' to create a literal of this type -// Line: 13 - -using System; - -public sealed class BoundAttribute : System.Attribute -{ - public float D; -} - -class C -{ - [Bound (D = 300d)] - double d2; -} // CS0664: Literal of type double cannot be implicitly converted to type `decimal'. Add suffix `m' to create a literal of this type // Line: 7 class X { void A () { - decimal d = 2.0; + decimal d = -2.0; } } @@ -33,11 +18,26 @@ class X { void A () { - decimal d = -2.0; + decimal d = 2.0; } } // CS0664: Literal of type double cannot be implicitly converted to type `float'. Add suffix `f' to create a literal of this type +// Line: 13 + +using System; + +public sealed class BoundAttribute : System.Attribute +{ + public float D; +} + +class C +{ + [Bound (D = 300d)] + double d2; +} + // CS0664: Literal of type double cannot be implicitly converted to type `float'. Add suffix `f' to create a literal of this type // Line: 6 class X { void A () /usr/lib/monodoc/sources/cs-errors.zip/CS0665 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0665 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0665 2035-09-30 19:00:50.000000000 +0000 @@ -2,31 +2,31 @@ CS0665 - // Cs0665: Assignment in conditional expression is always constant. Did you mean to use `==' instead ? + // CS0665: Assignment in conditional expression is always constant. Did you mean to use `==' instead ? // Line: 10 // Compiler options: /warnaserror class Test { - public bool Foo (bool x) + public void Foo (bool x) { bool b; - return (b = true) ? true : b; + if (b = true) + System.Console.WriteLine (b); } } - // CS0665: Assignment in conditional expression is always constant. Did you mean to use `==' instead ? + // Cs0665: Assignment in conditional expression is always constant. Did you mean to use `==' instead ? // Line: 10 // Compiler options: /warnaserror class Test { - public void Foo (bool x) + public bool Foo (bool x) { bool b; - if (b = true) - System.Console.WriteLine (b); + return (b = true) ? true : b; } } /usr/lib/monodoc/sources/cs-errors.zip/CS0666 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0666 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0666 2035-09-30 19:00:50.000000000 +0000 @@ -2,14 +2,6 @@ CS0666 - // CS0666: `B.D': Structs cannot contain protected members -// Line: 6 - -public struct B -{ - protected internal delegate void D (); -} - // CS0666: `X.A': Structs cannot contain protected members // Line: 5 @@ -21,5 +13,13 @@ } } + // CS0666: `B.D': Structs cannot contain protected members +// Line: 6 + +public struct B +{ + protected internal delegate void D (); +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0672 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0672 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0672 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,21 @@ CS0672 + // CS0672: Member `B.MyEvent' overrides obsolete member `A.MyEvent'. Add the Obsolete attribute to `B.MyEvent' +// Line: 13 +// Compiler options: -warnaserror + +using System; + +class A { + [Obsolete] + public virtual event EventHandler MyEvent; +} + +class B : A { + public override event EventHandler MyEvent; +} + // CS0672: Member `C.Method()' overrides obsolete member `BaseClass.Method()'. Add the Obsolete attribute to `C.Method()' // Line: 14 // Compiler options: -warnaserror @@ -17,25 +32,6 @@ { protected override void Method () {} } - // CS0672: Member `B.Warning' overrides obsolete member `A.Warning'. Add the Obsolete attribute to `B.Warning' -// Line: 15 -// Compiler options: -warnaserror - -using System; - -public class A { - [Obsolete()] - public virtual string Warning { - get { return ""; } - } -} - -public class B : A { - public override string Warning { - get { return ""; } - } -} - // CS0672: Member `B.Test(string)' overrides obsolete member `A.Test(string)'. Add the Obsolete attribute to `B.Test(string)' // Line: 15 // Compiler options: -warnaserror @@ -54,19 +50,23 @@ } - // CS0672: Member `B.MyEvent' overrides obsolete member `A.MyEvent'. Add the Obsolete attribute to `B.MyEvent' -// Line: 13 + // CS0672: Member `B.Warning' overrides obsolete member `A.Warning'. Add the Obsolete attribute to `B.Warning' +// Line: 15 // Compiler options: -warnaserror using System; -class A { - [Obsolete] - public virtual event EventHandler MyEvent; +public class A { + [Obsolete()] + public virtual string Warning { + get { return ""; } + } } -class B : A { - public override event EventHandler MyEvent; +public class B : A { + public override string Warning { + get { return ""; } + } } /usr/lib/monodoc/sources/cs-errors.zip/CS0677 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0677 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0677 2035-09-30 19:00:50.000000000 +0000 @@ -2,26 +2,6 @@ CS0677 - // CS0677: `X.e': A volatile field cannot be of the type `E' -// Line: 10 - -enum E : long -{ -} - -class X -{ - volatile E e; -} - - // CS0677: `C<T>.t': A volatile field cannot be of the type `T' -// Line: 8 - -public class C<T> where T : struct -{ - volatile T t; -} - // CS0677: `X.d': A volatile field cannot be of the type `double' // Line: 6 @@ -43,6 +23,26 @@ } } + // CS0677: `X.e': A volatile field cannot be of the type `E' +// Line: 10 + +enum E : long +{ +} + +class X +{ + volatile E e; +} + + // CS0677: `C<T>.t': A volatile field cannot be of the type `T' +// Line: 8 + +public class C<T> where T : struct +{ + volatile T t; +} + // CS0677: `C<T>.t': A volatile field cannot be of the type `T' // Line: 8 /usr/lib/monodoc/sources/cs-errors.zip/CS0693 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0693 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0693 2035-09-30 19:00:50.000000000 +0000 @@ -2,17 +2,14 @@ CS0693 - // CS0693: Type parameter `T' has the same name as the type parameter from outer type `R<U>.A<T>' -// Line: 9 + // CS0693: Type parameter `T' has the same name as the type parameter from outer type `C<T>' +// Line: 7 // Compiler options: -warnaserror -warn:3 -class R<U> +class C<T> { - class A<T> + void Foo<T> (T t) { - struct I<T> - { - } } } @@ -26,18 +23,21 @@ { } } - // CS0693: Type parameter `T' has the same name as the type parameter from outer type `C<T>' -// Line: 7 + // CS0693: Type parameter `U' has the same name as the type parameter from outer type `R<U>' +// Line: 9 // Compiler options: -warnaserror -warn:3 -class C<T> +class R<U> { - void Foo<T> (T t) + class A<T> { + struct I<U> + { + } } } - // CS0693: Type parameter `U' has the same name as the type parameter from outer type `R<U>' + // CS0693: Type parameter `T' has the same name as the type parameter from outer type `R<U>.A<T>' // Line: 9 // Compiler options: -warnaserror -warn:3 @@ -45,7 +45,7 @@ { class A<T> { - struct I<U> + struct I<T> { } } /usr/lib/monodoc/sources/cs-errors.zip/CS0695 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0695 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0695 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,45 @@ CS0695 + // CS0695: `A<X,Y>' cannot implement both `I<X>' and `I<Y>' because they may unify for some type parameter substitutions +// Line: 7 + +interface I<X> +{ } + +class A<X,Y> : I<X>, I<Y> +{ } + + // CS0695: `A<X,Y,Z>' cannot implement both `I<X>' and `I<A<Y,Y,Z>>' because they may unify for some type parameter substitutions +// Line: 7 + +interface I<X> +{ } + +class A<X,Y,Z> : I<X>, I<A<Y,Y,Z>> +{ } + + // CS0695: `Test<T>.TestN' cannot implement both `C<T>.I' and `C<string>.I' because they may unify for some type parameter substitutions +// Line: 17 + +class C<T> +{ + public interface I + { + } + + public class N : C<string> + { + } +} + +class Test<T> : C<T> +{ + class TestN : I, N.I + { + } +} + // CS0695: `C<T,U>' cannot implement both `A<T>.IB' and `A<U>.IB' because they may unify for some type parameter substitutions // Line: 11 @@ -15,7 +54,7 @@ class C<T, U> : A<T>.IB, A<U>.IB { } - // CS0695: `C<X,Y>' cannot implement both `I<K<Y>>' and `I<X>' because they may unify for some type parameter substitutions + // CS0695: `C<X,Y>' cannot implement both `I<X>' and `I<K<Y>>' because they may unify for some type parameter substitutions // Line: 10 interface I<X> @@ -24,7 +63,7 @@ interface K<X> { } -class C<X,Y> : I<K<Y>>, I<X> +class C<X,Y> : I<X>, I<K<Y>> { } // CS0695: `C<T1,T2>' cannot implement both `IA<T1>' and `IB<IA<T2>>' because they may unify for some type parameter substitutions @@ -42,25 +81,7 @@ { } - // CS0695: `A<X,Y,Z>' cannot implement both `I<X>' and `I<A<Y,Y,Z>>' because they may unify for some type parameter substitutions -// Line: 7 - -interface I<X> -{ } - -class A<X,Y,Z> : I<X>, I<A<Y,Y,Z>> -{ } - - // CS0695: `A<X,Y>' cannot implement both `I<X>' and `I<Y>' because they may unify for some type parameter substitutions -// Line: 7 - -interface I<X> -{ } - -class A<X,Y> : I<X>, I<Y> -{ } - - // CS0695: `C<X,Y>' cannot implement both `I<X>' and `I<K<Y>>' because they may unify for some type parameter substitutions + // CS0695: `C<X,Y>' cannot implement both `I<K<Y>>' and `I<X>' because they may unify for some type parameter substitutions // Line: 10 interface I<X> @@ -69,29 +90,8 @@ interface K<X> { } -class C<X,Y> : I<X>, I<K<Y>> +class C<X,Y> : I<K<Y>>, I<X> { } - // CS0695: `Test<T>.TestN' cannot implement both `C<T>.I' and `C<string>.I' because they may unify for some type parameter substitutions -// Line: 17 - -class C<T> -{ - public interface I - { - } - - public class N : C<string> - { - } -} - -class Test<T> : C<T> -{ - class TestN : I, N.I - { - } -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0698 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0698 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0698 2035-09-30 19:00:50.000000000 +0000 @@ -2,30 +2,30 @@ CS0698 - // CS0698: A generic type cannot derive from `System.Attribute' because it is an attribute class + // CS0698: A generic type cannot derive from `X' because it is an attribute class // Line: 6 using System; -class Stack<T> : Attribute +class Stack<T> : X { } -class X +class X : Attribute { - static void Main () - { } } - // CS0698: A generic type cannot derive from `X' because it is an attribute class + // CS0698: A generic type cannot derive from `System.Attribute' because it is an attribute class // Line: 6 using System; -class Stack<T> : X +class Stack<T> : Attribute { } -class X : Attribute +class X { + static void Main () + { } } /usr/lib/monodoc/sources/cs-errors.zip/CS0699 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0699 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0699 2035-09-30 19:00:50.000000000 +0000 @@ -2,14 +2,6 @@ CS0699 - // CS0699: `I.Test<T>()': A constraint references nonexistent type parameter `U' -// Line: 6 - -interface I -{ - void Test<T>() where U : class; -} - // CS0699: `I<T>': A constraint references nonexistent type parameter `U' // Line: 8 @@ -21,5 +13,13 @@ { } + // CS0699: `I.Test<T>()': A constraint references nonexistent type parameter `U' +// Line: 6 + +interface I +{ + void Test<T>() where U : class; +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0701 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0701 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0701 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,17 @@ CS0701 + // CS0701: `S' is not a valid constraint. A constraint must be an interface, a non-sealed class or a type parameter +// Line: 8 + +struct S +{ +} + +class Foo<T> where T : S +{ +} + // CS0701: `A' is not a valid constraint. A constraint must be an interface, a non-sealed class or a type parameter // Line: 6 @@ -18,16 +29,5 @@ { } - // CS0701: `S' is not a valid constraint. A constraint must be an interface, a non-sealed class or a type parameter -// Line: 8 - -struct S -{ -} - -class Foo<T> where T : S -{ -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0702 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0702 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0702 2035-09-30 19:00:50.000000000 +0000 @@ -2,23 +2,23 @@ CS0702 - // CS0702: A constraint cannot be special class `System.Array' + // CS0702: A constraint cannot be special class `object' // Line: 8 using System; class Foo<T> - where T : Array + where T : object { } - // CS0702: A constraint cannot be special class `object' + // CS0702: A constraint cannot be special class `System.Array' // Line: 8 using System; class Foo<T> - where T : object + where T : Array { } /usr/lib/monodoc/sources/cs-errors.zip/CS0714 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0714 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0714 2035-09-30 19:00:50.000000000 +0000 @@ -3,12 +3,6 @@ CS0714 // CS0714: Static class `StaticClass' cannot implement interfaces -// Line: 4 - -static class StaticClass: System.IComparable { -} - - // CS0714: Static class `StaticClass' cannot implement interfaces // Line: 8 static partial class StaticClass @@ -34,5 +28,11 @@ { } + // CS0714: Static class `StaticClass' cannot implement interfaces +// Line: 4 + +static class StaticClass: System.IComparable { +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0719 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0719 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0719 2035-09-30 19:00:50.000000000 +0000 @@ -3,19 +3,6 @@ CS0719 // CS0719: Array elements cannot be of static type `StaticClass' -// Line: 10 - -static class StaticClass { -} - -class MainClass { - public static object Method () - { - return new StaticClass [3]; - } -} - - // CS0719: Array elements cannot be of static type `StaticClass' // Line: 12 using System; @@ -33,5 +20,18 @@ } } + // CS0719: Array elements cannot be of static type `StaticClass' +// Line: 10 + +static class StaticClass { +} + +class MainClass { + public static object Method () + { + return new StaticClass [3]; + } +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0721 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0721 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0721 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,17 @@ CS0721 + // CS0721: `C': static types cannot be used as parameters +// Line: 6 + + +static class C +{ + static void Foo (this C c) + { + } +} + // CS0721: `StaticClass': static types cannot be used as parameters // Line: 8 @@ -14,16 +25,5 @@ } } - // CS0721: `C': static types cannot be used as parameters -// Line: 6 - - -static class C -{ - static void Foo (this C c) - { - } -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0722 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0722 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0722 2035-09-30 19:00:50.000000000 +0000 @@ -9,9 +9,10 @@ } class MainClass { - public static StaticClass Method () - { - return null; + public static StaticClass Prop { + get { + return null; + } } } @@ -22,10 +23,9 @@ } class MainClass { - public static StaticClass Prop { - get { - return null; - } + public static StaticClass Method () + { + return null; } } /usr/lib/monodoc/sources/cs-errors.zip/CS0723 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0723 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0723 2035-09-30 19:00:50.000000000 +0000 @@ -2,17 +2,6 @@ CS0723 - // CS0723: `C<T>.t': cannot declare variables of static types -// Line: 10 - -static class S<T> -{ -} - -public class C<T> -{ - S<T> t; -} // CS0723: `MainClass.s': cannot declare variables of static types // Line: 10 @@ -38,5 +27,16 @@ } } + // CS0723: `C<T>.t': cannot declare variables of static types +// Line: 10 + +static class S<T> +{ +} + +public class C<T> +{ + S<T> t; +} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0728 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0728 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0728 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,26 @@ CS0728 + // CS0728: Possibly incorrect assignment to `token' which is the argument to a using or lock statement +// Line: 11 +// Compiler options: -warnaserror + +public class Foo +{ + public static void Main () + { + object token = new object (); + lock (token) + { + Foo2 (ref token); + } + } + + static void Foo2 (ref object o) + { + } +} + // CS0728: Possibly incorrect assignment to `d' which is the argument to a using or lock statement // Line: 12 // Compiler options: -warnaserror @@ -33,25 +53,5 @@ } } - // CS0728: Possibly incorrect assignment to `token' which is the argument to a using or lock statement -// Line: 11 -// Compiler options: -warnaserror - -public class Foo -{ - public static void Main () - { - object token = new object (); - lock (token) - { - Foo2 (ref token); - } - } - - static void Foo2 (ref object o) - { - } -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0735 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0735 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0735 2035-09-30 19:00:50.000000000 +0000 @@ -8,13 +8,13 @@ using System; using System.Runtime.CompilerServices; -[assembly: TypeForwardedTo(typeof (int[]))] +[assembly: TypeForwardedTo((Type)null)] // CS0735: Invalid type specified as an argument for TypeForwardedTo attribute // Line: 7 using System; using System.Runtime.CompilerServices; -[assembly: TypeForwardedTo((Type)null)] +[assembly: TypeForwardedTo(typeof (int[]))] \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0737 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0737 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0737 2035-09-30 19:00:50.000000000 +0000 @@ -2,23 +2,6 @@ CS0737 - // CS0737: `MySubClass' does not implement interface member `System.ICloneable.Clone()' and the best implementing candidate `MyTest.Clone()' is not public -// Line: 6 - -using System; - -public class MySubClass : MyTest, ICloneable -{ -} - -public class MyTest -{ - internal object Clone () - { - return MemberwiseClone (); - } -} - // CS0737: `MySubClass' does not implement interface member `I.Foo.set' and the best implementing candidate `MyTest.Foo.set' is not public // Line: 6 @@ -56,5 +39,22 @@ } + // CS0737: `MySubClass' does not implement interface member `System.ICloneable.Clone()' and the best implementing candidate `MyTest.Clone()' is not public +// Line: 6 + +using System; + +public class MySubClass : MyTest, ICloneable +{ +} + +public class MyTest +{ + internal object Clone () + { + return MemberwiseClone (); + } +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0738 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0738 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0738 2035-09-30 19:00:50.000000000 +0000 @@ -2,22 +2,6 @@ CS0738 - // CS0738: `B' does not implement interface member `I.Test(int)' and the best implementing candidate `B.Test(int)' return type `int' does not match interface member return type `void' -// Line: 9 - -interface I -{ - void Test (int a); -} - -class B: I -{ - public int Test (int a) - { - return a; - } -} - // CS0738: `C' does not implement interface member `I2.Key.get' and the best implementing candidate `C.Key.get' return type `IB' does not match interface member return type `IA' // Line: 22 @@ -76,5 +60,21 @@ { } + // CS0738: `B' does not implement interface member `I.Test(int)' and the best implementing candidate `B.Test(int)' return type `int' does not match interface member return type `void' +// Line: 9 + +interface I +{ + void Test (int a); +} + +class B: I +{ + public int Test (int a) + { + return a; + } +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0750 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0750 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0750 2035-09-30 19:00:50.000000000 +0000 @@ -5,19 +5,19 @@ // CS0750: A partial method cannot define access modifier or any of abstract, extern, new, override, sealed, or virtual modifiers // Line: 6 -public partial class C +static partial class C { - private partial void Foo () - { - } + public partial void Test<T> (); } // CS0750: A partial method cannot define access modifier or any of abstract, extern, new, override, sealed, or virtual modifiers // Line: 6 -static partial class C +public partial class C { - public partial void Test<T> (); + private partial void Foo () + { + } } /usr/lib/monodoc/sources/cs-errors.zip/CS0815 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0815 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0815 2035-09-30 19:00:50.000000000 +0000 @@ -15,14 +15,15 @@ Task.Run(async () => { var a = async () => { }; Console.WriteLine(a); }); } } - // CS0815: An implicitly typed local variable declaration cannot be initialized with `(int, method group)' -// Line: 8 + // CS0815: An implicitly typed local variable declaration cannot be initialized with `default' +// Line: 9 +// Compiler options: -langversion:latest -class XX +static class X { public static void Main () { - var m = (1, Main); + var x = default; } } // CS0815: An implicitly typed local variable declaration cannot be initialized with `method group' @@ -36,42 +37,27 @@ } } - // CS0815: An implicitly typed local variable declaration cannot be initialized with `anonymous method' -// Line: 9 + // CS0815: An implicitly typed local variable declaration cannot be initialized with `void' +// Line: 17 +using System; +using System.Collections.Generic; -public class Test +class A { - static void Main () + static void Test (Action a) { - var d = delegate {}; } -} - - // CS0815: An implicitly typed local variable declaration cannot be initialized with `anonymous method' -// Line: 8 - -public class Test -{ - static void Main () + public static void Main () { - var l = x => x + 1; + Test (() => { + List<string> l = null; + var res = l.ForEach (g => { }); + }); } } - - // CS0815: An implicitly typed local variable declaration cannot be initialized with `default' -// Line: 9 -// Compiler options: -langversion:latest - -static class X -{ - public static void Main () - { - var x = default; - } -} // CS0815: An implicitly typed local variable declaration cannot be initialized with `null' // Line: 9 @@ -86,27 +72,23 @@ // CS0815: An implicitly typed local variable declaration cannot be initialized with `void' -// Line: 17 +// Line: 9 -using System; -using System.Collections.Generic; -class A +public class Test { - static void Test (Action a) + static void Main () { + var v = Foo (); } - public static void Main () + static void Foo () { - Test (() => { - List<string> l = null; - var res = l.ForEach (g => { }); - }); } } + - // CS0815: An implicitly typed local variable declaration cannot be initialized with `void' + // CS0815: An implicitly typed local variable declaration cannot be initialized with `anonymous method' // Line: 9 @@ -114,11 +96,29 @@ { static void Main () { - var v = Foo (); + var d = delegate {}; } +} - static void Foo () + + // CS0815: An implicitly typed local variable declaration cannot be initialized with `(int, method group)' +// Line: 8 + +class XX +{ + public static void Main () { + var m = (1, Main); + } +} + // CS0815: An implicitly typed local variable declaration cannot be initialized with `anonymous method' +// Line: 8 + +public class Test +{ + static void Main () + { + var l = x => x + 1; } } /usr/lib/monodoc/sources/cs-errors.zip/CS0826 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0826 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0826 2035-09-30 19:00:50.000000000 +0000 @@ -10,7 +10,7 @@ { static void Main () { - var e = new[] { }; + var e = new[] { null }; } } @@ -39,39 +39,48 @@ } } // CS0826: The type of an implicitly typed array cannot be inferred from the initializer. Try specifying array type explicitly -// Line: 9 - +// Line: 8 public class Test { static void Main () { - var e = new[] { delegate {} }; + var e = new[] { 1, null }; } } // CS0826: The type of an implicitly typed array cannot be inferred from the initializer. Try specifying array type explicitly -// Line: 8 +// Line: 9 + public class Test { static void Main () { - var e = new[] { 1, "a" }; + var e = new[] { delegate {} }; } } // CS0826: The type of an implicitly typed array cannot be inferred from the initializer. Try specifying array type explicitly -// Line: 9 +// Line: 8 +class XX +{ + public static void Main () + { + var m = new [] { (1, Main) }; + } +} + // CS0826: The type of an implicitly typed array cannot be inferred from the initializer. Try specifying array type explicitly +// Line: 8 public class Test { static void Main () { - var e = new[] { null }; + var e = new[] { 1, "a" }; } } @@ -83,29 +92,20 @@ { static void Main () { - var e = new[] { 1, null }; + var e = new[] { Main }; } } // CS0826: The type of an implicitly typed array cannot be inferred from the initializer. Try specifying array type explicitly -// Line: 8 +// Line: 9 -class XX -{ - public static void Main () - { - var m = new [] { (1, Main) }; - } -} - // CS0826: The type of an implicitly typed array cannot be inferred from the initializer. Try specifying array type explicitly -// Line: 8 public class Test { static void Main () { - var e = new[] { Main }; + var e = new[] { }; } } /usr/lib/monodoc/sources/cs-errors.zip/CS0828 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0828 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0828 2035-09-30 19:00:50.000000000 +0000 @@ -2,9 +2,8 @@ CS0828 - // CS0828: An anonymous type property `Value' cannot be initialized with `void' -// Line: 13 - + // CS0828: An anonymous type property `Value' cannot be initialized with `method group' +// Line: 12 public class Test { @@ -14,20 +13,24 @@ static void Main () { - var v = new { Value = Error () }; + var v = new { Value = Error }; } } - // CS0828: An anonymous type property `Value' cannot be initialized with `null' + // CS0828: An anonymous type property `Value' cannot be initialized with `int*' // Line: 9 +// Compiler options: -unsafe - -public class Test +public unsafe class Test { + static int* Error () + { + return (int*)0; + } + static void Main () { - int A = 9; - var v1 = new { A, Value = null }; + var v = new { Value = Error () }; } } @@ -43,30 +46,26 @@ }; } } - // CS0828: An anonymous type property `Value' cannot be initialized with `method group' -// Line: 12 + // CS0828: An anonymous type property `Value' cannot be initialized with `anonymous method' +// Line: 9 + public class Test { - static void Error () - { - } - static void Main () { - var v = new { Value = Error }; + var v = new { Value = delegate () { return 1; } }; } } - // CS0828: An anonymous type property `Value' cannot be initialized with `int*' -// Line: 9 -// Compiler options: -unsafe + // CS0828: An anonymous type property `Value' cannot be initialized with `void' +// Line: 13 -public unsafe class Test + +public class Test { - static int* Error () + static void Error () { - return (int*)0; } static void Main () @@ -75,26 +74,27 @@ } } - // CS0828: An anonymous type property `Value' cannot be initialized with `anonymous method' -// Line: 8 + // CS0828: An anonymous type property `Value' cannot be initialized with `null' +// Line: 9 + public class Test { static void Main () { - var v = new { Value = i => 1 }; + int A = 9; + var v1 = new { A, Value = null }; } } // CS0828: An anonymous type property `Value' cannot be initialized with `anonymous method' -// Line: 9 - +// Line: 8 public class Test { static void Main () { - var v = new { Value = delegate () { return 1; } }; + var v = new { Value = i => 1 }; } } /usr/lib/monodoc/sources/cs-errors.zip/CS0831 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0831 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0831 2035-09-30 19:00:50.000000000 +0000 @@ -2,7 +2,7 @@ CS0831 - // CS0831: An expression tree may not contain a base access + // CS0831: An expression tree may not contain a base access // Line: 14 using System; @@ -10,9 +10,10 @@ class B { - protected int Core () - { - return 4; + protected bool Core { + get { + return true; + } } } @@ -20,22 +21,21 @@ { public void Test () { - Expression<Func<int>> e = () => base.Core (); + Expression<Func<bool>> e = () => base.Core; } } // CS0831: An expression tree may not contain a base access -// Line: 20 +// Line: 14 using System; using System.Linq.Expressions; class B { - protected B this [int i] { - get { - return null; - } + protected int Core () + { + return 4; } } @@ -43,21 +43,21 @@ { public void Test () { - Expression<Func<B>> e = () => base [8]; + Expression<Func<int>> e = () => base.Core (); } } - // CS0831: An expression tree may not contain a base access -// Line: 14 + // CS0831: An expression tree may not contain a base access +// Line: 20 using System; using System.Linq.Expressions; class B { - protected bool Core { + protected B this [int i] { get { - return true; + return null; } } } @@ -66,7 +66,7 @@ { public void Test () { - Expression<Func<bool>> e = () => base.Core; + Expression<Func<B>> e = () => base [8]; } } /usr/lib/monodoc/sources/cs-errors.zip/CS0832 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0832 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0832 2035-09-30 19:00:50.000000000 +0000 @@ -19,32 +19,32 @@ } // CS0832: An expression tree cannot contain an assignment operator -// Line: 13 +// Line: 11 using System; using System.Linq.Expressions; class C { - delegate void D (string s); - public static void Main () { - Expression<D> e = (a) => a = "a"; + Expression<Func<int, int>> e = (a) => --a; } } // CS0832: An expression tree cannot contain an assignment operator -// Line: 11 +// Line: 13 using System; using System.Linq.Expressions; class C { + delegate void D (string s); + public static void Main () { - Expression<Func<int, int>> e = (a) => --a; + Expression<D> e = (a) => a = "a"; } } /usr/lib/monodoc/sources/cs-errors.zip/CS0834 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0834 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0834 2035-09-30 19:00:50.000000000 +0000 @@ -9,11 +9,11 @@ class C { - delegate void D (); + delegate bool D (); public void Foo () { - Expression<D> e = () => { }; + Expression<D> e = () => { return true; }; } } @@ -24,11 +24,11 @@ class C { - delegate bool D (); + delegate void D (); public void Foo () { - Expression<D> e = () => { return true; }; + Expression<D> e = () => { }; } } /usr/lib/monodoc/sources/cs-errors.zip/CS0837 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0837 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0837 2035-09-30 19:00:50.000000000 +0000 @@ -2,20 +2,16 @@ CS0837 - // CS0837: The `as' operator cannot be applied to a lambda expression, anonymous method, or method group -// Line: 14 + // CS0837: The `is' operator cannot be applied to a lambda expression, anonymous method, or method group +// Line: 8 class X { - delegate void D (); - - static void Test (D d) - { - } - static void Main () { - Test ((() => { }) as D); + if (delegate {} is int) { + return; + } } } @@ -32,6 +28,23 @@ Expression<Func<bool>> e = () => "1".ToString is string; } } + // CS0837: The `as' operator cannot be applied to a lambda expression, anonymous method, or method group +// Line: 14 + +class X +{ + delegate void D (); + + static void Test (D d) + { + } + + static void Main () + { + Test ((() => { }) as D); + } +} + // CS0837: The `is' operator cannot be applied to a lambda expression, anonymous method, or method group // Line: 10 @@ -44,18 +57,5 @@ var res = Main is object; } } - // CS0837: The `is' operator cannot be applied to a lambda expression, anonymous method, or method group -// Line: 8 - -class X -{ - static void Main () - { - if (delegate {} is int) { - return; - } - } -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS0841 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0841 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0841 2035-09-30 19:00:50.000000000 +0000 @@ -2,34 +2,31 @@ CS0841 - // CS0841: A local variable `y' cannot be used before it is declared -// Line: 8 + // CS0841: A local variable `v' cannot be used before it is declared +// Line: 9 -public class C + +public class Test { - public static void Main () + static void Main () { - int x = y; - int y = 1; + var v = ++v; } } + - // CS0841: A local variable `x' cannot be used before it is declared + // CS0841: A local variable `y' cannot be used before it is declared // Line: 8 -// Compiler options: -langversion:experimental -class X +public class C { public static void Main () { - Foo (x, out var x); - } - - static void Foo (int arg, out int value) - { - value = 3; + const int x = y; + const int y = 1; } -} +} + // CS0841: A local variable `n' cannot be used before it is declared // Line: 17 @@ -50,19 +47,6 @@ }); } } - // CS0841: A local variable `v' cannot be used before it is declared -// Line: 9 - - -public class Test -{ - static void Main () - { - var v = ++v; - } -} - - // CS0841: A local variable `y' cannot be used before it is declared // Line: 8 @@ -75,6 +59,22 @@ } } + // CS0841: A local variable `x' cannot be used before it is declared +// Line: 8 +// Compiler options: -langversion:experimental + +class X +{ + public static void Main () + { + Foo (x, out var x); + } + + static void Foo (int arg, out int value) + { + value = 3; + } +} // CS0841: A local variable `y' cannot be used before it is declared // Line: 8 @@ -82,8 +82,8 @@ { public static void Main () { - const int x = y; - const int y = 1; + int x = y; + int y = 1; } } /usr/lib/monodoc/sources/cs-errors.zip/CS0844 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0844 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0844 2035-09-30 19:00:50.000000000 +0000 @@ -2,15 +2,17 @@ CS0844 - // CS0844: A local variable `y' cannot be used before it is declared. Consider renaming the local variable when it hides the member `X.y' -// Line: 8 + // CS0844: A local variable `s' cannot be used before it is declared. Consider renaming the local variable when it hides the member `C.s' +// Line: 10 -class X +class C { - static int y; - static void Main () { - y = 10; - int y = 5; + const string s = "s"; + + public void Test () + { + s = "x"; + string s = "a"; } } @@ -40,7 +42,9 @@ class C { - const string s = "s"; + string s { + set {} + } public void Test () { @@ -49,19 +53,15 @@ } } - // CS0844: A local variable `s' cannot be used before it is declared. Consider renaming the local variable when it hides the member `C.s' -// Line: 10 + // CS0844: A local variable `y' cannot be used before it is declared. Consider renaming the local variable when it hides the member `X.y' +// Line: 8 -class C +class X { - string s { - set {} - } - - public void Test () - { - s = "x"; - string s = "a"; + static int y; + static void Main () { + y = 10; + int y = 5; } } /usr/lib/monodoc/sources/cs-errors.zip/CS0847 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0847 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0847 2035-09-30 19:00:50.000000000 +0000 @@ -2,27 +2,27 @@ CS0847 - // CS0847: An array initializer of length `2' was expected + // CS0847: An array initializer of length `3' was expected // Line: 9 class M { public static void Main () { - int[,] i = { {0, 0}, - { 1 } }; + int[,,] i = { { { 0, 0, 0 }, { 1, 1, 1 } }, + { { 2 }, { 3, 3, 3 } } }; } } - // CS0847: An array initializer of length `3' was expected + // CS0847: An array initializer of length `2' was expected // Line: 9 class M { public static void Main () { - int[,,] i = { { { 0, 0, 0 }, { 1, 1, 1 } }, - { { 2 }, { 3, 3, 3 } } }; + int[,,] i = { { { 0, 0 }, { 1, 1} }, + { { 2, 2 } } }; } } @@ -33,8 +33,8 @@ { public static void Main () { - int[,,] i = { { { 0, 0 }, { 1, 1} }, - { { 2, 2 } } }; + int[,] i = { {0, 0}, + { 1 } }; } } /usr/lib/monodoc/sources/cs-errors.zip/CS0854 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS0854 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS0854 2035-09-30 19:00:50.000000000 +0000 @@ -10,13 +10,13 @@ class M { - public M (string s = "value") + static void Optional (int i, string s = "value") { } public static void Main () { - Expression<Action> e = () => new M (); + Expression<Action> e = () => Optional (1); } } @@ -28,13 +28,13 @@ class M { - static void Optional (int i, string s = "value") + public M (string s = "value") { } public static void Main () { - Expression<Action> e = () => Optional (1); + Expression<Action> e = () => new M (); } } /usr/lib/monodoc/sources/cs-errors.zip/CS1001 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1001 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1001 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,13 @@ CS1001 + // CS1001: Missing identifier to pre-processor directive +// Line: 5 + +#if false + #define +#endif + // CS1001: Unexpected symbol `)', expecting identifier // Line: 6 @@ -11,30 +18,14 @@ { } } - // CS1001: Unexpected symbol `}', expecting identifier -// Line: 6 - -public class Foo -{ - public event System.Collections.Generic.IList<int> -} // CS1001: Unexpected symbol `)', expecting identifier -// Line: 6 +// Line: 8 -class B<T> +class C { - T Foo (T) - { - } -} - - // CS1001: Unexpected symbol `)', expecting identifier -// Line: 6 - -class T { - // Change (args) to (string args) to fix it - public static int Main (args) + public static void Main () { + object o = (int) => null; } } @@ -48,21 +39,13 @@ { Options., "I am completed!" }, }; } - // CS1001: Missing identifier to pre-processor directive -// Line: 5 - -#if false - #define -#endif - // CS1001: Unexpected symbol `)', expecting identifier -// Line: 8 +// Line: 6 -class C +class B<T> { - public static void Main () + T Foo (T) { - object o = (int) => null; } } @@ -75,6 +58,23 @@ { } } + + // CS1001: Unexpected symbol `}', expecting identifier +// Line: 6 + +public class Foo +{ + public event System.Collections.Generic.IList<int> +} + // CS1001: Unexpected symbol `)', expecting identifier +// Line: 6 + +class T { + // Change (args) to (string args) to fix it + public static int Main (args) + { + } +} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1007 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1007 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1007 2035-09-30 19:00:50.000000000 +0000 @@ -2,17 +2,6 @@ CS1007 - // CS1007: Property accessor already defined -// Line: 8 - -class DoubleAccessor -{ - public bool Breaker { - set { } - set { } - } -} - // CS01007: Property accessor already defined // Line: 10 @@ -28,5 +17,16 @@ } } + // CS1007: Property accessor already defined +// Line: 8 + +class DoubleAccessor +{ + public bool Breaker { + set { } + set { } + } +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1013 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1013 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1013 2035-09-30 19:00:50.000000000 +0000 @@ -7,15 +7,15 @@ class X { - static int i = 0b; - static void Main () {} + static int i = 0x; } // CS1013: Invalid number // Line : 6 class X { - static int i = 0x; + static int i = 0b; + static void Main () {} } // CS1013: Invalid number // Line : 6 /usr/lib/monodoc/sources/cs-errors.zip/CS1021 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1021 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1021 2035-09-30 19:00:50.000000000 +0000 @@ -7,7 +7,7 @@ class X { public static void Main() { - int i = 123821738792178327198; + int h = 0xffffffffffffffffffffffffff; } } @@ -30,7 +30,7 @@ class X { public static void Main() { - int h = 0xffffffffffffffffffffffffff; + int i = 123821738792178327198; } } /usr/lib/monodoc/sources/cs-errors.zip/CS1024 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1024 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1024 2035-09-30 19:00:50.000000000 +0000 @@ -3,20 +3,6 @@ CS1024 // CS1024: Wrong preprocessor directive -// Line: 4 - -#wrong_directive - - // CS1024: Wrong preprocessor directive -// Line: 7 - -class C -{ - #region - #end\x0072egion -} - - // CS1024: Wrong preprocessor directive // Line: 12 using System; @@ -33,5 +19,19 @@ } } + // CS1024: Wrong preprocessor directive +// Line: 7 + +class C +{ + #region + #end\x0072egion +} + + // CS1024: Wrong preprocessor directive +// Line: 4 + +#wrong_directive + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1025 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1025 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1025 2035-09-30 19:00:50.000000000 +0000 @@ -2,11 +2,22 @@ CS1025 + // CS1025: Single-line comment or end-of-line expected +// Line: 6 + +#if DEBUG +// ... +#endif DEBUG + // CS1525: Single-line comment or end-of-line expected +// Line: 4 + +#line 100 "a" default + // CS1025 : Single-line comment or end-of-line expected // Line: 6 #if RELEASE -#else DEBUG +#elif DEBUG DEBUG #endif // CS1025: Single-line comment or end-of-line expected // Line: 4 @@ -16,25 +27,14 @@ // CS1025 : Single-line comment or end-of-line expected // Line: 6 -#if DEBUG DEBUG -// ... -#endif - // CS1025 : Single-line comment or end-of-line expected -// Line: 6 - #if RELEASE -#elif DEBUG DEBUG +#else DEBUG #endif - // CS1525: Single-line comment or end-of-line expected -// Line: 4 - -#line 100 "a" default - - // CS1025: Single-line comment or end-of-line expected + // CS1025 : Single-line comment or end-of-line expected // Line: 6 -#if DEBUG +#if DEBUG DEBUG // ... -#endif DEBUG +#endif \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1031 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1031 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1031 2035-09-30 19:00:50.000000000 +0000 @@ -3,6 +3,32 @@ CS1031 // CS1031: Type expected +// Line: 4 + +enum E : this +{ + a = 1 +} + + // CS1031: Type expected +// Line: 16 + +public class B<Y> where Y: B<Y> +{ +} + +public class A<X>: B<A<X>> +{ +} + +public class Repro +{ + public static void Main (string[] args) + { + var h = typeof (B<A<>>); + } +} + // CS1031: Type expected // Line: 8 using System; @@ -30,31 +56,5 @@ } - // CS1031: Type expected -// Line: 4 - -enum E : this -{ - a = 1 -} - - // CS1031: Type expected -// Line: 16 - -public class B<Y> where Y: B<Y> -{ -} - -public class A<X>: B<A<X>> -{ -} - -public class Repro -{ - public static void Main (string[] args) - { - var h = typeof (B<A<>>); - } -} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1038 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1038 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1038 2035-09-30 19:00:50.000000000 +0000 @@ -6,12 +6,12 @@ // Line: 5 #region -#endif + // CS1038: #endregion directive expected // Line: 5 #region - +#endif // CS1038: #endregion directive expected // Line: 5 /usr/lib/monodoc/sources/cs-errors.zip/CS1056 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1056 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1056 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,17 @@ CS1056 + // CS1056: Unexpected character `$' +// Line: 8 + +public class C +{ + void Update () + { + int a = $7; + } +} + // CS1056: Unexpected character `\0001' // Line: 4 @@ -14,16 +25,5 @@ \u0001namespace Test { } - // CS1056: Unexpected character `$' -// Line: 8 - -public class C -{ - void Update () - { - int a = $7; - } -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1057 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1057 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1057 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,15 @@ CS1057 + // CS1057: `B._a': Static classes cannot contain protected members +// Line: 6 + +public static class B +{ + protected static object _a = null; + +} + // CS1057: `B.E': Static classes cannot contain protected members // Line: 6 @@ -21,14 +30,5 @@ } } - // CS1057: `B._a': Static classes cannot contain protected members -// Line: 6 - -public static class B -{ - protected static object _a = null; - -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1059 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1059 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1059 2035-09-30 19:00:50.000000000 +0000 @@ -3,6 +3,17 @@ CS1059 // CS1059: The operand of an increment or decrement operator must be a variable, property or indexer +// Line: 9 + +static class C +{ + static void Foo() + { + const int uu = 1; + uu++; + } +} + // CS1059: The operand of an increment or decrement operator must be a variable, property or indexer // Line: 11 using System; @@ -27,16 +38,5 @@ } } - // CS1059: The operand of an increment or decrement operator must be a variable, property or indexer -// Line: 9 - -static class C -{ - static void Foo() - { - const int uu = 1; - uu++; - } -} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1060 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1060 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1060 2035-09-30 19:00:50.000000000 +0000 @@ -2,8 +2,8 @@ CS1060 - // CS1060: Use of possibly unassigned field `c' -// Line: 19 + // CS1060: Use of possibly unassigned field `x' +// Line: 30 // Compiler options: -warnaserror public class C @@ -16,17 +16,27 @@ public C c; } +class X +{ + public S s; +} + +struct S2 +{ + public X x; +} + public class Test { static void Main () { - S s; - s.c.v = 5; + S2 s2; + s2.x.s.c.v = 5; } } - // CS1060: Use of possibly unassigned field `x' -// Line: 30 + // CS1060: Use of possibly unassigned field `c' +// Line: 25 // Compiler options: -warnaserror public class C @@ -34,27 +44,22 @@ public int v; } -public struct S +public struct S2 { public C c; } -class X -{ - public S s; -} - -struct S2 +public struct S { - public X x; + public S2 s2; } public class Test { static void Main () { - S2 s2; - s2.x.s.c.v = 5; + S s; + s.s2.c.v = 9; } } @@ -89,7 +94,7 @@ } // CS1060: Use of possibly unassigned field `c' -// Line: 25 +// Line: 19 // Compiler options: -warnaserror public class C @@ -97,14 +102,9 @@ public int v; } -public struct S2 -{ - public C c; -} - public struct S { - public S2 s2; + public C c; } public class Test @@ -112,7 +112,7 @@ static void Main () { S s; - s.s2.c.v = 9; + s.c.v = 5; } } /usr/lib/monodoc/sources/cs-errors.zip/CS1061 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1061 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1061 2035-09-30 19:00:50.000000000 +0000 @@ -2,51 +2,17 @@ CS1061 - // CS1061: Type `A' does not contain a definition for `Foo' and no extension method `Foo' of type `A' could be found. Are you missing an assembly reference? -// Line: 17 + // CS1061: Type `T' does not contain a definition for `Name' and no extension method `Name' of type `T' could be found. Are you missing an assembly reference? +// Line: 11 using System; -using System.Runtime.CompilerServices; - -class A -{ - [IndexerName ("Foo")] - public int this [int index] { - get { return index; } - set { ; } - } - - static void Test (A a, int value) - { - a.Foo = value; - } - - public static void Main () - { - Test (new A (), 9); - } -} - - // CS1061: Type `U2' does not contain a definition for `Test' and no extension method `Test' of type `U2' could be found. Are you missing an assembly reference? -// Line: 20 - -interface I<T> -{ - void Foo<U> (U u) where U : T; -} - -struct S -{ - public void Test () - { - } -} +using System.Collections.Generic; -class Test : I<S> +public class C<T, U> { - void I<S>.Foo<U2> (U2 u2) + public C (IEnumerable<T> t) { - u2.Test (); + new List<T>(t).ConvertAll(p => p.Name); } } @@ -74,69 +40,42 @@ } } - // CS1061: Type `string' does not contain a definition for `Where' and no extension method `Where' of type `string' could be found. Are you missing `System.Linq' using directive? -// Line: 8 - -public class M -{ - public static void Main () - { - var a = "ababab".Where (l => l == 'b'); - } -} - // CS1061: Type `int' does not contain a definition for `__0' and no extension method `__0' of type `int' could be found. Are you missing an assembly reference? -// Line: 8 - -static class C -{ - static void Main () - { - int c = 0.__0; - } -} - // CS1061: Type `int' does not contain a definition for `Foo' and no extension method `Foo' of type `int' could be found. Are you missing an assembly reference? -// Line: 9 - + // CS1061: Type `int' does not contain a definition for `Value' and no extension method `Value' of type `int' could be found. Are you missing an assembly reference? +// Line: 24 -public class M -{ - public static void Main () - { - 1.Foo ("foo"); - } -} - - // CS1061: Type `object' does not contain a definition for `Test' and no extension method `Test' of type `object' could be found. Are you missing an assembly reference? -// Line: 17 +using System; +using System.Collections.Generic; +using System.Linq; -public class S +namespace Test { - public static void Test() + static class Ex { + public static IEnumerable<TR> Foo<T, TR> (this IEnumerable<T> t, Func<T, TR> f) + { + return null; + } } -} -public class M -{ - public object S { get; set; } - - public void Main () + public class C { - S.Test (); + public static void Main () + { + int[] i = null; + int p; + var prods = from pe in i.Foo (p9 => p.Value) select pe; + } } } - // CS1061: Type `T' does not contain a definition for `Name' and no extension method `Name' of type `T' could be found. Are you missing an assembly reference? -// Line: 11 - -using System; -using System.Collections.Generic; + // CS1061: Type `int' does not contain a definition for `E' and no extension method `E' of type `int' could be found. Are you missing an assembly reference? +// Line: 7 -public class C<T, U> -{ - public C (IEnumerable<T> t) +class T { + public static int Main (string [] args ) { - new List<T>(t).ConvertAll(p => p.Name); + int x = 1.E; + return 0; } } @@ -157,19 +96,15 @@ { } } - // CS1061: Type `object' does not contain a definition for `Foo' and no extension method `Foo' of type `object' could be found. Are you missing an assembly reference? -// Line: 12 + // CS1061: Type `int' does not contain a definition for `Foo' and no extension method `Foo' of type `int' could be found. Are you missing an assembly reference? +// Line: 9 -using System.Collections.Generic; -public class C +public class M { - void M (IEnumerable<KeyValuePair<string, dynamic>> arg) + public static void Main () { - foreach (KeyValuePair<string, object> o in arg) - { - o.Value.Foo (); - } + 1.Foo ("foo"); } } @@ -189,30 +124,24 @@ } } - // CS1061: Type `int' does not contain a definition for `C' and no extension method `C' of type `int' could be found. Are you missing an assembly reference? -// Line: 12 - -using System; + // CS1061: Type `string' does not contain a definition for `Where' and no extension method `Where' of type `string' could be found. Are you missing `System.Linq' using directive? +// Line: 8 -namespace TestEnum +public class M { - public enum E + public static void Main () { - A = 0, - B = 1. - C = 2 + var a = "ababab".Where (l => l == 'b'); /usr/lib/monodoc/sources/cs-errors.zip/CS1066 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1066 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1066 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,18 @@ CS1066 + // CS1066: The default value specified for optional parameter `i' will never be used +// Line: 7 +// Compiler options: -warnaserror + +class C +{ + public static implicit operator C (int i = 8) + { + return null; + } +} + // CS1066: The default value specified for optional parameter `s' will never be used // Line: 9 // Compiler options: -warnaserror @@ -42,17 +54,5 @@ } } - // CS1066: The default value specified for optional parameter `i' will never be used -// Line: 7 -// Compiler options: -warnaserror - -class C -{ - public static implicit operator C (int i = 8) - { - return null; - } -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1070 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1070 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1070 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,18 @@ CS1070 + // CS1070: The type `N.E' has been forwarded to an assembly that is not referenced. Consider adding a reference to assembly `CS1070-lib-missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' +// Line: 9 +// Compiler options: -r:CS1070-lib.dll + +using N; + +public class D +{ + public void Foo (E e) + { + } +} // CS1070: The type `C' has been forwarded to an assembly that is not referenced. Consider adding a reference to assembly `CS1070-lib-missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' // Line: 5 // Compiler options: -r:CS1070-lib.dll @@ -20,17 +32,5 @@ public class D : C { } - // CS1070: The type `N.E' has been forwarded to an assembly that is not referenced. Consider adding a reference to assembly `CS1070-lib-missing, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' -// Line: 9 -// Compiler options: -r:CS1070-lib.dll - -using N; - -public class D -{ - public void Foo (E e) - { - } -} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1103 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1103 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1103 2035-09-30 19:00:50.000000000 +0000 @@ -2,23 +2,23 @@ CS1103 - // CS1103: The extension method cannot be of type `int*' -// Line: 7 -// Compiler options: -unsafe + // CS1103: The extension method cannot be of type `dynamic' +// Line: 6 static class S { - unsafe static void Foo (this int* iptr) + static void Foo (this dynamic d) { } } - // CS1103: The extension method cannot be of type `dynamic' -// Line: 6 + // CS1103: The extension method cannot be of type `int*' +// Line: 7 +// Compiler options: -unsafe static class S { - static void Foo (this dynamic d) + unsafe static void Foo (this int* iptr) { } } /usr/lib/monodoc/sources/cs-errors.zip/CS1107 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1107 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1107 2035-09-30 19:00:50.000000000 +0000 @@ -2,21 +2,21 @@ CS1107 - // CS1107: Duplicate parameter modifier `params' + // CS1107: Duplicate parameter modifier `ref' // Line: 6 static class S { - static void Foo (params params ulong[] u) + static void Foo (ref ref ulong u) { } } - // CS1107: Duplicate parameter modifier `ref' + // CS1107: Duplicate parameter modifier `params' // Line: 6 static class S { - static void Foo (ref ref ulong u) + static void Foo (params params ulong[] u) { } } /usr/lib/monodoc/sources/cs-errors.zip/CS1501 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1501 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1501 2035-09-30 19:00:50.000000000 +0000 @@ -17,39 +17,59 @@ } } - // CS1501: No overload for method `Foo' takes `2' arguments -// Line: 17 - + // CS1501: No overload for method `Call' takes `0' arguments +// Line: 8 -static class Extensions +class A<T> where T : CB, IA { - public static string Foo (this string s) + void Foo (T t) { - return s; + t.Call (); } } -public class M +class CB : CA { - public static void Main () +} + +class CA +{ + public void Call (int arg) { - 1.Foo ("foo"); } } + +interface IA +{ + void Call (bool arg, int arg2); +} - // CS1501: No overload for method `this' takes `1' arguments -// Line: 13 + // CS1501: No overload for method `Foo' takes `1' arguments +// Line: 12 -public class Blah +public class Test { - int this [short id, string v] { - set {} + static void Foo (int a, int b = 1, int c = 2) + { } - - public void Test () + + public static void Main () { - dynamic d = 1; - this [d] = 1; + Foo (c : -1); + } +} + + + // CS1501: No overload for method `this' takes `2' arguments +// Line : 10 + +class C +{ + public bool this [int i] { get { return false; } set {} } + + void Foo () + { C c = new C (); + c [0, 0] = null; } } @@ -67,83 +87,80 @@ Block (variables: null, expressions: null); } } - // CS1501: No overload for method `Foo' takes `0' arguments -// Line: 12 + // CS1501: No overload for method `Bar' takes `2' arguments +// Line: 19 -class C +using System; + +class T { - static void Foo (string foo, params object [] moreFoo) - { - } + void Foo (int arg, Action a) + { + } - static void Main () - { - Foo (); - } + void Foo (string title, Action a) + { + } + + void Bar () + { + Foo (arg: 1, a: () => { + Bar ("a", "b"); + }); + } } - // CS1501: No overload for method `this' takes `2' arguments -// Line : 10 + // CS1501: No overload for method `this' takes `1' arguments +// Line: 13 -class C +public class Blah { - public bool this [int i] { get { return false; } set {} } - - void Foo () - { C c = new C (); - c [0, 0] = null; + int this [short id, string v] { + set {} } -} - - // CS1501: No overload for method `Foo' takes `0' arguments -// Line: 20 -class A -{ - protected virtual void Foo (object[] arr) + public void Test () { + dynamic d = 1; + this [d] = 1; } } + + // CS1501: No overload for method `Test' takes `2' arguments +// Line: 16 -class B : A +static class S { - protected override void Foo (params object[] arr) + public static int Test (this int value) { + return value; } +} - static void Bar() +class M +{ + public static void Main () { - B b = new B (); - b.Foo (); + 1.Test (value: 1); } } - // CS1501: No overload for method `Select' takes `1' arguments + // CS1501: No overload for method `Foo' takes `2' arguments // Line: 17 -using System; - -class TestA +static class Extensions { - public string value; - - public TestA (string value) - { - this.value = value; - } - - public string Select (int i, Func<TestA, TestA> f) + public static string Foo (this string s) { - return value; + return s; } } public class M { - static void Main () + public static void Main () /usr/lib/monodoc/sources/cs-errors.zip/CS1502 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1502 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1502 2035-09-30 19:00:50.000000000 +0000 @@ -2,102 +2,6 @@ CS1502 - // CS1502: The best overloaded method match for `X.foo(ref int)' has some invalid arguments -// Line: 8 -class X { - public void foo (ref int blah) {} - - public void bar (ref int baz) - { - foo(out baz); - } - - static void Main () - { - } -} - - // CS1502: The best overloaded method match for `Foo.Test(int, string)' has some invalid arguments -// Line: 14 - -using System.Runtime.CompilerServices; - -public class Foo -{ - public void Test (int arg, [CallerMemberName] string s = null) - { - } - - void X () - { - Test (""); - } -} - // CS1502: The best overloaded method match for `T.Blah(out int)' has some invalid arguments -// Line: 11 - -using System; - -class T { - static void Blah (out int g) { g = 0; } - - static int Main (string [] args) { - IntPtr g; - Blah (out g); - return (int) g; - } -} - - // CS1502: The best overloaded method match for `C.Foo(dynamic)' has some invalid arguments -// Line: 13 - -static class C -{ - public static void Foo (dynamic d) - { - } - - static void Main() - { - dynamic d = null; - Foo (ref d); - } -} - - // CS1502: The best overloaded method match for `C.TestCall(int, string)' has some invalid arguments -// Line: 13 - -class C -{ - static void TestCall (int i, string s) - { - } - - public static void Main () - { - dynamic d = 0; - TestCall (d, 1); - } -} - - // CS1502: The best overloaded method match for `C.Test_C(System.Type, params int[])' has some invalid arguments -// Line: 10 - -using System; - -public class C -{ - public static int Main () - { - return Test_C (typeof (C), null, null); - } - - static int Test_C (Type t, params int[] a) - { - return 1; - } -} - // CS1502: The best overloaded method match for `A.A(System.Collections.Generic.IList<int>[])' has some invalid arguments // Line: 40 using System; @@ -142,32 +46,28 @@ } } - // CS1502: The best overloaded method match for `foo.p(string, object, object)' has some invalid arguments -// Line: 24 - + // CS1502: The best overloaded method match for `System.Console.WriteLine(bool)' has some invalid arguments +// Line: 10 using System; -public class foo +public class MainClass { - static int intval = 3; - - public static void voidfunc() - { - } - - static void p (string s, object o1, object o2) - { - } - - static void p (string s, params object[] o) - { + public static void Main() + { + test MyBug = new test(); + Console.WriteLine (MyBug.mytest()); } +} - public static void Main() - { - p ("Whoops: {0} {1}", intval, voidfunc()); +public class test +{ + public void mytest() + { + Console.WriteLine("test"); } } + + // CS1502: The best overloaded method match for `X.M(string)' has some invalid arguments // Line: 23 @@ -215,50 +115,22 @@ } } - // CS1502: The best overloaded method match for `Test.Test(TestMethod2)' has some invalid arguments -// Line: 8 + // CS1502: The best overloaded method match for `Foo.Test(int, string)' has some invalid arguments +// Line: 14 -public class Test +using System.Runtime.CompilerServices; + +public class Foo { - void Foo () + public void Test (int arg, [CallerMemberName] string s = null) { - new Test (new TestMethod (Foo)); } - public Test (TestMethod2 test) {} -} - -public delegate void TestMethod (); -public delegate void TestMethod2 (object o); - // CS1502: The best overloaded method match for `TestCase.TestS(ref object)' has some invalid arguments -// Line: 21 - -using System; - -public struct Struct { - public int x, y, z; -} - -public class TestCase { - - public static void Main() { - - Struct s = new Struct(); - - s.x = 1; - s.y = 2; - - System.Console.WriteLine("{0} {1} {2}", s.x, s.y, s.z); - - TestS(ref s); - } /usr/lib/monodoc/sources/cs-errors.zip/CS1503 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1503 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1503 2035-09-30 19:00:50.000000000 +0000 @@ -2,35 +2,73 @@ CS1503 - // CS1503: Argument `#1' cannot convert `bool' expression to type `int[]' -// Line: 13 + // CS1503: Argument `#1' cannot convert `int' expression to type `bool' +// Line: 15 -public class X +class A { - public static void Test (params int[] a) + public static void Foo (bool test) { } +} +class B +{ public static void Main() { - int i; - Test (true); + A.Foo (1); } } - // CS1503: Argument `#1' cannot convert `bool' expression to type `int[]' -// Line: 13 + // CS1503: Argument `#1' cannot convert `bool' expression to type `int' +// Line: 12 -public class X +public class C { - public static void Test (params int[] a) + static void Foo<T>(T t) + { + } + + public static void Main () + { + Foo<int> (true); + } +} + + // CS1503: Argument `#1' cannot convert `out A' expression to type `out B' +// Line: 17 + +class A { } +class B : A { } + +class Test +{ + static void Foo (out B b) + { + b = new B (); + } + + static void Main () + { + A a; + Foo (out a); + } +} + + // CS1503: Argument `#5' cannot convert `void' expression to type `object' +// Line: 14 + +using System; + +public class foo +{ + public static void voidfunc() { } public static void Main() { - int i; - Test (true); + Console.WriteLine ("Whoops: {0} {1}", 0, 1, 2, voidfunc()); } } @@ -59,76 +97,27 @@ Test (a_2, b_2); } } - // CS1503: Argument `#1' cannot convert `System.RuntimeArgumentHandle' expression to type `__arglist' -// Line: 10 - -using System; - -class C -{ - void Foo (__arglist) - { - InstanceArgList (__arglist); - } - - int InstanceArgList (__arglist) - { - return 54; - } -} - - // CS1503: Argument `#1' cannot convert `method group' expression to type `IInterface' -// Line: 15 - -public delegate void Del (); - -public interface IInterface -{ - void Do (); -} + // CS1503: Argument `#1' cannot convert `long' expression to type `ulong' +// Line: 17 -public static class Test +class A { - public static void Do (IInterface val) - { - Do (val.Do); + public static long Prop { + get { + return 1; + } } } - - // CS1503: Argument `#1' cannot convert `out A' expression to type `out B' -// Line: 17 - -class A { } -class B : A { } class Test { - static void Foo (out B b) - { - b = new B (); - } - static void Main () { - A a; - Foo (out a); - } -} - - // CS1503: Argument `#1' cannot convert `__arglist' expression to type `object' -// Line: 14 - -using System; - -class Program -{ - static void Foo (object o) - { + Foo (A.Prop); } - - static void Main () + + static void Foo (ulong l) { - Foo (__arglist (null)); } } @@ -164,150 +153,142 @@ } } - // CS1503: Argument `#2' cannot convert `method group' expression to type `System.Collections.Generic.Comparer<int>' -// Line: 20 - -using System; -using System.Collections.Generic; + // CS1503: Argument `#1' cannot convert `int[]' expression to type `int' +// Line: 12 -public class C +class C { - static void Foo<T>(T t, Comparer<T> tc) - { - } - - static int Compare (int a, int b) + static void Foo (params int[] i) { - return -1; } /usr/lib/monodoc/sources/cs-errors.zip/CS1510 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1510 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1510 2035-09-30 19:00:50.000000000 +0000 @@ -3,32 +3,18 @@ CS1510 // CS1510: A ref or out argument must be an assignable variable -// Line: 13 +// Line: 9 -class M +class C { - static void Test (ref byte b) - { - } - public static void Main () { - byte b = 1; - Test (ref (byte) b); - } -} - - // CS1510: A ref or out argument must be an assignable variable -// Line: 11 -class X { - public static void m (ref int i) - { - i++; + const char c = 'a'; + Foo (ref c); } - static void Main () + static void Foo(ref char i) { - m (ref 4); } } @@ -49,6 +35,20 @@ } } // CS1510: A ref or out argument must be an assignable variable +// Line: 11 +class X { + public static void m (ref int i) + { + i++; + } + + static void Main () + { + m (ref 4); + } +} + + // CS1510: A ref or out argument must be an assignable variable // Line: 19 // this is bug #70402 @@ -71,18 +71,18 @@ } // CS1510: A ref or out argument must be an assignable variable -// Line: 9 +// Line: 13 -class C +class M { - public static void Main () + static void Test (ref byte b) { - const char c = 'a'; - Foo (ref c); } - - static void Foo(ref char i) + + public static void Main () { + byte b = 1; + Test (ref (byte) b); } } /usr/lib/monodoc/sources/cs-errors.zip/CS1512 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1512 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1512 2035-09-30 19:00:50.000000000 +0000 @@ -5,6 +5,19 @@ // CS1512: Keyword `base' is not available in the current context // Line: 11 +class Base +{ + private string B () { return "a"; } +} + +class E +{ + private string B = base.B (); +} + + // CS1512: Keyword `base' is not available in the current context +// Line: 11 + struct S { delegate int D (); @@ -17,18 +30,5 @@ } } - // CS1512: Keyword `base' is not available in the current context -// Line: 11 - -class Base -{ - private string B () { return "a"; } -} - -class E -{ - private string B = base.B (); -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1517 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1517 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1517 2035-09-30 19:00:50.000000000 +0000 @@ -3,19 +3,19 @@ CS1517 // CS1517: Invalid preprocessor directive -// Line: 5 +// Line: 4 -#if false -#if TEST == -#endif +#if 8 #endif + // CS1517: Invalid preprocessor directive -// Line: 4 +// Line: 5 -#if 8 +#if false +#if TEST == +#endif #endif - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1519 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1519 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1519 2035-09-30 19:00:50.000000000 +0000 @@ -2,16 +2,6 @@ CS1519 - // CS1519: Unexpected symbol `;' in class, struct, or interface member declaration -// Line: 8 - -class C -{ - public static void Main () - { - }; -} - // CS1519: Unexpected symbol `using' in class, struct, or interface member declaration // Line: 5 @@ -26,12 +16,6 @@ unchecked const decimal d = 79m; } - // CS1519: Unexpected symbol `extern' in class, struct, or interface member declaration -// Line: 5 - -public class Test {} -extern alias Hey; - // CS1519: Unexpected symbol `}' in class, struct, or interface member declaration // Line: 7 @@ -39,5 +23,21 @@ { public f } + // CS1519: Unexpected symbol `;' in class, struct, or interface member declaration +// Line: 8 + +class C +{ + public static void Main () + { + }; +} + + // CS1519: Unexpected symbol `extern' in class, struct, or interface member declaration +// Line: 5 + +public class Test {} +extern alias Hey; + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1521 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1521 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1521 2035-09-30 19:00:50.000000000 +0000 @@ -2,14 +2,21 @@ CS1521 - // CS1521: Invalid base type `C?' + // CS1521: Invalid base type `object[]' +// Line: 4 + +class C2: object[] +{ +} + + // CS1521: Invalid base type `C[]' // Line: 8 -struct C +class C { } -class C2: C? +class C2: C[] { } @@ -26,24 +33,17 @@ { } - // CS1521: Invalid base type `C[]' + // CS1521: Invalid base type `C?' // Line: 8 -class C +struct C { } -class C2: C[] +class C2: C? { } - // CS1521: Invalid base type `object[]' -// Line: 4 - -class C2: object[] -{ -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1525 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1525 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1525 2035-09-30 19:00:50.000000000 +0000 @@ -2,186 +2,220 @@ CS1525 - // CS1525: Unexpected symbol `)' -// Line: 12 + // CS1525: Unexpected symbol `super', expecting `base' or `this' +// Line: 7 -class Test +class Bar { - static void Foo (int a, bool b) - { - } - - static void Main () + Bar(int a) + :super() { - Foo (1, ); } } - // CS1525: Unexpected symbol `ref' + // CS1525: Unexpected symbol `}' // Line: 8 -public class Test +class MainClass { - static void Main () + public string Test () { - string ref = "abc"; + return true ? "Hello" : } } - // CS1525: Unexpected symbol `=', expecting `.' or `[' + // CS1525: Unexpected symbol `this', expecting `(', `[', `{', or `type' // Line: 8 -class DerivedClass +class M { - public DerivedClass () - { - base = null; - } + public static void Main () + { + p = new this; + } } - // CS1525: Unexpected symbol `)' -// Line: 6 + // CS1525: Unexpected symbol `}', expecting `by' +// Line: 10 -class TestClass +class C { - TestClass ([attr]) + public static void Main () + { + var somelist = new List<object>(); + var query = from item in somelist + group a + } +} + // CS1525: Unexpected symbol `public', expecting `:', `;', `{', or `=>' +// Line: 5 + +class TorrentEditor { + TorrentEditor () + + public TorrentEditor () { } } - // CS1525: Unexpected symbol `text' + // CS1525: Unexpected symbol `string', expecting `,' or `]' +// Line: 5 + +public class TestApp { + static void Main ([MarshalAs (UnmanagedType.LPStr) string[] args) + { + } +} + // CS1525: Unexpected symbol `[', expecting `{' // Line: 8 -class MainClass +class Test { - static void Main () - { - System.Console.WriteLine((true ? "" : "") "text"); - } + static void Main () + { + var a = new [][] { }; + } } + + // CS1525: Unexpected symbol `Foo' +// Line: 4 +Foo + tag = 0; +Bar + tag = 1; - // CS1523: Unexpected symbol `~' -// Line: 9 + // CS1525: Unexpected symbol `}' +// Line: 10 -class D { - static int a = 1; - static int b = 2; - static int Main () - { - return (a << 1) ~ (b); - } -} +namespace TestProject +{ + class MainClass + { + public static void Main () + { + for (int i = 0; + } + } +} - // CS1525: Unexpected symbol `}', expecting `in' + // CS1525: Unexpected symbol `3' // Line: 8 -class C +public class X { public static void Main () { - foreach (var a + v * 3; } } - // CS1525: Unexpected symbol `out' + // CS1525: Unexpected symbol `)', expecting `(', `,', `.', or `]' // Line: 8 -public class Test +namespace CompilerCrashWithAttributes { - public static void Main () + public class Main { - object[] x = new object[] { 0, out i}; + [MyAttribute1, MyAttribute1)] + public Main () + { + } } -} - - // CS1525: Unexpected symbol `returnValue' -// Line: 11 -public class C -{ - public void Foo () + public class MyAttribute1 : Attribute { - string returnValue = null; - - returnValue += (1+3) - returnValue += (""); } +} + // CS1525: Unexpected symbol `fe', expecting `class', `delegate', `enum', `interface', `partial', `ref', or `struct' +// Line: 6 + +namespace X +{ + sealed fe {} } - // CS1525: Unexpected symbol `end-of-file' -// Line: 7 - /usr/lib/monodoc/sources/cs-errors.zip/CS1527 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1527 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1527 2035-09-30 19:00:50.000000000 +0000 @@ -11,13 +11,13 @@ // CS1527: Namespace elements cannot be explicitly declared as private, protected, protected internal, or private protected // Line: 4 -protected internal enum E { +protected interface IFoo { } // CS1527: Namespace elements cannot be explicitly declared as private, protected, protected internal, or private protected // Line: 4 -protected interface IFoo { +protected internal enum E { } /usr/lib/monodoc/sources/cs-errors.zip/CS1530 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1530 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1530 2035-09-30 19:00:50.000000000 +0000 @@ -5,14 +5,6 @@ // CS1530: Keyword `new' is not allowed on namespace elements // Line: 8 -new enum E -{ -} - - - // CS1530: Keyword `new' is not allowed on namespace elements -// Line: 8 - class Base { } @@ -29,5 +21,13 @@ } } + // CS1530: Keyword `new' is not allowed on namespace elements +// Line: 8 + +new enum E +{ +} + + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1537 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1537 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1537 2035-09-30 19:00:50.000000000 +0000 @@ -3,10 +3,11 @@ CS1537 // CS1537: The using alias `A' appeared previously in this namespace -// Line: 7 +// Line: 6 +// Compiler options: -r:CSExternAlias-lib.dll -using A = System; -using A = System; +extern alias A; +extern alias A; // CS1537: The using alias `A' appeared previously in this namespace @@ -18,11 +19,10 @@ // CS1537: The using alias `A' appeared previously in this namespace -// Line: 6 -// Compiler options: -r:CSExternAlias-lib.dll +// Line: 7 -extern alias A; -extern alias A; +using A = System; +using A = System; /usr/lib/monodoc/sources/cs-errors.zip/CS1540 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1540 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1540 2035-09-30 19:00:50.000000000 +0000 @@ -2,108 +2,6 @@ CS1540 - // CS1540: Cannot access protected member `Parent.Foo()' via a qualifier of type `T'. The qualifier must be of type `Child<T>' or derived from it -// Line: 9 -// Compiler options: -r:CS1540-15-lib.dll - -public class Child<T> : Parent where T : Parent -{ - public void Bar (T p) - { - p.Foo (); - } -} - - // CS1540: Cannot access protected member `A.n' via a qualifier of type `A'. The qualifier must be of type `B' or derived from it -// Line: 14 - -class A -{ - protected int n; -} - -class B : A -{ - public static void Main () - { - A b = new A (); - b.n = 1; - } -} - - // CS1540: Cannot access protected member `Parent.Foo()' via a qualifier of type `Parent'. The qualifier must be of type `Child' or derived from it -// Line: 8 -// Compiler options: -r:CS1540-15-lib.dll - -public class Child : Parent -{ - public void Bar (Parent p) - { - p.Foo (); - } -} - - // CS1540: Cannot access protected member `A.Test(int)' via a qualifier of type `B'. The qualifier must be of type `C' or derived from it -// Line: 28 -using System; - -public abstract class A -{ - protected virtual void Test (int a) - { } - - public void Test () - { } -} - -public class B : A -{ - protected override void Test (int a) - { - base.Test (a); - } -} - -public class C : A -{ - private B B; - - protected override void Test (int a) - { - B.Test (a); - base.Test (a); - } -} - -class X -{ - static void Main () - { } -} - - // CS1540: Cannot access protected member `A.X()' via a qualifier of type `B'. The qualifier must be of type `C' or derived from it -// Line: 21 - -class A -{ - protected virtual void X () - { - } -} - -class B : A -{ -} - -class C : A -{ - static B b = new B (); - - static void M () - { - b.X (); - } -} // CS1540: Cannot access protected member `AAttribute.AAttribute(int)' via a qualifier of type `AAttribute'. The qualifier must be of type `BAttribute' or derived from it // Line: 17 @@ -132,72 +30,55 @@ } } - // CS1540: Cannot access protected member `A.n' via a qualifier of type `B'. The qualifier must be of type `C' or derived from it -// Line: 19 + // CS1540: Cannot access protected member `A.del' via a qualifier of type `A'. The qualifier must be of type `B' or derived from it +// Line: 16 -class A -{ - protected int n; -} - -class B : A -{ -} - -class C : A -{ - static B b = new B (); - - static void Main () - { - b.n = 1; - } -} - - // CS1540: Cannot access protected member `A.n()' via a qualifier of type `A'. The qualifier must be of type `B' or derived from it -// Line: 14 +delegate int D (); class A { - protected void n () { } + protected D del; } class B : A { - public static void Main () + public static void Main () { A b = new A (); - b.n (); + var v = b.del (); } } + + // CS1540: Cannot access protected member `A.A(A)' via a qualifier of type `A'. The qualifier must be of type `B' or derived from it +// Line: 25 +public class A { + public A () + { + } + protected A (A a) + { + } +} +public class B : A { + public B () : base () + { + } + + public B (A a) : base (a) + { + } + + public A MyA { + get { + A a = new A (this); + return a; + } + } +} - // CS1540: Cannot access protected member `Test.A.Property' via a qualifier of type `Test.A'. The qualifier must be of type `Test.B.C' or derived from it -// Line: 19 - -namespace Test -{ - public class A - { - protected int Property { - get { return 0; } - } /usr/lib/monodoc/sources/cs-errors.zip/CS1547 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1547 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1547 2035-09-30 19:00:50.000000000 +0000 @@ -3,26 +3,45 @@ CS1547 // CS1547: Keyword `void' cannot be used in this context -// Line: 8 +// Line: 6 + +class C { + object o = new void(); +} + // CS1547: Keyword `void' cannot be used in this context +// Line: 10 +class Foo<T> +{ } class X { static void Main () { - object o = default(void); + Foo<void> foo; } } // CS1547: Keyword `void' cannot be used in this context +// Line: 5 + +class C { + public const void val = null; +} + // CS1547: Keyword `void' cannot be used in this context // Line: 6 +class C { + const string s = "3"; + public object o = (void)s; +} + // CS1547: Keyword `void' cannot be used in this context +// Line: 8 + class C { - int Foo () + static void Main () { - foreach (void v in this) - { - } + bool b = 1 is void; } } // CS1547: Keyword `void' cannot be used in this context @@ -34,29 +53,25 @@ } // CS1547: Keyword `void' cannot be used in this context -// Line: 11 +// Line: 8 -namespace OtherTest + +class X { - public static class Program + static void Main () { - static void MainD (object p) - { - if (p is String) - (void)((string) p).ToString (); - } + var e = from void v in new int [] { 0 } select i; } } // CS1547: Keyword `void' cannot be used in this context -// Line: 7 -using System; +// Line: 8 class X { static void Main () { - void a; + object o = default(void); } } @@ -69,70 +84,55 @@ } } // CS1547: Keyword `void' cannot be used in this context -// Line: 8 - -class C -{ - static void Main () - { - bool b = 1 is void; - } -} - // CS1547: Keyword `void' cannot be used in this context -// Line: 5 - -class C { - public const void val = null; -} - // CS1547: Keyword `void' cannot be used in this context -// Line: 8 - +// Line: 7 +using System; class X { static void Main () { - var e = from void v in new int [] { 0 } select i; + void a; } } // CS1547: Keyword `void' cannot be used in this context -// Line: 10 -class Foo<T> -{ } +// Line: 9 +using System; class X { static void Main () { - Foo<void> foo; + void[] a; } } // CS1547: Keyword `void' cannot be used in this context // Line: 6 -class C { - object o = new void(); +class C +{ + int Foo () + { + foreach (void v in this) + { + } + } } // CS1547: Keyword `void' cannot be used in this context -// Line: 9 -using System; +// Line: 11 -class X +namespace OtherTest { - static void Main () + public static class Program { - void[] a; + static void MainD (object p) + { + if (p is String) + (void)((string) p).ToString (); + } } } - // CS1547: Keyword `void' cannot be used in this context -// Line: 6 - -class C { - const string s = "3"; - public object o = (void)s; -} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1548 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1548 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1548 2035-09-30 19:00:50.000000000 +0000 @@ -2,12 +2,12 @@ CS1548 - // CS1548: Error during assembly signing. The specified key file `file_not_found.snk' does not exist + // CS1548: Error during assembly signing. The specified key file `cs1548-2.cs' has incorrect format // Line: 0 using System.Reflection; -[assembly: AssemblyKeyFile ("file_not_found.snk")] +[assembly: AssemblyKeyFile ("cs1548-2.cs")] class MyClass { @@ -16,12 +16,23 @@ } } - // CS1548: Error during assembly signing. The specified key file `cs1548-2.cs' has incorrect format + // CS1548: Error during assembly signing. The specified key file `missing.snk' does not exist +// Line: 0 +// Compiler options: -keyfile:missing.snk + +class C +{ + public static void Main () + { + } +} + + // CS1548: Error during assembly signing. The specified key file `file_not_found.snk' does not exist // Line: 0 using System.Reflection; -[assembly: AssemblyKeyFile ("cs1548-2.cs")] +[assembly: AssemblyKeyFile ("file_not_found.snk")] class MyClass { @@ -47,17 +58,6 @@ { } } - - // CS1548: Error during assembly signing. The specified key file `missing.snk' does not exist -// Line: 0 -// Compiler options: -keyfile:missing.snk - -class C -{ - public static void Main () - { - } -} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1570 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1570 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1570 2035-09-30 19:00:50.000000000 +0000 @@ -2,23 +2,6 @@ CS1570 - // CS1570: XML documentation comment on `Testing.InterfaceTest2' is not well-formed XML markup (The 'summary' start tag on line 1 position 2 does not match the end tag of 'incorrect'. Line 3, position 3.) -// Line: 12 -// Compiler options: -doc:dummy.xml -warn:1 -warnaserror - -using System; - -namespace Testing -{ - ///<summary> - /// incorrect markup comment for interface - ///</incorrect> - public interface InterfaceTest2 - { - } -} - - // CS1570: XML documentation comment on `Testing.Test.PublicField2' is not well-formed XML markup (The 'summary' start tag on line 1 position 3 does not match the end tag of 'invalid'. Line 3, position 4.) // Line: 19 // Compiler options: -doc:dummy.xml -warn:1 -warnaserror @@ -37,75 +20,6 @@ } - // CS1570: XML documentation comment on `Testing.MyDelegate2' is not well-formed XML markup (The 'summary' start tag on line 1 position 3 does not match the end tag of 'incorrect'. Line 3, position 4.) -// Line: 12 -// Compiler options: -doc:dummy.xml -warn:1 -warnaserror - -using System; - -namespace Testing -{ - /// <summary> - /// comment for delegate type - /// </incorrect> - public delegate void MyDelegate2 (object o, EventArgs e); -} - - - // CS1570: XML documentation comment on `Testing.Test.PrivateField2' is not well-formed XML markup (The 'summary' start tag on line 1 position 3 does not match the end tag of 'incorrect'. Line 3, position 4.) -// Line: 23 -// Compiler options: -doc:dummy.xml -warn:1 -warnaserror - -using System; - -namespace Testing -{ - public class Test - { - public static void Main () - { - } - - /// <summary> - /// comment for private field - /// </summary> - private string PrivateField; - - /// <summary> - /// incorrect markup comment for private field - /// </incorrect> - private string PrivateField2; - - /** - <summary> - Javadoc comment for private field - </summary> - */ - private string PrivateField3; - } -} - - - // CS1570: XML documentation comment on `Test' is not well-formed XML markup (Unexpected XML declaration. The XML declaration must be the first node in the document, and no white space characters are allowed to appear before it. Line 3, position 4.) -// Line: 13 -// Compiler options: -doc:dummy.xml -warnaserror -warn:1 - -/// Text goes here. -/// -/// <?xml version = "1.0" encoding = "utf-8" ?> -/// <configuration> -/// <appSettings> -/// <add key = "blah" value = "blech"/> -/// </appSettings> -/// </configuration> -public class Test -{ - static void Main () - { - } -} - - // CS1570: XML documentation comment on `Testing.Test.PublicProperty2' is not well-formed XML markup (The 'summary' start tag on line 1 position 3 does not match the end tag of 'incorrect'. Line 3, position 4.) // Line: 32 // Compiler options: -doc:dummy.xml -warn:1 -warnaserror @@ -164,6 +78,23 @@ } + // CS1570: XML documentation comment on `Testing.InterfaceTest2' is not well-formed XML markup (The 'summary' start tag on line 1 position 2 does not match the end tag of 'incorrect'. Line 3, position 3.) +// Line: 12 +// Compiler options: -doc:dummy.xml -warn:1 -warnaserror + +using System; + +namespace Testing +{ + ///<summary> + /// incorrect markup comment for interface + ///</incorrect> + public interface InterfaceTest2 + { + } +} + + // CS1570: XML documentation comment on `Testing.Test2' is not well-formed XML markup (The 'summary' start tag on line 1 position 3 does not match the end tag of 'incorrect'. Line 3, position 4.) // Line: 12 // Compiler options: -doc:dummy.xml -warnaserror -warn:1 @@ -181,52 +112,72 @@ } - // CS1570: XML documentation comment on `Testing.StructTest2' is not well-formed XML markup (The 'summary' start tag on line 1 position 2 does not match the end tag of 'incorrect'. Line 3, position 3.) -// Line: 10 + // CS1570: XML documentation comment on `Testing.EnumTest2' is not well-formed XML markup (The 'summary' start tag on line 1 position 2 does not match the end tag of 'incorrect'. Line 3, position 3.) +// Line: 12 // Compiler options: -doc:dummy.xml -warn:1 -warnaserror +using System; + namespace Testing { - ///<summary> - /// incorrect markup comment for struct + ///<summary> + /// comment for enum type ///</incorrect> - public struct StructTest2 + enum EnumTest2 { + Foo, + Bar, } } - // CS1570: XML documentation comment on `Testing.Test.Constant2' is not well-formed XML markup (The 'summary' start tag on line 1 position 3 does not match the end tag of 'invalid'. Line 3, position 4.) -// Line: 19 + // CS1570: XML documentation comment on `Testing.Test2' is not well-formed XML markup (The 'summary' start tag on line 1 position 2 does not match the end tag of 'incorrect'. Line 3, position 3.) +// Line: 12 // Compiler options: -doc:dummy.xml -warn:1 -warnaserror using System; namespace Testing { - public class Test + ///<summary> + /// Incorrect comment markup. + ///</incorrect> + public class Test2 { - /// <summary> - /// invalid comment for const declaration - /// </invalid> - const string Constant2 = "CONSTANT STRING"; } } - // CS1570: XML documentation comment on `Testing.Test2' is not well-formed XML markup (The 'summary' start tag on line 1 position 2 does not match the end tag of 'incorrect'. Line 3, position 3.) -// Line: 12 + // CS1570: XML documentation comment on `Testing.Test.PrivateField2' is not well-formed XML markup (The 'summary' start tag on line 1 position 3 does not match the end tag of 'incorrect'. Line 3, position 4.) +// Line: 23 // Compiler options: -doc:dummy.xml -warn:1 -warnaserror using System; namespace Testing { - ///<summary> - /// Incorrect comment markup. - ///</incorrect> - public class Test2 + public class Test { + public static void Main () + { + } + + /// <summary> + /// comment for private field /usr/lib/monodoc/sources/cs-errors.zip/CS1572 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1572 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1572 2035-09-30 19:00:50.000000000 +0000 @@ -2,7 +2,7 @@ CS1572 - // CS1572: XML comment on `Testing.Test.D' has a param tag for `mismatch', but there is no parameter by that name + // CS1572: XML comment on `Testing.Test.this[int]' has a param tag for `mismatch', but there is no parameter by that name // Line: 10 // Compiler options: -doc:dummy.xml -warn:2 -warnaserror @@ -11,7 +11,9 @@ class Test { /// <param name='mismatch'>mismatch</param> - public delegate void D (int i); + public int this[int i] { + set {} + } } } @@ -28,7 +30,7 @@ } } - // CS1572: XML comment on `Testing.Test.this[int]' has a param tag for `mismatch', but there is no parameter by that name + // CS1572: XML comment on `Testing.Test.D' has a param tag for `mismatch', but there is no parameter by that name // Line: 10 // Compiler options: -doc:dummy.xml -warn:2 -warnaserror @@ -37,9 +39,7 @@ class Test { /// <param name='mismatch'>mismatch</param> - public int this[int i] { - set {} - } + public delegate void D (int i); } } /usr/lib/monodoc/sources/cs-errors.zip/CS1574 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1574 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1574 2035-09-30 19:00:50.000000000 +0000 @@ -2,52 +2,41 @@ CS1574 - // CS1574: XML comment on `C.MM()' has cref attribute `int(int)' that could not be resolved + // CS1574: XML comment on `Foo' has cref attribute `Dispatch()' that could not be resolved // Line: 8 // Compiler options: -doc:dummy.xml -warnaserror -class C +/// I am delegate, without parens +public delegate void Dispatch (); + +/// <see cref="Dispatch()" /> +public class Foo { - /// <returns>A <see cref="int(int)" />.</returns> - void MM () - { - } } - - // CS1574: XML comment on `Test' has cref attribute `Format()' that could not be resolved -// Line: 5 -// Compiler options: -doc:dummy.xml -warnaserror -/// <summary> -/// <see cref="Format()" /> -/// <see cref="Test()" /> -/// </summary> -public class Test { - static void Main () { - } - - /// <summary /> - public Test (string a) { - } + // CS1574: XML comment on `Test' has cref attribute `explicit operator int (bool)' that could not be resolved +// Line: 7 +// Compiler options: -doc:dummy.xml -warnaserror -warn:1 - /// <summary /> - public static void Format (object a) - { - } +using System; +/// <seealso cref="explicit operator int (bool)"/> +public class Test +{ } - - // CS1574: XML comment on `Test' has cref attribute `Method(System.String)' that could not be resolved + // CS1574: XML comment on `Test' has cref attribute `Test.Foo(int)' that could not be resolved // Line: 8 // Compiler options: -doc:dummy.xml -warnaserror -warn:1 using System; -/// <seealso cref="Method(System.String)"/> +/// <see cref="Test.Foo(int)"/> Test has Foo, but is property that has no args. public class Test { + string Foo { + get { return null; } + } } - // CS1574: XML comment on `Test' has cref attribute `MyDelegate(int)' that could not be resolved // Line: 8 @@ -64,14 +53,37 @@ } - // CS1574: XML comment on `Test' has cref attribute `Method(x,y)' that could not be resolved -// Line: 7 + // CS1574: XML comment on `C.MM()' has cref attribute `int(int)' that could not be resolved +// Line: 8 +// Compiler options: -doc:dummy.xml -warnaserror + +class C +{ + /// <returns>A <see cref="int(int)" />.</returns> + void MM () + { + } +} + + + // CS1574: XML comment on `Test' has cref attribute `Goo' that could not be resolved +// Line: 8 // Compiler options: -doc:dummy.xml -warnaserror -warn:1 using System; -/// <see cref="Method(x,y)"/> + +/// <see cref="Goo"/> ... does not exist public class Test { + string Foo { + get { return null; } + } +} + +class X +{ + static void Main () + { } } // CS1574: XML comment on `A' has cref attribute `ExecuteSilently' that could not be resolved @@ -96,31 +108,27 @@ } - // CS1574: XML comment on `Test' has cref attribute `Test.Foo(int)' that could not be resolved -// Line: 8 -// Compiler options: -doc:dummy.xml -warnaserror -warn:1 - -using System; - -/// <see cref="Test.Foo(int)"/> Test has Foo, but is property that has no args. -public class Test -{ - string Foo { - get { return null; } - } -} - - // CS1574: XML comment on `Foo' has cref attribute `Dispatch()' that could not be resolved -// Line: 8 + // CS1574: XML comment on `Test' has cref attribute `Format()' that could not be resolved +// Line: 5 // Compiler options: -doc:dummy.xml -warnaserror +/// <summary> +/// <see cref="Format()" /> +/// <see cref="Test()" /> +/// </summary> +public class Test { + static void Main () { + } -/// I am delegate, without parens -public delegate void Dispatch (); + /// <summary /> + public Test (string a) { + } -/// <see cref="Dispatch()" /> -public class Foo -{ + /// <summary /> + public static void Format (object a) + { + } } + // CS1574: XML comment on `Test' has cref attribute `System.Xml.XmlDocument' that could not be resolved // Line: 9 @@ -134,34 +142,26 @@ { } - // CS1574: XML comment on `Test' has cref attribute `explicit operator int (bool)' that could not be resolved -// Line: 7 + // CS1574: XML comment on `Test' has cref attribute `Method(System.String)' that could not be resolved +// Line: 8 // Compiler options: -doc:dummy.xml -warnaserror -warn:1 using System; -/// <seealso cref="explicit operator int (bool)"/> + +/// <seealso cref="Method(System.String)"/> public class Test { } + - // CS1574: XML comment on `Test' has cref attribute `Goo' that could not be resolved -// Line: 8 + // CS1574: XML comment on `Test' has cref attribute `Method(x,y)' that could not be resolved +// Line: 7 // Compiler options: -doc:dummy.xml -warnaserror -warn:1 using System; - -/// <see cref="Goo"/> ... does not exist +/// <see cref="Method(x,y)"/> public class Test { - string Foo { - get { return null; } - } -} - -class X /usr/lib/monodoc/sources/cs-errors.zip/CS1576 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1576 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1576 2035-09-30 19:00:50.000000000 +0000 @@ -3,16 +3,6 @@ CS1576 // CS1576: The line number specified for #line directive is missing or invalid -// Line: 4 - -#line -9 - - // CS1576: The line number specified for #line directive is missing or invalid -// Line: 4 - -#line - - // CS1576: The line number specified for #line directive is missing or invalid // Line: 8 public struct S @@ -26,7 +16,17 @@ // CS1576: The line number specified for #line directive is missing or invalid // Line: 4 +#line + + // CS1576: The line number specified for #line directive is missing or invalid +// Line: 4 + #line 0 + // CS1576: The line number specified for #line directive is missing or invalid +// Line: 4 + +#line -9 + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1577 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1577 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1577 2035-09-30 19:00:50.000000000 +0000 @@ -4,7 +4,9 @@ // CS1577: Referenced assembly `CS1577-lib, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' does not have a strong name // Line: 0 -// Compiler options: -keyfile:cs1577.snk -r:CS1577-lib.dll +// Compiler options: -r:CS1577-lib.dll + +[assembly: System.Reflection.AssemblyKeyFileAttribute ("cs1577.snk")] class Test { @@ -16,9 +18,7 @@ // CS1577: Referenced assembly `CS1577-lib, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' does not have a strong name // Line: 0 -// Compiler options: -r:CS1577-lib.dll - -[assembly: System.Reflection.AssemblyKeyFileAttribute ("cs1577.snk")] +// Compiler options: -keyfile:cs1577.snk -r:CS1577-lib.dll class Test { /usr/lib/monodoc/sources/cs-errors.zip/CS1579 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1579 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1579 2035-09-30 19:00:50.000000000 +0000 @@ -2,47 +2,6 @@ CS1579 - // CS1579: foreach statement cannot operate on variables of type `C' because it does not contain a definition for `GetEnumerator' or is inaccessible -// Line: 37 - -using System; - -public class Enumerator -{ - public bool MoveNext () - { - return false; - } - - public int Current { get; set; } -} - - -public class Base -{ - public Enumerator GetEnumerator () - { - return new Enumerator (); - } -} - -public class C : Base -{ - new internal Enumerator GetEnumerator () - { - return new Enumerator (); - } -} - -class Test -{ - public static void Main () - { - foreach (var e in new C ()) - Console.WriteLine (e); - } -} - // Cs1579: foreach statement cannot operate on variables of type `Foo' because it does not contain a definition for `GetEnumerator' or is inaccessible // Line: 12 @@ -67,6 +26,21 @@ } } + // CS1579: foreach statement cannot operate on variables of type `X' because it does not contain a definition for `GetEnumerator' or is inaccessible +// Line: 11 + +class X { +} + +class Y { + void yy (X b) + { + + foreach (object a in b) + ; + } +} + // CS1579: foreach statement cannot operate on variables of type `Foo' because it does not contain a definition for `GetEnumerator' or is inaccessible // Line: 12 @@ -88,18 +62,44 @@ public Func<IEnumerator> GetEnumerator; } - // CS1579: foreach statement cannot operate on variables of type `X' because it does not contain a definition for `GetEnumerator' or is inaccessible -// Line: 11 + // CS1579: foreach statement cannot operate on variables of type `C' because it does not contain a definition for `GetEnumerator' or is inaccessible +// Line: 37 -class X { +using System; + +public class Enumerator +{ + public bool MoveNext () + { + return false; + } + + public int Current { get; set; } } -class Y { - void yy (X b) + +public class Base +{ + public Enumerator GetEnumerator () { - - foreach (object a in b) - ; + return new Enumerator (); + } +} + +public class C : Base +{ + new internal Enumerator GetEnumerator () + { + return new Enumerator (); + } +} + +class Test +{ + public static void Main () + { + foreach (var e in new C ()) + Console.WriteLine (e); } } /usr/lib/monodoc/sources/cs-errors.zip/CS1584 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1584 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1584 2035-09-30 19:00:50.000000000 +0000 @@ -2,34 +2,32 @@ CS1584 - // CS1584: XML comment on `Test' has syntactically incorrect cref attribute `operator foo(int,Test)' -// Line: 7 + // CS1584: XML comment on `Test' has syntactically incorrect cref attribute `' +// Line: 8 // Compiler options: -doc:dummy.xml -warnaserror -warn:1 using System; -/// <seealso cref="operator foo(int,Test)"/> + +/// <see cref="" /> public class Test { } - // CS1584: XML comment on `Test' has syntactically incorrect cref attribute `IList(<>)' -// Line: 8 + // CS1584: XML comment on `Test' has syntactically incorrect cref attribute `Test[]' +// Line: 6 // Compiler options: -doc:dummy.xml -warnaserror -warn:1 -using System.Collections.Generic; - -/// <returns>A <see cref="IList({})" />.</returns> +/// <see cref="Test[]" /> public class Test { } - // CS1584: XML comment on `Test' has syntactically incorrect cref attribute `.' -// Line: 8 + // CS1584: XML comment on `Test' has syntactically incorrect cref attribute `operator foo(int,Test)' +// Line: 7 // Compiler options: -doc:dummy.xml -warnaserror -warn:1 using System; - -/// <see cref="." /> +/// <seealso cref="operator foo(int,Test)"/> public class Test { } @@ -44,22 +42,24 @@ { } - // CS1584: XML comment on `Test' has syntactically incorrect cref attribute `Test[]' -// Line: 6 + // CS1584: XML comment on `Test' has syntactically incorrect cref attribute `.' +// Line: 8 // Compiler options: -doc:dummy.xml -warnaserror -warn:1 -/// <see cref="Test[]" /> +using System; + +/// <see cref="." /> public class Test { } - // CS1584: XML comment on `Test' has syntactically incorrect cref attribute `' + // CS1584: XML comment on `Test' has syntactically incorrect cref attribute `IList(<>)' // Line: 8 // Compiler options: -doc:dummy.xml -warnaserror -warn:1 -using System; +using System.Collections.Generic; -/// <see cref="" /> +/// <returns>A <see cref="IList({})" />.</returns> public class Test { } /usr/lib/monodoc/sources/cs-errors.zip/CS1587 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1587 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1587 2035-09-30 19:00:50.000000000 +0000 @@ -3,29 +3,29 @@ CS1587 // CS1587: XML comment is not placed on a valid language element -// Line: 8 +// Line: 9 // Compiler options: -doc:dummy.xml -warnaserror -warn:2 using System; -/// invalid comment placed on namespace. namespace TopNS { - class Foo + internal /** comment */ /** comment2 */ class Hoge { } } // CS1587: XML comment is not placed on a valid language element -// Line: 9 +// Line: 11 // Compiler options: -doc:dummy.xml -warnaserror -warn:2 using System; namespace TopNS { - internal /** comment */ /** comment2 */ class Hoge + class Foo { + public /** invalid comment in field decl */ int field; } } @@ -37,30 +37,23 @@ namespace TopNS { -/// invalid comment on using directive inside namespace. -using System.Xml; - - enum Foo { + enum Enum3 { + Foo /** invalid comment between enum identifier and comma */, + Bar } } // CS1587: XML comment is not placed on a valid language element -// Line: 15 +// Line: 12 // Compiler options: -doc:dummy.xml -warnaserror -warn:2 using System; namespace TopNS { - class Foo - { - string this [string bar] { - /// incorrect - get { return ""; } - set { } - } - } } + +/// EOF // CS1587: XML comment is not placed on a valid language element // Line: 11 @@ -72,8 +65,8 @@ { class Foo { - public /// incorrect - void FooBar (string foo) + static /// incorrect + Foo () { } } @@ -81,33 +74,7 @@ } // CS1587: XML comment is not placed on a valid language element -// Line: 5 -// Compiler options: -doc:dummy.xml -warnaserror -warn:2 - -/// Text goes here -// -/// and continues here -public class Test -{ -} - - - // CS1587: XML comment is not placed on a valid language element -// Line: 10 -// Compiler options: -doc:dummy.xml -warnaserror -warn:2 - -using System; - -namespace TopNS -{ - enum Enum3 { - Foo /** invalid comment between enum identifier and comma */, - Bar - } -} - - // CS1587: XML comment is not placed on a valid language element -// Line: 13 +// Line: 11 // Compiler options: -doc:dummy.xml -warnaserror -warn:2 using System; @@ -116,56 +83,50 @@ { class Foo { - Foo (/** incorrect doccomment*/ string foo) + public /// incorrect + void FooBar (string foo) { } } + } // CS1587: XML comment is not placed on a valid language element -// Line: 11 +// Line: 10 // Compiler options: -doc:dummy.xml -warnaserror -warn:2 using System; namespace TopNS { - class Foo - { - public /** invalid comment in field decl */ int field; + /// more invalid comment on namespace; inside namespace + namespace ChildNS { + class Test { + } } + } // CS1587: XML comment is not placed on a valid language element -// Line: 8 +// Line: 7 // Compiler options: -doc:dummy.xml -warnaserror -warn:2 using System; - -/// invalid comment on using alias directive. -using Hoge = System.Xml.XmlDocument; - -namespace TopNS -{ - - enum Foo { - } +[Flags] +/// invalid comment between attributes and type declaration. +enum Foo { } // CS1587: XML comment is not placed on a valid language element -// Line: 13 +// Line: 9 // Compiler options: -doc:dummy.xml -warnaserror -warn:2 using System; namespace TopNS { - class Foo - { - Foo (string foo) - { - /** incorrect doccomment*/ - } + [Flags/** here is also incorrect comment */] + enum Enum2 { } } @@ -187,24 +148,11 @@ } // CS1587: XML comment is not placed on a valid language element -// Line: 12 -// Compiler options: -doc:dummy.xml -warnaserror -warn:2 - /usr/lib/monodoc/sources/cs-errors.zip/CS1589 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1589 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1589 2035-09-30 19:00:50.000000000 +0000 @@ -2,39 +2,39 @@ CS1589 - // CS1589: Unable to include XML fragment `/foo/bar' of file `there-is-no-such-file'. Could not find file "*PATH*/there-is-no-such-file" -// Line: 12 + // CS1589: Unable to include XML fragment `/root/@attr' of file `cs1589.inc'. The specified node cannot be inserted as the valid child of this node, because the specified node is the wrong type +// Line: 15 // Compiler options: -doc:dummy.xml -warn:1 -warnaserror namespace Testing { - /// blah + /// <include file='cs1589.inc' path='/foo' /> public class Test { - // warning - /// <include file='there-is-no-such-file' path='/foo/bar' /> - public void Baz (int x) + public static void Main () { } + + /// <include file='cs1589.inc' path='/root/@attr'/> + public string S3; } } - // CS1589: Unable to include XML fragment `/root/@attr' of file `cs1589.inc'. The specified node cannot be inserted as the valid child of this node, because the specified node is the wrong type -// Line: 15 + // CS1589: Unable to include XML fragment `/foo/bar' of file `there-is-no-such-file'. Could not find file "*PATH*/there-is-no-such-file" +// Line: 12 // Compiler options: -doc:dummy.xml -warn:1 -warnaserror namespace Testing { - /// <include file='cs1589.inc' path='/foo' /> + /// blah public class Test { - public static void Main () + // warning + /// <include file='there-is-no-such-file' path='/foo/bar' /> + public void Baz (int x) { } - - /// <include file='cs1589.inc' path='/root/@attr'/> - public string S3; } } /usr/lib/monodoc/sources/cs-errors.zip/CS1590 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1590 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1590 2035-09-30 19:00:50.000000000 +0000 @@ -2,8 +2,8 @@ CS1590 - // CS1590: Invalid XML `include' element. Missing `path' attribute -// Line: 11 + // CS1590: Invalid XML `include' element. Missing `file' attribute +// Line: 16 // Compiler options: -doc:dummy.xml -warn:1 -warnaserror namespace Testing @@ -11,10 +11,15 @@ /// comment public class Test { - /// <include file='a' /> + /// comment public static void Main () { } + + /// <include path='/foo/bar' /> + public void Bar (int x) + { + } } } @@ -32,8 +37,8 @@ } - // CS1590: Invalid XML `include' element. Missing `file' attribute -// Line: 16 + // CS1590: Invalid XML `include' element. Missing `path' attribute +// Line: 11 // Compiler options: -doc:dummy.xml -warn:1 -warnaserror namespace Testing @@ -41,15 +46,10 @@ /// comment public class Test { - /// comment + /// <include file='a' /> public static void Main () { } - - /// <include path='/foo/bar' /> - public void Bar (int x) - { - } } } /usr/lib/monodoc/sources/cs-errors.zip/CS1591 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1591 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1591 2035-09-30 19:00:50.000000000 +0000 @@ -2,20 +2,26 @@ CS1591 - // CS1591: Missing XML comment for publicly visible type or member `Testing.Foo' -// Line: 12 + // CS1591: Missing XML comment for publicly visible type or member `Testing.Test.Foo()' +// Line: 14 // Compiler options: -doc:dummy.xml -warnaserror -warn:4 using System; namespace Testing { - public enum Foo + /// <summary> + /// description for class Test + /// </summary> + public class Test { + public static void Foo () + { + } } } - // CS1591: Missing XML comment for publicly visible type or member `Testing.Test.operator !(Testing.Test)' + // CS1591: Missing XML comment for publicly visible type or member `Testing.Test.PublicField' // Line: 14 // Compiler options: -doc:dummy.xml -warnaserror -warn:4 @@ -28,14 +34,23 @@ /// </summary> public class Test { - public static bool operator ! (Test t) - { - return false; - } + public string PublicField; } } - // CS1591: Missing XML comment for publicly visible type or member `Testing.Test.Foo()' + // CS1591: Missing XML comment for publicly visible type or member `EntryPoint.Create(bool)' +// Line: 6 +// Compiler options: -doc:dummy.xml -warnaserror -warn:4 +/// <summary>test</summary> +public class EntryPoint { + protected void Create (bool test) { + } + + protected void Remove () { + } +} + + // CS1591: Missing XML comment for publicly visible type or member `Testing.Test.Constant' // Line: 14 // Compiler options: -doc:dummy.xml -warnaserror -warn:4 @@ -48,32 +63,24 @@ /// </summary> public class Test { - public static void Foo () - { - } + public const string Constant = "CONSTANT STRING"; } } - // CS1591: Missing XML comment for publicly visible type or member `Testing.Test.this[int]' -// Line: 14 + // CS1591: Missing XML comment for publicly visible type or member `Testing.Foo' +// Line: 12 // Compiler options: -doc:dummy.xml -warnaserror -warn:4 using System; namespace Testing { - /// <summary> - /// description for class Test - /// </summary> - public class Test + public enum Foo { - public string this [int i] { - get { return null; } - } } } - // CS1591: Missing XML comment for publicly visible type or member `Testing.Test.PublicField' + // CS1591: Missing XML comment for publicly visible type or member `Testing.Test.MyEvent' // Line: 14 // Compiler options: -doc:dummy.xml -warnaserror -warn:4 @@ -86,24 +93,30 @@ /// </summary> public class Test { - public string PublicField; + public event EventHandler MyEvent; } } - // CS1591: Missing XML comment for publicly visible type or member `Testing.InterfaceTest' -// Line: 9 + // CS1591: Missing XML comment for publicly visible type or member `Testing.Test.InternalClass' +// Line: 14 // Compiler options: -doc:dummy.xml -warnaserror -warn:4 using System; namespace Testing { - public interface InterfaceTest + /// <summary> + /// description for class Test + /// </summary> + public class Test { + protected class InternalClass + { + } } } - // CS1591: Missing XML comment for publicly visible type or member `Testing.Test.PublicProperty' + // CS1591: Missing XML comment for publicly visible type or member `Testing.Test.Test()' // Line: 14 // Compiler options: -doc:dummy.xml -warnaserror -warn:4 @@ -116,30 +129,27 @@ /// </summary> public class Test { - public string PublicProperty { - get { return null; } + public Test () + { } } } - // CS1591: Missing XML comment for publicly visible type or member `Testing.IFoo.Foo' -// Line: 14 + // CS1591: Missing XML comment for publicly visible type or member `Testing.TestClass' +// Line: 9 // Compiler options: -doc:dummy.xml -warnaserror -warn:4 using System; namespace Testing { - /// <summary> - /// description for interface IFoo - /// </summary> - public interface IFoo + public class TestClass { - string Foo { get; } } } + - // CS1591: Missing XML comment for publicly visible type or member `Testing.Test.InternalClass' + // CS1591: Missing XML comment for publicly visible type or member `Testing.Test.operator !(Testing.Test)' // Line: 14 // Compiler options: -doc:dummy.xml -warnaserror -warn:4 @@ -152,24 +162,13 @@ /// </summary> public class Test { - protected class InternalClass + public static bool operator ! (Test t) { + return false; } } } - // CS1591: Missing XML comment for publicly visible type or member `EntryPoint.Create(bool)' -// Line: 6 -// Compiler options: -doc:dummy.xml -warnaserror -warn:4 -/// <summary>test</summary> -public class EntryPoint { - protected void Create (bool test) { - } - - protected void Remove () { - } -} - // CS1591: Missing XML comment for publicly visible type or member `Testing.Foo.Foo' // Line: 12 /usr/lib/monodoc/sources/cs-errors.zip/CS1593 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1593 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1593 2035-09-30 19:00:50.000000000 +0000 @@ -33,6 +33,21 @@ } + // CS1593: Delegate `D' does not take `0' arguments +// Line: 11 +// +// The delegate has an explicit signature with 0 arguments, so it +// can not be assigned to a delegate with one argument. +// +delegate void D (int x); + +class X { + static void Main () + { + D d2 = delegate () {}; + } +} + // CS1593: Delegate `System.Func<int,int>' does not take `2' arguments // Line: 11 @@ -51,18 +66,28 @@ } } - // CS1593: Delegate `D' does not take `0' arguments -// Line: 11 -// -// The delegate has an explicit signature with 0 arguments, so it -// can not be assigned to a delegate with one argument. -// -delegate void D (int x); + // CS1593: Delegate `System.Action<System.Exception,object>' does not take `1' arguments +// Line: 16 -class X { - static void Main () +using System; +using System.Threading.Tasks; + +class MainClass +{ + public static void Run (Func<Task> func) + { + } + + public static void Main (string[] args) + { + Run(async () => { + Function(async (handle) => { + }); + }); + } + + public static void Function (Action<Exception, object> callback) { - D d2 = delegate () {}; } } @@ -110,30 +135,5 @@ } } - // CS1593: Delegate `System.Action<System.Exception,object>' does not take `1' arguments -// Line: 16 - -using System; -using System.Threading.Tasks; - -class MainClass -{ - public static void Run (Func<Task> func) - { - } - - public static void Main (string[] args) - { - Run(async () => { - Function(async (handle) => { - }); - }); - } - - public static void Function (Action<Exception, object> callback) - { - } -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1594 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1594 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1594 2035-09-30 19:00:50.000000000 +0000 @@ -2,34 +2,6 @@ CS1594 - // CS1594: Delegate `Test.Foo' has some invalid arguments -// Line: 10 - -namespace Test { - delegate void Foo (string x, params string [] args); - class Testee { - static void Bar (string x, params string [] args) {} - static void Main () { - Foo bar = new Foo (Bar); - bar ("x'' = ", "Foo", 5, 3.6); - } - } -} - - // CS1594: Delegate `Test.Foo' has some invalid arguments -// Line: 10 - -namespace Test { - delegate void Foo (string x, params string [] args); - class Testee { - static void Bar (string x, params string [] args) {} - static void Main () { - Foo bar = new Foo (Bar); - bar ("i = ", 5); - } - } -} - // CS1594: Delegate `Blah.MyDelegate' has some invalid arguments // Line : 21 @@ -74,6 +46,34 @@ } } } + + // CS1594: Delegate `Test.Foo' has some invalid arguments +// Line: 10 + +namespace Test { + delegate void Foo (string x, params string [] args); + class Testee { + static void Bar (string x, params string [] args) {} + static void Main () { + Foo bar = new Foo (Bar); + bar ("i = ", 5); + } + } +} + + // CS1594: Delegate `Test.Foo' has some invalid arguments +// Line: 10 + +namespace Test { + delegate void Foo (string x, params string [] args); + class Testee { + static void Bar (string x, params string [] args) {} + static void Main () { + Foo bar = new Foo (Bar); + bar ("x'' = ", "Foo", 5, 3.6); + } + } +} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1599 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1599 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1599 2035-09-30 19:00:50.000000000 +0000 @@ -2,17 +2,17 @@ CS1599 - // CS1599: The return type of `System.TypedReference' is not allowed + // CS1599: The return type of `System.ArgIterator' is not allowed // Line: 8 using System; -public class Program +class C { - public static TypedReference operator + (int a, Program b) - { - throw new ApplicationException (); - } + public ArgIterator Method () + { + return null; + } } // CS1599: The return type of `System.ArgIterator' is not allowed // Line: 8 @@ -29,24 +29,24 @@ using System; -class C +public class Program { - public TypedReference Method () + public static TypedReference operator + (int a, Program b) { - return null; + throw new ApplicationException (); } } - // CS1599: The return type of `System.ArgIterator' is not allowed + // CS1599: The return type of `System.TypedReference' is not allowed // Line: 8 using System; class C { - public ArgIterator Method () - { + public TypedReference Method () + { return null; - } + } } \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1611 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1611 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1611 2035-09-30 19:00:50.000000000 +0000 @@ -4,18 +4,18 @@ // CS1611: The params parameter cannot be declared as ref, out or in // Line: 6 +// Compiler options: -langversion:latest class Test { - public static void Error (params ref int args) {} + public static void Error (params in int args) {} } // CS1611: The params parameter cannot be declared as ref, out or in // Line: 6 -// Compiler options: -langversion:latest class Test { - public static void Error (params in int args) {} + public static void Error (params ref int args) {} } \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1612 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1612 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1612 2035-09-30 19:00:50.000000000 +0000 @@ -2,51 +2,61 @@ CS1612 - // CS1612: Cannot modify a value type return value of `R.Size'. Consider storing the value in a temporary variable -// Line: 19 + // CS1612: Cannot modify a value type return value of `X.P'. Consider storing the value in a temporary variable +// Line: 9 -struct R -{ - public S Size { get; set; } -} +using System; +class X { + static void Main () + { -struct S -{ - public float Height { get; set; } -} + P.x = 10; + Console.WriteLine ("Got: " + P.x); + } -public class Test -{ - public static void Main () - { - var r = new R (); - r.Size.Height = 3; + static G P { + get { + return g; + } } -} - - // CS1612: Cannot modify a value type return value of `bar.this[int]'. Consider storing the value in a temporary variable -// Line: 19 -struct foo { - public int x; -} + static G g = new G (); -class bar { - public foo this [int x] { - get { return new foo (); } - set { } + struct G { + public int x; } } + + + // CS1612: Cannot modify a value type return value of `X.P'. Consider storing the value in a temporary variable +// Line: 9 -class main { +using System; +class X { static void Main () { - bar b = new bar (); - b [0].x = 5; + + bar (out P.x); + Console.WriteLine ("Got: " + P.x); + } + + static void bar (out int x) { x = 10; } + + static G P { + get { + return g; + } + } + + static G g = new G (); + + struct G { + public int x; } } + - // CS1612: Cannot modify a value type return value of `Test.v()'. Consider storing the value in a temporary variable + // CS1612: Cannot modify a value type return value of `Test.v'. Consider storing the value in a temporary variable // Line: 28 public struct V @@ -63,7 +73,7 @@ { V m_value; - public V v() { return m_value; } + public V v { get { return m_value; } } public Test () { @@ -73,11 +83,11 @@ public static void Main () { Test t = new Test (); - t.v() [0] = 9; + t.v [0] = 9; } } - // CS1612: Cannot modify a value type return value of `Test.v'. Consider storing the value in a temporary variable + // CS1612: Cannot modify a value type return value of `Test.v()'. Consider storing the value in a temporary variable // Line: 28 public struct V @@ -94,7 +104,7 @@ { V m_value; - public V v { get { return m_value; } } + public V v() { return m_value; } public Test () { @@ -104,35 +114,54 @@ public static void Main () { Test t = new Test (); - t.v [0] = 9; + t.v() [0] = 9; } } - // CS1612: Cannot modify a value type return value of `X.P'. Consider storing the value in a temporary variable -// Line: 9 + // CS1612: Cannot modify a value type return value of `R.Size'. Consider storing the value in a temporary variable +// Line: 19 -using System; -class X { - static void Main () - { +struct R +{ + public S Size { get; set; } +} - P.x = 10; - Console.WriteLine ("Got: " + P.x); - } +struct S +{ + public float Height { get; set; } +} - static G P { - get { - return g; - } +public class Test +{ + public static void Main () + { + var r = new R (); + r.Size.Height = 3; } +} + + // CS1612: Cannot modify a value type return value of `bar.this[int]'. Consider storing the value in a temporary variable +// Line: 19 - static G g = new G (); +struct foo { + public int x; +} - struct G { - public int x; +class bar { + public foo this [int x] { + get { return new foo (); } + set { } + } +} + +class main { + static void baz (out int x) { x = 5; } + static void Main () + { + bar b = new bar (); + baz (out b [0].x); } } - // CS1612: Cannot modify a value type return value of `X.P'. Consider storing the value in a temporary variable // Line: 9 /usr/lib/monodoc/sources/cs-errors.zip/CS1615 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1615 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1615 2035-09-30 19:00:50.000000000 +0000 @@ -2,25 +2,22 @@ CS1615 - // CS1615: Argument `#1' does not require `out' modifier. Consider removing `out' modifier -// Line: 8 -// Compiler options: -langversion:experimental + // CS1615: Argument `#2' does not require `out' modifier. Consider removing `out' modifier +// Line: 13 -public class C +public class X { - public static void Main () - { - Foo (out var y); - } - - static void Foo (int x) + public static void Test (params int[] a) { } - static void Foo (string x) + public static void Main() { + int i; + Test (1, out i); } -} +} + // CS1615: Argument `#1' does not require `ref' modifier. Consider removing `ref' modifier // Line: 11 @@ -35,21 +32,24 @@ } } - // CS1615: Argument `#2' does not require `out' modifier. Consider removing `out' modifier -// Line: 13 + // CS1615: Argument `#1' does not require `out' modifier. Consider removing `out' modifier +// Line: 8 +// Compiler options: -langversion:experimental -public class X +public class C { - public static void Test (params int[] a) + public static void Main () { + Foo (out var y); } - public static void Main() + static void Foo (int x) { - int i; - Test (1, out i); } -} - + + static void Foo (string x) + { + } +} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1620 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1620 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1620 2035-09-30 19:00:50.000000000 +0000 @@ -5,34 +5,46 @@ // CS1620: Argument `#1' is missing `out' modifier // Line: 13 -public class Programa +class C { - static void Jajaja (out int mengano) + public static void test (out int i) { - mengano = 3; + i = 5; } - static void Run (out int mengano) - { - Jajaja (mengano); + public static void Main() { + int i = 1; + test (ref i); } } - // CS1620: Argument `#1' is missing `out' modifier -// Line: 13 + // CS1620: Argument `#1' is missing `ref' modifier +// Line: 24 -class C +public class X { - public static void test (out int i) + public void Foo (string[] b) + { + } + + public void Foo (ref string i) { - i = 5; } + + public void Foo (int i) + { + } +} - public static void Main() { - int i = 1; - test (ref i); +class D +{ + static void Main () + { + X x = null; + x.Foo ("hola"); } } + // CS1620: Argument `#1' is missing `out' modifier // Line: 24 @@ -58,33 +70,21 @@ } - // CS1620: Argument `#1' is missing `ref' modifier -// Line: 24 + // CS1620: Argument `#1' is missing `out' modifier +// Line: 13 -public class X +public class Programa { - public void Foo (string[] b) - { - } - - public void Foo (ref string i) - { - } - - public void Foo (int i) + static void Jajaja (out int mengano) { + mengano = 3; } -} -class D -{ - static void Main () + static void Run (out int mengano) { - X x = null; - x.Foo ("hola"); + Jajaja (mengano); } } - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1621 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1621 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1621 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,23 @@ CS1621 + // CS01621: The yield statement cannot be used inside anonymous method blocks +// Line: 13 + +using System.Collections; + +delegate object D (); + +class C: IEnumerable +{ + public IEnumerator GetEnumerator () + { + D d = delegate { + yield return this; + }; + } +} + // CS1621: The yield statement cannot be used inside anonymous method blocks // Line: 12 @@ -23,22 +40,5 @@ { } } - // CS01621: The yield statement cannot be used inside anonymous method blocks -// Line: 13 - -using System.Collections; - -delegate object D (); - -class C: IEnumerable -{ - public IEnumerator GetEnumerator () - { - D d = delegate { - yield return this; - }; - } -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1622 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1622 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1622 2035-09-30 19:00:50.000000000 +0000 @@ -3,6 +3,32 @@ CS1622 // CS1622: Cannot return a value from iterators. Use the yield return statement to return a value, or yield break to end the iteration +// Line: 21 + +using System.Collections.Generic; + +namespace McsDiff +{ + class MyObj + { + } + + class MainClass + { + protected static IEnumerable<MyObj> GetStuff () + { + yield return null; + + try { + } + catch { + return; + } + } + } +} + + // CS1622: Cannot return a value from iterators. Use the yield return statement to return a value, or yield break to end the iteration // Line: 11 using System.Collections; @@ -38,32 +64,6 @@ } } } - - // CS1622: Cannot return a value from iterators. Use the yield return statement to return a value, or yield break to end the iteration -// Line: 21 - -using System.Collections.Generic; - -namespace McsDiff -{ - class MyObj - { - } - - class MainClass - { - protected static IEnumerable<MyObj> GetStuff () - { - yield return null; - - try { - } - catch { - return; - } - } - } -} // CS1622: Cannot return a value from iterators. Use the yield return statement to return a value, or yield break to end the iteration // Line: 21 /usr/lib/monodoc/sources/cs-errors.zip/CS1624 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1624 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1624 2035-09-30 19:00:50.000000000 +0000 @@ -21,17 +21,6 @@ } } - // CS1624: The body of `Program.Program()' cannot be an iterator block because `void' is not an iterator interface type -// Line: 6 - -class Program { - public Program() { - yield break; - } - static public void Main() { - } -} - // CS1624: The body of `C.Test<TSource>(System.Collections.Generic.IEnumerable<TSource>)' cannot be an iterator block because `TSource' is not an iterator interface type // Line: 8 @@ -67,5 +56,16 @@ } } + // CS1624: The body of `Program.Program()' cannot be an iterator block because `void' is not an iterator interface type +// Line: 6 + +class Program { + public Program() { + yield break; + } + static public void Main() { + } +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1625 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1625 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1625 2035-09-30 19:00:50.000000000 +0000 @@ -3,8 +3,7 @@ CS1625 // CS1625: Cannot yield in the body of a finally clause -// Line: 16 - +// Line: 13 using System; using System.Collections; @@ -15,12 +14,15 @@ try { ; } finally { - try { yield return 0; - } - finally {} } } + + static void Main () + { + IEnumerable a = Test (3); + Console.WriteLine (a); + } } // CS1625: Cannot yield in the body of a finally clause @@ -35,7 +37,7 @@ try { ; } finally { - yield return 0; + yield break; } } @@ -47,7 +49,8 @@ } // CS1625: Cannot yield in the body of a finally clause -// Line: 13 +// Line: 16 + using System; using System.Collections; @@ -58,15 +61,12 @@ try { ; } finally { - yield break; + try { + yield return 0; + } + finally {} } } - - static void Main () - { - IEnumerable a = Test (3); - Console.WriteLine (a); - } } /usr/lib/monodoc/sources/cs-errors.zip/CS1629 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1629 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1629 2035-09-30 19:00:50.000000000 +0000 @@ -16,21 +16,6 @@ } // CS1629: Unsafe code may not appear in iterators -// Line: 8 -// Compiler options: -unsafe - -using System.Collections; - -class X { - static IEnumerator GetIt () - { - unsafe { - yield return 1; - } - } - -} - // CS1629: Unsafe code may not appear in iterators // Line: 17 // Compiler options: -unsafe @@ -49,5 +34,20 @@ yield return *current; } } + // CS1629: Unsafe code may not appear in iterators +// Line: 8 +// Compiler options: -unsafe + +using System.Collections; + +class X { + static IEnumerator GetIt () + { + unsafe { + yield return 1; + } + } + +} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1632 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1632 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1632 2035-09-30 19:00:50.000000000 +0000 @@ -7,6 +7,28 @@ using System; +class X { + delegate void T (); + + static void Main () + { + T t = delegate { + goto L; + }; + +L: + Console.WriteLine ("Hello"); + + } +} + + + + // CS1632: Control cannot leave the body of an anonymous method +// Line: 12 + +using System; + class X { public static void Main () @@ -30,39 +52,19 @@ { int b = 0; switch (b) { - case 1: + case 1: Action a = () => { - break; + goto case 2; }; break; + case 2: + break; } } } // CS1632: Control cannot leave the body of an anonymous method -// Line: 12 - -using System; - -class X { - delegate void T (); - - static void Main () - { - T t = delegate { - goto L; - }; - -L: - Console.WriteLine ("Hello"); - - } -} - - - - // CS1632: Control cannot leave the body of an anonymous method // Line: 14 using System; @@ -73,14 +75,12 @@ { int b = 0; switch (b) { - case 1: + case 1: Action a = () => { - goto case 2; + break; }; break; - case 2: - break; } } } /usr/lib/monodoc/sources/cs-errors.zip/CS1644 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1644 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1644 2035-09-30 19:00:50.000000000 +0000 @@ -2,55 +2,104 @@ CS1644 - // CS1644: Feature `expression bodied members' cannot be used because it is not part of the C# 5.0 language specification -// Line: 7 -// Compiler options: -langversion:5 + // CS1644: Feature `null coalescing operator' cannot be used because it is not part of the C# 1.0 language specification +// Line: 10 +// Compiler options: -langversion:ISO-1 class C { - int M () => 0; + string program; + + internal string Program { + get { return program ?? string.Empty; } + } } - // CS1644: Feature `private protected' cannot be used because it is not part of the C# 6.0 language specification -// Line: 7 + // CS1644: Feature `expression body property accessor' cannot be used because it is not part of the C# 6.0 language specification +// Line: 11 // Compiler options: -langversion:6 +using System; + class C { - private protected enum E + public int Integer { + get => 0; } } - // CS1644: Feature `auto-implemented properties' cannot be used because it is not part of the C# 2.0 language specification -// Line: 7 -// Compiler options: -langversion:ISO-2 + // CS1644: Feature `dictionary initializer' cannot be used because it is not part of the C# 5.0 language specification +// Line: 12 +// Compiler options: -langversion:5 -class P +using System.Collections.Generic; + +class C { - public string Name { get; set; } + public static void Main () + { + var d = new Dictionary<string, int> { + ["a"] = 1 + }; + } +} + // CS1644: Feature `tuples' cannot be used because it is not part of the C# 6.0 language specification +// Line: 9 +// Compiler options: -langversion:6 + +class Class +{ + static void Main () + { + var t = (a: 1, b: 2); + } } - // CS1644: Feature `nullable types' cannot be used because it is not part of the C# 1.0 language specification -// Line: 9 + // CS1644: Feature `fixed size buffers' cannot be used because it is not part of the C# 1.0 language specification +// Line: 6 // Compiler options: -langversion:ISO-1 -public class Test +struct S { + fixed long buffer [5]; +} + + // CS1644: Feature `named argument' cannot be used because it is not part of the C# 3.0 language specification +// Line: 13 +// Compiler options: -langversion:3 + +public class C { - static void Main () + static void Foo (int i) { - bool? testbool; + } + + public static void Main () + { + Foo (i : 3); } } - // CS1644: Feature `discards' cannot be used because it is not part of the C# 6.0 language specification + // CS1644: Feature `nullable types' cannot be used because it is not part of the C# 1.0 language specification +// Line: 7 +// Compiler options: -langversion:ISO-1 + +class Test +{ + int? i; + static void Main () {} +} + + // CS1644: Feature `pattern matching' cannot be used because it is not part of the C# 6.0 language specification // Line: 9 // Compiler options: -langversion:6 -class X +class Class { - int Test () + static void Foo (object arg) { - _ = 2; - } + if (arg is Type v) { + return; + } + } } // CS1644: Feature `object initializers' cannot be used because it is not part of the C# 2.0 language specification @@ -70,21 +119,57 @@ } } - // CS1644: Feature `lambda expressions' cannot be used because it is not part of the C# 2.0 language specification -// Line: 11 -// Compiler options: -langversion:ISO-2 + // CS1644: Feature `using static' cannot be used because it is not part of the C# 5.0 language specification +// Line: 5 +// Compiler options: -langversion:5 -using System; +using static System; + + // CS1644: Feature `auto-implemented property initializer' cannot be used because it is not part of the C# 5.0 language specification +// Line: 7 +// Compiler options: -langversion:5 class C { - public void Foo () - { - Func<int, int> e = l => 1; - } -} + public static int P { get; } = 4; +} + // CS1644: Feature `expression bodied members' cannot be used because it is not part of the C# 5.0 language specification +// Line: 7 +// Compiler options: -langversion:5 + +class C +{ + int Prop => 3; +} + // CS1644: Feature `throw expression' cannot be used because it is not part of the C# 6.0 language specification +// Line: 5 +// Compiler options: -langversion:6 +static class Class +{ + int Prop => throw null; +} + // CS1644: Feature `expression bodied members' cannot be used because it is not part of the C# 5.0 language specification +// Line: 7 +// Compiler options: -langversion:5 + +class C +{ + int this [long arg] => -9; +} + // CS1644: Feature `null propagating operator' cannot be used because it is not part of the C# 5.0 language specification +// Line: 10 +// Compiler options: -langversion:5 + +class C +{ + static void Main () + { + object o = null; + string s = o?.ToString (); + } +} // CS1644: Feature `implicitly typed arrays' cannot be used because it is not part of the C# 1.0 language specification // Line: 7 // Compiler options: -langversion:ISO-1 @@ -94,97 +179,97 @@ string[] array = new [] { "Foo", "Bar", "Baz" }; } /usr/lib/monodoc/sources/cs-errors.zip/CS1648 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1648 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1648 2035-09-30 19:00:50.000000000 +0000 @@ -11,17 +11,14 @@ { struct Container { - public int this[int arg] { - set { - } - } + public int foo { get; set; } } readonly Container p; void Foo () { - p[0] = 0; + p.foo = 0; } public static void Main () @@ -53,14 +50,17 @@ { struct Container { - public int foo { get; set; } + public int this[int arg] { + set { + } + } } readonly Container p; void Foo () { - p.foo = 0; + p[0] = 0; } public static void Main () /usr/lib/monodoc/sources/cs-errors.zip/CS1650 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1650 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1650 2035-09-30 19:00:50.000000000 +0000 @@ -2,24 +2,25 @@ CS1650 - // CS1650: Fields of static readonly field `C.s' cannot be assigned to (except in a static constructor or a variable initializer) -// Line: 15 + // CS1650: Fields of static readonly field `C<T>.t' cannot be assigned to (except in a static constructor or a variable initializer) +// Line: 17 -struct S +using System; + +interface I { - public int x { get; set; } + int X { get; set; } } -class C +class C<T> where T : struct, I { - static readonly S s; + static readonly T t; - public static void Main (string[] args) + public static void Foo () { - s.x = 42; + t.X = 42; } } - // CS1650: Fields of static readonly field `C.s' cannot be assigned to (except in a static constructor or a variable initializer) // Line: 14 @@ -40,25 +41,24 @@ } - // CS1650: Fields of static readonly field `C<T>.t' cannot be assigned to (except in a static constructor or a variable initializer) -// Line: 17 - -using System; + // CS1650: Fields of static readonly field `C.s' cannot be assigned to (except in a static constructor or a variable initializer) +// Line: 15 -interface I +struct S { - int X { get; set; } + public int x { get; set; } } -class C<T> where T : struct, I +class C { - static readonly T t; + static readonly S s; - public static void Foo () + public static void Main (string[] args) { - t.X = 42; + s.x = 42; } } + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1654 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1654 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1654 2035-09-30 19:00:50.000000000 +0000 @@ -2,31 +2,44 @@ CS1654 - // CS1654: Cannot assign to members of `f' because it is a `using variable' -// Line: 22 + // CS1654: Cannot assign to members of `p' because it is a `foreach iteration variable' +// Line: 18 -using System; +using System.Collections; -struct Foo : IDisposable -{ - public int Property { - set { } - } +struct P { + public int x; +} - public void Dispose () +class Test { + static IEnumerable foo () { return null; } + + static void Main () { + IEnumerable f = foo (); + if (f != null) + foreach (P p in f) + p.x = 0; } } + + // CS1654: Cannot assign to members of `p' because it is a `foreach iteration variable' +// Line: 14 -class Bar -{ - static void Main () +using System.Collections; + +struct P { + public int x { get; set; } +} + +class Test { + static void Foo (IEnumerable f) { - using (var f = new Foo ()) { - f.Property = 0; - } + foreach (P p in f) + p.x += 2; } -} +} + // CS1654: Cannot assign to members of `q' because it is a `foreach iteration variable' // Line: 22 @@ -77,43 +90,30 @@ } } } - // CS1654: Cannot assign to members of `p' because it is a `foreach iteration variable' -// Line: 14 + // CS1654: Cannot assign to members of `f' because it is a `using variable' +// Line: 22 -using System.Collections; +using System; -struct P { - public int x { get; set; } -} +struct Foo : IDisposable +{ + public int Property { + set { } + } -class Test { - static void Foo (IEnumerable f) + public void Dispose () { - foreach (P p in f) - p.x += 2; } } - - // CS1654: Cannot assign to members of `p' because it is a `foreach iteration variable' -// Line: 18 - -using System.Collections; - -struct P { - public int x; -} - -class Test { - static IEnumerable foo () { return null; } +class Bar +{ static void Main () { - IEnumerable f = foo (); - if (f != null) - foreach (P p in f) - p.x = 0; + using (var f = new Foo ()) { + f.Property = 0; + } } -} - +} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1656 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1656 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1656 2035-09-30 19:00:50.000000000 +0000 @@ -2,30 +2,20 @@ CS1656 - // CS1656: Cannot assign to `m' because it is a `using variable' -// Line: 10 -using System.IO; + // CS1656: Cannot assign to `i' because it is a `foreach iteration variable' +// Line: 14 -class X { +using System.Collections; - static void Main () - { - using (MemoryStream m = new MemoryStream ()){ - m = null; - } - } -} - - - // CS1656: Cannot assign to `i' because it is a `foreach iteration variable' -// Line: 9 +class Test { + static IEnumerable foo () { return null; } -class Test -{ static void Main () { - foreach (int i in new int[] { 1, 2}) - i++; + IEnumerable f = foo (); + if (f != null) + foreach (int i in f) + i = 0; } } @@ -45,19 +35,28 @@ // CS1656: Cannot assign to `i' because it is a `foreach iteration variable' -// Line: 14 +// Line: 9 -using System.Collections; +class X { -class Test { - static IEnumerable foo () { return null; } + static void Main () + { + foreach (int i in new int[] { 2, 3 }) { + i = 4; + } + } +} + + + // CS1656: Cannot assign to `i' because it is a `foreach iteration variable' +// Line: 9 +class Test +{ static void Main () { - IEnumerable f = foo (); - if (f != null) - foreach (int i in f) - i = 0; + foreach (int i in new int[] { 1, 2}) + i++; } } @@ -78,15 +77,16 @@ } } - // CS1656: Cannot assign to `i' because it is a `foreach iteration variable' -// Line: 9 + // CS1656: Cannot assign to `m' because it is a `using variable' +// Line: 10 +using System.IO; class X { static void Main () { - foreach (int i in new int[] { 2, 3 }) { - i = 4; + using (MemoryStream m = new MemoryStream ()){ + m = null; } } } /usr/lib/monodoc/sources/cs-errors.zip/CS1657 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1657 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1657 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,21 @@ CS1657 + // CS1657: Cannot pass `i' as a ref or out argument because it is a `foreach iteration variable' +// Line: 9 + +class E +{ + public E (int[] args) + { + foreach (int i in args) + Init (ref i); + } + + void Init (ref int val) {} + +} + // CS1657: Cannot pass `m' as a ref or out argument because it is a `using variable' // Line: 11 @@ -22,20 +37,5 @@ } } - // CS1657: Cannot pass `i' as a ref or out argument because it is a `foreach iteration variable' -// Line: 9 - -class E -{ - public E (int[] args) - { - foreach (int i in args) - Init (ref i); - } - - void Init (ref int val) {} - -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1660 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1660 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1660 2035-09-30 19:00:50.000000000 +0000 @@ -2,17 +2,6 @@ CS1660 - // CS1660: Cannot convert `lambda expression' to non-delegate type `dynamic' -// Line: 8 - -public class C -{ - public static void Main () - { - dynamic d = () => 1; - } -} - // CS1660: Cannot convert `anonymous method' to non-delegate type `object' // Line: 9 @@ -25,7 +14,7 @@ } } - // CS1660: Cannot convert `lambda expression' to non-delegate type `object' + // CS1660: Cannot convert `anonymous method' to non-delegate type `int' // Line: 9 using System; @@ -33,11 +22,22 @@ class X { static void Main () { - object o = () => true; + int o = delegate {}; } } - // CS1660: Cannot convert `anonymous method' to non-delegate type `int' + // CS1660: Cannot convert `lambda expression' to non-delegate type `dynamic' +// Line: 8 + +public class C +{ + public static void Main () + { + dynamic d = () => 1; + } +} + + // CS1660: Cannot convert `lambda expression' to non-delegate type `object' // Line: 9 using System; @@ -45,7 +45,7 @@ class X { static void Main () { - int o = delegate {}; + object o = () => true; } } /usr/lib/monodoc/sources/cs-errors.zip/CS1667 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1667 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1667 2035-09-30 19:00:50.000000000 +0000 @@ -2,8 +2,8 @@ CS1667 - // CS1667: Attribute `System.Diagnostics.ConditionalAttribute' is not valid on property or event accessors. It is valid on `method' declarations only -// GMCS1667: Attribute `System.Diagnostics.ConditionalAttribute' is not valid on property or event accessors. It is valid on `class, method' declarations only + // CS1667: Attribute `System.CLSCompliantAttribute' is not valid on property or event accessors. It is valid on `assembly, module, class, struct, enum, constructor, method, property, indexer, field, event, interface, parameter, delegate, return' declarations only +// GMCS1667: Attribute `System.CLSCompliantAttribute' is not valid on property or event accessors. It is valid on `assembly, module, class, struct, enum, constructor, method, property, indexer, field, event, interface, parameter, delegate, return, type parameter' declarations only // Line: 11 using System; @@ -11,13 +11,13 @@ class Class1 { - public int G { - [Conditional("DEBUG")] - get { - return 1; - } + public event ResolveEventHandler G { + [CLSCompliant(false)] + add {} + remove {} } } + // CS1667: Attribute `System.CLSCompliantAttribute' is not valid on property or event accessors. It is valid on `assembly, module, class, struct, enum, constructor, method, property, indexer, field, event, interface, parameter, delegate, return' declarations only // GMCS1667: Attribute `System.CLSCompliantAttribute' is not valid on property or event accessors. It is valid on `assembly, module, class, struct, enum, constructor, method, property, indexer, field, event, interface, parameter, delegate, return, type parameter' declarations only @@ -30,21 +30,23 @@ event EventHandler XEvent; } - // CS1667: Attribute `System.ObsoleteAttribute' is not valid on property or event accessors. It is valid on `class, struct, enum, constructor, method, property, indexer, field, event, interface, delegate' declarations only -// Line: 14 + // CS1667: Attribute `System.Diagnostics.ConditionalAttribute' is not valid on property or event accessors. It is valid on `method' declarations only +// GMCS1667: Attribute `System.Diagnostics.ConditionalAttribute' is not valid on property or event accessors. It is valid on `class, method' declarations only +// Line: 11 -class Test { - public static bool Error { - [System.Obsolete] set { +using System; +using System.Diagnostics; + +class Class1 +{ + public int G { + [Conditional("DEBUG")] + get { + return 1; } - } + } } - -class MainClass { - public static void Main () { - Test.Error = false; - } -} + // CS1667: Attribute `System.CLSCompliantAttribute' is not valid on property or event accessors. It is valid on `assembly, module, class, struct, enum, constructor, method, property, indexer, field, event, interface, parameter, delegate, return' declarations only // GMCS1667: Attribute `System.CLSCompliantAttribute' is not valid on property or event accessors. It is valid on `assembly, module, class, struct, enum, constructor, method, property, indexer, field, event, interface, parameter, delegate, return, type parameter' declarations only // Line: 15 @@ -62,22 +64,20 @@ System.Console.WriteLine (Test.Error); } } - // CS1667: Attribute `System.CLSCompliantAttribute' is not valid on property or event accessors. It is valid on `assembly, module, class, struct, enum, constructor, method, property, indexer, field, event, interface, parameter, delegate, return' declarations only -// GMCS1667: Attribute `System.CLSCompliantAttribute' is not valid on property or event accessors. It is valid on `assembly, module, class, struct, enum, constructor, method, property, indexer, field, event, interface, parameter, delegate, return, type parameter' declarations only -// Line: 11 - -using System; -using System.Diagnostics; + // CS1667: Attribute `System.ObsoleteAttribute' is not valid on property or event accessors. It is valid on `class, struct, enum, constructor, method, property, indexer, field, event, interface, delegate' declarations only +// Line: 14 -class Class1 -{ - public event ResolveEventHandler G { - [CLSCompliant(false)] - add {} - remove {} - } +class Test { + public static bool Error { + [System.Obsolete] set { + } + } } - +class MainClass { + public static void Main () { + Test.Error = false; + } +} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1669 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1669 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1669 2035-09-30 19:00:50.000000000 +0000 @@ -5,27 +5,23 @@ // CS1669: __arglist is not valid in this context // Line: 6 -class C +public class E { - public static explicit operator X (__arglist) - { - return null; - } + int this [__arglist] { get { return 1; } } } // CS1669: __arglist is not valid in this context // Line: 6 -public class E +class C { - int this [__arglist] { get { return 1; } } + public static explicit operator X (__arglist) + { + return null; + } } // CS1669: __arglist is not valid in this context -// Line: 4 - -delegate void F (__arglist); - // CS1669: __arglist is not valid in this context // Line: 10 delegate object D (object o); @@ -40,5 +36,9 @@ } } + // CS1669: __arglist is not valid in this context +// Line: 4 + +delegate void F (__arglist); \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1670 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1670 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1670 2035-09-30 19:00:50.000000000 +0000 @@ -3,6 +3,17 @@ CS1670 // CS1670: The `params' modifier is not allowed in current context +// Line: 6 + +class C +{ + public static explicit operator X (params C[] foo) + { + return null; + } +} + + // CS1670: The `params' modifier is not allowed in current context // Line: 10 delegate object D (params object[] args); @@ -17,16 +28,5 @@ } } - // CS1670: The `params' modifier is not allowed in current context -// Line: 6 - -class C -{ - public static explicit operator X (params C[] foo) - { - return null; - } -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1671 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1671 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1671 2035-09-30 19:00:50.000000000 +0000 @@ -3,6 +3,26 @@ CS1671 // CS1671: A namespace declaration cannot have modifiers or attributes +// Line : 14 + +using System; + +[assembly: CLSCompliant (false)] + +namespace N +{ +} + +[assembly: Obsolete] + +namespace M +{ +} + +public class C { + public static void Main () {} +} + // CS1671: A namespace declaration cannot have modifiers or attributes // Line: 5 using System; @@ -36,25 +56,5 @@ } } } - // CS1671: A namespace declaration cannot have modifiers or attributes -// Line : 14 - -using System; - -[assembly: CLSCompliant (false)] - -namespace N -{ -} - -[assembly: Obsolete] - -namespace M -{ -} - -public class C { - public static void Main () {} -} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1674 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1674 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1674 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,21 @@ CS1674 + // CS1674: `int': type used in a using statement must be implicitly convertible to `System.IDisposable' +// Line: 10 + +using System; + +class C +{ + void Method (IDisposable i) + { + using (int o = 1, b = 2) + { + } + } +} + // CS1674: `object': type used in a using statement must be implicitly convertible to `System.IDisposable' // Line: 10 @@ -28,21 +43,6 @@ } } } - // CS1674: `int': type used in a using statement must be implicitly convertible to `System.IDisposable' -// Line: 10 - -using System; - -class C -{ - void Method (IDisposable i) - { - using (int o = 1, b = 2) - { - } - } -} - // CS1674: `NoIDispose': type used in a using statement must be implicitly convertible to `System.IDisposable' // Line: 27 /usr/lib/monodoc/sources/cs-errors.zip/CS1676 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1676 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1676 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,19 @@ CS1676 + // CS1676: Parameter `1' must be declared with the `out' keyword +// Line: 10 + +class C +{ + delegate int D (out int i); + + public static void Main () + { + D d = a => 1; + } +} + // CS1676: Parameter `1' must be declared with the `ref' keyword // Line: 11 // @@ -16,18 +29,5 @@ } } - // CS1676: Parameter `1' must be declared with the `out' keyword -// Line: 10 - -class C -{ - delegate int D (out int i); - - public static void Main () - { - D d = a => 1; - } -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1681 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1681 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1681 2035-09-30 19:00:50.000000000 +0000 @@ -3,10 +3,6 @@ CS1681 // CS1681: The global extern alias cannot be redefined -// Line: 0 -// Compiler options: -r:global=CS1681-2-lib.dll - - // CS1681: The global extern alias cannot be redefined // Line: 3 extern alias global; using System; @@ -19,5 +15,9 @@ } + // CS1681: The global extern alias cannot be redefined +// Line: 0 +// Compiler options: -r:global=CS1681-2-lib.dll + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1685 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1685 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1685 2035-09-30 19:00:50.000000000 +0000 @@ -2,11 +2,6 @@ CS1685 - // CS1685: The predefined type `System.Runtime.CompilerServices.ExtensionAttribute' is defined multiple times. Using definition from `mscorlib.dll' -// Line: 0 -// Compiler options: -warn:1 -warnaserror -r:System.Core.dll -r:CS1685-2-lib.dll - - // CS1685: The predefined type `System.Int32' is defined multiple times. Using definition from `mscorlib.dll' // Line: 0 // Compiler options: -warn:1 -warnaserror @@ -16,5 +11,10 @@ } } + // CS1685: The predefined type `System.Runtime.CompilerServices.ExtensionAttribute' is defined multiple times. Using definition from `mscorlib.dll' +// Line: 0 +// Compiler options: -warn:1 -warnaserror -r:System.Core.dll -r:CS1685-2-lib.dll + + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1686 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1686 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1686 2035-09-30 19:00:50.000000000 +0000 @@ -11,33 +11,28 @@ unsafe class X { public D T (int a) { - int *y = &a; - return delegate { int x = a; }; + + int *y = &a; } } - // CS1686: Local variable or parameter `str' cannot have their address taken and be used inside an anonymous method, lambda expression or query expression + // CS1686: Local variable or parameter `a' cannot have their address taken and be used inside an anonymous method, lambda expression or query expression // Line: 11 // Compiler options: -unsafe -using System; - -unsafe struct S -{ - public fixed int i [10]; -} +delegate void D (); -class C -{ - static void Main () +unsafe class X { + public D T (int a) { - unsafe { - S str; - Func<int> e = () => str.i [3]; - } + int *y = &a; + + return delegate { + int x = a; + }; } } @@ -81,6 +76,28 @@ { } } + // CS1686: Local variable or parameter `str' cannot have their address taken and be used inside an anonymous method, lambda expression or query expression +// Line: 11 +// Compiler options: -unsafe + +using System; + +unsafe struct S +{ + public fixed int i [10]; +} + +class C +{ + static void Main () + { + unsafe { + S str; + Func<int> e = () => str.i [3]; + } + } +} + // CS1686: Local variable or parameter `i' cannot have their address taken and be used inside an anonymous method, lambda expression or query expression // Line: 16 // Compiler options: -unsafe @@ -102,22 +119,5 @@ static void Main () {} } - // CS1686: Local variable or parameter `a' cannot have their address taken and be used inside an anonymous method, lambda expression or query expression -// Line: 11 -// Compiler options: -unsafe - -delegate void D (); - -unsafe class X { - public D T (int a) - { - return delegate { - int x = a; - }; - - int *y = &a; - } -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1690 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1690 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1690 2035-09-30 19:00:50.000000000 +0000 @@ -3,6 +3,31 @@ CS1690 // CS1690: Cannot call methods, properties, or indexers on `A.point' because it is a value type member of a marshal-by-reference class +// Line: 22 +// Compiler options: -warn:1 -warnaserror + +using System; + +public struct Point +{ + public bool this [int i] { set { } } +} + +public class A : MarshalByRefObject +{ + public Point point = new Point (); +} + +public class Test +{ + public static void Main () + { + A a = new A (); + a.point [3] = false; + } +} + + // CS1690: Cannot call methods, properties, or indexers on `A.point' because it is a value type member of a marshal-by-reference class // Line: 27 // Compiler options: -warn:1 -warnaserror @@ -28,7 +53,7 @@ public static void Main () { A a = new A (); - Console.WriteLine (a.point.x); + a.point.x.val = 0; } } @@ -143,32 +168,7 @@ public static void Main () { A a = new A (); - a.point.x.val = 0; - } -} - - // CS1690: Cannot call methods, properties, or indexers on `A.point' because it is a value type member of a marshal-by-reference class -// Line: 22 -// Compiler options: -warn:1 -warnaserror - -using System; - -public struct Point -{ - public bool this [int i] { set { } } -} - -public class A : MarshalByRefObject -{ - public Point point = new Point (); -} - -public class Test -{ - public static void Main () - { - A a = new A (); - a.point [3] = false; + Console.WriteLine (a.point.x); } } /usr/lib/monodoc/sources/cs-errors.zip/CS1695 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1695 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1695 2035-09-30 19:00:50.000000000 +0000 @@ -6,19 +6,19 @@ // Line: 5 // Compiler options: -warnaserror -#pragma checksum "foo.txt" "{00000000-0000-0000-0000-000000000000}" "M" +#pragma checksum "foo.txt" "{00000000-0000-0000 -0000-000000000000}" "" // CS1695: Invalid #pragma checksum syntax. Expected "filename" "{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}" "XXXX..." // Line: 5 // Compiler options: -warnaserror -#pragma checksum "" ID +#pragma checksum "foo.txt" "{00000000-0000-0000-0000-000000000000}" "M" // CS1695: Invalid #pragma checksum syntax. Expected "filename" "{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}" "XXXX..." // Line: 5 // Compiler options: -warnaserror -#pragma checksum "foo.txt" "{00000000-0000-0000 -0000-000000000000}" "" +#pragma checksum "" ID \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1705 differs (XML 1.0 document, ASCII text, with very long lines) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1705 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1705 2035-09-30 19:00:50.000000000 +0000 @@ -4,7 +4,7 @@ // CS1705: Assembly `CS1705-lib, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' depends on `CS1705-lib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=36f3ae7e947792e3' which has a higher version number than referenced assembly `CS1705-lib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=36f3ae7e947792e3' // Line: 0 -// Compiler options: -r:CS1705-lib.dll -r:dlls/second/CS1705-lib.dll +// Compiler options: -r:CS1705-lib.dll -r:dlls/second/CS1705-lib.dll -keyfile:key.snk class C { @@ -16,7 +16,7 @@ // CS1705: Assembly `CS1705-lib, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' depends on `CS1705-lib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=36f3ae7e947792e3' which has a higher version number than referenced assembly `CS1705-lib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=36f3ae7e947792e3' // Line: 0 -// Compiler options: -r:CS1705-lib.dll -r:dlls/second/CS1705-lib.dll -keyfile:key.snk +// Compiler options: -r:CS1705-lib.dll -r:dlls/second/CS1705-lib.dll class C { /usr/lib/monodoc/sources/cs-errors.zip/CS1706 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1706 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1706 2035-09-30 19:00:50.000000000 +0000 @@ -3,6 +3,24 @@ CS1706 // CS1706: Anonymous methods and lambda expressions cannot be used in the current context +// Line: 13 + +using System; + +delegate int TestDelegate(); + +class MyAttr : Attribute +{ + public MyAttr (TestDelegate d) { } +} + +[MyAttr (() => 1)] +class C +{ +} + + + // CS1706: Anonymous methods and lambda expressions cannot be used in the current context // Line: 14 public delegate void Proc(); @@ -26,14 +44,14 @@ using System; -delegate int TestDelegate(); +delegate void TestDelegate(); class MyAttr : Attribute { - public MyAttr (TestDelegate d) { } + public MyAttr (TestDelegate d) { } } -[MyAttr (() => 1)] +[MyAttr (delegate {} )] class C { } @@ -49,23 +67,5 @@ const object c = new D (delegate {}); } - // CS1706: Anonymous methods and lambda expressions cannot be used in the current context -// Line: 13 - -using System; - -delegate void TestDelegate(); - -class MyAttr : Attribute -{ - public MyAttr (TestDelegate d) { } -} - -[MyAttr (delegate {} )] -class C -{ -} - - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1709 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1709 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1709 2035-09-30 19:00:50.000000000 +0000 @@ -6,13 +6,13 @@ // Line: 5 // Compiler options: -warnaserror -#line 5 "" +#pragma checksum "" "{ee1816fc-aa5e-4d10-8ff7-6f4963833f60}" "" // CS1709: Filename specified for preprocessor directive is empty // Line: 5 // Compiler options: -warnaserror -#pragma checksum "" "{ee1816fc-aa5e-4d10-8ff7-6f4963833f60}" "" +#line 5 "" \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1717 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1717 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1717 2035-09-30 19:00:50.000000000 +0000 @@ -8,9 +8,23 @@ class A { - public A (int a) + int i; + + void C () { - a = a; + i = i; + } +} + // CS1717: Assignment made to same variable; did you mean to assign something else? +// Line: 9 +// Compiler options: -warnaserror -warn:3 + +class A +{ + void B () + { + int l = 3; + l = l; } } // CS1717: Assignment made to same variable; did you mean to assign something else? @@ -43,23 +57,9 @@ class A { - int i; - - void C () - { - i = i; - } -} - // CS1717: Assignment made to same variable; did you mean to assign something else? -// Line: 9 -// Compiler options: -warnaserror -warn:3 - -class A -{ - void B () + public A (int a) { - int l = 3; - l = l; + a = a; } } /usr/lib/monodoc/sources/cs-errors.zip/CS1718 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1718 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1718 2035-09-30 19:00:50.000000000 +0000 @@ -3,20 +3,6 @@ CS1718 // CS1718: A comparison made to same variable. Did you mean to compare something else? -// Line: 12 -// Compiler options: -warnaserror -warn:3 - -class A -{ - delegate void D (); - D d = null; - - public A () - { - bool b = d == d; - } -} - // CS1718: A comparison made to same variable. Did you mean to compare something else? // Line: 10 // Compiler options: -warnaserror -warn:3 @@ -33,6 +19,20 @@ // CS1718: A comparison made to same variable. Did you mean to compare something else? +// Line: 12 +// Compiler options: -warnaserror -warn:3 + +class A +{ + delegate void D (); + D d = null; + + public A () + { + bool b = d == d; + } +} + // CS1718: A comparison made to same variable. Did you mean to compare something else? // Line: 10 // Compiler options: -warnaserror -warn:3 /usr/lib/monodoc/sources/cs-errors.zip/CS1720 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1720 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1720 2035-09-30 19:00:50.000000000 +0000 @@ -3,27 +3,27 @@ CS1720 // CS1720: Expression will always cause a `System.NullReferenceException' -// Line: 11 +// Line: 9 // Compiler options: -warnaserror -warn:1 -using System; - public class Tester { - public static void Main() + public static void GenericClass<T>(T t) where T : class { - Console.WriteLine(((object)null).ToString()); + string s = default(T).ToString(); } } // CS1720: Expression will always cause a `System.NullReferenceException' -// Line: 9 +// Line: 11 // Compiler options: -warnaserror -warn:1 +using System; + public class Tester { - public static void GenericClass<T>(T t) where T : class + public static void Foo () { - string s = default(T).ToString(); + Console.WriteLine(default(Tester).ToString()); } } // CS1720: Expression will always cause a `System.NullReferenceException' @@ -34,9 +34,9 @@ public class Tester { - public static void Foo () + public static void Main() { - Console.WriteLine(default(Tester).ToString()); + Console.WriteLine(((object)null).ToString()); } } /usr/lib/monodoc/sources/cs-errors.zip/CS1722 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1722 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1722 2035-09-30 19:00:50.000000000 +0000 @@ -2,18 +2,6 @@ CS1722 - // CS1722: `B': Base class `A1' must be specified as first -// Line: 9 -class A1 { -} - -interface I { -} - -class B : I, A1 { - static void Main () {} -} - // CS1722: `My.Namespace.MyBaseClass': Base class `My.Namespace.MyInterfaceBase' must be specified as first // Line: 21 @@ -40,5 +28,17 @@ } + // CS1722: `B': Base class `A1' must be specified as first +// Line: 9 +class A1 { +} + +interface I { +} + +class B : I, A1 { + static void Main () {} +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1725 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1725 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1725 2035-09-30 19:00:50.000000000 +0000 @@ -2,12 +2,12 @@ CS1725 - // CS1725: Friend assembly reference `main, Culture=neutral' is invalid. InternalsVisibleTo declarations cannot have a version, culture or processor architecture specified + // CS1725: Friend assembly reference `main, Version=1.1.1.1' is invalid. InternalsVisibleTo declarations cannot have a version, culture or processor architecture specified // Line: 6 using System.Runtime.CompilerServices; -[assembly: InternalsVisibleTo ("main, Culture=neutral")] +[assembly: InternalsVisibleTo ("main, Version=1.1.1.1")] class A { @@ -30,12 +30,12 @@ } } - // CS1725: Friend assembly reference `main, Version=1.1.1.1' is invalid. InternalsVisibleTo declarations cannot have a version, culture or processor architecture specified + // CS1725: Friend assembly reference `main, Culture=neutral' is invalid. InternalsVisibleTo declarations cannot have a version, culture or processor architecture specified // Line: 6 using System.Runtime.CompilerServices; -[assembly: InternalsVisibleTo ("main, Version=1.1.1.1")] +[assembly: InternalsVisibleTo ("main, Culture=neutral")] class A { /usr/lib/monodoc/sources/cs-errors.zip/CS1728 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1728 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1728 2035-09-30 19:00:50.000000000 +0000 @@ -2,33 +2,33 @@ CS1728 - // CS1728: Cannot create delegate from method `long?.GetValueOrDefault()' because it is a member of System.Nullable<T> type -// Line: 10 + // CS1728: Cannot create delegate from method `int?.GetValueOrDefault()' because it is a member of System.Nullable<T> type +// Line: 14 using System; class C { - public static void Main () + delegate int Test (); + event Test MyEvent; + + void Error () { - Func<long> a = new long?().GetValueOrDefault; + int? i = 0; + MyEvent += new Test (i.GetValueOrDefault); } } - // CS1728: Cannot create delegate from method `int?.GetValueOrDefault()' because it is a member of System.Nullable<T> type -// Line: 14 + // CS1728: Cannot create delegate from method `long?.GetValueOrDefault()' because it is a member of System.Nullable<T> type +// Line: 10 using System; class C { - delegate int Test (); - event Test MyEvent; - - void Error () + public static void Main () { - int? i = 0; - MyEvent += new Test (i.GetValueOrDefault); + Func<long> a = new long?().GetValueOrDefault; } } /usr/lib/monodoc/sources/cs-errors.zip/CS1729 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1729 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1729 2035-09-30 19:00:50.000000000 +0000 @@ -2,71 +2,6 @@ CS1729 - // CS1729: The type `C.S' does not contain a constructor that takes `3' arguments -// Line: 15 - -class C -{ - struct S - { - public S (int i) - { - } - } - - static void Main () - { - S i = new S (1,1,1); - } -} - - - // CS1729: The type `System.Runtime.CompilerServices.IndexerNameAttribute' does not contain a constructor that takes `4' arguments -// Line: 5 - -class MainClass { - [System.Runtime.CompilerServices.IndexerName("A", "", "", "")] - int this [int index] { - get { - return 0; - } - } - -} - - - // CS1729: The type `X' does not contain a constructor that takes `0' arguments -// Line: 11 -class X { - - X (int a) - { - } - - static void Main () - { - new X (); - } -} - - - // CS1729: The type `CS0143Test.A' does not contain a constructor that takes `2' arguments -// Line: 13 - -namespace CS0143Test -{ - public class A - { - static void Main () - { - string b="text"; - int c=2; - - A a = new A (b, c); - } - } -} - // CS1729: The type `object' does not contain a constructor that takes `1' arguments // Line: 8 @@ -103,41 +38,41 @@ } } - // CS1729: The type `X' does not contain a constructor that takes `2' arguments -// Line: 8 + // CS1729: The type `C.S' does not contain a constructor that takes `3' arguments +// Line: 15 -public struct X { - public X(int i) { } - - public static void Main() { - X x = new X("foo", "bar"); - } +class C +{ + struct S + { + public S (int i) + { + } + } + + static void Main () + { + S i = new S (1,1,1); + } } - - // CS1729: The type `A' does not contain a constructor that takes `1' arguments -// Line: 6 -public class A { - A[] test = { - new A("test") - }; -} - // CS1729: The type `A.Foo' does not contain a constructor that takes `1' arguments -// Line: 15 + // CS1729: The type `C' does not contain a constructor that takes `2' arguments +// Line: 16 -public class A +class C { - public class Foo + public C (int i) { } } -class Example +public class Blah { - public void Main(string[] args) + public static void Main () { - A a = new A.Foo ("test"); + dynamic d = 1; + var r = new C (1, d); } } @@ -149,22 +84,47 @@ [assembly:CLSCompliant()] - // CS1729: The type `C' does not contain a constructor that takes `2' arguments -// Line: 16 + // CS1729: The type `CS0143Test.A' does not contain a constructor that takes `2' arguments +// Line: 13 -class C +namespace CS0143Test { - public C (int i) + public class A { + static void Main () + { + string b="text"; + int c=2; + + A a = new A (b, c); + } } } + + // CS1729: The type `A' does not contain a constructor that takes `1' arguments +// Line: 6 -public class Blah +public class A { + A[] test = { + new A("test") + }; +} + + // CS1729: The type `A.Foo' does not contain a constructor that takes `1' arguments +// Line: 15 + +public class A { - public static void Main () + public class Foo { - dynamic d = 1; - var r = new C (1, d); + } +} + +class Example +{ + public void Main(string[] args) + { + A a = new A.Foo ("test"); } } @@ -186,15 +146,17 @@ } } - // CS1729: The type `int' does not contain a constructor that takes `1' arguments /usr/lib/monodoc/sources/cs-errors.zip/CS1738 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1738 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1738 2035-09-30 19:00:50.000000000 +0000 @@ -3,23 +3,6 @@ CS1738 // CS1738: Named arguments must appear after the positional arguments when using language version older than 7.2 -// Line: 14 - -class C -{ - int this [int a, string s] { - get { - return 1; - } - } - - void Test () - { - var r = this [a : 1, "out"]; - } -} - - // CS1738: Named arguments must appear after the positional arguments when using language version older than 7.2 // Line: 13 using System; @@ -37,6 +20,23 @@ } // CS1738: Named arguments must appear after the positional arguments when using language version older than 7.2 +// Line: 14 + +class C +{ + int this [int a, string s] { + get { + return 1; + } + } + + void Test () + { + var r = this [a : 1, "out"]; + } +} + + // CS1738: Named arguments must appear after the positional arguments when using language version older than 7.2 // Line: 12 class C /usr/lib/monodoc/sources/cs-errors.zip/CS1739 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1739 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1739 2035-09-30 19:00:50.000000000 +0000 @@ -2,18 +2,24 @@ CS1739 - // CS1739: The best overloaded method match for `Program.M(int, int, int)' does not contain a parameter named `whatever' -// Line: 8 + // CS1739: The best overloaded method match for `System.Delegate.DynamicInvoke(params object[])' does not contain a parameter named `b' +// Line: 18 -public class Program +using System; + +class C { - public static void Main () + delegate int IntDelegate (int a); + + static int TestInt (int u) { - M (z: 1, whatever: 0); + return 29; } - - void M (int x = 0, int y = 0, int z = 0) + + public static void Main () { + var del = new IntDelegate (TestInt); + del.DynamicInvoke (b : 7); } } @@ -52,24 +58,18 @@ } } - // CS1739: The best overloaded method match for `System.Delegate.DynamicInvoke(params object[])' does not contain a parameter named `b' -// Line: 18 - -using System; + // CS1739: The best overloaded method match for `Program.M(int, int, int)' does not contain a parameter named `whatever' +// Line: 8 -class C +public class Program { - delegate int IntDelegate (int a); - - static int TestInt (int u) + public static void Main () { - return 29; + M (z: 1, whatever: 0); } - - public static void Main () + + void M (int x = 0, int y = 0, int z = 0) { - var del = new IntDelegate (TestInt); - del.DynamicInvoke (b : 7); } } /usr/lib/monodoc/sources/cs-errors.zip/CS1742 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1742 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1742 2035-09-30 19:00:50.000000000 +0000 @@ -3,6 +3,18 @@ CS1742 // CS1742: An element access expression cannot use named argument +// Line: 9 + +class C +{ + public static void Main () + { + int[] o = new int[5]; + o [u:3] = 9; + } +} + + // CS1742: An element access expression cannot use named argument // Line: 13 // Compiler options: -unsafe @@ -19,17 +31,5 @@ } } - // CS1742: An element access expression cannot use named argument -// Line: 9 - -class C -{ - public static void Main () - { - int[] o = new int[5]; - o [u:3] = 9; - } -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1744 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1744 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1744 2035-09-30 19:00:50.000000000 +0000 @@ -3,18 +3,17 @@ CS1744 // CS1744: Named argument `a' cannot be used for a parameter which has positional argument specified -// Line: 13 +// Line: 12 static class C { - public static int Test (this int a, int b) + public static void Test (int a, int b) { - return a * 3 + b; } public static void Main () { - 1.Test (a : 2); + Test (1, a : 2); } } @@ -38,17 +37,18 @@ } // CS1744: Named argument `a' cannot be used for a parameter which has positional argument specified -// Line: 12 +// Line: 13 static class C { - public static void Test (int a, int b) + public static int Test (this int a, int b) { + return a * 3 + b; } public static void Main () { - Test (1, a : 2); + 1.Test (a : 2); } } /usr/lib/monodoc/sources/cs-errors.zip/CS1745 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1745 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1745 2035-09-30 19:00:50.000000000 +0000 @@ -2,26 +2,26 @@ CS1745 - // CS1745: Cannot specify `System.Runtime.InteropServices.Optional' attribute on optional parameter `u' + // CS1745: Cannot specify `System.Runtime.InteropServices.DefaultParameterValue' attribute on optional parameter `u' // Line: 8 using System.Runtime.InteropServices; public class C { - public static void Test ([Optional] int u = 2) + public static void Test ([DefaultParameterValue (1)] int u = 2) { } } - // CS1745: Cannot specify `System.Runtime.InteropServices.DefaultParameterValue' attribute on optional parameter `u' + // CS1745: Cannot specify `System.Runtime.InteropServices.Optional' attribute on optional parameter `u' // Line: 8 using System.Runtime.InteropServices; public class C { - public static void Test ([DefaultParameterValue (1)] int u = 2) + public static void Test ([Optional] int u = 2) { } } /usr/lib/monodoc/sources/cs-errors.zip/CS1750 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1750 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1750 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,20 @@ CS1750 + // CS1750: Optional parameter expression of type `S' cannot be converted to parameter type `C' +// Line: 10 + +struct S +{ +} + +class C +{ + public static void Test (C c = new S ()) + { + } +} + // CS1750: Optional parameter expression of type `decimal' cannot be converted to parameter type `int?' // Line: 6 @@ -46,19 +60,5 @@ public int Field; } - // CS1750: Optional parameter expression of type `S' cannot be converted to parameter type `C' -// Line: 10 - -struct S -{ -} - -class C -{ - public static void Test (C c = new S ()) - { - } -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1908 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1908 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1908 2035-09-30 19:00:50.000000000 +0000 @@ -3,10 +3,10 @@ CS1908 // CS1908: The type of the default value should match the type of the parameter -// Line: 5 +// Line: class Test { - internal void f ([System.Runtime.InteropServices.DefaultParameterValue (1)] short x) + internal void f ([System.Runtime.InteropServices.DefaultParameterValue ((short) 1)] int x) { } } @@ -21,10 +21,10 @@ } // CS1908: The type of the default value should match the type of the parameter -// Line: +// Line: 5 class Test { - internal void f ([System.Runtime.InteropServices.DefaultParameterValue (null)] short x) + internal void f ([System.Runtime.InteropServices.DefaultParameterValue (1)] short x) { } } @@ -33,7 +33,7 @@ // Line: class Test { - internal void f ([System.Runtime.InteropServices.DefaultParameterValue ((short) 1)] int x) + internal void f ([System.Runtime.InteropServices.DefaultParameterValue (null)] short x) { } } /usr/lib/monodoc/sources/cs-errors.zip/CS1922 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1922 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1922 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,19 @@ CS1922 + // CS1922: A field or property `GCEventTypeMatcher' cannot be initialized with a collection object initializer because type `GCEventTypeMatcher' does not implement `System.Collections.IEnumerable' interface +// Line: 11 + +using System; + +public enum GCEventType { + NURSERY_START +} + +public class GCEventTypeMatcher { + private static GCEventTypeMatcher[] matcher = { new GCEventTypeMatcher () { NURSERY_START, s => TRUE } }; +} + // CS1922: A field or property `System.Type' cannot be initialized with a collection object initializer because type `System.Type' does not implement `System.Collections.IEnumerable' interface // Line: 13 @@ -20,19 +33,6 @@ } - // CS1922: A field or property `GCEventTypeMatcher' cannot be initialized with a collection object initializer because type `GCEventTypeMatcher' does not implement `System.Collections.IEnumerable' interface -// Line: 11 - -using System; - -public enum GCEventType { - NURSERY_START -} - -public class GCEventTypeMatcher { - private static GCEventTypeMatcher[] matcher = { new GCEventTypeMatcher () { NURSERY_START, s => TRUE } }; -} - // CS1922: A field or property `Data.Value' cannot be initialized with a collection object initializer because type `int' does not implement `System.Collections.IEnumerable' interface // Line: 16 /usr/lib/monodoc/sources/cs-errors.zip/CS1929 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1929 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1929 2035-09-30 19:00:50.000000000 +0000 @@ -2,21 +2,18 @@ CS1929 - // CS1929: Type `int' does not contain a member `Foo' and the best extension method overload `S.Foo(this uint)' requires an instance of type `uint' -// Line: 15 + // CS1929: Type `int' does not contain a member `Check' and the best extension method overload `C.Check(this string)' requires an instance of type `string' +// Line: 12 -static class S +static class C { - public static void Foo (this uint i) + public static void Check (this string s) { } -} -class B -{ static void Main () { - 55.Foo (); + 1.Check (); } } @@ -43,18 +40,21 @@ } } - // CS1929: Type `int' does not contain a member `Check' and the best extension method overload `C.Check(this string)' requires an instance of type `string' -// Line: 12 + // CS1929: Type `int' does not contain a member `Foo' and the best extension method overload `S.Foo(this uint)' requires an instance of type `uint' +// Line: 15 -static class C +static class S { - public static void Check (this string s) + public static void Foo (this uint i) { } +} +class B +{ static void Main () { - 1.Check (); + 55.Foo (); } } /usr/lib/monodoc/sources/cs-errors.zip/CS1930 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1930 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1930 2035-09-30 19:00:50.000000000 +0000 @@ -2,8 +2,8 @@ CS1930 - // CS1930: A range variable `v' has already been declared in this scope -// Line: 13 + // CS1930: A range variable `i' has already been declared in this scope +// Line: 14 using System; @@ -14,13 +14,14 @@ public static void Main () { var e = from v in "a" - let v = 1 + let i = 1 + let i = 2 select v; } } - // CS1930: A range variable `i' has already been declared in this scope -// Line: 14 + // CS1930: A range variable `v' has already been declared in this scope +// Line: 13 using System; @@ -31,8 +32,7 @@ public static void Main () { var e = from v in "a" - let i = 1 - let i = 2 + let v = 1 select v; } } /usr/lib/monodoc/sources/cs-errors.zip/CS1935 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1935 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1935 2035-09-30 19:00:50.000000000 +0000 @@ -2,31 +2,31 @@ CS1935 - // CS1935: An implementation of `Select' query expression pattern could not be found. Are you missing `System.Linq' using directive or `System.Core.dll' assembly reference? -// Line: 10 + // CS1935: An implementation of `Cast' query expression pattern could not be found. Are you missing `System.Linq' using directive or `System.Core.dll' assembly reference? +// Line: 12 public class Test { + class Enumerable {} + static void Main () { var v = new int[0]; - var foo = from a in v select a; + var foo = from int a in v where a > 0 select a; } } - // CS1935: An implementation of `Cast' query expression pattern could not be found. Are you missing `System.Linq' using directive or `System.Core.dll' assembly reference? -// Line: 12 + // CS1935: An implementation of `Select' query expression pattern could not be found. Are you missing `System.Linq' using directive or `System.Core.dll' assembly reference? +// Line: 10 public class Test { - class Enumerable {} - static void Main () { var v = new int[0]; - var foo = from int a in v where a > 0 select a; + var foo = from a in v select a; } } /usr/lib/monodoc/sources/cs-errors.zip/CS1942 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1942 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1942 2035-09-30 19:00:50.000000000 +0000 @@ -3,6 +3,21 @@ CS1942 // CS1942: An expression type in `select' clause is incorrect. Type inference failed in the call to `Select' +// Line: 12 + +using System; +using System.Linq; + +class C +{ + public static void Main () + { + var e = from values in "abcd" + select null; + } +} + + // CS1942: An expression type in `select' clause is incorrect. Type inference failed in the call to `Select' // Line: 18 using System; @@ -23,20 +38,5 @@ } } - // CS1942: An expression type in `select' clause is incorrect. Type inference failed in the call to `Select' -// Line: 12 - -using System; -using System.Linq; - -class C -{ - public static void Main () - { - var e = from values in "abcd" - select null; - } -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS1944 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1944 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1944 2035-09-30 19:00:50.000000000 +0000 @@ -3,7 +3,7 @@ CS1944 // CS1944: An expression tree cannot contain an unsafe pointer operation -// Line: 14 +// Line: 15 // Compiler options: -unsafe using System; @@ -11,11 +11,12 @@ class C { - unsafe delegate byte* D (int*[] d); + unsafe delegate int* D (int i); + public static void Main () { unsafe { - Expression<D> e6 = (p) => (byte*)p [10]; + Expression<D> e = (int p) => &p; } } } @@ -29,12 +30,12 @@ class C { - unsafe delegate int* D (int i); + unsafe delegate int* D (int* i); public static void Main () { unsafe { - Expression<D> e = (int p) => &p; + Expression<D> e = p => p + 1; } } } @@ -48,18 +49,18 @@ class C { - unsafe delegate int* D (int* i); + unsafe delegate int D (int* i); public static void Main () { unsafe { - Expression<D> e = p => p + 1; + Expression<D> e = p => *p; } } } // CS1944: An expression tree cannot contain an unsafe pointer operation -// Line: 13 +// Line: 14 // Compiler options: -unsafe using System; @@ -67,16 +68,17 @@ class C { + unsafe delegate byte* D (int*[] d); public static void Main () { unsafe { - Expression<Func<int>> e = () => sizeof (long*); + Expression<D> e6 = (p) => (byte*)p [10]; } } } // CS1944: An expression tree cannot contain an unsafe pointer operation -// Line: 14 +// Line: 15 // Compiler options: -unsafe using System; @@ -84,17 +86,18 @@ class C { + unsafe delegate int* D (); + public static void Main () { unsafe { - int*[] p = null; - Expression<Func<int>> e6 = () => (int)p [10]; + Expression<D> e = () => default (int*); } } } // CS1944: An expression tree cannot contain an unsafe pointer operation -// Line: 15 +// Line: 13 // Compiler options: -unsafe using System; @@ -102,18 +105,16 @@ class C { - unsafe delegate int* D (); - public static void Main () { unsafe { - Expression<D> e = () => default (int*); + Expression<Func<int>> e = () => sizeof (long*); } } } // CS1944: An expression tree cannot contain an unsafe pointer operation -// Line: 15 +// Line: 14 // Compiler options: -unsafe using System; @@ -121,12 +122,11 @@ class C { - unsafe delegate int D (int* i); - public static void Main () { unsafe { - Expression<D> e = p => *p; + int*[] p = null; + Expression<Func<int>> e6 = () => (int)p [10]; } } } /usr/lib/monodoc/sources/cs-errors.zip/CS1948 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1948 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1948 2035-09-30 19:00:50.000000000 +0000 @@ -3,8 +3,7 @@ CS1948 // CS1948: A range variable `T' conflicts with a method type parameter -// Line: 12 - +// Line: 13 using System; using System.Linq; @@ -13,13 +12,15 @@ { public static void Foo <T> () { + var s = "0"; var e = from T in "a" - select T; + select T + s; } } // CS1948: A range variable `T' conflicts with a method type parameter -// Line: 13 +// Line: 12 + using System; using System.Linq; @@ -28,9 +29,8 @@ { public static void Foo <T> () { - var s = "0"; var e = from T in "a" - select T + s; + select T; } } /usr/lib/monodoc/sources/cs-errors.zip/CS1951 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1951 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1951 2035-09-30 19:00:50.000000000 +0000 @@ -10,11 +10,11 @@ class C { - delegate int D (out int a); + delegate int D (ref int a); public static void Main () { - Expression<D> e = (out int a) => a = 0; + Expression<D> e = (ref int a) => a; } } @@ -26,11 +26,11 @@ class C { - delegate int D (ref int a); + delegate int D (out int a); public static void Main () { - Expression<D> e = (ref int a) => a; + Expression<D> e = (out int a) => a = 0; } } /usr/lib/monodoc/sources/cs-errors.zip/CS1961 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1961 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1961 2035-09-30 19:00:50.000000000 +0000 @@ -2,26 +2,16 @@ CS1961 - // CS1961: The contravariant type parameter `T' must be invariantly valid on `B<T>' + // CS1961: The contravariant type parameter `T' must be invariantly valid on `B<T>()' // Line: 8 interface A<T> { } -interface B<in T> : A<T> -{ -} - - // CS1961: The covariant type parameter `T' must be invariantly valid on `A<T>.B(ref T)' -// Line: 4 - -interface A<out T> -{ - void B(ref T t); -} +delegate A<A<T>> B<in T> (); - // CS1961: The covariant type parameter `T' must be invariantly valid on `B<T>.C(A<T>)' + // CS1923: The covariant type parameter `T' must be invariantly valid on `B<T>.C(A<A<T>>)' // Line: 8 interface A<T> @@ -30,17 +20,8 @@ interface B<out T> { - void C(A<T> a); -} - - // CS1961: The covariant type parameter `T' must be invariantly valid on `B<T>(A<A<T>>)' -// Line: 8 - -interface A<T> -{ + void C(A<A<T>> a); } - -delegate void B<out T> (A<A<T>> a); // CS1961: The covariant type parameter `T' must be contravariantly valid on `B<T>' // Line: 8 @@ -53,27 +34,19 @@ { } - // CS1961: The contravariant type parameter `T' must be covariantly valid on `A<T>.B()' -// Line: 6 - -interface A<in T> -{ - T B(); -} - - // CS1961: The contravariant type parameter `T' must be invariantly valid on `B<T>.A' + // CS1961: The covariant type parameter `T' must be invariantly valid on `B<T>.C()' // Line: 8 interface A<T> { } -interface B<in T> +interface B<out T> { - A<A<T>> A { get; } + A<T> C(); } - // CS1961: The covariant type parameter `T' must be invariantly valid on `B<T>.C()' + // CS1961: The covariant type parameter `T' must be invariantly valid on `B<T>.A' // Line: 8 interface A<T> @@ -82,15 +55,25 @@ interface B<out T> { - A<A<T>> C(); + A<T> A { get; } } - // CS1961: The covariant type parameter `U' must be contravariantly valid on `D<U>()' -// Line: 6 + // CS1961: The contravariant type parameter `T' must be covariantly valid on `D<T>()' +// Line: 4 -interface IContravariant<in T> { } +delegate T D<in T> (); + + // CS1961: The contravariant type parameter `T' must be invariantly valid on `B<T>.A' +// Line: 8 -delegate IContravariant<U[]> D<out U> (); +interface A<T> +{ +} + +interface B<in T> +{ + A<T> A { get; } +} // CS1961: The contravariant type parameter `T' must be covariantly valid on `B<T>.A' // Line: 8 @@ -104,40 +87,38 @@ A<T> A { get; } } - // CS1961: The covariant type parameter `T' must be invariantly valid on `B<T>.C(A<T>)' + // CS1961: The contravariant type parameter `T' must be invariantly valid on `B<T>.A' // Line: 8 interface A<T> { } -interface B<out T> +interface B<in T> { - void C(A<T> a); + A<A<T>> A { get; } } - // CS1961: The contravariant type parameter `T' must be invariantly valid on `B<T>.C()' + // CS1961: The contravariant type parameter `T' must be invariantly valid on `B<T>' // Line: 8 interface A<T> { } -interface B<in T> +interface B<in T> : A<T> { - A<T> C(); } - // CS1923: The covariant type parameter `T' must be invariantly valid on `B<T>.C(A<A<T>>)' + // CS1961: The contravariant type parameter `T' must be covariantly valid on `B<T>' // Line: 8 -interface A<T> +interface A<out T> { } -interface B<out T> +interface B<in T> : A<T> { - void C(A<A<T>> a); } // CS1961: The covariant type parameter `V' must be contravariantly valid on `I<V>.Foo<T>(T)' @@ -148,34 +129,19 @@ void Foo<T> (T t) where T : V; } - // CS1961: The contravariant type parameter `T' must be invariantly valid on `B<T>()' + // CS1961: The contravariant type parameter `T' must be invariantly valid on `B<T>.C(A<T>)' // Line: 8 interface A<T> { } -delegate A<T> B<in T> (); - - // CS1961: The contravariant type parameter `T' must be invariantly valid on `B<T>()' -// Line: 8 - -interface A<T> +interface B<in T> { + void C(A<T> a); } - -delegate A<A<T>> B<in T> (); - - // CS1961: The covariant type parameter `V' must be invariantly valid on `Both<U,V>(Covariant<None<Contra<V>>>)' -// Line: 8 - -delegate T Covariant<out T> (); -delegate void Contra<in T> (T t); -delegate void None<T> (T t); - -delegate void Both<in U, out V> (Covariant<None<Contra<V>>> b); - // CS1961: The covariant type parameter `T' must be invariantly valid on `B<T>.A' + // CS1961: The covariant type parameter `T' must be invariantly valid on `B<T>.C(A<T>)' // Line: 8 /usr/lib/monodoc/sources/cs-errors.zip/CS1966 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1966 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1966 2035-09-30 19:00:50.000000000 +0000 @@ -2,14 +2,14 @@ CS1966 - // CS1966: `C': cannot implement a dynamic interface `I<I<dynamic>>' + // CS1966: `C': cannot implement a dynamic interface `I<dynamic>' // Line: 8 interface I<T> { } -class C : I<I<dynamic>> +class C : I<dynamic> { } @@ -24,14 +24,14 @@ { } - // CS1966: `C': cannot implement a dynamic interface `I<dynamic>' + // CS1966: `C': cannot implement a dynamic interface `I<I<dynamic>>' // Line: 8 interface I<T> { } -class C : I<dynamic> +class C : I<I<dynamic>> { } /usr/lib/monodoc/sources/cs-errors.zip/CS1978 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1978 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1978 2035-09-30 19:00:50.000000000 +0000 @@ -15,7 +15,7 @@ } } - // CS1978: An expression of type `void' cannot be used as an argument of dynamic operation + // CS1978: An expression of type `__arglist' cannot be used as an argument of dynamic operation // Line: 9 class C @@ -23,11 +23,11 @@ public static void Main () { dynamic d = null; - d (Main ()); + d (__arglist (111)); } } - // CS1978: An expression of type `__arglist' cannot be used as an argument of dynamic operation + // CS1978: An expression of type `void' cannot be used as an argument of dynamic operation // Line: 9 class C @@ -35,7 +35,7 @@ public static void Main () { dynamic d = null; - d (__arglist (111)); + d (Main ()); } } /usr/lib/monodoc/sources/cs-errors.zip/CS1982 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1982 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1982 2035-09-30 19:00:50.000000000 +0000 @@ -3,14 +3,23 @@ CS1982 // CS1982: An attribute argument cannot be dynamic expression -// Line: 6 +// Line: 13 using System; -[A(typeof (dynamic[]))] -public class A : Attribute +class AAttribute : Attribute { - public A (object arg) + public AAttribute (dynamic X) + { + } +} + +[A (Test.B)] +class Test +{ + public static dynamic B; + + static void Main () { } } @@ -29,23 +38,14 @@ } // CS1982: An attribute argument cannot be dynamic expression -// Line: 13 +// Line: 6 using System; -class AAttribute : Attribute -{ - public AAttribute (dynamic X) - { - } -} - -[A (Test.B)] -class Test +[A(typeof (dynamic[]))] +public class A : Attribute { - public static dynamic B; - - static void Main () + public A (object arg) { } } @@ -55,7 +55,7 @@ using System; -[A(typeof (Func<dynamic>))] +[A((dynamic) null)] public class A : Attribute { public A (Type arg) @@ -68,7 +68,7 @@ using System; -[A((dynamic) null)] +[A(typeof (Func<dynamic>))] public class A : Attribute { public A (Type arg) /usr/lib/monodoc/sources/cs-errors.zip/CS1986 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS1986 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS1986 2035-09-30 19:00:50.000000000 +0000 @@ -2,8 +2,8 @@ CS1986 - // CS1986: The `await' operand type `int' must have suitable GetAwaiter method -// Line: 15 + // CS1986: The `await' operand type `A' must have suitable GetAwaiter method +// Line: 17 static class S { @@ -14,38 +14,38 @@ class A { + bool GetAwaiter; + static async void Test () { - await 1; + await new A (); } } - // CS1986: The `await' operand type `A' must have suitable GetAwaiter method -// Line: 17 + // CS1986: The `await' operand type `int' must have suitable GetAwaiter method +// Line: 16 static class S { - public static void GetAwaiter (this int i) + public static int GetAwaiter<T> (this int i) { + return 1; } } class A { - bool GetAwaiter; - static async void Test () { - await new A (); + await 9; } } // CS1986: The `await' operand type `int' must have suitable GetAwaiter method -// Line: 16 +// Line: 15 static class S { - public static int GetAwaiter<T> (this int i) + public static void GetAwaiter (this int i) { - return 1; } } @@ -53,7 +53,7 @@ { static async void Test () { - await 9; + await 1; } } /usr/lib/monodoc/sources/cs-errors.zip/CS3001 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS3001 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS3001 2035-09-30 19:00:50.000000000 +0000 @@ -2,22 +2,14 @@ CS3001 - // CS3001: Argument type `sbyte' is not CLS-compliant -// Line: 9 + // CS3001: Argument type `ulong' is not CLS-compliant +// Line: 8 // Compiler options: -warnaserror -warn:1 using System; -[assembly:CLSCompliant(true)] +[assembly:CLSCompliant (true)] -public class CLSClass { - static public implicit operator CLSClass(byte value) { - return new CLSClass(); - } - - static public implicit operator CLSClass(sbyte value) { - return new CLSClass(); - } -} +public delegate long MyDelegate (ulong arg); // CS3001: Argument type `ulong' is not CLS-compliant // Line: 14 @@ -35,18 +27,18 @@ void Test (ulong arg); } - // CS3001: Argument type `int*' is not CLS-compliant + // CS3001: Argument type `ulong' is not CLS-compliant // Line: 9 -// Compiler options: -unsafe -warnaserror -warn:1 +// Compiler options: -warnaserror -warn:1 using System; [assembly:CLSCompliant(true)] -unsafe public abstract class CLSClass { - public void Method (int* param) {} +public interface I { + long this[ulong indexA] { set; } } - // CS3001: Argument type `ulong' is not CLS-compliant + // CS3001: Argument type `sbyte' is not CLS-compliant // Line: 9 // Compiler options: -warnaserror -warn:1 @@ -54,11 +46,18 @@ [assembly:CLSCompliant (true)] public class CLSClass { - public long this [ulong index] { - get { - return 2; - } - } + protected internal void Foo (string text, sbyte value) { } +} + + // CS3001: Argument type `int*' is not CLS-compliant +// Line: 9 +// Compiler options: -unsafe -warnaserror -warn:1 + +using System; +[assembly:CLSCompliant(true)] + +unsafe public abstract class CLSClass { + public void Method (int* param) {} } // CS3001: Argument type `IError' is not CLS-compliant @@ -85,65 +84,66 @@ // Compiler options: -warnaserror -warn:1 using System; -[assembly:CLSCompliant(true)] +[assembly:CLSCompliant (true)] -public class CLSClass { - public delegate int MyDelegate(sbyte i); +public static class CLSClass +{ + public static void Foo (this sbyte value) { } } // CS3001: Argument type `ulong' is not CLS-compliant -// Line: 10 +// Line: 9 // Compiler options: -warnaserror -warn:1 using System; [assembly:CLSCompliant (true)] public class CLSClass { - public CLSClass (long a) {} - public CLSClass (ref ulong a) {} + public long this [ulong index] { + get { + return 2; + } + } } - // CS3001: Argument type `sbyte' is not CLS-compliant -// Line: 9 + // CS3001: Argument type `ulong' is not CLS-compliant +// Line: 10 // Compiler options: -warnaserror -warn:1 using System; [assembly:CLSCompliant (true)] -public static class CLSClass -{ - public static void Foo (this sbyte value) { } +public class CLSClass { + public CLSClass (long a) {} + public CLSClass (ref ulong a) {} } - // CS3001: Argument type `ulong' is not CLS-compliant + // CS3001: Argument type `sbyte' is not CLS-compliant // Line: 9 // Compiler options: -warnaserror -warn:1 using System; [assembly:CLSCompliant(true)] -public interface I { - long this[ulong indexA] { set; } +public class CLSClass { + static public implicit operator CLSClass(byte value) { + return new CLSClass(); + } + + static public implicit operator CLSClass(sbyte value) { + return new CLSClass(); + } } - // CS3001: Argument type `ulong' is not CLS-compliant -// Line: 8 -// Compiler options: -warnaserror -warn:1 - -using System; -[assembly:CLSCompliant (true)] - -public delegate long MyDelegate (ulong arg); - // CS3001: Argument type `sbyte' is not CLS-compliant // Line: 9 // Compiler options: -warnaserror -warn:1 using System; -[assembly:CLSCompliant (true)] +[assembly:CLSCompliant(true)] public class CLSClass { - protected internal void Foo (string text, sbyte value) { } + public delegate int MyDelegate(sbyte i); } /usr/lib/monodoc/sources/cs-errors.zip/CS3002 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS3002 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS3002 2035-09-30 19:00:50.000000000 +0000 @@ -2,24 +2,15 @@ CS3002 - // CS3002: Return type of `CLSClass.Foo()' is not CLS-compliant -// Line: 14 + // CS3002: Return type of `CLSClass.MyDelegate' is not CLS-compliant +// Line: 9 // Compiler options: -warnaserror -warn:1 using System; [assembly:CLSCompliant(true)] public class CLSClass { - [CLSCompliant(false)] - public ulong Valid() { - return 1; - } - - protected internal ulong Foo() { - return 1; - } - - static void Main() {} + public delegate uint MyDelegate(); } // CS3002: Return type of `CLSClass.Foo()' is not CLS-compliant @@ -48,46 +39,21 @@ ulong Error(); } - // CS3002: Return type of `CLSClass.MyDelegate' is not CLS-compliant -// Line: 9 -// Compiler options: -warnaserror -warn:1 - -using System; -[assembly:CLSCompliant(true)] - -public class CLSClass { - public delegate uint MyDelegate(); -} - - // CS3002: Return type of `Delegate' is not CLS-compliant -// Line: 8 + // CS3002: Return type of `CLSClass.Test1()' is not CLS-compliant +// Line: 14 // Compiler options: -warnaserror -warn:1 using System; [assembly:CLSCompliant(true)] -public delegate CLSDelegate Delegate (); - -[Serializable] -[CLSCompliant (false)] -public class CLSDelegate { -} - - // CS3002: Return type of `CLSClass.Foo()' is not CLS-compliant -// Line: 13 -// Compiler options: -warnaserror -warn:1 +[CLSCompliant(false)] +public interface I {} -using System; -[assembly:CLSCompliant(true)] +public class C {} public class CLSClass { - private ulong Valid() { - return 1; - } - - protected ulong Foo() { - return 1; - } + public I Test1() { return null; } + public C Test2() { return null; } } // CS3002: Return type of `CLSClass.Foo()' is not CLS-compliant @@ -109,6 +75,20 @@ static void Main() {} } + // CS3002: Return type of `Delegate' is not CLS-compliant +// Line: 8 +// Compiler options: -warnaserror -warn:1 + +using System; +[assembly:CLSCompliant(true)] + +public delegate CLSDelegate Delegate (); + +[Serializable] +[CLSCompliant (false)] +public class CLSDelegate { +} + // CS3002: Return type of `CLSClass.Foo()' is not CLS-compliant // Line: 10 // Compiler options: -warnaserror -warn:1 @@ -124,21 +104,41 @@ } } - // CS3002: Return type of `CLSClass.Test1()' is not CLS-compliant + // CS3002: Return type of `CLSClass.Foo()' is not CLS-compliant // Line: 14 // Compiler options: -warnaserror -warn:1 using System; [assembly:CLSCompliant(true)] -[CLSCompliant(false)] -public interface I {} +public class CLSClass { + [CLSCompliant(false)] + public ulong Valid() { + return 1; + } + + protected internal ulong Foo() { + return 1; + } + + static void Main() {} +} + + // CS3002: Return type of `CLSClass.Foo()' is not CLS-compliant +// Line: 13 +// Compiler options: -warnaserror -warn:1 -public class C {} +using System; +[assembly:CLSCompliant(true)] public class CLSClass { - public I Test1() { return null; } - public C Test2() { return null; } + private ulong Valid() { + return 1; + } + + protected ulong Foo() { + return 1; + } } /usr/lib/monodoc/sources/cs-errors.zip/CS3003 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS3003 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS3003 2035-09-30 19:00:50.000000000 +0000 @@ -2,31 +2,28 @@ CS3003 - // CS3003: Type of `S.test2' is not CLS-compliant -// Line: 11 -// Compiler options: -unsafe -warnaserror -warn:1 + // CS3003: Type of `CLSClass.MyEvent' is not CLS-compliant +// Line: 8 +// Compiler options: -warnaserror -warn:1 -using System; +[assembly:System.CLSCompliant (true)] -[assembly: CLSCompliant (true)] +[System.CLSCompliant (false)] +public delegate void MyDelegate (); -public unsafe struct S -{ - public fixed bool test2 [4]; +public class CLSClass { + public event MyDelegate MyEvent; } - // CS3003: Type of `C._data' is not CLS-compliant -// Line: 11 -// Compiler options: -unsafe -warnaserror -warn:1 + // CS3003: Type of `I.Error' is not CLS-compliant +// Line: 9 +// Compiler options: -warnaserror -warn:1 using System; +[assembly:CLSCompliant(true)] -[assembly: CLSCompliant (true)] - -public class C -{ - public unsafe byte* _data; - public unsafe byte* GetData () { return _data; } +public interface I { + UIntPtr Error { get; } } // CS3003: Type of `I.Foo' is not CLS-compliant @@ -53,6 +50,17 @@ ulong this[bool index] { get; } } + // CS3003: Type of `CLSClass.value' is not CLS-compliant +// Line: 9 +// Compiler options: -warnaserror -warn:1 + +using System; +[assembly:CLSCompliant(true)] + +public class CLSClass { + protected uint value; +} + // CS3003: Type of `CLSClass.Index' is not CLS-compliant // Line: 9 // Compiler options: -warnaserror -warn:1 @@ -68,39 +76,31 @@ } } - // CS3003: Type of `CLSClass.MyEvent' is not CLS-compliant -// Line: 8 -// Compiler options: -warnaserror -warn:1 + // CS3003: Type of `C._data' is not CLS-compliant +// Line: 11 +// Compiler options: -unsafe -warnaserror -warn:1 -[assembly:System.CLSCompliant (true)] +using System; -[System.CLSCompliant (false)] -public delegate void MyDelegate (); +[assembly: CLSCompliant (true)] -public class CLSClass { - public event MyDelegate MyEvent; +public class C +{ + public unsafe byte* _data; + public unsafe byte* GetData () { return _data; } } - // CS3003: Type of `CLSClass.value' is not CLS-compliant -// Line: 9 -// Compiler options: -warnaserror -warn:1 + // CS3003: Type of `S.test2' is not CLS-compliant +// Line: 11 +// Compiler options: -unsafe -warnaserror -warn:1 using System; -[assembly:CLSCompliant(true)] - -public class CLSClass { - protected uint value; -} - - // CS3003: Type of `I.Error' is not CLS-compliant -// Line: 9 -// Compiler options: -warnaserror -warn:1 -using System; -[assembly:CLSCompliant(true)] +[assembly: CLSCompliant (true)] -public interface I { - UIntPtr Error { get; } +public unsafe struct S +{ + public fixed bool test2 [4]; } /usr/lib/monodoc/sources/cs-errors.zip/CS3005 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS3005 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS3005 2035-09-30 19:00:50.000000000 +0000 @@ -2,95 +2,127 @@ CS3005 - // CS3005: Identifier `CLSClass.this[int].set' differing only in case is not CLS-compliant -// Line: 8 + // CS3005: Identifier `Foo.main()' differing only in case is not CLS-compliant +// Line: 9 +// Compiler options: -warnaserror + +using System; +[assembly: CLSCompliant(false)] + +[CLSCompliant(true)] +public class Foo { + public static void Main () {} + public static void main () {} +} + // CS3005: Identifier `CLSClass.Event_A' differing only in case is not CLS-compliant +// Line: 13 // Compiler options: -warnaserror [assembly:System.CLSCompliant(true)] -public class CLSClass { - protected int SET_item; - public int this[int index] { set {} } +public delegate void MyDelegate(int i); + +public class Base { + protected event System.ResolveEventHandler Event_a; +} + +public class CLSClass: Base { + public event MyDelegate Event_A; } - // CS3005: Identifier `System.Icomparable' differing only in case is not CLS-compliant -// Line: 8 -// Compiler options: -warnaserror -warn:1 + // CS3005: Identifier `CLSClass.Index.get' differing only in case is not CLS-compliant +// Line: 14 +// Compiler options: -warnaserror [assembly:System.CLSCompliant(true)] -namespace System { - public interface Icomparable { - } +public class X { + public int index { get { return 0; } } +} + +public class Y: X { +} + +public class CLSClass: Y { + public long Index { get { return 3; } } } - // CS3005: Identifier `CLSClass_B.uNIVERSAL' differing only in case is not CLS-compliant + // CS3005: Identifier `ClsClass' differing only in case is not CLS-compliant // Line: 9 -// Compiler options: -reference:CS3005-16-lib.dll -warnaserror +// Compiler options: -warnaserror +[assembly:System.CLSCompliant(true)] -using System; -[assembly: CLSCompliantAttribute (true)] +public partial class CLSClass {} -public class CLSClass_B: CLSClass_A { - public const int uNIVERSAL = 3; -} +public partial struct ClsClass {} - // CS3005: Identifier `CLSClass.NameAbC(int)' differing only in case is not CLS-compliant -// Line: 9 + // CS3005: Identifier `CLSClass.a.get' differing only in case is not CLS-compliant +// Line: 8 // Compiler options: -warnaserror -using System; -[assembly:CLSCompliant (true)] +[assembly:System.CLSCompliant(true)] public class CLSClass { - public int NameABC; - public static void NameAbC(int arg) {} + public int get_A () { return 3; } + public int a { get { return 2; } } } - // CS3005: Identifier `CLSClass.Event_A' differing only in case is not CLS-compliant -// Line: 13 + // CS3005: Identifier `I.BLAH.get' differing only in case is not CLS-compliant +// Line: 16 // Compiler options: -warnaserror -[assembly:System.CLSCompliant(true)] +using System.Runtime.CompilerServices; +using System; -public delegate void MyDelegate(int i); +[assembly: CLSCompliant (true)] -public class Base { - protected event System.ResolveEventHandler Event_a; -} +public interface I { + [IndexerName ("blah")] + int this [int a] { + get; + } -public class CLSClass: Base { - public event MyDelegate Event_A; + int BLAH { get; } } - // CS3005: Identifier `CLSClass.Method<T>(int)' differing only in case is not CLS-compliant -// Line: 12 + // CS3005: Identifier `X.Index' differing only in case is not CLS-compliant +// Line: 8 // Compiler options: -warnaserror -[assembly:System.CLSCompliant (true)] - -public class BaseClass { - public int method; -} +[assembly:System.CLSCompliant(true)] -public class CLSClass : BaseClass { - public static void Method<T>(int arg) {} +public class X { + public int index { get { return 0; } } + public int Index { set {} } + } - // CS3005: Identifier `CLSClass.NameAbC' differing only in case is not CLS-compliant -// Line: 12 + // CS3005: Identifier `a' differing only in case is not CLS-compliant +// Line: 10 // Compiler options: -warnaserror using System; [assembly:CLSCompliant (true)] -public class CLSClass { - [CLSCompliant (false)] - public int NameABC; - - public int NameAbc; - public int NameAbC; +public enum A { +} + +public interface a { +} + + // CS3005: Identifier `II.compareto()' differing only in case is not CLS-compliant +// Line: 11 +// Compiler options: -t:library -warnaserror + + +[assembly:System.CLSCompliant(true)] + +public interface I { +} + +public interface II: I, System.IComparable { + bool compareto(); } // CS3005: Identifier `CLSEnum.Label' differing only in case is not CLS-compliant @@ -111,54 +143,22 @@ [assembly:System.CLSCompliant(true)] -public class I1 { +public interface I1 { } public interface i1 { } - // CS3005: Identifier `ClsClass' differing only in case is not CLS-compliant + // CS3005: Identifier `II.foo' differing only in case is not CLS-compliant // Line: 9 // Compiler options: -warnaserror -[assembly:System.CLSCompliant(true)] - -public partial class CLSClass {} - /usr/lib/monodoc/sources/cs-errors.zip/CS3006 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS3006 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS3006 2035-09-30 19:00:50.000000000 +0000 @@ -2,18 +2,6 @@ CS3006 - // CS3006: Overloaded method `CLSInterface.Test(int[,])' differing only in ref or out, or in array rank, is not CLS-compliant -// Line: 10 -// Compiler options: -warnaserror -warn:1 - -using System; -[assembly: CLSCompliant(true)] - -public interface CLSInterface { - void Test(int[,,] b); - void Test(int[,] b); -} - // CS3006: Overloaded method `CLSClass.Test(ref int)' differing only in ref or out, or in array rank, is not CLS-compliant // Line: 12 // Compiler options: -warnaserror -warn:1 @@ -29,31 +17,21 @@ } } - // CS3006: Overloaded method `Base<T>.Test(ref int)' differing only in ref or out, or in array rank, is not CLS-compliant -// Line: 13 + // CS3006: Overloaded method `CLSClass.Test(out bool)' differing only in ref or out, or in array rank, is not CLS-compliant +// Line: 12 // Compiler options: -warnaserror -warn:1 using System; -[assembly: CLSCompliant (true)] +[assembly: CLSCompliant(true)] -public class Base<T> -{ - public void Test (int a) - { - } - public void Test (ref int b) - { - } -} +public abstract class CLSClass { + public void Test(bool a) { + } -public class CLSClass : Base<int> -{ - public void Test () - { - } + public abstract void Test(out bool b); } - // CS3006: Overloaded method `CLSInterface.Test(ref int)' differing only in ref or out, or in array rank, is not CLS-compliant + // CS3006: Overloaded method `CLSInterface.Test(out bool)' differing only in ref or out, or in array rank, is not CLS-compliant // Line: 10 // Compiler options: -warnaserror -warn:1 @@ -61,39 +39,34 @@ [assembly: CLSCompliant(true)] public interface CLSInterface { - void Test(int a); - void Test(ref int b); + void Test(bool a); + void Test(out bool b); } - // CS3006: Overloaded method `CLSClass.Test(out bool)' differing only in ref or out, or in array rank, is not CLS-compliant -// Line: 12 + // CS3006: Overloaded method `CLSInterface.Test(int[,])' differing only in ref or out, or in array rank, is not CLS-compliant +// Line: 10 // Compiler options: -warnaserror -warn:1 using System; [assembly: CLSCompliant(true)] -public abstract class CLSClass { - public void Test(bool a) { - } - - public abstract void Test(out bool b); +public interface CLSInterface { + void Test(int[,,] b); + void Test(int[,] b); } - // CS3006: Overloaded method `CLSClass.Test(ref int)' differing only in ref or out, or in array rank, is not CLS-compliant -// Line: 15 + // CS3006: Overloaded method `CLSClass.Test(int[,])' differing only in ref or out, or in array rank, is not CLS-compliant +// Line: 12 // Compiler options: -warnaserror -warn:1 using System; [assembly: CLSCompliant(true)] -public class Base -{ - public void Test(int a) { +public class CLSClass { + public void Test(int[,,] b) { } -} -public class CLSClass: Base { - public void Test(ref int b) { + public void Test(int[,] b) { } } @@ -113,7 +86,31 @@ } - // CS3006: Overloaded method `CLSInterface.Test(out bool)' differing only in ref or out, or in array rank, is not CLS-compliant + // CS3006: Overloaded method `Base<T>.Test(ref int)' differing only in ref or out, or in array rank, is not CLS-compliant +// Line: 13 +// Compiler options: -warnaserror -warn:1 + +using System; +[assembly: CLSCompliant (true)] + +public class Base<T> +{ + public void Test (int a) + { + } + public void Test (ref int b) + { + } +} + +public class CLSClass : Base<int> +{ + public void Test () + { + } +} + + // CS3006: Overloaded method `CLSInterface.Test(ref int)' differing only in ref or out, or in array rank, is not CLS-compliant // Line: 10 // Compiler options: -warnaserror -warn:1 @@ -121,22 +118,25 @@ [assembly: CLSCompliant(true)] public interface CLSInterface { - void Test(bool a); - void Test(out bool b); + void Test(int a); + void Test(ref int b); } - // CS3006: Overloaded method `CLSClass.Test(int[,])' differing only in ref or out, or in array rank, is not CLS-compliant -// Line: 12 + // CS3006: Overloaded method `CLSClass.Test(ref int)' differing only in ref or out, or in array rank, is not CLS-compliant +// Line: 15 // Compiler options: -warnaserror -warn:1 using System; [assembly: CLSCompliant(true)] -public class CLSClass { - public void Test(int[,,] b) { +public class Base +{ + public void Test(int a) { } +} - public void Test(int[,] b) { +public class CLSClass: Base { + public void Test(ref int b) { } } /usr/lib/monodoc/sources/cs-errors.zip/CS3008 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS3008 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS3008 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,17 @@ CS3008 + // CS3008: Identifier `C._()' is not CLS-compliant +// Line: 9 +// Compiler options: -warnaserror -warn:1 + +using System; +[assembly:CLSCompliant(true)] + +public class C { + public void _() {} +} + // CS3008: Identifier `I._()' is not CLS-compliant // Line: 9 // Compiler options: -warnaserror -warn:1 @@ -13,6 +24,30 @@ void _(); } + // CS3008: Identifier `E2.__VALUE' is not CLS-compliant +// Line: 9 +// Compiler options: -warnaserror -warn:1 + +using System; +[assembly:CLSCompliant (true)] + +public enum E2 { + __VALUE +} + + // CS3008: Identifier `CLSClass._myEvent' is not CLS-compliant +// Line: 11 +// Compiler options: -warnaserror -warn:1 + +using System; +[assembly: CLSCompliant(true)] + +public delegate void MyDelegate(); + +public class CLSClass { + public event MyDelegate _myEvent; +} + // CS3008: Identifier `_I' is not CLS-compliant // Line: 8 // Compiler options: -warnaserror -warn:1 @@ -55,15 +90,14 @@ { } - // CS3008: Identifier `C._()' is not CLS-compliant -// Line: 9 + // CS3008: Identifier `_A' is not CLS-compliant +// Line: 8 // Compiler options: -warnaserror -warn:1 using System; [assembly:CLSCompliant(true)] -public class C { - public void _() {} +public class _A { } // CS3008: Identifier `System.Error.__ComObject' is not CLS-compliant @@ -81,39 +115,5 @@ } } - // CS3008: Identifier `CLSClass._myEvent' is not CLS-compliant -// Line: 11 -// Compiler options: -warnaserror -warn:1 - -using System; -[assembly: CLSCompliant(true)] - -public delegate void MyDelegate(); - -public class CLSClass { - public event MyDelegate _myEvent; -} - - // CS3008: Identifier `E2.__VALUE' is not CLS-compliant -// Line: 9 -// Compiler options: -warnaserror -warn:1 - -using System; -[assembly:CLSCompliant (true)] - -public enum E2 { - __VALUE -} - - // CS3008: Identifier `_A' is not CLS-compliant -// Line: 8 -// Compiler options: -warnaserror -warn:1 - -using System; -[assembly:CLSCompliant(true)] - -public class _A { -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS3009 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS3009 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS3009 2035-09-30 19:00:50.000000000 +0000 @@ -17,6 +17,15 @@ { } + // CS3009: `Days': base type `uint' is not CLS-compliant +// Line: 8 +// Compiler options: -warnaserror -warn:1 + +using System; +[assembly:CLSCompliant(true)] + +public enum Days: uint {Sat=1, Sun, Mon, Tue, Wed, Thu, Fri}; + // CS3009: `CLSClass': base type `BaseClass' is not CLS-compliant // Line: 12 // Compiler options: -warnaserror -warn:1 @@ -31,15 +40,6 @@ public class CLSClass: BaseClass { } - // CS3009: `Days': base type `uint' is not CLS-compliant -// Line: 8 -// Compiler options: -warnaserror -warn:1 - -using System; -[assembly:CLSCompliant(true)] - -public enum Days: uint {Sat=1, Sun, Mon, Tue, Wed, Thu, Fri}; - // CS3009: `AttributesForm': base type `BaseClass' is not CLS-compliant // Line: 17 // Compiler options: -warnaserror -warn:1 /usr/lib/monodoc/sources/cs-errors.zip/CS3014 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS3014 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS3014 2035-09-30 19:00:50.000000000 +0000 @@ -11,25 +11,14 @@ [CLSCompliant (true)] public delegate void D (); - // CS3014: `I' cannot be marked as CLS-compliant because the assembly is not marked as CLS-compliant + // CS3014: `E' cannot be marked as CLS-compliant because the assembly is not marked as CLS-compliant // Line: 8 // Compiler options: -warnaserror -warn:1 using System; [CLSCompliant (true)] -public interface I { -} - - // CS3014: `E2.Foo' cannot be marked as CLS-compliant because the assembly is not marked as CLS-compliant -// Line: 8 -// Compiler options: -warnaserror -warn:1 - -using System; - -public enum E2 { - [CLSCompliant (true)] - Foo +public enum E { } // CS3014: `CLSClass.implicit operator CLSClass(byte)' cannot be marked as CLS-compliant because the assembly is not marked as CLS-compliant @@ -66,14 +55,25 @@ void Valid (bool arg); } - // CS3014: `E' cannot be marked as CLS-compliant because the assembly is not marked as CLS-compliant + // CS3014: `E2.Foo' cannot be marked as CLS-compliant because the assembly is not marked as CLS-compliant +// Line: 8 +// Compiler options: -warnaserror -warn:1 + +using System; + +public enum E2 { + [CLSCompliant (true)] + Foo +} + + // CS3014: `I' cannot be marked as CLS-compliant because the assembly is not marked as CLS-compliant // Line: 8 // Compiler options: -warnaserror -warn:1 using System; [CLSCompliant (true)] -public enum E { +public interface I { } /usr/lib/monodoc/sources/cs-errors.zip/CS3015 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS3015 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS3015 2035-09-30 19:00:50.000000000 +0000 @@ -10,8 +10,9 @@ [assembly:CLSCompliant (true)] public class CLSAttribute: Attribute { - public CLSAttribute(string[] array) { - } + [CLSCompliant (false)] + public CLSAttribute(string array) { + } } // CS3015: `CLSAttribute' has no accessible constructors which use only CLS-compliant types @@ -22,9 +23,8 @@ [assembly:CLSCompliant (true)] public class CLSAttribute: Attribute { - [CLSCompliant (false)] - public CLSAttribute(string array) { - } + public CLSAttribute(string[] array) { + } } // CS3015: `CLSAttribute' has no accessible constructors which use only CLS-compliant types /usr/lib/monodoc/sources/cs-errors.zip/CS3016 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS3016 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS3016 2035-09-30 19:00:50.000000000 +0000 @@ -29,7 +29,7 @@ public enum E { } -public class CLSAttribute: System.Attribute { +public partial class CLSAttribute: System.Attribute { public CLSAttribute () { } @@ -42,13 +42,10 @@ // Compiler options: -warnaserror -warn:1 using System; -[assembly: System.CLSCompliant (true)] +[assembly:CLSCompliant (true)] [CLSAttribute (new bool [] {true, false})] -public enum E { -} - -public partial class CLSAttribute: System.Attribute { +public class CLSAttribute: Attribute { public CLSAttribute () { } @@ -57,14 +54,17 @@ } // CS3016: Arrays as attribute arguments are not CLS-compliant -// Line: 6 +// Line: 8 // Compiler options: -warnaserror -warn:1 using System; -[assembly:CLSAttribute (new bool [] {true, false})] -[assembly:CLSCompliant (true)] +[assembly: System.CLSCompliant (true)] -public class CLSAttribute: Attribute { +[CLSAttribute (new bool [] {true, false})] +public enum E { +} + +public class CLSAttribute: System.Attribute { public CLSAttribute () { } @@ -73,13 +73,13 @@ } // CS3016: Arrays as attribute arguments are not CLS-compliant -// Line: 8 +// Line: 6 // Compiler options: -warnaserror -warn:1 using System; +[assembly:CLSAttribute (new bool [] {true, false})] [assembly:CLSCompliant (true)] -[CLSAttribute (new bool [] {true, false})] public class CLSAttribute: Attribute { public CLSAttribute () { } /usr/lib/monodoc/sources/cs-errors.zip/CS3018 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS3018 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS3018 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,20 @@ CS3018 + // CS3018: `C1.I2' cannot be marked as CLS-compliant because it is a member of non CLS-compliant type `C1' +// Line: 12 +// Compiler options: -warnaserror -warn:1 + +using System; +[assembly: CLSCompliant (true)] + +[CLSCompliant (false)] +public class C1 +{ + [CLSCompliant (true)] + public interface I2 {} +} + // CS3018: `NotCompliant.Compliant' cannot be marked as CLS-compliant because it is a member of non CLS-compliant type `NotCompliant' // Line: 12 // Compiler options: -warnaserror -warn:1 @@ -18,16 +32,22 @@ } } - // CS3018: `C.field' cannot be marked as CLS-compliant because it is a member of non CLS-compliant type `C' + // CS3018: `C1.I2' cannot be marked as CLS-compliant because it is a member of non CLS-compliant type `C1' // Line: 10 // Compiler options: -warnaserror -warn:1 using System; -[assembly:CLSCompliant (false)] +[assembly: CLSCompliant (true)] -public class C { - [CLSCompliant (true)] - public long field; +public partial class C1 +{ + [CLSCompliant (true)] + public interface I2 {} +} + +[CLSCompliant (false)] +public partial class C1 +{ } // CS3018: `I.Error()' cannot be marked as CLS-compliant because it is a member of non CLS-compliant type `I' // Line: 11 @@ -41,36 +61,16 @@ [CLSCompliant(true)] ulong[] Error(); } - // CS3018: `C1.I2' cannot be marked as CLS-compliant because it is a member of non CLS-compliant type `C1' -// Line: 12 -// Compiler options: -warnaserror -warn:1 - -using System; -[assembly: CLSCompliant (true)] - -[CLSCompliant (false)] -public class C1 -{ - [CLSCompliant (true)] - public interface I2 {} -} - - // CS3018: `C1.I2' cannot be marked as CLS-compliant because it is a member of non CLS-compliant type `C1' + // CS3018: `C.field' cannot be marked as CLS-compliant because it is a member of non CLS-compliant type `C' // Line: 10 // Compiler options: -warnaserror -warn:1 using System; -[assembly: CLSCompliant (true)] - -public partial class C1 -{ - [CLSCompliant (true)] - public interface I2 {} -} +[assembly:CLSCompliant (false)] -[CLSCompliant (false)] -public partial class C1 -{ +public class C { + [CLSCompliant (true)] + public long field; } // CS3018: `C.Error(bool)' cannot be marked as CLS-compliant because it is a member of non CLS-compliant type `C' // Line: 10 /usr/lib/monodoc/sources/cs-errors.zip/CS3019 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS3019 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS3019 2035-09-30 19:00:50.000000000 +0000 @@ -12,16 +12,23 @@ public class CLSClass<[CLSCompliant (false)] T> { } - // CS3019: CLS compliance checking will not be performed on `CLSClass' because it is not visible from outside this assembly + // CS3019: CLS compliance checking will not be performed on `CLSClass.Foo()' because it is not visible from outside this assembly // Line: 8 // Compiler options: -warnaserror -warn:2 using System; [assembly:CLSCompliant (true)] -[CLSCompliant (true)] -class CLSClass { -} +public partial class CLSClass +{ + [CLSCompliant (false)] + partial void Foo (); + + partial void Foo () + { + } +} + // CS3019: CLS compliance checking will not be performed on `CLSClass' because it is not visible from outside this assembly // Line: 8 // Compiler options: -warnaserror -warn:2 @@ -32,22 +39,15 @@ [CLSCompliant (false)] class CLSClass { } - // CS3019: CLS compliance checking will not be performed on `CLSClass.Foo()' because it is not visible from outside this assembly + // CS3019: CLS compliance checking will not be performed on `CLSClass' because it is not visible from outside this assembly // Line: 8 // Compiler options: -warnaserror -warn:2 using System; [assembly:CLSCompliant (true)] -public partial class CLSClass -{ - [CLSCompliant (false)] - partial void Foo (); - - partial void Foo () - { - } -} - +[CLSCompliant (true)] +class CLSClass { +} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS4001 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS4001 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS4001 2035-09-30 19:00:50.000000000 +0000 @@ -2,27 +2,27 @@ CS4001 - // CS4001: Cannot await `int' expression -// Line: 8 + // CS4001: Cannot await `void' expression +// Line: 10 + +using System; class A { static async void Test () { - await 1; + await Console.WriteLine ("await"); } } - // CS4001: Cannot await `void' expression -// Line: 10 - -using System; + // CS4001: Cannot await `int' expression +// Line: 8 class A { static async void Test () { - await Console.WriteLine ("await"); + await 1; } } /usr/lib/monodoc/sources/cs-errors.zip/CS4005 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS4005 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS4005 2035-09-30 19:00:50.000000000 +0000 @@ -3,27 +3,27 @@ CS4005 // CS4005: Async methods cannot have unsafe parameters -// Line: 11 +// Line: 7 // Compiler options: -unsafe class C { - unsafe delegate void D (int* i); - - public static void Main () + public unsafe async void Test (int* arg) { - D d = async delegate { }; } } // CS4005: Async methods cannot have unsafe parameters -// Line: 7 +// Line: 11 // Compiler options: -unsafe class C { - public unsafe async void Test (int* arg) + unsafe delegate void D (int* i); + + public static void Main () { + D d = async delegate { }; } } /usr/lib/monodoc/sources/cs-errors.zip/CS4010 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS4010 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS4010 2035-09-30 19:00:50.000000000 +0000 @@ -2,35 +2,35 @@ CS4010 - // CS4010: Cannot convert async anonymous method to delegate type `System.Func<string>' -// Line: 10 + // CS4010: Cannot convert async lambda expression to delegate type `System.Func<bool>' +// Line: 16 using System; +using System.Threading.Tasks; class C { + static Task<int> GetInt () + { + return null; + } + public static void Main () { - Func<string> a = async delegate { }; + Func<bool> a = async () => { await GetInt (); }; } } - // CS4010: Cannot convert async lambda expression to delegate type `System.Func<bool>' -// Line: 16 + // CS4010: Cannot convert async anonymous method to delegate type `System.Func<string>' +// Line: 10 using System; -using System.Threading.Tasks; class C { - static Task<int> GetInt () - { - return null; - } - public static void Main () { - Func<bool> a = async () => { await GetInt (); }; + Func<string> a = async delegate { }; } } /usr/lib/monodoc/sources/cs-errors.zip/CS4011 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS4011 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS4011 2035-09-30 19:00:50.000000000 +0000 @@ -2,92 +2,92 @@ CS4011 - // CS4011: The awaiter type `A' must have suitable IsCompleted and GetResult members + // CS4011: The awaiter type `int' must have suitable IsCompleted and GetResult members // Line: 16 static class S { - public static A GetAwaiter (this int i) + public static int GetAwaiter (this int i) { - return new A (); + return 1; } } class A { - bool IsCompleted { - get { - return true; - } - } - - void OnCompleted (System.Action a) - { - } - static async void Test () { await 9; } } - // CS4011: The awaiter type `A' must have suitable IsCompleted and GetResult members + // CS4011: The awaiter type `int' must have suitable IsCompleted and GetResult members // Line: 16 static class S { - public static A GetAwaiter (this int i) + public static int GetAwaiter (this int i) { - return new A (); + return 1; } } class A { - int IsCompleted { - get { - return 1; - } - } - static async void Test () { await 9; } } - // CS4011: The awaiter type `int' must have suitable IsCompleted and GetResult members + // CS4011: The awaiter type `A' must have suitable IsCompleted and GetResult members // Line: 16 static class S { - public static int GetAwaiter (this int i) + public static A GetAwaiter (this int i) { - return 1; + return new A (); } } class A { + int IsCompleted { + get { + return 1; + } + } + static async void Test () { await 9; } } - // CS4011: The awaiter type `int' must have suitable IsCompleted and GetResult members + // CS4011: The awaiter type `A' must have suitable IsCompleted and GetResult members // Line: 16 static class S { - public static int GetAwaiter (this int i) + public static A GetAwaiter (this int i) { - return 1; + return new A (); } } class A { + bool IsCompleted { + get { + return true; + } + } + + void OnCompleted (System.Action a) + { + } + static async void Test () { await 9; /usr/lib/monodoc/sources/cs-errors.zip/CS4012 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS4012 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS4012 2035-09-30 19:00:50.000000000 +0000 @@ -2,6 +2,23 @@ CS4012 + // CS4012: Parameters or local variables of type `System.TypedReference' cannot be declared in async methods or iterators +// Line: 13 + +using System; +using System.Collections; +using System.Threading.Tasks; + +class C +{ + public async void Test () + { + int i = 2; + TypedReference tr = __makeref (i); + await Task.Factory.StartNew (() => 6); + } +} + // CS4012: Parameters or local variables of type `S' cannot be declared in async methods or iterators // Line: 16 // Compiler options: -langversion:latest @@ -37,22 +54,5 @@ } } - // CS4012: Parameters or local variables of type `System.TypedReference' cannot be declared in async methods or iterators -// Line: 13 - -using System; -using System.Collections; -using System.Threading.Tasks; - -class C -{ - public async void Test () - { - int i = 2; - TypedReference tr = __makeref (i); - await Task.Factory.StartNew (() => 6); - } -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS4014 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS4014 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS4014 2035-09-30 19:00:50.000000000 +0000 @@ -25,8 +25,8 @@ } } - // CS4014: The statement is not awaited and execution of current method continues before the call is completed. Consider using `await' operator -// Line: 12 + // CS4014: The statement is not awaited and execution of current method continues before the call is completed. Consider using `await' operator or calling `Wait' method +// Line: 17 // Compiler options: -warnaserror using System; @@ -34,11 +34,15 @@ class C { - static async Task<int> TestAsync () - { - new Task (() => {}); - return await Task.FromResult (2); - } + public static async Task<T> Test<T> () + { + return await Task.FromResult (default (T)); + } + + static void Main () + { + Test<object> (); + } } // CS4014: The statement is not awaited and execution of current method continues before the call is completed. Consider using `await' operator @@ -92,7 +96,7 @@ } } // CS4014: The statement is not awaited and execution of current method continues before the call is completed. Consider using `await' operator -// Line: 18 +// Line: 12 // Compiler options: -warnaserror using System; @@ -100,14 +104,9 @@ class C { - static Task Method () - { - return Task.FromResult (1); - } - static async Task<int> TestAsync () { - Method (); + new Task (() => {}); return await Task.FromResult (2); } } @@ -121,16 +120,20 @@ class C { + static Task Method () + { + return Task.FromResult (1); + } + static async Task<int> TestAsync () { - Func<Task> f = null; - f (); + Method (); return await Task.FromResult (2); } } - // CS4014: The statement is not awaited and execution of current method continues before the call is completed. Consider using `await' operator or calling `Wait' method -// Line: 17 + // CS4014: The statement is not awaited and execution of current method continues before the call is completed. Consider using `await' operator +// Line: 18 // Compiler options: -warnaserror using System; @@ -138,15 +141,12 @@ class C { - public static async Task<T> Test<T> () - { - return await Task.FromResult (default (T)); - } - - static void Main () - { - Test<object> (); - } + static async Task<int> TestAsync () + { + Func<Task> f = null; + f (); + return await Task.FromResult (2); + } } /usr/lib/monodoc/sources/cs-errors.zip/CS7003 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS7003 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS7003 2035-09-30 19:00:50.000000000 +0000 @@ -3,26 +3,17 @@ CS7003 // CS7003: Unbound generic name is not valid in this context -// Line: 4 - -using SCGL = System.Collections.Generic.List<>; - // CS7003: Unbound generic name is not valid in this context -// Line: 17 - -using System; +// Line: 12 -class C<T> +static class C { - public class G<U> + static void Foo<T> () { } -} -class M -{ - public static void Main () + static void Main () { - Type t = typeof (C<int>.G<>); + string s = nameof (C.Foo<>); } } // CS7003: Unbound generic name is not valid in this context @@ -53,18 +44,15 @@ G<> field; } // CS7003: Unbound generic name is not valid in this context -// Line: 12 +// Line: 10 -static class C +class G<T> { - static void Foo<T> () - { - } +} - static void Main () - { - string s = nameof (Foo<>); - } +class C +{ + const string f = nameof (G<>); } // CS7003: Unbound generic name is not valid in this context // Line: 8 @@ -77,17 +65,29 @@ } } // CS7003: Unbound generic name is not valid in this context -// Line: 10 +// Line: 17 -class G<T> +using System; + +class C<T> { + public class G<U> + { + } } -class C +class M { - const string f = nameof (G<>); + public static void Main () + { + Type t = typeof (C<int>.G<>); + } } // CS7003: Unbound generic name is not valid in this context +// Line: 4 + +using SCGL = System.Collections.Generic.List<>; + // CS7003: Unbound generic name is not valid in this context // Line: 12 static class C @@ -96,9 +96,9 @@ { } - static void Main () + static void Main () { - string s = nameof (C.Foo<>); + string s = nameof (Foo<>); } } /usr/lib/monodoc/sources/cs-errors.zip/CS7023 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS7023 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS7023 2035-09-30 19:00:50.000000000 +0000 @@ -9,7 +9,7 @@ { public static void Main () { - var v = null as X; + var v = null is X; } } // CS7023: The second operand of `is' or `as' operator cannot be static type `X' @@ -19,7 +19,7 @@ { public static void Main () { - var v = null is X; + var v = null as X; } } /usr/lib/monodoc/sources/cs-errors.zip/CS7034 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS7034 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS7034 2035-09-30 19:00:50.000000000 +0000 @@ -2,20 +2,6 @@ CS7034 - // CS7034: The specified version string `2.0.*.*' does not conform to the required format - major[.minor[.build[.revision]]] -// Line: 6 - -using System.Reflection; - -[assembly: AssemblyVersion("2.0.*.*")] - - // CS7034: The specified version string `2.*' does not conform to the required format - major[.minor[.build[.revision]]] -// Line: 6 - -using System.Reflection; - -[assembly: AssemblyVersion("2.*")] - // CS7034: The specified version string `0.0.0.80420' does not conform to the required format - major[.minor[.build[.revision]]] // Line: 7 @@ -32,5 +18,19 @@ } } + // CS7034: The specified version string `2.*' does not conform to the required format - major[.minor[.build[.revision]]] +// Line: 6 + +using System.Reflection; + +[assembly: AssemblyVersion("2.*")] + + // CS7034: The specified version string `2.0.*.*' does not conform to the required format - major[.minor[.build[.revision]]] +// Line: 6 + +using System.Reflection; + +[assembly: AssemblyVersion("2.0.*.*")] + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS7070 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS7070 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS7070 2035-09-30 19:00:50.000000000 +0000 @@ -67,16 +67,17 @@ } // CS7070: Security attribute `DebugPermissionAttribute' is not valid on this declaration type. Security attributes are only valid on assembly, type and method declarations -// Line: 10 +// Line: 11 using System; using System.Security; using System.Security.Permissions; public class Program { - + public delegate int DisplayHandler (string msg); + [DebugPermission (SecurityAction.RequestMinimum)] - public int i; + public event DisplayHandler OnShow; } [AttributeUsage (AttributeTargets.All, AllowMultiple = true, Inherited = false)] @@ -95,17 +96,16 @@ } // CS7070: Security attribute `DebugPermissionAttribute' is not valid on this declaration type. Security attributes are only valid on assembly, type and method declarations -// Line: 11 +// Line: 10 using System; using System.Security; using System.Security.Permissions; public class Program { - public delegate int DisplayHandler (string msg); - + [DebugPermission (SecurityAction.RequestMinimum)] - public event DisplayHandler OnShow; + public int i; } [AttributeUsage (AttributeTargets.All, AllowMultiple = true, Inherited = false)] /usr/lib/monodoc/sources/cs-errors.zip/CS8030 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS8030 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS8030 2035-09-30 19:00:50.000000000 +0000 @@ -20,18 +20,6 @@ } // CS8030: Anonymous function or lambda expression converted to a void returning delegate cannot return a value -// Line: 9 - -delegate void D (int x); - -class X { - static void Main () - { - D d6 = delegate (int x) { return x; }; // Return type mismatch. - } -} - - // CS8030: Anonymous function or lambda expression converted to a void returning delegate cannot return a value // Line: 11 using System; @@ -45,5 +33,17 @@ } } + // CS8030: Anonymous function or lambda expression converted to a void returning delegate cannot return a value +// Line: 9 + +delegate void D (int x); + +class X { + static void Main () + { + D d6 = delegate (int x) { return x; }; // Return type mismatch. + } +} + \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS8081 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS8081 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS8081 2035-09-30 19:00:50.000000000 +0000 @@ -7,9 +7,9 @@ class C { - void Foo () + static void Main () { - string s = nameof (this); + string s = nameof (Main ()); } } // CS8081: Expression does not have a name @@ -17,9 +17,9 @@ class C { - static void Main () + void Foo () { - string s = nameof (Main ()); + string s = nameof (this); } } /usr/lib/monodoc/sources/cs-errors.zip/CS8082 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS8082 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS8082 2035-09-30 19:00:50.000000000 +0000 @@ -3,27 +3,27 @@ CS8082 // CS8082: An argument to nameof operator cannot include sub-expression -// Line: 8 +// Line: 9 class C { void Foo () { - var v = nameof (this?.Equals); + dynamic o = null; + var s = nameof (o.ToString ().Equals); } -} - +} // CS8082: An argument to nameof operator cannot include sub-expression -// Line: 9 +// Line: 8 class C { void Foo () { - dynamic o = null; - var s = nameof (o.ToString ().Equals); + var v = nameof (this?.Equals); } -} +} + // CS8082: An argument to nameof operator cannot include sub-expression // Line: 9 /usr/lib/monodoc/sources/cs-errors.zip/CS8087 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS8087 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS8087 2035-09-30 19:00:50.000000000 +0000 @@ -2,24 +2,24 @@ CS8087 - // CS8087: A `{' character may only be escaped by doubling `{{' in an interpolated string + // CS8087: A `}' character may only be escaped by doubling `}}' in an interpolated string // Line: 8 public class Test { public static int Main () { - var x = $" \u007B "; + var x = $" \u007D "; } } - // CS8087: A `}' character may only be escaped by doubling `}}' in an interpolated string + // CS8087: A `{' character may only be escaped by doubling `{{' in an interpolated string // Line: 8 public class Test { public static int Main () { - var x = $" \u007D "; + var x = $" \u007B "; } } /usr/lib/monodoc/sources/cs-errors.zip/CS8093 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS8093 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS8093 2035-09-30 19:00:50.000000000 +0000 @@ -3,6 +3,30 @@ CS8093 // CS8093: An argument to nameof operator cannot be extension method group +// Line: 21 + +public class A +{ +} + +static class X +{ + public static string Extension (this int a) + { + return null; + } +} + +public static class Test +{ + public static void Main () + { + A a = null; + var x = nameof (a.Extension); + } +} + + // CS8093: An argument to nameof operator cannot be extension method group // Line: 35 using System; @@ -44,29 +68,5 @@ } } } - // CS8093: An argument to nameof operator cannot be extension method group -// Line: 21 - -public class A -{ -} - -static class X -{ - public static string Extension (this int a) - { - return null; - } -} - -public static class Test -{ - public static void Main () - { - A a = null; - var x = nameof (a.Extension); - } -} - \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS8139 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS8139 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS8139 2035-09-30 19:00:50.000000000 +0000 @@ -2,21 +2,25 @@ CS8139 - // CS8139: `D.M((int, int))': cannot change tuple element names when overriding inherited member `C.M((int, int))' -// Line: 13 + // CS8139: `D.Prop': cannot change return type tuple element names when overriding inherited member `C.Prop' +// Line: 14 class C { - public virtual void M ((int, int) arg) - { + public virtual (int a, int b) Prop { + get { + throw null; + } } } class D : C { - public override void M ((int c, int d) arg) - { - } + public override (int c, int d) Prop { + get { + throw null; + } + } } // CS8139: `D.M()': cannot change return type tuple element names when overriding inherited member `C.M()' // Line: 14 @@ -31,7 +35,7 @@ class D : C { - public override (int, int) M () + public override (int c, int d) M () { throw null; } @@ -49,30 +53,26 @@ class D : C { - public override (int c, int d) M () + public override (int, int) M () { throw null; } } - // CS8139: `D.Prop': cannot change return type tuple element names when overriding inherited member `C.Prop' -// Line: 14 + // CS8139: `D.M((int, int))': cannot change tuple element names when overriding inherited member `C.M((int, int))' +// Line: 13 class C { - public virtual (int a, int b) Prop { - get { - throw null; - } + public virtual void M ((int, int) arg) + { } } class D : C { - public override (int c, int d) Prop { - get { - throw null; - } - } + public override void M ((int c, int d) arg) + { + } } \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS8148 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS8148 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS8148 2035-09-30 19:00:50.000000000 +0000 @@ -2,35 +2,35 @@ CS8148 - // CS8148: `B.Foo()': must not return by reference to match overridden member `A.Foo()' + // CS8148: `B.Foo': must return by reference to match overridden member `A.Foo' // Line: 11 public abstract class A { - public abstract int Foo (); + public abstract ref int Foo { get; } } public class B : A { - public override ref int Foo () - { - + public override long Foo { + get { + throw null; + } } } - // CS8148: `B.Foo': must return by reference to match overridden member `A.Foo' + // CS8148: `B.Foo()': must not return by reference to match overridden member `A.Foo()' // Line: 11 public abstract class A { - public abstract ref int Foo { get; } + public abstract int Foo (); } public class B : A { - public override long Foo { - get { - throw null; - } + public override ref int Foo () + { + } } /usr/lib/monodoc/sources/cs-errors.zip/CS8149 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS8149 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS8149 2035-09-30 19:00:50.000000000 +0000 @@ -2,18 +2,6 @@ CS8149 - // CS8149: By-reference returns can only be used in methods that return by reference -// Line: 10 - -class A -{ - int p; - - int Test () - { - return ref p; - } -} // CS8149: By-reference returns can only be used in lambda expressions that return by reference // Line: 12 @@ -28,5 +16,17 @@ Action a = () => ref p; } } + // CS8149: By-reference returns can only be used in methods that return by reference +// Line: 10 + +class A +{ + int p; + + int Test () + { + return ref p; + } +} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS8156 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS8156 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS8156 2035-09-30 19:00:50.000000000 +0000 @@ -5,6 +5,16 @@ // CS8156: An expression cannot be used in this context because it may not be returned by reference // Line: 8 +class Test +{ + ref int Foo () + { + return ref 2; + } +} + // CS8156: An expression cannot be used in this context because it may not be returned by reference +// Line: 8 + class X { int Prop { @@ -18,15 +28,5 @@ return ref Prop; } } - // CS8156: An expression cannot be used in this context because it may not be returned by reference -// Line: 8 - -class Test -{ - ref int Foo () - { - return ref 2; - } -} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS8170 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS8170 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS8170 2035-09-30 19:00:50.000000000 +0000 @@ -3,26 +3,26 @@ CS8170 // CS8170: -// Line: 8 +// Line: 10 public struct S { + int f; + public ref S Foo () { - return ref this; + return ref f; } } // CS8170: -// Line: 10 +// Line: 8 public struct S { - int f; - public ref S Foo () { - return ref f; + return ref this; } } /usr/lib/monodoc/sources/cs-errors.zip/CS8200 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS8200 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS8200 2035-09-30 19:00:50.000000000 +0000 @@ -3,36 +3,43 @@ CS8200 // CS8200: Out variable and pattern variable declarations are not allowed within constructor initializers, field initializers, or property initializers -// Line: 6 +// Line: 11 public class C { - bool res = Foo () is string s; + public C (bool value) + { + } - static object Foo () + public C () + : this (Foo (out int arg)) + { + } + + static bool Foo (out int arg) { - return null; + arg = 2; + return false; } } // CS8200: Out variable and pattern variable declarations are not allowed within constructor initializers, field initializers, or property initializers // Line: 6 -public class C +class X { - bool res = Foo (out int arg); + public static bool Test { get; } = Foo () is bool x; - static bool Foo (out int arg) - { - arg = 2; - return false; - } + static object Foo () + { + return false; + } } // CS8200: Out variable and pattern variable declarations are not allowed within constructor initializers, field initializers, or property initializers -// Line: 11 +// Line: 6 public class C { - bool Prop { get; } = Foo (out int arg); + bool res = Foo (out int arg); static bool Foo (out int arg) { @@ -45,14 +52,7 @@ public class C { - public C (bool value) - { - } - - public C () - : this (Foo (out int arg)) - { - } + bool Prop { get; } = Foo (out int arg); static bool Foo (out int arg) { @@ -61,18 +61,6 @@ } } // CS8200: Out variable and pattern variable declarations are not allowed within constructor initializers, field initializers, or property initializers -// Line: 6 - -class X -{ - public static bool Test { get; } = Foo () is bool x; - - static object Foo () - { - return false; - } -} - // CS8200: Out variable and pattern variable declarations are not allowed within constructor initializers, field initializers, or property initializers // Line: 8 using System; @@ -88,5 +76,17 @@ } } + // CS8200: Out variable and pattern variable declarations are not allowed within constructor initializers, field initializers, or property initializers +// Line: 6 + +public class C +{ + bool res = Foo () is string s; + + static object Foo () + { + return null; + } +} \ No newline at end of file /usr/lib/monodoc/sources/cs-errors.zip/CS8340 differs (XML 1.0 document, ASCII text) --- old//usr/lib/monodoc/sources/cs-errors.zip/CS8340 2020-08-28 05:33:48.000000000 +0000 +++ new//usr/lib/monodoc/sources/cs-errors.zip/CS8340 2035-09-30 19:00:50.000000000 +0000 @@ -6,12 +6,7 @@ // Line: 6 // Compiler options: -langversion:latest -readonly partial struct S -{ - -} - -partial struct S +readonly struct S { int field; } @@ -19,7 +14,12 @@ // Line: 6 // Compiler options: -langversion:latest -readonly struct S +readonly partial struct S +{ + +} + +partial struct S { int field; } /usr/lib/monodoc/sources/netdocs.zip/mastersummary.xml differs (HTML document, UTF-8 Unicode text, with very long lines) --- old//usr/lib/monodoc/sources/netdocs.zip/mastersummary.xml 2020-08-28 05:34:20.000000000 +0000 +++ new//usr/lib/monodoc/sources/netdocs.zip/mastersummary.xml 2035-09-30 19:01:24.000000000 +0000 @@ -1,69 +1,56 @@ - + - The namespace contains classes that represent ASCII and Unicode character encodings; abstract base classes for converting blocks of characters to and from blocks of bytes; and a helper class that manipulates and formats objects without creating intermediate instances of . + The namespace contains classes that manage the lifetime of remote objects. - The encoding classes are primarily intended to convert between different encodings or code pages and a Unicode encoding. (UTF-16) encoding is used internally by the .NET Framework, and encoding is often used for storing character data to ensure portability across machines and cultures. - The classes derived from enable you to choose a fallback strategy, which determines how characters that cannot be encoded into a sequence of bytes, or bytes that cannot be decoded into characters, are handled. You can choose one of the following: - - - Exception fallback. You can choose to throw exceptions on data errors either by using a flag that is available in some class constructors or by using the and classes. If you are concerned about the integrity of the data stream, throwing on an exception is recommended. - - - Replacement fallback. You can use the and classes to silently change a character to "?" or to the Unicode replacement character (U+FFFD). - - - Best-fit fallback. This option maps a character in one encoding to a character in another encoding. Best fit fallback is often not recommended because it can cause data loss and confusion, and is slower than simple "?" character replacements. However, for ANSI code pages the best-fit behavior is the default. - - - The class is designed for operations that perform extensive manipulations on a single string. Unlike the class, the class is mutable and provides better performance when concatenating or deleting strings. - For more information about , see Character Encoding in the .NET Framework and the MSDN blog Shawn Steele's Thoughts about Windows and .NET Framework Globalization APIs. + Traditionally, distributed garbage collection uses reference counts and pinging for control over the lifetime of objects. This works well when there are a few clients per service, but doesn't scale well when there are thousands of clients per service. The remoting lifetime service associates a lease with each service, and deletes a service when its lease time expires. The lifetime service can take on the function of a traditional distributed garbage collector, and it also adjusts well when the numbers of clients per server increases. + Each application domain contains a lease manager that is responsible for controlling leases in its domain. All leases are examined periodically for expired lease times. If a lease has expired, one or more of the lease's sponsors are invoked and given the opportunity to renew the lease. If none of the sponsors decides to renew the lease, the lease manager removes the lease and the object can be collected by the garbage collector. The lease manager maintains a lease list with leases sorted by remaining lease time. The leases with the shortest remaining time are stored at the top of the list. - - - - The namespace provides classes for advanced exception handling. - - + + To be added. + To be added. - + - The namespace defines a principal object that represents the security context under which code is running. For more information, see Role-Based Security. + The namespace contains classes that support interoperation between managed code and the wrt, and that enable the creation of wrt types with managed code. - + - The namespace contains the XML Schema Definition (XSD) that was defined by the World Wide Web Consortium (W3C) in 2001. The XML Schema Part 2: Datatypes specification from W3C identifies format and behavior of various data types. This namespace contains wrapper classes for the data types that conform to the W3C specification. All date and time types conform to the ISO standards specification. + The namespace contains types that allow the creation and use of isolated stores. With these stores, you can read and write data that less trusted code cannot access and prevent the exposure of sensitive information that can be saved elsewhere on the file system. Data is stored in compartments that are isolated by the current user and by the assembly in which the code exists. Additionally, data can be isolated by domain. Roaming profiles can be used in conjunction with isolated storage so isolated stores will travel with the user's profile. The enumeration indicates different types of isolation. For more information about when to use isolated storage, see Isolated Storage. - For more information on the XML Schema Part 2: Datatypes specification, see http://www.w3.org/TR/xmlschema-2/. + The class provides most of the necessary functionality for isolated storage. Use this class to obtain, delete and manage isolated storage. The class handles reading and writing files to a store. This is similar to reading and writing in standard File I/O classes. For more information about I/O, see the namespace. + For examples using isolated storage, see Isolated Storage - + - The namespace defines a set of types that enumerate and define a contract for reliability between the author of some code, and the developers who take a dependency on that code. The types in the namespace are intended for use in constrained execution regions (CERs). + The namespace contains advanced types that are used in application activation within application domains. - + - The namespace provides the underlying structure of the common language runtime security system, including base classes for permissions. + The namespace provides classes that allow you to read and write debug symbol information, such as source line to Microsoft intermediate language (MSIL) maps. Compilers targeting the.NET Framework can store the debug symbol information into programmer's database (PDB) files. Debuggers and code profiler tools can read the debug symbol information at run time. - - To be added. - To be added. + + + To be added. + + @@ -72,228 +59,265 @@ - + - To be added. + + The namespace contains classes that are used to configure an assembly. + + + + + + This namespace provides the core classes for multi-threaded programming, including the Thread class to launch threads as well as several classes for synchronization and multi-threaded resource management. - - To be added. - To be added. + + + + The namespace contains interfaces and classes that define various collections of objects, such as lists, queues, bit arrays, hash tables and dictionaries. + + - + - To be added. + + The namespace defines a principal object that represents the security context under which code is running. For more information, see Role-Based Security. - + - - To be added. - To be added. + + + + The namespace contains the IExpando interface which allows modification of an object by adding or removing its members. + + - + + + This namespace contains classes for interacting with system resources like event logs, processes, and performance counters. + + + + To be added. - + To be added. To be added. - + - The namespace contains classes that define culture-related information, including language, country/region, calendars in use, format patterns for dates, currency, and numbers, and sort order for strings. These classes are useful for writing globalized (internationalized) applications. Classes such as and provide advanced globalization functionalities, including surrogate support and text element processing. + The namespace contains helper classes for accessing the internal members of and objects. + + + + + + + The namespace contains classes and attributes that can be used to customize generation and processing of SOAP for objects and fields. The classes of this namespace can be used to indicate the SOAPAction header field, type output, XML element name, and the method XML namespace URI. This information is used by the SOAP serializer during SOAP generation and the Soapsuds Tool (Soapsuds.exe) during Web Services Description Language (WSDL) generation. The information specified by the attributes in this namespace can be used on the receiving end of the generated SOAP to customize processing of the remoted method calls and objects. One of the most important classes of the namespace is class. The class is nonfunctional, and can only be used as the base class for all the metadata attributes. For more information on the SOAPAction HTTP header field, see www.w3.org/tr/soap/#_Toc478383528. + + + + + + + The namespace contains classes that represent ASCII and Unicode character encodings; abstract base classes for converting blocks of characters to and from blocks of bytes; and a helper class that manipulates and formats objects without creating intermediate instances of . - The following MSDN blogs include discussions of the namespace and its classes: + The encoding classes are primarily intended to convert between different encodings or code pages and a Unicode encoding. (UTF-16) encoding is used internally by the .NET Framework, and encoding is often used for storing character data to ensure portability across machines and cultures. + The classes derived from enable you to choose a fallback strategy, which determines how characters that cannot be encoded into a sequence of bytes, or bytes that cannot be decoded into characters, are handled. You can choose one of the following: - - http://blogs.msdn.com/shawnste/ - + Exception fallback. You can choose to throw exceptions on data errors either by using a flag that is available in some class constructors or by using the and classes. If you are concerned about the integrity of the data stream, throwing on an exception is recommended. - - http://blogs.msdn.com/michkap/ - + Replacement fallback. You can use the and classes to silently change a character to "?" or to the Unicode replacement character (U+FFFD). overalldiffered=3 (not bit-by-bit identical) overall=1