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