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