Commit Graph
536 Commits
Author SHA1 Message Date
Wes Haggard fc9b090ef0 Update references assemblies to include private fields for structs
Contributes to https://github.com/dotnet/corefx/issues/6185.


Commit migrated from https://github.com/dotnet/corefx/commit/2e97d43060dfb589907a15dbfef0cc7db6e90546
2018-01-12 08:53:41 -08:00
dotnet-maestro-bot 749bf84caa Update BuildTools, CoreClr, CoreFx, CoreSetup, ProjectNTfs, ProjectNTfsTestILC to prerelease-02312-02, preview1-26014-04, preview1-26013-12, preview1-26014-02, beta-26014-01, beta-26014-01, respectively (master) (dotnet/corefx#25913)
* Update BuildTools, CoreClr, CoreFx, CoreSetup to prerelease-02312-02, preview1-26014-04, preview1-26013-12, preview1-26014-02 respectively

* Fix build break


Commit migrated from https://github.com/dotnet/corefx/commit/eeffcfe499dbd7ece97b0c652ed54139411732c1
2017-12-14 11:42:32 -05:00
Jan Kotas 27d98c0776 Delete unnecessary SecurityCritical and SecuritySafeCritical annotations
Commit migrated from https://github.com/dotnet/corefx/commit/0bb106232745aedfc0d0c5a84ff2b244bf190317
2017-11-19 10:37:38 -08:00
Jan Kotas 9b5f569108 Misc cleanup (dotnet/corefx#25343)
- Remove unnecessary SetErrorCode wrapper from IsolatedStorageException
- Delete unnecessary FriendAccessAllowed attribute
- Delete unused files

Commit migrated from https://github.com/dotnet/corefx/commit/02a26f8f417967e31bab8d96605d3d8846154e8a
2017-11-19 06:59:45 -05:00
Stano Peťko 1a70106b96 File path is in IO exception messages (dotnet/corefx#25195)
* Added path to message Argument_InvalidPathChars.

* Added path to message IO_PathTooLong.

* IO_PathTooLong - separate message when path is empty.

* Added argument reference to message.


Commit migrated from https://github.com/dotnet/corefx/commit/51da21f9934c63216a8d7a2eb27ec5aa97944600
2017-11-14 23:09:24 -05:00
Jan Kotas 4f73201480 Replace JitHelpers.UnsafeCast with Unsafe.As (dotnet/corefx#24019)
Both methods to the same, but the latter one is the offficial public name for the functionality

Commit migrated from https://github.com/dotnet/corefx/commit/dc9f75d81e91a531f7235c95ee9c18a047332dc6
2017-09-13 17:46:04 -07:00
Jan Kotas 2d5f6a9bcb Fix UAP build break
S.R.WindowsRuntime is a friend with CoreLib. HResults definition in CoreLib has changed and it is
colliding local HResults definition in S.R.WindowsRuntime now.


Commit migrated from https://github.com/dotnet/corefx/commit/1c502040a69bcd3a256131f6005feed36122926c
2017-08-31 12:33:34 -07:00
Brian Chavez 232a1dfac0 Grammar check - "a [a,e]" rule. (dotnet/corefx#23697)
* Grammar check - "a [a,e]" rule.

* Corrected "a attributes" to "an attribute"


Commit migrated from https://github.com/dotnet/corefx/commit/be75987c628347e1d44bba15c5272ade3dcfa65c
2017-08-31 09:29:39 -04:00
Brian Chavez 88875187b0 XML doc spelling corrections - D through H. 🚿 (dotnet/corefx#23638)
Commit migrated from https://github.com/dotnet/corefx/commit/a27929935d2782cdc3e7be21653e8c4530274c6f
2017-08-29 17:10:01 -07:00
Brian Chavez f866987b74 XML doc spelling corrections - I through P. 🚿 (dotnet/corefx#23651)
Commit migrated from https://github.com/dotnet/corefx/commit/b09fab5799bb1ca4bea4b4bb086d2c9870dd5191
2017-08-29 15:42:23 -07:00
Brian Chavez ba2326f831 XML doc spelling corrections - A through C. (dotnet/corefx#23634)
Commit migrated from https://github.com/dotnet/corefx/commit/afcbd9a5b9e4ecde2db3a69afd093631f1db91c5
2017-08-28 23:42:20 -07:00
Eric St. John 15b6decf41 Add mscorlib facade for refs consuming Windows.winmd
Reference assemblies consuming Windows.winmd need to have
an mscorlib facade because Windows.winmd has references to
types in mscorlib.


Commit migrated from https://github.com/dotnet/corefx/commit/1f8756b47931e4ed11e1a2c6bd9af54f3c958a81
2017-08-28 10:34:51 -07:00
Tarek Mahmoud Sayed f6a33a7b85 Avoid the failure we are getting when calling Windows Runtime (dotnet/corefx#22052)
Sometimes Windows Runtime fails and we get Argument Exception which can fail fast the whole app. To avoid that we ignore the exception.

Commit migrated from https://github.com/dotnet/corefx/commit/4ab41d47ad08e6e70a97f811c02afb6f93d5cd80
2017-07-10 20:19:14 -07:00
Krzysztof Wicher 5b0283d6f6 Merge pull request dotnet/corefx#21782 from krwq/regex-uap
Re-enable Regex tests on UAP and speed them up (more than 40x times)

Commit migrated from https://github.com/dotnet/corefx/commit/ccb2914d98aef5967a4b02c21aa89c18d94e7ac5
2017-07-03 15:47:33 -07:00
Tarek Mahmoud Sayed 5dc2052f95 Fix setting current culture to invariant in UAP
Commit migrated from https://github.com/dotnet/corefx/commit/e6ff7a2c75b16912a11d04fee428c6f15c0737bf
2017-07-03 14:47:58 -07:00
Hugh Bellamy 98b18432b7 Move AssertExtensions to Corefx.Private.TestUtilities (dotnet/corefx#21799)
* Move AssertExtensions to Corefx.Private.TestUtilities

* Update csprojs

* Fix Linq.Expressions uapaot build


Commit migrated from https://github.com/dotnet/corefx/commit/7e3b0db2892c56a431f8e99af9cd9381adec385a
2017-07-03 09:27:30 -07:00
Jan Kotas 5fd01d75ba Use public ConditionalWeakTable iterator (dotnet/corefx#21751)
Port https://github.com/dotnet/corert/pull/4030/commits/dotnet/corefx@a3837f7fc60a1b7db872cfef6463f74fb1ffeafb to CoreCLR

Commit migrated from https://github.com/dotnet/corefx/commit/1ee5d8333cfd2a74548a5c7bbc38950cca628566
2017-06-29 22:49:21 -07:00
Tijoy Tom b8714abc2f Merge pull request dotnet/corefx#21658 from hughbe/windowsruntime-runtime-tests
Add Runtime.WindowsRuntime tests

Commit migrated from https://github.com/dotnet/corefx/commit/12f1e6eccb3da16fa4c54cc7c1cf342cbe487f48
2017-06-29 11:16:30 -07:00
Hugh Bellamy b27278fcac Fix aot test failures
Commit migrated from https://github.com/dotnet/corefx/commit/7f7dddd1a2d9e510dd33a20de97c3bb8cc1c7c1f
2017-06-29 17:03:25 +07:00
Aditya Mandaleeka 875fe930ae Add DispatcherQueue support in WindowsRuntimeSynchronizationContext.
Commit migrated from https://github.com/dotnet/corefx/commit/5f34315e62441ff30968e03cc645b58b5f3e834d
2017-06-28 15:30:12 -07:00
Hugh Bellamy 7c660f36bb Update remaining argument*exceptions to have param names (dotnet/corefx#21650)
Commit migrated from https://github.com/dotnet/corefx/commit/ea1bc38c237dfb768e7d442efa95cab785e89ac3
2017-06-28 06:44:57 -07:00
Hugh Bellamy 6603164136 Remove faulty debug assertion
Commit migrated from https://github.com/dotnet/corefx/commit/fb50f4902da339ac47cab90ae24be5a6c6817851
2017-06-28 20:26:16 +07:00
Hugh Bellamy 38e24ff169 Delete unused code
Commit migrated from https://github.com/dotnet/corefx/commit/69f5f1981af9c48994d3fa77d927fb5494f1e3ab
2017-06-28 20:26:15 +07:00
Hugh Bellamy fbbc3d8aab Remove unecessary checks for uint less than zero
Commit migrated from https://github.com/dotnet/corefx/commit/6cd4228bdea0ea39b2a8e5f7e7dd56ef55e64e86
2017-06-28 20:26:14 +07:00
Hugh Bellamy 9de3c9f567 Add WindowsRuntimeBuffer tests
Commit migrated from https://github.com/dotnet/corefx/commit/f8466374ee48861c63b1fb8164a5ac4bd7d2bdae
2017-06-28 20:26:14 +07:00
Hugh Bellamy c42b2f5054 Add tests for drawing primitives
Commit migrated from https://github.com/dotnet/corefx/commit/6fb0b077835b4a57e20d590244407cfb63a5a153
2017-06-28 20:26:13 +07:00
Hugh Bellamy dc800b2134 Fixup instances of [ThreadStatic] naming in product code
Commit migrated from https://github.com/dotnet/corefx/commit/38e9be7ef701e80add8d279f8cfb1c0d1ad95a38
2017-06-18 07:08:03 +07:00
Jeremy Kuhne a7db261be2 Port some WindowsRuntime tests (dotnet/corefx#19787)
* Port some WindowsRuntime tests

Port tests for converting to WinRT streams. Change from MSTest,
add usings, match style guidelines.

* Missing files

* Address feedback

Start adding some assert extensions for comparison that log details in exception messages.


Commit migrated from https://github.com/dotnet/corefx/commit/d7d59a694039f6133dcd2663d3d57a516ed23ee2
2017-06-13 13:41:46 -07:00
Niklas Therning dccc098a80 Use unqualified reference to SR in System/Windows/Rect.cs (dotnet/corefx#20864)
Using global::System.SR makes it hard to compile Rect.cs against the Mono BCL
since SR is usually placed in the root namespace in Mono rather than in
System.

Commit migrated from https://github.com/dotnet/corefx/commit/4245a3b608b6e190196d6a153bc2f5a820825d4c
2017-06-09 09:50:01 -07:00
Tarek Mahmoud Sayed a8542de9fe Enable Remote Execution for UAP
This change is to enable the infrastructure to run code remotely in isolated container app for corefx test projects. Note that this change is just enabling the infrastructure so the next step would be to visit all test projects using remote execution and update them to work as expected with UAP runs.
I have modified System.Globalization test project to be an example what need to be done in the test projects to enable remote execution for UAP.
The changes here also fix issue when setting the current culture in UAP app and using customized sub-classed CultureInfo object. This scenario was not possible before exposing CultureInfo.CurrentCulture setter because there was no way to set the current culture in UWP apps except through WinRT APIs. Now after exposing CurrentCulture setter, this scenario is enabled and callers can set customized culture instance. We used not to bother before but now we should honor such culture instance to give the expected behavior when setting the culture.


Commit migrated from https://github.com/dotnet/corefx/commit/3795f1956a7e3d4bed2edb0213124357652f1c2c
2017-06-02 11:20:05 -07:00
Santiago Fernandez Madero e8c0db60b4 Update buildtools and extensions and do tests cleanup for new attributes behavior (dotnet/corefx#20333)
* Update buildtools and extensions and do tests cleanup for new attributes behavior


Commit migrated from https://github.com/dotnet/corefx/commit/bc73a9b7ca2a644efd9fc3cb51dde3bc3726ecd7
2017-05-26 02:13:52 -05:00
Tijoy Tom Kalathiparambil 5c1b96c61f Disable IStorageFile test for uapaot.
These test need to run in appcontainer
since the native API validate that.


Commit migrated from https://github.com/dotnet/corefx/commit/37d58e718c7b34238b801487140fba9e210da4b2
2017-05-24 13:16:01 -07:00
Eric St. John e02c675179 Increment versions post 2.0
Commit migrated from https://github.com/dotnet/corefx/commit/6c5f87319a4785499008c95b2ff5e7f13a413d22
2017-05-16 14:12:16 -07:00
Wes Haggard 3968a70735 Refresh VS Configurations
Commit migrated from https://github.com/dotnet/corefx/commit/39d309a9be077e110bab4f05f4196bad95f0d5b4
2017-05-03 09:36:31 -07:00
Jeremy Kuhne 06cc8fa844 Add WinRT to SafeFileHandle converters (dotnet/corefx#19029)
* Clean WindowsRuntimeStorageExtensions code

Remove Contracts and use C# keywords

* Add WinRT to SafeFileHandle converters

- Adds methods to convert IStorageFolder/IStorageFile to SafeFileHandle
- Adds test project and tests to S.R.WindowsRuntime

* Address feedback


Commit migrated from https://github.com/dotnet/corefx/commit/02f9abf08f0d21d1ff928817db807e0eb6f6adea
2017-04-28 13:48:57 -07:00
Eric St. John d0cfa6fdb0 Update project configurations
Commit migrated from https://github.com/dotnet/corefx/commit/e15f244ad68b70444ad77889e5f92043d245bcdb
2017-04-18 13:28:55 -07:00
Eric St. John 08a06887a3 Re-enable package validation and clean up package content
Commit migrated from https://github.com/dotnet/corefx/commit/72002dbb7e3e657adaeb002feca0399d9667a54b
2017-04-18 13:28:50 -07:00
Jan Kotas 39af547c07 Delete unnecessary reference
Commit migrated from https://github.com/dotnet/corefx/commit/2f3f49c5e44853069fca83e0777cd7144edaafba
2017-04-15 11:21:07 -07:00
Wes Haggard 4185183e8c Updates how we define which key an assembly uses
Now instead of Use*Key a project can instead define the assembly key
in the project (genreally the common dir.pops for a project) using
the AssemblyKey property. The accepted values are Open, ECMA, MSFT,
Test.

This change allows for a repo to set the default key they want to use
for projects. In corefx we have switched the default to use the Open
key instead of the old BuildTools default of MSFT key.

As part of this update we are explicitly setting the AssemblyKey in
all the library projects (although it is really only necessary for
projects that aren't the default).

Also with this change we are updating all the new libraries that have
not yet shipped stable (compared to our 1.1 release) and making them
use the Open key. Which means that for prerelease dependencies there
might be some binary breaking changes to consume.

The following libraries ahven't shipped so there key is being
changed from MSFT to Open:
Microsoft.XmlSerializer.Generator
System.CodeDom
System.Configuration.ConfigurationManager
System.Data.Odbc
System.DirectoryServices
System.DirectoryServices.AccountManagement
System.DirectoryServices.Protocols
System.IO.Ports
System.Json
System.Memory
System.Net.HttpListener
System.Net.Mail
System.Net.ServicePoint
System.Net.WebClient
System.Net.WebProxy
System.Private.Xml
System.Private.Xml.Linq
System.Security.Cryptography.Xml
System.Security.Permissions
System.Transactions.Local
System.Web.HttpUtility


Commit migrated from https://github.com/dotnet/corefx/commit/ac09a797d09502ebab61f7167bb856846602e1e6
2017-04-10 12:51:50 -07:00
Matt Ellis 2ea4b71d0c Add missing resource string
Today this is working because S.R.WindowsRuntime has internals visible to
CoreLib and CoreLib defines this resource in an SR class. In newer
CoreCLR's that's not happening. If you try to update to consume a newer
CoreCLR you run into an issue.


Commit migrated from https://github.com/dotnet/corefx/commit/6e841adcdd048c75aaea5112816a565f4d950742
2017-03-22 15:20:09 -07:00
Eric St. John ba482d502d Fix package dependency issues
Some packages were causing cycles due to the meta-package remapping for
NETStandard.Library and those packages being used in the implementation
closure of NETStandard.Library.

Disable the NETStandard.Library remapping in these packages.

I also noticed that S.R.M was getting an unbaselined dependency for a
portable profile dependency section which was causing issues when
restored on UAP10.0 without the UWP meta-package.

System.Security.Permissions was also missing support for UAP10.1 but it
was required to install due to Registry depending on it.


Commit migrated from https://github.com/dotnet/corefx/commit/561a027b200fda73baf994c46c43191774669bcc
2017-03-17 12:41:37 -07:00
Dan Moseley 44ac2dd747 Remove dead string resources (dotnet/corefx#16284)
Commit migrated from https://github.com/dotnet/corefx/commit/6b4423f47d5048b4c1437aaefe87859b258c89b7
2017-02-18 06:01:59 -08:00
Jon Hanna aa4b36ebfa Fix several typos (dotnet/corefx#16264)
* Fix several typos

coment → comment
rangecheck → range check
testcase → test case
deffer → defer
everytime → every time
whitespaces → whitespace (whitespace is uncountable)
white space → whitespace
white spaces → whitespace
the the → the
a → a
nametest → name test
scaned → scanned
and and → and
undecision → indecision
are no whitespace → is no whitespace
Whidbey casing
Everett casing
unkown → unknown
messsage → message
mesage → message
mesasage → message
publically → publicly (publically is attested but questionable).
exceptionto → exception to
mutatable → mutable
implemention → implementation
hadnt → hadn't
couldnt → couldn't
wouldnt → wouldn't
wont → won't
isntead → instead
preocessor → processor
particural → particular
interations → iterations
enterying → entering
stoppped → stopped
stoped → stopped
verication → verification
compuatation → computation
revisisted → revisited
partioner → partitioner
lock'ed → locked
table'd → table would
hashtable'ed → hashtabled (still coining, but tabled is analogous)
intialize → initialize
calcuate → calculate
perfom → perform
performr → perform
matthing → matching
corect → correct
thorw → throw
supress → suppress
reqeust → request
mutliple → multiple
ot → to
trival → trivial
upto → up to
specfices → specifies
patttern → pattern
descrepancy → discrepancy
explict → explicit
implict → implicit
usign → using
non-sensical → nonsensical
contination → continuation
producs → products
childred → children
parametr → parameter
approriate → appropriate
insted → instead
expection → exception
successsfully → successfully
funtion → function
unqiue → unique
apparant → apparent
expception → exception
conatined → contained
apssed → passed
propogate → propagate
cutoms → custom
currrent → current
curent → current
concurent → concurrent
coplted → completed
unexcepted → Unexpected (where the latter seems more appropriate)
to to → to
abd → and
refence → reference
particiant → participant
cuurrent → current
extratc → extract
cparticipant → participant
ehich → which
choosen → chosen
mske → make
alread → already
aquire → acquire
droppping → dropping
intial → initial
tru → true
aprticipant → participant
excption → exception
sempahore → semaphore
fileds → fields
threashold → threshold
duting → during
didnt → didn't
atribute → attribute
serliazation → serialization
localy → locally
channge → change
prperties → properties
attrbute → attribute
sentinal → sentinel
shoukd → should
existant → existent
commnent → comment
expeted → expected
propert → property
commnet → comment
datat → data
ther → the
mach → match
inhertiance → inheritance
convience → convenience
completley → completely
otheriwse → otherwise
actuall → actual
inefficent → inefficient
defalut → default
comparsion → comparison
charcters → characters
postion → position
aleady → already
charater → character
incosistent → inconsistent
seperate → separate
veify → verify
currentlly → currently
corect → correct
betwwen → between
omiting → omitting
readr → reader
compae → compare
allways → always
thown → thrown
with with → with
usecase → use case
avare → aware
lexem → lexeme
grammer → grammar
oposite → opposite
overrided → overridden
everithig → everything
chages → changes
memeber → member
proerties → properties
identifer → identifier
doesnot → does not
deriaved → derived
varialble → variable

* defered -> deferred

* Revert changes within clrcompression.

* Revert underreach → under-reach

* Fix casing broken while fixing spelling.

* Use type name instead of "Diagnostic sources"


Commit migrated from https://github.com/dotnet/corefx/commit/f0ccd9742065ee2aa296448fe3dd38ef6ff77af9
2017-02-17 10:31:00 -08:00
Eric St. John ba03538d7c Make pkgprojs reference *proj rather than builds
Commit migrated from https://github.com/dotnet/corefx/commit/0ede35ef512ac16b5dabe8c6b7b3d7d54c1c0ddb
2017-02-14 09:52:02 -08:00
Eric St. John cc939555ea Remove pkg .builds files
Commit migrated from https://github.com/dotnet/corefx/commit/361a62675ad474ac7a6c593becbc35f2cf48e6a3
2017-02-14 09:52:01 -08:00
Jan Kotas 897b20a4fd Update CoreClr, ProjectNTfs, Standard to beta-25010-03, beta-25010-00, beta-25010-01, respectively (dotnet/corefx#16051)
* Update CoreClr, ProjectNTfs, Standard to beta-25010-03, beta-25010-00, beta-25010-01, respectively

* Cleanup after moving System.Resources.ResourceManager to CoreLib for uapaot

Commit migrated from https://github.com/dotnet/corefx/commit/c356d0bd88e521dd625cea4807517afb038b2c3e
2017-02-10 15:22:10 -08:00
Jose Perez Rodriguez d9c497be12 Prepare uap package (dotnet/corefx#15866)
Prepare uap package

Commit migrated from https://github.com/dotnet/corefx/commit/afaaf450d1869992dcf4f51c627f16145cf9c974
2017-02-08 10:39:37 -08:00
Jose Perez Rodriguez f234afb58b Filtering down the NETNative TargetingPack to avoid type conflicts (dotnet/corefx#15929)
Filtering down the NETNative TargetingPack to avoid type conflicts

Commit migrated from https://github.com/dotnet/corefx/commit/b2ca211833d0c66ee427169b9517bb606ac03234
2017-02-07 16:10:43 -08:00
Jan Kotas 927a7d4c8d Delete duplicate implementation of UnmanagedMemoryStream
Commit migrated from https://github.com/dotnet/corefx/commit/14d5bff9edc642636856b48edffabfa1813b28c2
2017-02-07 06:28:17 -08:00
Jan Kotas 80129686c4 Fix build break with CoreCLR update
Commit migrated from https://github.com/dotnet/corefx/commit/6e50114a49fca53aba620ea45d03b38697e46020
2017-02-05 18:40:26 -08:00