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)
212
Context.
LogError
(null, DiagnosticId.MissingArgumentForCommanLineOptionName, optionName);
255
context.
LogError
(null, DiagnosticId.UnrecognizedCommandLineOption, token);
295
context.
LogError
(null, DiagnosticId.InvalidAssemblyName, assemblyName);
312
context.
LogError
(null, DiagnosticId.InvalidDependenciesFileFormat);
390
context.
LogError
(null, DiagnosticId.InvalidAssemblyName, assemblyName);
429
context.
LogError
(null, DiagnosticId.CustomDataFormatIsInvalid);
620
context.
LogError
(null, DiagnosticId.InvalidGenerateWarningSuppressionsValue, generateWarningSuppressionsArgument);
691
context.
LogError
(null, DiagnosticId.InvalidAssemblyName, assemblyName);
713
context.
LogError
(null, DiagnosticId.InvalidAssemblyName, assemblyName);
772
context.
LogError
(null, DiagnosticId.XmlDescriptorCouldNotBeFound, xmlFile);
837
context.
LogError
(null, DiagnosticId.UnrecognizedCommandLineOption, token);
843
context.
LogError
(null, DiagnosticId.NoFilesToLinkSpecified, resolvers);
849
context.
LogError
(null, DiagnosticId.NewMvidAndDeterministicCannotBeUsedAtSameTime);
871
context.
LogError
(null, DiagnosticId.InvalidDependenciesFileFormat);
1000
Context.
LogError
(null, DiagnosticId.FailedToResolveMetadataElement, re.Message);
1003
Context.
LogError
(null, DiagnosticId.LinkerUnexpectedError);
1050
Context.
LogError
(null, DiagnosticId.AssemblyInCustomStepOptionCouldNotBeFound, arg);
1053
Context.
LogError
(null, DiagnosticId.AssemblyPathInCustomStepMustBeFullyQualified, arg);
1128
Context.
LogError
(null, DiagnosticId.InvalidArgForCustomStep, arg);
1135
Context.
LogError
(null, DiagnosticId.ExpectedSignToControlNewStepInsertion);
1160
Context.
LogError
(null, DiagnosticId.PipelineStepCouldNotBeFound, targetName);
1185
Context.
LogError
(null, DiagnosticId.PipelineStepCouldNotBeFound, targetName);
1197
Context.
LogError
(null, DiagnosticId.CustomStepTypeIsIncompatibleWithLinkerVersion, stepType.ToString());
1234
Context.
LogError
(null, DiagnosticId.CustomStepTypeCouldNotBeFound, type);
1250
Context.
LogError
(null, DiagnosticId.CustomStepTypeCouldNotBeFound, type);
1256
Context.
LogError
(null, DiagnosticId.CustomStepTypeIsIncompatibleWithLinkerVersion, type);
1308
Context.
LogError
(null, DiagnosticId.InvalidAssemblyAction, s);
1326
Context.
LogError
(null, DiagnosticId.InvalidAssemblyRootMode, s);
1339
Context.
LogError
(null, DiagnosticId.InvalidWarningVersion, text);
1374
Context.
LogError
(null, DiagnosticId.InvalidOptimizationValue, text);
1394
Context.
LogError
(null, DiagnosticId.InvalidMetadataOption, text);
1441
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);