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);
586
context.
LogError
(null, DiagnosticId.InvalidGenerateWarningSuppressionsValue, generateWarningSuppressionsArgument);
656
context.
LogError
(null, DiagnosticId.InvalidAssemblyName, assemblyName);
678
context.
LogError
(null, DiagnosticId.InvalidAssemblyName, assemblyName);
737
context.
LogError
(null, DiagnosticId.XmlDescriptorCouldNotBeFound, xmlFile);
751
context.
LogError
(null, DiagnosticId.RootAssemblyCouldNotBeFound, assemblyFile);
800
context.
LogError
(null, DiagnosticId.UnrecognizedCommandLineOption, token);
806
context.
LogError
(null, DiagnosticId.NoFilesToLinkSpecified, resolvers);
812
context.
LogError
(null, DiagnosticId.NewMvidAndDeterministicCannotBeUsedAtSameTime);
834
context.
LogError
(null, DiagnosticId.InvalidDependenciesFileFormat);
960
Context.
LogError
(null, DiagnosticId.FailedToResolveMetadataElement, re.Message);
963
Context.
LogError
(null, DiagnosticId.LinkerUnexpectedError);
1008
Context.
LogError
(null, DiagnosticId.AssemblyInCustomStepOptionCouldNotBeFound, arg);
1011
Context.
LogError
(null, DiagnosticId.AssemblyPathInCustomStepMustBeFullyQualified, arg);
1086
Context.
LogError
(null, DiagnosticId.InvalidArgForCustomStep, arg);
1093
Context.
LogError
(null, DiagnosticId.ExpectedSignToControlNewStepInsertion);
1118
Context.
LogError
(null, DiagnosticId.PipelineStepCouldNotBeFound, targetName);
1143
Context.
LogError
(null, DiagnosticId.PipelineStepCouldNotBeFound, targetName);
1155
Context.
LogError
(null, DiagnosticId.CustomStepTypeIsIncompatibleWithLinkerVersion, stepType.ToString());
1192
Context.
LogError
(null, DiagnosticId.CustomStepTypeCouldNotBeFound, type);
1208
Context.
LogError
(null, DiagnosticId.CustomStepTypeCouldNotBeFound, type);
1214
Context.
LogError
(null, DiagnosticId.CustomStepTypeIsIncompatibleWithLinkerVersion, type);
1263
Context.
LogError
(null, DiagnosticId.InvalidAssemblyAction, s);
1281
Context.
LogError
(null, DiagnosticId.InvalidAssemblyRootMode, s);
1294
Context.
LogError
(null, DiagnosticId.InvalidWarningVersion, text);
1329
Context.
LogError
(null, DiagnosticId.InvalidOptimizationValue, text);
1349
Context.
LogError
(null, DiagnosticId.InvalidMetadataOption, text);
1394
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);