51 references to LogError
illink (51)
Linker.Steps\LinkAttributesParser.cs (6)
257
_context.
LogError
(null, DiagnosticId.CustomAttributeArgumentForTypeRequiresNestedNode, "System.Object", "argument");
300
_context.
LogError
(GetMessageOriginForPosition (nav), DiagnosticId.CouldNotResolveCustomAttributeTypeValue, svalue);
326
_context.
LogError
(GetMessageOriginForPosition (nav), DiagnosticId.UnexpectedAttributeArgumentType, typeref.GetDisplayName ());
337
_context.
LogError
(GetMessageOriginForPosition (nav), DiagnosticId.UnexpectedAttributeArgumentType, typeref.GetDisplayName ());
349
_context.
LogError
(GetMessageOriginForPosition (nav), DiagnosticId.TypeUsedWithAttributeValueCouldNotBeFound, typeName, nav.Value);
407
_context.
LogError
(null, DiagnosticId.CannotConverValueToType, value.ToString () ?? "", targetType.GetDisplayName ());
Linker.Steps\MarkExportedTypesTargetStep.cs (1)
31
context.
LogError
(null, DiagnosticId.ExportedTypeCannotBeResolved, exportedType.Name);
Linker.Steps\ProcessReferencesStep.cs (1)
41
Context.
LogError
(null, DiagnosticId.ReferenceAssemblyCouldNotBeLoaded, assemblyPath);
Linker.Steps\RootAssemblyInputStep.cs (3)
40
Context.
LogError
(null, DiagnosticId.RootAssemblyCannotUseAction, assembly.Name.ToString (), action.ToString ());
48
Context.
LogError
(null, DiagnosticId.RootAssemblyDoesNotHaveEntryPoint, assembly.Name.ToString ());
112
Context.
LogError
(null, DiagnosticId.RootAssemblyCouldNotBeFound, fileName);
Linker\AssemblyResolver.cs (1)
139
_context.
LogError
(null, DiagnosticId.CouldNotFindAssemblyReference, reference.Name);
Linker\Driver.cs (33)
174
Context.
LogError
(null, DiagnosticId.MissingArgumentForCommanLineOptionName, optionName);
211
context.
LogError
(null, DiagnosticId.UnrecognizedCommandLineOption, token);
246
context.
LogError
(null, DiagnosticId.InvalidAssemblyName, assemblyName);
262
context.
LogError
(null, DiagnosticId.InvalidDependenciesFileFormat);
336
context.
LogError
(null, DiagnosticId.InvalidAssemblyName, assemblyName);
371
context.
LogError
(null, DiagnosticId.CustomDataFormatIsInvalid);
530
context.
LogError
(null, DiagnosticId.InvalidGenerateWarningSuppressionsValue, generateWarningSuppressionsArgument);
591
context.
LogError
(null, DiagnosticId.InvalidAssemblyName, assemblyName);
608
context.
LogError
(null, DiagnosticId.InvalidAssemblyName, assemblyName);
661
context.
LogError
(null, DiagnosticId.XmlDescriptorCouldNotBeFound, xmlFile);
673
context.
LogError
(null, DiagnosticId.RootAssemblyCouldNotBeFound, assemblyFile);
721
context.
LogError
(null, DiagnosticId.UnrecognizedCommandLineOption, token);
726
context.
LogError
(null, DiagnosticId.NoFilesToLinkSpecified, resolvers);
731
context.
LogError
(null, DiagnosticId.NewMvidAndDeterministicCannotBeUsedAtSameTime);
750
context.
LogError
(null, DiagnosticId.InvalidDependenciesFileFormat);
868
Context.
LogError
(null, DiagnosticId.FailedToResolveMetadataElement, re.Message);
871
Context.
LogError
(null, DiagnosticId.LinkerUnexpectedError);
913
Context.
LogError
(null, DiagnosticId.AssemblyInCustomStepOptionCouldNotBeFound, arg);
915
Context.
LogError
(null, DiagnosticId.AssemblyPathInCustomStepMustBeFullyQualified, arg);
986
Context.
LogError
(null, DiagnosticId.InvalidArgForCustomStep, arg);
992
Context.
LogError
(null, DiagnosticId.ExpectedSignToControlNewStepInsertion);
1014
Context.
LogError
(null, DiagnosticId.PipelineStepCouldNotBeFound, targetName);
1036
Context.
LogError
(null, DiagnosticId.PipelineStepCouldNotBeFound, targetName);
1048
Context.
LogError
(null, DiagnosticId.CustomStepTypeIsIncompatibleWithLinkerVersion, stepType.ToString ());
1082
Context.
LogError
(null, DiagnosticId.CustomStepTypeCouldNotBeFound, type);
1097
Context.
LogError
(null, DiagnosticId.CustomStepTypeCouldNotBeFound, type);
1102
Context.
LogError
(null, DiagnosticId.CustomStepTypeIsIncompatibleWithLinkerVersion, type);
1149
Context.
LogError
(null, DiagnosticId.InvalidAssemblyAction, s);
1166
Context.
LogError
(null, DiagnosticId.InvalidAssemblyRootMode, s);
1178
Context.
LogError
(null, DiagnosticId.InvalidWarningVersion, text);
1212
Context.
LogError
(null, DiagnosticId.InvalidOptimizationValue, text);
1231
Context.
LogError
(null, DiagnosticId.InvalidMetadataOption, text);
1272
Context.
LogError
(null, DiagnosticId.InvalidArgumentForTokenOption, token);
Linker\EmbeddedXmlInfo.cs (3)
40
context.
LogError
(null, DiagnosticId.XmlException, rsc.Name, ex.ToString ());
60
context.
LogError
(null, DiagnosticId.XmlException, rsc.Name, ex.ToString ());
85
context.
LogError
(null, DiagnosticId.XmlException, rsc.Name, ex.ToString ());
Linker\FeatureSettings.cs (3)
20
context.
LogError
(null, DiagnosticId.XmlFeatureDoesNotSpecifyFeatureValue, documentLocation, feature);
25
context.
LogError
(null, DiagnosticId.XmlUnsupportedNonBooleanValueForFeature, documentLocation, feature);
32
context.
LogError
(null, DiagnosticId.XmlDocumentLocationHasInvalidFeatureDefault, documentLocation);