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);
263
=> _reflectionMarker.MarkStaticConstructor (_diagnosticContext.
Origin
, type.Type);
266
=> _reflectionMarker.MarkEventsOnTypeHierarchy (_diagnosticContext.
Origin
, type.Type, e => e.Name == name, bindingFlags);
269
=> _reflectionMarker.MarkFieldsOnTypeHierarchy (_diagnosticContext.
Origin
, type.Type, f => f.Name == name, bindingFlags);
272
=> _reflectionMarker.MarkPropertiesOnTypeHierarchy (_diagnosticContext.
Origin
, type.Type, p => p.Name == name, bindingFlags);
275
=> _reflectionMarker.MarkConstructorsOnType (_diagnosticContext.
Origin
, type.Type, m => m.IsPublic && !m.HasMetadataParameters ());
278
=> _reflectionMarker.MarkConstructorsOnType (_diagnosticContext.
Origin
, type.Type, (parameterCount == null) ? null : m => m.GetMetadataParametersCount () == parameterCount, bindingFlags);
281
=> _reflectionMarker.MarkMethod (_diagnosticContext.
Origin
, method.Method);
284
=> _reflectionMarker.MarkType (_diagnosticContext.
Origin
, type.Type);
289
_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;