73 references to IsElement
Microsoft.VisualStudio.LanguageServices.UnitTests (73)
CodeModel\CSharp\CodeAttributeTests.vb (2)
437TestParent(code, IsElement("C", kind:=EnvDTE.vsCMElement.vsCMElementClass)) 450TestParent(code, IsElement("C", kind:=EnvDTE.vsCMElement.vsCMElementClass))
CodeModel\CSharp\CodeClassTests.vb (13)
910TestAttributes(code, IsElement("Serializable")) 923TestAttributes(code, IsElement("Serializable"), IsElement("CLSCompliant")) 935TestAttributes(code, IsElement("Serializable"), IsElement("CLSCompliant")) 948TestBases(code, IsElement("Object")) 958TestBases(code, IsElement("Object")) 969TestBases(code, IsElement("C")) 980TestBases(code, IsElement("Object")) 990TestBases(code, IsElement("List")) 1014TestChildren(code, IsElement("M")) 1025TestChildren(code, IsElement("Obsolete"), IsElement("M"))
CodeModel\CSharp\CodeEnumTests.vb (6)
103TestBases(code, IsElement("Enum")) 136TestAttributes(code, IsElement("Flags")) 152TestAttributes(code, IsElement("Serializable"), IsElement("Flags")) 167TestAttributes(code, IsElement("Serializable"), IsElement("Flags"))
CodeModel\CSharp\CodeFunctionTests.vb (5)
220TestAttributes(code, IsElement("Obsolete")) 240TestAttributes(code, IsElement("Obsolete")) 266TestAttributes(code, IsElement("Obsolete")) 292TestAttributes(code, IsElement("Obsolete")) 310TestAttributes(code, IsElement("Obsolete"))
CodeModel\CSharp\CodeInterfaceTests.vb (5)
70TestAttributes(code, IsElement("Serializable")) 83TestAttributes(code, IsElement("Serializable"), IsElement("CLSCompliant")) 95TestAttributes(code, IsElement("Serializable"), IsElement("CLSCompliant"))
CodeModel\CSharp\CodeNamespaceTests.vb (6)
581IsElement("C1", EnvDTE.vsCMElement.vsCMElementClass), 582IsElement("C2", EnvDTE.vsCMElement.vsCMElementClass), 583IsElement("C3", EnvDTE.vsCMElement.vsCMElementClass)) 599IsElement("C1", EnvDTE.vsCMElement.vsCMElementClass), 600IsElement("C2", EnvDTE.vsCMElement.vsCMElementClass), 601IsElement("C3", EnvDTE.vsCMElement.vsCMElementClass))
CodeModel\CSharp\CodeParameterTests.vb (3)
332TestParent(code, IsElement("M", kind:=EnvDTE.vsCMElement.vsCMElementFunction)) 342TestParent(code, IsElement("Goo", kind:=EnvDTE.vsCMElement.vsCMElementDelegate)) 358TestParent(code, IsElement("this", kind:=EnvDTE.vsCMElement.vsCMElementProperty))
CodeModel\CSharp\CodeStructTests.vb (10)
36TestAttributes(code, IsElement("Serializable")) 49TestAttributes(code, IsElement("Serializable"), IsElement("CLSCompliant")) 61TestAttributes(code, IsElement("Serializable"), IsElement("CLSCompliant")) 74TestBases(code, IsElement("ValueType", kind:=EnvDTE.vsCMElement.vsCMElementClass)) 84TestBases(code, IsElement("ValueType", kind:=EnvDTE.vsCMElement.vsCMElementClass)) 167TestImplementedInterfaces(code, IsElement("IDisposable", kind:=EnvDTE.vsCMElement.vsCMElementInterface)) 237TestParent(code, IsElement("N", kind:=EnvDTE.vsCMElement.vsCMElementNamespace)) 253TestParent(code, IsElement("C", kind:=EnvDTE.vsCMElement.vsCMElementClass))
CodeModel\CSharp\CodeVariableTests.vb (5)
277TestAttributes(code, IsElement("Serializable")) 293TestAttributes(code, IsElement("Serializable"), IsElement("CLSCompliant")) 308TestAttributes(code, IsElement("Serializable"), IsElement("CLSCompliant"))
CodeModel\CSharp\FileCodeModelTests.vb (1)
120IsElement("C"))
CodeModel\VisualBasic\CodeAttributeTests.vb (2)
599TestParent(code, IsElement("C", kind:=EnvDTE.vsCMElement.vsCMElementClass)) 613TestParent(code, IsElement("C", kind:=EnvDTE.vsCMElement.vsCMElementClass))
CodeModel\VisualBasic\CodeDelegateTests.vb (1)
158TestAttributes(code, IsElement("CLSCompliant"))
CodeModel\VisualBasic\CodeEventTests.vb (2)
416TestAttributes(code, IsElement("CLSCompliant")) 438TestAttributes(code, IsElement("CLSCompliant"))
CodeModel\VisualBasic\CodeFunctionTests.vb (5)
538TestAttributes(code, IsElement("Obsolete")) 556TestAttributes(code, IsElement("Obsolete")) 578TestAttributes(code, IsElement("Obsolete")) 600TestAttributes(code, IsElement("Obsolete")) 616TestAttributes(code, IsElement("Obsolete"))
CodeModel\VisualBasic\CodeNamespaceTests.vb (3)
956IsElement("C1", EnvDTE.vsCMElement.vsCMElementClass), 957IsElement("C2", EnvDTE.vsCMElement.vsCMElementClass), 958IsElement("C3", EnvDTE.vsCMElement.vsCMElementClass))
CodeModel\VisualBasic\CodeParameterTests.vb (1)
744TestParent(code, IsElement("M", kind:=EnvDTE.vsCMElement.vsCMElementFunction))
CodeModel\VisualBasic\CodePropertyTests.vb (2)
318TestAttributes(code, IsElement("CLSCompliant")) 338TestAttributes(code, IsElement("CLSCompliant"))
CodeModel\VisualBasic\FileCodeModelTests.vb (1)
199IsElement("C"))