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

Making documentation appear for F# in Visual Studio. #255

Merged
merged 1 commit into from
Dec 15, 2020
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
14 changes: 7 additions & 7 deletions src/Hedgehog/Range.fs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ module Range =

/// Construct a range which is unaffected by the size parameter using the
/// full range of a data type.
[<CompiledName("-ConstantBounded")>]
[<CompiledName("`ConstantBounded")>]
let inline constantBounded () : Range<'a> =
let lo = minValue ()
let hi = maxValue ()
Expand Down Expand Up @@ -211,7 +211,7 @@ module Range =

/// Construct a range which scales the bounds relative to the size
/// parameter.
[<CompiledName("-LinearFrom")>]
[<CompiledName("`LinearFrom")>]
let inline linearFrom (z : 'a) (x : 'a) (y : 'a) : Range<'a> =
Range (z, fun sz ->
let x_sized =
Expand Down Expand Up @@ -288,7 +288,7 @@ module Range =

/// Construct a range which scales the second bound relative to the size
/// parameter.
[<CompiledName("-Linear")>]
[<CompiledName("`Linear")>]
let inline linear (x : 'a) (y : 'a) : Range<'a> =
linearFrom x x y

Expand Down Expand Up @@ -360,7 +360,7 @@ module Range =

/// Construct a range which is scaled relative to the size parameter and
/// uses the full range of a data type.
[<CompiledName("-LinearBounded")>]
[<CompiledName("`LinearBounded")>]
let inline linearBounded () : Range<'a> =
let lo = minValue ()
let hi = maxValue ()
Expand Down Expand Up @@ -440,7 +440,7 @@ module Range =

/// Construct a range which scales the bounds exponentially relative to the
/// size parameter.
[<CompiledName("-ExponentialFrom")>]
[<CompiledName("`ExponentialFrom")>]
let inline exponentialFrom (z : 'a) (x : 'a) (y : 'a) : Range<'a> =
Range (z, fun sz ->
let scale =
Expand Down Expand Up @@ -520,7 +520,7 @@ module Range =

/// Construct a range which scales the second bound exponentially relative
/// to the size parameter.
[<CompiledName("-Exponential")>]
[<CompiledName("`Exponential")>]
let inline exponential (x : 'a) (y : 'a) : Range<'a> =
exponentialFrom x x y

Expand Down Expand Up @@ -592,7 +592,7 @@ module Range =

/// Construct a range which is scaled exponentially relative to the size
/// parameter and uses the full range of a data type.
[<CompiledName("-ExponentialBounded")>]
[<CompiledName("`ExponentialBounded")>]
let inline exponentialBounded () : Range<'a> =
let lo = minValue ()
let hi = maxValue ()
Expand Down
4 changes: 2 additions & 2 deletions tests/Hedgehog.CSharp.Tests/NameTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ public static IEnumerable<object[]> AllPublicMembers()
}

// Ignore static inline methods
// by convention we mark them as starting with '-'
if (mi != null && mi.Name.StartsWith("-"))
// by convention we mark them as starting with '`'
if (mi != null && mi.Name.StartsWith("`"))
{
continue;
}
Expand Down