23 references to GetTypeSymbol
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (23)
CodeGeneration\CodeGenerationTests.cs (13)
159GetTypeSymbol(returnType)(testContext.SemanticModel), 204GetTypeSymbol(returnType)(testContext.SemanticModel), 236GetTypeSymbol(returnType)(testContext.SemanticModel), 284GetTypeSymbol(toType)(testContext.SemanticModel), 352GetTypeSymbol(returnType)(testContext.SemanticModel), 386var typeSymbol = GetTypeSymbol(type)(testContext.SemanticModel); 438var typeSymbol = GetTypeSymbol(type)(testContext.SemanticModel); 458GetTypeSymbol(typeof(void))(testContext.SemanticModel), 536var attr = CodeGenerationSymbolFactory.CreateAttributeData(GetTypeSymbol(attributeClass)(testContext.SemanticModel)); 552var attributeType = GetTypeSymbol(attributeClass)(testContext.SemanticModel); 685=> s => CodeGenerationSymbolFactory.CreateArrayTypeSymbol(GetTypeSymbol(type)(s), rank); 709new Editing.DeclarationModifiers(), GetTypeSymbol(typeof(int))(s), name, value != null, value); 716modifiers, GetTypeSymbol(type)(s), name);
CodeGeneration\CodeGenerationTests.CSharp.cs (5)
55type: GetTypeSymbol(typeof(int))); 67type: GetTypeSymbol(typeof(string)), 94type: GetTypeSymbol(typeof(int))); 103type: GetTypeSymbol(typeof(int)), addToCompilationUnit: true); 1442await TestUpdateDeclarationAsync<MethodDeclarationSyntax>(input, expected, getType: GetTypeSymbol(typeof(int)));
CodeGeneration\CodeGenerationTests.VisualBasic.cs (5)
49type: GetTypeSymbol(typeof(int))); 60type: GetTypeSymbol(typeof(string)), 413GetTypeSymbol(typeof(System.ComponentModel.INotifyPropertyChanged))(semanticModel), 417GetTypeSymbol(typeof(System.ComponentModel.PropertyChangedEventHandler))(semanticModel), 1512await TestUpdateDeclarationAsync<MethodStatementSyntax>(input, expected, getType: GetTypeSymbol(typeof(int)));