13 references to MakeInvalidOperation
Microsoft.CodeAnalysis (13)
Operations\ControlFlowGraphBuilder.cs (13)
2509condition = MakeInvalidOperation(booleanType, condition);
2599condition = MakeInvalidOperation(unaryOperatorMethod.Parameters[0].Type, condition);
2612condition = MakeInvalidOperation(booleanType, condition);
3034convertedTestExpression = MakeInvalidOperation(operation.Type, capturedValue);
3357MakeInvalidOperation(ITypeSymbolHelpers.GetNullableUnderlyingType(value.Type), value);
4156MakeInvalidOperation(type: null, resource));
4261MakeInvalidOperation(type: null, underlying),
4338AddStatement(MakeInvalidOperation(type: null, lockedValue));
4421AddStatement(MakeInvalidOperation(type: null, lockedValue));
4606AddStatement(MakeInvalidOperation(type: null, VisitRequired(operation.Collection)));
4629return MakeInvalidOperation(_compilation.GetSpecialType(SpecialType.System_Boolean), enumeratorRef);
4650return MakeInvalidOperation(type: null, enumeratorRef);
7933? MakeInvalidOperation(visitedInstance.Type, visitedInstance)