3rdparty/NRefactory/ICSharpCode.NRefactory.Tests/CSharp/Analysis/SemanticHighlightingTests.cs
/// <summary>
/// Bug 9539 - Semantic highlighting does not detect invalid type
/// </summary>
Bug 9539 - Semantic highlighting does not detect invalid type
Bug 9539 - Semantic highlighting does not detect invalid type
[Test]
		public void TestBug9539()
		{
			string code =@"class C<T>
		{
			public class N<U>
			{
			}
		}
		class A
		{
			public static int Main ()
			{
				var a = typeof (C<>.$N<,>); // The type is not red even if this linedoes not compile
				return 0;
			}
		}
";
			TestColor (code, syntaxErrorColor);
		}
[ Test ] public void TestBug9539 ( ) { string code = @"class C<T>
		{
			public class N<U>
			{
			}
		}
		
		class A
		{
			public static int Main ()
			{
				var a = typeof (C<>.$N<,>); // The type is not red even if this linedoes not compile
				return 0;
			}
		}
" ; TestColor ( code , syntaxErrorColor ) ; }
Bug 9539 - Semantic highlighting does not detect invalid type
Bug 9539 - Semantic highlighting does not detect invalid type