23 instantiations of InvalidProgramException
GenerateDocumentationAndConfigFiles (1)
Program.cs (1)
1333_ => throw new InvalidProgramException(),
ILCompiler.Compiler (3)
parent\parent\Common\TypeSystem\Interop\IL\Marshaller.Aot.cs (2)
334throw new InvalidProgramException("SizeConst is required for ByValArray."); 550throw new InvalidProgramException("SizeConst is required for ByValString.");
parent\parent\Common\TypeSystem\Interop\UnmanagedCallingConventions.cs (1)
251_ => throw new InvalidProgramException()
ILCompiler.ReadyToRun (3)
Compiler\ReadyToRunMetadataFieldLayoutAlgorithm.cs (2)
240throw new InvalidProgramException(); 475throw new InvalidProgramException();
parent\parent\Common\TypeSystem\Interop\UnmanagedCallingConventions.cs (1)
251_ => throw new InvalidProgramException()
Microsoft.AspNetCore.Components (2)
src\aspnetcore\src\Http\Routing\src\Patterns\RoutePatternParser.cs (2)
57throw new InvalidProgramException(message); 128throw new InvalidProgramException(message);
Microsoft.AspNetCore.Routing (2)
Patterns\RoutePatternParser.cs (2)
57throw new InvalidProgramException(message); 128throw new InvalidProgramException(message);
Microsoft.CodeAnalysis.AnalyzerUtilities (3)
src\66dd3055a1c91c38\PointsToAnalysis.PointsToDataFlowOperationVisitor.cs (2)
553_ => throw new InvalidProgramException(), 571_ => throw new InvalidProgramException(),
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DataFlowOperationVisitor.cs (1)
1959throw new InvalidProgramException();
Microsoft.CodeAnalysis.NetAnalyzers (3)
src\ffd9070534249528\PointsToAnalysis.PointsToDataFlowOperationVisitor.cs (2)
550_ => throw new InvalidProgramException(), 568_ => throw new InvalidProgramException(),
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DataFlowOperationVisitor.cs (1)
1956throw new InvalidProgramException();
Microsoft.Maui.Controls.Build.Tasks (2)
SetPropertiesVisitor.cs (2)
1322 throw new InvalidProgramException(); 1927 throw new InvalidProgramException();
System.Linq.Expressions (1)
System\Linq\Expressions\Error.cs (1)
1229return new InvalidProgramException();
System.Private.CoreLib (3)
Internal\Runtime\TypeLoaderExceptionHelper.cs (2)
54throw new InvalidProgramException(GetFormatString(id)); 59throw new InvalidProgramException(SR.Format(GetFormatString(id), methodName));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.cs (1)
803return new System.InvalidProgramException();
7 references to InvalidProgramException
ILCompiler.Compiler (2)
parent\parent\Common\TypeSystem\IL\Stubs\PInvokeILEmitter.cs (1)
451catch (InvalidProgramException ex)
parent\parent\Common\TypeSystem\IL\Stubs\StructMarshallingThunk.cs (1)
318catch (InvalidProgramException ex)
ILCompiler.ReadyToRun (1)
IL\Stubs\PInvokeILEmitter.cs (1)
132catch (InvalidProgramException)
mscorlib (1)
parent\ref\mscorlib.cs (1)
307[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.InvalidProgramException))]
netstandard (1)
netstandard.cs (1)
883[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.InvalidProgramException))]
System.Linq.Expressions (1)
System\Linq\Expressions\Error.cs (1)
1227internal static InvalidProgramException InvalidProgram()
System.Runtime (1)
src\runtime\artifacts\obj\System.Runtime\Release\net11.0\System.Runtime.Forwards.cs (1)
288[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.InvalidProgramException))]