ToString() public method

public ToString ( ) : string
return string
Esempio n. 1
0
 public static void GacInstalledCallMethods()
 {
     GacInstalled gi = new GacInstalled();
     object obj = gi.Copy();
     IPermission ip = gi.CreateIdentityPermission(new Evidence());
     bool check = gi.Equals(new object());
     int hash = gi.GetHashCode();
     string str = gi.ToString();
 }
Esempio n. 2
0
		public void ToString_ ()
		{
			GacInstalled gac = new GacInstalled ();
			Assert.IsTrue (gac.ToString ().StartsWith ("<System.Security.Policy.GacInstalled version=\"1\"/>"));
		}