63 references to DiagnosticIds
ILAssembler (63)
GrammarVisitor.cs (63)
537return diagnosticId is DiagnosticIds.ByteArrayTooShort 538or DiagnosticIds.ArgumentNotFound 539or DiagnosticIds.LocalNotFound 540or DiagnosticIds.LabelNotFound 541or DiagnosticIds.GenericParameterIndexOutOfRange 542or DiagnosticIds.ParameterIndexOutOfRange 543or DiagnosticIds.GenericParameterNotFound 544or DiagnosticIds.UnknownGenericParameter 545or DiagnosticIds.MissingInstanceCallConv 546or DiagnosticIds.TooManyGenericParameters; 735_diagnostics.Add(new Diagnostic(DiagnosticIds.KeyFileError, DiagnosticSeverity.Error, $"Failed to read key file '{keyFilePath}': {ex.Message}", location)); 1366ReportError(DiagnosticIds.TooManyGenericParameters, 1424DiagnosticIds.UnsealedValueType, 1455ReportError(DiagnosticIds.TooManyGenericParameters, 1515ReportError(DiagnosticIds.ThisOutsideClass, DiagnosticMessageTemplates.ThisOutsideClass, context); 1525ReportError(DiagnosticIds.BaseOutsideClass, DiagnosticMessageTemplates.BaseOutsideClass, context); 1531ReportError(DiagnosticIds.NoBaseType, DiagnosticMessageTemplates.NoBaseType, context); 1540ReportError(DiagnosticIds.NesterOutsideNestedClass, DiagnosticMessageTemplates.NesterOutsideNestedClass, context); 1557ReportError(DiagnosticIds.ModuleNotFound, string.Format(DiagnosticMessageTemplates.ModuleNotFound, moduleName), context); 2082ReportWarning(DiagnosticIds.MissingExportedTypeImplementation, 2108ReportError(DiagnosticIds.FileNotFound, 2302ReportError(DiagnosticIds.MethodTypeParameterOutsideMethod, string.Format(DiagnosticMessageTemplates.MethodTypeParameterOutsideMethod, dottedName), context); 2328ReportError(DiagnosticIds.GenericParameterNotFound, string.Format(DiagnosticMessageTemplates.GenericParameterNotFound, dottedName), context); 2348ReportError(DiagnosticIds.TypeParameterOutsideType, string.Format(DiagnosticMessageTemplates.TypeParameterOutsideType, dottedName), context); 2374ReportError(DiagnosticIds.GenericParameterNotFound, string.Format(DiagnosticMessageTemplates.GenericParameterNotFound, dottedName), context); 2412ReportError(DiagnosticIds.TypedefNotFound, string.Format(DiagnosticMessageTemplates.TypedefNotFound, alias), context); 2522ReportError(DiagnosticIds.InvalidMetadataToken, DiagnosticMessageTemplates.InvalidMetadataToken, declarations[i]); 2534ReportError(DiagnosticIds.FileNotFound, string.Format(DiagnosticMessageTemplates.FileNotFound, fileName), declarations[i]); 2543ReportError(DiagnosticIds.AssemblyNotFound, string.Format(DiagnosticMessageTemplates.AssemblyNotFound, assemblyName), declarations[i]); 2558ReportError(DiagnosticIds.ExportedTypeNotFound, string.Format(DiagnosticMessageTemplates.ExportedTypeNotFound, declarations[i].slashedName().GetText()), declarations[i]); 2614ReportError(DiagnosticIds.ExportedTypeNotFound, string.Format(DiagnosticMessageTemplates.ExportedTypeNotFound, containingType.DottedName), slashedName); 2945ReportError(DiagnosticIds.TypedefNotFound, string.Format(DiagnosticMessageTemplates.TypedefNotFound, alias), context); 3443ReportError(DiagnosticIds.ByteArrayTooShort, DiagnosticMessageTemplates.ByteArrayTooShort, bytesContext); 3635ReportError(DiagnosticIds.ArgumentNotFound, string.Format(DiagnosticMessageTemplates.ArgumentNotFound, varName), context); 3650ReportError(DiagnosticIds.LocalNotFound, string.Format(DiagnosticMessageTemplates.LocalNotFound, varName), context); 3795DiagnosticIds.LiteralOutOfRange, 3820DiagnosticIds.LiteralOutOfRange, 3849ReportError(DiagnosticIds.LabelNotFound, 3930ReportError(DiagnosticIds.FileNotFound, string.Format(DiagnosticMessageTemplates.FileNotFound, fileName), decl); 4192ReportError(DiagnosticIds.GenericParameterIndexOutOfRange, 4212ReportError(DiagnosticIds.UnknownGenericParameter, 4233ReportError(DiagnosticIds.GenericParameterIndexOutOfRange, 4253ReportError(DiagnosticIds.UnknownGenericParameter, 4288ReportError(DiagnosticIds.ParameterIndexOutOfRange, 4365ReportError(DiagnosticIds.TooManyGenericParameters, 4396ReportWarning(DiagnosticIds.AbstractMethodNotInAbstractType, 4407ReportError(DiagnosticIds.InvalidPInvokeSignature, 4474ReportError(DiagnosticIds.DuplicateMethod, 4517ReportError(DiagnosticIds.TypedefNotFound, string.Format(DiagnosticMessageTemplates.TypedefNotFound, alias), context); 4556ReportWarning(DiagnosticIds.MissingInstanceCallConv, 4630ReportWarning(DiagnosticIds.DeprecatedNativeType, 4684ReportError(DiagnosticIds.TypedefNotFound, string.Format(DiagnosticMessageTemplates.TypedefNotFound, alias), context); 4701ReportWarning(DiagnosticIds.DeprecatedCustomMarshaller, 4729ReportWarning(DiagnosticIds.DeprecatedNativeType, 4741ReportWarning(DiagnosticIds.DeprecatedNativeType, 4748ReportWarning(DiagnosticIds.DeprecatedNativeType, 4799ReportWarning(DiagnosticIds.DeprecatedNativeType, 4806ReportWarning(DiagnosticIds.DeprecatedNativeType, 4835ReportWarning(DiagnosticIds.DeprecatedNativeType, 4863ReportWarning(DiagnosticIds.DeprecatedNativeType, 5176ReportError(DiagnosticIds.UnsupportedSecurityDeclaration, 5294ReportError(DiagnosticIds.TypedefNotFound, string.Format(DiagnosticMessageTemplates.TypedefNotFound, alias), context); 5545DiagnosticIds.UnsupportedTlsData,