System.Runtime.Remoting.RemotingConfiguration.ConfigHandler.CheckPath C# (CSharp) Method

CheckPath() private method

private CheckPath ( string path ) : bool
path string
return bool
		bool CheckPath (string path)
		{
			CompareInfo ci = CultureInfo.InvariantCulture.CompareInfo;
			if (ci.IsPrefix (path, "/", CompareOptions.Ordinal))
				return path == currentXmlPath;
			else
				return ci.IsSuffix (currentXmlPath, path, CompareOptions.Ordinal);
		}