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);
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);
758
context.
LogError
(null, DiagnosticId.RootAssemblyCouldNotBeFound, assemblyFile);
807
context.
LogError
(null, DiagnosticId.UnrecognizedCommandLineOption, token);
813
context.
LogError
(null, DiagnosticId.NoFilesToLinkSpecified, resolvers);
819
context.
LogError
(null, DiagnosticId.NewMvidAndDeterministicCannotBeUsedAtSameTime);
841
context.
LogError
(null, DiagnosticId.InvalidDependenciesFileFormat);
967
Context.
LogError
(null, DiagnosticId.FailedToResolveMetadataElement, re.Message);
970
Context.
LogError
(null, DiagnosticId.LinkerUnexpectedError);
1015
Context.
LogError
(null, DiagnosticId.AssemblyInCustomStepOptionCouldNotBeFound, arg);
1018
Context.
LogError
(null, DiagnosticId.AssemblyPathInCustomStepMustBeFullyQualified, arg);
1093
Context.
LogError
(null, DiagnosticId.InvalidArgForCustomStep, arg);
1100
Context.
LogError
(null, DiagnosticId.ExpectedSignToControlNewStepInsertion);
1125
Context.
LogError
(null, DiagnosticId.PipelineStepCouldNotBeFound, targetName);
1150
Context.
LogError
(null, DiagnosticId.PipelineStepCouldNotBeFound, targetName);
1162
Context.
LogError
(null, DiagnosticId.CustomStepTypeIsIncompatibleWithLinkerVersion, stepType.ToString());
1199
Context.
LogError
(null, DiagnosticId.CustomStepTypeCouldNotBeFound, type);
1215
Context.
LogError
(null, DiagnosticId.CustomStepTypeCouldNotBeFound, type);
1221
Context.
LogError
(null, DiagnosticId.CustomStepTypeIsIncompatibleWithLinkerVersion, type);
1270
Context.
LogError
(null, DiagnosticId.InvalidAssemblyAction, s);
1288
Context.
LogError
(null, DiagnosticId.InvalidAssemblyRootMode, s);
1301
Context.
LogError
(null, DiagnosticId.InvalidWarningVersion, text);
1336
Context.
LogError
(null, DiagnosticId.InvalidOptimizationValue, text);
1356
Context.
LogError
(null, DiagnosticId.InvalidMetadataOption, text);
1401
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);