Remove ILLinkTrim.xml from System.Diagnostics.DiagnosticSource (dotnet/corefx#42124)
authorStephen Toub <stoub@microsoft.com>
Sat, 26 Oct 2019 21:08:45 +0000 (17:08 -0400)
committerGitHub <noreply@github.com>
Sat, 26 Oct 2019 21:08:45 +0000 (17:08 -0400)
commit7ebc6006226aa30d79b31c494a5489b6c4be568e
treebbe89233c83ddad0e21689b0d0d4206961cf767c
parent6afbb0bca0305a23756e48b562d5a54edd7a4a3f
Remove ILLinkTrim.xml from System.Diagnostics.DiagnosticSource (dotnet/corefx#42124)

- Use PreserveDependencyAttribute for ctors used via reflection by FetcherForProperty
- Remove reflection use entirely when looking up Activity events

Commit migrated from https://github.com/dotnet/corefx/commit/a5d7583c1dc46a0bbf97ba89791079fffd4f1755
src/libraries/System.Diagnostics.DiagnosticSource/src/ILLinkTrim.xml [deleted file]
src/libraries/System.Diagnostics.DiagnosticSource/src/System.Diagnostics.DiagnosticSource.csproj
src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/DiagnosticSourceEventSource.cs