104 references to VisitRequired
Microsoft.CodeAnalysis (104)
Operations\ControlFlowGraphBuilder.cs (104)
1629result = VisitRequired(operation.WhenFalse); 1633result = VisitRequired(operation.WhenTrue); 1993PushOperand(VisitRequired(unwrapper == null ? element : unwrapper(element))); 2084PushOperand(VisitRequired(argument)); 2102PushOperand(VisitRequired(operation.Target)); 2103IOperation value = VisitRequired(operation.Value); 2111PushOperand(VisitRequired(compoundAssignment.Target)); 2112IOperation value = VisitRequired(compoundAssignment.Value); 2122PushOperand(VisitRequired(operation.ArrayReference)); 2133PushOperand(VisitRequired(operation.Instance)); 2134IOperation argument = VisitRequired(operation.Argument); 2144PushOperand(VisitRequired(operation.Instance)); 2145IOperation argument = VisitRequired(operation.Argument); 2220leftOperand = VisitRequired(leftOperand); 2228IOperation rightOperand = VisitRequired(operation.RightOperand); 2256return new UnaryOperation(operation.OperatorKind, VisitRequired(operation.Operand), operation.IsLifted, operation.IsChecked, 2423condition = CreateConversion(VisitRequired(left), booleanType); 2441condition = CreateConversion(VisitRequired(right), booleanType); 2537IOperation visitedRight = VisitRequired(right); 2626IOperation visitedRight = VisitRequired(right); 2734condition = VisitRequired(condition); 2940condition = VisitRequired(condition); 2990PushOperand(VisitRequired(operationValue)); 3111PushOperand(VisitRequired(operation.Target)); 3214IOperation whenNullValue = VisitRequired(operation.Value); 3266IOperation whenNullValue = VisitRequired(operation.Value); 3410IOperation result = VisitRequired(currentConditionalAccess.WhenNotNull); 3432IOperation access = VisitRequired(currentConditionalAccess.WhenNotNull); 3439VisitRequired(currentConditionalAccess.WhenNotNull, resultCaptureId)); 3534PushOperand(VisitRequired(testExpression)); 3804exceptionTarget = VisitRequired(exceptionDeclarationOrExpression); 3989IOperation resource = visitResource != null ? visitResource(resources) : VisitRequired(resources); 4236var lockObject = VisitRequired(resource); 4315IOperation lockedValue = VisitRequired(operation.LockedValue); 4606AddStatement(MakeInvalidOperation(type: null, VisitRequired(operation.Collection))); 4688VisitRequired(operation.LoopControlVariable), 4844PushOperand(VisitRequired(operation.InitialValue)); 4870PushOperand(VisitRequired(operation.LimitValue)); 4871PushOperand(VisitRequired(operation.StepValue)); 4901IOperation subtraction = VisitRequired(userDefinedInfo.Subtraction); 5299IOperation increment = VisitRequired(userDefinedInfo.Addition); 5437IOperation result = VisitRequired(operation.LoopControlVariable); 5456IOperation result = VisitRequired(operation.Aggregation); 5559IOperation rightOperand = VisitRequired(compareWith); 5608var pattern = (IPatternOperation)VisitRequired(patternClause.Pattern); 5852IOperation operationInitializer = VisitRequired(declaration.Initializer.Value); 5949PushOperand(VisitRequired(targetPointer)); 5963PushOperand(VisitRequired(instance!)); 6085result = VisitRequired(assignmentOperation); 6093IOperation right = VisitRequired(assignmentOperation.Value); 6153IOperation instance = pushSuccess ? popTarget(memberInitializer.InitializedMember) : VisitRequired(memberInitializer.InitializedMember); 6182PushOperand(VisitRequired(memberReference.Instance)); 6190PushOperand(VisitRequired(arrayReference.ArrayReference)); 6195PushOperand(VisitRequired(implicitIndexerReference.Argument)); 6197PushOperand(VisitRequired(implicitIndexerReference.Instance)); 6204PushOperand(VisitRequired(dynamicIndexer.Operation)); 6211PushOperand(VisitRequired(dynamicReference.Instance)); 6422PushOperand(VisitRequired(initializer)); 6512PushOperand(VisitRequired(elementValue)); 6617PushOperand(VisitRequired(instance)); 6622PushOperand(VisitRequired(operation.Operation)); 6647PushOperand(VisitRequired(operation.Operation)); 6684PushOperand(VisitRequired(value)); 6734IOperation visitedRight = VisitRequired(right); 6857IOperation visitedAppendCall = VisitRequired(appendCall.AppendCall); 7036PushOperand(VisitRequired(interpolation.Expression)); 7040PushOperand(VisitRequired(interpolation.Alignment)); 7057rewrittenFormatString = VisitRequired(interpolation.FormatString, argument: null); 7070var rewrittenInterpolationText = VisitRequired(interpolatedStringText.Text, argument: null); 7181return new ParenthesizedOperation(VisitRequired(operation.Operand), semanticModel: null, operation.Syntax, operation.Type, operation.GetConstantValue(), IsImplicit(operation)); 7186return new AwaitOperation(VisitRequired(operation.Operation), semanticModel: null, operation.Syntax, operation.Type, IsImplicit(operation)); 7201return new IsTypeOperation(VisitRequired(operation.ValueOperand), operation.TypeOperand, operation.IsNegated, semanticModel: null, operation.Syntax, operation.Type, IsImplicit(operation)); 7279var assignment = new SimpleAssignmentOperation(isRef: false, rewrittenTarget, VisitRequired(initializer.Value), semanticModel: null, 7301PushOperand(VisitRequired(eventReferenceInstance)); 7304visitedHandler = VisitRequired(operation.HandlerValue); 7314PushOperand(VisitRequired(operation.EventReference)); 7315visitedHandler = VisitRequired(operation.HandlerValue); 7363return new AddressOfOperation(VisitRequired(operation.Reference), semanticModel: null, operation.Syntax, operation.Type, IsImplicit(operation)); 7368return new IncrementOrDecrementOperation(operation.IsPostfix, operation.IsLifted, operation.IsChecked, VisitRequired(operation.Target), 7424return new ConversionOperation(VisitRequired(operation.Operand), ((ConversionOperation)operation).ConversionConvertible, operation.IsTryCast, operation.IsChecked, semanticModel: null, operation.Syntax, operation.Type, operation.GetConstantValue(), IsImplicit(operation)); 7435PushOperand(VisitRequired(operation.Value)); 7436var visitedPattern = (IPatternOperation)VisitRequired(operation.Pattern); 7462PushOperand(VisitRequired(argument)); 7531PushOperand(VisitRequired(clause.Operand)); 7545return new TranslatedQueryOperation(VisitRequired(operation.Operation), semanticModel: null, operation.Syntax, operation.Type, IsImplicit(operation)); 7550return new ConstantPatternOperation(VisitRequired(operation.Value), operation.InputType, operation.NarrowedType, semanticModel: null, 7558value: VisitRequired(operation.Value), 7570return createOperation(this, operation, (IPatternOperation)VisitRequired(operation.LeftPattern)); 7584var result = (IPatternOperation)VisitRequired(current.LeftPattern); 7598rightPattern: (IPatternOperation)@this.VisitRequired(operation.RightPattern), 7610pattern: (IPatternOperation)VisitRequired(operation.Pattern), 7659operation.Patterns.SelectAsArray((p, @this) => (IPatternOperation)@this.VisitRequired(p), this), 7673operation.DeconstructionSubpatterns.SelectAsArray((p, @this) => (IPatternOperation)@this.VisitRequired(p), this), 7674operation.PropertySubpatterns.SelectAsArray((p, @this) => (IPropertySubpatternOperation)@this.VisitRequired(p), this), 7686VisitRequired(operation.Member), 7687(IPatternOperation)VisitRequired(operation.Pattern), 7695return new DelegateCreationOperation(VisitRequired(operation.Target), semanticModel: null, 7703PushOperand(VisitRequired(operation.LeftOperand)); 7757var visitedPattern = (IPatternOperation)VisitRequired(arm.Pattern); 7924IOperation visitedInstance = VisitRequired(operation.Operand); 7965AddStatement(VisitRequired(operation.Operand)); 7983AddStatement(VisitRequired(initializer)); 7990AddStatement(VisitRequired(simpleAssignment.Value)); 8005AddStatement(VisitRequired(simpleAssignment.Value));