2 writes to AssemblyName
Microsoft.JSInterop (2)
Infrastructure\DotNetDispatcher.cs (2)
522
AssemblyName
= assembly.GetName().Name!;
528
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}\")].");
451
throw new InvalidOperationException($"The assembly '{assemblyKey.
AssemblyName
}' contains more than one " +
502
?? throw new ArgumentException($"There is no loaded assembly with the name '{assemblyKey.
AssemblyName
}'.");
542
return
AssemblyName
.Equals(other.
AssemblyName
, StringComparison.Ordinal);
545
public override int GetHashCode() => StringComparer.Ordinal.GetHashCode(
AssemblyName
);