Skip to content
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: 14 additions & 0 deletions sdk.sln
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,10 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Assets", "Assets", "{06260D
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "dotnet-new", "dotnet-new", "{81003712-2EF6-47D0-904A-64E4DDD75BF7}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DotNet.ApiSymbolExtensions", "src\Microsoft.DotNet.ApiSymbolExtensions\Microsoft.DotNet.ApiSymbolExtensions.csproj", "{08238DE9-701B-4581-A414-51F94C99E44D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.DotNet.ApiSymbolExtensions.Tests", "src\Tests\Microsoft.DotNet.ApiSymbolExtensions.Tests\Microsoft.DotNet.ApiSymbolExtensions.Tests.csproj", "{E2BC296E-2660-4692-B471-F6FCD4C19F6E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -755,6 +759,14 @@ Global
{C37EC61D-6A88-4C15-B371-A61F23EF9072}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C37EC61D-6A88-4C15-B371-A61F23EF9072}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C37EC61D-6A88-4C15-B371-A61F23EF9072}.Release|Any CPU.Build.0 = Release|Any CPU
{08238DE9-701B-4581-A414-51F94C99E44D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{08238DE9-701B-4581-A414-51F94C99E44D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{08238DE9-701B-4581-A414-51F94C99E44D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{08238DE9-701B-4581-A414-51F94C99E44D}.Release|Any CPU.Build.0 = Release|Any CPU
{E2BC296E-2660-4692-B471-F6FCD4C19F6E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E2BC296E-2660-4692-B471-F6FCD4C19F6E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E2BC296E-2660-4692-B471-F6FCD4C19F6E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E2BC296E-2660-4692-B471-F6FCD4C19F6E}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down Expand Up @@ -892,6 +904,8 @@ Global
{C37EC61D-6A88-4C15-B371-A61F23EF9072} = {81003712-2EF6-47D0-904A-64E4DDD75BF7}
{06260DC7-BA64-42BE-B99C-6069A1C3E70E} = {580D1AE7-AA8F-4912-8B76-105594E00B3B}
{81003712-2EF6-47D0-904A-64E4DDD75BF7} = {06260DC7-BA64-42BE-B99C-6069A1C3E70E}
{08238DE9-701B-4581-A414-51F94C99E44D} = {22AB674F-ED91-4FBC-BFEE-8A1E82F9F05E}
{E2BC296E-2660-4692-B471-F6FCD4C19F6E} = {580D1AE7-AA8F-4912-8B76-105594E00B3B}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {FB8F26CE-4DE6-433F-B32A-79183020BBD6}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
using Microsoft.DotNet.ApiCompatibility.Logging;
using Microsoft.DotNet.ApiCompatibility.Rules;
using Microsoft.DotNet.ApiCompatibility.Runner;
using Microsoft.DotNet.ApiSymbolExtensions;

namespace Microsoft.DotNet.ApiCompat
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System;
using System.Collections.Generic;
using Microsoft.CodeAnalysis;
using Microsoft.DotNet.ApiSymbolExtensions;

namespace Microsoft.DotNet.ApiCompatibility.Abstractions
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
using System.Collections.Generic;
using System.Diagnostics;
using Microsoft.CodeAnalysis;
using Microsoft.DotNet.ApiCompatibility.Extensions;
using Microsoft.DotNet.ApiCompatibility.Rules;
using Microsoft.DotNet.ApiSymbolExtensions;

namespace Microsoft.DotNet.ApiCompatibility.Abstractions
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

using Microsoft.CodeAnalysis;
using Microsoft.DotNet.ApiCompatibility.Extensions;
using System;
using System.Collections.Generic;
using Microsoft.CodeAnalysis;
using Microsoft.DotNet.ApiSymbolExtensions;

namespace Microsoft.DotNet.ApiCompatibility
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ public static class DiagnosticIds
public const string CannotExpandVisibility = "CP0020";

// Assembly loading ids
public const string AssemblyNotFound = "CP1001";
public const string AssemblyReferenceNotFound = "CP1002";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Collections;
using System.Collections.Generic;
using Microsoft.CodeAnalysis;
using Microsoft.DotNet.ApiCompatibility.Abstractions;
using Microsoft.DotNet.ApiSymbolExtensions;

namespace Microsoft.DotNet.ApiCompatibility
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
<_MicrosoftCodeAnalysisVersion Condition="'$(DotNetBuildFromSource)' == 'true'">$(MicrosoftCodeAnalysisPackageVersion)</_MicrosoftCodeAnalysisVersion>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\..\Microsoft.DotNet.ApiSymbolExtensions\Microsoft.DotNet.ApiSymbolExtensions.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.Common" Version="$(_MicrosoftCodeAnalysisVersion)" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="$(_MicrosoftCodeAnalysisVersion)" />
Expand All @@ -25,5 +29,4 @@
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">
<Reference Include="System.IO.Compression" />
</ItemGroup>

</Project>
21 changes: 0 additions & 21 deletions src/ApiCompat/Microsoft.DotNet.ApiCompatibility/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -141,15 +141,9 @@
<data name="AssemblyVersionIsNotCompatible" xml:space="preserve">
<value>{2} assembly version '{0}' should be equal to or higher than {3} version '{1}'.</value>
</data>
<data name="CouldNotResolveReference" xml:space="preserve">
<value>Could not resolve reference '{0}' in any of the provided search directories.</value>
</data>
<data name="ElementShouldNotBeNullAtIndex" xml:space="preserve">
<value>Element should not be null. Found null at index: {0}.</value>
</data>
<data name="FileDoesNotExist" xml:space="preserve">
<value>File '{0}' does not exist.</value>
</data>
<data name="IndexShouldBeWithinSetSizeRange" xml:space="preserve">
<value>The index should be within the right set size range.</value>
</data>
Expand All @@ -162,27 +156,12 @@
<data name="MemberExistsOnRight" xml:space="preserve">
<value>Member '{0}' exists on {2} but not on {1}</value>
</data>
<data name="ProvidedPathToLoadBinariesFromNotFound" xml:space="preserve">
<value>Could not find the provided path '{0}' to load binaries from.</value>
</data>
<data name="ProvidedStreamDoesNotHaveMetadata" xml:space="preserve">
<value>Provided stream for assembly '{0}' doesn't have any metadata to read. from.</value>
</data>
<data name="RightNamesAtLeastOne" xml:space="preserve">
<value>Should at least contain one right name.</value>
</data>
<data name="ShouldBeGreaterThanZero" xml:space="preserve">
<value>Value should be greater than 0.</value>
</data>
<data name="ShouldNotBeNullAndContainAtLeastOneElement" xml:space="preserve">
<value>Should not be null and contain at least one element.</value>
</data>
<data name="ShouldProvideValidAssemblyName" xml:space="preserve">
<value>Should provide a valid assembly name.</value>
</data>
<data name="StreamPositionGreaterThanLength" xml:space="preserve">
<value>Stream position is greater than it's length, so there are no contents available to read.</value>
</data>
<data name="TypeMissingOnSide" xml:space="preserve">
<value>Type '{0}' exists on {1} but not on {2}</value>
</data>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.DotNet.ApiCompatibility.Abstractions;
using Microsoft.DotNet.ApiCompatibility.Extensions;
using Microsoft.DotNet.ApiSymbolExtensions;

namespace Microsoft.DotNet.ApiCompatibility.Rules
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Collections.Generic;
using Microsoft.CodeAnalysis;
using Microsoft.DotNet.ApiCompatibility.Abstractions;
using Microsoft.DotNet.ApiCompatibility.Extensions;
using Microsoft.DotNet.ApiSymbolExtensions;

namespace Microsoft.DotNet.ApiCompatibility.Rules
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Collections.Generic;
using Microsoft.CodeAnalysis;
using Microsoft.DotNet.ApiCompatibility.Abstractions;
using Microsoft.DotNet.ApiCompatibility.Extensions;
using Microsoft.DotNet.ApiSymbolExtensions;

namespace Microsoft.DotNet.ApiCompatibility.Rules
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
using System.Runtime;
using Microsoft.CodeAnalysis;
using Microsoft.DotNet.ApiCompatibility.Abstractions;
using Microsoft.DotNet.ApiCompatibility.Extensions;

namespace Microsoft.DotNet.ApiCompatibility.Rules
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Collections.Generic;
using Microsoft.CodeAnalysis;
using Microsoft.DotNet.ApiCompatibility.Abstractions;
using Microsoft.DotNet.ApiCompatibility.Extensions;
using Microsoft.DotNet.ApiSymbolExtensions;

namespace Microsoft.DotNet.ApiCompatibility.Rules
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Collections.Generic;
using Microsoft.CodeAnalysis;
using Microsoft.DotNet.ApiCompatibility.Abstractions;
using Microsoft.DotNet.ApiCompatibility.Extensions;
using Microsoft.DotNet.ApiSymbolExtensions;

namespace Microsoft.DotNet.ApiCompatibility.Rules
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.IO;
using Microsoft.CodeAnalysis;
using Microsoft.DotNet.ApiCompatibility.Abstractions;
using Microsoft.DotNet.ApiCompatibility.Extensions;
using Microsoft.DotNet.ApiSymbolExtensions;

namespace Microsoft.DotNet.ApiCompatibility.Rules
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
using Microsoft.CodeAnalysis;
using Microsoft.DotNet.ApiCompatibility.Abstractions;
using Microsoft.DotNet.ApiCompatibility.Logging;
using Microsoft.DotNet.ApiSymbolExtensions;

namespace Microsoft.DotNet.ApiCompatibility.Runner
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,6 @@
<target state="translated">Nelze odebrat virtuální klíčové slovo ze člena {0}.</target>
<note />
</trans-unit>
<trans-unit id="CouldNotResolveReference">
<source>Could not resolve reference '{0}' in any of the provided search directories.</source>
<target state="translated">V žádném z uvedených adresářů vyhledávání se nepovedlo přeložit odkaz {0}.</target>
<note />
</trans-unit>
<trans-unit id="ElementShouldNotBeNullAtIndex">
<source>Element should not be null. Found null at index: {0}.</source>
<target state="translated">Element by neměl mít hodnotu null. V indexu byla nalezena hodnota null: {0}.</target>
Expand All @@ -137,11 +132,6 @@
<target state="translated">Hodnota pole {1} ve výčtu {0} se změnila z {2} na {3}.</target>
<note />
</trans-unit>
<trans-unit id="FileDoesNotExist">
<source>File '{0}' does not exist.</source>
<target state="translated">Soubor {0} neexistuje.</target>
<note />
</trans-unit>
<trans-unit id="IndexShouldBeWithinSetSizeRange">
<source>The index should be within the right set size range.</source>
<target state="translated">Index by měl být ve správném rozsahu velikosti sady.</target>
Expand All @@ -162,16 +152,6 @@
<target state="translated">Člen {0} existuje v {2}, ale ne v {1}.</target>
<note />
</trans-unit>
<trans-unit id="ProvidedPathToLoadBinariesFromNotFound">
<source>Could not find the provided path '{0}' to load binaries from.</source>
<target state="translated">Nepovedlo se najít zadanou cestu {0}, ze které se mají načíst binární soubory.</target>
<note />
</trans-unit>
<trans-unit id="ProvidedStreamDoesNotHaveMetadata">
<source>Provided stream for assembly '{0}' doesn't have any metadata to read. from.</source>
<target state="translated">Poskytnutý datový proud pro sestavení {0} nemá žádná metadata pro čtení.</target>
<note />
</trans-unit>
<trans-unit id="RightNamesAtLeastOne">
<source>Should at least contain one right name.</source>
<target state="translated">Měl by obsahovat alespoň jeden správný název.</target>
Expand All @@ -182,21 +162,6 @@
<target state="translated">Hodnota by měla být větší než 0.</target>
<note />
</trans-unit>
<trans-unit id="ShouldNotBeNullAndContainAtLeastOneElement">
<source>Should not be null and contain at least one element.</source>
<target state="translated">Nesmí být null a obsahovat alespoň jeden element.</target>
<note />
</trans-unit>
<trans-unit id="ShouldProvideValidAssemblyName">
<source>Should provide a valid assembly name.</source>
<target state="translated">Zadejte platný název sestavení.</target>
<note />
</trans-unit>
<trans-unit id="StreamPositionGreaterThanLength">
<source>Stream position is greater than it's length, so there are no contents available to read.</source>
<target state="translated">Pozice streamu je větší než jeho délka, proto není k dispozici žádný obsah pro čtení.</target>
<note />
</trans-unit>
<trans-unit id="TypeIsActuallySealed">
<source>Type '{0}' has the sealed modifier on {1} but not on {2}</source>
<target state="translated">Typ {0} má zapečetěný modifikátor na {1} ale ne na {2}.</target>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,6 @@
<target state="translated">Das virtuelle Schlüsselwort kann nicht aus dem Member „{0}“ entfernt werden.</target>
<note />
</trans-unit>
<trans-unit id="CouldNotResolveReference">
<source>Could not resolve reference '{0}' in any of the provided search directories.</source>
<target state="translated">Der Verweis "{0}" konnte in keinem der angegebenen Suchverzeichnisse aufgelöst werden.</target>
<note />
</trans-unit>
<trans-unit id="ElementShouldNotBeNullAtIndex">
<source>Element should not be null. Found null at index: {0}.</source>
<target state="translated">Das Element darf nicht NULL sein. NULL gefunden bei Index: {0}.</target>
Expand All @@ -137,11 +132,6 @@
<target state="translated">Wert des Felds „{1}2 in der Enumeration „{0}2 wurde von „{2}“ in „{3}“ geändert.</target>
<note />
</trans-unit>
<trans-unit id="FileDoesNotExist">
<source>File '{0}' does not exist.</source>
<target state="translated">Die Datei '{0}' ist nicht vorhanden.</target>
<note />
</trans-unit>
<trans-unit id="IndexShouldBeWithinSetSizeRange">
<source>The index should be within the right set size range.</source>
<target state="translated">Der Index muss innerhalb des Größenbereichs für den Rechtesatz liegen.</target>
Expand All @@ -162,16 +152,6 @@
<target state="translated">Das Element „{0}“ ist auf {2} vorhanden, aber nicht auf {1}.</target>
<note />
</trans-unit>
<trans-unit id="ProvidedPathToLoadBinariesFromNotFound">
<source>Could not find the provided path '{0}' to load binaries from.</source>
<target state="translated">Der angegebene Pfad "{0}" zum Laden von Binärdateien wurde nicht gefunden.</target>
<note />
</trans-unit>
<trans-unit id="ProvidedStreamDoesNotHaveMetadata">
<source>Provided stream for assembly '{0}' doesn't have any metadata to read. from.</source>
<target state="translated">Der angegebene Datenstrom für die Assembly "{0}" enthält keine Metadaten, aus denen gelesen werden kann.</target>
<note />
</trans-unit>
<trans-unit id="RightNamesAtLeastOne">
<source>Should at least contain one right name.</source>
<target state="translated">Sollte mindestens einen richtigen Namen enthalten.</target>
Expand All @@ -182,21 +162,6 @@
<target state="translated">Der Wert muss größer als 0 sein.</target>
<note />
</trans-unit>
<trans-unit id="ShouldNotBeNullAndContainAtLeastOneElement">
<source>Should not be null and contain at least one element.</source>
<target state="translated">Darf nicht NULL sein und muss mindestens ein Element enthalten.</target>
<note />
</trans-unit>
<trans-unit id="ShouldProvideValidAssemblyName">
<source>Should provide a valid assembly name.</source>
<target state="translated">Geben Sie einen gültigen Assemblynamen an.</target>
<note />
</trans-unit>
<trans-unit id="StreamPositionGreaterThanLength">
<source>Stream position is greater than it's length, so there are no contents available to read.</source>
<target state="translated">Die Datenstromposition ist größer als die Länge, daher sind keine Inhalte zum Lesen verfügbar.</target>
<note />
</trans-unit>
<trans-unit id="TypeIsActuallySealed">
<source>Type '{0}' has the sealed modifier on {1} but not on {2}</source>
<target state="translated">Der Typ „{0}“ verfügt über den versiegelten Modifizierer auf {1}, auf {2} aber nicht.</target>
Expand Down
Loading