6internal static class SR
259 string result =
null;
273 if (!(resourceKey == resourceString) && resourceString !=
null)
275 return resourceString;
277 return defaultString;
280 internal static string Format(
string resourceFormat,
object? p1)
284 return string.Join(
", ", resourceFormat, p1);
286 return string.Format(resourceFormat, p1);
289 internal static string Format(
string resourceFormat,
object? p1,
object? p2)
293 return string.Join(
", ", resourceFormat, p1, p2);
295 return string.Format(resourceFormat, p1, p2);
298 internal static string Format(
string resourceFormat,
object? p1,
object? p2,
object? p3)
302 return string.Join(
", ", resourceFormat, p1, p2, p3);
304 return string.Format(resourceFormat, p1, p2, p3);
307 internal static string Format(
string resourceFormat, params
object?[]? args)
313 return resourceFormat +
", " +
string.Join(
", ", args);
315 return string.Format(resourceFormat, args);
317 return resourceFormat;
324 return string.Join(
", ", resourceFormat, p1);
326 return string.Format(provider, resourceFormat, p1);
333 return string.Join(
", ", resourceFormat, p1, p2);
335 return string.Format(provider, resourceFormat, p1, p2);
342 return string.Join(
", ", resourceFormat, p1, p2, p3);
344 return string.Format(provider, resourceFormat, p1, p2, p3);
353 return resourceFormat +
", " +
string.Join(
", ", args);
355 return string.Format(provider, resourceFormat, args);
357 return resourceFormat;
static bool TryGetSwitch(string switchName, out bool isEnabled)
virtual ? string GetString(string name)
static string ReadersMustBeDeltaReaders
static string InvalidExceptionRegionBounds
static string TableRowCountSpaceTooSmall
static string UnexpectedSignatureHeader2
static string ImageTooSmallOrContainsInvalidOffsetOrCount
static string InvalidMethodRva
static string GetResourceString(string resourceKey, string defaultString)
static string UnexpectedArrayLength
static string RowCountOutOfRange
static string BuilderAlreadyLinked
static string NotMetadataTableOrUserStringHandle
static string ValueMustBeMultiple
static string ExpectedNonEmptyArray
static string StreamTooLarge
static string ControlFlowBuilderNotAvailable
static string InvalidRowCount
static string InvalidMetadataStreamFormat
static string InvalidTypeSize
static string InvalidPdbChecksumDataFormat
static string ExpectedListOfSize
static string InvalidSehHeader
static string ValueTooLarge
static string NotEnoughSpaceForVersionString
static string InvalidSerializedString
static string NotTypeDefOrRefOrSpecHandle
static string InvalidCompressedInteger
static string BaseReaderMustBeFullMetadataReader
static string Format(string resourceFormat, object? p1)
static ResourceManager s_resourceManager
static string EnCMapNotSorted
static string MustNotReturnNull
static string InvalidDirectoryRVA
static string UnknownPEMagicValue
static string Format(string resourceFormat, object? p1, object? p2, object? p3)
static string InvalidPESignature
static string NotEnoughSpaceForMetadataStream
static string TooManyExceptionRegions
static string InvalidDirectorySize
static string UnexpectedSignatureHeader
static string MetadataTablesTooSmall
static string UnexpectedValueUnknownType
static string MetadataVersionTooLong
static string SizeMismatch
static string InvalidMethodHeader1
static string Format(IFormatProvider? provider, string resourceFormat, object? p1, object? p2)
static string LabelNotMarked
static string DistanceBetweenInstructionAndLabelTooBig
static string InvalidConstantValueOfType
static string NotEnoughSpaceForStreamHeaderName
static string UnexpectedHandleKind
static string TooManySubnamespaces
static string InvalidEntryPointToken
static string MetadataSignature
static string RowIdOrHeapOffsetTooLarge
static string InvalidDebugDirectoryEntryCharacteristics
static string UnexpectedSignatureTypeCode
static string UnexpectedStreamEnd
static string MetadataTableNotSorted
static string StandaloneDebugMetadataImageDoesNotContainModuleTable
static string PEImageDoesNotHaveMetadata
static string HeapSizeLimitExceeded
static string ReturnedBuilderSizeTooSmall
static string ModuleTableInvalidNumberOfRows
static string OutOfBoundsRead
static string ExpectedNonEmptyList
static string MetadataHeaderTooSmall
static ResourceManager ResourceManager
static string InvalidHandle
static string UnknownTables
static string RowCountMustBeZero
static string Format(string resourceFormat, params object?[]? args)
static string ExpectedNonEmptyString
static string PEImageNotAvailable
static string MissingDataDirectory
static string Format(string resourceFormat, object? p1, object? p2)
static string InvalidImportDefinitionKind
static string NotEnoughSpaceForGUIDStream
static string UnexpectedDebugDirectoryType
static string SignatureProviderReturnedInvalidSignature
static string ExpectedArrayOfSize
static string ModuleAlreadyAdded
static string UnsupportedFormatVersion
static string InvalidNumberOfSections
static string StreamMustSupportReadAndSeek
static string InvalidCorHeaderSize
static string InvalidCodedIndex
static string Format(IFormatProvider? provider, string resourceFormat, object? p1, object? p2, object? p3)
static string UnexpectedEmbeddedPortablePdbDataSignature
static string LabelDoesntBelongToBuilder
static string SignatureNotVarArg
static string InvalidLocalSignatureToken
static string InvalidToken
static string NotMetadataHeapHandle
static string InvalidMetadataSectionSpan
static string WinMDMissingMscorlibRef
static string InvalidMethodHeader2
static string UnexpectedCodeViewDataSignature
static string GetResourceString(string resourceKey)
static string Format(IFormatProvider? provider, string resourceFormat, object? p1)
static string AssemblyAlreadyAdded
static bool UsingResourceKeys()
static string InvalidDocumentName
static string InvalidSignature
static string SectionTooSmall
static string UnexpectedOpCode
static readonly bool s_usingResourceKeys
static string BuilderMustAligned
static string StreamHeaderTooSmall
static string NotTypeDefOrRefHandle
static string HashTooShort
static string CantGetOffsetForVirtualHeapHandle
static string MetadataImageDoesNotRepresentAnAssembly
static string HandleBelongsToFutureGeneration
static string NotEnoughSpaceForStringStream
static string OutOfBoundsWrite
static string MetadataTableHeaderTooSmall
static string MetadataStringDecoderEncodingMustBeUtf8
static string UnknownSectionName
static string ImageTooSmall
static string UnreachableLocation
static string IllegalTablesInCompressedMetadataStream
static string NotEnoughSpaceForBlobStream
static string UnknownFileFormat
static string UnexpectedValue
static string InvalidConstantValue
static string Format(IFormatProvider? provider, string resourceFormat, params object?[]? args)
static string BlobTooLarge
static string MethodHasNoExceptionRegions
static string SequencePointValueOutOfRange
static string SignatureTypeSequenceMustHaveAtLeastOneElement