20 references to GetResourceString
System.Runtime.Serialization.Schema (20)
artifacts\obj\System.Runtime.Serialization.Schema\Debug\net10.0\System.SR.cs (20)
16internal static string @AnnotationAttributeNotFound => GetResourceString("AnnotationAttributeNotFound", @"Invalid '{0}' annotation in type '{1}' from namespace '{2}'. Attribute '{3}' not present."); 18internal static string @CannotExportNullAssembly => GetResourceString("CannotExportNullAssembly", @"Cannot export null assembly provided via '{0}' parameter."); 20internal static string @CannotExportNullKnownType => GetResourceString("CannotExportNullKnownType", @"Cannot export null type provided via KnownTypesCollection."); 22internal static string @CannotExportNullType => GetResourceString("CannotExportNullType", @"Cannot export null type provided via '{0}' parameter."); 24internal static string @CannotSetMembersForReferencedType => GetResourceString("CannotSetMembersForReferencedType", @"Existing type '{0}' specified via the referenced types collection has been referenced in the generated code. Members cannot be added for this type since it cannot be modified."); 26internal static string @CannotSetNamespaceForReferencedType => GetResourceString("CannotSetNamespaceForReferencedType", @"Existing type '{0}' specified via the referenced types collection has been referenced in the generated code. Cannot set namespace for this type since it cannot be modified."); 28internal static string @GenericTypeNotExportable => GetResourceString("GenericTypeNotExportable", @"Type '{0}' cannot be exported as a schema type because it is an open generic type. You can only export a generic type if all its generic parameter types are actual types."); 30internal static string @TypeHasNotBeenImported => GetResourceString("TypeHasNotBeenImported", @"Type '{0}' from namespace '{1}' has not been imported from schema. Consider first importing this type by calling one of the Import methods on XsdDataContractImporter."); 32internal static string @CannotComputeUniqueName => GetResourceString("CannotComputeUniqueName", @"A unique name cannot be computed for '{0}' because there are already Int32.MaxValue types of with the same name."); 34internal static string @CannotDeriveFromSealedReferenceType => GetResourceString("CannotDeriveFromSealedReferenceType", @"Type with data contract name '{0}' in namespace '{1}' cannot be imported. Cannot derive from sealed referenced type '{2}'."); 36internal static string @CannotUseGenericTypeAsBase => GetResourceString("CannotUseGenericTypeAsBase", @"Collection type cannot be generated for type '{0}' from namespace '{1}'. Cannot use a generic list type as a base type because the language does not support generic type references."); 38internal static string @CircularTypeReference => GetResourceString("CircularTypeReference", @"It contains a circular reference for type '{0}' from namespace '{1}'."); 40internal static string @CLRNamespaceMappedMultipleTimes => GetResourceString("CLRNamespaceMappedMultipleTimes", @"CLR namespace '{2}' has already been mapped to data contract namespace '{0}'. It cannot be mapped to another data contract namespace '{1}'."); 42internal static string @InvalidClrNameGeneratedForISerializable => GetResourceString("InvalidClrNameGeneratedForISerializable", @"ISerializable type with data contract name '{0}' in namespace '{1}' cannot be imported. The data contract name cannot be customized for ISerializable type and the generated name '{2}' does not match the expected name '{0}'. Check if the required name has been mapped to a different type or if it is an invalid CLR name which cannot be generated or if the type requires an outer type which is not present."); 44internal static string @InvalidClrNamespaceGeneratedForISerializable => GetResourceString("InvalidClrNamespaceGeneratedForISerializable", @"ISerializable type with data contract name '{0}' in namespace '{1}' cannot be imported. The data contract namespace cannot be customized for ISerializable types and the generated namespace '{3}' does not match the required CLR namespace '{2}'. Check if the required namespace has been mapped to a different data contract namespace and consider mapping it explicitly using the namespaces collection."); 46internal static string @ReferencedBaseTypeDoesNotExist => GetResourceString("ReferencedBaseTypeDoesNotExist", @"Collection type cannot be generated for type '{0}' from namespace '{1}'. Rename the type to '{2}' in namespace '{3}' or reference an existing collection type that implements '{4}' or '{5}' which can be used as a base type for the generated collection."); 48internal static string @ReferencedTypeDoesNotMatch => GetResourceString("ReferencedTypeDoesNotMatch", @"Referenced type '{0}' with data contract name '{1}' in namespace '{2}' cannot be used since it does not match imported DataContract. Need to exclude this type from referenced types."); 50internal static string @TypeCannotBeImported => GetResourceString("TypeCannotBeImported", @"Type '{0}' in namespace '{1}' cannot be imported. {2}"); 52internal static string @TypeMustBeIXmlSerializable => GetResourceString("TypeMustBeIXmlSerializable", @"Schema type '{2}' in namespace '{3}' must be imported as an XML type. Type '{0}' cannot be mapped to this schema type because it does not implement '{1}'. Consider not adding type '{0}' to the list of referenced types or changing it to implement '{1}'."); 54internal static string @UnexpectedContractType => GetResourceString("UnexpectedContractType", @"An internal error has occurred. Unexpected contract type '{0}' for type '{1}' encountered.");