22 references to LogWarning
illink (22)
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\DiagnosticContext.cs (1)
20
_context.
LogWarning
(Origin, id, args);
Linker.Steps\CheckSuppressionsDispatcher.cs (1)
33
context.
LogWarning
(new MessageOrigin (source), DiagnosticId.RedundantSuppression, $"IL{suppression.SuppressMessageInfo.Id:0000}");
Linker.Steps\MarkStep.cs (12)
860
Context.
LogWarning
(origin, DiagnosticId.UnresolvedAssemblyInDynamicDependencyAttribute, dynamicDependency.AssemblyName);
872
Context.
LogWarning
(origin, DiagnosticId.UnresolvedTypeInDynamicDependencyAttribute, typeName);
880
Context.
LogWarning
(origin, DiagnosticId.UnresolvedTypeInDynamicDependencyAttribute, typeReference.GetDisplayName ());
895
Context.
LogWarning
(origin, DiagnosticId.NoMembersResolvedForMemberSignatureOrType, memberSignature, type.GetDisplayName ());
902
Context.
LogWarning
(origin, DiagnosticId.NoMembersResolvedForMemberSignatureOrType, memberTypes.ToString (), type.GetDisplayName ());
1613
Context.
LogWarning
(origin, DiagnosticId.DynamicallyAccessedMembersMethodAccessedViaReflection, method.GetDisplayName ());
1648
Context.
LogWarning
(origin, id, type.GetDisplayName (),
1657
Context.
LogWarning
(origin, id, type.GetDisplayName (), ((MemberReference) member).GetDisplayName ());
1754
Context.
LogWarning
(origin, DiagnosticId.DynamicallyAccessedMembersFieldAccessedViaReflection, field.GetDisplayName ());
1938
Context.
LogWarning
(origin, DiagnosticId.AttributeIsReferencedButTrimmerRemoveAllInstances, type.GetDisplayName ());
1970
Context.
LogWarning
(typeOrigin, DiagnosticId.RequiresUnreferencedCodeOnBaseClass, type.GetDisplayName (), type.BaseType.GetDisplayName (), arg1, arg2);
3090
Context.
LogWarning
(methodOrigin, DiagnosticId.RequiresUnreferencedCodeOnStaticConstructor, method.GetDisplayName ());
Linker.Steps\ProcessLinkerXmlBase.cs (1)
482
_context.
LogWarning
(GetMessageOriginForPosition (position), id, args);
Linker\LinkContext.cs (3)
624
LogWarning
(_origin, id, args);
638
LogWarning
(_origin, id, args);
667
LogWarning
(_origin, id, args);