1 write to Origin
illink (1)
Linker.Dataflow\DiagnosticContext.cs (1)
15
=> (
Origin
, DiagnosticsEnabled, _context) = (origin, diagnosticsEnabled, context);
15 references to Origin
illink (15)
Linker.Dataflow\DiagnosticContext.cs (1)
20
_context.LogWarning (
Origin
, id, args);
Linker.Dataflow\HandleCallAction.cs (10)
164
_reflectionMarker.MarkType (_diagnosticContext.
Origin
, staticType);
262
=> _reflectionMarker.MarkStaticConstructor (_diagnosticContext.
Origin
, type.Type);
265
=> _reflectionMarker.MarkEventsOnTypeHierarchy (_diagnosticContext.
Origin
, type.Type, e => e.Name == name, bindingFlags);
268
=> _reflectionMarker.MarkFieldsOnTypeHierarchy (_diagnosticContext.
Origin
, type.Type, f => f.Name == name, bindingFlags);
271
=> _reflectionMarker.MarkPropertiesOnTypeHierarchy (_diagnosticContext.
Origin
, type.Type, p => p.Name == name, bindingFlags);
274
=> _reflectionMarker.MarkConstructorsOnType (_diagnosticContext.
Origin
, type.Type, m => m.IsPublic && !m.HasMetadataParameters ());
277
=> _reflectionMarker.MarkConstructorsOnType (_diagnosticContext.
Origin
, type.Type, (parameterCount == null) ? null : m => m.GetMetadataParametersCount () == parameterCount, bindingFlags);
280
=> _reflectionMarker.MarkMethod (_diagnosticContext.
Origin
, method.Method);
283
=> _reflectionMarker.MarkType (_diagnosticContext.
Origin
, type.Type);
288
_reflectionMarker.MarkProperty (_diagnosticContext.
Origin
, propertyDefinition);
Linker.Dataflow\ReflectionMarker.cs (1)
95
var origin = diagnosticContext.
Origin
;
Linker.Dataflow\ReflectionMethodBodyScanner.cs (1)
170
var origin = diagnosticContext.
Origin
;
Linker.Dataflow\RequireDynamicallyAccessedMembersAction.cs (1)
40
_reflectionMarker.MarkTypeForDynamicallyAccessedMembers (_diagnosticContext.
Origin
, type.Type, dynamicallyAccessedMemberTypes, DependencyKind.DynamicallyAccessedMember);
Linker\TypeNameResolver.WithDiagnostics.cs (1)
40
ICustomAttributeProvider? provider = diagnosticContext.
Origin
.Provider;