6 references to SetTypeWithAnnotations
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder_Patterns.cs (1)
890localSymbol.SetTypeWithAnnotations(declType);
Binder\Binder_Statements.cs (1)
1104localSymbol.SetTypeWithAnnotations(declTypeOpt);
Binder\ForEachLoopBinder.cs (1)
314local.SetTypeWithAnnotations(declType);
BoundTree\VariablePendingInference.cs (1)
75localSymbol.SetTypeWithAnnotations(type);
Symbols\Source\SourceLocalSymbol.cs (2)
302SetTypeWithAnnotations(localType); 813SetTypeWithAnnotations(TypeWithAnnotations.Create(_nodeBinder.CreateErrorType("var")));