-
Notifications
You must be signed in to change notification settings - Fork 4k
/
EmitDifferenceResult.cs
32 lines (27 loc) · 1.23 KB
/
EmitDifferenceResult.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Immutable;
using System.Reflection.Metadata;
namespace Microsoft.CodeAnalysis.Emit
{
public sealed class EmitDifferenceResult : EmitResult
{
public EmitBaseline? Baseline { get; }
/// <summary>
/// Handles of methods with sequence points that have been updated in this delta.
/// </summary>
public ImmutableArray<MethodDefinitionHandle> UpdatedMethods { get; }
/// <summary>
/// Handles of types that were changed (updated or inserted) in this delta.
/// </summary>
public ImmutableArray<TypeDefinitionHandle> ChangedTypes { get; }
internal EmitDifferenceResult(bool success, ImmutableArray<Diagnostic> diagnostics, EmitBaseline? baseline, ImmutableArray<MethodDefinitionHandle> updatedMethods, ImmutableArray<TypeDefinitionHandle> changedTypes)
: base(success, diagnostics)
{
Baseline = baseline;
UpdatedMethods = updatedMethods;
ChangedTypes = changedTypes;
}
}
}