bool CreateCodeActionProvider()
			{
				lock (this) {
					if (codeActionProvider == null) {
						codeActionProvider = (CodeActionProvider)Activator.CreateInstance(type);
					}
					return true;
				}
			}
		public NRefactoryCodeActionProvider (CodeActionProvider provider, ContextActionAttribute attr)
		{
			if (provider == null)
				throw new ArgumentNullException ("provider");
			if (attr == null)
				throw new ArgumentNullException ("attr");
			this.provider = provider;
			Title = GettextCatalog.GetString (attr.Title ?? "");
			Description = GettextCatalog.GetString (attr.Description ?? "");
			Category = GettextCatalog.GetString (attr.Category ?? "");
			MimeType = "text/x-csharp";
		}