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