22 references to HotReloadExceptionCode
Microsoft.CodeAnalysis (13)
Emit\EditAndContinue\DeletedMethodBody.cs (3)
82var code = isLambdaOrLocalFunction ? HotReloadExceptionCode.DeletedLambdaInvoked : HotReloadExceptionCode.DeletedMethodInvoked;
Emit\EditAndContinue\EncVariableSlotAllocator.cs (2)
321runtimeRudeEdit = new RuntimeRudeEdit(HotReloadExceptionCode.UnsupportedChangeToCapturedVariables); 348runtimeRudeEdit = new RuntimeRudeEdit(HotReloadExceptionCode.UnsupportedChangeToCapturedVariables);
Emit\HotReloadExceptionCode.cs (7)
23public static string GetExceptionMessage(this HotReloadExceptionCode code) 26HotReloadExceptionCode.DeletedLambdaInvoked => CodeAnalysisResources.EncDeletedLambdaInvoked, 27HotReloadExceptionCode.DeletedMethodInvoked => CodeAnalysisResources.EncDeletedMethodInvoked, 28HotReloadExceptionCode.CannotResumeSuspendedIteratorMethod => CodeAnalysisResources.EncCannotResumeSuspendedIteratorMethod, 29HotReloadExceptionCode.CannotResumeSuspendedAsyncMethod => CodeAnalysisResources.EncCannotResumeSuspendedAsyncMethod, 30HotReloadExceptionCode.UnsupportedChangeToCapturedVariables => CodeAnalysisResources.EncLambdaRudeEdit_CapturedVariables, 34public static int GetExceptionCodeValue(this HotReloadExceptionCode code)
Emit\RuntimeRudeEdit.cs (1)
41internal RuntimeRudeEdit(HotReloadExceptionCode code)
Microsoft.CodeAnalysis.CSharp (8)
Lowering\AsyncRewriter\AsyncIteratorMethodToStateMachineRewriter.cs (1)
84var iteratorDispatch = _iteratorStateAllocator.GenerateThrowMissingStateDispatch(F, F.Local(cachedState), HotReloadExceptionCode.CannotResumeSuspendedIteratorMethod);
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (2)
132protected sealed override HotReloadExceptionCode EncMissingStateErrorCode 133=> HotReloadExceptionCode.CannotResumeSuspendedAsyncMethod;
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (2)
83protected sealed override HotReloadExceptionCode EncMissingStateErrorCode 84=> HotReloadExceptionCode.CannotResumeSuspendedIteratorMethod;
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
168protected abstract HotReloadExceptionCode EncMissingStateErrorCode { get; }
Lowering\StateMachineRewriter\ResumableStateMachineStateAllocator.cs (1)
80public BoundStatement? GenerateThrowMissingStateDispatch(SyntheticBoundNodeFactory f, BoundExpression cachedState, HotReloadExceptionCode errorCode)
Symbols\Synthesized\SynthesizedHotReloadExceptionConstructorSymbol.cs (1)
32/// Integer value of <see cref="HotReloadExceptionCode"/>.
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\SynthesizedSymbols\SynthesizedHotReloadExceptionConstructorSymbol.vb (1)
34''' Integer value of <see cref="HotReloadExceptionCode"/>.