/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Compilers/CSharp/Portable/BoundTree/BoundNameOfOperator.cs
17 строк
548 B
AlekseyTs
Avoid premature full binding of a receiver as a value in the process of binding possible type-or-value receiver (so-called “Color Color” scenario) (#80978)
20 ноя 2025, 21:57
Не верифицирован
20 ноя 2025, 21:57
ac2327f
Код
Авторство
О чём код?
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Diagnostics; namespace Microsoft.CodeAnalysis.CSharp { internal partial class BoundNameOfOperator { private partial void Validate() { Debug.Assert(!Binder.IsTypeOrValueExpression(Argument)); Debug.Assert(!Binder.IsMethodGroupWithTypeOrValueReceiver(Argument)); } } }