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 (3)
41
Context.
LogError
(null, DiagnosticId.RootAssemblyCannotUseAction, assembly.Name.ToString(), action.ToString());
51
Context.
LogError
(null, DiagnosticId.RootAssemblyDoesNotHaveEntryPoint, assembly.Name.ToString());
117
Context.
LogError
(null, DiagnosticId.RootAssemblyCouldNotBeFound, fileName);
Linker\AssemblyResolver.cs (1)
146
_context.
LogError
(null, DiagnosticId.CouldNotFindAssemblyReference, reference.Name);
Linker\Driver.cs (33)
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);
580
context.
LogError
(null, DiagnosticId.InvalidGenerateWarningSuppressionsValue, generateWarningSuppressionsArgument);
650
context.
LogError
(null, DiagnosticId.InvalidAssemblyName, assemblyName);
672
context.
LogError
(null, DiagnosticId.InvalidAssemblyName, assemblyName);
731
context.
LogError
(null, DiagnosticId.XmlDescriptorCouldNotBeFound, xmlFile);
745
context.
LogError
(null, DiagnosticId.RootAssemblyCouldNotBeFound, assemblyFile);
794
context.
LogError
(null, DiagnosticId.UnrecognizedCommandLineOption, token);
800
context.
LogError
(null, DiagnosticId.NoFilesToLinkSpecified, resolvers);
806
context.
LogError
(null, DiagnosticId.NewMvidAndDeterministicCannotBeUsedAtSameTime);
828
context.
LogError
(null, DiagnosticId.InvalidDependenciesFileFormat);
954
Context.
LogError
(null, DiagnosticId.FailedToResolveMetadataElement, re.Message);
957
Context.
LogError
(null, DiagnosticId.LinkerUnexpectedError);
1002
Context.
LogError
(null, DiagnosticId.AssemblyInCustomStepOptionCouldNotBeFound, arg);
1005
Context.
LogError
(null, DiagnosticId.AssemblyPathInCustomStepMustBeFullyQualified, arg);
1080
Context.
LogError
(null, DiagnosticId.InvalidArgForCustomStep, arg);
1087
Context.
LogError
(null, DiagnosticId.ExpectedSignToControlNewStepInsertion);
1112
Context.
LogError
(null, DiagnosticId.PipelineStepCouldNotBeFound, targetName);
1137
Context.
LogError
(null, DiagnosticId.PipelineStepCouldNotBeFound, targetName);
1149
Context.
LogError
(null, DiagnosticId.CustomStepTypeIsIncompatibleWithLinkerVersion, stepType.ToString());
1186
Context.
LogError
(null, DiagnosticId.CustomStepTypeCouldNotBeFound, type);
1202
Context.
LogError
(null, DiagnosticId.CustomStepTypeCouldNotBeFound, type);
1208
Context.
LogError
(null, DiagnosticId.CustomStepTypeIsIncompatibleWithLinkerVersion, type);
1257
Context.
LogError
(null, DiagnosticId.InvalidAssemblyAction, s);
1275
Context.
LogError
(null, DiagnosticId.InvalidAssemblyRootMode, s);
1288
Context.
LogError
(null, DiagnosticId.InvalidWarningVersion, text);
1323
Context.
LogError
(null, DiagnosticId.InvalidOptimizationValue, text);
1343
Context.
LogError
(null, DiagnosticId.InvalidMetadataOption, text);
1388
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);