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