10 references to ValidateDeclarationNameConflictsInScope
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder.QueryTranslationState.cs (1)
90collisionDetector.ValidateDeclarationNameConflictsInScope(result, diagnostics);
Binder\Binder_Deconstruct.cs (1)
906var hasErrors = localSymbol.ScopeBinder.ValidateDeclarationNameConflictsInScope(localSymbol, diagnostics);
Binder\Binder_Expressions.cs (1)
2961localSymbol.ScopeBinder.ValidateDeclarationNameConflictsInScope(localSymbol, diagnostics);
Binder\Binder_NameConflicts.cs (2)
54ValidateDeclarationNameConflictsInScope(tp, diagnostics); 84ValidateDeclarationNameConflictsInScope(p, diagnostics);
Binder\Binder_Patterns.cs (1)
884hasErrors |= localSymbol.ScopeBinder.ValidateDeclarationNameConflictsInScope(localSymbol, diagnostics);
Binder\Binder_Statements.cs (3)
559.ValidateDeclarationNameConflictsInScope(localSymbol, diagnostics); 998bool nameConflict = localSymbol.ScopeBinder.ValidateDeclarationNameConflictsInScope(localSymbol, diagnostics); 3239hasError |= this.ValidateDeclarationNameConflictsInScope(local, diagnostics);
Binder\ForEachLoopBinder.cs (1)
262hasNameConflicts = originalBinder.ValidateDeclarationNameConflictsInScope(IterationVariable, diagnostics);