53 references to Operand
Microsoft.CodeAnalysis.VisualBasic (20)
Binding\Binder_Delegates.vb (7)
48Dim boundOperand = BindExpression(addressOfSyntax.Operand, isInvocationOrAddressOf:=True, diagnostics:=diagnostics, isOperandOfConditionalBranch:=False, eventContext:=False) 57ReportDiagnostic(diagnostics, addressOfSyntax.Operand, ERRID.ERR_AddressOfOperandNotMethod) 67ReportDiagnostic(diagnostics, addressOfSyntax.Operand, ERRID.ERR_InvalidConstructorCall) 305addressOfSyntax = addressOfExpressionSyntax.Operand 574addressOfOperandSyntax = DirectCast(addressOfOperandSyntax, UnaryExpressionSyntax).Operand 631addressOfOperandSyntax = DirectCast(addressOfOperandSyntax, UnaryExpressionSyntax).Operand 1000addressOfOperandSyntax = DirectCast(addressOfOperandSyntax, UnaryExpressionSyntax).Operand
Binding\Binder_Operators.vb (7)
1106Dim operand As BoundExpression = BindValue(node.Operand, diagnostics) 1113Dim int32Type = GetSpecialType(SpecialType.System_Int32, node.Operand, diagnostics) 1114operand = ApplyImplicitConversion(node.Operand, int32Type, operand, diagnostics) 1166resultType = GetSpecialType(intrinsicOperatorType, node.Operand, diagnostics) 1179ReportDiagnostic(diagnostics, node.Operand, ErrorFactory.ErrorInfo(ERRID.ERR_StrictDisallowsObjectOperand1, node.OperatorToken)) 1181ReportDiagnostic(diagnostics, node.Operand, ErrorFactory.ErrorInfo(ERRID.WRN_ObjectMath2, node.OperatorToken)) 1185operand = ApplyImplicitConversion(node.Operand, resultType, operand, diagnostics)
Binding\Binder_Statements.vb (1)
2284ReportDiagnostic(diagnostics, addrOffExpr.Operand, ERRID.WRN_RelDelegatePassedToRemoveHandler)
Generated\Syntax.xml.Main.Generated.vb (2)
4158Dim newOperand = DirectCast(Visit(node.Operand), ExpressionSyntax) 4159If node.Operand IsNot newOperand Then anyChanges = True
Generated\Syntax.xml.Syntax.Generated.vb (3)
25350return Update(Me.Kind, operatorToken, Me.Operand) 25383Return Me.Operand 25412If kind <> Me.Kind OrElse operatorToken <> Me.OperatorToken OrElse operand IsNot Me.Operand Then
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (4)
ExpressionSyntaxExtensions.vb (1)
132Return DetermineType(unary.Operand, semanticModel, cancellationToken)
VisualBasicQualifyMemberAccessDiagnosticAnalyzer.vb (1)
43Return unaryExpressionSyntax.Operand.GetLocation()
VisualBasicSyntaxFacts.vb (1)
1874operand = unaryExpression.Operand
VisualBasicUseIsNotDiagnosticAnalyzer.vb (1)
59Dim operand = notExpression.Operand
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (3)
SyntaxTreeExtensions.vb (1)
921Return GetExpressionTerminatingToken(unaryExpression.Operand)
VisualBasicTypeInferenceService.TypeInferrer.vb (1)
40Dim symbol = SemanticModel.GetSymbolInfo(unaryExpression.Operand, CancellationToken).GetAnySymbol()
VisualBasicUseIsNotExpressionCodeFixProvider.vb (1)
55Dim operand = notExpression.Operand
Microsoft.CodeAnalysis.VisualBasic.Features (9)
ChangeSignature\VisualBasicChangeSignatureService.vb (1)
709convertedType = semanticModel.GetSymbolInfo(u.Operand, cancellationToken).Symbol
CodeFixes\GenerateEvent\GenerateEventCodeFixProvider.vb (1)
166Return unaryExpression.Operand
GenerateType\VisualBasicGenerateTypeService.vb (3)
291generateTypeServiceStateOptions.DelegateCreationMethodSymbol = GetMemberGroupIfPresent(semanticModel, DirectCast(simpleArgumentExpression, UnaryExpressionSyntax).Operand, cancellationToken) 327generateTypeServiceStateOptions.DelegateCreationMethodSymbol = GetMemberGroupIfPresent(semanticModel, DirectCast(expression, UnaryExpressionSyntax).Operand, cancellationToken) 350generateTypeServiceStateOptions.DelegateCreationMethodSymbol = GetMemberGroupIfPresent(semanticModel, DirectCast(expressionToBeCasted, UnaryExpressionSyntax).Operand, cancellationToken)
InlineHints\VisualBasicInlineParameterNameHintsService.vb (1)
88Return GetKind(unary.Operand)
VisualBasicQualifyMemberAccessDiagnosticAnalyzer.vb (1)
43Return unaryExpressionSyntax.Operand.GetLocation()
VisualBasicUseIsNotDiagnosticAnalyzer.vb (1)
59Dim operand = notExpression.Operand
VisualBasicUseIsNotExpressionCodeFixProvider.vb (1)
55Dim operand = notExpression.Operand
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Semantics\SyntaxTreeRootTests.vb (1)
70Dim childTree = node.Operand.SyntaxTree
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (8)
Generated\Syntax.Test.xml.Generated.vb (8)
20910Assert.NotNull(objectUnderTest.operand) 20911Dim withObj = objectUnderTest.WithOperatorToken(objectUnderTest.OperatorToken).WithOperand(objectUnderTest.Operand) 20919Assert.NotNull(objectUnderTest.operand) 20920Dim withObj = objectUnderTest.WithOperatorToken(objectUnderTest.OperatorToken).WithOperand(objectUnderTest.Operand) 20928Assert.NotNull(objectUnderTest.operand) 20929Dim withObj = objectUnderTest.WithOperatorToken(objectUnderTest.OperatorToken).WithOperand(objectUnderTest.Operand) 20937Assert.NotNull(objectUnderTest.operand) 20938Dim withObj = objectUnderTest.WithOperatorToken(objectUnderTest.OperatorToken).WithOperand(objectUnderTest.Operand)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (5)
CodeCleanup\Providers\AddMissingTokensCodeCleanupProvider.vb (1)
90name.CheckParent(Of UnaryExpressionSyntax)(Function(p) p.Kind = SyntaxKind.AddressOfExpression AndAlso p.Operand Is name) OrElse
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\ExpressionSyntaxExtensions.vb\ExpressionSyntaxExtensions.vb (1)
132Return DetermineType(unary.Operand, semanticModel, cancellationToken)
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\SyntaxTreeExtensions.vb\SyntaxTreeExtensions.vb (1)
921Return GetExpressionTerminatingToken(unaryExpression.Operand)
VisualBasicSyntaxFacts.vb (1)
1874operand = unaryExpression.Operand
VisualBasicTypeInferenceService.TypeInferrer.vb (1)
40Dim symbol = SemanticModel.GetSymbolInfo(unaryExpression.Operand, CancellationToken).GetAnySymbol()
Microsoft.VisualStudio.LanguageServices.VisualBasic (3)
CodeModel\MethodXML\MethodXmlBuilder.vb (1)
662Dim delegateExpression = expression.Operand
CodeModel\VisualBasicCodeModelService.CodeModelEventCollector.vb (2)
991Return CompareExpressions(oldUnaryExpression.Operand, newUnaryExpression.Operand)