6 references to SetTypeWithAnnotations
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder_Patterns.cs (1)
881localSymbol.SetTypeWithAnnotations(declType);
Binder\Binder_Statements.cs (1)
1107localSymbol.SetTypeWithAnnotations(declTypeOpt);
Binder\ForEachLoopBinder.cs (1)
299local.SetTypeWithAnnotations(declType);
BoundTree\VariablePendingInference.cs (1)
75localSymbol.SetTypeWithAnnotations(type);
Symbols\Source\SourceLocalSymbol.cs (2)
303SetTypeWithAnnotations(localType); 797SetTypeWithAnnotations(TypeWithAnnotations.Create(_nodeBinder.CreateErrorType("var")));