Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Mono.Android/Java.Interop/JniMarshalTyped.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ namespace Java.Interop {
/// character for the return value (<c>X</c> = void, <c>S</c> = scalar, <c>O</c> = object
/// reference). Shapes which are not safely centralizable — strings, arrays and other
/// copy-back parameters, generic and by-ref parameters — are intentionally absent: the
/// generator falls back to <see cref="JniMarshal.SafeInvokeAction(IntPtr, IntPtr, delegate* managed&lt;IntPtr, IntPtr, void&gt;)" />
/// generator falls back to <see cref="JniMarshal.SafeInvokeAction" />
/// and friends for those.
/// </para>
/// <para>
Expand Down
2 changes: 1 addition & 1 deletion src/Mono.Android/Java.Interop/JniMarshalTyped.tt
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ namespace Java.Interop {
/// character for the return value (<c>X</c> = void, <c>S</c> = scalar, <c>O</c> = object
/// reference). Shapes which are not safely centralizable — strings, arrays and other
/// copy-back parameters, generic and by-ref parameters — are intentionally absent: the
/// generator falls back to <see cref="JniMarshal.SafeInvokeAction(IntPtr, IntPtr, delegate* managed&lt;IntPtr, IntPtr, void&gt;)" />
/// generator falls back to <see cref="JniMarshal.SafeInvokeAction" />
/// and friends for those.
/// </para>
/// <para>
Expand Down
2 changes: 2 additions & 0 deletions src/Mono.Android/Java.Interop/ValueTypeFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ internal override IDictionary CreateDictionaryWithReferenceValue (Type valueType
/// template that <paramref name="arguments"/> resolves to (the exact-value argument stays value-specific).
/// </typeparam>
/// <param name="arguments">The <c>[key, value]</c> generic arguments, exactly one of which is a reference type.</param>
/// <param name="handle">The JNI object reference handle.</param>
/// <param name="transfer">How to handle JNI reference ownership.</param>
[UnconditionalSuppressMessage ("AOT", "IL3050:RequiresDynamicCode",
Justification = "NativeAOT's Type.MakeGenericType() is annotated because arbitrary constructed generics can lack a runtime template. " +
"This helper only closes JavaDictionary<,> over one reference argument and the fixed value-type argument from TExemplar. " +
Expand Down
2 changes: 1 addition & 1 deletion src/Mono.Android/Microsoft.Android.Runtime/ITypeMap.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ interface ITypeMap

/// <summary>
/// Resolves a managed type to its proxy type (the generated type that
/// carries the <see cref="JavaPeerProxy"/> attribute).
/// carries the <see cref="Java.Interop.JavaPeerProxy"/> attribute).
/// </summary>
bool TryGetProxyType (Type managedType, [NotNullWhen (true)] out Type? proxyType);
}
Original file line number Diff line number Diff line change
Expand Up @@ -367,9 +367,7 @@ static bool TryGetBuiltInTypeSignature (Type type, out JniTypeSignature signatur
};
}

/// <summary>
/// Lookup of the JNI type signature for a built-in reference type, e.g., string, bool?, int?, etc.
/// </summary>
// Lookup of the JNI type signature for a built-in reference type, e.g., string, bool?, int?, etc.
static bool TryGetBuiltInReferenceJniName (Type type, [NotNullWhen (true)] out string? jni)
{
if (type == typeof (string)) { jni = "java/lang/String"; return true; }
Expand Down
2 changes: 1 addition & 1 deletion src/Mono.Android/Mono.Android.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<PropertyGroup Condition=" '$(IncludeAndroidJavadoc)' == 'True' ">
<AndroidJavadocVerbosity Condition=" '$(AndroidJavadocVerbosity)' == '' ">full</AndroidJavadocVerbosity>
<DocumentationFile>$(OutputPath)Mono.Android.xml</DocumentationFile>
<NoWarn>$(NoWarn);CS1572;CS1573;CS1574;CS1584;CS1587;CS1591;CS1658;</NoWarn>
<NoWarn>$(NoWarn);CS1572;CS1573;CS1587;CS1591;</NoWarn>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public void Reset ()
/// one out, performs the close there
/// (<c>EndUse</c> -> <c>DisposeCore</c>). <c>Dispose()</c> closes directly only when nothing is in
/// flight. The stream's <c>Dispose()</c> therefore never waits for an in-flight operation to unwind.
/// <see cref="AndroidHttpResponseMessage.Dispose()"/> synchronously calls <c>Disconnect()</c> as an
/// <see cref="AndroidHttpResponseMessage.Dispose(bool)"/> synchronously calls <c>Disconnect()</c> as an
/// idempotent backstop, but likewise does not wait for the operation to finish.
/// </description></item>
/// <item><description>
Expand Down Expand Up @@ -1587,7 +1587,7 @@ protected virtual Task SetupRequest (HttpRequestMessage request, HttpURLConnecti
/// Create and configure an instance of <see cref="TrustManagerFactory"/>. The <paramref name="keyStore"/> parameter is set to the
/// return value of the <see cref="ConfigureKeyStore"/> method, so it might be null if the application overrode the method and provided
/// no key store. It will not be <c>null</c> when the default implementation is used. The application can return <c>null</c> from this
/// method in which case AndroidMessageHandler will create its own instance of the trust manager factory provided that the <see cref="TrustCerts"/>
/// method in which case AndroidMessageHandler will create its own instance of the trust manager factory provided that the <see cref="TrustedCerts"/>
/// list contains at least one valid certificate. If there are no valid certificates and this method returns <c>null</c>, no custom
/// trust manager will be created since that would make all the HTTPS requests fail.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ public static JavadocInfo CreateInfo (XElement element, XmldocStyle style, bool
}
extra = new List<XElement> ();
extra.Add (docLink);
copyright = javadocMetadata.Element ("copyright").Elements ();
if (appendCopyrightExtra) {
copyright = javadocMetadata.Element ("copyright")?.Elements ();
if (appendCopyrightExtra && copyright != null) {
extra.AddRange (copyright);
}
}
Expand Down