1
0
Fork 0
mirror of https://github.com/VSadov/Satori.git synced 2025-06-08 11:37:04 +09:00
Commit graph

11 commits

Author SHA1 Message Date
Viktor Hofer
960e4d723c
Leverage the shipping, roslyn based ApiCompat in dotnet/runtime (#73263)
* ApiCompat infra changes

* Convert baseline to suppression files

* ApiCompat.proj

* update suppressions

* sorted suppressions

* rebase and update suppressions

* enable attribute and param rules

* Enable optional rules

* WebAssemblyThreading proj

* CompatSuppression for XmlREaderWriter

* Enable optional rules correctly...

* ThreadPool UnsupportedOSPlatformAttribute

* VBCore CP0017

* Migrate all CoreLibs over

* Update ApiCompat.proj

* Add ApiCompat.proj baselines

* Update ApiCompat.proj

* Clean-up suppression files with nint/IntPtr fix

* Clean-up CoreLib suppression

* Update suppression files with latest apicompat fix

* Update suppression files

* update suppressions

* Update suppression files

* Clean-up obsolete suppression files

* Update suppression files

* update suppressions

* huge reduction in suppression file size

* update suppressions

* more suppressions removed

* update suppressions

* Update dependencies and clean-up

* Add suppression files for CoreLib and fix path

* Update CoreLib coreclr suppression file

* Update coreclr suppression files

* Suppression file fixes and Linux path fixes

* Update coreclr suppression again)

* Fix suppression file path calculation

* Fix previous mistake

* Diagnostics.Tracing suppression file

* Threading suppression file fix

* use global suppression for CryptoSignedXmlRecursionException

* Add Specification.Tests suppression

* Disable NoTargets ref copying

* Fix for coreclr build

* Avoid duplicate project evals

Co-authored-by: smasher164 <akhilindurti@microsoft.com>
Co-authored-by: Akhil Indurti <aindurti@gmail.com>
2022-10-16 15:15:28 +02:00
Alexander Köplinger
8762a02634
Add reference assembly for System.Private.CoreLib.dll (#72143)
We now compile against the reference assembly in all places where we were compiling against the mono/coreclr System.Private.CoreLib.dll implementation assembly before.

The new reference assembly consumes sources from the existing contracts to avoid checking in a generated version of SPC.dll (this would add ~20k lines of .cs which is mostly duplicated with System.Runtime.cs)

Since a few contracts have only partially moved types to SPC we wrap contract types with `#if !BUILDING_CORELIB_REFERENCE` so we can hide them when compiling the SPC reference assembly. This needed a few GenAPI changes which are implemented here: https://github.com/dotnet/arcade/pull/10003.

Note that this means that the types which live in CoreLib are moved to the end of the ref .cs file which causes a GitHub diff to show up, but it is actually a no-op.

Regenerating the ref .cs files works the same way as before, by running the `GenerateReferenceAssemblySource` target in the contract's src\ folder.

Fixes https://github.com/dotnet/runtime/issues/67660

Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
2022-08-02 17:58:13 +02:00
Aaron Robinson
2747f30e53
Update updating-ref-source.md (#70169)
Update flags for using GenAPI.
2022-06-02 13:54:51 -07:00
Eric StJohn
c0a1734094
Remove the use of IsPartialFacadeAssembly in refererences (#52793)
* Remove the use of IsPartialFacadeAssembly in refererences

This flag requires assembly-re-writing to replace type-defs in reference
assemblies with type forwards, when the same type exists in references.

We've pretty much exclusively used this on .NETFramework, since it's
not friendly to source build (CCI isn't part of source build).
.NETFramework isn't going to be changing so it doesn't save us much
to generate these typeforwards in the build.

We also used these to make sure the netstandard surface area was
compatible with .NETFramework facades (we'd use the pre-rewritten
reference assemblies for contract), but this need goes away now that we
have package validation based APICompat that compares netstandard refs
to net4x facades.

* Fix some projects I missed after changing naming convention

* Fixup another project

* Fix build of System.System.Threading.AccessControl

* Adding a section to ref-source docs on .NETFramework facades

* Address feedback
2021-05-19 08:22:04 +02:00
Eric Erhardt
4d784693eb
Updating ref source documentation for full facades (#41629) 2020-08-31 19:56:28 -05:00
Michal Strehovský
2a4284b9f3
Update steps to rebuild System.Runtime ref source (#38020)
Fixes #37966.
2020-06-17 05:48:07 -07:00
Eirik Tsarpalis
1692e34e41
Document disabling ApiCompat checks (#37011)
* Document disabling ApiCompat checks
2020-05-26 18:50:18 +02:00
Anirudh Agnihotry
322257f778
Use already defined generateAssemblyReferenceSource rather defining a new target (#35818)
* use arcade target

* extra space

* fixes generation of reference src from runtime projects

* run target to get genapi

* use referencePath to get references

* adding  GenerateReferenceSource target

* added the target name
2020-05-11 13:59:11 -07:00
Anirudh Agnihotry
86a086377b
updating docs and removing BuildConfiguration and ConfigurationGroup (#32062)
* build config and update docs

* remove configurationGroup and update docs

* addressing feedback

* viktor comments
2020-02-20 14:39:38 -08:00
Dan Moseley
9900dfb4b2
Organize some markdowns and fix links (#1159)
* Move files into hierarchy

* fix more links

* Fix botr and features links

* Remove bad apostrophe

* spelling

* Apply suggestions from code review

Co-Authored-By: Youssef Victor <31348972+Youssef1313@users.noreply.github.com>

* Update docs/coding-guidelines/package-projects.md

Co-Authored-By: Jan Kotas <jkotas@microsoft.com>

Co-authored-by: Youssef Victor <31348972+Youssef1313@users.noreply.github.com>
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
2019-12-26 15:22:57 -08:00
Viktor Hofer
a71a3249a9
Consolidate docs (#251)
* Consolidate sub-repo docs
2019-11-25 23:52:43 +01:00
Renamed from docs/libraries/coding-guidelines/updating-ref-source.md (Browse further)