wtgodbe
f38ceb30be
Convert all .csproj files in src to SDK-style projects
...
Commit migrated from https://github.com/dotnet/corefx/commit/91d7e62bbf28094a2b419b87847bcd6a7658564d
2018-05-21 11:53:46 -07:00
Wes Haggard
fc526e8605
Bump assembly versions for libraries with packages
...
Commit migrated from https://github.com/dotnet/corefx/commit/6a1b5c0aeee747a535579da7374c05b8d878fb65
2018-04-27 14:56:18 -07:00
Alexander Radchenko
804d432faf
Fixed netfx System.CodeDom.Tests on non English Windows ( dotnet/corefx#28165 )
...
Fixed netfx System.CodeDom.Tests on non English Windows
Commit migrated from https://github.com/dotnet/corefx/commit/bb399884797d73f5401c637ed861745b97f0fd92
2018-03-22 07:20:17 -07:00
Santiago Fernandez Madero
b9d768589e
Fix System.Data.Odbc configurations for support package and run UpdateVSConfigurations ( dotnet/corefx#24752 )
...
* Fixed odbc configurations for compat package
* Run UpdateVSConfigurations
* Remove Default Configurations to help VS... comment from csproj's
* Remove from System.Buffers as well
Commit migrated from https://github.com/dotnet/corefx/commit/bcc59b2e74090cfbcc4d6e7c245c172744e9d46b
2017-10-23 18:24:28 -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
Tarek Mahmoud Sayed
3765a6069b
Moving PlatformDetection to Corefx.Private.TestUtilities assembly ( dotnet/corefx#23109 )
...
* Moving PlatformDetection to Corefx.Private.TestUtilities assembly
The purpose of this change is to clean up all test projects instead of including the PlatformDetection code inside every test project, we’ll have it in the Corefx.Private.TestUtilities.
I have refactored the PlatformDetection to split the different implementation of Windows and Linux. If we need to do more refactoring there we can do it later as needed.
* Fix Linux BB
* Update the xunit package reference
* Fix wrong condition on one of the tests
* Update the ConditionalFact/Theory to use Type as a parameter
Commit migrated from https://github.com/dotnet/corefx/commit/878e2fcf5a9f1068015e5fada9231088663e3490
2017-08-10 22:37:36 -07:00
Viktor Hofer
a566dda8e4
Remove unused NonSerializable attributes from non serializable types ( dotnet/corefx#22862 )
...
Commit migrated from https://github.com/dotnet/corefx/commit/7eed79faf47e8e8dbe1645fb002e52c306867347
2017-08-02 11:40:28 -04: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
Hugh Bellamy
7cdcaf5fc5
Convert Assert.Throws<ArgumentException> to AssertExtensions ( dotnet/corefx#21491 )
...
Commit migrated from https://github.com/dotnet/corefx/commit/868f123881e520285ab09600380e38abdd457a06
2017-06-27 21:13:26 -07:00
Hugh Bellamy
7cbcd5ed85
Convert most Assert.Throws<ArgumentException> without param name to AssertExtensions ( dotnet/corefx#21455 )
...
* Registry
* Collections
* ComponentModel
* Configuration
* Data
* Globalization
* Drawing
* Diagnostics
* IO
* Linq
* Add System.Net param names in tests
* Move ArgumentExceptions in System.Private.Xml to AssertExtensions
* Add System.Reflection.* ArgumentException param names
* Add param names for System.Runtime* ArgumentExceptions
* Add ArgumentException param names to System.Security.*
* Add ArgumentException param names to System.Text.*
* Add param names to ArgumentExceptions in misc projects
* Add System.Threading.* ArgumentException param names
* Fix missing files
* Fixes for unix and netfx
* Fix more failures and revert a IdnaConformance tests to avoid merge conflicts with dotnet/corefx#21463
Commit migrated from https://github.com/dotnet/corefx/commit/59915687bb261efeae70565d0ca8990ac45ceb9c
2017-06-23 12:33:47 -07:00
Morgan Brown
c748507f03
ISerializable cleanup ( dotnet/corefx#20220 )
...
* Changes to throw PlatformNotSupportedException from ISerializable.GetObjectData and serialization constructors on non-serializable types. Also removes private serialization constructors and some unneeded code that was used to support serializing non-serializable types. A few tests testing GetObjectData implementations are also removed.
* Address code review comments.
* Change exceptions' GetObjectData to just call base rather than throw. This makes them behave consistently with exceptions that didn't override GetObjectData.
Commit migrated from https://github.com/dotnet/corefx/commit/a82f54bd51e22ec3eb14eb5d8f572f022becb8e3
2017-05-25 12:38:09 -07:00
Gaurav Khanna
f167b0de93
Merge pull request dotnet/corefx#19842 from ericstj/incrementVersions
...
Increment versions post 2.0
Commit migrated from https://github.com/dotnet/corefx/commit/45d30e6bdf44d4a0e55df5a6064e8275cdf14d25
2017-05-17 12:03:29 -07:00
Morgan Brown
975ad3c685
Scale back [Serializable] CoreFX types ( dotnet/corefx#19742 )
...
* Remove SerializableAttribute from many CoreFX types that will not be serializable.
* Removes serialization tests for types that are no longer serializable and fixes serializing a couple of types. Includes marking some internal serializable types as public so that they'll be reflectible with .NET Native.
* Remove unneeded pragmas
* Update based on review comments
Commit migrated from https://github.com/dotnet/corefx/commit/6dd451f51451a7d0ceea6104b51bd17005e9a0e6
2017-05-16 18:16:29 -04: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
Atsushi Kanamori
69d0f781cf
Fix all failures in System.CodeDom.Tests on ILC.
...
Commit migrated from https://github.com/dotnet/corefx/commit/fe784bccd24c5a0a7ff8ad47f1f9e7a661f08fb8
2017-05-15 13:53:56 -07:00
Morgan Brown
d8a4ca60a8
Remove unneeded Serializable attributes ( dotnet/corefx#19577 )
...
Removes unneeded Serializable attributes from enums and delegates. They
can be serialized without attributes and this will remove noise from
future serialization changes.
Commit migrated from https://github.com/dotnet/corefx/commit/2f096d410befd4b348bf0cdf9344cf2221869581
2017-05-09 20:07:36 -07:00
Eric StJohn
8af4fc9c49
Merge pull request dotnet/corefx#18766 from ericstj/removeIsDesktopFacade
...
Remove IsDesktopFacade
Commit migrated from https://github.com/dotnet/corefx/commit/c77b83942986c9103d959dbba5de5ce0599b2858
2017-04-24 16:43:55 -07:00
Eric St. John
f23c4cfc5d
Update project configurations
...
Commit migrated from https://github.com/dotnet/corefx/commit/d4e7a1d43b74b8e16f0fe3dc0c69965dff679c42
2017-04-24 15:50:22 -07:00
Eric St. John
809b1ef04a
Remove use of IsDesktopFacade
...
Commit migrated from https://github.com/dotnet/corefx/commit/7a7bf2e0cb40168c8819d84c66c99c8984746e02
2017-04-24 15:46:30 -07:00
Atsushi Kanamori
46351bb21f
Disable all the non-zero lower bound array failures in Collections tests. ( dotnet/corefx#18737 )
...
Commit migrated from https://github.com/dotnet/corefx/commit/495d3eac3d78d004a223faaf4f992cf9f1fc1112
2017-04-21 10:31:22 -07:00
Daniel Harvey
252cdc5e95
Bulk updates of tests for AssertExtensions ( dotnet/corefx#18491 )
...
Bulk update to AssertExtensions.Throws for AOT support. This doesn't disable Assert.Throws.
Commit migrated from https://github.com/dotnet/corefx/commit/b43b4df2e0e2182154bb0f425cb4a61bc1269828
2017-04-18 09:52:02 -07:00
Santiago Fernandez Madero
22f940149a
Fix GetAllCompilerInfo_ReturnsMinimumOfCSharpAndVB test ( dotnet/corefx#18460 )
...
Commit migrated from https://github.com/dotnet/corefx/commit/6c48e0c13ffc5eea49bb70e40920f80b5e1d3d0c
2017-04-16 19:30:31 -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
Stephen Toub
896a8a1823
Revert CodeNamespaceImportCollection to using ArrayList
...
When I brought CodeDom to corefx, in response to PR feedback I changed CodeNamespaceImportCollection's storage from using an ArrayList to using a List. But this breaks behavioral compatibility on CopyTo for exceptional cases, so I'm changing it back.
Commit migrated from https://github.com/dotnet/corefx/commit/4283e196627f848f2c032627bc795cb506fdc26a
2017-03-15 11:55:28 -04:00
Ivan Kishchenko
7bb3e13e27
PVS-Studio: fixed vulnerability CWE-476 (NULL Pointer Dereference) ( dotnet/corefx#16807 )
...
* PVS-Studio: fixed vulnerability CWE-476 (NULL Pointer Dereference)
* Undo changes for understand what is breaking tests.
Commit migrated from https://github.com/dotnet/corefx/commit/44eb1dbb8577537cc225e3ceecde9625d90a9b9b
2017-03-10 07:44:09 -05: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 StJohn
1a40c1b651
Merge pull request dotnet/corefx#16191 from ericstj/packages
...
Re-enable packages for BuildAllConfigurations
Commit migrated from https://github.com/dotnet/corefx/commit/9d1d63fb791e80399b008bc7ed0801fbb49c6e0b
2017-02-16 17:44:52 -05:00
Wes Haggard
eb1f0e0530
Remove all .builds files under pkg/ref/src/tests library folders
...
Commit migrated from https://github.com/dotnet/corefx/commit/b60cbe5a2edb5ef3b88a7738507822d13d125d62
2017-02-15 16:32:03 -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
Marek Safar
676022f01f
Fixes CompilerResults serialization
...
Commit migrated from https://github.com/dotnet/corefx/commit/268d1635464b4fae432b22e4cea6b3211ac8bac0
2017-02-09 15:16:25 +01:00
Marek Safar
33bdb0c049
Adds back CodeDom Evidence as additional implementation.
...
This fixes Mono breakage caused by https://github.com/dotnet/corefx/commit/dotnet/corefx@a929f58f5d98f6800383f97804eb30ef62343eab
Commit migrated from https://github.com/dotnet/corefx/commit/cb27a4edb3b4ad041ed8a58c72288798d095f0e7
2017-02-08 18:18:17 +01:00
Stephen Toub
7cc4891e6e
Augment tests for CodeDom fix
...
Commit migrated from https://github.com/dotnet/corefx/commit/90f07f2de74e38ebaba4cf07efb341caa750efa5
2017-02-07 14:37:01 -05:00
Marek Safar
fddbb5a7f0
CodeDom fixes for explicit interface implementation with built-in types
...
This is quite corner case but C#/VB compilers cannot even parse code
where built in types are used as prefix in explicit interface implementation
The patch fixes cases like the one bellow to always use fully qualified name
in this scenario.
public class Test1
{
event int int.Click;
}
Commit migrated from https://github.com/dotnet/corefx/commit/11cd918f38bd14251a3464e0fcfce0d77075b2f6
2017-02-07 14:37:01 -05:00
Wes Haggard
f2fd0ea78a
Update Solution files to use windows path slashes.
...
Commit migrated from https://github.com/dotnet/corefx/commit/f8ba7c412d06d8e4d4e6278502d4dd771a0f10bb
2017-02-03 16:31:48 -08:00
Eric St. John
c2dc83e56a
Sync BuildConfiguration with project PropertyGroups
...
Commit migrated from https://github.com/dotnet/corefx/commit/758a0e16e8c5af8741d14043f4bef1d15a79a377
2017-02-03 08:34:24 -08:00
Wes Haggard
c4e17cd362
Update all solution files using solution generation tool
...
Commit migrated from https://github.com/dotnet/corefx/commit/a822a266821cf79df96cdd77d2a3d44f1510d9a0
2017-02-02 15:44:45 -08:00
Wes Haggard
4effd546bc
Add ProjectGuids for all projects and empty configs for projects without BuildConfigurations
...
Commit migrated from https://github.com/dotnet/corefx/commit/d00bb5d18ac91189b12ed2fb7131d0ff62da9034
2017-02-02 15:02:57 -08:00
Tarek Mahmoud Sayed
eb4147f182
Stop bin placing facade assemblies to the refs for netfx builds ( dotnet/corefx#15700 )
...
we were bin placing the facade assemblies to the ref folder during netfx build. this was causing a problem while building the tests as we'll get some types defined in the referenced facade assemblies and core libs.
Commit migrated from https://github.com/dotnet/corefx/commit/6c2087f755e240758150c6c692d5d8ddc67f2832
2017-02-01 16:34:49 -08:00
Eric St. John
60359ed705
Make netfx build work
...
This fixes all src and ref projects to build when TargetGroup=netfx.
Commit migrated from https://github.com/dotnet/corefx/commit/44df137ce0a9e38883d8f9a1149bdf01e54c8956
2017-01-31 18:43:08 -08:00
Eric St. John
2ef0e9bfd8
Sync PropertyGroups and BuildConfigurations
...
Commit migrated from https://github.com/dotnet/corefx/commit/7e4792af39bd7faba20dd3390b411f3afaee3c66
2017-01-30 13:23:56 -08:00
Eric St. John
3a15f3acd6
Fix src projects for appropriate ref folder
...
After the change to use the appropriate references for a configuration
we needed to make sure that every library has a versionless targetgroup
so that it can build in the source build scenarios without requiring
external packages from NuGet.
For any library that is part of netstandard, its implementation should
not build against netstandard
For any library that is part of the imlpementation closure of netstandard,
its implementation should not build against netstandard (else we'd have cycles).
OpenSSL must keep its netstandard ref, however it has NETCoreApp specific API
dependencies. See https://github.com/dotnet/standard/issues/186 . As such we
need to cross-compile both src and ref for NETCoreApp. I've moved the not-
supported assembly to be the 'netstandard' implementation.
Commit migrated from https://github.com/dotnet/corefx/commit/28097ca87cc2e8bcf7760f05732464b2c00eeaa4
2017-01-30 11:14:08 -08:00
Eric St. John
d8824893ff
Fix ref configurations for appropriate ref folder
...
For any ref that can build on top of NETStandard it should.
Commit migrated from https://github.com/dotnet/corefx/commit/3733239be954dcd9179df7d196f8a3c95e3b868b
2017-01-30 08:39:35 -08:00
Jeremy Kuhne
8752292416
Break Configuration CodeDom dependency ( dotnet/corefx#15527 )
...
- Move TempFileCollection to common folder
- Fix CodeDom.sln (needed folders for identically named projects)
Commit migrated from https://github.com/dotnet/corefx/commit/e11d6ed334725a8332ef81df195a5c35d48eb967
2017-01-27 10:58:55 -08:00
Jose Perez Rodriguez
dd708b105d
Adding missing Configurations.props for refs and fixing the existing ones ( dotnet/corefx#15291 )
...
Adding missing Configurations.props for refs and fixing the existing ones
Commit migrated from https://github.com/dotnet/corefx/commit/2847e0ec9f7c9ac42d44d2bc8c6fd39e504b7a9b
2017-01-19 16:38:55 -08:00
Stephen Toub
ec0a883b49
Merge pull request dotnet/corefx#15239 from marek-safar/codedom-pns
...
Extracts not supported implementation to separate files for CodeDom generators
Commit migrated from https://github.com/dotnet/corefx/commit/2e7dcca2b34dda7a286b4e449d9c8518f611d742
2017-01-18 07:57:44 -05:00
Marek Safar
2bc392cb91
Update CodeDom TempFileCollection to match .net API ( dotnet/corefx#15238 )
...
* Update CodeDom TempFileCollection to match .net API
* New Delete test
* Removes System.CodeDom.Compiler.TempFileCollection.Delete() from baseline
Commit migrated from https://github.com/dotnet/corefx/commit/ac68fde370f17740b972e891fc1a206b64cd2d03
2017-01-17 18:17:24 -07:00
Marek Safar
e7f8457cca
Extracts not supported implementation to separate files for CodeDom generators
...
This allows plug-in implementation on platforms where generators are supported
Commit migrated from https://github.com/dotnet/corefx/commit/efeffaef4dbb975fbde26cbe984bbf7b276544b9
2017-01-18 00:14:39 +01:00
Karthik Rajasekaran
4bbdadd88a
Update project configuration and sln files ( dotnet/corefx#15182 )
...
* Add ValidateVSConfigurations
* Update project config and sln files.
Commit migrated from https://github.com/dotnet/corefx/commit/f6ab339f446e37505f93ef9f430801fa1dcc05b8
2017-01-17 14:31:23 -08:00