12 references to InvalidOperation
Microsoft.CodeAnalysis (12)
Operations\ControlFlowGraphBuilder.cs (10)
3290return new InvalidOperation(ImmutableArray.Create<IOperation>(child), 3302return new InvalidOperation(children, 4607result = new InvalidOperation(ImmutableArray<IOperation>.Empty, semanticModel: null, operation.Collection.Syntax, 5856initializer = new InvalidOperation(ImmutableArray.Create(initializer, operationInitializer), 6983return new InvalidOperation(ImmutableArray<IOperation>.Empty, semanticModel: null, operation.Syntax, operation.Type, operation.GetConstantValue(), isImplicit: true); 6996return new InvalidOperation(ImmutableArray<IOperation>.Empty, semanticModel: null, operation.Syntax, operation.Type, operation.GetConstantValue(), isImplicit: true); 7250var value = new InvalidOperation(ImmutableArray<IOperation>.Empty, semanticModel: null, 7472IOperation initializedInstance = new InvalidOperation(children.ToImmutableAndFree(), semanticModel: null, operation.Syntax, operation.Type, 7496return new InvalidOperation(ImmutableArray<IOperation>.Empty, semanticModel: null, invalidOperation.Syntax, invalidOperation.Type, invalidOperation.GetConstantValue(), IsImplicit(invalidOperation)); 7502new InvalidOperation(VisitArray(children.ToImmutableAndFree()), semanticModel: null,
Operations\OperationCloner.cs (1)
47return new InvalidOperation(VisitArray(((InvalidOperation)operation).Children), ((Operation)operation).OwningSemanticModel, operation.Syntax, operation.Type, operation.GetConstantValue(), operation.IsImplicit);
Operations\OperationFactory.cs (1)
13return new InvalidOperation(children, semanticModel, syntax, type: null, constantValue: null, isImplicit: isImplicit);