19 writes to Name
Microsoft.VisualStudio.LanguageServices.UnitTests (19)
CodeModel\CSharp\CodeClassTests.vb (11)
1812Await TestAddFunction(code, expected, New FunctionData With {.Name = "Goo", .Type = "void"}) 1835Await TestAddFunction(code, expected, New FunctionData With {.Name = "Goo", .Type = "void"}) 1858Await TestAddFunction(code, expected, New FunctionData With {.Name = "Goo", .Type = "System.Void"}) 1884Await TestAddFunction(code, expected, New FunctionData With {.Name = "Goo", .Type = "void"}) 1910Await TestAddFunction(code, expected, New FunctionData With {.Name = "Goo", .Type = "void", .Position = 1}) 1936Await TestAddFunction(code, expected, New FunctionData With {.Name = "Goo", .Type = "void", .Position = "i"}) 1958Await TestAddFunction(code, expected, New FunctionData With {.Name = "C", .Kind = EnvDTE.vsCMFunction.vsCMFunctionConstructor}) 1980Await TestAddFunction(code, expected, New FunctionData With {.Name = "C", .Kind = EnvDTE.vsCMFunction.vsCMFunctionConstructor, .Access = EnvDTE.vsCMAccess.vsCMAccessPublic}) 2003Await TestAddFunction(code, expected, New FunctionData With {.Name = "@as", .Type = "void", .Access = EnvDTE.vsCMAccess.vsCMAccessPublic}) 2025Await TestAddFunction(code, expected, New FunctionData With {.Name = "C", .Kind = EnvDTE.vsCMFunction.vsCMFunctionDestructor, .Type = "void", .Access = EnvDTE.vsCMAccess.vsCMAccessPublic}) 2052Await TestAddFunction(code, expected, New FunctionData With {.Name = "M2", .Type = "void", .Position = -1, .Access = EnvDTE.vsCMAccess.vsCMAccessPrivate})
CodeModel\CSharp\CodeInterfaceTests.vb (1)
360Await TestAddFunction(code, expected, New FunctionData With {.Name = "Goo", .Type = "void"})
CodeModel\CSharp\CodeStructTests.vb (1)
385Await TestAddFunction(code, expected, New FunctionData With {.Name = "Goo", .Type = "void"})
CodeModel\VisualBasic\CodeClassTests.vb (6)
754Await TestAddFunction(code, expected, New FunctionData With {.Name = "Goo", .Kind = EnvDTE.vsCMFunction.vsCMFunctionSub}) 774Await TestAddFunction(code, expected, New FunctionData With {.Name = "Goo", .Access = EnvDTE.vsCMAccess.vsCMAccessPrivate, .Type = "Integer"}) 818Await TestAddFunction(code, expected, New FunctionData With {.Name = "New", .Kind = EnvDTE.vsCMFunction.vsCMFunctionSub}) 838Await TestAddFunction(code, expected, New FunctionData With {.Name = "New", .Kind = EnvDTE.vsCMFunction.vsCMFunctionSub}) 857Await TestAddFunction(code, expected, New FunctionData With {.Name = "C", .Kind = EnvDTE.vsCMFunction.vsCMFunctionDestructor}) 887Await TestAddFunction(code, expected, New FunctionData With {.Name = "M2", .Type = "void", .Position = -1, .Access = EnvDTE.vsCMAccess.vsCMAccessPrivate})
5 references to Name
Microsoft.VisualStudio.LanguageServices.UnitTests (5)
CodeModel\AbstractCodeClassTests.vb (1)
141Return codeElement.AddFunction(data.Name, data.Kind, data.Type, data.Position, data.Access, data.Location)
CodeModel\AbstractCodeElementTests`1.vb (1)
753Assert.Equal(data.Name, func.Name)
CodeModel\AbstractCodeInterfaceTests.vb (1)
58Return codeElement.AddFunction(data.Name, data.Kind, data.Type, data.Position, data.Access)
CodeModel\AbstractCodeStructTests.vb (1)
66Return codeElement.AddFunction(data.Name, data.Kind, data.Type, data.Position, data.Access, data.Location)
CodeModel\AbstractFileCodeModelTests.vb (1)
112fileCodeModel.AddFunction(data.Name, data.Kind, data.Type, data.Position, data.Access)