3rdparty/NRefactory/ICSharpCode.NRefactory.Tests/CSharp/CodeCompletion/CodeCompletionBugTests.cs
/// <summary>
/// Bug 4604 - [Resolver] Attribute Properties are not offered valid autocomplete choices
/// </summary>
Bug 4604 - [Resolver] Attribute Properties are not offered valid autocomplete choices
Bug 4604 - [ Resolver ] Attribute Properties are not offered valid autocomplete choices
[Test]
		public void TestBug4604()
		{
			CombinedProviderTest(
@"
		public sealed class MyAttribute : System.Attribute
		{
			public bool SomeBool {
				get;
				set;
			}
		}
$[MyAttribute(SomeBool=t$
public class Test
{
}
", provider => {
				Assert.IsNotNull(provider.Find("true"), "'true' not found.");
				Assert.IsNotNull(provider.Find("false"), "'false' not found.");
			});
		}
[ Test ] public void TestBug4604 ( ) { CombinedProviderTest ( @"
		public sealed class MyAttribute : System.Attribute
		{
			public bool SomeBool {
				get;
				set;
			}
		}
$[MyAttribute(SomeBool=t$
public class Test
{
}
" , provider => { Assert . IsNotNull ( provider . Find ( " " ) , " " ) ; Assert . IsNotNull ( provider . Find ( " " ) , " " ) ; } ) ; }
Bug 4604 - [Resolver] Attribute Properties are not offered valid autocomplete choices
Bug 4604 - [ Resolver ] Attribute Properties are not offered valid autocomplete choices