ViIvanov

#MSVS2013, Find All References

Jan 12th, 2014
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.35 KB | None | 0 0
  1. using System;
  2. using System.Collections;
  3.  
  4. class Program : IEnumerable
  5. {
  6.   static void Main() {
  7.     var p = new Program { "Does not found", };
  8.     p.Add("This is found");
  9.   }
  10.  
  11.   // Try Find All References for this method
  12.   public void Add(object x) { }
  13.  
  14.   IEnumerator IEnumerable.GetEnumerator() {
  15.     throw new NotImplementedException();
  16.   }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment