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