59 references to DiagnosticIds
ILAssembler (59)
GrammarVisitor.cs (59)
501return diagnosticId is DiagnosticIds.ByteArrayTooShort 502or DiagnosticIds.ArgumentNotFound 503or DiagnosticIds.LocalNotFound 504or DiagnosticIds.LabelNotFound 505or DiagnosticIds.GenericParameterIndexOutOfRange 506or DiagnosticIds.ParameterIndexOutOfRange 507or DiagnosticIds.GenericParameterNotFound 508or DiagnosticIds.UnknownGenericParameter 509or DiagnosticIds.MissingInstanceCallConv; 701_diagnostics.Add(new Diagnostic(DiagnosticIds.KeyFileError, DiagnosticSeverity.Error, $"Failed to read key file '{keyFilePath}': {ex.Message}", location)); 1221DiagnosticIds.UnsealedValueType, 1247ReportError(DiagnosticIds.ThisOutsideClass, DiagnosticMessageTemplates.ThisOutsideClass, context); 1257ReportError(DiagnosticIds.BaseOutsideClass, DiagnosticMessageTemplates.BaseOutsideClass, context); 1263ReportError(DiagnosticIds.NoBaseType, DiagnosticMessageTemplates.NoBaseType, context); 1272ReportError(DiagnosticIds.NesterOutsideNestedClass, DiagnosticMessageTemplates.NesterOutsideNestedClass, context); 1289ReportError(DiagnosticIds.ModuleNotFound, string.Format(DiagnosticMessageTemplates.ModuleNotFound, moduleName), context); 1349ReportError(DiagnosticIds.TypeNotFound, string.Format(DiagnosticMessageTemplates.TypeNotFound, containingType.DottedName), context); 1786ReportWarning(DiagnosticIds.MissingExportedTypeImplementation, 1956ReportError(DiagnosticIds.MethodTypeParameterOutsideMethod, string.Format(DiagnosticMessageTemplates.MethodTypeParameterOutsideMethod, dottedName), context); 1982ReportError(DiagnosticIds.GenericParameterNotFound, string.Format(DiagnosticMessageTemplates.GenericParameterNotFound, dottedName), context); 2002ReportError(DiagnosticIds.TypeParameterOutsideType, string.Format(DiagnosticMessageTemplates.TypeParameterOutsideType, dottedName), context); 2028ReportError(DiagnosticIds.GenericParameterNotFound, string.Format(DiagnosticMessageTemplates.GenericParameterNotFound, dottedName), context); 2066ReportError(DiagnosticIds.TypedefNotFound, string.Format(DiagnosticMessageTemplates.TypedefNotFound, alias), context); 2176ReportError(DiagnosticIds.InvalidMetadataToken, DiagnosticMessageTemplates.InvalidMetadataToken, declarations[i]); 2188ReportError(DiagnosticIds.FileNotFound, string.Format(DiagnosticMessageTemplates.FileNotFound, fileName), declarations[i]); 2197ReportError(DiagnosticIds.AssemblyNotFound, string.Format(DiagnosticMessageTemplates.AssemblyNotFound, assemblyName), declarations[i]); 2212ReportError(DiagnosticIds.ExportedTypeNotFound, string.Format(DiagnosticMessageTemplates.ExportedTypeNotFound, declarations[i].slashedName().GetText()), declarations[i]); 2268ReportError(DiagnosticIds.ExportedTypeNotFound, string.Format(DiagnosticMessageTemplates.ExportedTypeNotFound, containingType.DottedName), slashedName); 2593ReportError(DiagnosticIds.TypedefNotFound, string.Format(DiagnosticMessageTemplates.TypedefNotFound, alias), context); 3061ReportError(DiagnosticIds.ByteArrayTooShort, DiagnosticMessageTemplates.ByteArrayTooShort, bytesContext); 3227ReportError(DiagnosticIds.ArgumentNotFound, string.Format(DiagnosticMessageTemplates.ArgumentNotFound, varName), context); 3242ReportError(DiagnosticIds.LocalNotFound, string.Format(DiagnosticMessageTemplates.LocalNotFound, varName), context); 3352DiagnosticIds.LiteralOutOfRange, 3377DiagnosticIds.LiteralOutOfRange, 3406ReportError(DiagnosticIds.LabelNotFound, 3477ReportError(DiagnosticIds.FileNotFound, string.Format(DiagnosticMessageTemplates.FileNotFound, fileName), decl); 3491ReportError(DiagnosticIds.AssemblyNotFound, string.Format(DiagnosticMessageTemplates.AssemblyNotFound, assemblyName), decl); 3735ReportError(DiagnosticIds.GenericParameterIndexOutOfRange, 3755ReportError(DiagnosticIds.UnknownGenericParameter, 3776ReportError(DiagnosticIds.GenericParameterIndexOutOfRange, 3796ReportError(DiagnosticIds.UnknownGenericParameter, 3831ReportError(DiagnosticIds.ParameterIndexOutOfRange, 3906ReportError(DiagnosticIds.AbstractMethodNotInAbstractType, 3917ReportError(DiagnosticIds.InvalidPInvokeSignature, 3975ReportError(DiagnosticIds.DuplicateMethod, 4018ReportError(DiagnosticIds.TypedefNotFound, string.Format(DiagnosticMessageTemplates.TypedefNotFound, alias), context); 4052ReportWarning(DiagnosticIds.MissingInstanceCallConv, 4126ReportWarning(DiagnosticIds.DeprecatedNativeType, 4180ReportError(DiagnosticIds.TypedefNotFound, string.Format(DiagnosticMessageTemplates.TypedefNotFound, alias), context); 4197ReportWarning(DiagnosticIds.DeprecatedCustomMarshaller, 4225ReportWarning(DiagnosticIds.DeprecatedNativeType, 4237ReportWarning(DiagnosticIds.DeprecatedNativeType, 4244ReportWarning(DiagnosticIds.DeprecatedNativeType, 4287ReportWarning(DiagnosticIds.DeprecatedNativeType, 4294ReportWarning(DiagnosticIds.DeprecatedNativeType, 4313ReportWarning(DiagnosticIds.DeprecatedNativeType, 4369ReportWarning(DiagnosticIds.DeprecatedNativeType, 4655ReportError(DiagnosticIds.UnsupportedSecurityDeclaration, 4773ReportError(DiagnosticIds.TypedefNotFound, string.Format(DiagnosticMessageTemplates.TypedefNotFound, alias), context);