Commit Graph
10 Commits
Author SHA1 Message Date
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 4d97955681 Consolidate matching ref generated baseline files
This change collapses some baseline files as well as fixes
some of the reference mis-matches


Commit migrated from https://github.com/dotnet/corefx/commit/8842923d3d6bc357d39b34c93353df952ac02079
2018-03-09 15:43:29 -08:00
Tomáš Matoušek 60360b1cfc Add API that allows the emitter to indicate presence of localloc (dotnet/corefx#27589)
* Add API that allows the emitter to indicate presence of localloc

* Regenerate ref assembly source


Commit migrated from https://github.com/dotnet/corefx/commit/3fc3900a4b22d1444010b90dfba57f14bbe43961
2018-03-08 10:22:42 -08:00
Kassem Sandarusi c935fac773 TypeDefinition.IsNested Property (dotnet/corefx#25963)
* Adding API TypeDefinition.IsNested. Closes dotnet/corefx#5377

* Adding related tests.

* fixing backward asserts.

* Switching to expression-bodied syntax.

* Adding doc comment. Switching to an assembly that actually has nested types.

* Fixing xml doc comment to align with msdn comment style.

* Update TypeDefinition.cs

Fixing bad grammar in comments.


Commit migrated from https://github.com/dotnet/corefx/commit/af18a5fe0d4aab25d8fcb6900fcffa8c99befb60
2018-02-04 13:26:16 -08:00
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
Wes Haggard 72e76002bf Fix readonly/ref ApiCompat issues found with new compat rules
Most of these are just ref assemblies that are outdated with
the implementation. This gets the contracts in sync with the current
readonly/ref annotations in the implementation.


Commit migrated from https://github.com/dotnet/corefx/commit/e116b949bd3364e9971c513f8642cdc6064cb53f
2018-01-04 21:29:32 -08:00
Stephen Toub 09612a41dd Update ref assemblies with readonly changes
Commit migrated from https://github.com/dotnet/corefx/commit/45b724f6b6391910edea8a70f3f22a4a7996696d
2017-11-03 09:48:47 -04:00
Maryam Ariyan 59be828169 Added GetAssemblyName API for AssemblyDefinition and AssemblyReference (dotnet/corefx#23396)
* Added GetAssemblyName API to MetadataReader

Also added GetAssemblyName API to AssemblyReference and
AssemblyDefinition

* Adding more changes

Removing unnecessary usings in StringUtils and StringUtilsTests

Adding private methods in MetadataReader to set flags and hashAlgorithm

* adding helper class for AssemblyName

* Removing helper class and simplifying flag setup

Adding sample unit tests. will add more in next changeset

* Correcting two impl. mistakes in GetAssemblyName()

Correcting EnableJITcompileOptimizer flag casting

Correcting flag casting mistake on AssemblyNameFlag

* new GetAssemblyName tests + fix for netstandard1.1

* applying the code review comments

* correcting public key computation and improving flag computation

* code cleanup in the AssemblyDefinitionTests class

* using AssemblyFlags.ContentTypeMask instead of magic number 0x0E00

* refactored tests + renamed files to netstandard2.1

* setting methods to private in test class

* added test validating assemblyname with publickey

added another test validating assemblyname with culture

applied some code review comments

* code cleanup in AssemblyDefinitionTests

* renaming new netstandard2.0 files to versionless netstandard

* further cleaning up test classes


Commit migrated from https://github.com/dotnet/corefx/commit/146fd85208e0251a480318d419cdc178db350761
2017-08-31 16:52:31 -07:00
Eric Mellino 86be53fa83 Update VS configurations and ProjectGUID's for 4 new ref projects.
Commit migrated from https://github.com/dotnet/corefx/commit/40954b6656b3f06a35bb55d3dfd31d8e6888c61c
2017-05-24 11:28:01 -07:00
Eric Mellino c054d234e9 Add a "GenerateReferenceAssembly" target and generate four assemblies.
* The GenerateReferenceAssembly target can be run as a manual step on a
  project. When run, it produces a source code file <Assembly>.cs, in the
  reference assembly folder for the library. This source file can be used
  to compile an equivalent reference assembly.
* Use the target to generate reference assemblies for the following
  libraries:
  * System.Collections.Immutable
  * System.Reflection.Metadata
  * System.Threading.Tasks.Dataflow
  * System.Threading.Tasks.Extensions


Commit migrated from https://github.com/dotnet/corefx/commit/c92788e773afae26bc61e93e83a0f3c2b5eee91a
2017-05-24 11:13:10 -07:00