Search refactor predecessors: Add Resharper Annotations

These annotations help with Resharper code analysis.  More description here:  

http://www.jetbrains.com/resharper/webhelp80/Reference__Code_Annotation_Attributes.html

@ikeough @lukechurch As discussed in https://github.com/DynamoDS/Dynamo/pull/3463