95 [
RequiresAssemblyFiles(
"The code will return an empty string for assemblies embedded in a single-file app")]
106 [
RequiresAssemblyFiles(
"The code will return an empty string for assemblies embedded in a single-file app")]
200 [
Obsolete(
"Strong name signing is not supported and throws PlatformNotSupportedException.", DiagnosticId =
"SYSLIB0017", UrlFormat =
"https://aka.ms/dotnet-warnings/{0}")]
217 if (
string.IsNullOrEmpty(
Name))
379 return base.ToString();
413 [
RequiresAssemblyFiles(
"The code will return an empty string for assemblies embedded in a single-file app")]
468 else if (c ==
'%' &&
rsvd ==
'%')
491 if (num != i && (num !=
start ||
dest !=
null))
530 return ":/?#[]@!$&'()*+,;=".Contains(c);
539 return "-._~".Contains(c);
static void BlockCopy(Array src, int srcOffset, Array dst, int dstOffset, int count)
static bool IsHexChar(int c)
static char ToCharUpper(int value)
static string GetFullPath(string path)
static byte Min(byte val1, byte val2)
static bool IsUnreserved(char c)
AssemblyVersionCompatibility _versionCompatibility
AssemblyName(string name, byte[] publicKey, byte[] publicKeyToken, Version version, CultureInfo cultureInfo, AssemblyHashAlgorithm hashAlgorithm, AssemblyVersionCompatibility versionCompatibility, string codeBase, AssemblyNameFlags flags)
static bool IsAsciiLetterOrDigit(char character)
const short c_MaxAsciiCharsReallocate
void SetPublicKeyToken(byte[]? publicKeyToken)
static AssemblyName GetFileInformationCore(string assemblyFile)
const string RFC3986ReservedMarks
const short c_MaxUTF_8BytesPerUnicodeChar
void OnDeserialization(object? sender)
static void EscapeAsciiChar(char ch, char[] to, ref int pos)
AssemblyHashAlgorithm _hashAlgorithm
static unsafe char[] EnsureDestinationSize(char *pStr, char[] dest, int currentInputPos, short charsToAdd, short minReallocateChars, ref int destPos, int prevInputPos)
void SetProcArchIndex(PortableExecutableKinds pek, ImageFileMachine ifm)
StrongNameKeyPair? KeyPair
override string ToString()
AssemblyContentType ContentType
const short c_MaxUnicodeCharsReallocate
static bool IsReservedUnreservedOrHash(char c)
const short c_EncodedCharsPerByte
AssemblyVersionCompatibility VersionCompatibility
static bool IsAsciiLetter(char character)
static AssemblyName nGetFileInformation(string s)
static ProcessorArchitecture CalculateProcArchIndex(PortableExecutableKinds pek, ImageFileMachine ifm, AssemblyNameFlags flags)
const string RFC3986UnreservedMarks
AssemblyHashAlgorithm HashAlgorithm
byte?[] GetPublicKeyToken()
static string EscapeCodeBase(string codebase)
static AssemblyName GetAssemblyName(string assemblyFile)
AssemblyName(string assemblyName)
void SetPublicKey(byte[]? publicKey)
static bool ReferenceMatchesDefinition(AssemblyName? reference, AssemblyName? definition)
static unsafe char[] EscapeString(string input, int start, int end, char[] dest, ref int destPos, bool isUriString, char force1, char force2, char rsvd)
void GetObjectData(SerializationInfo info, StreamingContext context)
byte[] ComputePublicKeyToken()
static string Format_StringZeroLength
static string Arg_FormatException
static string PlatformNotSupported_StrongNameSigning
AssemblyVersionCompatibility