10 references to ValidateDeclarationNameConflictsInScope
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder.QueryTranslationState.cs (1)
92
collisionDetector.
ValidateDeclarationNameConflictsInScope
(result, diagnostics);
Binder\Binder_Deconstruct.cs (1)
906
var hasErrors = localSymbol.ScopeBinder.
ValidateDeclarationNameConflictsInScope
(localSymbol, diagnostics);
Binder\Binder_Expressions.cs (1)
3180
localSymbol.ScopeBinder.
ValidateDeclarationNameConflictsInScope
(localSymbol, diagnostics);
Binder\Binder_NameConflicts.cs (2)
51
ValidateDeclarationNameConflictsInScope
(tp, diagnostics);
81
ValidateDeclarationNameConflictsInScope
(p, diagnostics);
Binder\Binder_Patterns.cs (1)
893
hasErrors |= localSymbol.ScopeBinder.
ValidateDeclarationNameConflictsInScope
(localSymbol, diagnostics);
Binder\Binder_Statements.cs (3)
562
.
ValidateDeclarationNameConflictsInScope
(localSymbol, diagnostics);
995
bool nameConflict = localSymbol.ScopeBinder.
ValidateDeclarationNameConflictsInScope
(localSymbol, diagnostics);
3340
hasError |= this.
ValidateDeclarationNameConflictsInScope
(local, diagnostics);
Binder\ForEachLoopBinder.cs (1)
277
hasNameConflicts = originalBinder.
ValidateDeclarationNameConflictsInScope
(IterationVariable, diagnostics);