Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add example placeholders and clean up some signature files #12161

Merged
merged 1 commit into from
Sep 16, 2021
Merged
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
26 changes: 26 additions & 0 deletions src/fsharp/FSharp.Core/Linq.fsi
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ open Microsoft.FSharp.Quotations
/// Library functionality associated with converting F# quotations to .NET LINQ expression trees.
/// </summary></namespacedoc>
module LeafExpressionConverter =
/// <summary>
/// When used in a quotation, this function indicates a specific conversion
/// should be performed when converting the quotation to a LINQ expression.
///
/// This function should not be called directly.
/// </summary>
//
// NOTE: when an F# expression tree is converted to a Linq expression tree using ToLinqExpression
// the transformation of <c>LinqExpressionHelper(e)</c> is the same as the transformation of
Expand All @@ -29,36 +31,60 @@ module LeafExpressionConverter =
//[<System.Obsolete("This type is for use by the quotation to LINQ expression tree converter and is not for direct use from user code")>]
val ImplicitExpressionConversionHelper : 'T -> Expression<'T>

/// <summary>
/// When used in a quotation, this function indicates a specific conversion
/// should be performed when converting the quotation to a LINQ expression.
///
/// This function should not be called directly.
/// </summary>
//[<System.Obsolete("This type is for use by the quotation to LINQ expression tree converter and is not for direct use from user code")>]
val MemberInitializationHelper : 'T -> 'T

/// <summary>
/// When used in a quotation, this function indicates a specific conversion
/// should be performed when converting the quotation to a LINQ expression.
///
/// This function should not be called directly.
/// </summary>
//[<System.Obsolete("This type is for use by the quotation to LINQ expression tree converter and is not for direct use from user code")>]
val NewAnonymousObjectHelper : 'T -> 'T

/// <summary>
/// Converts a subset of F# quotations to a LINQ expression, for the subset of LINQ expressions represented by the
/// expression syntax in the C# language.
/// </summary>
///
/// <example-tbd></example-tbd>
val QuotationToExpression : Expr -> Expression

/// <summary>
/// Converts a subset of F# quotations to a LINQ expression, for the subset of LINQ expressions represented by the
/// expression syntax in the C# language.
/// </summary>
///
/// <example-tbd></example-tbd>
val QuotationToLambdaExpression : Expr<'T> -> Expression<'T>

/// <summary>
/// Evaluates a subset of F# quotations by first converting to a LINQ expression, for the subset of LINQ expressions represented by the
/// expression syntax in the C# language.
/// </summary>
///
/// <example-tbd></example-tbd>
val EvaluateQuotation : Expr -> obj

/// <summary>
/// A runtime helper used to evaluate nested quotation literals.
/// </summary>
///
/// <example-tbd></example-tbd>
val SubstHelper : Expr * Var[] * obj[] -> Expr<'T>

/// <summary>
/// A runtime helper used to evaluate nested quotation literals.
/// </summary>
///
/// <example-tbd></example-tbd>
val SubstHelperRaw : Expr * Var[] * obj[] -> Expr

val internal (|SpecificCallToMethod|_|) : System.RuntimeMethodHandle -> (Expr -> (Expr option * Type list * Expr list) option)
178 changes: 143 additions & 35 deletions src/fsharp/FSharp.Core/Nullable.fsi

Large diffs are not rendered by default.

140 changes: 98 additions & 42 deletions src/fsharp/FSharp.Core/Query.fsi

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions src/fsharp/FSharp.Core/QueryExtensions.fs
Original file line number Diff line number Diff line change
Expand Up @@ -283,5 +283,3 @@ module internal Adapters =
tipf expr

let MakeSeqConv conv = match conv with NoConv -> NoConv | _ -> SeqConv conv


Loading