40 references to MessageOrigin
illink (40)
Linker.Dataflow\CompilerGeneratedState.cs (4)
166
_context.LogWarning (new
MessageOrigin
(method), DiagnosticId.MethodsAreAssociatedWithUserMethod, method.GetDisplayName (), alreadyAssociatedMethod.GetDisplayName (), generatedType.GetDisplayName ());
217
_context.LogWarning (new
MessageOrigin
(method), DiagnosticId.MethodsAreAssociatedWithStateMachine, method.GetDisplayName (), alreadyAssociatedMethod.GetDisplayName (), stateMachineType.GetDisplayName ());
268
_context.LogWarning (new
MessageOrigin
(userDefinedMethod), DiagnosticId.MethodsAreAssociatedWithUserMethod, userDefinedMethod.GetDisplayName (), alreadyAssociatedMethod.GetDisplayName (), nestedFunction.GetDisplayName ());
295
_context.LogWarning (new
MessageOrigin
(method), DiagnosticId.MethodsAreAssociatedWithUserMethod, method.GetDisplayName (), alreadyAssociatedMethod.GetDisplayName (), generatedType.GetDisplayName ());
Linker.Dataflow\DynamicallyAccessedMembersTypeHierarchy.cs (1)
206
var origin = new
MessageOrigin
(type);
Linker.Dataflow\MethodBodyScanner.cs (2)
192
origin: new
MessageOrigin
(method, ilOffset)));
888
origin: new
MessageOrigin
(method, operation.Offset)));
Linker.Dataflow\ReflectionMethodBodyScanner.cs (1)
73
_origin = new
MessageOrigin
(methodIL.Method);
Linker.Steps\DiscoverCustomOperatorsHandler.cs (1)
84
Context.Annotations.Mark (method, new DependencyInfo (DependencyKind.PreservedOperator, method.DeclaringType), new
MessageOrigin
(method.DeclaringType));
Linker.Steps\MarkStep.cs (20)
318
origin = origin.Provider is not null ? origin : new
MessageOrigin
(type);
332
MarkInterfaceImplementation (iface, new
MessageOrigin
(type));
601
MarkType (type, new DependencyInfo (DependencyKind.DynamicInterfaceCastableImplementation, iface.InterfaceType), new
MessageOrigin
(Context.TryResolve (iface.InterfaceType)));
801
MessageOrigin providerOrigin = new
MessageOrigin
(providerMember);
1642
origin = new
MessageOrigin
(member);
1682
var fieldOrigin = new
MessageOrigin
(field);
1947
var typeOrigin = new
MessageOrigin
(type);
2335
MarkInterfaceImplementationList (impls, new
MessageOrigin
(type));
2548
MarkInterfaceImplementation (iface, new
MessageOrigin
(type));
2679
var instanceMemberOrigin = origin.Provider is not null ? origin : new
MessageOrigin
(((MemberReference) instance).Resolve ());
2707
var typeOrigin = new
MessageOrigin
(type);
2931
MarkType (method.DeclaringType, new DependencyInfo (DependencyKind.DeclaringTypeOfCalledMethod, method), new
MessageOrigin
(reason.Source as IMemberDefinition ?? method));
3070
var methodOrigin = new
MessageOrigin
(method);
3230
var typeOrigin = new
MessageOrigin
(type);
3257
MarkInterfaceImplementationList (iface.ImplementationChain, new
MessageOrigin
(method.DeclaringType));
3438
var propertyOrigin = new
MessageOrigin
(prop);
3447
origin = reason.Source is IMemberDefinition member ? new
MessageOrigin
(member) : origin;
3457
var eventOrigin = new
MessageOrigin
(evt);
3549
MessageOrigin ilOrigin = new
MessageOrigin
(methodIL.Method);
3584
MarkInterfaceImplementation (implementation, new
MessageOrigin
(type));
Linker.Steps\UnsafeAccessorMarker.cs (3)
86
_markStep.MarkMethodVisibleToReflection (targetMethod, new DependencyInfo (DependencyKind.UnsafeAccessorTarget, method), new
MessageOrigin
(method));
110
_markStep.MarkMethodVisibleToReflection (targetMethod, new DependencyInfo (DependencyKind.UnsafeAccessorTarget, method), new
MessageOrigin
(method));
137
_markStep.MarkFieldVisibleToReflection (targetField, new DependencyInfo (DependencyKind.UnsafeAccessorTarget, method), new
MessageOrigin
(method));
Linker\Annotations.cs (1)
510
Mark (method, new DependencyInfo (DependencyKind.PreservedMethod, definition), new
MessageOrigin
(definition));
Linker\LinkContext.cs (3)
609
MessageOrigin _origin = new
MessageOrigin
(origin, ilOffset);
623
MessageOrigin _origin = new
MessageOrigin
(origin, ilOffset);
637
MessageOrigin _origin = new
MessageOrigin
(origin);
Linker\SerializationMarker.cs (4)
208
_context.Annotations.Mark (field, new DependencyInfo (DependencyKind.SerializedMember, type), new
MessageOrigin
(type));
223
_context.Annotations.Mark (get, new DependencyInfo (DependencyKind.SerializedMember, type), new
MessageOrigin
(type));
225
_context.Annotations.Mark (set, new DependencyInfo (DependencyKind.SerializedMember, type), new
MessageOrigin
(type));
236
_context.Annotations.Mark (method, new DependencyInfo (DependencyKind.SerializedMember, type), new
MessageOrigin
(type));