2 writes to Origin
illink (2)
Linker\MessageContainer.cs (2)
275
Origin
= origin;
284
Origin
= origin;
17 references to Origin
illink (17)
Linker\LinkContext.cs (1)
541
message.
Origin
?.Provider is Mono.Cecil.ICustomAttributeProvider provider)
Linker\MessageContainer.cs (16)
294
string origin =
Origin
?.ToString () ?? originApp;
327
if (
Origin
?.Provider != null) {
328
if (
Origin
?.Provider is MethodDefinition method)
330
else if (
Origin
?.Provider is MemberReference memberRef)
332
else if (
Origin
?.Provider is IMemberDefinition member)
334
else if (
Origin
?.Provider is AssemblyDefinition assembly)
348
(Category, Text, Code, SubCategory,
Origin
) == (other.Category, other.Text, other.Code, other.SubCategory, other.
Origin
);
351
public override int GetHashCode () => (Category, Text, Code, SubCategory,
Origin
).GetHashCode ();
355
if (
Origin
!= null && other.
Origin
!= null) {
356
return
Origin
.Value.CompareTo (other.
Origin
.Value);
357
} else if (
Origin
== null && other.
Origin
== null) {
361
return (
Origin
== null) ? 1 : -1;