question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItĀ collects links to all the places you might be looking at while hunting down a tough bug.

And, if youā€™re still stuck at the end, weā€™re happy to hop on a call to see how we can help out.

PropertyInfoSelectorAssertions.NotBeWritable?

See original GitHub issue

Hi,

I just found out about PropertyInfoSelector type and its corresponding PropertyInfoSelectorAssertions type. I see that thereā€™s a BeWritable assertion method included, but oddly enough, thereā€™s no NotBeWritable counterpart.

Is there a reason why? Iā€™d like to know before I implement my own NotBeWritable extension method. šŸ˜ƒ

Thank you!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
dramuraicommented, Mar 11, 2020

I could take a shot at this, unless I should interpret @jnyrup šŸ‘ as sign that he is willing to do it.

1reaction
dennisdoomencommented, Feb 20, 2020

I see. Well, we would welcome a PR šŸ˜‰

Read more comments on GitHub >

github_iconTop Results From Across the Web

c# - Simplifying an expression selector
Is there a way of being able to call ArgumentNotNull without needing the () => part of the lambda and simply call Ensure....
Read more >
c# - Delegate that selects a writable property on a generic
In the following contrived example, I have a collection of PropertyManager s that each contains selector and assigner delegates to read from andĀ ......
Read more >
Accessing properties by name with compile-time typesafety
Creating TypeAccessor. PropertyInfo[] properties = typeof(T).GetProperties(BindingFlags.Instance | (includeNonPublic ? BindingFlags.NonPublic :Ā ...
Read more >
Customizing Comparisons in FluentAssertions with Options
It's not terrible, but it was really a step back from using IncludeAllDeclaredProperties method which promised to do exactly that before I triedĀ ......
Read more >
Asserting object graph equivalence using Fluent Assertions 2.0
This expression has access to the property path, the property info and the subject's run-time and compile-time type. You could also take aĀ ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found