/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Compilers/VisualBasic/Portable/Symbols/Source/SourceDelegateClonedParameterSymbolForBeginAndEndInvoke.vb
42 строки
2 KB
Youssef Victor
VB support for CallerArgumentExpression (#54132)
29 июн 2021, 04:28
Не верифицирован
29 июн 2021, 04:28
af4b1e1
Код
Авторство
О чём код?
' 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. Namespace Microsoft.CodeAnalysis.VisualBasic.Symbols Friend NotInheritable Class SourceDelegateClonedParameterSymbolForBeginAndEndInvoke Inherits SourceClonedParameterSymbol Public Sub New(originalParam As SourceParameterSymbol, newOwner As MethodSymbol, ordinal As Integer) MyBase.New(originalParam, newOwner, ordinal) Debug.Assert(Not originalParam.IsOptional) End Sub Friend Overrides ReadOnly Property IsCallerLineNumber As Boolean Get ' This parameter cannot be optional. Hence, this property shouldn't be accessed. Throw ExceptionUtilities.Unreachable End Get End Property Friend Overrides ReadOnly Property IsCallerMemberName As Boolean Get ' This parameter cannot be optional. Hence, this property shouldn't be accessed. Throw ExceptionUtilities.Unreachable End Get End Property Friend Overrides ReadOnly Property IsCallerFilePath As Boolean Get ' This parameter cannot be optional. Hence, this property shouldn't be accessed. Throw ExceptionUtilities.Unreachable End Get End Property Friend Overrides ReadOnly Property CallerArgumentExpressionParameterIndex As Integer Get ' This parameter cannot be optional. Hence, this property shouldn't be accessed. Throw ExceptionUtilities.Unreachable End Get End Property End Class End Namespace