1 write to _semanticModel
Microsoft.CodeAnalysis.VisualBasic (1)
Operations\VisualBasicOperationFactory.vb (1)
21_semanticModel = semanticModel
129 references to _semanticModel
Microsoft.CodeAnalysis.VisualBasic (129)
Operations\VisualBasicOperationFactory.vb (115)
322Return New NoneOperation(children, _semanticModel, boundNode.Syntax, type, constantValue, isImplicit) 366Return New NoneOperation(children, _semanticModel, boundAssignmentOperator.Syntax, type:=Nothing, constantValue, isImplicit) 377Return New SimpleAssignmentOperation(isRef, target, value, _semanticModel, syntax, type, constantValue, isImplicit) 386Return New InstanceReferenceOperation(referenceKind, _semanticModel, syntax, type, isImplicit) 394Return New InstanceReferenceOperation(referenceKind, _semanticModel, syntax, type, isImplicit) 402Return New InstanceReferenceOperation(referenceKind, _semanticModel, syntax, type, isImplicit) 410Return New LiteralOperation(_semanticModel, syntax, type, constantValue, isImplicit) 418Return New AwaitOperation(awaitedValue, _semanticModel, syntax, type, isImplicit) 427Return New NameOfOperation(argument, _semanticModel, syntax, type, constantValue, isImplicit) 435Return New AnonymousFunctionOperation(symbol, body, _semanticModel, syntax, isImplicit) 454Return New InvocationOperation(targetMethod, constrainedToType:=Nothing, receiver, isVirtual, arguments, _semanticModel, syntax, type, isImplicit) 461Return New OmittedArgumentOperation(_semanticModel, syntax, type, isImplicit) 470Return New ParenthesizedOperation(operand, _semanticModel, syntax, type, constantValue, isImplicit) 479Return New ArrayElementReferenceOperation(arrayReference, indices, _semanticModel, syntax, type, isImplicit) 508Return New UnaryOperation(operatorKind, operand, isLifted, isChecked, operatorMethod, constrainedToType:=Nothing, _semanticModel, syntax, type, constantValue, isImplicit) 521Return New UnaryOperation(operatorKind, operand, isLifted, isChecked, operatorMethod, constrainedToType:=Nothing, _semanticModel, syntax, type, constantValue, isImplicit) 575unaryOperatorMethod:=Nothing, _semanticModel, syntax, type, constantValue, isImplicit) 593unaryOperatorMethod:=Nothing, _semanticModel, syntax, type, constantValue, isImplicit) 618Return New CoalesceOperation(value, whenFalse, valueConversion, _semanticModel, syntax, type, constantValue, isImplicit) 645binaryOperatorInfo.OperatorMethod, constrainedToType:=Nothing, unaryOperatorMethod, _semanticModel, syntax, type, constantValue, isImplicit) 657Return New InvalidOperation(children, _semanticModel, syntax, type, constantValue, isImplicit) 673Return New InvalidOperation(children, _semanticModel, syntax, type, constantValue, isImplicit) 679Dim invalidOperation = OperationFactory.CreateInvalidOperation(_semanticModel, boundAttribute.Syntax, GetIOperationChildren(boundAttribute), isImplicit:=True) 680Return New AttributeOperation(invalidOperation, _semanticModel, boundAttribute.Syntax, isAttributeImplicit) 686initializer = New ObjectOrCollectionInitializerOperation(namedArguments, _semanticModel, boundAttribute.Syntax, boundAttribute.Type, isImplicit:=True) 689Dim objectCreationOperation = New ObjectCreationOperation(boundAttribute.Constructor, initializer, DeriveArguments(boundAttribute), _semanticModel, boundAttribute.Syntax, boundAttribute.Type, boundAttribute.ConstantValueOpt, isImplicit:=True) 690Return New AttributeOperation(objectCreationOperation, _semanticModel, boundAttribute.Syntax, isAttributeImplicit) 742Return New DelegateCreationOperation(conversionInfo.Operation, _semanticModel, syntax, type, isImplicit) 744Return New ConversionOperation(conversionInfo.Operation, conversion, isTryCast, isChecked, _semanticModel, syntax, type, constantValue, isImplicit) 756Return New DelegateCreationOperation(target, _semanticModel, syntax, type, isImplicit) 774Return New MethodReferenceOperation(method, constrainedToType:=Nothing, isVirtual, receiverOpt, _semanticModel, syntax, type, isImplicit) 786Return New ConditionalOperation(condition, whenTrue, whenFalse, isRef, _semanticModel, syntax, type, constantValue, isImplicit) 796Return New IsTypeOperation(valueOperand, typeOperand, isNegated, _semanticModel, syntax, type, isImplicit) 804Return New TypeOfOperation(typeOperand, _semanticModel, syntax, type, isImplicit) 815Return New DynamicInvocationOperation(operation, arguments, argumentNames, argumentRefKinds, _semanticModel, syntax, type, isImplicit) 828Return New ObjectCreationOperation(constructor, initializer, arguments, _semanticModel, syntax, type, constantValue, isImplicit) 836Return New ObjectOrCollectionInitializerOperation(initializers, _semanticModel, syntax, type, isImplicit) 844Return New ObjectOrCollectionInitializerOperation(initializers, _semanticModel, syntax, type, isImplicit) 852Return New TypeParameterObjectCreationOperation(initializer, _semanticModel, syntax, type, isImplicit) 860Return New NoPiaObjectCreationOperation(initializer, _semanticModel, syntax, type, isImplicit) 869Return New ArrayCreationOperation(dimensionSizes, initializer, _semanticModel, syntax, type, isImplicit) 876Return New ArrayInitializerOperation(elementValues, _semanticModel, syntax, isImplicit) 889Return New PropertyReferenceOperation([property], constrainedToType:=Nothing, arguments, instance, _semanticModel, syntax, type, isImplicit) 897Return New InstanceReferenceOperation(referenceKind, _semanticModel, syntax, type, isImplicit) 905Return New InstanceReferenceOperation(referenceKind, _semanticModel, syntax, type, isImplicit) 915Return New EventReferenceOperation([event], constrainedToType:=Nothing, instance, _semanticModel, syntax, type, isImplicit) 927Return New FieldReferenceOperation(field, isDeclaration, instance, _semanticModel, syntax, type, constantValue, isImplicit) 937Return New ConditionalAccessOperation(operation, whenNotNull, _semanticModel, syntax, type, isImplicit) 944Return New ConditionalAccessInstanceOperation(_semanticModel, syntax, type, isImplicit) 952Return New ParameterReferenceOperation(parameter, _semanticModel, syntax, type, isImplicit) 962Return New LocalReferenceOperation(local, isDeclaration, _semanticModel, syntax, type, constantValue, isImplicit) 987Return New DynamicMemberReferenceOperation(instance, memberName, typeArguments, containingType, _semanticModel, syntax, type, isImplicit) 995Return New FieldInitializerOperation(initializedFields, ImmutableArray(Of ILocalSymbol).Empty, value, _semanticModel, syntax, isImplicit) 1003Return New PropertyInitializerOperation(initializedProperties, ImmutableArray(Of ILocalSymbol).Empty, value, _semanticModel, syntax, isImplicit) 1011Return New ParameterInitializerOperation(parameter, ImmutableArray(Of ILocalSymbol).Empty, value, _semanticModel, syntax, isImplicit) 1037Return New ConditionalAccessInstanceOperation(_semanticModel, syntax, type, isImplicit) 1057Return New PlaceholderOperation(placeholderKind, _semanticModel, syntax, type, isImplicit) 1069Return New ConditionalOperation(condition, whenTrue, whenFalse, isRef, _semanticModel, syntax, type, constantValue, isImplicit) 1079Return New SwitchOperation(ImmutableArray(Of ILocalSymbol).Empty, value, cases, exitLabel, _semanticModel, syntax, isImplicit) 1090_semanticModel, 1113Return New SwitchCaseOperation(clauses, body, ImmutableArray(Of ILocalSymbol).Empty, condition, _semanticModel, syntax, isImplicit) 1120Return New SingleValueCaseClauseOperation(clauseValue, label:=Nothing, _semanticModel, syntax, isImplicit) 1129Return New RangeCaseClauseOperation(minimumValue, maximumValue, label:=Nothing, _semanticModel, syntax, isImplicit) 1137Return New RelationalCaseClauseOperation(valueExpression, relation, label:=Nothing, _semanticModel, syntax, isImplicit) 1152Return New WhileLoopOperation(condition, conditionIsTop, conditionIsUntil, ignoredCondition, body, locals, continueLabel, exitLabel, _semanticModel, syntax, isImplicit) 1172New SynthesizedLocal(DirectCast(_semanticModel.GetEnclosingSymbol(boundForToStatement.Syntax.SpanStart), Symbol), boundForToStatement.ControlVariable.Type, 1188body, locals, continueLabel, exitLabel, _semanticModel, syntax, isImplicit) 1199DirectCast(_semanticModel.Compilation, VisualBasicCompilation), 1252Return New ForEachLoopOperation(controlVariable, collection, nextVariables, info, isAsynchronous:=False, body, locals, continueLabel, exitLabel, _semanticModel, syntax, isImplicit) 1259New VariableDeclaratorOperation(localOpt, initializer:=Nothing, ignoredArguments:=ImmutableArray(Of IOperation).Empty, semanticModel:=_semanticModel, syntax:=controlVariable.Syntax, isImplicit:=boundForStatement.WasCompilerGenerated), 1270Return New TryOperation(body, catches, [finally], exitLabel, _semanticModel, syntax, isImplicit) 1277Return New VariableDeclaratorOperation(boundCatchBlock.LocalOpt, initializer:=Nothing, ignoredArguments:=ImmutableArray(Of IOperation).Empty, semanticModel:=_semanticModel, syntax:=boundCatchBlock.ExceptionSourceOpt.Syntax, isImplicit:=False) 1287Dim exceptionType As ITypeSymbol = If(boundCatchBlock.ExceptionSourceOpt?.Type, DirectCast(_semanticModel.Compilation, VisualBasicCompilation).GetWellKnownType(WellKnownType.System_Exception)) 1293Return New CatchClauseOperation(exceptionDeclarationOrExpression, exceptionType, locals, filter, handler, _semanticModel, syntax, isImplicit) 1301Return New BlockOperation(operations, locals, _semanticModel, syntax, isImplicit) 1320Return New InvalidOperation(children, _semanticModel, syntax, type:=Nothing, constantValue:=Nothing, isImplicit) 1327Return New ReturnOperation(returnedValue, OperationKind.Return, _semanticModel, syntax, isImplicit) 1340Return New ThrowOperation(thrownObject, _semanticModel, syntax, expressionType, isImplicit) 1354Return New WhileLoopOperation(condition, conditionIsTop, conditionIsUntil, ignoredCondition, body, locals, continueLabel, exitLabel, _semanticModel, syntax, isImplicit) 1361Return New VariableDeclarationGroupOperation(declarations, _semanticModel, syntax, isImplicit) 1370Return New VariableDeclarationGroupOperation(declarations, _semanticModel, syntax, isImplicit) 1377Return New ReturnOperation(returnedValue, OperationKind.YieldReturn, _semanticModel, syntax, isImplicit) 1385Return New LabeledOperation(label, statement, _semanticModel, syntax, isImplicit) 1393Return New BranchOperation(target, branchKind, _semanticModel, syntax, isImplicit) 1401Return New BranchOperation(target, branchKind, _semanticModel, syntax, isImplicit) 1409Return New BranchOperation(target, branchKind, _semanticModel, syntax, isImplicit) 1413Dim legacyMode = _semanticModel.Compilation.CommonGetWellKnownTypeMember(WellKnownMember.System_Threading_Monitor__Enter2) Is Nothing 1416New SynthesizedLocal(DirectCast(_semanticModel.GetEnclosingSymbol(boundSyncLockStatement.Syntax.SpanStart), Symbol), 1417DirectCast(_semanticModel.Compilation.GetSpecialType(SpecialType.System_Boolean), TypeSymbol), 1424Return New LockOperation(lockedValue, body, lockTakenSymbol, _semanticModel, syntax, isImplicit) 1432Return New EmptyOperation(_semanticModel, syntax, isImplicit) 1438Return New StopOperation(_semanticModel, syntax, isImplicit) 1444Return New EndOperation(_semanticModel, syntax, isImplicit) 1452Return New WithStatementOperation(body, value, _semanticModel, syntax, isImplicit) 1469Return New UsingOperation(resources, body, locals, isAsynchronous:=False, disposeInfo:=Nothing, _semanticModel, syntax, isImplicit) 1476Return New ExpressionStatementOperation(expression, _semanticModel, syntax, isImplicit) 1502_semanticModel, 1519Return New InvalidOperation(children, _semanticModel, syntax, type:=Nothing, constantValue:=Nothing, isImplicit) 1525Return New RaiseEventOperation(eventReference, arguments, _semanticModel, syntax, isImplicit) 1532Return New ExpressionStatementOperation(expression, _semanticModel, syntax, isImplicit) 1541Return New ExpressionStatementOperation(expression, _semanticModel, syntax, isImplicit) 1557Return New TupleOperation(elements, naturalType, _semanticModel, syntax, type, isImplicit) 1566Return New InterpolatedStringOperation(parts, _semanticModel, syntax, type, constantValue, isImplicit) 1587Return New InterpolationOperation(expression, alignment, formatString, _semanticModel, syntax, isImplicit) 1594Return New InterpolatedStringTextOperation(text, _semanticModel, syntax, isImplicit) 1602Return New AnonymousObjectCreationOperation(initializers, _semanticModel, syntax, type, isImplicit) 1616Return New PropertyReferenceOperation([property], constrainedToType:=Nothing, arguments, instance, _semanticModel, syntax, type, isImplicit) 1624_semanticModel, 1635Return New TranslatedQueryOperation(operation, _semanticModel, syntax, type, isImplicit) 1652Return New AggregateQueryOperation(group, aggregation, _semanticModel, syntax, type, isImplicit) 1663Dim method = DirectCast(DirectCast(_semanticModel.Compilation, VisualBasicCompilation). 1672_semanticModel, 1678Return New InvalidOperation(children, _semanticModel, syntax, type, constantValue, isImplicit) 1692Return New ReDimOperation(clauses, preserve, _semanticModel, syntax, isImplicit) 1700Return New ReDimClauseOperation(operand, dimensionSizes, _semanticModel, syntax, isImplicit)
Operations\VisualBasicOperationFactory_Methods.vb (14)
96_semanticModel, syntax, type, isImplicit) 152Return OperationFactory.CreateInvalidOperation(_semanticModel, [operator].UnderlyingExpression.Syntax, ImmutableArray(Of IOperation).Empty, isImplicit) 270_semanticModel, 298Return OperationFactory.CreateInvalidOperation(_semanticModel, parent.Syntax, ImmutableArray(Of IOperation).Empty, isImplicit) 335_semanticModel, 351Dim assignment = New SimpleAssignmentOperation(isRef, target, value, _semanticModel, syntax, type, constantValue, isImplicitAssignment) 432initializer = New VariableInitializerOperation(locals:=ImmutableArray(Of ILocalSymbol).Empty, value, _semanticModel, initializerSyntax, isImplicit) 441initializer = New VariableInitializerOperation(locals:=ImmutableArray(Of ILocalSymbol).Empty, value, _semanticModel, initializerSyntax, isImplicit:=False) 447_semanticModel, 460initializer = New VariableInitializerOperation(locals:=ImmutableArray(Of ILocalSymbol).Empty, initializerValue, _semanticModel, syntax, isImplicit:=True) 465Return New VariableDeclaratorOperation(boundLocalDeclaration.LocalSymbol, initializer, ignoredArguments, _semanticModel, boundLocalDeclaration.Syntax, isImplicit:=boundLocalDeclaration.WasCompilerGenerated) 471_semanticModel, 480Return New EventAssignmentOperation(eventReference, handlerValue, adds, _semanticModel, statement.Syntax, type:=Nothing, isImplicit:=True) 519_semanticModel,