Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed code to reenable some warnings in CoreCLR #33902

Closed
wants to merge 402 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
402 commits
Select commit Hold shift + click to select a range
34a19e8
update libraries job to depend on corelib instead of product
mangod9 Mar 27, 2020
62dba4f
[master] Switch to Windows Server queues (dotnet/Extensions#2927)
dougbu Mar 4, 2020
0b8f8bc
Remove Serilog dependency in extensions (dotnet/Extensions#3040)
Mar 6, 2020
4cd7907
Add more tests
sywhang Mar 10, 2020
9f8fdb7
Merge pull request dotnet/Extensions#2957 from sywhang/dev/suwhang/fi…
sywhang Mar 10, 2020
4ad8f3d
Fixed variable name typo (dotnet/Extensions#3085)
DynamicField Mar 16, 2020
2fd8af5
[Host] Allow disabling reloadOnChange for Host's CreateDefaultBuilder…
kjerk Mar 19, 2020
622d99d
Need to convert from uint instead of cast here to maintain consistenc…
monojenkins Mar 27, 2020
6c709ca
Use RtlUnwind instead of RtlUnwindEx. (#34188)
jaykrell Mar 27, 2020
dd9233b
[interp] Constant fold also checked conversion opcodes (#33981)
monojenkins Mar 27, 2020
eb1ee34
reverting libraries dependency change
mangod9 Mar 27, 2020
d307a14
Active issue using 33993 (#34207)
maryamariyan Mar 27, 2020
b998b8d
Unwrap the TargetInvocationException when a IDispatch invoke throws. …
AaronRobinsonMSFT Mar 27, 2020
469e98a
Add notifyInstructionSetUsage api to jit interface (#34209)
davidwrighton Mar 27, 2020
14a2f78
Fixing ifdef (#34218)
maryamariyan Mar 27, 2020
478b77f
Add OSX and musl_arm64 corelib builds + use full product for mono
mangod9 Mar 28, 2020
e35a19c
JIT: allow CORINFO_HELP_READYTORUN_GENERIC_HANDLE to be optimized (#3…
AndyAyersMS Mar 28, 2020
fa70639
Fix the coreclr outerloop build (#34223)
jaredpar Mar 28, 2020
a6a2a3b
Another attempt to fix mono iOS case
mangod9 Mar 28, 2020
fbfb35e
propagating runtimeFlavor to libraries base-job.yml
mangod9 Mar 28, 2020
46efc4d
updating DependsOn for libraries job to use corelib
mangod9 Mar 28, 2020
65d5a72
Add RuntimeInformation.RuntimeIdentifier (#34206)
eerhardt Mar 28, 2020
4fb3931
Merge remote-tracking branch 'upstream/master'
mangod9 Mar 28, 2020
f306756
[llvm] Handle this arguments as inputs to phi nodes, i.e. for IL code…
monojenkins Mar 28, 2020
3410ce4
Move OSR related APIs to Common (#34232)
MichalStrehovsky Mar 28, 2020
450cd47
Improve platform detection for Android and SunOS (#34236)
am11 Mar 28, 2020
4790673
.NET Core to .NET branding changes (#33694)
jkotas Mar 28, 2020
e85e352
Update dependencies from https://github.com/mono/linker build 2020032…
dotnet-maestro[bot] Mar 28, 2020
57b5d81
Make LIbraries Test Build also depend on Product
mangod9 Mar 28, 2020
6436fb6
download product dependency when testScope is not null
mangod9 Mar 28, 2020
7557b78
Use separate key instances for span/array/array+offset test classes (…
bartonjs Mar 28, 2020
0683d82
reverting a change which is not required
mangod9 Mar 28, 2020
cbeeb27
Delete tiered-compilation-guide.md (#34242)
jkotas Mar 28, 2020
925837e
Update SignedXml.cs (#34238)
scott-xu Mar 28, 2020
917c1a8
Add Nightly Build feed to README.md (#34241)
FreddyDgh Mar 28, 2020
419e949
Remove a couple unnecessary ToStrings in System.DirectoryServices (#3…
stephentoub Mar 28, 2020
5eda36e
Added some stress coverage for Pinned Object Heap (#34217)
VSadov Mar 29, 2020
bfee638
Delete *.nativeproj projects (#34259)
jkotas Mar 29, 2020
19c7f5a
Rename ArchGroup -> TargetArchitecture (#34260)
jkotas Mar 30, 2020
8772dd3
Fix nullable annotation on GetIPv4Properties (#34257)
stephentoub Mar 30, 2020
4e30ff0
Switch reverse PInvoke to the NativeCallable plan (#34251)
jkotas Mar 30, 2020
f21a514
Adding runtime.depproj to libraries restore, and pretest.proj to test…
mangod9 Mar 30, 2020
38bef8c
Cleanup build scripts (#34268)
jkotas Mar 30, 2020
19e6701
Fixing run_test_job to download product artifact
mangod9 Mar 30, 2020
6b73ed5
run pretest.proj on test runs as well.
mangod9 Mar 30, 2020
15734f9
[runtime] Allocate the memory for gshared gparams from image sets. (#…
monojenkins Mar 30, 2020
bb848f6
[llvmonly] Avoid marking the rgctx/vtable variable indirect, its not …
monojenkins Mar 30, 2020
d3366b8
[interp] Optimize Span<byte>.Fill (#34219)
BrzVlad Mar 30, 2020
9168620
[wasm] Throw an exception in some blocking operations in non-threaded…
monojenkins Mar 30, 2020
829baa4
Bump maximum ICU library version in Unix System.Globalization.Native …
janvorli Mar 30, 2020
bb09589
Add libraries -restore to test run
mangod9 Mar 30, 2020
ed2e6e2
Fix for changed host behaviour on app crash (#34224)
elinor-fung Mar 30, 2020
59be94b
Unifying duplicate msbuild properties in CoreCLR build (#34261)
jkotas Mar 30, 2020
6de9884
JIT: initial workup for suppressing dumps and checks post-phase (#33305)
AndyAyersMS Mar 30, 2020
3e4a06c
Add solution files for Extensions projects (#34234)
maryamariyan Mar 30, 2020
8511b5b
Vectorise BitArray for ARM64 (#33749)
Gnbrkm41 Mar 30, 2020
b95caba
Fix EnumerableViewOfDispatch.GetEnumerator ref counting (#34230)
elinor-fung Mar 30, 2020
85a3d4e
fix TLS13 procesing on windows (#34181)
wfurt Mar 30, 2020
b186c97
Fix debug symbol generation (#34154)
janvorli Mar 30, 2020
b80554c
Generate memory barrier with inner shareable domain for ARM64 (#34227)
kunalspathak Mar 30, 2020
91d795f
Fix ASPNET package paths (#34283)
ericstj Mar 30, 2020
54418ec
Allow coreclr_create_delegate to return pointers to NativeCallable me…
jkotas Mar 30, 2020
c14ea40
Hoist volatile variable's access outside the loop (#34225)
kunalspathak Mar 30, 2020
d4d8039
Add System.Type converter for JsonSerializer (#34249)
layomia Mar 30, 2020
c3f7da2
[CBOR] Implement tag and special value support for CborWriter and Cbo…
eiriktsarpalis Mar 30, 2020
2ec1f5a
Updating pretest to use TargetArchitecture
mangod9 Mar 30, 2020
335ffb0
[mono][llvm] Improve LLVM 9 compatibility. (#34182)
imhameed Mar 30, 2020
e6c4162
Warning 4302/4311/4477 reenable: Fixed Checked Builds.
ivdiazsa Mar 26, 2020
dd6a9eb
Warning 4302/4311/4477 iteration 3
ivdiazsa Mar 27, 2020
0b9c8f6
Warning 4477 reenable iteration 4: ToString of bits.
ivdiazsa Mar 27, 2020
14b22b0
Fixed an unsigned long long for x86.
ivdiazsa Mar 27, 2020
c59ae67
Fixed 4477 on x86 for real this time.
ivdiazsa Mar 28, 2020
162595e
Fix wrong assert in cgroups code (#34291)
janvorli Mar 30, 2020
77dfbcf
Merge remote-tracking branch 'upstream/master'
mangod9 Mar 30, 2020
c7a1ef6
Make `compCurBB` available for `fgMorphBlockReturn`. (#34184)
Mar 31, 2020
b85563d
Flow TargetArchitecture always in Unix build script (#34300)
safern Mar 31, 2020
562232c
Explicitly throw the OutOfMemoryException instead of relying on Share…
felipepessoto Mar 31, 2020
d9b1a28
Restore TargetArchitecture default (#34295)
jkotas Mar 31, 2020
94c4b52
Revert "Switch reverse PInvoke to the NativeCallable plan (#34251)" (…
safern Mar 31, 2020
f24bf6d
Condition before/after import in IL.Sdk for pre5.0 (#34278)
ViktorHofer Mar 31, 2020
e6d4882
Moving runtime restore from \restore\dirs.proj
mangod9 Mar 31, 2020
87e7991
Change PublicKeyToken for M.E. src and test projects
maryamariyan Mar 27, 2020
96a3bfe
Merge pull request #34208 from maryamariyan/inspection
maryamariyan Mar 31, 2020
e58c937
Remove TargetOS renaming under installer (#34313)
jkotas Mar 31, 2020
c74407f
Streamline C heap allocations (#34289)
jkotas Mar 31, 2020
afe6717
fix -allConfigurations build
mangod9 Mar 31, 2020
c2466ee
[runtime] Fix a problem with PR mono/mono#19361. (#34299)
monojenkins Mar 31, 2020
aa032a0
Initial perf jitdump implementation (#33893)
monojenkins Mar 31, 2020
11ffcdc
[mono] Use $(HostArch) for LLVM packages (#34322)
EgorBo Mar 31, 2020
eadf2c7
Expression.Field should validate field name for null (#34301)
vitek-karas Mar 31, 2020
be469ad
Update Microsoft.CodeAnalysis.FxCopAnalyzers to 3.0.0-beta3.final (#3…
stephentoub Mar 31, 2020
372bf42
[mono] Implement Environment.GetFolderPath on iOS (#34022)
EgorBo Mar 31, 2020
a082f9c
Adding corelib job to coreclr=and=Libraries.
mangod9 Mar 31, 2020
ffa07d3
Remove inactive JsonElement test that depends on JSON path being set …
layomia Mar 31, 2020
85bf770
Check for COM registration functions on base types of registered type…
elinor-fung Mar 31, 2020
f973e96
Guard against deserializing types with open generics (#34163)
layomia Mar 31, 2020
90d1b62
Cache parameterized ctor delegates in class info rather than converte…
layomia Mar 31, 2020
6bdcd8e
Apply formatting patch (#34333)
jkotas Mar 31, 2020
fec325d
Add corelib to other pipelines.
mangod9 Mar 31, 2020
57eb3bd
[debugger] Adding static to ss_req_acquire and ss_req_count (#34327)
monojenkins Mar 31, 2020
a9ace0f
NativeCallable bugfixes (#34335)
jkotas Mar 31, 2020
852080e
Initial proposal for P/Invokes via Source Generators (#33742)
AaronRobinsonMSFT Mar 31, 2020
45b2095
update brancing to preview4 (#34338)
Anipik Mar 31, 2020
595a95c
add support for FreeBSD cross-compilation (#34000)
wfurt Mar 31, 2020
03f252c
Fix ProfileTailCallNaked so it doesn't write xmm1 past the end of its…
davmason Mar 31, 2020
dfef8c3
libraries test should depend on full product
mangod9 Mar 31, 2020
8876693
[FileSystem] ReAdd check for same device (#34343)
mdh1418 Mar 31, 2020
9a14b86
Fixing intellisense in vscode for src and ref projects (#34025)
Anipik Mar 31, 2020
2e4d00a
remove upload unsigned artifacts step from official build
mangod9 Mar 31, 2020
669d749
Changed two bitness checks for size_t usage instead.
ivdiazsa Apr 1, 2020
8e8090c
Disable test based on 34178 (#34179)
Apr 1, 2020
2ad6913
Fix System.Data.SqlClient baseline (#34352)
mmitche Apr 1, 2020
e1fa5d7
Disable Bitmap round-tripping tests for old libgdiplus versions (#34354)
jkotas Apr 1, 2020
77f8f7c
[mono] Set MArch in llvm-jit (#34350)
EgorBo Apr 1, 2020
564a5d6
[mono] Fix LLVM JIT build on arm64 host (#34332)
EgorBo Apr 1, 2020
0ff46ab
[mono] fix SIMD instructions' availability (#34319)
EgorBo Apr 1, 2020
a4fa31e
Fix build break in coreclr where -os is not supported in Windows (#34…
safern Apr 1, 2020
97af1e4
Remove duplicated .gitignore patterns (#34281)
Apr 1, 2020
ab45b51
[mono] Fix setMArch, getArchName() doesn't work as expected (#34368)
EgorBo Apr 1, 2020
42dfd0d
Merge remote-tracking branch 'upstream/master'
mangod9 Apr 1, 2020
ba6a143
Call into ETW methods in ConcurrentBag only when logging is enabled (…
marek-safar Apr 1, 2020
9f2b294
Disable test on windows and enable on other platforms (#34331)
Apr 1, 2020
676cb17
Revert "Revert "Switch reverse PInvoke to the NativeCallable plan (#3…
jkotas Apr 1, 2020
87050f5
Update ownership of area-System.ServiceModel (#34408)
StephenBonikowsky Apr 1, 2020
796dc8e
[mono] Fix finalizer thread init in iOS sample (#34405)
alexischr Apr 1, 2020
15abeaa
[wasm] Throw an exception when trying to start a thread instead of as…
monojenkins Apr 1, 2020
bf4b572
Ensure generic parameter constraint type is included when building im…
monojenkins Apr 1, 2020
45ed8fd
Perf followup for Pinned Object Heap (#34215)
VSadov Apr 1, 2020
a7f3efb
update perf jitdump for ppc64/ppc64le and s390x (#34373)
monojenkins Apr 1, 2020
fd7c2ce
Report correct max depth in exception message (#34410)
thomaslevesque Apr 1, 2020
b5d044d
Build managed part of crossgen2 as platform independent (AnyCPU) (#33…
gbalykov Apr 1, 2020
56bf4c0
PR Comments
mangod9 Apr 1, 2020
18e5190
typo fix :(
mangod9 Apr 1, 2020
c03c529
Fix write behind allocated memory in thread name setting (#34424)
janvorli Apr 2, 2020
e76db3a
Fix run-test-job pretest build
mangod9 Apr 2, 2020
e98c471
Eliminate dead configuration code (#34285)
cshung Apr 2, 2020
45f58f9
Delete Ubuntu 14.04 conditions (#34361)
jkotas Apr 2, 2020
4a57527
Add test for native library load through AssemblyLoadContext.LoadUnma…
elinor-fung Apr 2, 2020
907b5ae
Move StrongNameKeyId=Open default value down after arcade is imported…
safern Apr 2, 2020
e3c15b0
removed some unused corelib configs.
mangod9 Apr 2, 2020
a4a1c8b
Initial Mono Android CI (#34125)
directhex Apr 2, 2020
ba80c1d
Fix crossgen2 delegates to static generic methods (#34370)
janvorli Apr 2, 2020
2b09375
Enhance PAL initialization order (#34308)
janvorli Apr 2, 2020
3945610
Fix ordering of the instructions (#34447)
kant2002 Apr 2, 2020
a95705d
R2RDump fixes for parsing composite images (#34429)
trylek Apr 2, 2020
c8b9cf1
Fix large version bubble field offset computation (#34401)
janvorli Apr 2, 2020
7dab162
Update WASM image (#34421)
jaredpar Apr 2, 2020
b927233
Merge pull request #34166 from mangod9/master
mangod9 Apr 2, 2020
70715fb
Prevent return address hijacking of NativeCallable method
janvorli Apr 2, 2020
90689b2
[wasm][debugger] Add support for visualizing valuetypes (#33604)
monojenkins Apr 2, 2020
d5e9504
[loader] Add append option to loader hook installation functions (#34…
CoffeeFlux Apr 2, 2020
b68f9d1
fix iOS sample build (#34455)
EgorBo Apr 2, 2020
6a27404
[meta] Add mono_type_get_name_full to public API (#34436)
CoffeeFlux Apr 2, 2020
61d1e78
Add build configuration to generate runtime packs for iOS (#34050)
steveisok Apr 2, 2020
1c74287
Experimental pgo tool (#34433)
davidwrighton Apr 2, 2020
73d8178
Sync changes from ASP.NET Core dynamic HPack (#34247)
JamesNK Apr 2, 2020
a2f2bb9
Move the reverse pinvoke frame check to EECodeManager
janvorli Apr 2, 2020
3c1010c
Enable warn as error for libraries (#34457)
jaredpar Apr 2, 2020
8398e53
Remove @jeremykuhne from area owners (#34483)
danmoseley Apr 3, 2020
8259df7
Arm64: Add xtn and xtn2 intrinsics codegen, api and tests. (#33108)
TamarChristinaArm Apr 3, 2020
221f869
Remove -runtime version suffix hack for M.E. (#34464)
maryamariyan Apr 3, 2020
0375524
Disable iOS arm PR builds (#34467)
akoeplinger Apr 3, 2020
c815129
Fix Unix build break
janvorli Apr 3, 2020
83bbaba
Fix two issues detected by Valgrind (#34462)
janvorli Apr 3, 2020
be828d1
[mono][sre] Add an expected attribute on underlying fields of enum cl…
alexischr Apr 3, 2020
6d3dc44
[sgen] Implement api for allocating pinned arrays (#34398)
BrzVlad Apr 3, 2020
39db2a8
Fix subsetCategory is just one `-` not two `--` (#34498)
nietras Apr 3, 2020
0b246c0
Don't build `System.Utf8String.Experimental.Tests.csproj` tests for m…
EgorBo Apr 3, 2020
07187e3
Fix WriteLargeJsonToStreamWithoutFlushing test (#34489)
layomia Apr 3, 2020
3ab97fc
Port CoreCLR's TypeNameBuilder to C#, and use it in Mono too (#33701)
alexischr Apr 3, 2020
fd60286
Delete stale CPU cache size detection (#34488)
jkotas Apr 3, 2020
66ded9c
Add armel arch in help message (#34491)
gbalykov Apr 3, 2020
dad74cc
Parallel Builds PRv2 (#34460)
mangod9 Apr 3, 2020
b8c9296
Crossgen2 fixes to enable composite build with shared framework (#34431)
trylek Apr 3, 2020
c64c31a
Disable iOS_arm builds on official builds too (#34504)
akoeplinger Apr 3, 2020
223b843
[CBOR] Add a CborReader.SkipValue() method (#34477)
eiriktsarpalis Apr 3, 2020
b755ba9
Socket.Windows: support ConnectAsync(SocketAsyncEventArgs) for UDP, a…
tmds Apr 3, 2020
5cd7e97
Enable nullable reference types for mono's Corelib (#34400)
stephentoub Apr 3, 2020
c21c7fd
Add profiler tests to the runtime repo (#34411)
davmason Apr 3, 2020
5ac25ac
Hardware instruction set support for crossgen2 (#33274)
davidwrighton Apr 3, 2020
1ac25b4
Moving more Tfm specific properties to the targetFramework.props file…
Anipik Apr 3, 2020
4dde980
Little refactoring based on PR feedback
janvorli Apr 4, 2020
2f209e6
Fix building WinRT tests on new Windows SDK (with new cppwinrt). (#34…
jkoritzinsky Apr 4, 2020
510efdf
BitOperations arm64 intrinsic for LeadingZeroCount, TrailingZeroCount…
kunalspathak Apr 4, 2020
b93829c
Move DependencyModel to libraries (#34296)
eerhardt Apr 4, 2020
4e179eb
Update Dotnet host for testing and other runtime => runtime dependenc…
eerhardt Apr 4, 2020
121659c
[wasm][debugger] Improve array visualization (#34482)
monojenkins Apr 4, 2020
7955318
Fix testhost publish condition and omptimize assets we publish in off…
safern Apr 4, 2020
a605729
[wasm] Wasm TimeZoneInfo implementation VFS (#34186)
monojenkins Apr 4, 2020
5e6b441
Fixup more package dependencies for Microsoft.Windows.Compatibility (…
mmitche Apr 4, 2020
9f0c540
Define dirent d_type for Solaris based OS (#34263)
am11 Apr 4, 2020
9d23b84
Added links to issues in issues.targets. (#34530)
naricc Apr 4, 2020
97b95ad
Update formatting (#34538)
bsivanov Apr 4, 2020
363b7ad
Memory leak during marshal failure. (#34533)
AaronRobinsonMSFT Apr 4, 2020
d818d33
Disable test DnsGetHostEntry_LocalHost_ReturnsFqdnAndLoopbackIPs (#34…
karelz Apr 4, 2020
6069f59
Add test for max depth in exception message (#34528)
thomaslevesque Apr 4, 2020
e253ff3
[debugger] Bump protocol for multi threaded single step implementati…
monojenkins Apr 4, 2020
59ec53e
Adds scripting guide doc (#34539)
marcusturewicz Apr 5, 2020
a9ce822
Fix host linker options to have -Bsymbolic (#34534)
elinor-fung Apr 5, 2020
d600eab
Remove a few string allocations from System.IO.FileSystem (#34551)
stephentoub Apr 5, 2020
6509062
[WIP] LLVM changes (#33847)
monojenkins Apr 5, 2020
6996928
Fix memory leak in SuperPMI (#34523)
BruceForstall Apr 5, 2020
68625db
[llvm] Enable optimizations for LLVM 9 JIT. (#34555)
monojenkins Apr 5, 2020
6d395de
Support ECParameters that contain only D on Windows and Linux
vcsjones Apr 5, 2020
59ca590
Fix incorrect assumption around the presence of ICF frames in EH code…
Apr 6, 2020
42183b1
Enable restore for ref and src projects in libs (#33553)
ViktorHofer Apr 6, 2020
f96b428
Fix x86 build break and reflect PR feedback
janvorli Apr 6, 2020
62112b0
Remove entry point helper scripts (#33756)
ViktorHofer Apr 6, 2020
3e0b19f
Changed triggered by the StringBuilder analyzer (#34574)
Apr 6, 2020
392dd8b
Add cgroup v2 support to coreclr
omajid Mar 31, 2020
9a58ab8
Fix Linux x86 build (#34548)
gbalykov Apr 6, 2020
f0e5bcd
Fix contructor attributes nullability in S.R.E.CustomAttributeBuilder…
marcusturewicz Apr 6, 2020
99aa064
Add build configuration to generate runtime packs for Android (#34192)
mdh1418 Apr 6, 2020
e622160
Fix missing version info in host binaries (#34520)
elinor-fung Apr 6, 2020
5346d57
Adds tests for missing object and collection properties in S.T.J.S (#…
marcusturewicz Apr 6, 2020
986518e
Enable more nullable reference types in asn.xslt.
vcsjones Apr 6, 2020
aa5341b
[llvm] Define a separate symbol for the aot method info for every met…
monojenkins Apr 6, 2020
1d4e945
SuperIlc fixes to unblock composite build using the shared library (#…
trylek Apr 6, 2020
d02ee5b
Don't test ANSI any mapping on non en-US locales. (#34599)
AaronRobinsonMSFT Apr 6, 2020
5dcf3de
Adds de/serialization support for JsonDocument (#34537)
marcusturewicz Apr 6, 2020
81fe6be
[mono] Implement Arm intrinsics: ArmBase, Crc32 (#34240)
EgorBo Apr 7, 2020
9cb4931
Missed feedback. (#34622)
AaronRobinsonMSFT Apr 7, 2020
ba9dd79
moving more tfm dependent properties to targets file (#34532)
Anipik Apr 7, 2020
9ddbf5f
Add back support for Delegate field marshaling (#34620)
AaronRobinsonMSFT Apr 7, 2020
1f0c9cd
Use valid instructions in StubPrecode and NDirectImportPrecode on x64…
jkotas Apr 7, 2020
410b992
Change FrameworkName to .NET (#34615)
jkotas Apr 7, 2020
247b657
Fix IsBlittable flag bug on types. (#34613)
Apr 7, 2020
caab744
Add cgroup v2 support to coreclr (#34334)
janvorli Apr 7, 2020
6a5349f
[sgen] Fix coverity issue (#34629)
BrzVlad Apr 7, 2020
c69845b
Merge pull request #34468 from janvorli/fix-native-callable-method-hi…
janvorli Apr 7, 2020
19a3cb1
Use HostArch as a default TargetArchitecture (#34619)
EgorBo Apr 7, 2020
29ed7be
Restore followup (#34632)
ViktorHofer Apr 7, 2020
8aa97da
Fix ObjectDisposedException in FileSystemWatcher.OSX.cs (#34589)
stephentoub Apr 7, 2020
39cde70
Feed cleanup (#34044)
mmitche Apr 7, 2020
60acb6c
First fixes to print hex without silencing warning 4477.
ivdiazsa Mar 16, 2020
cfe41ad
After the previous commit, dasm.cpp started showing abnormalities.
ivdiazsa Mar 16, 2020
67fe344
Warning 4302 reenable iteration 1
ivdiazsa Mar 18, 2020
5e809a4
Warning 4302 reenable iteration 2
ivdiazsa Mar 18, 2020
86a4c8d
Warning 4312 reenable: Iteration 1
ivdiazsa Mar 20, 2020
51687e5
Warning 4312 reenable: Iteration 2
ivdiazsa Mar 20, 2020
b53ea6c
Updated configurecompiler.cmake comments with newly reenabled warnings.
ivdiazsa Mar 21, 2020
bea41c2
Fixed a comment.
ivdiazsa Mar 21, 2020
bdbb4d2
Fixed a 32-bit issue with printing formats as well as a scope issue o…
ivdiazsa Mar 25, 2020
51e4e13
Warning 4302/4311/4477 reenable: Fixed Checked Builds.
ivdiazsa Mar 26, 2020
2a8c507
Warning 4302/4311/4477 iteration 3
ivdiazsa Mar 27, 2020
fc467a1
Warning 4477 reenable iteration 4: ToString of bits.
ivdiazsa Mar 27, 2020
3aa8db8
Fixed an unsigned long long for x86.
ivdiazsa Mar 27, 2020
32f0fa0
Fixed 4477 on x86 for real this time.
ivdiazsa Mar 28, 2020
656c660
Changed two bitness checks for size_t usage instead.
ivdiazsa Apr 1, 2020
beb4e99
Merge branch 'warning_compliance_code' of https://github.com/ivdiazsa…
ivdiazsa Apr 7, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .config/CredScanSuppressions.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"/src/libraries/Common/tests/System/Net/Http/PostScenarioTest.cs",
"/src/libraries/Common/tests/System/Net/Prerequisites/Deployment/setup_certificates.ps1",
"/src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/EC/ECKeyFileTests.cs",
"/src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/EC/ECKeyFileTests.LimitedPrivate.cs",
"/src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/RSA/RSAKeyFileTests.cs",
"/src/libraries/System.Data.Common/tests/System/Data/Common/DbConnectionStringBuilderTest.cs",
"/src/libraries/System.Diagnostics.Process/tests/ProcessStartInfoTests.cs",
Expand Down
2 changes: 1 addition & 1 deletion .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
]
},
"dotnet-reportgenerator-globaltool": {
"version": "4.5.0",
"version": "4.5.2",
"commands": [
"reportgenerator"
]
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ bld/
msbuild.log
msbuild.err
msbuild.wrn
msbuild.binlog
*.binlog
.deps/
.dirstamp
.libs/
Expand Down
80 changes: 80 additions & 0 deletions Build.proj
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
<Project Sdk="Microsoft.Build.Traversal">

<!--
Subsets are already imported by Directory.Build.props.
Reference the projects for traversal build. Ordering matters here.
-->
<ItemGroup>
<ProjectReference Include="@(CoreClrProject)" />
<ProjectReference Include="@(MonoProject)" />
<ProjectReference Include="@(LibrariesProject)" />
<ProjectReference Include="@(InstallerProject)" />
</ItemGroup>

<!--
Exclude installer depproj and pkgproj from static graph restore. We restore them below.
Remove when https://github.com/NuGet/Home/issues/9398 is fixed.
-->
<ItemGroup Condition="'$(MSBuildRestoreSessionId)' != ''">
<ProjectReference Remove="@(DepprojProjectToBuild)" />
<ProjectReference Remove="@(PkgprojProjectToBuild)" />
<ProjectReference Remove="@(BundleProjectToBuild)" />
</ItemGroup>

<!-- Custom arcade target which isn't available in Microsoft.Build.Traversal. -->
<Target Name="Rebuild" DependsOnTargets="Clean;Build" />

<Import Project="$(RepositoryEngineeringDir)SubsetValidation.targets" />

<!-- Upfront restore hooks -->
<Import Project="$(RepositoryEngineeringDir)restore\docs.targets" Condition="'$(DotNetBuildFromSource)' != 'true'" />
<Import Project="$(RepositoryEngineeringDir)restore\optimizationData.targets" Condition="'$(DotNetBuildFromSource)' != 'true' and '$(EnableNgenOptimization)' == 'true'" />
<Import Project="$(RepositoryEngineeringDir)restore\runtimeprops.targets" />

<!--
Use synthetic inputs/outputs to avoid building it all the time. This should let devs build with
MSBuild node reuse enabled (the Arcade default). If it were built every time, it would hit file
locking issues vs. the persistent nodes that loaded the task DLL for the previous build. It
isn't particularly accurate, but better than nothing.
-->
<Target Name="BuildRepoTasks"
DependsOnTargets="GetRepoTasksSrc"
BeforeTargets="Restore"
Inputs="@(RepoTasksSrc)"
Outputs="$(RepoTasksOutputFile)">
<ItemGroup>
<RepoTaskProjects Include="$(RepoTasksDir)**\*.csproj" />
</ItemGroup>

<MSBuild Projects="@(RepoTaskProjects)"
Properties="MSBuildRestoreSessionId=$([System.Guid]::NewGuid());Configuration=Debug;Platform=AnyCPU"
Targets="Restore"/>

<MSBuild Projects="@(RepoTaskProjects)"
Properties="Configuration=Debug;Platform=AnyCPU"
Targets="Build"/>

<WriteLinesToFile File="$(RepoTasksOutputFile)"
Lines="$(RepoTasksOutputFile)"
Overwrite="true" />
</Target>

<Target Name="GetRepoTasksSrc">
<PropertyGroup>
<RepoTasksDir>$(RepoTasksDir)</RepoTasksDir>
<RepoTasksOutputFile>$(ArtifactsObjDir)runtime.tasks\Debug\build-semaphore.txt</RepoTasksOutputFile>
</PropertyGroup>

<ItemGroup>
<RepoTasksSrc Include="$(RepoTasksDir)**\*.cs*" />
</ItemGroup>
</Target>

<Target Name="RestoreWithoutStaticGraph"
BeforeTargets="Restore">
<MSBuild Projects="@(LibrariesRestoreProject);@(DepprojProjectToBuild);@(PkgprojProjectToBuild);@(BundleProjectToBuild)"
Properties="MSBuildRestoreSessionId=$([System.Guid]::NewGuid());RestoreUseStaticGraphEvaluation=false"
Targets="Restore" />
</Target>

</Project>
9 changes: 1 addition & 8 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,7 @@
<ArtifactsObjDir>$([MSBuild]::NormalizeDirectory('$(ArtifactsDir)', 'obj'))</ArtifactsObjDir>
</PropertyGroup>

<!-- The TFMs to build and test against. -->
<PropertyGroup>
<NETCoreAppCurrentVersion>5.0</NETCoreAppCurrentVersion>
<NetCoreAppCurrentTargetFrameworkMoniker>.NETCoreApp,Version=v$(NETCoreAppCurrentVersion)</NetCoreAppCurrentTargetFrameworkMoniker>
<NetCoreAppCurrent>netcoreapp$(NETCoreAppCurrentVersion)</NetCoreAppCurrent>
<NetFrameworkCurrent>net472</NetFrameworkCurrent>
</PropertyGroup>

<!-- Configuration properties which are needed in both the (isolated) restore and build phases. -->
<Import Project="$(RepositoryEngineeringDir)Configurations.props" />

<!--
Expand Down
5 changes: 2 additions & 3 deletions NuGet.config
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@
-->
<!-- TEST_RESTORE_SOURCES_INSERTION_LINE -->
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
<add key="dotnet-tools" value="https://dnceng.pkgs.visualstudio.com/public/_packaging/dotnet-tools/nuget/v3/index.json" />
<add key="dotnet-tools" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" />
<add key="dotnet-eng" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json" />
<add key="dotnet5" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5/nuget/v3/index.json" />
<add key="dotnet5-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5-transport/nuget/v3/index.json" />
<add key="dotnet-core" value="https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json" />
<add key="dotnet-coreclr" value="https://dotnetfeed.blob.core.windows.net/dotnet-coreclr/index.json" />
</packageSources>
<disabledPackageSources>
<clear />
Expand Down
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
[![Build Status](https://dnceng.visualstudio.com/public/_apis/build/status/dotnet/runtime/runtime?branchName=master)](https://dnceng.visualstudio.com/public/_build/latest?definitionId=686&branchName=master)
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/dotnet/runtime)

This repo contains the code to build the .NET Core runtime, libraries and shared host (`dotnet`) installers for
all supported platforms, as well as the sources to .NET Core runtime and libraries.
This repo contains the code to build the .NET runtime, libraries and shared host (`dotnet`) installers for
all supported platforms, as well as the sources to .NET runtime and libraries.

## What is .NET Core?
## What is .NET?

Official Starting Page: https://dotnet.microsoft.com/

Expand All @@ -24,6 +24,7 @@ We welcome contributions! Many people all over the world have helped make this p

* [Contributing](CONTRIBUTING.md) explains what kinds of changes we welcome
- [Workflow Instructions](docs/workflow/README.md) explains how to build and test
* [Get Up and Running on .NET Core](docs/project/dogfooding.md) explains how to get nightly builds of the runtime and its libraries to test them in your own projects.

## Reporting security issues and security bugs

Expand All @@ -33,11 +34,11 @@ Also see info about related [Microsoft .NET Core and ASP.NET Core Bug Bounty Pro

## Filing issues

This repo should contain issues that are tied to the runtime, the class libraries and frameworks, the installation of the `dotnet` binary (sometimes known as the `muxer`) and installation of the .NET Core runtime and libraries.
This repo should contain issues that are tied to the runtime, the class libraries and frameworks, the installation of the `dotnet` binary (sometimes known as the `muxer`) and installation of the .NET runtime and libraries.

For other issues, please use the following repos:

- For overall .NET Core SDK issues, file in the [dotnet/sdk](https://github.com/dotnet/sdk) repo
- For overall .NET SDK issues, file in the [dotnet/sdk](https://github.com/dotnet/sdk) repo
- For ASP.NET issues, file in the [dotnet/aspnetcore](https://github.com/dotnet/aspnetcore) repo.

## Useful Links
Expand All @@ -49,7 +50,7 @@ For other issues, please use the following repos:

## .NET Foundation

.NET Core is a [.NET Foundation](https://www.dotnetfoundation.org/projects) project.
.NET Runtime is a [.NET Foundation](https://www.dotnetfoundation.org/projects) project.

There are many .NET related projects on GitHub.

Expand Down
4 changes: 2 additions & 2 deletions THIRD-PARTY-NOTICES.TXT
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.NET Core uses third-party libraries or other resources that may be
distributed under licenses different than the .NET Core software.
.NET Runtime uses third-party libraries or other resources that may be
distributed under licenses different than the .NET Runtime software.

In the event that we accidentally failed to list a required notice, please
bring it to our attention. Post an issue or email us:
Expand Down
7 changes: 0 additions & 7 deletions coreclr.cmd

This file was deleted.

16 changes: 0 additions & 16 deletions coreclr.sh

This file was deleted.

10 changes: 5 additions & 5 deletions docs/area-owners.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ Below table shows the combined area owners on this repository:
| area-Tracing-mono | @lambdageek | |
| area-Performance-mono | @SamMonoRT | |
| **System namespaces** | | |
| area-System.Buffers | @tannergooding @JeremyKuhne | |
| area-System.Buffers | @tannergooding | |
| area-System.CodeDom | @buyaa-n @krwq | |
| area-System.Collections | @eiriktsarpalis @layomia | </ul>Excluded:<ul><li>System.Array -> System.Runtime</li></ul> |
| area-System.ComponentModel | @JeremyKuhne @safern | |
| area-System.ComponentModel | @safern | |
| area-System.ComponentModel.Composition | @maryamariyan @ViktorHofer | |
| area-System.ComponentModel.DataAnnotations | @lajones @ajcvickers | |
| area-System.Composition | @maryamariyan @ViktorHofer | |
Expand All @@ -63,10 +63,10 @@ Below table shows the combined area owners on this repository:
| area-System.Diagnostics.Process | @adamsitnik @eiriktsarpalis | |
| area-System.Diagnostics.Tracing | @noahfalk @tommcdon @tarekgh @Anipik | Packages:<ul><li>System.Diagnostics.DiagnosticSource</li><li>System.Diagnostics.PerformanceCounter - [@Anipik](https://github.com/Anipik)</li><li>System.Diagnostics.Tracing</li><li>System.Diagnostics.TraceSource - [@Anipik](https://github.com/Anipik)</li></ul><br/> |
| area-System.DirectoryServices | @tquerec @josephisenhour | |
| area-System.Drawing | @JeremyKuhne @safern | |
| area-System.Drawing | @safern | |
| area-System.Dynamic.Runtime | @cston @333fred | Archived component - limited churn/contributions (see [#33170](https://github.com/dotnet/corefx/issues/33170)) |
| area-System.Globalization | @safern @tarekgh @krwq | |
| area-System.IO | @JeremyKuhne @carlossanlop @jozkee | |
| area-System.IO | @carlossanlop @jozkee | |
| area-System.IO.Compression | @carlossanlop @ericstj | <ul><li>Also includes System.IO.Packaging</li></ul> |
| area-System.IO.Pipelines | @davidfowl @halter73 @jkotalik @anurse | |
| area-System.Linq | @eiriktsarpalis @adamsitnik | |
Expand All @@ -90,7 +90,7 @@ Below table shows the combined area owners on this repository:
| area-System.Runtime.InteropServices | @AaronRobinsonMSFT @jkoritzinsky | Excluded:<ul><li>System.Runtime.InteropServices.RuntimeInfo</li></ul> |
| area-System.Runtime.Intrinsics | @tannergooding @CarolEidt @echesakovMSFT | |
| area-System.Security | @bartonjs @GrabYourPitchforks @krwq | |
| area-System.ServiceModel | @StephenBonikowsky @HongGit @mconnew | Repo: https://github.com/dotnet/WCF<br>Packages:<ul><li>System.ServiceModel.Primitives</li><li>System.ServiceModel.Http</li><li>System.ServiceModel.NetTcp</li><li>System.ServiceModel.Duplex</li><li>System.ServiceModel.Security</li></ul> |
| area-System.ServiceModel | @HongGit @mconnew | Repo: https://github.com/dotnet/WCF<br>Packages:<ul><li>System.ServiceModel.Primitives</li><li>System.ServiceModel.Http</li><li>System.ServiceModel.NetTcp</li><li>System.ServiceModel.Duplex</li><li>System.ServiceModel.Security</li></ul> |
| area-System.ServiceModel.Syndication | @StephenMolloy @HongGit | |
| area-System.ServiceProcess | @Anipik | |
| area-System.Text.Encoding | @layomia @krwq @tarekgh | |
Expand Down
6 changes: 3 additions & 3 deletions docs/coding-guidelines/api-guidelines/nullability.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Nullability annotations

C# 8 provides an opt-in feature that allows for the compiler to track reference type nullability in order to catch potential null dereferences. We are adopting that feature across .NET Core's libraries, working up from the bottom of the stack. We're doing this for three primary reasons, in order of importance:
C# 8 provides an opt-in feature that allows for the compiler to track reference type nullability in order to catch potential null dereferences. We are adopting that feature across .NET's libraries, working up from the bottom of the stack. We're doing this for three primary reasons, in order of importance:

- **To annotate the .NET Core surface area with appropriate nullability annotations.** While this could be done solely in the reference assemblies, we're doing it first in the implementation to help validate the selected annotations.
- **To annotate the .NET surface area with appropriate nullability annotations.** While this could be done solely in the reference assemblies, we're doing it first in the implementation to help validate the selected annotations.
- **To help validate the nullability feature itself.** With millions of lines of C# code, we have a very large and robust codebase with which to try out the feature and find areas in which it shines and areas in which we can improve it. The work to annotate System.Private.CoreLib in .NET Core 3.0 helped to improve the feature as shipped in C# 8, and annotating the rest of the libraries will continue to be helpful in this regard.
- **To find null-related bugs in .NET Core itself.** We expect to find relatively few meaningful bugs, due to how relatively well-tested the codebases are and how long they've been around.
- **To find null-related bugs in .NET Runtime itself.** We expect to find relatively few meaningful bugs, due to how relatively well-tested the codebases are and how long they've been around.

## Breaking Change Guidance

Expand Down
1 change: 1 addition & 0 deletions docs/coding-guidelines/breaking-change-rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ Breaking Change Rules
So long as it does not introduce any new abstract members or change the semantics or behavior of existing members, a type can be introduced into a hierarchy between two existing types. For example, between .NET Framework 1.1 and .NET Framework 2.0, we introduced `DbConnection` as a new base class for `SqlConnection` which previously derived from `Component`.

* Adding an interface implementation to a type

This is acceptable because it will not adversely affect existing clients. Any changes which could be made to the type being changed in this situation, will have to work within the boundaries of acceptable changes defined here, in order for the new implementation to remain acceptable.
Extreme caution is urged when adding interfaces that directly affect the ability of the designer or serializer to generate code or data, that cannot be consumed down-level. An example is the `ISerializable` interface.
Care should be taken when the interface (or one of the interfaces that this interface requires) has default interface implementations for other interface methods. The default implementation could conflict with other default implementations in a derived class.
Expand Down
10 changes: 5 additions & 5 deletions docs/coding-guidelines/coding-style.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ C# Coding Style

For C++ files (*.cpp and *.h), we use clang-format (version 3.6+) to ensure code styling. After changing any Cpp or H file and before merging, src/Native/format-code.sh must be run. This script will ensure that all native code files adhere to the coding style guidelines.

For non code files (xml, etc), our current best guidance is consistency. When editing files, keep new code and changes consistent with the style in the files. For new files, it should conform to the style for that component. If there is a completely new component, anything that is reasonably broadly accepted is fine.
For other types of files (xml, bat, sh, etc), our current best guidance is consistency. When editing files, keep new code and changes consistent with the style in the files. For new files, it should conform to the style for that component. If there is a completely new component, anything that is reasonably broadly accepted is fine. For script files, please refer to the scripting blog for [tips](https://devblogs.microsoft.com/scripting/tag/powertip) and [best practices](https://devblogs.microsoft.com/scripting/tag/best-practices).

The general rule we follow is "use Visual Studio defaults".

1. We use [Allman style](http://en.wikipedia.org/wiki/Indent_style#Allman_style) braces, where each brace begins on a new line. A single line statement block can go without braces but the block must be properly indented on its own line and must not be nested in other statement blocks that use braces (See rule 17 for more details). One exception is that a `using` statement is permitted to be nested within another `using` statement by starting on the following line at the same indentation level, even if the nested `using` contains a controlled block.
2. We use four spaces of indentation (no tabs).
3. We use `_camelCase` for internal and private fields and use `readonly` where possible. Prefix internal and private instance fields with `_`, static fields with `s_` and thread static fields with `t_`. When used on static fields, `readonly` should come after `static` (e.g. `static readonly` not `readonly static`). Public fields should be used sparingly and should use PascalCasing with no prefix when used.
4. We avoid `this.` unless absolutely necessary.
4. We avoid `this.` unless absolutely necessary.
5. We always specify the visibility, even if it's the default (e.g.
`private string _foo` not `string _foo`). Visibility should be the first modifier (e.g.
`private string _foo` not `string _foo`). Visibility should be the first modifier (e.g.
`public abstract` not `abstract public`).
6. Namespace imports should be specified at the top of the file, *outside* of
`namespace` declarations, and should be sorted alphabetically, with the exception of `System.*` namespaces, which are to be placed on top of all others.
Expand Down Expand Up @@ -77,7 +77,7 @@ namespace System.Collections.Generic
get { return _count; }
}

public ObservableLinkedListNode AddLast(T value)
public ObservableLinkedListNode AddLast(T value)
{
var newNode = new LinkedListNode<T>(this, value);

Expand All @@ -97,7 +97,7 @@ namespace System.Collections.Generic
{
...
}

...
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ Given the significant work required to bring all of this infrastructure up, this

We’ll use the following scenarios when defining priorities:

- P1: Performance analysis in support of bring-up of the .NET Core runtime and framework on Linux and OS X.
- P1: Performance analysis in support of bring-up of the .NET runtime and framework on Linux and OS X.
- P2: Performance analysis of ASP.NET running on .NET Core on Linux and OS X.

To support these scenarios, we need the following capabilities:
Expand Down
Loading