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

Minor simplifications #1098

Merged
merged 3 commits into from
Nov 10, 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
4 changes: 2 additions & 2 deletions src/Moq/Mock.cs
Original file line number Diff line number Diff line change
Expand Up @@ -208,14 +208,14 @@ public DefaultValue DefaultValue
internal abstract Type MockedType { get; }

/// <summary>
/// Gets or sets the <see cref="DefaultValueProvider"/> instance that will be used
/// Gets or sets the <see cref="Moq.DefaultValueProvider"/> instance that will be used
/// e. g. to produce default return values for unexpected invocations.
/// </summary>
public abstract DefaultValueProvider DefaultValueProvider { get; set; }

/// <summary>
/// The <see cref="Moq.DefaultValueProvider"/> used to initialize automatically stubbed properties.
/// It is equal to the value of <see cref="Moq.Mock.DefaultValueProvider"/> at the time when
/// It is equal to the value of <see cref="DefaultValueProvider"/> at the time when
/// <see cref="SetupAllProperties"/> was last called.
/// </summary>
internal abstract DefaultValueProvider AutoSetupPropertiesDefaultValueProvider { get; set; }
Expand Down
7 changes: 3 additions & 4 deletions src/Moq/Moq.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<TargetFrameworks>net45;netstandard2.0</TargetFrameworks>
<AssemblyName>Moq</AssemblyName>
<DebugSymbols>True</DebugSymbols>
<DebugType>portable</DebugType>
<DebugType>embedded</DebugType>
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
<GenerateDocumentation>true</GenerateDocumentation>
<NoWarn>0419</NoWarn>
Expand All @@ -35,8 +35,7 @@
<PackageTags>moq;tdd;mocking;mocks;unittesting;agile;unittest</PackageTags>
<PackageProjectUrl>https://github.com/moq/moq4</PackageProjectUrl>
<RepositoryUrl>https://github.com/moq/moq4</RepositoryUrl>
<IncludeSymbols>True</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<IncludeSymbols>false</IncludeSymbols>
</PropertyGroup>

<ItemGroup>
Expand Down Expand Up @@ -105,7 +104,7 @@
</ItemGroup>

<ItemGroup>
<None Include="$(SolutionDir)moq-icon.png" Pack="true" PackagePath="moq.png" Visible="False" />
<None Include="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), moq-icon.png))\moq-icon.png" Pack="true" PackagePath="moq.png" Visible="False" />
</ItemGroup>

<Target Name="Test" />
Expand Down