6 references to SetTypeWithAnnotations
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder_Patterns.cs (1)
902localSymbol.SetTypeWithAnnotations(declType);
Binder\Binder_Statements.cs (1)
1106localSymbol.SetTypeWithAnnotations(declTypeOpt);
Binder\ForEachLoopBinder.cs (1)
322local.SetTypeWithAnnotations(declType);
BoundTree\VariablePendingInference.cs (1)
75localSymbol.SetTypeWithAnnotations(type);
Symbols\Source\SourceLocalSymbol.cs (2)
468SetTypeWithAnnotations(declType); 883SetTypeWithAnnotations(TypeWithAnnotations.Create(DeclaringCompilation.ImplicitlyTypedVariableInferenceFailedType));