49 references to DiagnosticMessageTemplates
ILAssembler (49)
GrammarVisitor.cs (49)
1223string.Format(DiagnosticMessageTemplates.UnsealedValueType, newTypeDef.Name),
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);
1787string.Format(DiagnosticMessageTemplates.MissingExportedTypeImplementation, dottedName),
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);
3354string.Format(DiagnosticMessageTemplates.LiteralOutOfRange, node.Text),
3379string.Format(DiagnosticMessageTemplates.LiteralOutOfRange, node.Text),
3407string.Format(DiagnosticMessageTemplates.LabelNotFound, labelName),
3477ReportError(DiagnosticIds.FileNotFound, string.Format(DiagnosticMessageTemplates.FileNotFound, fileName), decl);
3491ReportError(DiagnosticIds.AssemblyNotFound, string.Format(DiagnosticMessageTemplates.AssemblyNotFound, assemblyName), decl);
3736string.Format(DiagnosticMessageTemplates.GenericParameterIndexOutOfRange, index),
3756string.Format(DiagnosticMessageTemplates.UnknownGenericParameter, name),
3777string.Format(DiagnosticMessageTemplates.GenericParameterIndexOutOfRange, index),
3797string.Format(DiagnosticMessageTemplates.UnknownGenericParameter, name),
3832string.Format(DiagnosticMessageTemplates.ParameterIndexOutOfRange, index),
3907string.Format(DiagnosticMessageTemplates.AbstractMethodNotInAbstractType, methodDefinition.Name),
3918DiagnosticMessageTemplates.InvalidPInvokeSignature,
3976DiagnosticMessageTemplates.DuplicateMethod,
4018ReportError(DiagnosticIds.TypedefNotFound, string.Format(DiagnosticMessageTemplates.TypedefNotFound, alias), context);
4053DiagnosticMessageTemplates.MissingInstanceCallConv,
4127string.Format(DiagnosticMessageTemplates.DeprecatedNativeType, "pointer in array"),
4180ReportError(DiagnosticIds.TypedefNotFound, string.Format(DiagnosticMessageTemplates.TypedefNotFound, alias), context);
4198DiagnosticMessageTemplates.DeprecatedCustomMarshaller,
4226string.Format(DiagnosticMessageTemplates.DeprecatedNativeType, "VARIANT"),
4238string.Format(DiagnosticMessageTemplates.DeprecatedNativeType, "SYSCHAR"),
4245string.Format(DiagnosticMessageTemplates.DeprecatedNativeType, "VOID"),
4288string.Format(DiagnosticMessageTemplates.DeprecatedNativeType, "DECIMAL"),
4295string.Format(DiagnosticMessageTemplates.DeprecatedNativeType, "DATE"),
4314string.Format(DiagnosticMessageTemplates.DeprecatedNativeType, "OBJECTREF"),
4370string.Format(DiagnosticMessageTemplates.DeprecatedNativeType, "NESTEDSTRUCT"),
4656DiagnosticMessageTemplates.UnsupportedSecurityDeclaration,
4773ReportError(DiagnosticIds.TypedefNotFound, string.Format(DiagnosticMessageTemplates.TypedefNotFound, alias), context);