/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Compilers/VisualBasic/Portable/BoundTree/BoundPseudoVariable.vb
25 строк
778 B
AlekseyTs
Ensure proper receiver value is used for a constrained call invocation (#70401)
02 ноя 2023, 01:39
Не верифицирован
02 ноя 2023, 01:39
0d04411
Код
Авторство
О чём код?
' 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. Imports Microsoft.CodeAnalysis.VisualBasic.Symbols Namespace Microsoft.CodeAnalysis.VisualBasic Partial Friend Class BoundPseudoVariable #If DEBUG Then Private Sub Validate() Debug.Assert(Not Type.IsTypeParameter()) End Sub #End If Protected Overrides Function MakeRValueImpl() As BoundExpression If Not _IsLValue Then Return Me End If Return Update(_LocalSymbol, isLValue:=False, emitExpressions:=_EmitExpressions, type:=Type) End Function End Class End Namespace