4 instantiations of RuntimeRudeEdit
Microsoft.CodeAnalysis (2)
Emit\EditAndContinue\EncVariableSlotAllocator.cs (2)
321runtimeRudeEdit = new RuntimeRudeEdit(HotReloadExceptionCode.UnsupportedChangeToCapturedVariables); 348runtimeRudeEdit = new RuntimeRudeEdit(HotReloadExceptionCode.UnsupportedChangeToCapturedVariables);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Emit\EditAndContinue\EditAndContinueClosureTests.cs (1)
9895Edit(SemanticEditKind.Update, c => c.GetMember("C.F"), preserveLocalVariables: true, rudeEdits: _ => new RuntimeRudeEdit("Return type changed", 0x123)),
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
Emit\EditAndContinue\EditAndContinueClosureTests.vb (1)
3989rudeEdits:=Function(node) New RuntimeRudeEdit("Return type changed", &H123))},
37 references to RuntimeRudeEdit
Microsoft.CodeAnalysis (13)
CodeGen\LambdaRuntimeRudeEditInfo.cs (2)
9internal readonly struct LambdaRuntimeRudeEditInfo(DebugId lambdaId, RuntimeRudeEdit rudeEdit) 12public RuntimeRudeEdit RudeEdit { get; } = rudeEdit;
CodeGen\VariableSlotAllocator.cs (4)
80/// The exception message is specified in <see cref="RuntimeRudeEdit.Message"/>. 85public abstract bool TryGetPreviousClosure(SyntaxNode closureSyntax, DebugId? parentClosureId, ImmutableArray<string> structCaptures, out DebugId closureId, out RuntimeRudeEdit? runtimeRudeEdit); 97/// The exception message is specified in <see cref="RuntimeRudeEdit.Message"/>. 99public abstract bool TryGetPreviousLambda(SyntaxNode lambdaOrLambdaBodySyntax, bool isLambdaBody, int closureOrdinal, ImmutableArray<DebugId> structClosureIds, out DebugId lambdaId, out RuntimeRudeEdit? runtimeRudeEdit);
Emit\EditAndContinue\DeletedMethodBody.cs (1)
67public static ImmutableArray<byte> GetIL(EmitContext context, RuntimeRudeEdit? rudeEdit, bool isLambdaOrLocalFunction)
Emit\EditAndContinue\EncMappedMethod.cs (2)
10internal readonly struct EncMappedMethod(IMethodSymbolInternal previousMethod, Func<SyntaxNode, SyntaxNode?>? syntaxMap, Func<SyntaxNode, RuntimeRudeEdit?>? runtimeRudeEdit) 14public readonly Func<SyntaxNode, RuntimeRudeEdit?>? RuntimeRudeEdit = runtimeRudeEdit;
Emit\EditAndContinue\EncVariableSlotAllocator.cs (2)
307out RuntimeRudeEdit? runtimeRudeEdit) 331public override bool TryGetPreviousLambda(SyntaxNode lambdaOrLambdaBodySyntax, bool isLambdaBody, int closureOrdinal, ImmutableArray<DebugId> structClosureIds, out DebugId lambdaId, out RuntimeRudeEdit? runtimeRudeEdit)
Emit\SemanticEdit.cs (2)
53public Func<SyntaxNode, RuntimeRudeEdit?>? RuntimeRudeEdit { get; } 104public SemanticEdit(SemanticEditKind kind, ISymbol? oldSymbol, ISymbol? newSymbol, Func<SyntaxNode, SyntaxNode?>? syntaxMap = null, Func<SyntaxNode, RuntimeRudeEdit?>? runtimeRudeEdit = null, MethodInstrumentation instrumentation = default)
Microsoft.CodeAnalysis.CSharp (5)
Lowering\ClosureConversion\ClosureConversion.Analysis.cs (1)
527internal DebugId GetClosureId(ClosureEnvironment environment, SyntaxNode syntax, ArrayBuilder<EncClosureInfo> closureDebugInfo, out RuntimeRudeEdit? rudeEdit)
Lowering\ClosureConversion\ClosureConversion.cs (2)
1439private DebugId GetLambdaId(SyntaxNode syntax, ClosureKind closureKind, int closureOrdinal, ImmutableArray<DebugId> structClosureIds, RuntimeRudeEdit? closureRudeEdit) 1487RuntimeRudeEdit? lambdaRudeEdit = null;
Lowering\ClosureConversion\SynthesizedClosureEnvironment.cs (2)
43public readonly RuntimeRudeEdit? RudeEdit; 52RuntimeRudeEdit? rudeEdit)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Emit\EditAndContinue\EditAndContinueClosureTests.cs (1)
9855/// Some lambda rude edits are simpler to detect in the IDE. They are specified via <see cref="RuntimeRudeEdit"/>.
Emit\EditAndContinue\EditAndContinueTestBase.cs (1)
144Func<SyntaxNode, RuntimeRudeEdit?>? rudeEdits = null)
Microsoft.CodeAnalysis.Features (5)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (1)
5496out Func<SyntaxNode, RuntimeRudeEdit?>? runtimeRudeEdits,
EditAndContinue\EditSession.cs (2)
749var mergedUpdateEditSyntaxMaps = new Dictionary<SymbolKey, (Func<SyntaxNode, SyntaxNode?>? matchingNodes, Func<SyntaxNode, RuntimeRudeEdit?>? runtimeRudeEdits)>(symbolKeyComparer); 758Func<SyntaxNode, RuntimeRudeEdit?>? mergedRuntimeRudeEdits;
EditAndContinue\SemanticEditInfo.cs (2)
21public readonly Func<SyntaxNode, RuntimeRudeEdit?>? RuntimeRudeEdits; 26Func<SyntaxNode, RuntimeRudeEdit?>? runtimeRudeEdits = null)
Microsoft.CodeAnalysis.VisualBasic (6)
Lowering\LambdaRewriter\LambdaFrame.vb (2)
35Public ReadOnly RudeEdit As RuntimeRudeEdit? 53rudeEdit As RuntimeRudeEdit?,
Lowering\LambdaRewriter\LambdaRewriter.vb (4)
281Dim rudeEdit As RuntimeRudeEdit? = Nothing 982Private Function GetClosureId(scope As BoundNode, syntax As SyntaxNode, closureDebugInfo As ArrayBuilder(Of EncClosureInfo), <Out> ByRef rudeEdit As RuntimeRudeEdit?) As DebugId 1014Private Function GetLambdaId(syntax As SyntaxNode, closureKind As ClosureKind, closureOrdinal As Integer, closureRudeEdit As RuntimeRudeEdit?) As DebugId 1044Dim lambdaRudeEdit As RuntimeRudeEdit? = Nothing
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (2)
Emit\EditAndContinue\EditAndContinueClosureTests.vb (1)
3958''' Some lambda rude edits are simpler to detect in the IDE. They are specified via <see cref="RuntimeRudeEdit"/>.
Emit\EditAndContinue\EditAndContinueTestBase.vb (1)
59Optional rudeEdits As Func(Of SyntaxNode, RuntimeRudeEdit?) = Nothing,
Microsoft.CodeAnalysis.VisualBasic.ExpressionCompiler (2)
EEAssemblyBuilder.vb (2)
196Public Overrides Function TryGetPreviousClosure(closureSyntax As SyntaxNode, parentClosureId As DebugId?, structCaptures As ImmutableArray(Of String), ByRef closureId As DebugId, ByRef runtimeRudeEdit As RuntimeRudeEdit?) As Boolean 202Public Overrides Function TryGetPreviousLambda(lambdaOrLambdaBodySyntax As SyntaxNode, isLambdaBody As Boolean, closureOrdinal As Integer, structClosureIds As ImmutableArray(Of DebugId), ByRef lambdaId As DebugId, ByRef runtimeRudeEdit As RuntimeRudeEdit?) As Boolean
Roslyn.Test.PdbUtilities (2)
EditAndContinue\SemanticEditDescription.cs (2)
14Func<SyntaxNode, RuntimeRudeEdit?>? rudeEdits = null, 20public readonly Func<SyntaxNode, RuntimeRudeEdit?>? RudeEdits = rudeEdits;