Skip to content

Conversation

@danielcweber
Copy link
Collaborator

No description provided.

{
#pragma warning disable IDE1006 // Naming Styles: 3rd party code is known to reflect for this specific field name
private static IQueryLanguageEx s_impl = QueryServices.GetQueryImpl<IQueryLanguageEx>(new QueryLanguageEx());
private static readonly IQueryLanguageEx s_impl = QueryServices.GetQueryImpl<IQueryLanguageEx>(new QueryLanguageEx());
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a "hack" entry point. Remember why we couldn't inline the IQueryLanguage? Because RxSpy and others use this type of fields to inject their instrumentation.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright, I though they did it through the PlatformEnlightenmentProvider. That should still be possible though.

We should try to get in touch with the RxSpy folks though soon.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

{
#pragma warning disable IDE1006 // Naming Styles: 3rd party code is known to reflect for this specific field name
private static IQueryLanguage s_impl = QueryServices.GetQueryImpl<IQueryLanguage>(new QueryLanguage());
private static readonly IQueryLanguage s_impl = QueryServices.GetQueryImpl<IQueryLanguage>(new QueryLanguage());
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a "hack" entry point. Remember why we couldn't inline the IQueryLanguage? Because RxSpy and others use this type of fields to inject their instrumentation.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll revise that in a minute.

@danielcweber
Copy link
Collaborator Author

This has been revised.

@danielcweber danielcweber merged commit a39262b into dotnet:master Jul 3, 2018
@danielcweber danielcweber deleted the MarkFieldsReadonlyWhereApproproate branch July 4, 2018 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants