2 writes to AssemblyName
Microsoft.JSInterop (2)
Infrastructure\DotNetDispatcher.cs (2)
550
AssemblyName
= assembly.GetName().Name!;
556
AssemblyName
= assemblyName;
7 references to AssemblyName
Microsoft.JSInterop (7)
Infrastructure\DotNetDispatcher.cs (7)
365
ArgumentException.ThrowIfNullOrWhiteSpace(assemblyKey.
AssemblyName
);
375
throw new ArgumentException($"The assembly '{assemblyKey.
AssemblyName
}' does not contain a public invokable method with [{nameof(JSInvokableAttribute)}(\"{methodIdentifier}\")].");
478
throw new InvalidOperationException($"The assembly '{assemblyKey.
AssemblyName
}' contains more than one " +
530
?? throw new ArgumentException($"There is no loaded assembly with the name '{assemblyKey.
AssemblyName
}'.");
570
return
AssemblyName
.Equals(other.
AssemblyName
, StringComparison.Ordinal);
573
public override int GetHashCode() => StringComparer.Ordinal.GetHashCode(
AssemblyName
);