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