23 references to CodeNotificationKind
Microsoft.Diagnostics.DataContractReader.Abstractions (3)
Contracts\ICodeNotifications.cs (3)
36
void SetCodeNotification(TargetPointer module, uint methodToken,
CodeNotificationKind
flags) => throw new NotImplementedException();
41
CodeNotificationKind
GetCodeNotification(TargetPointer module, uint methodToken) => throw new NotImplementedException();
46
void SetAllCodeNotifications(TargetPointer module,
CodeNotificationKind
flags) => throw new NotImplementedException();
Microsoft.Diagnostics.DataContractReader.Contracts (10)
Contracts\CodeNotifications_1.cs (10)
18
void ICodeNotifications.SetCodeNotification(TargetPointer module, uint methodToken,
CodeNotificationKind
flags)
20
TableView? view = PrepareTable(allocateIfMissing: flags !=
CodeNotificationKind
.None);
26
if (flags ==
CodeNotificationKind
.None)
82
CodeNotificationKind
ICodeNotifications.GetCodeNotification(TargetPointer module, uint methodToken)
86
return
CodeNotificationKind
.None;
91
return (
CodeNotificationKind
)v.GetEntry(foundIndex).State;
94
return
CodeNotificationKind
.None;
97
void ICodeNotifications.SetAllCodeNotifications(TargetPointer module,
CodeNotificationKind
flags)
116
if (flags ==
CodeNotificationKind
.None)
128
if (changed && flags ==
CodeNotificationKind
.None)
Microsoft.Diagnostics.DataContractReader.Legacy (10)
CodeNotificationFlagsConverter.cs (10)
11
/// <see cref="
CodeNotificationKind
"/> enum. The two enums happen to share the same bit
31
public static
CodeNotificationKind
FromCom(uint flags)
33
CodeNotificationKind
result =
CodeNotificationKind
.None;
35
result |=
CodeNotificationKind
.Generated;
37
result |=
CodeNotificationKind
.Discarded;
42
/// Convert a contract <see cref="
CodeNotificationKind
"/> value back to the raw COM
46
public static uint ToCom(
CodeNotificationKind
kind)
49
if ((kind &
CodeNotificationKind
.Generated) != 0)
51
if ((kind &
CodeNotificationKind
.Discarded) != 0)