Prevent ImplicitTransform of index getter method (dotnet/corefx#41418)
authorJohn Salem <josalem@microsoft.com>
Tue, 8 Oct 2019 17:58:42 +0000 (10:58 -0700)
committerGitHub <noreply@github.com>
Tue, 8 Oct 2019 17:58:42 +0000 (10:58 -0700)
commitaa419182317380bbbe23ed6d8f750b19085d644c
tree83eccd738bb7fa8622d0c02cf95a66c3e494b258
parent4389df6728661d8feb127e211e7375305e313e85
Prevent ImplicitTransform of index getter method (dotnet/corefx#41418)

* Prevent TransformSpec from attempting to implicitly create a delegate for index properties

* Add tests

Commit migrated from https://github.com/dotnet/corefx/commit/2b8d0577ee97ff312ef074ab36f264ebedcccfbf
src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/DiagnosticSourceEventSource.cs
src/libraries/System.Diagnostics.DiagnosticSource/tests/DiagnosticSourceEventSourceBridgeTests.cs