51 references to LogError
illink (51)
Linker.Steps\LinkAttributesParser.cs (6)
276
_context.
LogError
(null, DiagnosticId.CustomAttributeArgumentForTypeRequiresNestedNode, "System.Object", "argument");
320
_context.
LogError
(GetMessageOriginForPosition(nav), DiagnosticId.CouldNotResolveCustomAttributeTypeValue, svalue);
353
_context.
LogError
(GetMessageOriginForPosition(nav), DiagnosticId.UnexpectedAttributeArgumentType, typeref.GetDisplayName());
366
_context.
LogError
(GetMessageOriginForPosition(nav), DiagnosticId.UnexpectedAttributeArgumentType, typeref.GetDisplayName());
379
_context.
LogError
(GetMessageOriginForPosition(nav), DiagnosticId.TypeUsedWithAttributeValueCouldNotBeFound, typeName, nav.Value);
441
_context.
LogError
(null, DiagnosticId.CannotConverValueToType, value.ToString() ?? "", targetType.GetDisplayName());
Linker.Steps\MarkExportedTypesTargetStep.cs (1)
32
context.
LogError
(null, DiagnosticId.ExportedTypeCannotBeResolved, exportedType.Name);
Linker.Steps\ProcessReferencesStep.cs (1)
43
Context.
LogError
(null, DiagnosticId.ReferenceAssemblyCouldNotBeLoaded, assemblyPath);
Linker.Steps\RootAssemblyInputStep.cs (4)
40
Context.
LogError
(null, DiagnosticId.RootAssemblyCannotUseAction, assembly.Name.ToString(), action.ToString());
50
Context.
LogError
(null, DiagnosticId.RootAssemblyDoesNotHaveEntryPoint, assembly.Name.ToString());
57
Context.
LogError
(null, DiagnosticId.MultipleEntryPointRoots, assembly.Name.ToString(), existingEntryPointAssembly.Name.ToString());
111
Context.
LogError
(null, DiagnosticId.RootAssemblyCouldNotBeFound, assemblyName);
Linker\AssemblyResolver.cs (1)
146
_context.
LogError
(null, DiagnosticId.CouldNotFindAssemblyReference, reference.Name);
Linker\Driver.cs (32)
201
Context.
LogError
(null, DiagnosticId.MissingArgumentForCommanLineOptionName, optionName);
240
context.
LogError
(null, DiagnosticId.UnrecognizedCommandLineOption, token);
280
context.
LogError
(null, DiagnosticId.InvalidAssemblyName, assemblyName);
297
context.
LogError
(null, DiagnosticId.InvalidDependenciesFileFormat);
375
context.
LogError
(null, DiagnosticId.InvalidAssemblyName, assemblyName);
413
context.
LogError
(null, DiagnosticId.CustomDataFormatIsInvalid);
593
context.
LogError
(null, DiagnosticId.InvalidGenerateWarningSuppressionsValue, generateWarningSuppressionsArgument);
663
context.
LogError
(null, DiagnosticId.InvalidAssemblyName, assemblyName);
685
context.
LogError
(null, DiagnosticId.InvalidAssemblyName, assemblyName);
744
context.
LogError
(null, DiagnosticId.XmlDescriptorCouldNotBeFound, xmlFile);
801
context.
LogError
(null, DiagnosticId.UnrecognizedCommandLineOption, token);
807
context.
LogError
(null, DiagnosticId.NoFilesToLinkSpecified, resolvers);
813
context.
LogError
(null, DiagnosticId.NewMvidAndDeterministicCannotBeUsedAtSameTime);
835
context.
LogError
(null, DiagnosticId.InvalidDependenciesFileFormat);
961
Context.
LogError
(null, DiagnosticId.FailedToResolveMetadataElement, re.Message);
964
Context.
LogError
(null, DiagnosticId.LinkerUnexpectedError);
1009
Context.
LogError
(null, DiagnosticId.AssemblyInCustomStepOptionCouldNotBeFound, arg);
1012
Context.
LogError
(null, DiagnosticId.AssemblyPathInCustomStepMustBeFullyQualified, arg);
1087
Context.
LogError
(null, DiagnosticId.InvalidArgForCustomStep, arg);
1094
Context.
LogError
(null, DiagnosticId.ExpectedSignToControlNewStepInsertion);
1119
Context.
LogError
(null, DiagnosticId.PipelineStepCouldNotBeFound, targetName);
1144
Context.
LogError
(null, DiagnosticId.PipelineStepCouldNotBeFound, targetName);
1156
Context.
LogError
(null, DiagnosticId.CustomStepTypeIsIncompatibleWithLinkerVersion, stepType.ToString());
1193
Context.
LogError
(null, DiagnosticId.CustomStepTypeCouldNotBeFound, type);
1209
Context.
LogError
(null, DiagnosticId.CustomStepTypeCouldNotBeFound, type);
1215
Context.
LogError
(null, DiagnosticId.CustomStepTypeIsIncompatibleWithLinkerVersion, type);
1264
Context.
LogError
(null, DiagnosticId.InvalidAssemblyAction, s);
1282
Context.
LogError
(null, DiagnosticId.InvalidAssemblyRootMode, s);
1295
Context.
LogError
(null, DiagnosticId.InvalidWarningVersion, text);
1330
Context.
LogError
(null, DiagnosticId.InvalidOptimizationValue, text);
1350
Context.
LogError
(null, DiagnosticId.InvalidMetadataOption, text);
1395
Context.
LogError
(null, DiagnosticId.InvalidArgumentForTokenOption, token);
Linker\EmbeddedXmlInfo.cs (3)
43
context.
LogError
(null, DiagnosticId.XmlException, rsc.Name, ex.ToString());
66
context.
LogError
(null, DiagnosticId.XmlException, rsc.Name, ex.ToString());
94
context.
LogError
(null, DiagnosticId.XmlException, rsc.Name, ex.ToString());
Linker\FeatureSettings.cs (3)
21
context.
LogError
(null, DiagnosticId.XmlFeatureDoesNotSpecifyFeatureValue, documentLocation, feature);
27
context.
LogError
(null, DiagnosticId.XmlUnsupportedNonBooleanValueForFeature, documentLocation, feature);
35
context.
LogError
(null, DiagnosticId.XmlDocumentLocationHasInvalidFeatureDefault, documentLocation);