repo_name
stringclasses 6
values | pr_number
int64 512
78.9k
| pr_title
stringlengths 3
144
| pr_description
stringlengths 0
30.3k
| author
stringlengths 2
21
| date_created
unknown | date_merged
unknown | previous_commit
stringlengths 40
40
| pr_commit
stringlengths 40
40
| query
stringlengths 17
30.4k
| filepath
stringlengths 9
210
| before_content
stringlengths 0
112M
| after_content
stringlengths 0
112M
| label
int64 -1
1
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Features/LanguageServer/Protocol/Handler/BufferedProgress.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using Microsoft.CodeAnalysis.PooledObjects;
namespace Microsoft.CodeAnalysis.LanguageServer.Handler
{
/// <summary>
/// Helper type to allow command handlers to report data either in a streaming fashion (if a client supports that),
/// or as an array of results. This type is thread-safe in the same manner that <see cref="IProgress{T}"/> is
/// expected to be. Namely, multiple client can be calling <see cref="IProgress{T}.Report(T)"/> on it at the same
/// time. This is safe, though the order that the items are reported in when called concurrently is not specified.
/// </summary>
internal struct BufferedProgress<T> : IProgress<T[]>, IProgress<T>, IDisposable
{
/// <summary>
/// The progress stream to report results to. May be <see langword="null"/> for clients that do not support streaming.
/// If <see langword="null"/> then <see cref="_buffer"/> will be non null and will contain all the produced values.
/// </summary>
private readonly IProgress<T[]>? _underlyingProgress;
/// <summary>
/// A buffer that results are held in if the client does not support streaming. Values of this can be retrieved
/// using <see cref="GetValues"/>.
/// </summary>
private readonly ArrayBuilder<T>? _buffer;
public BufferedProgress(IProgress<T[]>? underlyingProgress)
{
_underlyingProgress = underlyingProgress;
_buffer = underlyingProgress == null ? ArrayBuilder<T>.GetInstance() : null;
}
public void Dispose()
=> _buffer?.Free();
/// <summary>
/// Report a value either in a streaming or buffered fashion depending on what the client supports.
/// </summary>
public void Report(T value)
{
// Don't need to lock _underlyingProgress. It is inherently thread-safe itself being an IProgress implementation.
_underlyingProgress?.Report(new[] { value });
if (_buffer != null)
{
lock (_buffer)
{
_buffer.Add(value);
}
}
}
public void Report(T[] values)
{
// Don't need to lock _underlyingProgress. It is inherently thread-safe itself being an IProgress implementation.
_underlyingProgress?.Report(values);
if (_buffer != null)
{
lock (_buffer)
{
_buffer.AddRange(values);
}
}
}
/// <summary>
/// Gets the set of buffered values. Will return null if the client supports streaming. Must be called after
/// all calls to <see cref="Report(T)"/> have been made. Not safe to call concurrently with any call to <see
/// cref="Report(T)"/>.
/// </summary>
public T[]? GetValues()
=> _buffer?.ToArray();
}
internal static class BufferedProgress
{
public static BufferedProgress<T> Create<T>(IProgress<T[]>? progress)
=> new BufferedProgress<T>(progress);
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using Microsoft.CodeAnalysis.PooledObjects;
namespace Microsoft.CodeAnalysis.LanguageServer.Handler
{
/// <summary>
/// Helper type to allow command handlers to report data either in a streaming fashion (if a client supports that),
/// or as an array of results. This type is thread-safe in the same manner that <see cref="IProgress{T}"/> is
/// expected to be. Namely, multiple client can be calling <see cref="IProgress{T}.Report(T)"/> on it at the same
/// time. This is safe, though the order that the items are reported in when called concurrently is not specified.
/// </summary>
internal struct BufferedProgress<T> : IProgress<T[]>, IProgress<T>, IDisposable
{
/// <summary>
/// The progress stream to report results to. May be <see langword="null"/> for clients that do not support streaming.
/// If <see langword="null"/> then <see cref="_buffer"/> will be non null and will contain all the produced values.
/// </summary>
private readonly IProgress<T[]>? _underlyingProgress;
/// <summary>
/// A buffer that results are held in if the client does not support streaming. Values of this can be retrieved
/// using <see cref="GetValues"/>.
/// </summary>
private readonly ArrayBuilder<T>? _buffer;
public BufferedProgress(IProgress<T[]>? underlyingProgress)
{
_underlyingProgress = underlyingProgress;
_buffer = underlyingProgress == null ? ArrayBuilder<T>.GetInstance() : null;
}
public void Dispose()
=> _buffer?.Free();
/// <summary>
/// Report a value either in a streaming or buffered fashion depending on what the client supports.
/// </summary>
public void Report(T value)
{
// Don't need to lock _underlyingProgress. It is inherently thread-safe itself being an IProgress implementation.
_underlyingProgress?.Report(new[] { value });
if (_buffer != null)
{
lock (_buffer)
{
_buffer.Add(value);
}
}
}
public void Report(T[] values)
{
// Don't need to lock _underlyingProgress. It is inherently thread-safe itself being an IProgress implementation.
_underlyingProgress?.Report(values);
if (_buffer != null)
{
lock (_buffer)
{
_buffer.AddRange(values);
}
}
}
/// <summary>
/// Gets the set of buffered values. Will return null if the client supports streaming. Must be called after
/// all calls to <see cref="Report(T)"/> have been made. Not safe to call concurrently with any call to <see
/// cref="Report(T)"/>.
/// </summary>
public T[]? GetValues()
=> _buffer?.ToArray();
}
internal static class BufferedProgress
{
public static BufferedProgress<T> Create<T>(IProgress<T[]>? progress)
=> new BufferedProgress<T>(progress);
}
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./docs/wiki/images/how-to-investigate-ci-test-failures-figure11.png | PNG
IHDR O iE sRGB gAMA a pHYs od tEXtSoftware paint.net 4.1.6N IDATx^=r8u]Bq9/9qM\ʡ#Wm,,/؝!F=[^ \ W `+ X
,p \ W `+ ٮxxww8o \yWws9u1S/\#vg-g6G.Rr۔g'\)qέ?
繙A9,#gM+'?bOiB_˦oq*Ԁ/B1+[$]%p!S;J7_%ȊY3F{;
ȫyҪ>.H/5Z[o&?d63epUԘB4tY
,꜌@j}/DS[k"&X㊧^Evj\B_*jv̟w],go
pSGkb~[.L"Q5PP)$AkgmErO;;<ɯ1EyWtpIvkmlI]dz_דBq!wr $[p1B56LlyV-l4㊗^SLڦ5Mga.+`ʼnلέЅVr) WhedsK->mPha%iz
R1.83nJ'iUp"eJJ-~&]ApRXyp6TW[KD^<'\Wd_+~!.W]%=Km@!Za-KhWt
<
kKUR'fQ$LpZV3=̊G\ˉx/DEA.f`!pgTtǻ룄E9g"q
>i-*梍YF (4n6U4"f:GP4ݪ̙L"V;-7BWh:";mGH[hЬx؝%6R64gBڙ5LT0:u
WE_ȗ kiѺ#*cOAbz҇yW,V}sWl̞m)
SY]!HGr{MJtGvDd%sEZLVjGtfܼG]a7-eWTdS16g/mT*th1\bbƥֿŌIku
˳jm;-x>:qlrE<2H~+4zJdòˤ !aEƋ]Q0C1s"Ҭ(Qe|%
TUJ+ZW=1H~yOP*WAvUE=ރXW\v+_+W+ + X
,p \ W `+ X
,p \ W `+ X
0EHyB'L*/_Dկ
0v2;Qޔ]y`iWl~y y8]O3`fk(][+)~ʿ%YWX}y]{d"n3X^?rp{,߉_?>?||'~~p}~iOD5\_⯧!OJv(w$^)Qmzp{d-I$z#qv%LV+ĜG8r'(>;&TMZn6\~H+,?3p8)q#W0~LNRf+Y_D JFq\LDɊ4QfET*U
0K᯾=q USl\ W `+ X
,p \ W `+ X
,p \z֤
S IENDB` | PNG
IHDR O iE sRGB gAMA a pHYs od tEXtSoftware paint.net 4.1.6N IDATx^=r8u]Bq9/9qM\ʡ#Wm,,/؝!F=[^ \ W `+ X
,p \ W `+ ٮxxww8o \yWws9u1S/\#vg-g6G.Rr۔g'\)qέ?
繙A9,#gM+'?bOiB_˦oq*Ԁ/B1+[$]%p!S;J7_%ȊY3F{;
ȫyҪ>.H/5Z[o&?d63epUԘB4tY
,꜌@j}/DS[k"&X㊧^Evj\B_*jv̟w],go
pSGkb~[.L"Q5PP)$AkgmErO;;<ɯ1EyWtpIvkmlI]dz_דBq!wr $[p1B56LlyV-l4㊗^SLڦ5Mga.+`ʼnلέЅVr) WhedsK->mPha%iz
R1.83nJ'iUp"eJJ-~&]ApRXyp6TW[KD^<'\Wd_+~!.W]%=Km@!Za-KhWt
<
kKUR'fQ$LpZV3=̊G\ˉx/DEA.f`!pgTtǻ룄E9g"q
>i-*梍YF (4n6U4"f:GP4ݪ̙L"V;-7BWh:";mGH[hЬx؝%6R64gBڙ5LT0:u
WE_ȗ kiѺ#*cOAbz҇yW,V}sWl̞m)
SY]!HGr{MJtGvDd%sEZLVjGtfܼG]a7-eWTdS16g/mT*th1\bbƥֿŌIku
˳jm;-x>:qlrE<2H~+4zJdòˤ !aEƋ]Q0C1s"Ҭ(Qe|%
TUJ+ZW=1H~yOP*WAvUE=ރXW\v+_+W+ + X
,p \ W `+ X
,p \ W `+ X
0EHyB'L*/_Dկ
0v2;Qޔ]y`iWl~y y8]O3`fk(][+)~ʿ%YWX}y]{d"n3X^?rp{,߉_?>?||'~~p}~iOD5\_⯧!OJv(w$^)Qmzp{d-I$z#qv%LV+ĜG8r'(>;&TMZn6\~H+,?3p8)q#W0~LNRf+Y_D JFq\LDɊ4QfET*U
0K᯾=q USl\ W `+ X
,p \ W `+ X
,p \z֤
S IENDB` | -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Features/LanguageServer/Protocol/Microsoft.CodeAnalysis.LanguageServer.Protocol.csproj | <?xml version="1.0" encoding="utf-8"?>
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Library</OutputType>
<RootNamespace>Microsoft.CodeAnalysis.LanguageServer</RootNamespace>
<TargetFrameworks>netcoreapp3.1;netstandard2.0</TargetFrameworks>
<IsPackable>true</IsPackable>
<PackageDescription>
.NET Compiler Platform ("Roslyn") support for Language Server Protocol.
</PackageDescription>
</PropertyGroup>
<ItemGroup Label="Project References">
<ProjectReference Include="..\..\..\Compilers\CSharp\Portable\Microsoft.CodeAnalysis.CSharp.csproj" />
<ProjectReference Include="..\..\..\EditorFeatures\Core\Microsoft.CodeAnalysis.EditorFeatures.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.VisualStudio.LanguageServer.Protocol" Version="$(MicrosoftVisualStudioLanguageServerProtocolVersion)" />
<PackageReference Include="Microsoft.VisualStudio.LanguageServer.Protocol.Extensions" Version="$(MicrosoftVisualStudioLanguageServerProtocolExtensionsVersion)" />
<PackageReference Include="Microsoft.VisualStudio.LanguageServer.Protocol.Internal" Version="$(MicrosoftVisualStudioLanguageServerProtocolInternalVersion)" />
<PackageReference Include="StreamJsonRpc" Version="$(StreamJsonRpcVersion)" />
<PackageReference Include="Newtonsoft.Json" Version="$(NewtonsoftJsonVersion)" />
<PackageReference Include="Microsoft.VisualStudio.CoreUtility" Version="$(MicrosoftVisualStudioCoreUtilityVersion)" />
<PackageReference Include="Microsoft.VisualStudio.Text.UI" Version="$(MicrosoftVisualStudioTextUIVersion)" />
<PackageReference Include="Microsoft.VisualStudio.Threading" Version="$(MicrosoftVisualStudioThreadingVersion)" />
</ItemGroup>
<ItemGroup>
<InternalsVisibleTo Include="Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests" />
<InternalsVisibleTo Include="Microsoft.VisualStudio.LanguageServices" />
<InternalsVisibleTo Include="Microsoft.VisualStudio.LanguageServices.LiveShare" />
<InternalsVisibleTo Include="Microsoft.VisualStudio.LanguageServices.LiveShare.UnitTests" />
<InternalsVisibleTo Include="Microsoft.VisualStudio.LanguageServices.Xaml" />
<InternalsVisibleTo Include="Microsoft.CodeAnalysis.Remote.ServiceHub" />
<InternalsVisibleTo Include="Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities" />
<InternalsVisibleTo Include="Roslyn.VisualStudio.Next.UnitTests" />
<InternalsVisibleTo Include="Microsoft.CodeAnalysis.LanguageServerIndexFormat.Generator" />
<InternalsVisibleTo Include="Microsoft.CSharp.VSCode.Extension" Key="$(VisualStudioKey)" />
</ItemGroup>
<ItemGroup>
<PublicAPI Include="PublicAPI.Shipped.txt" />
<PublicAPI Include="PublicAPI.Unshipped.txt" />
</ItemGroup>
</Project>
| <?xml version="1.0" encoding="utf-8"?>
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Library</OutputType>
<RootNamespace>Microsoft.CodeAnalysis.LanguageServer</RootNamespace>
<TargetFrameworks>netcoreapp3.1;netstandard2.0</TargetFrameworks>
<IsPackable>true</IsPackable>
<PackageDescription>
.NET Compiler Platform ("Roslyn") support for Language Server Protocol.
</PackageDescription>
</PropertyGroup>
<ItemGroup Label="Project References">
<ProjectReference Include="..\..\..\Compilers\CSharp\Portable\Microsoft.CodeAnalysis.CSharp.csproj" />
<ProjectReference Include="..\..\..\EditorFeatures\Core\Microsoft.CodeAnalysis.EditorFeatures.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.VisualStudio.LanguageServer.Protocol" Version="$(MicrosoftVisualStudioLanguageServerProtocolVersion)" />
<PackageReference Include="Microsoft.VisualStudio.LanguageServer.Protocol.Extensions" Version="$(MicrosoftVisualStudioLanguageServerProtocolExtensionsVersion)" />
<PackageReference Include="Microsoft.VisualStudio.LanguageServer.Protocol.Internal" Version="$(MicrosoftVisualStudioLanguageServerProtocolInternalVersion)" />
<PackageReference Include="StreamJsonRpc" Version="$(StreamJsonRpcVersion)" />
<PackageReference Include="Newtonsoft.Json" Version="$(NewtonsoftJsonVersion)" />
<PackageReference Include="Microsoft.VisualStudio.CoreUtility" Version="$(MicrosoftVisualStudioCoreUtilityVersion)" />
<PackageReference Include="Microsoft.VisualStudio.Text.UI" Version="$(MicrosoftVisualStudioTextUIVersion)" />
<PackageReference Include="Microsoft.VisualStudio.Threading" Version="$(MicrosoftVisualStudioThreadingVersion)" />
</ItemGroup>
<ItemGroup>
<InternalsVisibleTo Include="Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests" />
<InternalsVisibleTo Include="Microsoft.VisualStudio.LanguageServices" />
<InternalsVisibleTo Include="Microsoft.VisualStudio.LanguageServices.LiveShare" />
<InternalsVisibleTo Include="Microsoft.VisualStudio.LanguageServices.LiveShare.UnitTests" />
<InternalsVisibleTo Include="Microsoft.VisualStudio.LanguageServices.Xaml" />
<InternalsVisibleTo Include="Microsoft.CodeAnalysis.Remote.ServiceHub" />
<InternalsVisibleTo Include="Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities" />
<InternalsVisibleTo Include="Roslyn.VisualStudio.Next.UnitTests" />
<InternalsVisibleTo Include="Microsoft.CodeAnalysis.LanguageServerIndexFormat.Generator" />
<InternalsVisibleTo Include="Microsoft.CSharp.VSCode.Extension" Key="$(VisualStudioKey)" />
</ItemGroup>
<ItemGroup>
<PublicAPI Include="PublicAPI.Shipped.txt" />
<PublicAPI Include="PublicAPI.Unshipped.txt" />
</ItemGroup>
</Project>
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/Helpers/RemoveUnnecessaryImports/AbstractUnnecessaryImportsProvider.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading;
namespace Microsoft.CodeAnalysis.RemoveUnnecessaryImports
{
internal abstract class AbstractUnnecessaryImportsProvider<T>
: IUnnecessaryImportsProvider, IEqualityComparer<T> where T : SyntaxNode
{
public ImmutableArray<SyntaxNode> GetUnnecessaryImports(
SemanticModel model, CancellationToken cancellationToken)
{
var root = model.SyntaxTree.GetRoot(cancellationToken);
return GetUnnecessaryImports(model, root, predicate: null, cancellationToken: cancellationToken);
}
protected abstract ImmutableArray<SyntaxNode> GetUnnecessaryImports(
SemanticModel model, SyntaxNode root,
Func<SyntaxNode, bool> predicate, CancellationToken cancellationToken);
ImmutableArray<SyntaxNode> IUnnecessaryImportsProvider.GetUnnecessaryImports(SemanticModel model, SyntaxNode root, Func<SyntaxNode, bool> predicate, CancellationToken cancellationToken)
=> GetUnnecessaryImports(model, root, predicate, cancellationToken);
bool IEqualityComparer<T>.Equals(T x, T y)
=> x.Span == y.Span;
int IEqualityComparer<T>.GetHashCode(T obj)
=> obj.Span.GetHashCode();
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading;
namespace Microsoft.CodeAnalysis.RemoveUnnecessaryImports
{
internal abstract class AbstractUnnecessaryImportsProvider<T>
: IUnnecessaryImportsProvider, IEqualityComparer<T> where T : SyntaxNode
{
public ImmutableArray<SyntaxNode> GetUnnecessaryImports(
SemanticModel model, CancellationToken cancellationToken)
{
var root = model.SyntaxTree.GetRoot(cancellationToken);
return GetUnnecessaryImports(model, root, predicate: null, cancellationToken: cancellationToken);
}
protected abstract ImmutableArray<SyntaxNode> GetUnnecessaryImports(
SemanticModel model, SyntaxNode root,
Func<SyntaxNode, bool> predicate, CancellationToken cancellationToken);
ImmutableArray<SyntaxNode> IUnnecessaryImportsProvider.GetUnnecessaryImports(SemanticModel model, SyntaxNode root, Func<SyntaxNode, bool> predicate, CancellationToken cancellationToken)
=> GetUnnecessaryImports(model, root, predicate, cancellationToken);
bool IEqualityComparer<T>.Equals(T x, T y)
=> x.Span == y.Span;
int IEqualityComparer<T>.GetHashCode(T obj)
=> obj.Span.GetHashCode();
}
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/EditorFeatures/CSharpTest/SplitOrMergeIfStatements/MergeConsecutiveIfStatementsTests_Statements_WithPrevious.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Threading.Tasks;
using Xunit;
namespace Microsoft.CodeAnalysis.Editor.CSharp.UnitTests.SplitOrMergeIfStatements
{
public sealed partial class MergeConsecutiveIfStatementsTests
{
[Theory]
[InlineData("[||]if (b)")]
[InlineData("i[||]f (b)")]
[InlineData("if[||] (b)")]
[InlineData("if [||](b)")]
[InlineData("if (b)[||]")]
[InlineData("[|if|] (b)")]
[InlineData("[|if (b)|]")]
public async Task MergedIntoPreviousStatementOnIfSpans(string ifLine)
{
await TestInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
return;
" + ifLine + @"
return;
}
}",
@"class C
{
void M(bool a, bool b)
{
if (a || b)
return;
}
}");
}
[Fact]
public async Task MergedIntoPreviousStatementOnIfExtendedHeaderSelection()
{
await TestInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
return;
[| if (b)
|] return;
}
}",
@"class C
{
void M(bool a, bool b)
{
if (a || b)
return;
}
}");
}
[Fact]
public async Task MergedIntoPreviousStatementOnIfFullSelection()
{
await TestInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
return;
[|if (b)
return;|]
}
}",
@"class C
{
void M(bool a, bool b)
{
if (a || b)
return;
}
}");
}
[Fact]
public async Task MergedIntoPreviousStatementOnIfExtendedFullSelection()
{
await TestInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
return;
[| if (b)
return;
|] }
}",
@"class C
{
void M(bool a, bool b)
{
if (a || b)
return;
}
}");
}
[Fact]
public async Task MergedIntoPreviousStatementOnIfFullSelectionWithoutElseClause()
{
await TestInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
return;
[|if (b)
return;|]
else
{
}
}
}",
@"class C
{
void M(bool a, bool b)
{
if (a || b)
return;
else
{
}
}
}");
}
[Fact]
public async Task MergedIntoPreviousStatementOnIfExtendedFullSelectionWithoutElseClause()
{
await TestInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
return;
[| if (b)
return;
|] else
{
}
}
}",
@"class C
{
void M(bool a, bool b)
{
if (a || b)
return;
else
{
}
}
}");
}
[Fact]
public async Task NotMergedIntoPreviousStatementOnIfFullSelectionWithElseClause()
{
await TestMissingInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
return;
[|if (b)
return;
else
{
}|]
}
}");
}
[Fact]
public async Task NotMergedIntoPreviousStatementOnIfExtendedFullSelectionWithElseClause()
{
await TestMissingInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
return;
[| if (b)
return;
else
{
}
|] }
}");
}
[Theory]
[InlineData("if ([||]b)")]
[InlineData("[|i|]f (b)")]
[InlineData("[|if (|]b)")]
[InlineData("if [|(|]b)")]
[InlineData("if (b[|)|]")]
[InlineData("if ([|b|])")]
[InlineData("if [|(b)|]")]
public async Task NotMergedIntoPreviousStatementOnIfSpans(string ifLine)
{
await TestMissingInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
return;
" + ifLine + @"
return;
}
}");
}
[Fact]
public async Task NotMergedIntoPreviousStatementOnIfOverreachingSelection()
{
await TestMissingInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
return;
[|if (b)
|]return;
}
}");
}
[Fact]
public async Task NotMergedIntoPreviousStatementOnIfBodySelection()
{
await TestMissingInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
return;
if (b)
[|return;|]
}
}");
}
[Fact]
public async Task MergedIntoPreviousStatementIfControlFlowQuits1()
{
await TestInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
return;
[||]if (b)
return;
}
}",
@"class C
{
void M(bool a, bool b)
{
if (a || b)
return;
}
}");
}
[Fact]
public async Task MergedIntoPreviousStatementIfControlFlowQuits2()
{
await TestInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
throw new System.Exception();
[||]if (b)
throw new System.Exception();
}
}",
@"class C
{
void M(bool a, bool b)
{
if (a || b)
throw new System.Exception();
}
}");
}
[Fact]
public async Task MergedIntoPreviousStatementIfControlFlowQuits3()
{
await TestInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
while (true)
{
if (a)
continue;
[||]if (b)
continue;
}
}
}",
@"class C
{
void M(bool a, bool b)
{
while (true)
{
if (a || b)
continue;
}
}
}");
}
[Fact]
public async Task MergedIntoPreviousStatementIfControlFlowQuits4()
{
await TestInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
while (true)
{
if (a)
{
if (a)
continue;
else
break;
}
[||]if (b)
{
if (a)
continue;
else
break;
}
}
}
}",
@"class C
{
void M(bool a, bool b)
{
while (true)
{
if (a || b)
{
if (a)
continue;
else
break;
}
}
}
}");
}
[Fact]
public async Task MergedIntoPreviousStatementIfControlFlowQuits5()
{
await TestInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
while (true)
{
if (a)
switch (a)
{
default:
continue;
}
[||]if (b)
switch (a)
{
default:
continue;
}
}
}
}",
@"class C
{
void M(bool a, bool b)
{
while (true)
{
if (a || b)
switch (a)
{
default:
continue;
}
}
}
}");
}
[Fact]
public async Task MergedIntoPreviousStatementIfControlFlowQuitsInSwitchSection()
{
// Switch sections are interesting in that they are blocks of statements that aren't BlockSyntax.
await TestInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
switch (a)
{
case true:
if (a)
break;
[||]if (b)
break;
break;
}
}
}",
@"class C
{
void M(bool a, bool b)
{
switch (a)
{
case true:
if (a || b)
break;
break;
}
}
}");
}
[Fact]
public async Task MergedIntoPreviousStatementIfControlFlowQuitsWithDifferenceInBlocks()
{
await TestInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
{
{
return;
}
}
[||]if (b)
return;
}
}",
@"class C
{
void M(bool a, bool b)
{
if (a || b)
{
{
return;
}
}
}
}");
}
[Fact]
public async Task MergedIntoPreviousStatementIncludingElseClauseIfControlFlowQuits()
{
await TestInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
return;
[||]if (b)
return;
else
System.Console.WriteLine();
}
}",
@"class C
{
void M(bool a, bool b)
{
if (a || b)
return;
else
System.Console.WriteLine();
}
}");
}
[Fact]
public async Task MergedIntoPreviousStatementIncludingElseIfClauseIfControlFlowQuits()
{
await TestInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
return;
[||]if (b)
return;
else if (a && b)
System.Console.WriteLine();
}
}",
@"class C
{
void M(bool a, bool b)
{
if (a || b)
return;
else if (a && b)
System.Console.WriteLine();
}
}");
}
[Fact]
public async Task MergedIntoPreviousStatementIfControlFlowQuitsWithPreservedSingleLineFormatting()
{
await TestInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a) return;
[||]if (b) return;
}
}",
@"class C
{
void M(bool a, bool b)
{
if (a || b) return;
}
}");
}
[Fact]
public async Task NotMergedIntoPreviousStatementIfControlFlowContinues1()
{
// Even though there are no statements inside, we still can't merge these into one statement
// because it would change the semantics from always evaluating the second condition to short-circuiting.
await TestMissingInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
{
}
[||]if (b)
{
}
}
}");
}
[Fact]
public async Task NotMergedIntoPreviousStatementIfControlFlowContinues2()
{
await TestMissingInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
System.Console.WriteLine();
[||]if (b)
System.Console.WriteLine();
}
}");
}
[Fact]
public async Task NotMergedIntoPreviousStatementIfControlFlowContinues3()
{
await TestMissingInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
{
if (a)
return;
}
[||]if (b)
{
if (a)
return;
}
}
}");
}
[Fact]
public async Task NotMergedIntoPreviousStatementIfControlFlowContinues4()
{
await TestMissingInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
while (a)
{
break;
}
[||]if (b)
while (a)
{
break;
}
}
}");
}
[Fact]
public async Task NotMergedIntoPreviousStatementIfControlFlowContinues5()
{
await TestMissingInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
while (true)
{
if (a)
switch (a)
{
default:
break;
}
[||]if (b)
switch (a)
{
default:
break;
}
}
}
}");
}
[Fact]
public async Task NotMergedIntoPreviousStatementWithUnmatchingStatementsIfControlFlowQuits()
{
await TestMissingInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
return;
[||]if (b)
throw new System.Exception();
}
}");
}
[Fact]
public async Task NotMergedIntoPreviousStatementThatHasElseClauseIfControlFlowQuits1()
{
await TestMissingInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
return;
else
return;
[||]if (b)
return;
}
}");
}
[Fact]
public async Task NotMergedIntoPreviousStatementThatHasElseClauseIfControlFlowQuits2()
{
await TestMissingInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
return;
else
return;
[||]if (b)
return;
else
return;
}
}");
}
[Fact]
public async Task NotMergedIntoPreviousStatementAsEmbeddedStatementIfControlFlowQuits1()
{
await TestMissingInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
return;
while (a)
[||]if (b)
return;
}
}");
}
[Fact]
public async Task NotMergedIntoPreviousStatementAsEmbeddedStatementIfControlFlowQuits2()
{
await TestMissingInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
return;
if (a)
{
}
else [||]if (b)
return;
}
}");
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Threading.Tasks;
using Xunit;
namespace Microsoft.CodeAnalysis.Editor.CSharp.UnitTests.SplitOrMergeIfStatements
{
public sealed partial class MergeConsecutiveIfStatementsTests
{
[Theory]
[InlineData("[||]if (b)")]
[InlineData("i[||]f (b)")]
[InlineData("if[||] (b)")]
[InlineData("if [||](b)")]
[InlineData("if (b)[||]")]
[InlineData("[|if|] (b)")]
[InlineData("[|if (b)|]")]
public async Task MergedIntoPreviousStatementOnIfSpans(string ifLine)
{
await TestInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
return;
" + ifLine + @"
return;
}
}",
@"class C
{
void M(bool a, bool b)
{
if (a || b)
return;
}
}");
}
[Fact]
public async Task MergedIntoPreviousStatementOnIfExtendedHeaderSelection()
{
await TestInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
return;
[| if (b)
|] return;
}
}",
@"class C
{
void M(bool a, bool b)
{
if (a || b)
return;
}
}");
}
[Fact]
public async Task MergedIntoPreviousStatementOnIfFullSelection()
{
await TestInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
return;
[|if (b)
return;|]
}
}",
@"class C
{
void M(bool a, bool b)
{
if (a || b)
return;
}
}");
}
[Fact]
public async Task MergedIntoPreviousStatementOnIfExtendedFullSelection()
{
await TestInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
return;
[| if (b)
return;
|] }
}",
@"class C
{
void M(bool a, bool b)
{
if (a || b)
return;
}
}");
}
[Fact]
public async Task MergedIntoPreviousStatementOnIfFullSelectionWithoutElseClause()
{
await TestInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
return;
[|if (b)
return;|]
else
{
}
}
}",
@"class C
{
void M(bool a, bool b)
{
if (a || b)
return;
else
{
}
}
}");
}
[Fact]
public async Task MergedIntoPreviousStatementOnIfExtendedFullSelectionWithoutElseClause()
{
await TestInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
return;
[| if (b)
return;
|] else
{
}
}
}",
@"class C
{
void M(bool a, bool b)
{
if (a || b)
return;
else
{
}
}
}");
}
[Fact]
public async Task NotMergedIntoPreviousStatementOnIfFullSelectionWithElseClause()
{
await TestMissingInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
return;
[|if (b)
return;
else
{
}|]
}
}");
}
[Fact]
public async Task NotMergedIntoPreviousStatementOnIfExtendedFullSelectionWithElseClause()
{
await TestMissingInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
return;
[| if (b)
return;
else
{
}
|] }
}");
}
[Theory]
[InlineData("if ([||]b)")]
[InlineData("[|i|]f (b)")]
[InlineData("[|if (|]b)")]
[InlineData("if [|(|]b)")]
[InlineData("if (b[|)|]")]
[InlineData("if ([|b|])")]
[InlineData("if [|(b)|]")]
public async Task NotMergedIntoPreviousStatementOnIfSpans(string ifLine)
{
await TestMissingInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
return;
" + ifLine + @"
return;
}
}");
}
[Fact]
public async Task NotMergedIntoPreviousStatementOnIfOverreachingSelection()
{
await TestMissingInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
return;
[|if (b)
|]return;
}
}");
}
[Fact]
public async Task NotMergedIntoPreviousStatementOnIfBodySelection()
{
await TestMissingInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
return;
if (b)
[|return;|]
}
}");
}
[Fact]
public async Task MergedIntoPreviousStatementIfControlFlowQuits1()
{
await TestInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
return;
[||]if (b)
return;
}
}",
@"class C
{
void M(bool a, bool b)
{
if (a || b)
return;
}
}");
}
[Fact]
public async Task MergedIntoPreviousStatementIfControlFlowQuits2()
{
await TestInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
throw new System.Exception();
[||]if (b)
throw new System.Exception();
}
}",
@"class C
{
void M(bool a, bool b)
{
if (a || b)
throw new System.Exception();
}
}");
}
[Fact]
public async Task MergedIntoPreviousStatementIfControlFlowQuits3()
{
await TestInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
while (true)
{
if (a)
continue;
[||]if (b)
continue;
}
}
}",
@"class C
{
void M(bool a, bool b)
{
while (true)
{
if (a || b)
continue;
}
}
}");
}
[Fact]
public async Task MergedIntoPreviousStatementIfControlFlowQuits4()
{
await TestInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
while (true)
{
if (a)
{
if (a)
continue;
else
break;
}
[||]if (b)
{
if (a)
continue;
else
break;
}
}
}
}",
@"class C
{
void M(bool a, bool b)
{
while (true)
{
if (a || b)
{
if (a)
continue;
else
break;
}
}
}
}");
}
[Fact]
public async Task MergedIntoPreviousStatementIfControlFlowQuits5()
{
await TestInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
while (true)
{
if (a)
switch (a)
{
default:
continue;
}
[||]if (b)
switch (a)
{
default:
continue;
}
}
}
}",
@"class C
{
void M(bool a, bool b)
{
while (true)
{
if (a || b)
switch (a)
{
default:
continue;
}
}
}
}");
}
[Fact]
public async Task MergedIntoPreviousStatementIfControlFlowQuitsInSwitchSection()
{
// Switch sections are interesting in that they are blocks of statements that aren't BlockSyntax.
await TestInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
switch (a)
{
case true:
if (a)
break;
[||]if (b)
break;
break;
}
}
}",
@"class C
{
void M(bool a, bool b)
{
switch (a)
{
case true:
if (a || b)
break;
break;
}
}
}");
}
[Fact]
public async Task MergedIntoPreviousStatementIfControlFlowQuitsWithDifferenceInBlocks()
{
await TestInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
{
{
return;
}
}
[||]if (b)
return;
}
}",
@"class C
{
void M(bool a, bool b)
{
if (a || b)
{
{
return;
}
}
}
}");
}
[Fact]
public async Task MergedIntoPreviousStatementIncludingElseClauseIfControlFlowQuits()
{
await TestInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
return;
[||]if (b)
return;
else
System.Console.WriteLine();
}
}",
@"class C
{
void M(bool a, bool b)
{
if (a || b)
return;
else
System.Console.WriteLine();
}
}");
}
[Fact]
public async Task MergedIntoPreviousStatementIncludingElseIfClauseIfControlFlowQuits()
{
await TestInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
return;
[||]if (b)
return;
else if (a && b)
System.Console.WriteLine();
}
}",
@"class C
{
void M(bool a, bool b)
{
if (a || b)
return;
else if (a && b)
System.Console.WriteLine();
}
}");
}
[Fact]
public async Task MergedIntoPreviousStatementIfControlFlowQuitsWithPreservedSingleLineFormatting()
{
await TestInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a) return;
[||]if (b) return;
}
}",
@"class C
{
void M(bool a, bool b)
{
if (a || b) return;
}
}");
}
[Fact]
public async Task NotMergedIntoPreviousStatementIfControlFlowContinues1()
{
// Even though there are no statements inside, we still can't merge these into one statement
// because it would change the semantics from always evaluating the second condition to short-circuiting.
await TestMissingInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
{
}
[||]if (b)
{
}
}
}");
}
[Fact]
public async Task NotMergedIntoPreviousStatementIfControlFlowContinues2()
{
await TestMissingInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
System.Console.WriteLine();
[||]if (b)
System.Console.WriteLine();
}
}");
}
[Fact]
public async Task NotMergedIntoPreviousStatementIfControlFlowContinues3()
{
await TestMissingInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
{
if (a)
return;
}
[||]if (b)
{
if (a)
return;
}
}
}");
}
[Fact]
public async Task NotMergedIntoPreviousStatementIfControlFlowContinues4()
{
await TestMissingInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
while (a)
{
break;
}
[||]if (b)
while (a)
{
break;
}
}
}");
}
[Fact]
public async Task NotMergedIntoPreviousStatementIfControlFlowContinues5()
{
await TestMissingInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
while (true)
{
if (a)
switch (a)
{
default:
break;
}
[||]if (b)
switch (a)
{
default:
break;
}
}
}
}");
}
[Fact]
public async Task NotMergedIntoPreviousStatementWithUnmatchingStatementsIfControlFlowQuits()
{
await TestMissingInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
return;
[||]if (b)
throw new System.Exception();
}
}");
}
[Fact]
public async Task NotMergedIntoPreviousStatementThatHasElseClauseIfControlFlowQuits1()
{
await TestMissingInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
return;
else
return;
[||]if (b)
return;
}
}");
}
[Fact]
public async Task NotMergedIntoPreviousStatementThatHasElseClauseIfControlFlowQuits2()
{
await TestMissingInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
return;
else
return;
[||]if (b)
return;
else
return;
}
}");
}
[Fact]
public async Task NotMergedIntoPreviousStatementAsEmbeddedStatementIfControlFlowQuits1()
{
await TestMissingInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
return;
while (a)
[||]if (b)
return;
}
}");
}
[Fact]
public async Task NotMergedIntoPreviousStatementAsEmbeddedStatementIfControlFlowQuits2()
{
await TestMissingInRegularAndScriptAsync(
@"class C
{
void M(bool a, bool b)
{
if (a)
return;
if (a)
{
}
else [||]if (b)
return;
}
}");
}
}
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Compilers/Shared/CoreClrShim.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using Roslyn.Utilities;
using System;
using System.Reflection;
namespace Microsoft.CodeAnalysis
{
/// <summary>
/// Shim for APIs available only on CoreCLR.
/// </summary>
internal static class CoreClrShim
{
internal static bool IsRunningOnCoreClr => AssemblyLoadContext.Type != null;
internal static class AssemblyLoadContext
{
internal static readonly Type Type = ReflectionUtilities.TryGetType(
"System.Runtime.Loader.AssemblyLoadContext, System.Runtime.Loader, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a");
}
internal static class AppContext
{
internal static readonly Type Type = ReflectionUtilities.TryGetType(
"System.AppContext, System.AppContext, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a");
// only available in netstandard 1.6+
internal static readonly Func<string, object> GetData =
Type.GetTypeInfo().GetDeclaredMethod("GetData")?.CreateDelegate<Func<string, object>>();
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using Roslyn.Utilities;
using System;
using System.Reflection;
namespace Microsoft.CodeAnalysis
{
/// <summary>
/// Shim for APIs available only on CoreCLR.
/// </summary>
internal static class CoreClrShim
{
internal static bool IsRunningOnCoreClr => AssemblyLoadContext.Type != null;
internal static class AssemblyLoadContext
{
internal static readonly Type Type = ReflectionUtilities.TryGetType(
"System.Runtime.Loader.AssemblyLoadContext, System.Runtime.Loader, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a");
}
internal static class AppContext
{
internal static readonly Type Type = ReflectionUtilities.TryGetType(
"System.AppContext, System.AppContext, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a");
// only available in netstandard 1.6+
internal static readonly Func<string, object> GetData =
Type.GetTypeInfo().GetDeclaredMethod("GetData")?.CreateDelegate<Func<string, object>>();
}
}
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/EditorFeatures/Test2/IntelliSense/VisualBasicCompletionCommandHandlerTests.vb | ' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
Imports System.Collections.Immutable
Imports System.Composition
Imports System.Threading
Imports Microsoft.CodeAnalysis.Completion
Imports Microsoft.CodeAnalysis.Editor.UnitTests.Extensions
Imports Microsoft.CodeAnalysis.Host.Mef
Imports Microsoft.CodeAnalysis.Snippets
Imports Microsoft.CodeAnalysis.Tags
Imports Microsoft.CodeAnalysis.VisualBasic
Imports Microsoft.VisualStudio.LanguageServices.VisualBasic.Snippets
Imports Microsoft.VisualStudio.Text
Imports Microsoft.VisualStudio.Text.Projection
Imports Roslyn.Utilities
Namespace Microsoft.CodeAnalysis.Editor.UnitTests.IntelliSense
<[UseExportProvider]>
Public Class VisualBasicCompletionCommandHandlerTests
<WorkItem(546208, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/546208")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function MultiWordKeywordCommitBehavior() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Class C
Sub M()
$$
End Sub
End Class
</Document>)
state.SendTypeChars("on")
Await state.AssertSelectedCompletionItem("On Error GoTo", description:=String.Format(FeaturesResources._0_Keyword, "On Error GoTo") + vbCrLf + VBFeaturesResources.Enables_the_error_handling_routine_that_starts_at_the_line_specified_in_the_line_argument_The_specified_line_must_be_in_the_same_procedure_as_the_On_Error_statement_On_Error_GoTo_bracket_label_0_1_bracket)
state.SendTypeChars(" ")
Await state.AssertSelectedCompletionItem("On Error GoTo", description:=String.Format(FeaturesResources._0_Keyword, "On Error GoTo") + vbCrLf + VBFeaturesResources.Enables_the_error_handling_routine_that_starts_at_the_line_specified_in_the_line_argument_The_specified_line_must_be_in_the_same_procedure_as_the_On_Error_statement_On_Error_GoTo_bracket_label_0_1_bracket)
End Using
End Function
<WorkItem(546208, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/546208")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function MultiWordKeywordCommitBehavior2() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Class C
Sub M()
$$
End Sub
End Class
</Document>)
state.SendTypeChars("next")
Await state.AssertSelectedCompletionItem("On Error Resume Next", description:=String.Format(FeaturesResources._0_Keyword, "On Error Resume Next") + vbCrLf + VBFeaturesResources.When_a_run_time_error_occurs_execution_transfers_to_the_statement_following_the_statement_or_procedure_call_that_resulted_in_the_error)
state.SendTypeChars(" ")
Await state.AssertNoCompletionSession()
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionNotShownWhenBackspacingThroughWhitespace() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Module M
Sub Goo()
If True Then $$Console.WriteLine()
End Sub
End Module
</Document>)
state.SendBackspace()
Await state.AssertNoCompletionSession()
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion), WorkItem(541032, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/541032")>
Public Async Function CompletionNotShownWhenBackspacingThroughNewline() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Module Program
Sub Main()
If True And
$$False Then
End If
End Sub
End Module
</Document>)
state.SendBackspace()
Await state.AssertNoCompletionSession()
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionAdjustInsertionText_CommitsOnOpenParens1() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
Module M
Sub FogBar()
End Sub
Sub test()
$$
End Sub
End Module
</document>)
state.SendTypeChars("Fog(")
Await state.AssertCompletionSession()
Assert.Contains(" FogBar(", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionUpAfterDot() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
Class Program
Sub Main(args As String())
Program$$
End Sub
End Class
</document>)
Await state.AssertNoCompletionSession()
state.SendTypeChars(".")
Await state.AssertCompletionSession()
End Using
End Function
<WorkItem(546432, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/546432")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Sub ImplementsCompletionFaultTolerance()
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Imports System
Class C
Sub Goo() Implements ICloneable$$
End Module
</Document>)
state.SendTypeChars(".")
End Using
End Sub
<WorkItem(5487, "https://github.com/dotnet/roslyn/issues/5487")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestCommitCharTypedAtTheBeginingOfTheFilterSpan() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class C
Public Fuction F() As Boolean
If $$
End Function
End Class
]]></Document>)
state.SendTypeChars("tru")
Await state.AssertCompletionSession()
state.SendLeftKey()
state.SendLeftKey()
state.SendLeftKey()
Await state.AssertSelectedCompletionItem(isSoftSelected:=True)
state.SendTypeChars("(")
Assert.Equal("If (tru", state.GetLineTextFromCaretPosition().Trim())
Assert.Equal("t", state.GetCaretPoint().BufferPosition.GetChar())
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionAdjustInsertionText_CommitsOnOpenParens2() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
Module M
Sub FogBar(Of T)()
End Sub
Sub test()
$$
End Sub
End Module
</document>)
state.SendTypeChars("Fog(")
Await state.AssertCompletionSession()
Assert.Contains(" FogBar(", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WorkItem(543497, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/543497")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionDismissedAfterEscape1() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
Class Program
Sub Main(args As String())
Program$$
End Sub
End Class
</document>)
Await state.AssertNoCompletionSession()
state.SendTypeChars(".")
Await state.AssertCompletionSession()
state.SendEscape()
Await state.AssertNoCompletionSession()
End Using
End Function
<WorkItem(543497, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/543497")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestEnterOnSoftSelection1() As Task
' Code must be left-aligned because of https://github.com/dotnet/roslyn/issues/27988
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
Class Program
Shared Sub Main(args As String())
Program.$$
End Sub
End Class
</document>)
state.SendInvokeCompletionList()
Await state.AssertSelectedCompletionItem("Equals", isSoftSelected:=True)
Dim caretPos = state.GetCaretPoint().BufferPosition.Position
state.SendReturn()
state.Workspace.Documents.First().GetTextView().Caret.MoveTo(New SnapshotPoint(state.Workspace.Documents.First().GetTextBuffer().CurrentSnapshot, caretPos))
Assert.Contains("Program." + vbCrLf, state.GetLineFromCurrentCaretPosition().GetTextIncludingLineBreak(), StringComparison.Ordinal)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionTestTab1() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
Module M
Sub FogBar()
End Sub
Sub test()
$$
End Sub
End Module
</document>)
state.SendTypeChars("Fog")
state.SendTab()
Await state.AssertNoCompletionSession()
Assert.Contains(" FogBar", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function DotIsInserted() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
Class Program
Sub Main(args As String())
$$
End Sub
End Class
</document>)
state.SendTypeChars("Progra.")
Await state.AssertCompletionSession()
Await state.AssertSelectedCompletionItem(displayText:="Equals", isSoftSelected:=True)
Assert.Contains("Program.", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestReturn1() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
Class Program
Sub Main(args As String())
$$
End Sub
End Class
</document>)
state.SendTypeChars("Progra")
state.SendReturn()
Await state.AssertNoCompletionSession()
Assert.Contains(<text>
Sub Main(args As String())
Program
End Sub</text>.NormalizedValue, state.GetDocumentText(), StringComparison.Ordinal)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestDown1() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
Namespace N
Class A
End Class
Class B
End Class
Class C
End Class
End Namespace
Class Program
Sub Main(args As String())
N$$
End Sub
End Class
</document>)
state.SendTypeChars(".A")
Await state.AssertCompletionSession()
Await state.AssertSelectedCompletionItem(displayText:="A", isHardSelected:=True)
state.SendDownKey()
Await state.AssertSelectedCompletionItem(displayText:="B", isHardSelected:=True)
state.SendDownKey()
Await state.AssertSelectedCompletionItem(displayText:="C", isHardSelected:=True)
state.SendDownKey()
Await state.AssertSelectedCompletionItem(displayText:="C", isHardSelected:=True)
state.SendPageUp()
Await state.AssertSelectedCompletionItem(displayText:="A", isHardSelected:=True)
state.SendUpKey()
Await state.AssertSelectedCompletionItem(displayText:="A", isHardSelected:=True)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestFirstCharacterDoesNotFilter1() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
Namespace N
Class A
End Class
Class B
End Class
Class C
End Class
End Namespace
Class Program
Sub Main(args As String())
N$$
End Sub
End Class
</document>)
state.SendTypeChars(".A")
Await state.AssertCompletionSession()
Assert.Equal(3, state.GetCompletionItems().Count)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestSecondCharacterDoesFilter1() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
Namespace N
Class AAA
End Class
Class AAB
End Class
Class BB
End Class
Class CC
End Class
End Namespace
Class Program
Sub Main(args As String())
N$$
End Sub
End Class
</document>)
state.SendTypeChars(".A")
Await state.AssertCompletionSession()
Assert.Equal(4, state.GetCompletionItems().Count)
state.SendTypeChars("A")
Await state.AssertCompletionSession()
Assert.Equal(2, state.GetCompletionItems().Count)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestNavigateSoftToHard() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
Class Program
Shared Sub Main(args As String())
Program.$$
End Sub
End Class
</document>)
state.SendInvokeCompletionList()
Await state.AssertSelectedCompletionItem(displayText:="Equals", isSoftSelected:=True)
state.SendUpKey()
Await state.AssertSelectedCompletionItem(displayText:="Equals", isHardSelected:=True)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestBackspaceBeforeCompletedComputation() As Task
' Simulate a very slow completionImplementation provider.
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
Class Program
Shared Sub Main(args As String())
Program$$
End Sub
End Class
</document>,
extraExportedTypes:={GetType(TriggeredCompletionProvider)}.ToList())
Dim completionService = DirectCast(state.Workspace.Services.GetLanguageServices(LanguageNames.VisualBasic).GetRequiredService(Of CompletionService)(), CompletionServiceWithProviders)
Dim provider = completionService.GetTestAccessor().GetAllProviders(ImmutableHashSet(Of String).Empty).OfType(Of TriggeredCompletionProvider)().Single()
Await state.AssertNoCompletionSession()
state.SendTypeChars(".M")
' We should not have a session now. Note: do not block as this will just deadlock things
' since the provider will not return.
state.AssertNoCompletionSessionWithNoBlock()
' Now, navigate back.
state.SendBackspace()
' allow the provider to continue
provider.e.Set()
' At this point, completionImplementation will be available since the caret is still within the model's span.
Await state.AssertCompletionSession()
' Now, navigate back again. Completion should be dismissed
state.SendBackspace()
Await state.AssertNoCompletionSession()
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestNavigationBeforeCompletedComputation() As Task
' Simulate a very slow completionImplementation provider.
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
Class Program
Shared Sub Main(args As String())
Program$$
End Sub
End Class
</document>,
extraExportedTypes:={GetType(TriggeredCompletionProvider)}.ToList())
Dim completionService = DirectCast(state.Workspace.Services.GetLanguageServices(LanguageNames.VisualBasic).GetRequiredService(Of CompletionService)(), CompletionServiceWithProviders)
Dim provider = completionService.GetTestAccessor().GetAllProviders(ImmutableHashSet(Of String).Empty).OfType(Of TriggeredCompletionProvider)().Single()
Await state.AssertNoCompletionSession()
state.SendTypeChars(".Ma")
' We should not have a session now. Note: do not block as this will just deadlock things
' since the provider will not return.
state.AssertNoCompletionSessionWithNoBlock()
' Now, navigate using the caret.
state.SendMoveToPreviousCharacter()
' allow the provider to continue
provider.e.Set()
' Async provider can handle keys pressed while waiting for providers.
Await state.AssertCompletionSession()
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestNavigationOutBeforeCompletedComputation() As Task
' Simulate a very slow completionImplementation provider.
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
Class Program
Shared Sub Main(args As String())
Program$$
End Sub
End Class
</document>,
extraExportedTypes:={GetType(TriggeredCompletionProvider)}.ToList())
Dim completionService = DirectCast(state.Workspace.Services.GetLanguageServices(LanguageNames.VisualBasic).GetRequiredService(Of CompletionService)(), CompletionServiceWithProviders)
Dim provider = completionService.GetTestAccessor().GetAllProviders(ImmutableHashSet(Of String).Empty).OfType(Of TriggeredCompletionProvider)().Single()
Await state.AssertNoCompletionSession()
state.SendTypeChars(".Ma")
' We should not have a session now. Note: do not block as this will just deadlock things
' since the provider will not return.
state.AssertNoCompletionSessionWithNoBlock()
' Now, navigate using the caret.
state.SendDownKey()
' allow the provider to continue
provider.e.Set()
' Caret was intended to be moved out of the span.
' Therefore, we should cancel the completion And move the caret.
Await state.AssertNoCompletionSession()
Assert.Contains(" End Sub", state.GetLineFromCurrentCaretPosition().GetText(), StringComparison.Ordinal)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestNavigateOutOfItemChangeSpan() As Task
' Code must be left-aligned because of https://github.com/dotnet/roslyn/issues/27988
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
Class Program
Shared Sub Main(args As String())
Program$$
End Sub
End Class
</document>)
Await state.AssertNoCompletionSession()
state.SendTypeChars(".Ma")
Await state.AssertCompletionSession()
state.SendMoveToPreviousCharacter()
Await state.AssertCompletionSession()
state.SendMoveToPreviousCharacter()
Await state.AssertCompletionSession()
state.SendMoveToPreviousCharacter()
Await state.AssertNoCompletionSession()
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestUndo1() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
Class Program
Shared Sub Main(args As String())
Program$$
End Sub
End Class
</document>)
Await state.AssertNoCompletionSession()
state.SendTypeChars(".Ma(")
Await state.AssertCompletionSession()
Assert.Contains(".Main(", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
state.SendUndo()
Assert.Contains(".Ma(", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestCommitAfterNavigation() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
Namespace N
Class A
End Class
Class B
End Class
Class C
End Class
End Namespace
Class Program
Sub Main(args As String())
N$$
End Sub
End Class
</document>)
state.SendTypeChars(".A")
Await state.AssertCompletionSession()
Await state.AssertSelectedCompletionItem(displayText:="A", isHardSelected:=True)
state.SendDownKey()
Await state.AssertSelectedCompletionItem(displayText:="B", isHardSelected:=True)
state.SendTab()
Assert.Contains(".B", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestFiltering1() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
Imports System
Class c
Sub Main
$$
End Sub
End Class</document>)
state.SendTypeChars("Sy")
Await state.AssertCompletionItemsContainAll("OperatingSystem", "System")
Await state.AssertCompletionItemsDoNotContainAny("Exception", "Activator")
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestMSCorLibTypes() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
Imports System
Class c
Inherits$$
End Class</document>)
state.SendTypeChars(" ")
Await state.AssertCompletionItemsContainAll("Attribute", "Exception")
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestDescription1() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
<![CDATA[Imports System
''' <summary>
''' TestDoc
''' </summary>
Class TestException
Inherits Exception
End Class
Class MyException
Inherits $$
End Class]]></document>)
state.SendTypeChars("TestEx")
Await state.AssertCompletionSession()
Await state.AssertSelectedCompletionItem(description:="Class TestException" & vbCrLf & "TestDoc")
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestObjectCreationPreselection1() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System
Imports System.Collections.Generic
Imports System.Linq
Module Program
Sub Main(args As String())
Dim x As List(Of Integer) = New$$
End Sub
End Module]]></Document>)
state.SendTypeChars(" ")
Await state.AssertSelectedCompletionItem(displayText:="List(Of Integer)", isHardSelected:=True)
Await state.AssertCompletionItemsContainAll("LinkedList", "List", "System")
state.SendTypeChars("Li")
Await state.AssertSelectedCompletionItem(displayText:="List(Of Integer)", isHardSelected:=True)
Await state.AssertCompletionItemsContainAll("LinkedList", "List")
Await state.AssertCompletionItemsDoNotContainAny("System")
state.SendTypeChars("n")
Await state.AssertSelectedCompletionItem(displayText:="LinkedList", displayTextSuffix:="(Of " & ChrW(&H2026) & ")", isHardSelected:=True)
state.SendBackspace()
Await state.AssertSelectedCompletionItem(displayText:="List(Of Integer)", isHardSelected:=True)
state.SendTab()
Assert.Contains("New List(Of Integer)", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WorkItem(287, "https://github.com/dotnet/roslyn/issues/287")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)> Public Async Function NotEnumPreselectionAfterBackspace() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Enum E
Bat
End Enum
Class C
Sub Test(param As E)
Dim b As E
Test(b.$$)
End Sub
End Class]]></Document>)
state.SendBackspace()
Await state.AssertSelectedCompletionItem(displayText:="b", isHardSelected:=True)
End Using
End Function
<WorkItem(543496, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/543496")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestNumericLiteralWithNoMatch() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Imports System
Module Program
Sub Main(args As String())
Dim i =$$
End Sub
End Module</Document>)
state.SendTypeChars(" 0")
Await state.AssertNoCompletionSession()
state.SendReturn()
Await state.AssertNoCompletionSession()
Assert.Equal(<Document>
Imports System
Module Program
Sub Main(args As String())
Dim i = 0
End Sub
End Module</Document>.NormalizedValue, state.GetDocumentText())
End Using
End Function
<WorkItem(543496, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/543496")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestNumericLiteralWithPartialMatch() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Imports System
Module Program
Sub Main(args As String())
Dim i =$$
End Sub
End Module</Document>)
' Could match Int32
' kayleh 1/17/2013, but we decided to have #s always dismiss the list in bug 547287
state.SendTypeChars(" 3")
Await state.AssertNoCompletionSession()
state.SendReturn()
Await state.AssertNoCompletionSession()
Assert.Equal(<Document>
Imports System
Module Program
Sub Main(args As String())
Dim i = 3
End Sub
End Module</Document>.NormalizedValue, state.GetDocumentText())
End Using
End Function
<WorkItem(543496, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/543496")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestNumbersAfterLetters() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Imports System
Module Program
Sub Main(args As String())
Dim i =$$
End Sub
End Module</Document>)
' Could match Int32
state.SendTypeChars(" I3")
Await state.AssertCompletionSession()
Await state.AssertSelectedCompletionItem(displayText:="Int32", isHardSelected:=True)
state.SendReturn()
Await state.AssertNoCompletionSession()
Assert.Equal(<Document>
Imports System
Module Program
Sub Main(args As String())
Dim i = Int32
End Sub
End Module</Document>.NormalizedValue, state.GetDocumentText())
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestNotAfterTypingDotAfterIntegerLiteral() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
class c
sub M()
WriteLine(3$$
end sub
end class
</Document>)
state.SendTypeChars(".")
Await state.AssertNoCompletionSession()
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestAfterExplicitInvokeAfterDotAfterIntegerLiteral() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
class c
sub M()
WriteLine(3.$$
end sub
end class
</Document>)
state.SendInvokeCompletionList()
Await state.AssertCompletionItemsContainAll("ToString")
End Using
End Function
<WorkItem(543669, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/543669")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestDeleteWordToLeft() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
class c
sub M()
$$
end sub
end class
</Document>)
state.SendTypeChars("Dim i =")
Await state.AssertCompletionSession()
state.SendDeleteWordToLeft()
Await state.AssertNoCompletionSession()
End Using
End Function
<WorkItem(543617, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/543617")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestCompletionGenericWithOpenParen() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
class c
sub Goo(Of X)()
$$
end sub
end class
</Document>)
state.SendTypeChars("Go(")
Await state.AssertCompletionSession()
Assert.Equal(" Goo(", state.GetLineTextFromCaretPosition())
Assert.DoesNotContain("Goo(Of", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WorkItem(543617, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/543617")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestCompletionGenericWithSpace() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
class c
sub Goo(Of X)()
$$
end sub
end class
</Document>)
state.SendTypeChars("Go ")
Await state.AssertCompletionSession()
Assert.Equal(" Goo(Of ", state.GetLineTextFromCaretPosition())
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CommitForImportsStatement1() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
$$
</Document>)
state.SendTypeChars("Imports Sys")
Await state.AssertSelectedCompletionItem(displayText:="System", isHardSelected:=True)
state.SendTypeChars("(")
Await state.AssertNoCompletionSession()
Assert.Contains("Imports Sys(", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CommitForImportsStatement2() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
$$
</Document>)
state.SendTypeChars("Imports Sys")
Await state.AssertSelectedCompletionItem(displayText:="System", isHardSelected:=True)
state.SendTypeChars(".")
Await state.AssertCompletionSession()
Assert.Contains("Imports System.", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CommitForImportsStatement3() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
$$
</Document>)
state.SendTypeChars("Imports Sys")
Await state.AssertSelectedCompletionItem(displayText:="System", isHardSelected:=True)
state.SendTypeChars(" ")
Await state.AssertNoCompletionSession()
Assert.Contains("Imports Sys ", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WorkItem(544190, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/544190")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function DoNotInsertEqualsForNamedParameterCommitWithColon() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Class Class1
Sub Method()
Test($$
End Sub
Sub Test(Optional x As Integer = 42)
End Sub
End Class
</Document>)
state.SendTypeChars("x:")
Await state.AssertNoCompletionSession()
Assert.DoesNotContain(":=", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WorkItem(544190, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/544190")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function DoInsertEqualsForNamedParameterCommitWithSpace() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Class Class1
Sub Method()
Test($$
End Sub
Sub Test(Optional x As Integer = 42)
End Sub
End Class
</Document>)
state.SendTypeChars("x")
state.SendTab()
Await state.AssertNoCompletionSession()
Assert.Contains(":=", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WorkItem(544150, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/544150")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function ConsumeHashForPreprocessorCompletion() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
$$
</Document>)
state.SendTypeChars("#re")
state.SendTab()
Await state.AssertNoCompletionSession()
Assert.Equal("#Region", state.GetLineTextFromCaretPosition())
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function EnumCompletionTriggeredOnSpace() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Enum Numeros
Uno
Dos
End Enum
Class Goo
Sub Bar(a As Integer, n As Numeros)
End Sub
Sub Baz()
Bar(0$$
End Sub
End Class
</Document>)
state.SendTypeChars(", ")
Await state.AssertSelectedCompletionItem(displayText:="Numeros.Dos", isSoftSelected:=True)
End Using
End Function
<ExportCompletionProvider(NameOf(TriggeredCompletionProvider), LanguageNames.VisualBasic)>
<[Shared]>
<PartNotDiscoverable>
Friend Class TriggeredCompletionProvider
Inherits MockCompletionProvider
Public ReadOnly e As ManualResetEvent = New ManualResetEvent(False)
<ImportingConstructor>
<Obsolete(MefConstruction.ImportingConstructorMessage, True)>
Public Sub New()
MyBase.New(getItems:=Function(t, p, c)
Return Nothing
End Function,
isTriggerCharacter:=Function(t, p) True)
End Sub
Public Overrides Function ProvideCompletionsAsync(context As CompletionContext) As Task
e.WaitOne()
Return MyBase.ProvideCompletionsAsync(context)
End Function
End Class
<WorkItem(544297, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/544297")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestVerbatimNamedIdentifierFiltering() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Class Class1
Private Sub Test([string] As String)
Test($$
End Sub
End Class
</Document>)
state.SendTypeChars("s")
Await state.AssertCompletionSession()
Await state.AssertCompletionItemsContain("string", ":=")
state.SendTypeChars("t")
Await state.AssertCompletionSession()
Await state.AssertCompletionItemsContain("string", ":=")
End Using
End Function
<WorkItem(544299, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/544299")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestExclusiveNamedParameterCompletion() As Task
Using state = TestStateFactory.CreateTestStateFromWorkspace(
<Workspace>
<Project Language="Visual Basic" CommonReferences="true" LanguageVersion="15">
<Document>
Class Class1
Private Sub Test()
Goo(bool:=False,$$
End Sub
Private Sub Goo(str As String, character As Char)
End Sub
Private Sub Goo(str As String, bool As Boolean)
End Sub
End Class
</Document>
</Project>
</Workspace>)
state.SendTypeChars(" ")
Await state.AssertCompletionSession()
Assert.Equal(1, state.GetCompletionItems().Count)
Await state.AssertCompletionItemsContain("str", ":=")
End Using
End Function
<WorkItem(544299, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/544299")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestExclusiveNamedParameterCompletion2() As Task
Using state = TestStateFactory.CreateTestStateFromWorkspace(
<Workspace>
<Project Language="Visual Basic" CommonReferences="true" LanguageVersion="15">
<Document>
Class Goo
Private Sub Test()
Dim m As Object = Nothing
Method(obj:=m, $$
End Sub
Private Sub Method(obj As Object, num As Integer, str As String)
End Sub
Private Sub Method(dbl As Double, str As String)
End Sub
Private Sub Method(num As Integer, b As Boolean, str As String)
End Sub
Private Sub Method(obj As Object, b As Boolean, str As String)
End Sub
End Class
</Document>
</Project>
</Workspace>)
state.SendTypeChars(" ")
Await state.AssertCompletionSession()
Assert.Equal(3, state.GetCompletionItems().Count)
Await state.AssertCompletionItemsContain("b", ":=")
Await state.AssertCompletionItemsContain("num", ":=")
Await state.AssertCompletionItemsContain("str", ":=")
Assert.False(state.GetCompletionItems().Any(Function(i) i.DisplayText = "dbl" AndAlso i.DisplayTextSuffix = ":="))
End Using
End Function
<WorkItem(544471, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/544471")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestDontCrashOnEmptyParameterList() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
<Obsolete()$$>
</Document>)
state.SendTypeChars(" ")
Await state.AssertNoCompletionSession()
End Using
End Function
<WorkItem(544628, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/544628")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function OnlyMatchOnLowercaseIfPrefixWordMatch() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Module Program
$$
End Module
</Document>)
state.SendTypeChars("z")
Await state.AssertCompletionSession()
Await state.AssertSelectedCompletionItem("#Const", isSoftSelected:=True)
End Using
End Function
<WorkItem(544989, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/544989")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function MyBaseFinalize() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Class C
Protected Overrides Sub Finalize()
MyBase.Finalize$$
End Sub
End Class
</Document>)
state.SendTypeChars("(")
Await state.AssertSignatureHelpSession()
Await state.AssertSignatureHelpItemsContainAll({"Object.Finalize()"})
End Using
End Function
<WorkItem(551117, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/551117")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestNamedParameterSortOrder() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Imports System
Module Program
Sub Main(args As String())
Main($$
End Sub
End Module
</Document>)
state.SendTypeChars("a")
Await state.AssertCompletionSession()
Await state.AssertSelectedCompletionItem("args", isHardSelected:=True)
state.SendDownKey()
Await state.AssertSelectedCompletionItem("args", displayTextSuffix:=":=", isHardSelected:=True)
End Using
End Function
<WorkItem(546810, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/546810")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestLineContinuationCharacter() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Imports System
Module Program
Sub Main()
Dim x = New $$
End Sub
End Module
</Document>)
state.SendTypeChars("_")
Await state.AssertCompletionSession()
Await state.AssertSelectedCompletionItem("_AppDomain", isHardSelected:=False)
End Using
End Function
<WorkItem(547287, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/547287")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestNumberDismissesCompletion() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Imports System
Module Program
Sub Main()
Console.WriteLine$$
End Sub
End Module
</Document>)
state.SendTypeChars("(")
Await state.AssertCompletionSession()
state.SendTypeChars(".")
Await state.AssertNoCompletionSession()
state.SendBackspace()
state.SendBackspace()
state.SendTypeChars("(")
Await state.AssertCompletionSession()
state.SendTypeChars("-")
Await state.AssertNoCompletionSession()
state.SendBackspace()
state.SendBackspace()
state.SendTypeChars("(")
Await state.AssertCompletionSession()
state.SendTypeChars("1")
Await state.AssertNoCompletionSession()
End Using
End Function
<WpfFact(Skip:="https://github.com/dotnet/roslyn/issues/27446"), Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestProjections() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
{|S1:
Imports System
Module Program
Sub Main(arg As String)
Dim bbb = 234
Console.WriteLine$$
End Sub
End Module|} </Document>)
Dim subjectDocument = state.Workspace.Documents.First()
Dim firstProjection = state.Workspace.CreateProjectionBufferDocument(
<Document>
{|S1:|}
{|S2: some text that's mapped to the surface buffer |}
</Document>.NormalizedValue, {subjectDocument}, options:=ProjectionBufferOptions.WritableLiteralSpans)
Dim topProjectionBuffer = state.Workspace.CreateProjectionBufferDocument(
<Document>
{|S1:|}
{|S2:|}
</Document>.NormalizedValue, {firstProjection}, options:=ProjectionBufferOptions.WritableLiteralSpans)
' Test a view that has a subject buffer with multiple projection buffers in between
Dim view = topProjectionBuffer.GetTextView()
Dim subjectBuffer = subjectDocument.GetTextBuffer()
state.SendTypeCharsToSpecificViewAndBuffer("(", view, subjectBuffer)
Await state.AssertCompletionSession(view)
state.SendTypeCharsToSpecificViewAndBuffer("a", view, subjectBuffer)
Await state.AssertSelectedCompletionItem(displayText:="arg", projectionsView:=view)
Dim text = view.TextSnapshot.GetText()
Dim projection = DirectCast(topProjectionBuffer.GetTextBuffer(), IProjectionBuffer)
Dim sourceSpans = projection.CurrentSnapshot.GetSourceSpans()
' unmap our source spans without changing the top buffer
projection.ReplaceSpans(0, sourceSpans.Count, {subjectBuffer.CurrentSnapshot.CreateTrackingSpan(0, subjectBuffer.CurrentSnapshot.Length, SpanTrackingMode.EdgeInclusive)}, EditOptions.DefaultMinimalChange, editTag:=Nothing)
state.SendBackspace()
state.SendTypeChars("b")
Await state.AssertSelectedCompletionItem(displayText:="bbb")
' prepare to remap our subject buffer
Dim subjectBufferText = subjectDocument.GetTextBuffer().CurrentSnapshot.GetText()
Using edit = subjectDocument.GetTextBuffer().CreateEdit(EditOptions.DefaultMinimalChange, reiteratedVersionNumber:=Nothing, editTag:=Nothing)
edit.Replace(New Span(0, subjectBufferText.Length), subjectBufferText.Replace("Console.WriteLine(a", "Console.WriteLine(b"))
edit.Apply()
End Using
Dim replacementSpans = sourceSpans.Select(Function(ss)
If ss.Snapshot.TextBuffer.ContentType.TypeName = "inert" Then
Return DirectCast(ss.Snapshot.GetText(ss.Span), Object)
Else
Return DirectCast(ss.Snapshot.CreateTrackingSpan(ss.Span, SpanTrackingMode.EdgeExclusive), Object)
End If
End Function).ToList()
projection.ReplaceSpans(0, 1, replacementSpans, EditOptions.DefaultMinimalChange, editTag:=Nothing)
' the same completionImplementation session should still be active after the remapping.
Await state.AssertSelectedCompletionItem(displayText:="bbb", projectionsView:=view)
state.SendTypeCharsToSpecificViewAndBuffer("b", view, subjectBuffer)
Await state.AssertSelectedCompletionItem(displayText:="bbb", projectionsView:=view)
' verify we can commit even when unmapped
projection.ReplaceSpans(0, projection.CurrentSnapshot.GetSourceSpans.Count, {projection.CurrentSnapshot.GetText()}, EditOptions.DefaultMinimalChange, editTag:=Nothing)
Await state.SendCommitUniqueCompletionListItemAsync()
Assert.Contains(<text>
Imports System
Module Program
Sub Main(arg As String)
Dim bbb = 234
Console.WriteLine(bbb
End Sub
End Module </text>.NormalizedValue, state.GetDocumentText(), StringComparison.Ordinal)
End Using
End Function
<WorkItem(622957, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/622957")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestBangFiltersInDocComment() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
''' $$
Public Class TestClass
End Class
]]></Document>)
state.SendTypeChars("<")
Await state.AssertCompletionSession()
state.SendTypeChars("!")
Await state.AssertCompletionSession()
Await state.AssertSelectedCompletionItem("!--")
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionUpAfterBackSpacetoWord() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Public E$$
</Document>)
state.SendBackspace()
Await state.AssertCompletionSession()
state.SendBackspace()
Await state.AssertNoCompletionSession()
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function NoCompletionAfterBackspaceInStringLiteral() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Sub Goo()
Dim z = "aa$$"
End Sub
</Document>)
state.SendBackspace()
Await state.AssertNoCompletionSession()
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionUpAfterDeleteDot() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Sub Goo()
Dim z = "a"
z.$$ToString()
End Sub
</Document>)
state.SendBackspace()
Await state.AssertCompletionSession()
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function NotCompletionUpAfterDeleteRParen() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Sub Goo()
"a".ToString()$$
End Sub
</Document>)
state.SendBackspace()
Await state.AssertNoCompletionSession()
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function NotCompletionUpAfterDeleteLParen() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Sub Goo()
"a".ToString($$
End Sub
</Document>)
state.SendBackspace()
Await state.AssertNoCompletionSession()
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function NotCompletionUpAfterDeleteComma() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Sub Goo(x as Integer, y as Integer)
Goo(1,$$)
End Sub
</Document>)
state.SendBackspace()
Await state.AssertNoCompletionSession()
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionAfterDeleteKeyword() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Sub Goo(x as Integer, y as Integer)
Goo(1,2)
End$$ Sub
</Document>)
state.SendBackspace()
Await state.AssertCompletionSession()
Await state.AssertSelectedCompletionItem("End", description:=String.Format(FeaturesResources._0_Keyword, "End") + vbCrLf + VBFeaturesResources.Stops_execution_immediately)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function NoCompletionOnBackspaceAtBeginningOfFile() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>$$</Document>)
state.SendBackspace()
Await state.AssertNoCompletionSession()
End Using
End Function
<WpfFact(), Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionUpAfterLeftCurlyBrace() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
Imports System
Imports System.Collections.Generic
Imports System.Linq
Module Program
Sub Main(args As String())
Dim l As New List(Of Integer) From $$
End Sub
End Module
</document>)
Await state.AssertNoCompletionSession()
state.SendTypeChars("{")
Await state.AssertCompletionSession()
End Using
End Function
<WpfFact(), Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionUpAfterLeftAngleBracket() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
$$
Module Program
Sub Main(args As String())
End Sub
End Module
</document>)
Await state.AssertNoCompletionSession()
state.SendTypeChars("<")
Await state.AssertCompletionSession()
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function InvokeCompletionDoesNotFilter() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System
Class G
Sub goo()
Dim x as String$$
End Sub
End Class
]]></Document>)
state.SendInvokeCompletionList()
Await state.AssertSelectedCompletionItem("String")
Await state.AssertCompletionItemsContainAll("Integer", "G")
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function InvokeCompletionSelectsWithoutRegardToCaretPosition() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System
Class G
Sub goo()
Dim x as Str$$ing
End Sub
End Class
]]></Document>)
state.SendInvokeCompletionList()
Await state.AssertSelectedCompletionItem("String")
Await state.AssertCompletionItemsContainAll("Integer", "G")
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function InvokeCompletionBeforeWordDoesNotSelect() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System
Class G
Sub goo()
Dim x as $$String
End Sub
End Class
]]></Document>)
state.SendInvokeCompletionList()
Await state.AssertSelectedCompletionItem("AccessViolationException")
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function BackspaceCompletionInvokedSelectedAndUnfiltered() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System
Class G
Sub goo()
Dim x as String$$
End Sub
End Class
]]></Document>)
state.SendBackspace()
Await state.AssertSelectedCompletionItem("String")
Await state.AssertCompletionItemsContainAll("Integer", "G")
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function ListDismissedIfNoMatches() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System
Class G
Sub goo()
Dim x as $$
End Sub
End Class
]]></Document>)
state.SendTypeChars("str")
Await state.AssertCompletionSession()
Await state.AssertSelectedCompletionItem("String", isHardSelected:=True)
state.SendTypeChars("gg")
Await state.AssertNoCompletionSession()
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function InvokeCompletionComesUpEvenIfNoMatches() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System
Class G
Sub goo()
Dim x as gggg$$
End Sub
End Class
]]></Document>)
state.SendInvokeCompletionList()
Await state.AssertCompletionSession()
End Using
End Function
<WorkItem(674422, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/674422")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function BackspaceInvokeCompletionComesUpEvenIfNoMatches() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System
Class G
Sub goo()
Dim x as gggg$$
End Sub
End Class
]]></Document>)
state.SendBackspace()
Await state.AssertCompletionSession()
state.SendBackspace()
Await state.AssertCompletionSession()
End Using
End Function
<WorkItem(674366, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/674366")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function BackspaceCompletionSelects() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System
Class G
Sub goo()
Dim x as Integrr$$
End Sub
End Class
]]></Document>)
state.SendBackspace()
Await state.AssertCompletionSession()
Await state.AssertSelectedCompletionItem("Integer")
End Using
End Function
<WorkItem(675555, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/675555")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function BackspaceCompletionNeverFilters() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System
Class G
Sub goo()
Dim x as String$$
End Sub
End Class
]]></Document>)
state.SendBackspace()
Await state.AssertCompletionSession()
Await state.AssertCompletionItemsContainAll("AccessViolationException")
state.SendBackspace()
Await state.AssertCompletionSession()
Await state.AssertCompletionItemsContainAll("AccessViolationException")
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Sub TabAfterQuestionMarkInEmptyLine()
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System
Class G
Sub goo()
?$$
End Sub
End Class
]]></Document>)
state.SendTab()
Assert.Equal(state.GetLineTextFromCaretPosition(), " ?" + vbTab)
End Using
End Sub
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Sub TabAfterTextFollowedByQuestionMark()
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System
Class G
Sub goo()
a?$$
End Sub
End Class
]]></Document>)
state.SendTab()
Assert.Equal(state.GetLineTextFromCaretPosition(), " a")
End Using
End Sub
<WorkItem(669942, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/669942")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function DistinguishItemsWithDifferentGlyphs() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System
Imports System.Linq
Class Test
Sub [Select]()
End Sub
Sub Goo()
Dim k As Integer = 1
$$
End Sub
End Class
]]></Document>)
state.SendTypeChars("selec")
Await state.AssertCompletionSession()
Assert.Equal(state.GetCompletionItems().Count, 2)
End Using
End Function
<WorkItem(670149, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/670149")>
<WpfFact(), Trait(Traits.Feature, Traits.Features.Completion)>
Public Sub TabAfterNullableFollowedByQuestionMark()
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System
Class G
Dim a As Integer?$$
End Class
]]></Document>)
state.SendTab()
Assert.Equal(state.GetLineTextFromCaretPosition(), " Dim a As Integer?" + vbTab)
End Using
End Sub
<WorkItem(672474, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/672474")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestInvokeSnippetCommandDismissesCompletion() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>$$</Document>)
state.SendTypeChars("Imp")
Await state.AssertCompletionSession()
state.SendInsertSnippetCommand()
Await state.AssertNoCompletionSession()
End Using
End Function
<WorkItem(672474, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/672474")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestSurroundWithCommandDismissesCompletion() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>$$</Document>)
state.SendTypeChars("Imp")
Await state.AssertCompletionSession()
state.SendSurroundWithCommand()
Await state.AssertNoCompletionSession()
End Using
End Function
<WorkItem(716117, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/716117")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function XmlCompletionNotTriggeredOnBackspaceInText() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
''' <summary>
''' text$$
''' </summary>
Class G
Dim a As Integer?
End Class]]></Document>)
state.SendBackspace()
Await state.AssertNoCompletionSession()
End Using
End Function
<WorkItem(716117, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/716117")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function XmlCompletionNotTriggeredOnBackspaceInTag() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
''' <summary$$>
''' text
''' </summary>
Class G
Dim a As Integer?
End Class]]></Document>)
state.SendBackspace()
Await state.AssertCompletionSession()
Await state.AssertSelectedCompletionItem("summary")
End Using
End Function
<WorkItem(674415, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/674415")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function BackspacingLastCharacterDismisses() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>$$</Document>)
state.SendTypeChars("A")
Await state.AssertCompletionSession()
state.SendBackspace()
Await state.AssertNoCompletionSession()
End Using
End Function
<WorkItem(719977, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/719977")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function HardSelectionWithBuilderAndOneExactMatch() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>Module M
Public $$
End Module</Document>)
state.SendTypeChars("sub")
Await state.AssertCompletionSession()
Await state.AssertSelectedCompletionItem("Sub")
Assert.True(state.HasSuggestedItem())
End Using
End Function
<WorkItem(828603, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/828603")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function SoftSelectionWithBuilderAndNoExactMatch() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>Module M
Public $$
End Module</Document>)
state.SendTypeChars("prop")
Await state.AssertCompletionSession()
Await state.AssertSelectedCompletionItem("Property", isSoftSelected:=True)
Assert.True(state.HasSuggestedItem())
End Using
End Function
' The test verifies the CommitCommandHandler isolated behavior which does not add '()' after 'Main'.
' The integrated VS behavior for the case is to get 'Main()'.
<WorkItem(792569, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/792569")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Sub CommitOnEnter()
Dim expected = <Document>Module M
Sub Main()
Main
End Sub
End Module</Document>.Value.Replace(vbLf, vbCrLf)
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>Module M
Sub Main()
Ma$$i
End Sub
End Module</Document>)
state.SendInvokeCompletionList()
state.SendReturn()
Assert.Equal(expected, state.GetDocumentText())
End Using
End Sub
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Sub TestEnterIsConsumedWithAfterFullyTypedWordOption_NotFullyTyped()
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Class Class1
Sub Main(args As String())
$$
End Sub
End Class
</Document>)
Dim workspace = state.Workspace
workspace.TryApplyChanges(workspace.CurrentSolution.WithOptions(workspace.Options _
.WithChangedOption(CompletionOptions.EnterKeyBehavior, LanguageNames.VisualBasic, EnterKeyRule.AfterFullyTypedWord)))
state.SendTypeChars("System.TimeSpan.FromMin")
state.SendReturn()
Assert.Equal(<text>
Class Class1
Sub Main(args As String())
System.TimeSpan.FromMinutes
End Sub
End Class
</text>.NormalizedValue, state.GetDocumentText())
End Using
End Sub
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Sub TestEnterIsConsumedWithAfterFullyTypedWordOption_FullyTyped()
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Class Class1
Sub Main(args As String())
$$
End Sub
End Class
</Document>)
Dim workspace = state.Workspace
workspace.TryApplyChanges(workspace.CurrentSolution.WithOptions(workspace.Options _
.WithChangedOption(CompletionOptions.EnterKeyBehavior, LanguageNames.VisualBasic, EnterKeyRule.AfterFullyTypedWord)))
state.SendTypeChars("System.TimeSpan.FromMinutes")
state.SendReturn()
Assert.Equal(<text>
Class Class1
Sub Main(args As String())
System.TimeSpan.FromMinutes
End Sub
End Class
</text>.NormalizedValue, state.GetDocumentText())
End Using
End Sub
<WorkItem(546208, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/546208")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function SelectKeywordFirst() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Class C
Sub M()
$$
End Sub
Sub GetType()
End Sub
End Class
</Document>)
state.SendTypeChars("GetType")
Await state.AssertSelectedCompletionItem(
displayText:="GetType",
displayTextSuffix:=String.Empty,
description:=VBFeaturesResources.GetType_function + vbCrLf +
VBWorkspaceResources.Returns_a_System_Type_object_for_the_specified_type_name + vbCrLf +
$"GetType({VBWorkspaceResources.typeName}) As Type")
End Using
End Function
<WorkItem(828392, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/828392")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function ConstructorFiltersAsNew() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Public Class Base
Public Sub New(x As Integer)
End Sub
End Class
Public Class Derived
Inherits Base
Public Sub New(x As Integer)
MyBase.$$
End Sub
End Class
</Document>)
state.SendTypeChars("New")
Await state.AssertSelectedCompletionItem("New", isHardSelected:=True)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function NoUnmentionableTypeInObjectCreation() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Public Class C
Sub Goo()
Dim a = new$$
End Sub
End Class
</Document>)
state.SendTypeChars(" ")
Await state.AssertSelectedCompletionItem("AccessViolationException", isSoftSelected:=True)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function FilterPreferEnum() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Enum E
Goo
Bar
End Enum
Class Goo
End Class
Public Class C
Sub Goo()
E e = $$
End Sub
End Class</Document>)
state.SendTypeChars("g")
Await state.AssertSelectedCompletionItem("E.Goo", isHardSelected:=True)
End Using
End Function
<WorkItem(883295, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/883295")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function InsertOfOnSpace() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Imports System.Threading.Tasks
Public Class C
Sub Goo()
Dim a as $$
End Sub
End Class
</Document>)
state.SendTypeChars("Task")
Await state.WaitForUIRenderedAsync()
state.SendDownKey()
state.SendTypeChars(" ")
Assert.Equal(" Dim a as Task(Of ", state.GetLineTextFromCaretPosition())
End Using
End Function
<WorkItem(883295, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/883295")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Sub DoNotInsertOfOnTab()
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Imports System.Threading.Tasks
Public Class C
Sub Goo()
Dim a as $$
End Sub
End Class
</Document>)
state.SendTypeChars("Task")
state.SendTab()
Assert.Equal(state.GetLineTextFromCaretPosition(), " Dim a as Task")
End Using
End Sub
<WorkItem(899414, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/899414")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function NotInPartialMethodDeclaration() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Module Module1
Sub Main()
End Sub
End Module
Public Class Class2
Partial Private Sub PartialMethod(ByVal x As Integer)
$$
End Sub
End Class</Document>)
state.SendInvokeCompletionList()
Await state.AssertNoCompletionSession()
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestCompletionInLinkedFiles() As Task
Using state = TestStateFactory.CreateTestStateFromWorkspace(
<Workspace>
<Project Language="Visual Basic" CommonReferences="true" AssemblyName="VBProj" PreprocessorSymbols="Thing2=True">
<Document FilePath="C.vb">
Class C
Sub M()
$$
End Sub
#If Thing1 Then
Sub Thing1()
End Sub
#End If
#If Thing2 Then
Sub Thing2()
End Sub
#End If
End Class
</Document>
</Project>
<Project Language="Visual Basic" CommonReferences="true" PreprocessorSymbols="Thing1=True">
<Document IsLinkFile="true" LinkAssemblyName="VBProj" LinkFilePath="C.vb"/>
</Project>
</Workspace>)
Dim documents = state.Workspace.Documents
Dim linkDocument = documents.Single(Function(d) d.IsLinkFile)
state.SendTypeChars("Thi")
Await state.AssertSelectedCompletionItem("Thing1")
state.SendBackspace()
state.SendBackspace()
state.SendBackspace()
state.Workspace.SetDocumentContext(linkDocument.Id)
state.SendTypeChars("Thi")
Await state.AssertSelectedCompletionItem("Thing1")
End Using
End Function
<WorkItem(916452, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/916452")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function SoftSelectedWithNoFilterText() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Imports System
Class C
Public Sub M(day As DayOfWeek)
M$$
End Sub
End Class</Document>)
state.SendTypeChars("(")
Await state.AssertCompletionSession()
Assert.True(state.IsSoftSelected())
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function EnumSortingOrder() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Imports System
Class C
Public Sub M(day As DayOfWeek)
M$$
End Sub
End Class</Document>)
state.SendTypeChars("(")
Await state.AssertCompletionSession()
' DayOfWeek.Monday should immediately follow DayOfWeek.Friday
Dim friday = state.GetCompletionItems().First(Function(i) i.DisplayText = "DayOfWeek.Friday")
Dim monday = state.GetCompletionItems().First(Function(i) i.DisplayText = "DayOfWeek.Monday")
Assert.True(state.GetCompletionItems().IndexOf(friday) = state.GetCompletionItems().IndexOf(monday) - 1)
End Using
End Function
<WorkItem(951726, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/951726")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function DismissUponSave() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class C
$$
End Class]]></Document>)
state.SendTypeChars("Su")
Await state.AssertSelectedCompletionItem("Sub")
state.SendSave()
Await state.AssertNoCompletionSession()
state.AssertMatchesTextStartingAtLine(2, " Su")
End Using
End Function
<WorkItem(969794, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/969794")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function DeleteCompletionInvokedSelectedAndUnfiltered() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System
Class G
Sub goo()
Dim x as Stri$$ng
End Sub
End Class
]]></Document>)
state.SendDelete()
Await state.AssertSelectedCompletionItem("String")
End Using
End Function
<WorkItem(871755, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/871755")>
<WorkItem(954556, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/954556")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function FilterPrefixOnlyOnBackspace1() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System
Class G
Public Re$$
End Class
]]></Document>)
state.SendBackspace()
Await state.AssertSelectedCompletionItem("ReadOnly")
state.SendTypeChars("a")
Await state.AssertNoCompletionSession()
End Using
End Function
<WorkItem(969040, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/969040")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function BackspaceTriggerOnlyIfOptionEnabled() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System
Class G
Public Re$$
End Class
]]></Document>)
Dim workspace = state.Workspace
workspace.TryApplyChanges(workspace.CurrentSolution.WithOptions(workspace.Options _
.WithChangedOption(CompletionOptions.TriggerOnTyping, LanguageNames.VisualBasic, False)))
state.SendBackspace()
Await state.AssertNoCompletionSession()
End Using
End Function
<WorkItem(957450, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/957450")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function KeywordsForIntrinsicsDeduplicated() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System
Class G
Sub Goo()
$$
End Sub
End Class
]]></Document>)
state.SendInvokeCompletionList()
Await state.AssertCompletionSession()
' Should only have one item called 'Double' and it should have a keyword glyph
Dim doubleItem = state.GetCompletionItems().Single(Function(c) c.DisplayText = "Double")
Assert.True(doubleItem.Tags.Contains(WellKnownTags.Keyword))
End Using
End Function
<WorkItem(957450, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/957450")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function KeywordDeduplicationLeavesEscapedIdentifiers() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System
Class [Double]
Sub Goo()
Dim x as $$
End Sub
End Class
]]></Document>)
state.SendInvokeCompletionList()
Await state.AssertCompletionSession()
' We should have gotten the item corresponding to [Double] and the item for the Double keyword
Dim doubleItems = state.GetCompletionItems().Where(Function(c) c.DisplayText = "Double")
Assert.Equal(2, doubleItems.Count())
Assert.True(doubleItems.Any(Function(c) c.Tags.Contains(WellKnownTags.Keyword)))
Assert.True(doubleItems.Any(Function(c) c.Tags.Contains(WellKnownTags.Class) AndAlso c.Tags.Contains(WellKnownTags.Internal)))
End Using
End Function
<WorkItem(957450, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/957450")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestEscapedItemCommittedWithCloseBracket() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System
Class [Interface]
Sub Goo()
Dim x As $$
End Sub
End Class
]]></Document>)
state.SendInvokeCompletionList()
Await state.AssertCompletionSession()
state.SendTypeChars("Interf]")
state.AssertMatchesTextStartingAtLine(4, "Dim x As [Interface]")
End Using
End Function
<WorkItem(1075298, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/1075298")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Sub CommitOnQuestionMarkForConditionalAccess()
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System
Class G
Sub Goo()
Dim x = String.$$
End Sub
End Class
]]></Document>)
state.SendTypeChars("emp?")
state.AssertMatchesTextStartingAtLine(4, "Dim x = String.Empty?")
End Using
End Sub
<WorkItem(1659, "https://github.com/dotnet/roslyn/issues/1659")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function DismissOnSelectAllCommand() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class C
Sub goo()
$$]]></Document>)
' Note: the caret is at the file, so the Select All command's movement
' of the caret to the end of the selection isn't responsible for
' dismissing the session.
state.SendInvokeCompletionList()
Await state.AssertCompletionSession()
state.SendSelectAll()
Await state.AssertNoCompletionSession()
End Using
End Function
<WorkItem(3088, "https://github.com/dotnet/roslyn/issues/3088")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function DoNotPreferParameterNames() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Module Program
Sub Main(args As String())
Dim Table As Integer
goo(table$$)
End Sub
Sub goo(table As String)
End Sub
End Module]]></Document>)
state.SendInvokeCompletionList()
Await state.AssertSelectedCompletionItem("Table")
End Using
End Function
<WorkItem(4892, "https://github.com/dotnet/roslyn/issues/4892")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function BooleanPreselection1() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Module Program
Sub Main(args As String())
Dim x as boolean = $$
End Sub
End Module]]></Document>)
state.SendTypeChars("f")
Await state.AssertSelectedCompletionItem("False")
state.SendBackspace()
state.SendTypeChars("t")
Await state.AssertSelectedCompletionItem("True")
End Using
End Function
<WorkItem(4892, "https://github.com/dotnet/roslyn/issues/4892")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function BooleanPreselection2() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Module Program
Sub Main(args As String())
foot($$
End Sub
Sub foot(x as boolean)
End Sub
End Module]]></Document>)
state.SendTypeChars("f")
Await state.AssertSelectedCompletionItem("False")
state.SendBackspace()
state.SendTypeChars("t")
Await state.AssertSelectedCompletionItem("True")
End Using
End Function
<WorkItem(4892, "https://github.com/dotnet/roslyn/issues/4892")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function BooleanPreselection3() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Module Program
Class F
End Class
Class T
End Class
Sub Main(args As String())
$$
End Sub
End Module]]></Document>)
state.SendTypeChars("f")
Await state.AssertSelectedCompletionItem("F")
state.SendBackspace()
state.SendTypeChars("t")
Await state.AssertSelectedCompletionItem("T")
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TargetTypePreselection1() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System.Threading
Module Program
Sub Cancel(x As Integer, cancellationToken As CancellationToken)
Cancel(x + 1, $$)
End Sub
End Module]]></Document>)
state.SendInvokeCompletionList()
Await state.AssertSelectedCompletionItem("cancellationToken").ConfigureAwait(True)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TargetTypePreselection2() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Module Program
Sub Main(args As String())
Dim aaz As Integer
args = $$
End Sub
End Module]]></Document>)
state.SendTypeChars("a")
Await state.AssertSelectedCompletionItem("args").ConfigureAwait(True)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TargetTypePreselection3() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class D
End Class
Class Program
Sub Main(string() args)
Dim cw = 7
Dim cx as D = new D()
Dim cx2 as D = $$
End Sub
End Class
]]></Document>)
state.SendTypeChars("c")
Await state.AssertSelectedCompletionItem("cx", isHardSelected:=True).ConfigureAwait(True)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TargetTypePreselectionLocalsOverType() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class A
End Class
Class Program
Sub Main(string() args)
Dim cx = new A()
Dim cx2 as A = $$
End Sub
End Class
]]></Document>)
state.SendTypeChars("c")
Await state.AssertSelectedCompletionItem("cx", isHardSelected:=True).ConfigureAwait(True)
End Using
End Function
<WpfFact(Skip:="https://github.com/dotnet/roslyn/issues/6942"), Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TargetTypePreselectionConvertibility1() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Mustinherit Class C
End Class
Class D
inherits C
End Class
Class Program
Sub Main(string() args)
Dim cx = new D()
Dim cx2 as C = $$
End Sub
End Class
]]></Document>)
state.SendTypeChars("c")
Await state.AssertSelectedCompletionItem("cx", isHardSelected:=True).ConfigureAwait(True)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TargetTypePreselectionParamsArray() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class Program
Sub Main(string() args)
Dim azc as integer
M2(a$$
End Sub
Sub M2(params int() yx)
End Sub
End Class
]]></Document>)
state.SendInvokeCompletionList()
Await state.AssertSelectedCompletionItem("azc", isHardSelected:=True).ConfigureAwait(True)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TargetTypePreselectionSetterValue() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class Program
Private Async As Integer
Public Property NewProperty() As Integer
Get
Return Async
End Get
Set(ByVal value As Integer)
Async = $$
End Set
End Property
End Class]]></Document>)
state.SendInvokeCompletionList()
Await state.AssertSelectedCompletionItem("value", isHardSelected:=False, isSoftSelected:=True).ConfigureAwait(True)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
<WorkItem(12530, "https://github.com/dotnet/roslyn/issues/12530")>
Public Async Function TestAnonymousTypeDescription() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System.Linq
Public Class Class1
Sub Method()
Dim x = {New With {.x = 1}}.ToArr$$
End Sub
End Class
]]></Document>)
state.SendInvokeCompletionList()
Await state.AssertSelectedCompletionItem(description:=
$"<{ VBFeaturesResources.Extension }> Function IEnumerable(Of 'a).ToArray() As 'a()
{ FeaturesResources.Anonymous_Types_colon }
'a { FeaturesResources.is_ } New With {{ .x As Integer }}")
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
<WorkItem(12530, "https://github.com/dotnet/roslyn/issues/12530")>
Public Async Function TestAnonymousTypeDescription2() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System.Linq
Public Class Class1
Sub Method()
Dim x = {New With { Key .x = 1}}.ToArr$$
End Sub
End Class
]]></Document>)
state.SendInvokeCompletionList()
Await state.AssertSelectedCompletionItem(description:=
$"<{ VBFeaturesResources.Extension }> Function IEnumerable(Of 'a).ToArray() As 'a()
{ FeaturesResources.Anonymous_Types_colon }
'a { FeaturesResources.is_ } New With {{ Key .x As Integer }}")
End Using
End Function
<WorkItem(11812, "https://github.com/dotnet/roslyn/issues/11812")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestObjectCreationQualifiedName() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class A
Sub Test()
Dim b As B.C(Of Integer) = New$$
End Sub
End Class
Namespace B
Class C(Of T)
End Class
End Namespace]]></Document>)
state.SendTypeChars(" ")
Await state.AssertCompletionSession()
state.SendTypeChars("(")
state.AssertMatchesTextStartingAtLine(3, "Dim b As B.C(Of Integer) = New B.C(Of Integer)(")
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestNonTrailingNamedArgumentInVB15_3() As Task
Using state = TestStateFactory.CreateTestStateFromWorkspace(
<Workspace>
<Project Language="Visual Basic" LanguageVersion="15.3" CommonReferences="true" AssemblyName="VBProj">
<Document FilePath="C.vb">
Class C
Sub M()
Dim better As Integer = 2
M(a:=1, $$)
End Sub
Sub M(a As Integer, bar As Integer, c As Integer)
End Sub
End Class
</Document>
</Project>
</Workspace>)
state.SendTypeChars("b")
Await state.AssertSelectedCompletionItem(displayText:="bar", displayTextSuffix:=":=", isHardSelected:=True)
state.SendTypeChars("e")
Await state.AssertNoCompletionSession()
End Using
End Function
<WpfFact>
Public Async Function TestNonTrailingNamedArgumentInVB15_5() As Task
Using state = TestStateFactory.CreateTestStateFromWorkspace(
<Workspace>
<Project Language="Visual Basic" LanguageVersion="15.5" CommonReferences="true" AssemblyName="VBProj">
<Document FilePath="C.vb">
Class C
Sub M()
Dim better As Integer = 2
M(a:=1, $$)
End Sub
Sub M(a As Integer, bar As Integer, c As Integer)
End Sub
End Class
</Document>
</Project>
</Workspace>)
state.SendTypeChars("bar")
Await state.AssertSelectedCompletionItem(displayText:="bar", displayTextSuffix:=":=", isHardSelected:=True)
state.SendBackspace()
state.SendBackspace()
state.SendTypeChars("et")
Await state.AssertSelectedCompletionItem(displayText:="better", isHardSelected:=True)
state.SendTypeChars(", ")
Assert.Contains("M(a:=1, better,", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestSymbolInTupleLiteral() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class C
Public Sub Goo()
Dim t = ($$)
End Sub
End Class
}]]></Document>)
state.SendTypeChars("Go")
Await state.AssertSelectedCompletionItem(displayText:="Goo", isHardSelected:=True)
state.SendTypeChars(":")
Assert.Contains("(Go:", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestSymbolInTupleLiteralAfterComma() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class C
Public Sub Goo()
Dim t = (1, $$)
End Sub
End Class
]]></Document>)
state.SendTypeChars("Go")
Await state.AssertSelectedCompletionItem(displayText:="Goo", isHardSelected:=True)
state.SendTypeChars(":")
Assert.Contains("(1, Go:", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestSnippetInTupleLiteral() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class C
Public Sub Goo()
Dim t = ($$)
End Sub
End Class
}]]></Document>,
extraExportedTypes:={GetType(MockSnippetInfoService), GetType(SnippetCompletionProvider), GetType(StubVsEditorAdaptersFactoryService)}.ToList())
Dim workspace = state.Workspace
workspace.TryApplyChanges(workspace.CurrentSolution.WithOptions(workspace.Options _
.WithChangedOption(CompletionOptions.SnippetsBehavior, LanguageNames.VisualBasic, SnippetsRule.AlwaysInclude)))
state.SendTypeChars("Shortcu")
Await state.AssertSelectedCompletionItem(displayText:="Shortcut", isHardSelected:=True)
state.SendTypeChars(":")
Assert.Contains("(Shortcu:", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestSnippetInTupleLiteralAfterComma() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class C
Public Sub Goo()
Dim t = (1, $$)
End Sub
End Class
}]]></Document>,
extraExportedTypes:={GetType(MockSnippetInfoService), GetType(SnippetCompletionProvider), GetType(StubVsEditorAdaptersFactoryService)}.ToList())
Dim workspace = state.Workspace
workspace.TryApplyChanges(workspace.CurrentSolution.WithOptions(workspace.Options _
.WithChangedOption(CompletionOptions.SnippetsBehavior, LanguageNames.VisualBasic, SnippetsRule.AlwaysInclude)))
state.SendTypeChars("Shortcu")
Await state.AssertSelectedCompletionItem(displayText:="Shortcut", isHardSelected:=True)
state.SendTypeChars(":")
Assert.Contains("(1, Shortcu:", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestSnippetsNotExclusiveWhenAlwaysShowing() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class C
Public Sub Goo()
Dim x as Integer = 3
Dim t = $$
End Sub
End Class
}]]></Document>,
extraExportedTypes:={GetType(MockSnippetInfoService), GetType(SnippetCompletionProvider), GetType(StubVsEditorAdaptersFactoryService)}.ToList())
Dim workspace = state.Workspace
workspace.TryApplyChanges(workspace.CurrentSolution.WithOptions(workspace.Options _
.WithChangedOption(CompletionOptions.SnippetsBehavior, LanguageNames.VisualBasic, SnippetsRule.AlwaysInclude)))
state.SendInvokeCompletionList()
Await state.AssertCompletionItemsContainAll("x", "Shortcut")
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestBuiltInTypesKeywordInTupleLiteral() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class C
Public Sub Goo()
Dim t = ($$)
End Sub
End Class
}]]></Document>)
state.SendTypeChars("Intege")
Await state.AssertSelectedCompletionItem(displayText:="Integer", isHardSelected:=True)
state.SendTypeChars(":")
Assert.Contains("(Intege:", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestBuiltInTypesKeywordInTupleLiteralAfterComma() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class C
Public Sub Goo()
Dim t = (1, $$)
End Sub
End Class
}]]></Document>)
state.SendTypeChars("Intege")
Await state.AssertSelectedCompletionItem(displayText:="Integer", isHardSelected:=True)
state.SendTypeChars(":")
Assert.Contains("(1, Intege:", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestFunctionKeywordInTupleLiteral() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class C
Public Sub Goo()
Dim t = ($$)
End Sub
End Class
}]]></Document>)
state.SendTypeChars("Functio")
Await state.AssertSelectedCompletionItem(displayText:="Function", isHardSelected:=True)
state.SendTypeChars(":")
Assert.Contains("(Functio:", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestFunctionKeywordInTupleLiteralAfterComma() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class C
Public Sub Goo()
Dim t = (1, $$)
End Sub
End Class
}]]></Document>)
state.SendTypeChars("Functio")
Await state.AssertSelectedCompletionItem(displayText:="Function", isHardSelected:=True)
state.SendTypeChars(":")
Assert.Contains("(1, Functio:", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestSymbolInTupleType() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class C
Public Sub Goo()
Dim t As ($$)
End Sub
End Class
]]></Document>)
state.SendTypeChars("Integ")
Await state.AssertSelectedCompletionItem(displayText:="Integer", isHardSelected:=True)
state.SendTypeChars(",")
Assert.Contains("(Integer,", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestInvocationExpression() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class C
Public Sub Goo(Alice As Integer)
Goo($$)
End Sub
End Class
]]></Document>)
state.SendTypeChars("Alic")
Await state.AssertSelectedCompletionItem(displayText:="Alice", isHardSelected:=True)
state.SendTypeChars(":")
Assert.Contains("Goo(Alice:", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestInvocationExpressionAfterComma() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class C
Public Sub Goo(Alice As Integer, Bob As Integer)
Goo(1, $$)
End Sub
End Class
]]></Document>)
state.SendTypeChars("B")
Await state.AssertSelectedCompletionItem(displayText:="Bob", isHardSelected:=True)
state.SendTypeChars(":")
Assert.Contains("Goo(1, Bob:", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WorkItem(13161, "https://github.com/dotnet/roslyn/issues/13161")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Sub CommitGenericDoesNotInsertEllipsis()
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Interface Goo(Of T)
End Interface
Class Bar
Implements $$
End Class]]></Document>)
Dim unicodeEllipsis = ChrW(&H2026).ToString()
state.SendTypeChars("Goo")
state.SendTab()
Assert.Equal("Implements Goo(Of", state.GetLineTextFromCaretPosition().Trim())
Assert.DoesNotContain(unicodeEllipsis, state.GetLineTextFromCaretPosition())
End Using
End Sub
<WorkItem(13161, "https://github.com/dotnet/roslyn/issues/13161")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Sub CommitGenericDoesNotInsertEllipsisCommitOnParen()
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Interface Goo(Of T)
End Interface
Class Bar
Implements $$
End Class]]></Document>)
Dim unicodeEllipsis = ChrW(&H2026).ToString()
state.SendTypeChars("Goo(")
Assert.Equal("Implements Goo(", state.GetLineTextFromCaretPosition().Trim())
Assert.DoesNotContain(unicodeEllipsis, state.GetLineTextFromCaretPosition())
End Using
End Sub
<WorkItem(13161, "https://github.com/dotnet/roslyn/issues/13161")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Sub CommitGenericItemDoesNotInsertEllipsisCommitOnTab()
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Interface Goo(Of T)
End Interface
Class Bar
Dim x as $$
End Class]]></Document>)
Dim unicodeEllipsis = ChrW(&H2026).ToString()
state.SendTypeChars("Goo")
state.SendTab()
Assert.Equal("Dim x as Goo(Of", state.GetLineTextFromCaretPosition().Trim())
Assert.DoesNotContain(unicodeEllipsis, state.GetLineTextFromCaretPosition())
End Using
End Sub
<WorkItem(15011, "https://github.com/dotnet/roslyn/issues/15011")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function SymbolAndObjectPreselectionUnification() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Module Module1
Sub Main()
Dim x As ProcessStartInfo = New $$
End Sub
End Module
]]></Document>)
state.SendInvokeCompletionList()
Await state.AssertCompletionSession()
Dim psi = state.GetCompletionItems().Where(Function(i) i.DisplayText.Contains("ProcessStartInfo")).ToArray()
Assert.Equal(1, psi.Length)
End Using
End Function
<WorkItem(394863, "https://devdiv.visualstudio.com/DevDiv/_workitems?_a=edit&id=394863&triage=true")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function ImplementsClause() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Partial Class TestClass
Implements IComparable(Of TestClass)
Public Function CompareTo(other As TestClass) As Integer Implements I$$
End Function
End Class
]]></Document>)
state.SendInvokeCompletionList()
Await state.AssertCompletionSession()
state.SendTab()
Assert.Contains("IComparable(Of TestClass)", state.GetLineTextFromCaretPosition())
End Using
End Function
<WorkItem(18785, "https://github.com/dotnet/roslyn/issues/18785")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function BackspaceSoftSelectionIfNotPrefixMatch() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class C
Sub Do()
Dim x = new System.Collections.Generic.List(Of String)()
x.$$Add("stuff")
End Sub
End Class
]]></Document>)
state.SendBackspace()
Await state.AssertSelectedCompletionItem("x", isSoftSelected:=True)
state.SendTypeChars(".")
Assert.Contains("x.Add", state.GetLineTextFromCaretPosition())
End Using
End Function
<WorkItem(28767, "https://github.com/dotnet/roslyn/issues/28767")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionDoesNotRemoveBracketsOnEnum() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Class C
Sub S
[$$]
End Sub
End Class
</Document>)
Await state.AssertNoCompletionSession()
state.SendTypeChars("Enu")
Await state.AssertSelectedCompletionItem(displayText:="Enum", isHardSelected:=True)
state.SendTab()
Assert.Contains("[Enum]", state.GetDocumentText(), StringComparison.Ordinal)
End Using
End Function
<WorkItem(30097, "https://github.com/dotnet/roslyn/issues/30097")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestMRUKeepsTwoRecentlyUsedItems() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Class C
Public Sub Ma(m As Double)
End Sub
Public Sub Test()
$$
End Sub
End Class
</Document>)
state.SendTypeChars("M(M(M(M(")
Await state.AssertCompletionSession()
Assert.Equal(" Ma(m:=(Ma(m:=(", state.GetLineTextFromCaretPosition())
End Using
End Function
<WorkItem(36546, "https://github.com/dotnet/roslyn/issues/36546")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestDoNotDismissIfEmptyOnBackspaceIfStartedWithBackspace() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Imports System
Class C
Public Sub M()
Console.W$$
End Sub
End Class
</Document>)
state.SendBackspace()
Await state.AssertCompletionItemsContainAll("WriteLine")
End Using
End Function
<WorkItem(36546, "https://github.com/dotnet/roslyn/issues/36546")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestDoNotDismissIfEmptyOnMultipleBackspaceIfStartedInvoke() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Imports System
Class C
Public Sub M()
Console.Wr$$
End Sub
End Class
</Document>)
state.SendInvokeCompletionList()
Await state.AssertCompletionSession()
state.SendBackspace()
state.SendBackspace()
Await state.AssertCompletionSession()
End Using
End Function
<WorkItem(588, "https://github.com/dotnet/roslyn/issues/588")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestMatchWithTurkishIWorkaround1() As Task
Using New CultureContext(New Globalization.CultureInfo("tr-TR", useUserOverride:=False))
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class C
Sub goo(x As Integer)
String.$$
]]></Document>)
state.SendTypeChars("is")
Await state.WaitForAsynchronousOperationsAsync()
Await state.AssertSelectedCompletionItem("IsInterned")
End Using
End Using
End Function
<WorkItem(588, "https://github.com/dotnet/roslyn/issues/588")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestMatchWithTurkishIWorkaround2() As Task
Using New CultureContext(New Globalization.CultureInfo("tr-TR", useUserOverride:=False))
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class C
Sub goo(x As Integer)
String.$$]]></Document>)
state.SendTypeChars("ı")
Await state.WaitForAsynchronousOperationsAsync()
Await state.AssertSelectedCompletionItem()
End Using
End Using
End Function
<WorkItem(29938, "https://github.com/dotnet/roslyn/issues/29938")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestMatchWithTurkishIWorkaround3() As Task
Using New CultureContext(New Globalization.CultureInfo("tr-TR", useUserOverride:=False))
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class TARIFE
End Class
Class C
Sub goo(x As Integer)
Dim t As $$
]]></Document>)
state.SendTypeChars("tarif")
Await state.WaitForAsynchronousOperationsAsync()
Await state.AssertSelectedCompletionItem("TARIFE")
End Using
End Using
End Function
<WorkItem(29938, "https://github.com/dotnet/roslyn/issues/29938")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestMatchWithTurkishIWorkaround4() As Task
Using New CultureContext(New Globalization.CultureInfo("tr-TR", useUserOverride:=False))
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class IFADE
End Class
Class ifTest
End Class
Class C
Sub goo(x As Integer)
Dim ifade As IFADE
$$]]></Document>)
state.SendTypeChars("if")
Await state.WaitForAsynchronousOperationsAsync()
Await state.AssertSelectedCompletionItem("If")
End Using
End Using
End Function
<WorkItem(29938, "https://github.com/dotnet/roslyn/issues/29938")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestMatchWithTurkishIWorkaround5() As Task
Using New CultureContext(New Globalization.CultureInfo("tr-TR", useUserOverride:=False))
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class İFADE
End Class
Class ifTest
End Class
Class C
Sub goo(x As Integer)
Dim ifade As İFADE
$$
]]></Document>)
state.SendTypeChars("if")
Await state.WaitForAsynchronousOperationsAsync()
Await state.AssertSelectedCompletionItem("If")
End Using
End Using
End Function
<WorkItem(29938, "https://github.com/dotnet/roslyn/issues/29938")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestMatchWithTurkishIWorkaround6() As Task
Using New CultureContext(New Globalization.CultureInfo("tr-TR", useUserOverride:=False))
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class TARİFE
End Class
Class C
Sub goo(x As Integer)
Dim obj As $$
]]></Document>)
state.SendTypeChars("tarif")
Await state.WaitForAsynchronousOperationsAsync()
Await state.AssertSelectedCompletionItem("TARİFE")
End Using
End Using
End Function
<WorkItem(29938, "https://github.com/dotnet/roslyn/issues/29938")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestMatchWithTurkishIWorkaround7() As Task
Using New CultureContext(New Globalization.CultureInfo("tr-TR", useUserOverride:=False))
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class İFADE
End Class
Class ifTest
End Class
Class C
Sub goo(x As Integer)
Dim obj As $$
]]></Document>)
state.SendTypeChars("ifad")
Await state.WaitForAsynchronousOperationsAsync()
Await state.AssertSelectedCompletionItem("İFADE")
End Using
End Using
End Function
<WorkItem(29938, "https://github.com/dotnet/roslyn/issues/29938")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestMatchWithTurkishIWorkaround8() As Task
Using New CultureContext(New Globalization.CultureInfo("tr-TR", useUserOverride:=False))
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class IFADE
End Class
Class ifTest
End Class
Class C
Sub goo(x As Integer)
Dim obj As $$
]]></Document>)
state.SendTypeChars("ifad")
Await state.WaitForAsynchronousOperationsAsync()
Await state.AssertSelectedCompletionItem("IFADE")
End Using
End Using
End Function
<WorkItem(29938, "https://github.com/dotnet/roslyn/issues/29938")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestMatchWithTurkishIWorkaround9() As Task
Using New CultureContext(New Globalization.CultureInfo("tr-TR", useUserOverride:=False))
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class IFADE
End Class
Class ifTest
End Class
Class C
Sub goo(x As Integer)
Dim ifade_ As İFADE
$$]]></Document>)
state.SendTypeChars("IF")
Await state.WaitForAsynchronousOperationsAsync()
Await state.AssertSelectedCompletionItem("If")
End Using
End Using
End Function
<WorkItem(29938, "https://github.com/dotnet/roslyn/issues/29938")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestMatchWithTurkishIWorkaround10() As Task
Using New CultureContext(New Globalization.CultureInfo("tr-TR", useUserOverride:=False))
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class İFADE
End Class
Class ifTest
End Class
Class C
Sub goo(x As Integer)
Dim ifade As İFADE
$$
]]></Document>)
state.SendTypeChars("IF")
Await state.WaitForAsynchronousOperationsAsync()
Await state.AssertSelectedCompletionItem("If")
End Using
End Using
End Function
<WpfTheory, CombinatorialData>
<Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionInPreprocessorIf(showCompletionInArgumentLists As Boolean) As Task
Using state = TestStateFactory.CreateTestStateFromWorkspace(
<Workspace>
<Project Language="Visual Basic" CommonReferences="true" PreprocessorSymbols="Goo=1,Bar=2,Baz=3">
<Document>
#if $$
</Document>
</Project>
</Workspace>,
showCompletionInArgumentLists:=showCompletionInArgumentLists)
state.SendInvokeCompletionList()
Await state.AssertCompletionItemsContainAll({"Goo", "Bar", "Baz", "True", "False"})
state.SendTypeChars("Go")
state.SendTab()
Await state.AssertNoCompletionSession()
Assert.Contains("#if Goo", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfTheory, CombinatorialData>
<Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionInPreprocessorElseIf(showCompletionInArgumentLists As Boolean) As Task
Using state = TestStateFactory.CreateTestStateFromWorkspace(
<Workspace>
<Project Language="Visual Basic" CommonReferences="true" PreprocessorSymbols="Goo=1,Bar=2,Baz=3">
<Document>
#if false
#elseif $$
</Document>
</Project>
</Workspace>,
showCompletionInArgumentLists:=showCompletionInArgumentLists)
state.SendInvokeCompletionList()
Await state.AssertCompletionItemsContainAll({"Goo", "Bar", "Baz", "True", "False"})
state.SendTypeChars("Go")
state.SendTab()
Await state.AssertNoCompletionSession()
Assert.Contains("#elseif Goo", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfTheory, CombinatorialData>
<Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionNotInPreprocessorElse(showCompletionInArgumentLists As Boolean) As Task
Using state = TestStateFactory.CreateTestStateFromWorkspace(
<Workspace>
<Project Language="Visual Basic" CommonReferences="true" PreprocessorSymbols="Goo=1,Bar=2,Baz=3">
<Document>
#if false
#elseif false
#else $$
</Document>
</Project>
</Workspace>,
showCompletionInArgumentLists:=showCompletionInArgumentLists)
state.SendInvokeCompletionList()
Await state.AssertNoCompletionSession()
End Using
End Function
<WpfTheory, CombinatorialData>
<Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionInPreprocessorParenthesized(showCompletionInArgumentLists As Boolean) As Task
Using state = TestStateFactory.CreateTestStateFromWorkspace(
<Workspace>
<Project Language="Visual Basic" CommonReferences="true" PreprocessorSymbols="Goo=1,Bar=2,Baz=3">
<Document>
#if ($$
</Document>
</Project>
</Workspace>,
showCompletionInArgumentLists:=showCompletionInArgumentLists)
state.SendInvokeCompletionList()
Await state.AssertCompletionItemsContainAll({"Goo", "Bar", "Baz", "True", "False"})
state.SendTypeChars("Go")
state.SendTab()
Await state.AssertNoCompletionSession()
Assert.Contains("#if (Goo", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfTheory, CombinatorialData>
<Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionInPreprocessorNot(showCompletionInArgumentLists As Boolean) As Task
Using state = TestStateFactory.CreateTestStateFromWorkspace(
<Workspace>
<Project Language="Visual Basic" CommonReferences="true" PreprocessorSymbols="Goo=1,Bar=2,Baz=3">
<Document>
#if not $$
</Document>
</Project>
</Workspace>,
showCompletionInArgumentLists:=showCompletionInArgumentLists)
state.SendInvokeCompletionList()
Await state.AssertCompletionItemsContainAll({"Goo", "Bar", "Baz", "True", "False"})
state.SendTypeChars("Go")
state.SendTab()
Await state.AssertNoCompletionSession()
Assert.Contains("#if not Goo", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfTheory, CombinatorialData>
<Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionInPreprocessorAnd(showCompletionInArgumentLists As Boolean) As Task
Using state = TestStateFactory.CreateTestStateFromWorkspace(
<Workspace>
<Project Language="Visual Basic" CommonReferences="true" PreprocessorSymbols="Goo=1,Bar=2,Baz=3">
<Document>
#if true and $$
</Document>
</Project>
</Workspace>,
showCompletionInArgumentLists:=showCompletionInArgumentLists)
state.SendInvokeCompletionList()
Await state.AssertCompletionItemsContainAll({"Goo", "Bar", "Baz", "True", "False"})
state.SendTypeChars("Go")
state.SendTab()
Await state.AssertNoCompletionSession()
Assert.Contains("#if true and Goo", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfTheory, CombinatorialData>
<Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionInPreprocessorAndAlso(showCompletionInArgumentLists As Boolean) As Task
Using state = TestStateFactory.CreateTestStateFromWorkspace(
<Workspace>
<Project Language="Visual Basic" CommonReferences="true" PreprocessorSymbols="Goo=1,Bar=2,Baz=3">
<Document>
#if true andalso $$
</Document>
</Project>
</Workspace>,
showCompletionInArgumentLists:=showCompletionInArgumentLists)
state.SendInvokeCompletionList()
Await state.AssertCompletionItemsContainAll({"Goo", "Bar", "Baz", "True", "False"})
state.SendTypeChars("Go")
state.SendTab()
Await state.AssertNoCompletionSession()
Assert.Contains("#if true andalso Goo", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfTheory, CombinatorialData>
<Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionInPreprocessorOr(showCompletionInArgumentLists As Boolean) As Task
Using state = TestStateFactory.CreateTestStateFromWorkspace(
<Workspace>
<Project Language="Visual Basic" CommonReferences="true" PreprocessorSymbols="Goo=1,Bar=2,Baz=3">
<Document>
#if true or $$
</Document>
</Project>
</Workspace>,
showCompletionInArgumentLists:=showCompletionInArgumentLists)
state.SendInvokeCompletionList()
Await state.AssertCompletionItemsContainAll({"Goo", "Bar", "Baz", "True", "False"})
state.SendTypeChars("Go")
state.SendTab()
Await state.AssertNoCompletionSession()
Assert.Contains("#if true or Goo", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfTheory, CombinatorialData>
<Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionInPreprocessorOrElse(showCompletionInArgumentLists As Boolean) As Task
Using state = TestStateFactory.CreateTestStateFromWorkspace(
<Workspace>
<Project Language="Visual Basic" CommonReferences="true" PreprocessorSymbols="Goo=1,Bar=2,Baz=3">
<Document>
#if true orelse $$
</Document>
</Project>
</Workspace>,
showCompletionInArgumentLists:=showCompletionInArgumentLists)
state.SendInvokeCompletionList()
Await state.AssertCompletionItemsContainAll({"Goo", "Bar", "Baz", "True", "False"})
state.SendTypeChars("Go")
state.SendTab()
Await state.AssertNoCompletionSession()
Assert.Contains("#if true orelse Goo", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfTheory, CombinatorialData>
<Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionInPreprocessorCasingDifference(showCompletionInArgumentLists As Boolean) As Task
Using state = TestStateFactory.CreateTestStateFromWorkspace(
<Workspace>
<Project Language="Visual Basic" CommonReferences="true" PreprocessorSymbols="Goo=1,Bar=2,BAR=2,Baz=3">
<Document>
#if $$
</Document>
</Project>
</Workspace>,
showCompletionInArgumentLists:=showCompletionInArgumentLists)
state.SendInvokeCompletionList()
Await state.AssertCompletionItemsContainAll({"Goo", "Bar", "Baz", "True", "False"})
state.SendTypeChars("Go")
state.SendTab()
Await state.AssertNoCompletionSession()
Assert.Contains("#if Goo", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<ExportLanguageService(GetType(ISnippetInfoService), LanguageNames.VisualBasic, ServiceLayer.Test), [Shared], PartNotDiscoverable>
Friend Class MockSnippetInfoService
Implements ISnippetInfoService
<ImportingConstructor>
<Obsolete(MefConstruction.ImportingConstructorMessage, True)>
Public Sub New()
End Sub
Public Function GetSnippetsAsync_NonBlocking() As IEnumerable(Of SnippetInfo) Implements ISnippetInfoService.GetSnippetsIfAvailable
Return SpecializedCollections.SingletonEnumerable(New SnippetInfo("Shortcut", "Title", "Description", "Path"))
End Function
Public Function ShouldFormatSnippet(snippetInfo As SnippetInfo) As Boolean Implements ISnippetInfoService.ShouldFormatSnippet
Return False
End Function
Public Function SnippetShortcutExists_NonBlocking(shortcut As String) As Boolean Implements ISnippetInfoService.SnippetShortcutExists_NonBlocking
Return shortcut = "Shortcut"
End Function
End Class
End Class
End Namespace
| ' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
Imports System.Collections.Immutable
Imports System.Composition
Imports System.Threading
Imports Microsoft.CodeAnalysis.Completion
Imports Microsoft.CodeAnalysis.Editor.UnitTests.Extensions
Imports Microsoft.CodeAnalysis.Host.Mef
Imports Microsoft.CodeAnalysis.Snippets
Imports Microsoft.CodeAnalysis.Tags
Imports Microsoft.CodeAnalysis.VisualBasic
Imports Microsoft.VisualStudio.LanguageServices.VisualBasic.Snippets
Imports Microsoft.VisualStudio.Text
Imports Microsoft.VisualStudio.Text.Projection
Imports Roslyn.Utilities
Namespace Microsoft.CodeAnalysis.Editor.UnitTests.IntelliSense
<[UseExportProvider]>
Public Class VisualBasicCompletionCommandHandlerTests
<WorkItem(546208, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/546208")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function MultiWordKeywordCommitBehavior() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Class C
Sub M()
$$
End Sub
End Class
</Document>)
state.SendTypeChars("on")
Await state.AssertSelectedCompletionItem("On Error GoTo", description:=String.Format(FeaturesResources._0_Keyword, "On Error GoTo") + vbCrLf + VBFeaturesResources.Enables_the_error_handling_routine_that_starts_at_the_line_specified_in_the_line_argument_The_specified_line_must_be_in_the_same_procedure_as_the_On_Error_statement_On_Error_GoTo_bracket_label_0_1_bracket)
state.SendTypeChars(" ")
Await state.AssertSelectedCompletionItem("On Error GoTo", description:=String.Format(FeaturesResources._0_Keyword, "On Error GoTo") + vbCrLf + VBFeaturesResources.Enables_the_error_handling_routine_that_starts_at_the_line_specified_in_the_line_argument_The_specified_line_must_be_in_the_same_procedure_as_the_On_Error_statement_On_Error_GoTo_bracket_label_0_1_bracket)
End Using
End Function
<WorkItem(546208, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/546208")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function MultiWordKeywordCommitBehavior2() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Class C
Sub M()
$$
End Sub
End Class
</Document>)
state.SendTypeChars("next")
Await state.AssertSelectedCompletionItem("On Error Resume Next", description:=String.Format(FeaturesResources._0_Keyword, "On Error Resume Next") + vbCrLf + VBFeaturesResources.When_a_run_time_error_occurs_execution_transfers_to_the_statement_following_the_statement_or_procedure_call_that_resulted_in_the_error)
state.SendTypeChars(" ")
Await state.AssertNoCompletionSession()
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionNotShownWhenBackspacingThroughWhitespace() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Module M
Sub Goo()
If True Then $$Console.WriteLine()
End Sub
End Module
</Document>)
state.SendBackspace()
Await state.AssertNoCompletionSession()
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion), WorkItem(541032, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/541032")>
Public Async Function CompletionNotShownWhenBackspacingThroughNewline() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Module Program
Sub Main()
If True And
$$False Then
End If
End Sub
End Module
</Document>)
state.SendBackspace()
Await state.AssertNoCompletionSession()
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionAdjustInsertionText_CommitsOnOpenParens1() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
Module M
Sub FogBar()
End Sub
Sub test()
$$
End Sub
End Module
</document>)
state.SendTypeChars("Fog(")
Await state.AssertCompletionSession()
Assert.Contains(" FogBar(", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionUpAfterDot() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
Class Program
Sub Main(args As String())
Program$$
End Sub
End Class
</document>)
Await state.AssertNoCompletionSession()
state.SendTypeChars(".")
Await state.AssertCompletionSession()
End Using
End Function
<WorkItem(546432, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/546432")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Sub ImplementsCompletionFaultTolerance()
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Imports System
Class C
Sub Goo() Implements ICloneable$$
End Module
</Document>)
state.SendTypeChars(".")
End Using
End Sub
<WorkItem(5487, "https://github.com/dotnet/roslyn/issues/5487")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestCommitCharTypedAtTheBeginingOfTheFilterSpan() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class C
Public Fuction F() As Boolean
If $$
End Function
End Class
]]></Document>)
state.SendTypeChars("tru")
Await state.AssertCompletionSession()
state.SendLeftKey()
state.SendLeftKey()
state.SendLeftKey()
Await state.AssertSelectedCompletionItem(isSoftSelected:=True)
state.SendTypeChars("(")
Assert.Equal("If (tru", state.GetLineTextFromCaretPosition().Trim())
Assert.Equal("t", state.GetCaretPoint().BufferPosition.GetChar())
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionAdjustInsertionText_CommitsOnOpenParens2() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
Module M
Sub FogBar(Of T)()
End Sub
Sub test()
$$
End Sub
End Module
</document>)
state.SendTypeChars("Fog(")
Await state.AssertCompletionSession()
Assert.Contains(" FogBar(", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WorkItem(543497, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/543497")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionDismissedAfterEscape1() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
Class Program
Sub Main(args As String())
Program$$
End Sub
End Class
</document>)
Await state.AssertNoCompletionSession()
state.SendTypeChars(".")
Await state.AssertCompletionSession()
state.SendEscape()
Await state.AssertNoCompletionSession()
End Using
End Function
<WorkItem(543497, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/543497")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestEnterOnSoftSelection1() As Task
' Code must be left-aligned because of https://github.com/dotnet/roslyn/issues/27988
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
Class Program
Shared Sub Main(args As String())
Program.$$
End Sub
End Class
</document>)
state.SendInvokeCompletionList()
Await state.AssertSelectedCompletionItem("Equals", isSoftSelected:=True)
Dim caretPos = state.GetCaretPoint().BufferPosition.Position
state.SendReturn()
state.Workspace.Documents.First().GetTextView().Caret.MoveTo(New SnapshotPoint(state.Workspace.Documents.First().GetTextBuffer().CurrentSnapshot, caretPos))
Assert.Contains("Program." + vbCrLf, state.GetLineFromCurrentCaretPosition().GetTextIncludingLineBreak(), StringComparison.Ordinal)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionTestTab1() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
Module M
Sub FogBar()
End Sub
Sub test()
$$
End Sub
End Module
</document>)
state.SendTypeChars("Fog")
state.SendTab()
Await state.AssertNoCompletionSession()
Assert.Contains(" FogBar", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function DotIsInserted() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
Class Program
Sub Main(args As String())
$$
End Sub
End Class
</document>)
state.SendTypeChars("Progra.")
Await state.AssertCompletionSession()
Await state.AssertSelectedCompletionItem(displayText:="Equals", isSoftSelected:=True)
Assert.Contains("Program.", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestReturn1() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
Class Program
Sub Main(args As String())
$$
End Sub
End Class
</document>)
state.SendTypeChars("Progra")
state.SendReturn()
Await state.AssertNoCompletionSession()
Assert.Contains(<text>
Sub Main(args As String())
Program
End Sub</text>.NormalizedValue, state.GetDocumentText(), StringComparison.Ordinal)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestDown1() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
Namespace N
Class A
End Class
Class B
End Class
Class C
End Class
End Namespace
Class Program
Sub Main(args As String())
N$$
End Sub
End Class
</document>)
state.SendTypeChars(".A")
Await state.AssertCompletionSession()
Await state.AssertSelectedCompletionItem(displayText:="A", isHardSelected:=True)
state.SendDownKey()
Await state.AssertSelectedCompletionItem(displayText:="B", isHardSelected:=True)
state.SendDownKey()
Await state.AssertSelectedCompletionItem(displayText:="C", isHardSelected:=True)
state.SendDownKey()
Await state.AssertSelectedCompletionItem(displayText:="C", isHardSelected:=True)
state.SendPageUp()
Await state.AssertSelectedCompletionItem(displayText:="A", isHardSelected:=True)
state.SendUpKey()
Await state.AssertSelectedCompletionItem(displayText:="A", isHardSelected:=True)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestFirstCharacterDoesNotFilter1() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
Namespace N
Class A
End Class
Class B
End Class
Class C
End Class
End Namespace
Class Program
Sub Main(args As String())
N$$
End Sub
End Class
</document>)
state.SendTypeChars(".A")
Await state.AssertCompletionSession()
Assert.Equal(3, state.GetCompletionItems().Count)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestSecondCharacterDoesFilter1() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
Namespace N
Class AAA
End Class
Class AAB
End Class
Class BB
End Class
Class CC
End Class
End Namespace
Class Program
Sub Main(args As String())
N$$
End Sub
End Class
</document>)
state.SendTypeChars(".A")
Await state.AssertCompletionSession()
Assert.Equal(4, state.GetCompletionItems().Count)
state.SendTypeChars("A")
Await state.AssertCompletionSession()
Assert.Equal(2, state.GetCompletionItems().Count)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestNavigateSoftToHard() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
Class Program
Shared Sub Main(args As String())
Program.$$
End Sub
End Class
</document>)
state.SendInvokeCompletionList()
Await state.AssertSelectedCompletionItem(displayText:="Equals", isSoftSelected:=True)
state.SendUpKey()
Await state.AssertSelectedCompletionItem(displayText:="Equals", isHardSelected:=True)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestBackspaceBeforeCompletedComputation() As Task
' Simulate a very slow completionImplementation provider.
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
Class Program
Shared Sub Main(args As String())
Program$$
End Sub
End Class
</document>,
extraExportedTypes:={GetType(TriggeredCompletionProvider)}.ToList())
Dim completionService = DirectCast(state.Workspace.Services.GetLanguageServices(LanguageNames.VisualBasic).GetRequiredService(Of CompletionService)(), CompletionServiceWithProviders)
Dim provider = completionService.GetTestAccessor().GetAllProviders(ImmutableHashSet(Of String).Empty).OfType(Of TriggeredCompletionProvider)().Single()
Await state.AssertNoCompletionSession()
state.SendTypeChars(".M")
' We should not have a session now. Note: do not block as this will just deadlock things
' since the provider will not return.
state.AssertNoCompletionSessionWithNoBlock()
' Now, navigate back.
state.SendBackspace()
' allow the provider to continue
provider.e.Set()
' At this point, completionImplementation will be available since the caret is still within the model's span.
Await state.AssertCompletionSession()
' Now, navigate back again. Completion should be dismissed
state.SendBackspace()
Await state.AssertNoCompletionSession()
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestNavigationBeforeCompletedComputation() As Task
' Simulate a very slow completionImplementation provider.
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
Class Program
Shared Sub Main(args As String())
Program$$
End Sub
End Class
</document>,
extraExportedTypes:={GetType(TriggeredCompletionProvider)}.ToList())
Dim completionService = DirectCast(state.Workspace.Services.GetLanguageServices(LanguageNames.VisualBasic).GetRequiredService(Of CompletionService)(), CompletionServiceWithProviders)
Dim provider = completionService.GetTestAccessor().GetAllProviders(ImmutableHashSet(Of String).Empty).OfType(Of TriggeredCompletionProvider)().Single()
Await state.AssertNoCompletionSession()
state.SendTypeChars(".Ma")
' We should not have a session now. Note: do not block as this will just deadlock things
' since the provider will not return.
state.AssertNoCompletionSessionWithNoBlock()
' Now, navigate using the caret.
state.SendMoveToPreviousCharacter()
' allow the provider to continue
provider.e.Set()
' Async provider can handle keys pressed while waiting for providers.
Await state.AssertCompletionSession()
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestNavigationOutBeforeCompletedComputation() As Task
' Simulate a very slow completionImplementation provider.
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
Class Program
Shared Sub Main(args As String())
Program$$
End Sub
End Class
</document>,
extraExportedTypes:={GetType(TriggeredCompletionProvider)}.ToList())
Dim completionService = DirectCast(state.Workspace.Services.GetLanguageServices(LanguageNames.VisualBasic).GetRequiredService(Of CompletionService)(), CompletionServiceWithProviders)
Dim provider = completionService.GetTestAccessor().GetAllProviders(ImmutableHashSet(Of String).Empty).OfType(Of TriggeredCompletionProvider)().Single()
Await state.AssertNoCompletionSession()
state.SendTypeChars(".Ma")
' We should not have a session now. Note: do not block as this will just deadlock things
' since the provider will not return.
state.AssertNoCompletionSessionWithNoBlock()
' Now, navigate using the caret.
state.SendDownKey()
' allow the provider to continue
provider.e.Set()
' Caret was intended to be moved out of the span.
' Therefore, we should cancel the completion And move the caret.
Await state.AssertNoCompletionSession()
Assert.Contains(" End Sub", state.GetLineFromCurrentCaretPosition().GetText(), StringComparison.Ordinal)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestNavigateOutOfItemChangeSpan() As Task
' Code must be left-aligned because of https://github.com/dotnet/roslyn/issues/27988
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
Class Program
Shared Sub Main(args As String())
Program$$
End Sub
End Class
</document>)
Await state.AssertNoCompletionSession()
state.SendTypeChars(".Ma")
Await state.AssertCompletionSession()
state.SendMoveToPreviousCharacter()
Await state.AssertCompletionSession()
state.SendMoveToPreviousCharacter()
Await state.AssertCompletionSession()
state.SendMoveToPreviousCharacter()
Await state.AssertNoCompletionSession()
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestUndo1() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
Class Program
Shared Sub Main(args As String())
Program$$
End Sub
End Class
</document>)
Await state.AssertNoCompletionSession()
state.SendTypeChars(".Ma(")
Await state.AssertCompletionSession()
Assert.Contains(".Main(", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
state.SendUndo()
Assert.Contains(".Ma(", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestCommitAfterNavigation() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
Namespace N
Class A
End Class
Class B
End Class
Class C
End Class
End Namespace
Class Program
Sub Main(args As String())
N$$
End Sub
End Class
</document>)
state.SendTypeChars(".A")
Await state.AssertCompletionSession()
Await state.AssertSelectedCompletionItem(displayText:="A", isHardSelected:=True)
state.SendDownKey()
Await state.AssertSelectedCompletionItem(displayText:="B", isHardSelected:=True)
state.SendTab()
Assert.Contains(".B", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestFiltering1() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
Imports System
Class c
Sub Main
$$
End Sub
End Class</document>)
state.SendTypeChars("Sy")
Await state.AssertCompletionItemsContainAll("OperatingSystem", "System")
Await state.AssertCompletionItemsDoNotContainAny("Exception", "Activator")
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestMSCorLibTypes() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
Imports System
Class c
Inherits$$
End Class</document>)
state.SendTypeChars(" ")
Await state.AssertCompletionItemsContainAll("Attribute", "Exception")
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestDescription1() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
<![CDATA[Imports System
''' <summary>
''' TestDoc
''' </summary>
Class TestException
Inherits Exception
End Class
Class MyException
Inherits $$
End Class]]></document>)
state.SendTypeChars("TestEx")
Await state.AssertCompletionSession()
Await state.AssertSelectedCompletionItem(description:="Class TestException" & vbCrLf & "TestDoc")
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestObjectCreationPreselection1() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System
Imports System.Collections.Generic
Imports System.Linq
Module Program
Sub Main(args As String())
Dim x As List(Of Integer) = New$$
End Sub
End Module]]></Document>)
state.SendTypeChars(" ")
Await state.AssertSelectedCompletionItem(displayText:="List(Of Integer)", isHardSelected:=True)
Await state.AssertCompletionItemsContainAll("LinkedList", "List", "System")
state.SendTypeChars("Li")
Await state.AssertSelectedCompletionItem(displayText:="List(Of Integer)", isHardSelected:=True)
Await state.AssertCompletionItemsContainAll("LinkedList", "List")
Await state.AssertCompletionItemsDoNotContainAny("System")
state.SendTypeChars("n")
Await state.AssertSelectedCompletionItem(displayText:="LinkedList", displayTextSuffix:="(Of " & ChrW(&H2026) & ")", isHardSelected:=True)
state.SendBackspace()
Await state.AssertSelectedCompletionItem(displayText:="List(Of Integer)", isHardSelected:=True)
state.SendTab()
Assert.Contains("New List(Of Integer)", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WorkItem(287, "https://github.com/dotnet/roslyn/issues/287")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)> Public Async Function NotEnumPreselectionAfterBackspace() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Enum E
Bat
End Enum
Class C
Sub Test(param As E)
Dim b As E
Test(b.$$)
End Sub
End Class]]></Document>)
state.SendBackspace()
Await state.AssertSelectedCompletionItem(displayText:="b", isHardSelected:=True)
End Using
End Function
<WorkItem(543496, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/543496")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestNumericLiteralWithNoMatch() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Imports System
Module Program
Sub Main(args As String())
Dim i =$$
End Sub
End Module</Document>)
state.SendTypeChars(" 0")
Await state.AssertNoCompletionSession()
state.SendReturn()
Await state.AssertNoCompletionSession()
Assert.Equal(<Document>
Imports System
Module Program
Sub Main(args As String())
Dim i = 0
End Sub
End Module</Document>.NormalizedValue, state.GetDocumentText())
End Using
End Function
<WorkItem(543496, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/543496")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestNumericLiteralWithPartialMatch() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Imports System
Module Program
Sub Main(args As String())
Dim i =$$
End Sub
End Module</Document>)
' Could match Int32
' kayleh 1/17/2013, but we decided to have #s always dismiss the list in bug 547287
state.SendTypeChars(" 3")
Await state.AssertNoCompletionSession()
state.SendReturn()
Await state.AssertNoCompletionSession()
Assert.Equal(<Document>
Imports System
Module Program
Sub Main(args As String())
Dim i = 3
End Sub
End Module</Document>.NormalizedValue, state.GetDocumentText())
End Using
End Function
<WorkItem(543496, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/543496")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestNumbersAfterLetters() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Imports System
Module Program
Sub Main(args As String())
Dim i =$$
End Sub
End Module</Document>)
' Could match Int32
state.SendTypeChars(" I3")
Await state.AssertCompletionSession()
Await state.AssertSelectedCompletionItem(displayText:="Int32", isHardSelected:=True)
state.SendReturn()
Await state.AssertNoCompletionSession()
Assert.Equal(<Document>
Imports System
Module Program
Sub Main(args As String())
Dim i = Int32
End Sub
End Module</Document>.NormalizedValue, state.GetDocumentText())
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestNotAfterTypingDotAfterIntegerLiteral() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
class c
sub M()
WriteLine(3$$
end sub
end class
</Document>)
state.SendTypeChars(".")
Await state.AssertNoCompletionSession()
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestAfterExplicitInvokeAfterDotAfterIntegerLiteral() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
class c
sub M()
WriteLine(3.$$
end sub
end class
</Document>)
state.SendInvokeCompletionList()
Await state.AssertCompletionItemsContainAll("ToString")
End Using
End Function
<WorkItem(543669, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/543669")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestDeleteWordToLeft() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
class c
sub M()
$$
end sub
end class
</Document>)
state.SendTypeChars("Dim i =")
Await state.AssertCompletionSession()
state.SendDeleteWordToLeft()
Await state.AssertNoCompletionSession()
End Using
End Function
<WorkItem(543617, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/543617")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestCompletionGenericWithOpenParen() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
class c
sub Goo(Of X)()
$$
end sub
end class
</Document>)
state.SendTypeChars("Go(")
Await state.AssertCompletionSession()
Assert.Equal(" Goo(", state.GetLineTextFromCaretPosition())
Assert.DoesNotContain("Goo(Of", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WorkItem(543617, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/543617")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestCompletionGenericWithSpace() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
class c
sub Goo(Of X)()
$$
end sub
end class
</Document>)
state.SendTypeChars("Go ")
Await state.AssertCompletionSession()
Assert.Equal(" Goo(Of ", state.GetLineTextFromCaretPosition())
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CommitForImportsStatement1() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
$$
</Document>)
state.SendTypeChars("Imports Sys")
Await state.AssertSelectedCompletionItem(displayText:="System", isHardSelected:=True)
state.SendTypeChars("(")
Await state.AssertNoCompletionSession()
Assert.Contains("Imports Sys(", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CommitForImportsStatement2() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
$$
</Document>)
state.SendTypeChars("Imports Sys")
Await state.AssertSelectedCompletionItem(displayText:="System", isHardSelected:=True)
state.SendTypeChars(".")
Await state.AssertCompletionSession()
Assert.Contains("Imports System.", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CommitForImportsStatement3() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
$$
</Document>)
state.SendTypeChars("Imports Sys")
Await state.AssertSelectedCompletionItem(displayText:="System", isHardSelected:=True)
state.SendTypeChars(" ")
Await state.AssertNoCompletionSession()
Assert.Contains("Imports Sys ", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WorkItem(544190, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/544190")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function DoNotInsertEqualsForNamedParameterCommitWithColon() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Class Class1
Sub Method()
Test($$
End Sub
Sub Test(Optional x As Integer = 42)
End Sub
End Class
</Document>)
state.SendTypeChars("x:")
Await state.AssertNoCompletionSession()
Assert.DoesNotContain(":=", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WorkItem(544190, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/544190")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function DoInsertEqualsForNamedParameterCommitWithSpace() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Class Class1
Sub Method()
Test($$
End Sub
Sub Test(Optional x As Integer = 42)
End Sub
End Class
</Document>)
state.SendTypeChars("x")
state.SendTab()
Await state.AssertNoCompletionSession()
Assert.Contains(":=", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WorkItem(544150, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/544150")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function ConsumeHashForPreprocessorCompletion() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
$$
</Document>)
state.SendTypeChars("#re")
state.SendTab()
Await state.AssertNoCompletionSession()
Assert.Equal("#Region", state.GetLineTextFromCaretPosition())
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function EnumCompletionTriggeredOnSpace() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Enum Numeros
Uno
Dos
End Enum
Class Goo
Sub Bar(a As Integer, n As Numeros)
End Sub
Sub Baz()
Bar(0$$
End Sub
End Class
</Document>)
state.SendTypeChars(", ")
Await state.AssertSelectedCompletionItem(displayText:="Numeros.Dos", isSoftSelected:=True)
End Using
End Function
<ExportCompletionProvider(NameOf(TriggeredCompletionProvider), LanguageNames.VisualBasic)>
<[Shared]>
<PartNotDiscoverable>
Friend Class TriggeredCompletionProvider
Inherits MockCompletionProvider
Public ReadOnly e As ManualResetEvent = New ManualResetEvent(False)
<ImportingConstructor>
<Obsolete(MefConstruction.ImportingConstructorMessage, True)>
Public Sub New()
MyBase.New(getItems:=Function(t, p, c)
Return Nothing
End Function,
isTriggerCharacter:=Function(t, p) True)
End Sub
Public Overrides Function ProvideCompletionsAsync(context As CompletionContext) As Task
e.WaitOne()
Return MyBase.ProvideCompletionsAsync(context)
End Function
End Class
<WorkItem(544297, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/544297")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestVerbatimNamedIdentifierFiltering() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Class Class1
Private Sub Test([string] As String)
Test($$
End Sub
End Class
</Document>)
state.SendTypeChars("s")
Await state.AssertCompletionSession()
Await state.AssertCompletionItemsContain("string", ":=")
state.SendTypeChars("t")
Await state.AssertCompletionSession()
Await state.AssertCompletionItemsContain("string", ":=")
End Using
End Function
<WorkItem(544299, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/544299")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestExclusiveNamedParameterCompletion() As Task
Using state = TestStateFactory.CreateTestStateFromWorkspace(
<Workspace>
<Project Language="Visual Basic" CommonReferences="true" LanguageVersion="15">
<Document>
Class Class1
Private Sub Test()
Goo(bool:=False,$$
End Sub
Private Sub Goo(str As String, character As Char)
End Sub
Private Sub Goo(str As String, bool As Boolean)
End Sub
End Class
</Document>
</Project>
</Workspace>)
state.SendTypeChars(" ")
Await state.AssertCompletionSession()
Assert.Equal(1, state.GetCompletionItems().Count)
Await state.AssertCompletionItemsContain("str", ":=")
End Using
End Function
<WorkItem(544299, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/544299")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestExclusiveNamedParameterCompletion2() As Task
Using state = TestStateFactory.CreateTestStateFromWorkspace(
<Workspace>
<Project Language="Visual Basic" CommonReferences="true" LanguageVersion="15">
<Document>
Class Goo
Private Sub Test()
Dim m As Object = Nothing
Method(obj:=m, $$
End Sub
Private Sub Method(obj As Object, num As Integer, str As String)
End Sub
Private Sub Method(dbl As Double, str As String)
End Sub
Private Sub Method(num As Integer, b As Boolean, str As String)
End Sub
Private Sub Method(obj As Object, b As Boolean, str As String)
End Sub
End Class
</Document>
</Project>
</Workspace>)
state.SendTypeChars(" ")
Await state.AssertCompletionSession()
Assert.Equal(3, state.GetCompletionItems().Count)
Await state.AssertCompletionItemsContain("b", ":=")
Await state.AssertCompletionItemsContain("num", ":=")
Await state.AssertCompletionItemsContain("str", ":=")
Assert.False(state.GetCompletionItems().Any(Function(i) i.DisplayText = "dbl" AndAlso i.DisplayTextSuffix = ":="))
End Using
End Function
<WorkItem(544471, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/544471")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestDontCrashOnEmptyParameterList() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
<Obsolete()$$>
</Document>)
state.SendTypeChars(" ")
Await state.AssertNoCompletionSession()
End Using
End Function
<WorkItem(544628, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/544628")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function OnlyMatchOnLowercaseIfPrefixWordMatch() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Module Program
$$
End Module
</Document>)
state.SendTypeChars("z")
Await state.AssertCompletionSession()
Await state.AssertSelectedCompletionItem("#Const", isSoftSelected:=True)
End Using
End Function
<WorkItem(544989, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/544989")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function MyBaseFinalize() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Class C
Protected Overrides Sub Finalize()
MyBase.Finalize$$
End Sub
End Class
</Document>)
state.SendTypeChars("(")
Await state.AssertSignatureHelpSession()
Await state.AssertSignatureHelpItemsContainAll({"Object.Finalize()"})
End Using
End Function
<WorkItem(551117, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/551117")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestNamedParameterSortOrder() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Imports System
Module Program
Sub Main(args As String())
Main($$
End Sub
End Module
</Document>)
state.SendTypeChars("a")
Await state.AssertCompletionSession()
Await state.AssertSelectedCompletionItem("args", isHardSelected:=True)
state.SendDownKey()
Await state.AssertSelectedCompletionItem("args", displayTextSuffix:=":=", isHardSelected:=True)
End Using
End Function
<WorkItem(546810, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/546810")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestLineContinuationCharacter() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Imports System
Module Program
Sub Main()
Dim x = New $$
End Sub
End Module
</Document>)
state.SendTypeChars("_")
Await state.AssertCompletionSession()
Await state.AssertSelectedCompletionItem("_AppDomain", isHardSelected:=False)
End Using
End Function
<WorkItem(547287, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/547287")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestNumberDismissesCompletion() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Imports System
Module Program
Sub Main()
Console.WriteLine$$
End Sub
End Module
</Document>)
state.SendTypeChars("(")
Await state.AssertCompletionSession()
state.SendTypeChars(".")
Await state.AssertNoCompletionSession()
state.SendBackspace()
state.SendBackspace()
state.SendTypeChars("(")
Await state.AssertCompletionSession()
state.SendTypeChars("-")
Await state.AssertNoCompletionSession()
state.SendBackspace()
state.SendBackspace()
state.SendTypeChars("(")
Await state.AssertCompletionSession()
state.SendTypeChars("1")
Await state.AssertNoCompletionSession()
End Using
End Function
<WpfFact(Skip:="https://github.com/dotnet/roslyn/issues/27446"), Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestProjections() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
{|S1:
Imports System
Module Program
Sub Main(arg As String)
Dim bbb = 234
Console.WriteLine$$
End Sub
End Module|} </Document>)
Dim subjectDocument = state.Workspace.Documents.First()
Dim firstProjection = state.Workspace.CreateProjectionBufferDocument(
<Document>
{|S1:|}
{|S2: some text that's mapped to the surface buffer |}
</Document>.NormalizedValue, {subjectDocument}, options:=ProjectionBufferOptions.WritableLiteralSpans)
Dim topProjectionBuffer = state.Workspace.CreateProjectionBufferDocument(
<Document>
{|S1:|}
{|S2:|}
</Document>.NormalizedValue, {firstProjection}, options:=ProjectionBufferOptions.WritableLiteralSpans)
' Test a view that has a subject buffer with multiple projection buffers in between
Dim view = topProjectionBuffer.GetTextView()
Dim subjectBuffer = subjectDocument.GetTextBuffer()
state.SendTypeCharsToSpecificViewAndBuffer("(", view, subjectBuffer)
Await state.AssertCompletionSession(view)
state.SendTypeCharsToSpecificViewAndBuffer("a", view, subjectBuffer)
Await state.AssertSelectedCompletionItem(displayText:="arg", projectionsView:=view)
Dim text = view.TextSnapshot.GetText()
Dim projection = DirectCast(topProjectionBuffer.GetTextBuffer(), IProjectionBuffer)
Dim sourceSpans = projection.CurrentSnapshot.GetSourceSpans()
' unmap our source spans without changing the top buffer
projection.ReplaceSpans(0, sourceSpans.Count, {subjectBuffer.CurrentSnapshot.CreateTrackingSpan(0, subjectBuffer.CurrentSnapshot.Length, SpanTrackingMode.EdgeInclusive)}, EditOptions.DefaultMinimalChange, editTag:=Nothing)
state.SendBackspace()
state.SendTypeChars("b")
Await state.AssertSelectedCompletionItem(displayText:="bbb")
' prepare to remap our subject buffer
Dim subjectBufferText = subjectDocument.GetTextBuffer().CurrentSnapshot.GetText()
Using edit = subjectDocument.GetTextBuffer().CreateEdit(EditOptions.DefaultMinimalChange, reiteratedVersionNumber:=Nothing, editTag:=Nothing)
edit.Replace(New Span(0, subjectBufferText.Length), subjectBufferText.Replace("Console.WriteLine(a", "Console.WriteLine(b"))
edit.Apply()
End Using
Dim replacementSpans = sourceSpans.Select(Function(ss)
If ss.Snapshot.TextBuffer.ContentType.TypeName = "inert" Then
Return DirectCast(ss.Snapshot.GetText(ss.Span), Object)
Else
Return DirectCast(ss.Snapshot.CreateTrackingSpan(ss.Span, SpanTrackingMode.EdgeExclusive), Object)
End If
End Function).ToList()
projection.ReplaceSpans(0, 1, replacementSpans, EditOptions.DefaultMinimalChange, editTag:=Nothing)
' the same completionImplementation session should still be active after the remapping.
Await state.AssertSelectedCompletionItem(displayText:="bbb", projectionsView:=view)
state.SendTypeCharsToSpecificViewAndBuffer("b", view, subjectBuffer)
Await state.AssertSelectedCompletionItem(displayText:="bbb", projectionsView:=view)
' verify we can commit even when unmapped
projection.ReplaceSpans(0, projection.CurrentSnapshot.GetSourceSpans.Count, {projection.CurrentSnapshot.GetText()}, EditOptions.DefaultMinimalChange, editTag:=Nothing)
Await state.SendCommitUniqueCompletionListItemAsync()
Assert.Contains(<text>
Imports System
Module Program
Sub Main(arg As String)
Dim bbb = 234
Console.WriteLine(bbb
End Sub
End Module </text>.NormalizedValue, state.GetDocumentText(), StringComparison.Ordinal)
End Using
End Function
<WorkItem(622957, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/622957")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestBangFiltersInDocComment() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
''' $$
Public Class TestClass
End Class
]]></Document>)
state.SendTypeChars("<")
Await state.AssertCompletionSession()
state.SendTypeChars("!")
Await state.AssertCompletionSession()
Await state.AssertSelectedCompletionItem("!--")
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionUpAfterBackSpacetoWord() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Public E$$
</Document>)
state.SendBackspace()
Await state.AssertCompletionSession()
state.SendBackspace()
Await state.AssertNoCompletionSession()
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function NoCompletionAfterBackspaceInStringLiteral() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Sub Goo()
Dim z = "aa$$"
End Sub
</Document>)
state.SendBackspace()
Await state.AssertNoCompletionSession()
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionUpAfterDeleteDot() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Sub Goo()
Dim z = "a"
z.$$ToString()
End Sub
</Document>)
state.SendBackspace()
Await state.AssertCompletionSession()
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function NotCompletionUpAfterDeleteRParen() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Sub Goo()
"a".ToString()$$
End Sub
</Document>)
state.SendBackspace()
Await state.AssertNoCompletionSession()
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function NotCompletionUpAfterDeleteLParen() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Sub Goo()
"a".ToString($$
End Sub
</Document>)
state.SendBackspace()
Await state.AssertNoCompletionSession()
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function NotCompletionUpAfterDeleteComma() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Sub Goo(x as Integer, y as Integer)
Goo(1,$$)
End Sub
</Document>)
state.SendBackspace()
Await state.AssertNoCompletionSession()
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionAfterDeleteKeyword() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Sub Goo(x as Integer, y as Integer)
Goo(1,2)
End$$ Sub
</Document>)
state.SendBackspace()
Await state.AssertCompletionSession()
Await state.AssertSelectedCompletionItem("End", description:=String.Format(FeaturesResources._0_Keyword, "End") + vbCrLf + VBFeaturesResources.Stops_execution_immediately)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function NoCompletionOnBackspaceAtBeginningOfFile() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>$$</Document>)
state.SendBackspace()
Await state.AssertNoCompletionSession()
End Using
End Function
<WpfFact(), Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionUpAfterLeftCurlyBrace() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
Imports System
Imports System.Collections.Generic
Imports System.Linq
Module Program
Sub Main(args As String())
Dim l As New List(Of Integer) From $$
End Sub
End Module
</document>)
Await state.AssertNoCompletionSession()
state.SendTypeChars("{")
Await state.AssertCompletionSession()
End Using
End Function
<WpfFact(), Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionUpAfterLeftAngleBracket() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<document>
$$
Module Program
Sub Main(args As String())
End Sub
End Module
</document>)
Await state.AssertNoCompletionSession()
state.SendTypeChars("<")
Await state.AssertCompletionSession()
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function InvokeCompletionDoesNotFilter() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System
Class G
Sub goo()
Dim x as String$$
End Sub
End Class
]]></Document>)
state.SendInvokeCompletionList()
Await state.AssertSelectedCompletionItem("String")
Await state.AssertCompletionItemsContainAll("Integer", "G")
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function InvokeCompletionSelectsWithoutRegardToCaretPosition() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System
Class G
Sub goo()
Dim x as Str$$ing
End Sub
End Class
]]></Document>)
state.SendInvokeCompletionList()
Await state.AssertSelectedCompletionItem("String")
Await state.AssertCompletionItemsContainAll("Integer", "G")
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function InvokeCompletionBeforeWordDoesNotSelect() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System
Class G
Sub goo()
Dim x as $$String
End Sub
End Class
]]></Document>)
state.SendInvokeCompletionList()
Await state.AssertSelectedCompletionItem("AccessViolationException")
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function BackspaceCompletionInvokedSelectedAndUnfiltered() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System
Class G
Sub goo()
Dim x as String$$
End Sub
End Class
]]></Document>)
state.SendBackspace()
Await state.AssertSelectedCompletionItem("String")
Await state.AssertCompletionItemsContainAll("Integer", "G")
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function ListDismissedIfNoMatches() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System
Class G
Sub goo()
Dim x as $$
End Sub
End Class
]]></Document>)
state.SendTypeChars("str")
Await state.AssertCompletionSession()
Await state.AssertSelectedCompletionItem("String", isHardSelected:=True)
state.SendTypeChars("gg")
Await state.AssertNoCompletionSession()
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function InvokeCompletionComesUpEvenIfNoMatches() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System
Class G
Sub goo()
Dim x as gggg$$
End Sub
End Class
]]></Document>)
state.SendInvokeCompletionList()
Await state.AssertCompletionSession()
End Using
End Function
<WorkItem(674422, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/674422")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function BackspaceInvokeCompletionComesUpEvenIfNoMatches() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System
Class G
Sub goo()
Dim x as gggg$$
End Sub
End Class
]]></Document>)
state.SendBackspace()
Await state.AssertCompletionSession()
state.SendBackspace()
Await state.AssertCompletionSession()
End Using
End Function
<WorkItem(674366, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/674366")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function BackspaceCompletionSelects() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System
Class G
Sub goo()
Dim x as Integrr$$
End Sub
End Class
]]></Document>)
state.SendBackspace()
Await state.AssertCompletionSession()
Await state.AssertSelectedCompletionItem("Integer")
End Using
End Function
<WorkItem(675555, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/675555")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function BackspaceCompletionNeverFilters() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System
Class G
Sub goo()
Dim x as String$$
End Sub
End Class
]]></Document>)
state.SendBackspace()
Await state.AssertCompletionSession()
Await state.AssertCompletionItemsContainAll("AccessViolationException")
state.SendBackspace()
Await state.AssertCompletionSession()
Await state.AssertCompletionItemsContainAll("AccessViolationException")
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Sub TabAfterQuestionMarkInEmptyLine()
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System
Class G
Sub goo()
?$$
End Sub
End Class
]]></Document>)
state.SendTab()
Assert.Equal(state.GetLineTextFromCaretPosition(), " ?" + vbTab)
End Using
End Sub
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Sub TabAfterTextFollowedByQuestionMark()
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System
Class G
Sub goo()
a?$$
End Sub
End Class
]]></Document>)
state.SendTab()
Assert.Equal(state.GetLineTextFromCaretPosition(), " a")
End Using
End Sub
<WorkItem(669942, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/669942")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function DistinguishItemsWithDifferentGlyphs() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System
Imports System.Linq
Class Test
Sub [Select]()
End Sub
Sub Goo()
Dim k As Integer = 1
$$
End Sub
End Class
]]></Document>)
state.SendTypeChars("selec")
Await state.AssertCompletionSession()
Assert.Equal(state.GetCompletionItems().Count, 2)
End Using
End Function
<WorkItem(670149, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/670149")>
<WpfFact(), Trait(Traits.Feature, Traits.Features.Completion)>
Public Sub TabAfterNullableFollowedByQuestionMark()
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System
Class G
Dim a As Integer?$$
End Class
]]></Document>)
state.SendTab()
Assert.Equal(state.GetLineTextFromCaretPosition(), " Dim a As Integer?" + vbTab)
End Using
End Sub
<WorkItem(672474, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/672474")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestInvokeSnippetCommandDismissesCompletion() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>$$</Document>)
state.SendTypeChars("Imp")
Await state.AssertCompletionSession()
state.SendInsertSnippetCommand()
Await state.AssertNoCompletionSession()
End Using
End Function
<WorkItem(672474, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/672474")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestSurroundWithCommandDismissesCompletion() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>$$</Document>)
state.SendTypeChars("Imp")
Await state.AssertCompletionSession()
state.SendSurroundWithCommand()
Await state.AssertNoCompletionSession()
End Using
End Function
<WorkItem(716117, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/716117")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function XmlCompletionNotTriggeredOnBackspaceInText() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
''' <summary>
''' text$$
''' </summary>
Class G
Dim a As Integer?
End Class]]></Document>)
state.SendBackspace()
Await state.AssertNoCompletionSession()
End Using
End Function
<WorkItem(716117, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/716117")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function XmlCompletionNotTriggeredOnBackspaceInTag() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
''' <summary$$>
''' text
''' </summary>
Class G
Dim a As Integer?
End Class]]></Document>)
state.SendBackspace()
Await state.AssertCompletionSession()
Await state.AssertSelectedCompletionItem("summary")
End Using
End Function
<WorkItem(674415, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/674415")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function BackspacingLastCharacterDismisses() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>$$</Document>)
state.SendTypeChars("A")
Await state.AssertCompletionSession()
state.SendBackspace()
Await state.AssertNoCompletionSession()
End Using
End Function
<WorkItem(719977, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/719977")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function HardSelectionWithBuilderAndOneExactMatch() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>Module M
Public $$
End Module</Document>)
state.SendTypeChars("sub")
Await state.AssertCompletionSession()
Await state.AssertSelectedCompletionItem("Sub")
Assert.True(state.HasSuggestedItem())
End Using
End Function
<WorkItem(828603, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/828603")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function SoftSelectionWithBuilderAndNoExactMatch() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>Module M
Public $$
End Module</Document>)
state.SendTypeChars("prop")
Await state.AssertCompletionSession()
Await state.AssertSelectedCompletionItem("Property", isSoftSelected:=True)
Assert.True(state.HasSuggestedItem())
End Using
End Function
' The test verifies the CommitCommandHandler isolated behavior which does not add '()' after 'Main'.
' The integrated VS behavior for the case is to get 'Main()'.
<WorkItem(792569, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/792569")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Sub CommitOnEnter()
Dim expected = <Document>Module M
Sub Main()
Main
End Sub
End Module</Document>.Value.Replace(vbLf, vbCrLf)
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>Module M
Sub Main()
Ma$$i
End Sub
End Module</Document>)
state.SendInvokeCompletionList()
state.SendReturn()
Assert.Equal(expected, state.GetDocumentText())
End Using
End Sub
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Sub TestEnterIsConsumedWithAfterFullyTypedWordOption_NotFullyTyped()
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Class Class1
Sub Main(args As String())
$$
End Sub
End Class
</Document>)
Dim workspace = state.Workspace
workspace.TryApplyChanges(workspace.CurrentSolution.WithOptions(workspace.Options _
.WithChangedOption(CompletionOptions.EnterKeyBehavior, LanguageNames.VisualBasic, EnterKeyRule.AfterFullyTypedWord)))
state.SendTypeChars("System.TimeSpan.FromMin")
state.SendReturn()
Assert.Equal(<text>
Class Class1
Sub Main(args As String())
System.TimeSpan.FromMinutes
End Sub
End Class
</text>.NormalizedValue, state.GetDocumentText())
End Using
End Sub
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Sub TestEnterIsConsumedWithAfterFullyTypedWordOption_FullyTyped()
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Class Class1
Sub Main(args As String())
$$
End Sub
End Class
</Document>)
Dim workspace = state.Workspace
workspace.TryApplyChanges(workspace.CurrentSolution.WithOptions(workspace.Options _
.WithChangedOption(CompletionOptions.EnterKeyBehavior, LanguageNames.VisualBasic, EnterKeyRule.AfterFullyTypedWord)))
state.SendTypeChars("System.TimeSpan.FromMinutes")
state.SendReturn()
Assert.Equal(<text>
Class Class1
Sub Main(args As String())
System.TimeSpan.FromMinutes
End Sub
End Class
</text>.NormalizedValue, state.GetDocumentText())
End Using
End Sub
<WorkItem(546208, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/546208")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function SelectKeywordFirst() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Class C
Sub M()
$$
End Sub
Sub GetType()
End Sub
End Class
</Document>)
state.SendTypeChars("GetType")
Await state.AssertSelectedCompletionItem(
displayText:="GetType",
displayTextSuffix:=String.Empty,
description:=VBFeaturesResources.GetType_function + vbCrLf +
VBWorkspaceResources.Returns_a_System_Type_object_for_the_specified_type_name + vbCrLf +
$"GetType({VBWorkspaceResources.typeName}) As Type")
End Using
End Function
<WorkItem(828392, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/828392")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function ConstructorFiltersAsNew() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Public Class Base
Public Sub New(x As Integer)
End Sub
End Class
Public Class Derived
Inherits Base
Public Sub New(x As Integer)
MyBase.$$
End Sub
End Class
</Document>)
state.SendTypeChars("New")
Await state.AssertSelectedCompletionItem("New", isHardSelected:=True)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function NoUnmentionableTypeInObjectCreation() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Public Class C
Sub Goo()
Dim a = new$$
End Sub
End Class
</Document>)
state.SendTypeChars(" ")
Await state.AssertSelectedCompletionItem("AccessViolationException", isSoftSelected:=True)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function FilterPreferEnum() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Enum E
Goo
Bar
End Enum
Class Goo
End Class
Public Class C
Sub Goo()
E e = $$
End Sub
End Class</Document>)
state.SendTypeChars("g")
Await state.AssertSelectedCompletionItem("E.Goo", isHardSelected:=True)
End Using
End Function
<WorkItem(883295, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/883295")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function InsertOfOnSpace() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Imports System.Threading.Tasks
Public Class C
Sub Goo()
Dim a as $$
End Sub
End Class
</Document>)
state.SendTypeChars("Task")
Await state.WaitForUIRenderedAsync()
state.SendDownKey()
state.SendTypeChars(" ")
Assert.Equal(" Dim a as Task(Of ", state.GetLineTextFromCaretPosition())
End Using
End Function
<WorkItem(883295, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/883295")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Sub DoNotInsertOfOnTab()
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Imports System.Threading.Tasks
Public Class C
Sub Goo()
Dim a as $$
End Sub
End Class
</Document>)
state.SendTypeChars("Task")
state.SendTab()
Assert.Equal(state.GetLineTextFromCaretPosition(), " Dim a as Task")
End Using
End Sub
<WorkItem(899414, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/899414")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function NotInPartialMethodDeclaration() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Module Module1
Sub Main()
End Sub
End Module
Public Class Class2
Partial Private Sub PartialMethod(ByVal x As Integer)
$$
End Sub
End Class</Document>)
state.SendInvokeCompletionList()
Await state.AssertNoCompletionSession()
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestCompletionInLinkedFiles() As Task
Using state = TestStateFactory.CreateTestStateFromWorkspace(
<Workspace>
<Project Language="Visual Basic" CommonReferences="true" AssemblyName="VBProj" PreprocessorSymbols="Thing2=True">
<Document FilePath="C.vb">
Class C
Sub M()
$$
End Sub
#If Thing1 Then
Sub Thing1()
End Sub
#End If
#If Thing2 Then
Sub Thing2()
End Sub
#End If
End Class
</Document>
</Project>
<Project Language="Visual Basic" CommonReferences="true" PreprocessorSymbols="Thing1=True">
<Document IsLinkFile="true" LinkAssemblyName="VBProj" LinkFilePath="C.vb"/>
</Project>
</Workspace>)
Dim documents = state.Workspace.Documents
Dim linkDocument = documents.Single(Function(d) d.IsLinkFile)
state.SendTypeChars("Thi")
Await state.AssertSelectedCompletionItem("Thing1")
state.SendBackspace()
state.SendBackspace()
state.SendBackspace()
state.Workspace.SetDocumentContext(linkDocument.Id)
state.SendTypeChars("Thi")
Await state.AssertSelectedCompletionItem("Thing1")
End Using
End Function
<WorkItem(916452, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/916452")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function SoftSelectedWithNoFilterText() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Imports System
Class C
Public Sub M(day As DayOfWeek)
M$$
End Sub
End Class</Document>)
state.SendTypeChars("(")
Await state.AssertCompletionSession()
Assert.True(state.IsSoftSelected())
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function EnumSortingOrder() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Imports System
Class C
Public Sub M(day As DayOfWeek)
M$$
End Sub
End Class</Document>)
state.SendTypeChars("(")
Await state.AssertCompletionSession()
' DayOfWeek.Monday should immediately follow DayOfWeek.Friday
Dim friday = state.GetCompletionItems().First(Function(i) i.DisplayText = "DayOfWeek.Friday")
Dim monday = state.GetCompletionItems().First(Function(i) i.DisplayText = "DayOfWeek.Monday")
Assert.True(state.GetCompletionItems().IndexOf(friday) = state.GetCompletionItems().IndexOf(monday) - 1)
End Using
End Function
<WorkItem(951726, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/951726")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function DismissUponSave() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class C
$$
End Class]]></Document>)
state.SendTypeChars("Su")
Await state.AssertSelectedCompletionItem("Sub")
state.SendSave()
Await state.AssertNoCompletionSession()
state.AssertMatchesTextStartingAtLine(2, " Su")
End Using
End Function
<WorkItem(969794, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/969794")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function DeleteCompletionInvokedSelectedAndUnfiltered() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System
Class G
Sub goo()
Dim x as Stri$$ng
End Sub
End Class
]]></Document>)
state.SendDelete()
Await state.AssertSelectedCompletionItem("String")
End Using
End Function
<WorkItem(871755, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/871755")>
<WorkItem(954556, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/954556")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function FilterPrefixOnlyOnBackspace1() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System
Class G
Public Re$$
End Class
]]></Document>)
state.SendBackspace()
Await state.AssertSelectedCompletionItem("ReadOnly")
state.SendTypeChars("a")
Await state.AssertNoCompletionSession()
End Using
End Function
<WorkItem(969040, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/969040")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function BackspaceTriggerOnlyIfOptionEnabled() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System
Class G
Public Re$$
End Class
]]></Document>)
Dim workspace = state.Workspace
workspace.TryApplyChanges(workspace.CurrentSolution.WithOptions(workspace.Options _
.WithChangedOption(CompletionOptions.TriggerOnTyping, LanguageNames.VisualBasic, False)))
state.SendBackspace()
Await state.AssertNoCompletionSession()
End Using
End Function
<WorkItem(957450, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/957450")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function KeywordsForIntrinsicsDeduplicated() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System
Class G
Sub Goo()
$$
End Sub
End Class
]]></Document>)
state.SendInvokeCompletionList()
Await state.AssertCompletionSession()
' Should only have one item called 'Double' and it should have a keyword glyph
Dim doubleItem = state.GetCompletionItems().Single(Function(c) c.DisplayText = "Double")
Assert.True(doubleItem.Tags.Contains(WellKnownTags.Keyword))
End Using
End Function
<WorkItem(957450, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/957450")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function KeywordDeduplicationLeavesEscapedIdentifiers() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System
Class [Double]
Sub Goo()
Dim x as $$
End Sub
End Class
]]></Document>)
state.SendInvokeCompletionList()
Await state.AssertCompletionSession()
' We should have gotten the item corresponding to [Double] and the item for the Double keyword
Dim doubleItems = state.GetCompletionItems().Where(Function(c) c.DisplayText = "Double")
Assert.Equal(2, doubleItems.Count())
Assert.True(doubleItems.Any(Function(c) c.Tags.Contains(WellKnownTags.Keyword)))
Assert.True(doubleItems.Any(Function(c) c.Tags.Contains(WellKnownTags.Class) AndAlso c.Tags.Contains(WellKnownTags.Internal)))
End Using
End Function
<WorkItem(957450, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/957450")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestEscapedItemCommittedWithCloseBracket() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System
Class [Interface]
Sub Goo()
Dim x As $$
End Sub
End Class
]]></Document>)
state.SendInvokeCompletionList()
Await state.AssertCompletionSession()
state.SendTypeChars("Interf]")
state.AssertMatchesTextStartingAtLine(4, "Dim x As [Interface]")
End Using
End Function
<WorkItem(1075298, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/1075298")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Sub CommitOnQuestionMarkForConditionalAccess()
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System
Class G
Sub Goo()
Dim x = String.$$
End Sub
End Class
]]></Document>)
state.SendTypeChars("emp?")
state.AssertMatchesTextStartingAtLine(4, "Dim x = String.Empty?")
End Using
End Sub
<WorkItem(1659, "https://github.com/dotnet/roslyn/issues/1659")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function DismissOnSelectAllCommand() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class C
Sub goo()
$$]]></Document>)
' Note: the caret is at the file, so the Select All command's movement
' of the caret to the end of the selection isn't responsible for
' dismissing the session.
state.SendInvokeCompletionList()
Await state.AssertCompletionSession()
state.SendSelectAll()
Await state.AssertNoCompletionSession()
End Using
End Function
<WorkItem(3088, "https://github.com/dotnet/roslyn/issues/3088")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function DoNotPreferParameterNames() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Module Program
Sub Main(args As String())
Dim Table As Integer
goo(table$$)
End Sub
Sub goo(table As String)
End Sub
End Module]]></Document>)
state.SendInvokeCompletionList()
Await state.AssertSelectedCompletionItem("Table")
End Using
End Function
<WorkItem(4892, "https://github.com/dotnet/roslyn/issues/4892")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function BooleanPreselection1() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Module Program
Sub Main(args As String())
Dim x as boolean = $$
End Sub
End Module]]></Document>)
state.SendTypeChars("f")
Await state.AssertSelectedCompletionItem("False")
state.SendBackspace()
state.SendTypeChars("t")
Await state.AssertSelectedCompletionItem("True")
End Using
End Function
<WorkItem(4892, "https://github.com/dotnet/roslyn/issues/4892")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function BooleanPreselection2() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Module Program
Sub Main(args As String())
foot($$
End Sub
Sub foot(x as boolean)
End Sub
End Module]]></Document>)
state.SendTypeChars("f")
Await state.AssertSelectedCompletionItem("False")
state.SendBackspace()
state.SendTypeChars("t")
Await state.AssertSelectedCompletionItem("True")
End Using
End Function
<WorkItem(4892, "https://github.com/dotnet/roslyn/issues/4892")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function BooleanPreselection3() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Module Program
Class F
End Class
Class T
End Class
Sub Main(args As String())
$$
End Sub
End Module]]></Document>)
state.SendTypeChars("f")
Await state.AssertSelectedCompletionItem("F")
state.SendBackspace()
state.SendTypeChars("t")
Await state.AssertSelectedCompletionItem("T")
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TargetTypePreselection1() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System.Threading
Module Program
Sub Cancel(x As Integer, cancellationToken As CancellationToken)
Cancel(x + 1, $$)
End Sub
End Module]]></Document>)
state.SendInvokeCompletionList()
Await state.AssertSelectedCompletionItem("cancellationToken").ConfigureAwait(True)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TargetTypePreselection2() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Module Program
Sub Main(args As String())
Dim aaz As Integer
args = $$
End Sub
End Module]]></Document>)
state.SendTypeChars("a")
Await state.AssertSelectedCompletionItem("args").ConfigureAwait(True)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TargetTypePreselection3() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class D
End Class
Class Program
Sub Main(string() args)
Dim cw = 7
Dim cx as D = new D()
Dim cx2 as D = $$
End Sub
End Class
]]></Document>)
state.SendTypeChars("c")
Await state.AssertSelectedCompletionItem("cx", isHardSelected:=True).ConfigureAwait(True)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TargetTypePreselectionLocalsOverType() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class A
End Class
Class Program
Sub Main(string() args)
Dim cx = new A()
Dim cx2 as A = $$
End Sub
End Class
]]></Document>)
state.SendTypeChars("c")
Await state.AssertSelectedCompletionItem("cx", isHardSelected:=True).ConfigureAwait(True)
End Using
End Function
<WpfFact(Skip:="https://github.com/dotnet/roslyn/issues/6942"), Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TargetTypePreselectionConvertibility1() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Mustinherit Class C
End Class
Class D
inherits C
End Class
Class Program
Sub Main(string() args)
Dim cx = new D()
Dim cx2 as C = $$
End Sub
End Class
]]></Document>)
state.SendTypeChars("c")
Await state.AssertSelectedCompletionItem("cx", isHardSelected:=True).ConfigureAwait(True)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TargetTypePreselectionParamsArray() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class Program
Sub Main(string() args)
Dim azc as integer
M2(a$$
End Sub
Sub M2(params int() yx)
End Sub
End Class
]]></Document>)
state.SendInvokeCompletionList()
Await state.AssertSelectedCompletionItem("azc", isHardSelected:=True).ConfigureAwait(True)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TargetTypePreselectionSetterValue() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class Program
Private Async As Integer
Public Property NewProperty() As Integer
Get
Return Async
End Get
Set(ByVal value As Integer)
Async = $$
End Set
End Property
End Class]]></Document>)
state.SendInvokeCompletionList()
Await state.AssertSelectedCompletionItem("value", isHardSelected:=False, isSoftSelected:=True).ConfigureAwait(True)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
<WorkItem(12530, "https://github.com/dotnet/roslyn/issues/12530")>
Public Async Function TestAnonymousTypeDescription() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System.Linq
Public Class Class1
Sub Method()
Dim x = {New With {.x = 1}}.ToArr$$
End Sub
End Class
]]></Document>)
state.SendInvokeCompletionList()
Await state.AssertSelectedCompletionItem(description:=
$"<{ VBFeaturesResources.Extension }> Function IEnumerable(Of 'a).ToArray() As 'a()
{ FeaturesResources.Anonymous_Types_colon }
'a { FeaturesResources.is_ } New With {{ .x As Integer }}")
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
<WorkItem(12530, "https://github.com/dotnet/roslyn/issues/12530")>
Public Async Function TestAnonymousTypeDescription2() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Imports System.Linq
Public Class Class1
Sub Method()
Dim x = {New With { Key .x = 1}}.ToArr$$
End Sub
End Class
]]></Document>)
state.SendInvokeCompletionList()
Await state.AssertSelectedCompletionItem(description:=
$"<{ VBFeaturesResources.Extension }> Function IEnumerable(Of 'a).ToArray() As 'a()
{ FeaturesResources.Anonymous_Types_colon }
'a { FeaturesResources.is_ } New With {{ Key .x As Integer }}")
End Using
End Function
<WorkItem(11812, "https://github.com/dotnet/roslyn/issues/11812")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestObjectCreationQualifiedName() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class A
Sub Test()
Dim b As B.C(Of Integer) = New$$
End Sub
End Class
Namespace B
Class C(Of T)
End Class
End Namespace]]></Document>)
state.SendTypeChars(" ")
Await state.AssertCompletionSession()
state.SendTypeChars("(")
state.AssertMatchesTextStartingAtLine(3, "Dim b As B.C(Of Integer) = New B.C(Of Integer)(")
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestNonTrailingNamedArgumentInVB15_3() As Task
Using state = TestStateFactory.CreateTestStateFromWorkspace(
<Workspace>
<Project Language="Visual Basic" LanguageVersion="15.3" CommonReferences="true" AssemblyName="VBProj">
<Document FilePath="C.vb">
Class C
Sub M()
Dim better As Integer = 2
M(a:=1, $$)
End Sub
Sub M(a As Integer, bar As Integer, c As Integer)
End Sub
End Class
</Document>
</Project>
</Workspace>)
state.SendTypeChars("b")
Await state.AssertSelectedCompletionItem(displayText:="bar", displayTextSuffix:=":=", isHardSelected:=True)
state.SendTypeChars("e")
Await state.AssertNoCompletionSession()
End Using
End Function
<WpfFact>
Public Async Function TestNonTrailingNamedArgumentInVB15_5() As Task
Using state = TestStateFactory.CreateTestStateFromWorkspace(
<Workspace>
<Project Language="Visual Basic" LanguageVersion="15.5" CommonReferences="true" AssemblyName="VBProj">
<Document FilePath="C.vb">
Class C
Sub M()
Dim better As Integer = 2
M(a:=1, $$)
End Sub
Sub M(a As Integer, bar As Integer, c As Integer)
End Sub
End Class
</Document>
</Project>
</Workspace>)
state.SendTypeChars("bar")
Await state.AssertSelectedCompletionItem(displayText:="bar", displayTextSuffix:=":=", isHardSelected:=True)
state.SendBackspace()
state.SendBackspace()
state.SendTypeChars("et")
Await state.AssertSelectedCompletionItem(displayText:="better", isHardSelected:=True)
state.SendTypeChars(", ")
Assert.Contains("M(a:=1, better,", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestSymbolInTupleLiteral() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class C
Public Sub Goo()
Dim t = ($$)
End Sub
End Class
}]]></Document>)
state.SendTypeChars("Go")
Await state.AssertSelectedCompletionItem(displayText:="Goo", isHardSelected:=True)
state.SendTypeChars(":")
Assert.Contains("(Go:", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestSymbolInTupleLiteralAfterComma() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class C
Public Sub Goo()
Dim t = (1, $$)
End Sub
End Class
]]></Document>)
state.SendTypeChars("Go")
Await state.AssertSelectedCompletionItem(displayText:="Goo", isHardSelected:=True)
state.SendTypeChars(":")
Assert.Contains("(1, Go:", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestSnippetInTupleLiteral() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class C
Public Sub Goo()
Dim t = ($$)
End Sub
End Class
}]]></Document>,
extraExportedTypes:={GetType(MockSnippetInfoService), GetType(SnippetCompletionProvider), GetType(StubVsEditorAdaptersFactoryService)}.ToList())
Dim workspace = state.Workspace
workspace.TryApplyChanges(workspace.CurrentSolution.WithOptions(workspace.Options _
.WithChangedOption(CompletionOptions.SnippetsBehavior, LanguageNames.VisualBasic, SnippetsRule.AlwaysInclude)))
state.SendTypeChars("Shortcu")
Await state.AssertSelectedCompletionItem(displayText:="Shortcut", isHardSelected:=True)
state.SendTypeChars(":")
Assert.Contains("(Shortcu:", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestSnippetInTupleLiteralAfterComma() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class C
Public Sub Goo()
Dim t = (1, $$)
End Sub
End Class
}]]></Document>,
extraExportedTypes:={GetType(MockSnippetInfoService), GetType(SnippetCompletionProvider), GetType(StubVsEditorAdaptersFactoryService)}.ToList())
Dim workspace = state.Workspace
workspace.TryApplyChanges(workspace.CurrentSolution.WithOptions(workspace.Options _
.WithChangedOption(CompletionOptions.SnippetsBehavior, LanguageNames.VisualBasic, SnippetsRule.AlwaysInclude)))
state.SendTypeChars("Shortcu")
Await state.AssertSelectedCompletionItem(displayText:="Shortcut", isHardSelected:=True)
state.SendTypeChars(":")
Assert.Contains("(1, Shortcu:", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestSnippetsNotExclusiveWhenAlwaysShowing() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class C
Public Sub Goo()
Dim x as Integer = 3
Dim t = $$
End Sub
End Class
}]]></Document>,
extraExportedTypes:={GetType(MockSnippetInfoService), GetType(SnippetCompletionProvider), GetType(StubVsEditorAdaptersFactoryService)}.ToList())
Dim workspace = state.Workspace
workspace.TryApplyChanges(workspace.CurrentSolution.WithOptions(workspace.Options _
.WithChangedOption(CompletionOptions.SnippetsBehavior, LanguageNames.VisualBasic, SnippetsRule.AlwaysInclude)))
state.SendInvokeCompletionList()
Await state.AssertCompletionItemsContainAll("x", "Shortcut")
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestBuiltInTypesKeywordInTupleLiteral() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class C
Public Sub Goo()
Dim t = ($$)
End Sub
End Class
}]]></Document>)
state.SendTypeChars("Intege")
Await state.AssertSelectedCompletionItem(displayText:="Integer", isHardSelected:=True)
state.SendTypeChars(":")
Assert.Contains("(Intege:", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestBuiltInTypesKeywordInTupleLiteralAfterComma() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class C
Public Sub Goo()
Dim t = (1, $$)
End Sub
End Class
}]]></Document>)
state.SendTypeChars("Intege")
Await state.AssertSelectedCompletionItem(displayText:="Integer", isHardSelected:=True)
state.SendTypeChars(":")
Assert.Contains("(1, Intege:", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestFunctionKeywordInTupleLiteral() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class C
Public Sub Goo()
Dim t = ($$)
End Sub
End Class
}]]></Document>)
state.SendTypeChars("Functio")
Await state.AssertSelectedCompletionItem(displayText:="Function", isHardSelected:=True)
state.SendTypeChars(":")
Assert.Contains("(Functio:", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestFunctionKeywordInTupleLiteralAfterComma() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class C
Public Sub Goo()
Dim t = (1, $$)
End Sub
End Class
}]]></Document>)
state.SendTypeChars("Functio")
Await state.AssertSelectedCompletionItem(displayText:="Function", isHardSelected:=True)
state.SendTypeChars(":")
Assert.Contains("(1, Functio:", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestSymbolInTupleType() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class C
Public Sub Goo()
Dim t As ($$)
End Sub
End Class
]]></Document>)
state.SendTypeChars("Integ")
Await state.AssertSelectedCompletionItem(displayText:="Integer", isHardSelected:=True)
state.SendTypeChars(",")
Assert.Contains("(Integer,", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestInvocationExpression() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class C
Public Sub Goo(Alice As Integer)
Goo($$)
End Sub
End Class
]]></Document>)
state.SendTypeChars("Alic")
Await state.AssertSelectedCompletionItem(displayText:="Alice", isHardSelected:=True)
state.SendTypeChars(":")
Assert.Contains("Goo(Alice:", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestInvocationExpressionAfterComma() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class C
Public Sub Goo(Alice As Integer, Bob As Integer)
Goo(1, $$)
End Sub
End Class
]]></Document>)
state.SendTypeChars("B")
Await state.AssertSelectedCompletionItem(displayText:="Bob", isHardSelected:=True)
state.SendTypeChars(":")
Assert.Contains("Goo(1, Bob:", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WorkItem(13161, "https://github.com/dotnet/roslyn/issues/13161")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Sub CommitGenericDoesNotInsertEllipsis()
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Interface Goo(Of T)
End Interface
Class Bar
Implements $$
End Class]]></Document>)
Dim unicodeEllipsis = ChrW(&H2026).ToString()
state.SendTypeChars("Goo")
state.SendTab()
Assert.Equal("Implements Goo(Of", state.GetLineTextFromCaretPosition().Trim())
Assert.DoesNotContain(unicodeEllipsis, state.GetLineTextFromCaretPosition())
End Using
End Sub
<WorkItem(13161, "https://github.com/dotnet/roslyn/issues/13161")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Sub CommitGenericDoesNotInsertEllipsisCommitOnParen()
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Interface Goo(Of T)
End Interface
Class Bar
Implements $$
End Class]]></Document>)
Dim unicodeEllipsis = ChrW(&H2026).ToString()
state.SendTypeChars("Goo(")
Assert.Equal("Implements Goo(", state.GetLineTextFromCaretPosition().Trim())
Assert.DoesNotContain(unicodeEllipsis, state.GetLineTextFromCaretPosition())
End Using
End Sub
<WorkItem(13161, "https://github.com/dotnet/roslyn/issues/13161")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Sub CommitGenericItemDoesNotInsertEllipsisCommitOnTab()
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Interface Goo(Of T)
End Interface
Class Bar
Dim x as $$
End Class]]></Document>)
Dim unicodeEllipsis = ChrW(&H2026).ToString()
state.SendTypeChars("Goo")
state.SendTab()
Assert.Equal("Dim x as Goo(Of", state.GetLineTextFromCaretPosition().Trim())
Assert.DoesNotContain(unicodeEllipsis, state.GetLineTextFromCaretPosition())
End Using
End Sub
<WorkItem(15011, "https://github.com/dotnet/roslyn/issues/15011")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function SymbolAndObjectPreselectionUnification() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Module Module1
Sub Main()
Dim x As ProcessStartInfo = New $$
End Sub
End Module
]]></Document>)
state.SendInvokeCompletionList()
Await state.AssertCompletionSession()
Dim psi = state.GetCompletionItems().Where(Function(i) i.DisplayText.Contains("ProcessStartInfo")).ToArray()
Assert.Equal(1, psi.Length)
End Using
End Function
<WorkItem(394863, "https://devdiv.visualstudio.com/DevDiv/_workitems?_a=edit&id=394863&triage=true")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function ImplementsClause() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Partial Class TestClass
Implements IComparable(Of TestClass)
Public Function CompareTo(other As TestClass) As Integer Implements I$$
End Function
End Class
]]></Document>)
state.SendInvokeCompletionList()
Await state.AssertCompletionSession()
state.SendTab()
Assert.Contains("IComparable(Of TestClass)", state.GetLineTextFromCaretPosition())
End Using
End Function
<WorkItem(18785, "https://github.com/dotnet/roslyn/issues/18785")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function BackspaceSoftSelectionIfNotPrefixMatch() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class C
Sub Do()
Dim x = new System.Collections.Generic.List(Of String)()
x.$$Add("stuff")
End Sub
End Class
]]></Document>)
state.SendBackspace()
Await state.AssertSelectedCompletionItem("x", isSoftSelected:=True)
state.SendTypeChars(".")
Assert.Contains("x.Add", state.GetLineTextFromCaretPosition())
End Using
End Function
<WorkItem(28767, "https://github.com/dotnet/roslyn/issues/28767")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionDoesNotRemoveBracketsOnEnum() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Class C
Sub S
[$$]
End Sub
End Class
</Document>)
Await state.AssertNoCompletionSession()
state.SendTypeChars("Enu")
Await state.AssertSelectedCompletionItem(displayText:="Enum", isHardSelected:=True)
state.SendTab()
Assert.Contains("[Enum]", state.GetDocumentText(), StringComparison.Ordinal)
End Using
End Function
<WorkItem(30097, "https://github.com/dotnet/roslyn/issues/30097")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestMRUKeepsTwoRecentlyUsedItems() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Class C
Public Sub Ma(m As Double)
End Sub
Public Sub Test()
$$
End Sub
End Class
</Document>)
state.SendTypeChars("M(M(M(M(")
Await state.AssertCompletionSession()
Assert.Equal(" Ma(m:=(Ma(m:=(", state.GetLineTextFromCaretPosition())
End Using
End Function
<WorkItem(36546, "https://github.com/dotnet/roslyn/issues/36546")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestDoNotDismissIfEmptyOnBackspaceIfStartedWithBackspace() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Imports System
Class C
Public Sub M()
Console.W$$
End Sub
End Class
</Document>)
state.SendBackspace()
Await state.AssertCompletionItemsContainAll("WriteLine")
End Using
End Function
<WorkItem(36546, "https://github.com/dotnet/roslyn/issues/36546")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestDoNotDismissIfEmptyOnMultipleBackspaceIfStartedInvoke() As Task
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document>
Imports System
Class C
Public Sub M()
Console.Wr$$
End Sub
End Class
</Document>)
state.SendInvokeCompletionList()
Await state.AssertCompletionSession()
state.SendBackspace()
state.SendBackspace()
Await state.AssertCompletionSession()
End Using
End Function
<WorkItem(588, "https://github.com/dotnet/roslyn/issues/588")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestMatchWithTurkishIWorkaround1() As Task
Using New CultureContext(New Globalization.CultureInfo("tr-TR", useUserOverride:=False))
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class C
Sub goo(x As Integer)
String.$$
]]></Document>)
state.SendTypeChars("is")
Await state.WaitForAsynchronousOperationsAsync()
Await state.AssertSelectedCompletionItem("IsInterned")
End Using
End Using
End Function
<WorkItem(588, "https://github.com/dotnet/roslyn/issues/588")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestMatchWithTurkishIWorkaround2() As Task
Using New CultureContext(New Globalization.CultureInfo("tr-TR", useUserOverride:=False))
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class C
Sub goo(x As Integer)
String.$$]]></Document>)
state.SendTypeChars("ı")
Await state.WaitForAsynchronousOperationsAsync()
Await state.AssertSelectedCompletionItem()
End Using
End Using
End Function
<WorkItem(29938, "https://github.com/dotnet/roslyn/issues/29938")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestMatchWithTurkishIWorkaround3() As Task
Using New CultureContext(New Globalization.CultureInfo("tr-TR", useUserOverride:=False))
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class TARIFE
End Class
Class C
Sub goo(x As Integer)
Dim t As $$
]]></Document>)
state.SendTypeChars("tarif")
Await state.WaitForAsynchronousOperationsAsync()
Await state.AssertSelectedCompletionItem("TARIFE")
End Using
End Using
End Function
<WorkItem(29938, "https://github.com/dotnet/roslyn/issues/29938")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestMatchWithTurkishIWorkaround4() As Task
Using New CultureContext(New Globalization.CultureInfo("tr-TR", useUserOverride:=False))
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class IFADE
End Class
Class ifTest
End Class
Class C
Sub goo(x As Integer)
Dim ifade As IFADE
$$]]></Document>)
state.SendTypeChars("if")
Await state.WaitForAsynchronousOperationsAsync()
Await state.AssertSelectedCompletionItem("If")
End Using
End Using
End Function
<WorkItem(29938, "https://github.com/dotnet/roslyn/issues/29938")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestMatchWithTurkishIWorkaround5() As Task
Using New CultureContext(New Globalization.CultureInfo("tr-TR", useUserOverride:=False))
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class İFADE
End Class
Class ifTest
End Class
Class C
Sub goo(x As Integer)
Dim ifade As İFADE
$$
]]></Document>)
state.SendTypeChars("if")
Await state.WaitForAsynchronousOperationsAsync()
Await state.AssertSelectedCompletionItem("If")
End Using
End Using
End Function
<WorkItem(29938, "https://github.com/dotnet/roslyn/issues/29938")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestMatchWithTurkishIWorkaround6() As Task
Using New CultureContext(New Globalization.CultureInfo("tr-TR", useUserOverride:=False))
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class TARİFE
End Class
Class C
Sub goo(x As Integer)
Dim obj As $$
]]></Document>)
state.SendTypeChars("tarif")
Await state.WaitForAsynchronousOperationsAsync()
Await state.AssertSelectedCompletionItem("TARİFE")
End Using
End Using
End Function
<WorkItem(29938, "https://github.com/dotnet/roslyn/issues/29938")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestMatchWithTurkishIWorkaround7() As Task
Using New CultureContext(New Globalization.CultureInfo("tr-TR", useUserOverride:=False))
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class İFADE
End Class
Class ifTest
End Class
Class C
Sub goo(x As Integer)
Dim obj As $$
]]></Document>)
state.SendTypeChars("ifad")
Await state.WaitForAsynchronousOperationsAsync()
Await state.AssertSelectedCompletionItem("İFADE")
End Using
End Using
End Function
<WorkItem(29938, "https://github.com/dotnet/roslyn/issues/29938")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestMatchWithTurkishIWorkaround8() As Task
Using New CultureContext(New Globalization.CultureInfo("tr-TR", useUserOverride:=False))
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class IFADE
End Class
Class ifTest
End Class
Class C
Sub goo(x As Integer)
Dim obj As $$
]]></Document>)
state.SendTypeChars("ifad")
Await state.WaitForAsynchronousOperationsAsync()
Await state.AssertSelectedCompletionItem("IFADE")
End Using
End Using
End Function
<WorkItem(29938, "https://github.com/dotnet/roslyn/issues/29938")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestMatchWithTurkishIWorkaround9() As Task
Using New CultureContext(New Globalization.CultureInfo("tr-TR", useUserOverride:=False))
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class IFADE
End Class
Class ifTest
End Class
Class C
Sub goo(x As Integer)
Dim ifade_ As İFADE
$$]]></Document>)
state.SendTypeChars("IF")
Await state.WaitForAsynchronousOperationsAsync()
Await state.AssertSelectedCompletionItem("If")
End Using
End Using
End Function
<WorkItem(29938, "https://github.com/dotnet/roslyn/issues/29938")>
<WpfFact, Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function TestMatchWithTurkishIWorkaround10() As Task
Using New CultureContext(New Globalization.CultureInfo("tr-TR", useUserOverride:=False))
Using state = TestStateFactory.CreateVisualBasicTestState(
<Document><![CDATA[
Class İFADE
End Class
Class ifTest
End Class
Class C
Sub goo(x As Integer)
Dim ifade As İFADE
$$
]]></Document>)
state.SendTypeChars("IF")
Await state.WaitForAsynchronousOperationsAsync()
Await state.AssertSelectedCompletionItem("If")
End Using
End Using
End Function
<WpfTheory, CombinatorialData>
<Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionInPreprocessorIf(showCompletionInArgumentLists As Boolean) As Task
Using state = TestStateFactory.CreateTestStateFromWorkspace(
<Workspace>
<Project Language="Visual Basic" CommonReferences="true" PreprocessorSymbols="Goo=1,Bar=2,Baz=3">
<Document>
#if $$
</Document>
</Project>
</Workspace>,
showCompletionInArgumentLists:=showCompletionInArgumentLists)
state.SendInvokeCompletionList()
Await state.AssertCompletionItemsContainAll({"Goo", "Bar", "Baz", "True", "False"})
state.SendTypeChars("Go")
state.SendTab()
Await state.AssertNoCompletionSession()
Assert.Contains("#if Goo", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfTheory, CombinatorialData>
<Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionInPreprocessorElseIf(showCompletionInArgumentLists As Boolean) As Task
Using state = TestStateFactory.CreateTestStateFromWorkspace(
<Workspace>
<Project Language="Visual Basic" CommonReferences="true" PreprocessorSymbols="Goo=1,Bar=2,Baz=3">
<Document>
#if false
#elseif $$
</Document>
</Project>
</Workspace>,
showCompletionInArgumentLists:=showCompletionInArgumentLists)
state.SendInvokeCompletionList()
Await state.AssertCompletionItemsContainAll({"Goo", "Bar", "Baz", "True", "False"})
state.SendTypeChars("Go")
state.SendTab()
Await state.AssertNoCompletionSession()
Assert.Contains("#elseif Goo", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfTheory, CombinatorialData>
<Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionNotInPreprocessorElse(showCompletionInArgumentLists As Boolean) As Task
Using state = TestStateFactory.CreateTestStateFromWorkspace(
<Workspace>
<Project Language="Visual Basic" CommonReferences="true" PreprocessorSymbols="Goo=1,Bar=2,Baz=3">
<Document>
#if false
#elseif false
#else $$
</Document>
</Project>
</Workspace>,
showCompletionInArgumentLists:=showCompletionInArgumentLists)
state.SendInvokeCompletionList()
Await state.AssertNoCompletionSession()
End Using
End Function
<WpfTheory, CombinatorialData>
<Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionInPreprocessorParenthesized(showCompletionInArgumentLists As Boolean) As Task
Using state = TestStateFactory.CreateTestStateFromWorkspace(
<Workspace>
<Project Language="Visual Basic" CommonReferences="true" PreprocessorSymbols="Goo=1,Bar=2,Baz=3">
<Document>
#if ($$
</Document>
</Project>
</Workspace>,
showCompletionInArgumentLists:=showCompletionInArgumentLists)
state.SendInvokeCompletionList()
Await state.AssertCompletionItemsContainAll({"Goo", "Bar", "Baz", "True", "False"})
state.SendTypeChars("Go")
state.SendTab()
Await state.AssertNoCompletionSession()
Assert.Contains("#if (Goo", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfTheory, CombinatorialData>
<Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionInPreprocessorNot(showCompletionInArgumentLists As Boolean) As Task
Using state = TestStateFactory.CreateTestStateFromWorkspace(
<Workspace>
<Project Language="Visual Basic" CommonReferences="true" PreprocessorSymbols="Goo=1,Bar=2,Baz=3">
<Document>
#if not $$
</Document>
</Project>
</Workspace>,
showCompletionInArgumentLists:=showCompletionInArgumentLists)
state.SendInvokeCompletionList()
Await state.AssertCompletionItemsContainAll({"Goo", "Bar", "Baz", "True", "False"})
state.SendTypeChars("Go")
state.SendTab()
Await state.AssertNoCompletionSession()
Assert.Contains("#if not Goo", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfTheory, CombinatorialData>
<Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionInPreprocessorAnd(showCompletionInArgumentLists As Boolean) As Task
Using state = TestStateFactory.CreateTestStateFromWorkspace(
<Workspace>
<Project Language="Visual Basic" CommonReferences="true" PreprocessorSymbols="Goo=1,Bar=2,Baz=3">
<Document>
#if true and $$
</Document>
</Project>
</Workspace>,
showCompletionInArgumentLists:=showCompletionInArgumentLists)
state.SendInvokeCompletionList()
Await state.AssertCompletionItemsContainAll({"Goo", "Bar", "Baz", "True", "False"})
state.SendTypeChars("Go")
state.SendTab()
Await state.AssertNoCompletionSession()
Assert.Contains("#if true and Goo", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfTheory, CombinatorialData>
<Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionInPreprocessorAndAlso(showCompletionInArgumentLists As Boolean) As Task
Using state = TestStateFactory.CreateTestStateFromWorkspace(
<Workspace>
<Project Language="Visual Basic" CommonReferences="true" PreprocessorSymbols="Goo=1,Bar=2,Baz=3">
<Document>
#if true andalso $$
</Document>
</Project>
</Workspace>,
showCompletionInArgumentLists:=showCompletionInArgumentLists)
state.SendInvokeCompletionList()
Await state.AssertCompletionItemsContainAll({"Goo", "Bar", "Baz", "True", "False"})
state.SendTypeChars("Go")
state.SendTab()
Await state.AssertNoCompletionSession()
Assert.Contains("#if true andalso Goo", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfTheory, CombinatorialData>
<Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionInPreprocessorOr(showCompletionInArgumentLists As Boolean) As Task
Using state = TestStateFactory.CreateTestStateFromWorkspace(
<Workspace>
<Project Language="Visual Basic" CommonReferences="true" PreprocessorSymbols="Goo=1,Bar=2,Baz=3">
<Document>
#if true or $$
</Document>
</Project>
</Workspace>,
showCompletionInArgumentLists:=showCompletionInArgumentLists)
state.SendInvokeCompletionList()
Await state.AssertCompletionItemsContainAll({"Goo", "Bar", "Baz", "True", "False"})
state.SendTypeChars("Go")
state.SendTab()
Await state.AssertNoCompletionSession()
Assert.Contains("#if true or Goo", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfTheory, CombinatorialData>
<Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionInPreprocessorOrElse(showCompletionInArgumentLists As Boolean) As Task
Using state = TestStateFactory.CreateTestStateFromWorkspace(
<Workspace>
<Project Language="Visual Basic" CommonReferences="true" PreprocessorSymbols="Goo=1,Bar=2,Baz=3">
<Document>
#if true orelse $$
</Document>
</Project>
</Workspace>,
showCompletionInArgumentLists:=showCompletionInArgumentLists)
state.SendInvokeCompletionList()
Await state.AssertCompletionItemsContainAll({"Goo", "Bar", "Baz", "True", "False"})
state.SendTypeChars("Go")
state.SendTab()
Await state.AssertNoCompletionSession()
Assert.Contains("#if true orelse Goo", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<WpfTheory, CombinatorialData>
<Trait(Traits.Feature, Traits.Features.Completion)>
Public Async Function CompletionInPreprocessorCasingDifference(showCompletionInArgumentLists As Boolean) As Task
Using state = TestStateFactory.CreateTestStateFromWorkspace(
<Workspace>
<Project Language="Visual Basic" CommonReferences="true" PreprocessorSymbols="Goo=1,Bar=2,BAR=2,Baz=3">
<Document>
#if $$
</Document>
</Project>
</Workspace>,
showCompletionInArgumentLists:=showCompletionInArgumentLists)
state.SendInvokeCompletionList()
Await state.AssertCompletionItemsContainAll({"Goo", "Bar", "Baz", "True", "False"})
state.SendTypeChars("Go")
state.SendTab()
Await state.AssertNoCompletionSession()
Assert.Contains("#if Goo", state.GetLineTextFromCaretPosition(), StringComparison.Ordinal)
End Using
End Function
<ExportLanguageService(GetType(ISnippetInfoService), LanguageNames.VisualBasic, ServiceLayer.Test), [Shared], PartNotDiscoverable>
Friend Class MockSnippetInfoService
Implements ISnippetInfoService
<ImportingConstructor>
<Obsolete(MefConstruction.ImportingConstructorMessage, True)>
Public Sub New()
End Sub
Public Function GetSnippetsAsync_NonBlocking() As IEnumerable(Of SnippetInfo) Implements ISnippetInfoService.GetSnippetsIfAvailable
Return SpecializedCollections.SingletonEnumerable(New SnippetInfo("Shortcut", "Title", "Description", "Path"))
End Function
Public Function ShouldFormatSnippet(snippetInfo As SnippetInfo) As Boolean Implements ISnippetInfoService.ShouldFormatSnippet
Return False
End Function
Public Function SnippetShortcutExists_NonBlocking(shortcut As String) As Boolean Implements ISnippetInfoService.SnippetShortcutExists_NonBlocking
Return shortcut = "Shortcut"
End Function
End Class
End Class
End Namespace
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Scripting/CoreTest.Desktop/Properties/launchSettings.json | {
"profiles": {
"xUnit.net Console (32-bit)": {
"commandName": "Executable",
"executablePath": "$(NuGetPackageRoot)xunit.runner.console\\$(XUnitVersion)\\tools\\net452\\xunit.console.x86.exe",
"commandLineArgs": "$(TargetPath) -noshadow -verbose"
},
"xUnit.net Console (64-bit)": {
"commandName": "Executable",
"executablePath": "$(NuGetPackageRoot)xunit.runner.console\\$(XUnitVersion)\\tools\\net452\\xunit.console.exe",
"commandLineArgs": "$(TargetPath) -noshadow -verbose"
}
}
} | {
"profiles": {
"xUnit.net Console (32-bit)": {
"commandName": "Executable",
"executablePath": "$(NuGetPackageRoot)xunit.runner.console\\$(XUnitVersion)\\tools\\net452\\xunit.console.x86.exe",
"commandLineArgs": "$(TargetPath) -noshadow -verbose"
},
"xUnit.net Console (64-bit)": {
"commandName": "Executable",
"executablePath": "$(NuGetPackageRoot)xunit.runner.console\\$(XUnitVersion)\\tools\\net452\\xunit.console.exe",
"commandLineArgs": "$(TargetPath) -noshadow -verbose"
}
}
} | -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Compilers/Test/Resources/Core/SymbolsTests/CustomModifiers/ModifiersAssembly.il | .assembly Modifiers
{
.custom instance void [mscorlib]System.Runtime.Versioning.TargetFrameworkAttribute::.ctor(string) = ( 01 00 1A 2E 4E 45 54 46 72 61 6D 65 77 6F 72 6B // ....NETFramework
2C 56 65 72 73 69 6F 6E 3D 76 34 2E 30 01 00 54 // ,Version=v4.0..T
0E 14 46 72 61 6D 65 77 6F 72 6B 44 69 73 70 6C // ..FrameworkDispl
61 79 4E 61 6D 65 10 2E 4E 45 54 20 46 72 61 6D // ayName..NET Fram
65 77 6F 72 6B 20 34 ) // ework 4
.custom instance void [mscorlib]System.Reflection.AssemblyTitleAttribute::.ctor(string) = ( 01 00 09 4D 6F 64 69 66 69 65 72 73 00 00 ) // ...Modifiers..
.custom instance void [mscorlib]System.Reflection.AssemblyDescriptionAttribute::.ctor(string) = ( 01 00 00 00 00 )
.custom instance void [mscorlib]System.Reflection.AssemblyConfigurationAttribute::.ctor(string) = ( 01 00 00 00 00 )
.custom instance void [mscorlib]System.Reflection.AssemblyCompanyAttribute::.ctor(string) = ( 01 00 0F 4D 69 63 72 6F 73 6F 66 74 20 43 6F 72 // ...Microsoft Cor
70 2E 00 00 ) // p...
.custom instance void [mscorlib]System.Reflection.AssemblyProductAttribute::.ctor(string) = ( 01 00 09 4D 6F 64 69 66 69 65 72 73 00 00 ) // ...Modifiers..
.custom instance void [mscorlib]System.Reflection.AssemblyCopyrightAttribute::.ctor(string) = ( 01 00 21 43 6F 70 79 72 69 67 68 74 20 C2 A9 20 // ..!Copyright ..
4D 69 63 72 6F 73 6F 66 74 20 43 6F 72 70 2E 20 // Microsoft Corp.
32 30 31 30 00 00 ) // 2010..
.custom instance void [mscorlib]System.Reflection.AssemblyTrademarkAttribute::.ctor(string) = ( 01 00 00 00 00 )
.custom instance void [mscorlib]System.Runtime.InteropServices.ComVisibleAttribute::.ctor(bool) = ( 01 00 00 00 00 )
.custom instance void [mscorlib]System.Runtime.InteropServices.GuidAttribute::.ctor(string) = ( 01 00 24 66 39 31 37 62 36 66 65 2D 63 39 36 32 // ..$f917b6fe-c962
2D 34 39 36 64 2D 38 38 62 62 2D 31 33 39 39 35 // -496d-88bb-13995
65 64 30 34 61 61 39 00 00 ) // ed04aa9..
.custom instance void [mscorlib]System.Reflection.AssemblyFileVersionAttribute::.ctor(string) = ( 01 00 07 31 2E 30 2E 30 2E 30 00 00 ) // ...1.0.0.0..
// --- The following custom attribute is added automatically, do not uncomment -------
// .custom instance void [mscorlib]System.Diagnostics.DebuggableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggableAttribute/DebuggingModes) = ( 01 00 07 01 00 00 00 00 )
.custom instance void [mscorlib]System.Runtime.CompilerServices.CompilationRelaxationsAttribute::.ctor(int32) = ( 01 00 08 00 00 00 00 00 )
.custom instance void [mscorlib]System.Runtime.CompilerServices.RuntimeCompatibilityAttribute::.ctor() = ( 01 00 01 00 54 02 16 57 72 61 70 4E 6F 6E 45 78 // ....T..WrapNonEx
63 65 70 74 69 6F 6E 54 68 72 6F 77 73 01 ) // ceptionThrows.
.hash algorithm 0x00008004
.ver 1:0:0:0
}
| .assembly Modifiers
{
.custom instance void [mscorlib]System.Runtime.Versioning.TargetFrameworkAttribute::.ctor(string) = ( 01 00 1A 2E 4E 45 54 46 72 61 6D 65 77 6F 72 6B // ....NETFramework
2C 56 65 72 73 69 6F 6E 3D 76 34 2E 30 01 00 54 // ,Version=v4.0..T
0E 14 46 72 61 6D 65 77 6F 72 6B 44 69 73 70 6C // ..FrameworkDispl
61 79 4E 61 6D 65 10 2E 4E 45 54 20 46 72 61 6D // ayName..NET Fram
65 77 6F 72 6B 20 34 ) // ework 4
.custom instance void [mscorlib]System.Reflection.AssemblyTitleAttribute::.ctor(string) = ( 01 00 09 4D 6F 64 69 66 69 65 72 73 00 00 ) // ...Modifiers..
.custom instance void [mscorlib]System.Reflection.AssemblyDescriptionAttribute::.ctor(string) = ( 01 00 00 00 00 )
.custom instance void [mscorlib]System.Reflection.AssemblyConfigurationAttribute::.ctor(string) = ( 01 00 00 00 00 )
.custom instance void [mscorlib]System.Reflection.AssemblyCompanyAttribute::.ctor(string) = ( 01 00 0F 4D 69 63 72 6F 73 6F 66 74 20 43 6F 72 // ...Microsoft Cor
70 2E 00 00 ) // p...
.custom instance void [mscorlib]System.Reflection.AssemblyProductAttribute::.ctor(string) = ( 01 00 09 4D 6F 64 69 66 69 65 72 73 00 00 ) // ...Modifiers..
.custom instance void [mscorlib]System.Reflection.AssemblyCopyrightAttribute::.ctor(string) = ( 01 00 21 43 6F 70 79 72 69 67 68 74 20 C2 A9 20 // ..!Copyright ..
4D 69 63 72 6F 73 6F 66 74 20 43 6F 72 70 2E 20 // Microsoft Corp.
32 30 31 30 00 00 ) // 2010..
.custom instance void [mscorlib]System.Reflection.AssemblyTrademarkAttribute::.ctor(string) = ( 01 00 00 00 00 )
.custom instance void [mscorlib]System.Runtime.InteropServices.ComVisibleAttribute::.ctor(bool) = ( 01 00 00 00 00 )
.custom instance void [mscorlib]System.Runtime.InteropServices.GuidAttribute::.ctor(string) = ( 01 00 24 66 39 31 37 62 36 66 65 2D 63 39 36 32 // ..$f917b6fe-c962
2D 34 39 36 64 2D 38 38 62 62 2D 31 33 39 39 35 // -496d-88bb-13995
65 64 30 34 61 61 39 00 00 ) // ed04aa9..
.custom instance void [mscorlib]System.Reflection.AssemblyFileVersionAttribute::.ctor(string) = ( 01 00 07 31 2E 30 2E 30 2E 30 00 00 ) // ...1.0.0.0..
// --- The following custom attribute is added automatically, do not uncomment -------
// .custom instance void [mscorlib]System.Diagnostics.DebuggableAttribute::.ctor(valuetype [mscorlib]System.Diagnostics.DebuggableAttribute/DebuggingModes) = ( 01 00 07 01 00 00 00 00 )
.custom instance void [mscorlib]System.Runtime.CompilerServices.CompilationRelaxationsAttribute::.ctor(int32) = ( 01 00 08 00 00 00 00 00 )
.custom instance void [mscorlib]System.Runtime.CompilerServices.RuntimeCompatibilityAttribute::.ctor() = ( 01 00 01 00 54 02 16 57 72 61 70 4E 6F 6E 45 78 // ....T..WrapNonEx
63 65 70 74 69 6F 6E 54 68 72 6F 77 73 01 ) // ceptionThrows.
.hash algorithm 0x00008004
.ver 1:0:0:0
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Tools/BuildBoss/.gitignore | launchSettings.json
| launchSettings.json
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/ExpressionEvaluator/VisualBasic/Source/ResultProvider/Helpers/TypeExtensions.vb | ' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
Imports System.Runtime.CompilerServices
Imports Microsoft.CodeAnalysis.ExpressionEvaluator
Imports Type = Microsoft.VisualStudio.Debugger.Metadata.Type
Imports TypeCode = Microsoft.VisualStudio.Debugger.Metadata.TypeCode
Namespace Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator
Friend Module TypeExtensions
<Extension>
Public Function IsPredefinedType(type As Type) As Boolean
Return type.GetPredefinedTypeName() IsNot Nothing
End Function
<Extension>
Public Function GetPredefinedTypeName(type As Type) As String
If type.IsEnum Then
Return Nothing
End If
Select Case Type.GetTypeCode(type)
Case TypeCode.Object
Return If(type.IsObject(), "Object", Nothing)
Case TypeCode.Boolean
Return "Boolean"
Case TypeCode.Char
Return "Char"
Case TypeCode.SByte
Return "SByte"
Case TypeCode.Byte
Return "Byte"
Case TypeCode.Int16
Return "Short"
Case TypeCode.UInt16
Return "UShort"
Case TypeCode.Int32
Return "Integer"
Case TypeCode.UInt32
Return "UInteger"
Case TypeCode.Int64
Return "Long"
Case TypeCode.UInt64
Return "ULong"
Case TypeCode.Single
Return "Single"
Case TypeCode.Double
Return "Double"
Case TypeCode.Decimal
Return "Decimal"
Case TypeCode.String
Return "String"
Case TypeCode.DateTime
Return "Date"
End Select
Return Nothing
End Function
End Module
End Namespace
| ' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
Imports System.Runtime.CompilerServices
Imports Microsoft.CodeAnalysis.ExpressionEvaluator
Imports Type = Microsoft.VisualStudio.Debugger.Metadata.Type
Imports TypeCode = Microsoft.VisualStudio.Debugger.Metadata.TypeCode
Namespace Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator
Friend Module TypeExtensions
<Extension>
Public Function IsPredefinedType(type As Type) As Boolean
Return type.GetPredefinedTypeName() IsNot Nothing
End Function
<Extension>
Public Function GetPredefinedTypeName(type As Type) As String
If type.IsEnum Then
Return Nothing
End If
Select Case Type.GetTypeCode(type)
Case TypeCode.Object
Return If(type.IsObject(), "Object", Nothing)
Case TypeCode.Boolean
Return "Boolean"
Case TypeCode.Char
Return "Char"
Case TypeCode.SByte
Return "SByte"
Case TypeCode.Byte
Return "Byte"
Case TypeCode.Int16
Return "Short"
Case TypeCode.UInt16
Return "UShort"
Case TypeCode.Int32
Return "Integer"
Case TypeCode.UInt32
Return "UInteger"
Case TypeCode.Int64
Return "Long"
Case TypeCode.UInt64
Return "ULong"
Case TypeCode.Single
Return "Single"
Case TypeCode.Double
Return "Double"
Case TypeCode.Decimal
Return "Decimal"
Case TypeCode.String
Return "String"
Case TypeCode.DateTime
Return "Date"
End Select
Return Nothing
End Function
End Module
End Namespace
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Tools/ExternalAccess/OmniSharp/CodeActions/OmniSharpCodeAction.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.CodeActions;
namespace Microsoft.CodeAnalysis.ExternalAccess.OmniSharp.CodeActions
{
internal static class OmniSharpCodeAction
{
public static ImmutableArray<CodeAction> GetNestedCodeActions(this CodeAction codeAction)
=> codeAction.NestedCodeActions;
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.CodeActions;
namespace Microsoft.CodeAnalysis.ExternalAccess.OmniSharp.CodeActions
{
internal static class OmniSharpCodeAction
{
public static ImmutableArray<CodeAction> GetNestedCodeActions(this CodeAction codeAction)
=> codeAction.NestedCodeActions;
}
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Compilers/CSharp/Portable/Lowering/LocalRewriter/LocalRewriter_GotoStatement.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Text;
namespace Microsoft.CodeAnalysis.CSharp
{
internal sealed partial class LocalRewriter
{
public override BoundNode VisitGotoStatement(BoundGotoStatement node)
{
// we are removing the label expressions from the bound tree because this expression is no longer needed
// for the emit phase. It is even doing harm to e.g. the stack depth calculation because this expression
// would not need to be pushed to the stack.
BoundExpression? caseExpressionOpt = null;
// we are removing the label expressions from the bound tree because this expression is no longer needed
// for the emit phase. It is even doing harm to e.g. the stack depth calculation because this expression
// would not need to be pushed to the stack.
BoundLabel? labelExpressionOpt = null;
BoundStatement result = node.Update(node.Label, caseExpressionOpt, labelExpressionOpt);
if (this.Instrument && !node.WasCompilerGenerated)
{
result = _instrumenter.InstrumentGotoStatement(node, result);
}
return result;
}
public override BoundNode? VisitLabel(BoundLabel node)
{
// we are removing the label expressions from the bound tree because this expression is no longer needed
// for the emit phase. It is even doing harm to e.g. the stack depth calculation because this expression
// would not need to be pushed to the stack.
return null;
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Text;
namespace Microsoft.CodeAnalysis.CSharp
{
internal sealed partial class LocalRewriter
{
public override BoundNode VisitGotoStatement(BoundGotoStatement node)
{
// we are removing the label expressions from the bound tree because this expression is no longer needed
// for the emit phase. It is even doing harm to e.g. the stack depth calculation because this expression
// would not need to be pushed to the stack.
BoundExpression? caseExpressionOpt = null;
// we are removing the label expressions from the bound tree because this expression is no longer needed
// for the emit phase. It is even doing harm to e.g. the stack depth calculation because this expression
// would not need to be pushed to the stack.
BoundLabel? labelExpressionOpt = null;
BoundStatement result = node.Update(node.Label, caseExpressionOpt, labelExpressionOpt);
if (this.Instrument && !node.WasCompilerGenerated)
{
result = _instrumenter.InstrumentGotoStatement(node, result);
}
return result;
}
public override BoundNode? VisitLabel(BoundLabel node)
{
// we are removing the label expressions from the bound tree because this expression is no longer needed
// for the emit phase. It is even doing harm to e.g. the stack depth calculation because this expression
// would not need to be pushed to the stack.
return null;
}
}
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Scripting/CoreTestUtilities/ScriptingTestHelpers.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Test.Utilities;
using Xunit;
using System;
using System.Threading.Tasks;
using Roslyn.Test.Utilities;
namespace Microsoft.CodeAnalysis.Scripting.Test
{
public class ScriptingTestHelpers
{
public static ScriptState<T> RunScriptWithOutput<T>(Script<T> script, string expectedOutput)
{
string output;
string errorOutput;
ScriptState<T> result = null;
RuntimeEnvironmentFactory.CaptureOutput(() =>
{
var task = script.RunAsync();
task.Wait();
result = task.Result;
}, expectedOutput.Length, out output, out errorOutput);
Assert.Equal(expectedOutput, output.Trim());
return result;
}
public static T EvaluateScriptWithOutput<T>(Script<T> script, string expectedOutput)
{
string output;
string errorOutput;
T result = default(T);
RuntimeEnvironmentFactory.CaptureOutput(() =>
{
var task = script.EvaluateAsync();
task.Wait();
result = task.Result;
}, expectedOutput.Length, out output, out errorOutput);
Assert.Equal(expectedOutput, output.Trim());
return result;
}
public static void ContinueRunScriptWithOutput<T>(Task<ScriptState<T>> scriptState, string code, string expectedOutput)
{
string output;
string errorOutput;
RuntimeEnvironmentFactory.CaptureOutput(() =>
{
scriptState.ContinueWith(code).Wait();
}, expectedOutput.Length, out output, out errorOutput);
Assert.Equal(expectedOutput, output.Trim());
}
internal static void AssertCompilationError(Script script, params DiagnosticDescription[] expectedDiagnostics)
{
AssertCompilationError(() => script.RunAsync().Wait(), expectedDiagnostics);
}
internal static void AssertCompilationError(Task<ScriptState> state, string code, params DiagnosticDescription[] expectedDiagnostics)
{
AssertCompilationError(() => state.Result.ContinueWithAsync(code).Wait(), expectedDiagnostics);
}
internal static void AssertCompilationError<T>(Task<ScriptState<T>> state, string code, params DiagnosticDescription[] expectedDiagnostics)
{
AssertCompilationError(() => state.Result.ContinueWithAsync(code).Wait(), expectedDiagnostics);
}
internal static void AssertCompilationError(ScriptState state, string code, params DiagnosticDescription[] expectedDiagnostics)
{
AssertCompilationError(() => state.ContinueWithAsync(code).Wait(), expectedDiagnostics);
}
internal static void AssertCompilationError(Action action, params DiagnosticDescription[] expectedDiagnostics)
{
bool noException = false;
try
{
action();
noException = true;
}
catch (CompilationErrorException e)
{
e.Diagnostics.Verify(expectedDiagnostics);
e.Diagnostics.Any(d => d.Severity == DiagnosticSeverity.Error && e.Message == d.ToString());
}
catch (Exception e)
{
Assert.False(true, "Unexpected exception: " + e);
}
Assert.False(noException);
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Test.Utilities;
using Xunit;
using System;
using System.Threading.Tasks;
using Roslyn.Test.Utilities;
namespace Microsoft.CodeAnalysis.Scripting.Test
{
public class ScriptingTestHelpers
{
public static ScriptState<T> RunScriptWithOutput<T>(Script<T> script, string expectedOutput)
{
string output;
string errorOutput;
ScriptState<T> result = null;
RuntimeEnvironmentFactory.CaptureOutput(() =>
{
var task = script.RunAsync();
task.Wait();
result = task.Result;
}, expectedOutput.Length, out output, out errorOutput);
Assert.Equal(expectedOutput, output.Trim());
return result;
}
public static T EvaluateScriptWithOutput<T>(Script<T> script, string expectedOutput)
{
string output;
string errorOutput;
T result = default(T);
RuntimeEnvironmentFactory.CaptureOutput(() =>
{
var task = script.EvaluateAsync();
task.Wait();
result = task.Result;
}, expectedOutput.Length, out output, out errorOutput);
Assert.Equal(expectedOutput, output.Trim());
return result;
}
public static void ContinueRunScriptWithOutput<T>(Task<ScriptState<T>> scriptState, string code, string expectedOutput)
{
string output;
string errorOutput;
RuntimeEnvironmentFactory.CaptureOutput(() =>
{
scriptState.ContinueWith(code).Wait();
}, expectedOutput.Length, out output, out errorOutput);
Assert.Equal(expectedOutput, output.Trim());
}
internal static void AssertCompilationError(Script script, params DiagnosticDescription[] expectedDiagnostics)
{
AssertCompilationError(() => script.RunAsync().Wait(), expectedDiagnostics);
}
internal static void AssertCompilationError(Task<ScriptState> state, string code, params DiagnosticDescription[] expectedDiagnostics)
{
AssertCompilationError(() => state.Result.ContinueWithAsync(code).Wait(), expectedDiagnostics);
}
internal static void AssertCompilationError<T>(Task<ScriptState<T>> state, string code, params DiagnosticDescription[] expectedDiagnostics)
{
AssertCompilationError(() => state.Result.ContinueWithAsync(code).Wait(), expectedDiagnostics);
}
internal static void AssertCompilationError(ScriptState state, string code, params DiagnosticDescription[] expectedDiagnostics)
{
AssertCompilationError(() => state.ContinueWithAsync(code).Wait(), expectedDiagnostics);
}
internal static void AssertCompilationError(Action action, params DiagnosticDescription[] expectedDiagnostics)
{
bool noException = false;
try
{
action();
noException = true;
}
catch (CompilationErrorException e)
{
e.Diagnostics.Verify(expectedDiagnostics);
e.Diagnostics.Any(d => d.Severity == DiagnosticSeverity.Error && e.Message == d.ToString());
}
catch (Exception e)
{
Assert.False(true, "Unexpected exception: " + e);
}
Assert.False(noException);
}
}
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Features/CSharp/Portable/Completion/KeywordRecommenders/AliasKeywordRecommender.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Threading;
using Microsoft.CodeAnalysis.CSharp.Extensions.ContextQuery;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Shared.Extensions;
namespace Microsoft.CodeAnalysis.CSharp.Completion.KeywordRecommenders
{
internal class AliasKeywordRecommender : AbstractSyntacticSingleKeywordRecommender
{
public AliasKeywordRecommender()
: base(SyntaxKind.AliasKeyword)
{
}
protected override bool IsValidContext(int position, CSharpSyntaxContext context, CancellationToken cancellationToken)
{
// cases:
// extern |
// extern a|
var token = context.TargetToken;
if (token.Kind() == SyntaxKind.ExternKeyword)
{
// members can be 'extern' but we don't want
// 'alias' to show up in a 'type'.
return token.GetAncestor<TypeDeclarationSyntax>() == null;
}
return false;
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Threading;
using Microsoft.CodeAnalysis.CSharp.Extensions.ContextQuery;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Shared.Extensions;
namespace Microsoft.CodeAnalysis.CSharp.Completion.KeywordRecommenders
{
internal class AliasKeywordRecommender : AbstractSyntacticSingleKeywordRecommender
{
public AliasKeywordRecommender()
: base(SyntaxKind.AliasKeyword)
{
}
protected override bool IsValidContext(int position, CSharpSyntaxContext context, CancellationToken cancellationToken)
{
// cases:
// extern |
// extern a|
var token = context.TargetToken;
if (token.Kind() == SyntaxKind.ExternKeyword)
{
// members can be 'extern' but we don't want
// 'alias' to show up in a 'type'.
return token.GetAncestor<TypeDeclarationSyntax>() == null;
}
return false;
}
}
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Workspaces/Remote/ServiceHub/Services/ServiceHubDocumentTrackingService.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Immutable;
using System.Composition;
using System.Diagnostics;
using Microsoft.CodeAnalysis.ErrorReporting;
using Microsoft.CodeAnalysis.Host.Mef;
namespace Microsoft.CodeAnalysis.Remote
{
[ExportWorkspaceService(typeof(IDocumentTrackingService), ServiceLayer.Host)]
[Shared]
internal sealed class ServiceHubDocumentTrackingService : IDocumentTrackingService
{
[ImportingConstructor]
[Obsolete(MefConstruction.ImportingConstructorMessage, error: true)]
public ServiceHubDocumentTrackingService()
{
}
public bool SupportsDocumentTracking => false;
public event EventHandler<DocumentId?> ActiveDocumentChanged { add { } remove { } }
public event EventHandler<EventArgs> NonRoslynBufferTextChanged { add { } remove { } }
public ImmutableArray<DocumentId> GetVisibleDocuments()
{
Fail("Code should not be attempting to obtain visible documents from a stateless remote invocation.");
return ImmutableArray<DocumentId>.Empty;
}
public DocumentId? TryGetActiveDocument()
{
Fail("Code should not be attempting to obtain active document from a stateless remote invocation.");
return null;
}
private static void Fail(string message)
{
// assert in debug builds to hopefully catch problems in CI
Debug.Fail(message);
// record NFW to see who violates contract.
WatsonReporter.ReportNonFatal(new InvalidOperationException(message));
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Immutable;
using System.Composition;
using System.Diagnostics;
using Microsoft.CodeAnalysis.ErrorReporting;
using Microsoft.CodeAnalysis.Host.Mef;
namespace Microsoft.CodeAnalysis.Remote
{
[ExportWorkspaceService(typeof(IDocumentTrackingService), ServiceLayer.Host)]
[Shared]
internal sealed class ServiceHubDocumentTrackingService : IDocumentTrackingService
{
[ImportingConstructor]
[Obsolete(MefConstruction.ImportingConstructorMessage, error: true)]
public ServiceHubDocumentTrackingService()
{
}
public bool SupportsDocumentTracking => false;
public event EventHandler<DocumentId?> ActiveDocumentChanged { add { } remove { } }
public event EventHandler<EventArgs> NonRoslynBufferTextChanged { add { } remove { } }
public ImmutableArray<DocumentId> GetVisibleDocuments()
{
Fail("Code should not be attempting to obtain visible documents from a stateless remote invocation.");
return ImmutableArray<DocumentId>.Empty;
}
public DocumentId? TryGetActiveDocument()
{
Fail("Code should not be attempting to obtain active document from a stateless remote invocation.");
return null;
}
private static void Fail(string message)
{
// assert in debug builds to hopefully catch problems in CI
Debug.Fail(message);
// record NFW to see who violates contract.
WatsonReporter.ReportNonFatal(new InvalidOperationException(message));
}
}
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/EditorFeatures/Core/GoToDefinition/AbstractGoToSymbolService.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Editor.Shared.Utilities;
using Microsoft.CodeAnalysis.GoToDefinition;
using Microsoft.CodeAnalysis.Shared.Extensions;
namespace Microsoft.CodeAnalysis.Editor.GoToDefinition
{
// Ctrl+Click (GoToSymbol)
internal abstract class AbstractGoToSymbolService : ForegroundThreadAffinitizedObject, IGoToSymbolService
{
protected AbstractGoToSymbolService(IThreadingContext threadingContext, bool assertIsForeground = false)
: base(threadingContext, assertIsForeground)
{
}
public async Task GetSymbolsAsync(GoToSymbolContext context)
{
var document = context.Document;
var position = context.Position;
var cancellationToken = context.CancellationToken;
var service = document.GetRequiredLanguageService<IGoToDefinitionSymbolService>();
// [includeType: false]
// Enable Ctrl+Click on tokens with aliased, referenced or declared symbol.
// If the token has none of those but does have a type (mostly literals), we're not interested
var (symbol, span) = await service.GetSymbolAndBoundSpanAsync(document, position, includeType: false, cancellationToken).ConfigureAwait(false);
if (symbol == null)
{
return;
}
var solution = document.Project.Solution;
var definitions = await GoToDefinitionHelpers.GetDefinitionsAsync(symbol, solution, thirdPartyNavigationAllowed: true, cancellationToken).ConfigureAwait(false);
foreach (var definition in definitions)
{
if (await definition.CanNavigateToAsync(solution.Workspace, cancellationToken).ConfigureAwait(false))
context.AddItem(WellKnownSymbolTypes.Definition, definition);
}
context.Span = span;
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Editor.Shared.Utilities;
using Microsoft.CodeAnalysis.GoToDefinition;
using Microsoft.CodeAnalysis.Shared.Extensions;
namespace Microsoft.CodeAnalysis.Editor.GoToDefinition
{
// Ctrl+Click (GoToSymbol)
internal abstract class AbstractGoToSymbolService : ForegroundThreadAffinitizedObject, IGoToSymbolService
{
protected AbstractGoToSymbolService(IThreadingContext threadingContext, bool assertIsForeground = false)
: base(threadingContext, assertIsForeground)
{
}
public async Task GetSymbolsAsync(GoToSymbolContext context)
{
var document = context.Document;
var position = context.Position;
var cancellationToken = context.CancellationToken;
var service = document.GetRequiredLanguageService<IGoToDefinitionSymbolService>();
// [includeType: false]
// Enable Ctrl+Click on tokens with aliased, referenced or declared symbol.
// If the token has none of those but does have a type (mostly literals), we're not interested
var (symbol, span) = await service.GetSymbolAndBoundSpanAsync(document, position, includeType: false, cancellationToken).ConfigureAwait(false);
if (symbol == null)
{
return;
}
var solution = document.Project.Solution;
var definitions = await GoToDefinitionHelpers.GetDefinitionsAsync(symbol, solution, thirdPartyNavigationAllowed: true, cancellationToken).ConfigureAwait(false);
foreach (var definition in definitions)
{
if (await definition.CanNavigateToAsync(solution.Workspace, cancellationToken).ConfigureAwait(false))
context.AddItem(WellKnownSymbolTypes.Definition, definition);
}
context.Span = span;
}
}
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Compilers/VisualBasic/Test/IOperation/IOperation/IOperationTests_ILabelStatement.vb | ' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
Imports Microsoft.CodeAnalysis.Test.Utilities
Imports Microsoft.CodeAnalysis.VisualBasic.Syntax
Namespace Microsoft.CodeAnalysis.VisualBasic.UnitTests.Semantics
Partial Public Class IOperationTests
Inherits SemanticModelTestBase
<CompilerTrait(CompilerFeature.IOperation)>
<Fact()>
Public Sub ILabelStatement_SimpleLabelTest()
Dim source = <![CDATA[
Option Strict On
Imports System
Public Class C1
Public Sub M1()'BIND:"Public Sub M1()"
GoTo Label
Label: Console.WriteLine("Hello World!")
End Sub
End Class]]>.Value
Dim expectedOperationTree = <![CDATA[
IBlockOperation (5 statements) (OperationKind.Block, Type: null) (Syntax: 'Public Sub ... End Sub')
IBranchOperation (BranchKind.GoTo, Label: Label) (OperationKind.Branch, Type: null) (Syntax: 'GoTo Label')
ILabeledOperation (Label: Label) (OperationKind.Labeled, Type: null) (Syntax: 'Label:')
Statement:
null
IExpressionStatementOperation (OperationKind.ExpressionStatement, Type: null) (Syntax: 'Console.Wri ... lo World!")')
Expression:
IInvocationOperation (Sub System.Console.WriteLine(value As System.String)) (OperationKind.Invocation, Type: System.Void) (Syntax: 'Console.Wri ... lo World!")')
Instance Receiver:
null
Arguments(1):
IArgumentOperation (ArgumentKind.Explicit, Matching Parameter: value) (OperationKind.Argument, Type: null) (Syntax: '"Hello World!"')
ILiteralOperation (OperationKind.Literal, Type: System.String, Constant: "Hello World!") (Syntax: '"Hello World!"')
InConversion: CommonConversion (Exists: True, IsIdentity: True, IsNumeric: False, IsReference: False, IsUserDefined: False) (MethodSymbol: null)
OutConversion: CommonConversion (Exists: True, IsIdentity: True, IsNumeric: False, IsReference: False, IsUserDefined: False) (MethodSymbol: null)
ILabeledOperation (Label: exit) (OperationKind.Labeled, Type: null, IsImplicit) (Syntax: 'End Sub')
Statement:
null
IReturnOperation (OperationKind.Return, Type: null, IsImplicit) (Syntax: 'End Sub')
ReturnedValue:
null
]]>.Value
Dim expectedDiagnostics = String.Empty
VerifyOperationTreeAndDiagnosticsForTest(Of MethodBlockSyntax)(source, expectedOperationTree, expectedDiagnostics)
End Sub
End Class
End Namespace
| ' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
Imports Microsoft.CodeAnalysis.Test.Utilities
Imports Microsoft.CodeAnalysis.VisualBasic.Syntax
Namespace Microsoft.CodeAnalysis.VisualBasic.UnitTests.Semantics
Partial Public Class IOperationTests
Inherits SemanticModelTestBase
<CompilerTrait(CompilerFeature.IOperation)>
<Fact()>
Public Sub ILabelStatement_SimpleLabelTest()
Dim source = <![CDATA[
Option Strict On
Imports System
Public Class C1
Public Sub M1()'BIND:"Public Sub M1()"
GoTo Label
Label: Console.WriteLine("Hello World!")
End Sub
End Class]]>.Value
Dim expectedOperationTree = <![CDATA[
IBlockOperation (5 statements) (OperationKind.Block, Type: null) (Syntax: 'Public Sub ... End Sub')
IBranchOperation (BranchKind.GoTo, Label: Label) (OperationKind.Branch, Type: null) (Syntax: 'GoTo Label')
ILabeledOperation (Label: Label) (OperationKind.Labeled, Type: null) (Syntax: 'Label:')
Statement:
null
IExpressionStatementOperation (OperationKind.ExpressionStatement, Type: null) (Syntax: 'Console.Wri ... lo World!")')
Expression:
IInvocationOperation (Sub System.Console.WriteLine(value As System.String)) (OperationKind.Invocation, Type: System.Void) (Syntax: 'Console.Wri ... lo World!")')
Instance Receiver:
null
Arguments(1):
IArgumentOperation (ArgumentKind.Explicit, Matching Parameter: value) (OperationKind.Argument, Type: null) (Syntax: '"Hello World!"')
ILiteralOperation (OperationKind.Literal, Type: System.String, Constant: "Hello World!") (Syntax: '"Hello World!"')
InConversion: CommonConversion (Exists: True, IsIdentity: True, IsNumeric: False, IsReference: False, IsUserDefined: False) (MethodSymbol: null)
OutConversion: CommonConversion (Exists: True, IsIdentity: True, IsNumeric: False, IsReference: False, IsUserDefined: False) (MethodSymbol: null)
ILabeledOperation (Label: exit) (OperationKind.Labeled, Type: null, IsImplicit) (Syntax: 'End Sub')
Statement:
null
IReturnOperation (OperationKind.Return, Type: null, IsImplicit) (Syntax: 'End Sub')
ReturnedValue:
null
]]>.Value
Dim expectedDiagnostics = String.Empty
VerifyOperationTreeAndDiagnosticsForTest(Of MethodBlockSyntax)(source, expectedOperationTree, expectedDiagnostics)
End Sub
End Class
End Namespace
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/EditorFeatures/Test2/FindReferences/FindReferencesTests.Literals.vb | ' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
Imports System.Threading.Tasks
Imports Microsoft.CodeAnalysis.Remote.Testing
Namespace Microsoft.CodeAnalysis.Editor.UnitTests.FindReferences
Partial Public Class FindReferencesTests
<WpfTheory, CombinatorialData, Trait(Traits.Feature, Traits.Features.FindReferences)>
Public Async Function TestInt32Literals1(host As TestHost) As Task
Dim test =
<Workspace>
<Project Language="C#" CommonReferences="true">
<Document>
class C
{
void M()
{
var i = [|$$0|];
var i = [|0|];
var i = [|00|];
var i = [|0x0|];
var i = [|0b0|];
var i = 1;
var i = 0.0;
}
}
</Document>
</Project>
<Project Language="Visual Basic" CommonReferences="true">
<Document>
class C
dim i = [|0|]
dim i = [|0|]
dim i = [|&H0|]
dim i = 1
dim i = 0.0
end class
</Document>
</Project>
</Workspace>
Await TestStreamingFeature(test, host)
End Function
<WpfTheory, CombinatorialData, Trait(Traits.Feature, Traits.Features.FindReferences)>
Public Async Function TestCharLiterals1(host As TestHost) As Task
Dim test =
<Workspace>
<Project Language="C#" CommonReferences="true">
<Document>
class C
{
void M()
{
var i = [|$$'c'|];
var i = [|'c'|];
var i = [|'\u0063'|];
var i = 99; // 'c' in decimal
var i = "c";
var i = 'd';
}
}
</Document>
</Project>
<Project Language="Visual Basic" CommonReferences="true">
<Document>
class C
dim i = [|"c"c|]
dim i = [|"c"c|]
dim i = 99
dim i = "d"c
end class
</Document>
</Project>
</Workspace>
Await TestStreamingFeature(test, host)
End Function
<WpfTheory, CombinatorialData, Trait(Traits.Feature, Traits.Features.FindReferences)>
Public Async Function TestDoubleLiterals1(host As TestHost) As Task
Dim test =
<Workspace>
<Project Language="C#" CommonReferences="true">
<Document>
class C
{
void M()
{
var i = [|$$0.0|];
var i = [|0D|];
var i = 0;
var i = 0F;
var i = '\u0000';
var i = 00;
var i = 0x0;
var i = 0b0;
var i = 1;
var i = [|0.00|];
var i = [|0e0|];
}
}
</Document>
</Project>
<Project Language="Visual Basic" CommonReferences="true">
<Document>
class C
dim i = [|0.0|]
dim i = 0
dim i = [|0.00|]
end class
</Document>
</Project>
</Workspace>
Await TestStreamingFeature(test, host)
End Function
<WpfTheory, CombinatorialData, Trait(Traits.Feature, Traits.Features.FindReferences)>
Public Async Function TestFloatLiterals1(host As TestHost) As Task
Dim test =
<Workspace>
<Project Language="C#" CommonReferences="true">
<Document>
class C
{
void M()
{
var i = [|$$0F|];
var i = 0D;
var i = 0;
var i = '\u0000';
var i = 00;
var i = 0x0;
var i = 0b0;
var i = 1;
var i = [|0.0f|];
var i = [|0.00f|];
var i = [|0e0f|];
}
}
</Document>
</Project>
<Project Language="Visual Basic" CommonReferences="true">
<Document>
class C
dim i = [|0.0F|]
dim i = 0
dim i = [|0.00F|]
end class
</Document>
</Project>
</Workspace>
Await TestStreamingFeature(test, host)
End Function
<WpfTheory, CombinatorialData, Trait(Traits.Feature, Traits.Features.FindReferences)>
Public Async Function TestStringLiterals1(host As TestHost) As Task
Dim test =
<Workspace>
<Project Language="C#" CommonReferences="true">
<Document>
class C
{
void M()
{
var i = [|$$"goo"|];
var i = [|"goo"|];
var i = [|@"goo"|];
var i = "fo";
var i = "gooo";
var i = 'f';
var i = 00;
var i = 0x0;
var i = 0b0;
var i = 1;
var i = 0.0f;
var i = 0.00f;
var i = 0e0f;
}
}
</Document>
</Project>
<Project Language="Visual Basic" CommonReferences="true">
<Document>
class C
dim i = [|"goo"|]
dim i = [|"goo"|]
dim i = "fo"
dim i = "gooo"
end class
</Document>
</Project>
</Workspace>
Await TestStreamingFeature(test, host)
End Function
<WpfTheory, CombinatorialData, Trait(Traits.Feature, Traits.Features.FindReferences)>
Public Async Function TestStringLiterals2(host As TestHost) As Task
Dim test =
<Workspace>
<Project Language="C#" CommonReferences="true">
<Document>
class C
{
void M()
{
var i = [|$$"goo\nbar"|];
var i = @"goo
bar";
var i = "goo\r\nbar";
}
}
</Document>
</Project>
<Project Language="Visual Basic" CommonReferences="true">
<Document>
class C
dim i = "goo
bar"
dim i = "goobar"
end class
</Document>
</Project>
</Workspace>
Await TestStreamingFeature(test, host)
End Function
<WpfTheory, CombinatorialData, Trait(Traits.Feature, Traits.Features.FindReferences)>
Public Async Function TestStringLiterals3(host As TestHost) As Task
Dim test =
<Workspace>
<Project Language="C#" CommonReferences="true">
<Document>
class C
{
void M()
{
var i = [|$$"goo\r\nbar"|];
var i = [|@"goo
bar"|];
var i = "goo\nbar";
}
}
</Document>
</Project>
<Project Language="Visual Basic" CommonReferences="true">
<Document>
class C
dim i = [|"goo
bar"|]
dim i = "goobar"
end class
</Document>
</Project>
</Workspace>
Await TestStreamingFeature(test, host)
End Function
<WpfTheory, CombinatorialData, Trait(Traits.Feature, Traits.Features.FindReferences)>
Public Async Function TestDecimalLiterals1(host As TestHost) As Task
Dim test =
<Workspace>
<Project Language="C#" CommonReferences="true">
<Document>
class C
{
void M()
{
var i = $$1M; // Decimals not currently supported
var i = 1M;
}
}
</Document>
</Project>
</Workspace>
Await TestStreamingFeature(test, host)
End Function
<WpfFact, CombinatorialData, Trait(Traits.Feature, Traits.Features.FindReferences)>
Public Async Function TestInt32LiteralsUsedInSourceGeneratedDocument() As Task
Dim test =
<Workspace>
<Project Language="C#" CommonReferences="true">
<Document>
class C
{
void M()
{
var i = [|$$0|];
}
}
</Document>
<DocumentFromSourceGenerator>
class D
{
void M()
{
var i = [|0|];
}
}
</DocumentFromSourceGenerator>
</Project>
</Workspace>
Await TestStreamingFeature(test, TestHost.InProcess) ' TODO: support out of proc in tests: https://github.com/dotnet/roslyn/issues/50494
End Function
End Class
End Namespace
| ' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
Imports System.Threading.Tasks
Imports Microsoft.CodeAnalysis.Remote.Testing
Namespace Microsoft.CodeAnalysis.Editor.UnitTests.FindReferences
Partial Public Class FindReferencesTests
<WpfTheory, CombinatorialData, Trait(Traits.Feature, Traits.Features.FindReferences)>
Public Async Function TestInt32Literals1(host As TestHost) As Task
Dim test =
<Workspace>
<Project Language="C#" CommonReferences="true">
<Document>
class C
{
void M()
{
var i = [|$$0|];
var i = [|0|];
var i = [|00|];
var i = [|0x0|];
var i = [|0b0|];
var i = 1;
var i = 0.0;
}
}
</Document>
</Project>
<Project Language="Visual Basic" CommonReferences="true">
<Document>
class C
dim i = [|0|]
dim i = [|0|]
dim i = [|&H0|]
dim i = 1
dim i = 0.0
end class
</Document>
</Project>
</Workspace>
Await TestStreamingFeature(test, host)
End Function
<WpfTheory, CombinatorialData, Trait(Traits.Feature, Traits.Features.FindReferences)>
Public Async Function TestCharLiterals1(host As TestHost) As Task
Dim test =
<Workspace>
<Project Language="C#" CommonReferences="true">
<Document>
class C
{
void M()
{
var i = [|$$'c'|];
var i = [|'c'|];
var i = [|'\u0063'|];
var i = 99; // 'c' in decimal
var i = "c";
var i = 'd';
}
}
</Document>
</Project>
<Project Language="Visual Basic" CommonReferences="true">
<Document>
class C
dim i = [|"c"c|]
dim i = [|"c"c|]
dim i = 99
dim i = "d"c
end class
</Document>
</Project>
</Workspace>
Await TestStreamingFeature(test, host)
End Function
<WpfTheory, CombinatorialData, Trait(Traits.Feature, Traits.Features.FindReferences)>
Public Async Function TestDoubleLiterals1(host As TestHost) As Task
Dim test =
<Workspace>
<Project Language="C#" CommonReferences="true">
<Document>
class C
{
void M()
{
var i = [|$$0.0|];
var i = [|0D|];
var i = 0;
var i = 0F;
var i = '\u0000';
var i = 00;
var i = 0x0;
var i = 0b0;
var i = 1;
var i = [|0.00|];
var i = [|0e0|];
}
}
</Document>
</Project>
<Project Language="Visual Basic" CommonReferences="true">
<Document>
class C
dim i = [|0.0|]
dim i = 0
dim i = [|0.00|]
end class
</Document>
</Project>
</Workspace>
Await TestStreamingFeature(test, host)
End Function
<WpfTheory, CombinatorialData, Trait(Traits.Feature, Traits.Features.FindReferences)>
Public Async Function TestFloatLiterals1(host As TestHost) As Task
Dim test =
<Workspace>
<Project Language="C#" CommonReferences="true">
<Document>
class C
{
void M()
{
var i = [|$$0F|];
var i = 0D;
var i = 0;
var i = '\u0000';
var i = 00;
var i = 0x0;
var i = 0b0;
var i = 1;
var i = [|0.0f|];
var i = [|0.00f|];
var i = [|0e0f|];
}
}
</Document>
</Project>
<Project Language="Visual Basic" CommonReferences="true">
<Document>
class C
dim i = [|0.0F|]
dim i = 0
dim i = [|0.00F|]
end class
</Document>
</Project>
</Workspace>
Await TestStreamingFeature(test, host)
End Function
<WpfTheory, CombinatorialData, Trait(Traits.Feature, Traits.Features.FindReferences)>
Public Async Function TestStringLiterals1(host As TestHost) As Task
Dim test =
<Workspace>
<Project Language="C#" CommonReferences="true">
<Document>
class C
{
void M()
{
var i = [|$$"goo"|];
var i = [|"goo"|];
var i = [|@"goo"|];
var i = "fo";
var i = "gooo";
var i = 'f';
var i = 00;
var i = 0x0;
var i = 0b0;
var i = 1;
var i = 0.0f;
var i = 0.00f;
var i = 0e0f;
}
}
</Document>
</Project>
<Project Language="Visual Basic" CommonReferences="true">
<Document>
class C
dim i = [|"goo"|]
dim i = [|"goo"|]
dim i = "fo"
dim i = "gooo"
end class
</Document>
</Project>
</Workspace>
Await TestStreamingFeature(test, host)
End Function
<WpfTheory, CombinatorialData, Trait(Traits.Feature, Traits.Features.FindReferences)>
Public Async Function TestStringLiterals2(host As TestHost) As Task
Dim test =
<Workspace>
<Project Language="C#" CommonReferences="true">
<Document>
class C
{
void M()
{
var i = [|$$"goo\nbar"|];
var i = @"goo
bar";
var i = "goo\r\nbar";
}
}
</Document>
</Project>
<Project Language="Visual Basic" CommonReferences="true">
<Document>
class C
dim i = "goo
bar"
dim i = "goobar"
end class
</Document>
</Project>
</Workspace>
Await TestStreamingFeature(test, host)
End Function
<WpfTheory, CombinatorialData, Trait(Traits.Feature, Traits.Features.FindReferences)>
Public Async Function TestStringLiterals3(host As TestHost) As Task
Dim test =
<Workspace>
<Project Language="C#" CommonReferences="true">
<Document>
class C
{
void M()
{
var i = [|$$"goo\r\nbar"|];
var i = [|@"goo
bar"|];
var i = "goo\nbar";
}
}
</Document>
</Project>
<Project Language="Visual Basic" CommonReferences="true">
<Document>
class C
dim i = [|"goo
bar"|]
dim i = "goobar"
end class
</Document>
</Project>
</Workspace>
Await TestStreamingFeature(test, host)
End Function
<WpfTheory, CombinatorialData, Trait(Traits.Feature, Traits.Features.FindReferences)>
Public Async Function TestDecimalLiterals1(host As TestHost) As Task
Dim test =
<Workspace>
<Project Language="C#" CommonReferences="true">
<Document>
class C
{
void M()
{
var i = $$1M; // Decimals not currently supported
var i = 1M;
}
}
</Document>
</Project>
</Workspace>
Await TestStreamingFeature(test, host)
End Function
<WpfFact, CombinatorialData, Trait(Traits.Feature, Traits.Features.FindReferences)>
Public Async Function TestInt32LiteralsUsedInSourceGeneratedDocument() As Task
Dim test =
<Workspace>
<Project Language="C#" CommonReferences="true">
<Document>
class C
{
void M()
{
var i = [|$$0|];
}
}
</Document>
<DocumentFromSourceGenerator>
class D
{
void M()
{
var i = [|0|];
}
}
</DocumentFromSourceGenerator>
</Project>
</Workspace>
Await TestStreamingFeature(test, TestHost.InProcess) ' TODO: support out of proc in tests: https://github.com/dotnet/roslyn/issues/50494
End Function
End Class
End Namespace
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/EditorFeatures/Core/Implementation/NavigationBar/NavigationBarControllerFactoryService.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.ComponentModel.Composition;
using Microsoft.CodeAnalysis.Editor.Host;
using Microsoft.CodeAnalysis.Editor.Shared.Utilities;
using Microsoft.CodeAnalysis.Host.Mef;
using Microsoft.CodeAnalysis.Shared.TestHooks;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Utilities;
namespace Microsoft.CodeAnalysis.Editor.Implementation.NavigationBar
{
[Export(typeof(INavigationBarControllerFactoryService))]
internal class NavigationBarControllerFactoryService : INavigationBarControllerFactoryService
{
private readonly IThreadingContext _threadingContext;
private readonly IUIThreadOperationExecutor _uIThreadOperationExecutor;
private readonly IAsynchronousOperationListener _asyncListener;
[ImportingConstructor]
[Obsolete(MefConstruction.ImportingConstructorMessage, error: true)]
public NavigationBarControllerFactoryService(
IThreadingContext threadingContext,
IUIThreadOperationExecutor uIThreadOperationExecutor,
IAsynchronousOperationListenerProvider listenerProvider)
{
_threadingContext = threadingContext;
_uIThreadOperationExecutor = uIThreadOperationExecutor;
_asyncListener = listenerProvider.GetListener(FeatureAttribute.NavigationBar);
}
public IDisposable CreateController(INavigationBarPresenter presenter, ITextBuffer textBuffer)
{
return new NavigationBarController(
_threadingContext,
presenter,
textBuffer,
_uIThreadOperationExecutor,
_asyncListener);
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.ComponentModel.Composition;
using Microsoft.CodeAnalysis.Editor.Host;
using Microsoft.CodeAnalysis.Editor.Shared.Utilities;
using Microsoft.CodeAnalysis.Host.Mef;
using Microsoft.CodeAnalysis.Shared.TestHooks;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Utilities;
namespace Microsoft.CodeAnalysis.Editor.Implementation.NavigationBar
{
[Export(typeof(INavigationBarControllerFactoryService))]
internal class NavigationBarControllerFactoryService : INavigationBarControllerFactoryService
{
private readonly IThreadingContext _threadingContext;
private readonly IUIThreadOperationExecutor _uIThreadOperationExecutor;
private readonly IAsynchronousOperationListener _asyncListener;
[ImportingConstructor]
[Obsolete(MefConstruction.ImportingConstructorMessage, error: true)]
public NavigationBarControllerFactoryService(
IThreadingContext threadingContext,
IUIThreadOperationExecutor uIThreadOperationExecutor,
IAsynchronousOperationListenerProvider listenerProvider)
{
_threadingContext = threadingContext;
_uIThreadOperationExecutor = uIThreadOperationExecutor;
_asyncListener = listenerProvider.GetListener(FeatureAttribute.NavigationBar);
}
public IDisposable CreateController(INavigationBarPresenter presenter, ITextBuffer textBuffer)
{
return new NavigationBarController(
_threadingContext,
presenter,
textBuffer,
_uIThreadOperationExecutor,
_asyncListener);
}
}
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Features/Core/Portable/SolutionCrawler/Extensibility/PerLanguageIncrementalAnalyzerProviderMetadata.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Microsoft.CodeAnalysis.Host.Mef;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.SolutionCrawler
{
internal class PerLanguageIncrementalAnalyzerProviderMetadata : LanguageMetadata
{
public string? Name { get; }
public PerLanguageIncrementalAnalyzerProviderMetadata(IDictionary<string, object> data)
: base(data)
{
Name = (string?)data.GetValueOrDefault("Name");
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Microsoft.CodeAnalysis.Host.Mef;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.SolutionCrawler
{
internal class PerLanguageIncrementalAnalyzerProviderMetadata : LanguageMetadata
{
public string? Name { get; }
public PerLanguageIncrementalAnalyzerProviderMetadata(IDictionary<string, object> data)
: base(data)
{
Name = (string?)data.GetValueOrDefault("Name");
}
}
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/VisualStudio/Core/Def/EditorConfigSettings/SettingsEditorPane.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.ComponentModel.Design;
using System.Runtime.InteropServices;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Editor.EditorConfigSettings;
using Microsoft.CodeAnalysis.Editor.EditorConfigSettings.Data;
using Microsoft.CodeAnalysis.Editor.Shared.Extensions;
using Microsoft.CodeAnalysis.Editor.Shared.Utilities;
using Microsoft.Internal.VisualStudio.PlatformUI;
using Microsoft.Internal.VisualStudio.Shell.TableControl;
using Microsoft.VisualStudio.Editor;
using Microsoft.VisualStudio.LanguageServices.EditorConfigSettings.Analyzers.View;
using Microsoft.VisualStudio.LanguageServices.EditorConfigSettings.Analyzers.ViewModel;
using Microsoft.VisualStudio.LanguageServices.EditorConfigSettings.CodeStyle.View;
using Microsoft.VisualStudio.LanguageServices.EditorConfigSettings.CodeStyle.ViewModel;
using Microsoft.VisualStudio.LanguageServices.EditorConfigSettings.Whitespace.View;
using Microsoft.VisualStudio.LanguageServices.EditorConfigSettings.Whitespace.ViewModel;
using Microsoft.VisualStudio.OLE.Interop;
using Microsoft.VisualStudio.PlatformUI;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Shell.Interop;
using Microsoft.VisualStudio.Shell.TableManager;
using Microsoft.VisualStudio.TextManager.Interop;
using static Microsoft.VisualStudio.VSConstants;
namespace Microsoft.VisualStudio.LanguageServices.EditorConfigSettings
{
internal sealed partial class SettingsEditorPane : WindowPane, IOleComponent, IVsDeferredDocView, IVsLinkedUndoClient, IVsWindowSearch
{
private readonly IVsEditorAdaptersFactoryService _vsEditorAdaptersFactoryService;
private readonly IThreadingContext _threadingContext;
private readonly ISettingsAggregator _settingsDataProviderService;
private readonly IWpfTableControlProvider _controlProvider;
private readonly ITableManagerProvider _tableMangerProvider;
private readonly string _fileName;
private readonly IVsTextLines _textBuffer;
private readonly Workspace _workspace;
private uint _componentId;
private IOleUndoManager? _undoManager;
private SettingsEditorControl? _control;
public SettingsEditorPane(IVsEditorAdaptersFactoryService vsEditorAdaptersFactoryService,
IThreadingContext threadingContext,
ISettingsAggregator settingsDataProviderService,
IWpfTableControlProvider controlProvider,
ITableManagerProvider tableMangerProvider,
string fileName,
IVsTextLines textBuffer,
Workspace workspace)
: base(null)
{
_vsEditorAdaptersFactoryService = vsEditorAdaptersFactoryService;
_threadingContext = threadingContext;
_settingsDataProviderService = settingsDataProviderService;
_controlProvider = controlProvider;
_tableMangerProvider = tableMangerProvider;
_fileName = fileName;
_textBuffer = textBuffer;
_workspace = workspace;
}
protected override void Initialize()
{
base.Initialize();
// Create and initialize the editor
if (_componentId == default && this.TryGetService<SOleComponentManager, IOleComponentManager>(out var componentManager))
{
var componentRegistrationInfo = new[]
{
new OLECRINFO
{
cbSize = (uint)Marshal.SizeOf(typeof(OLECRINFO)),
grfcrf = (uint)_OLECRF.olecrfNeedIdleTime | (uint)_OLECRF.olecrfNeedPeriodicIdleTime,
grfcadvf = (uint)_OLECADVF.olecadvfModal | (uint)_OLECADVF.olecadvfRedrawOff | (uint)_OLECADVF.olecadvfWarningsOff,
uIdleTimeInterval = 100
}
};
var hr = componentManager.FRegisterComponent(this, componentRegistrationInfo, out _componentId);
_ = ErrorHandler.Succeeded(hr);
}
if (this.TryGetService<SOleUndoManager, IOleUndoManager>(out _undoManager))
{
var linkCapableUndoMgr = (IVsLinkCapableUndoManager)_undoManager;
if (linkCapableUndoMgr is not null)
{
_ = linkCapableUndoMgr.AdviseLinkedUndoClient(this);
}
}
// hook up our panel
_control = new SettingsEditorControl(
GetWhitespaceView(),
GetCodeStyleView(),
GetAnalyzerView(),
_workspace,
_fileName,
_threadingContext,
_vsEditorAdaptersFactoryService,
_textBuffer);
Content = _control;
RegisterIndependentView(true);
if (this.TryGetService<IMenuCommandService>(out var menuCommandService))
{
AddCommand(menuCommandService, GUID_VSStandardCommandSet97, (int)VSStd97CmdID.NewWindow,
new EventHandler(OnNewWindow), new EventHandler(OnQueryNewWindow));
AddCommand(menuCommandService, GUID_VSStandardCommandSet97, (int)VSStd97CmdID.ViewCode,
new EventHandler(OnViewCode), new EventHandler(OnQueryViewCode));
}
ISettingsEditorView GetWhitespaceView()
{
var dataProvider = _settingsDataProviderService.GetSettingsProvider<WhitespaceSetting>(_fileName);
if (dataProvider is null)
{
throw new InvalidOperationException("Unable to get whitespace settings");
}
var viewModel = new WhitespaceViewModel(dataProvider, _controlProvider, _tableMangerProvider);
return new WhitespaceSettingsView(viewModel);
}
ISettingsEditorView GetCodeStyleView()
{
var dataProvider = _settingsDataProviderService.GetSettingsProvider<CodeStyleSetting>(_fileName);
if (dataProvider is null)
{
throw new InvalidOperationException("Unable to get code style settings");
}
var viewModel = new CodeStyleSettingsViewModel(dataProvider, _controlProvider, _tableMangerProvider);
return new CodeStyleSettingsView(viewModel);
}
ISettingsEditorView GetAnalyzerView()
{
var dataProvider = _settingsDataProviderService.GetSettingsProvider<AnalyzerSetting>(_fileName);
if (dataProvider is null)
{
throw new InvalidOperationException("Unable to get analyzer settings");
}
var viewModel = new AnalyzerSettingsViewModel(dataProvider, _controlProvider, _tableMangerProvider);
return new AnalyzerSettingsView(viewModel);
}
}
private void OnQueryNewWindow(object sender, EventArgs e)
{
var command = (OleMenuCommand)sender;
command.Enabled = true;
}
private void OnNewWindow(object sender, EventArgs e)
{
NewWindow();
}
private void OnQueryViewCode(object sender, EventArgs e)
{
var command = (OleMenuCommand)sender;
command.Enabled = true;
}
private void OnViewCode(object sender, EventArgs e)
{
ViewCode();
}
private void NewWindow()
{
if (this.TryGetService<SVsUIShellOpenDocument, IVsUIShellOpenDocument>(out var uishellOpenDocument) &&
this.TryGetService<SVsWindowFrame, IVsWindowFrame>(out var windowFrameOrig))
{
var logicalView = Guid.Empty;
var hr = uishellOpenDocument.OpenCopyOfStandardEditor(windowFrameOrig, ref logicalView, out var windowFrameNew);
if (windowFrameNew != null)
{
hr = windowFrameNew.Show();
}
_ = ErrorHandler.ThrowOnFailure(hr);
}
}
private void ViewCode()
{
var sourceCodeTextEditorGuid = VsEditorFactoryGuid.TextEditor_guid;
// Open the referenced document using our editor.
VsShellUtilities.OpenDocumentWithSpecificEditor(this, _fileName,
sourceCodeTextEditorGuid, LOGVIEWID_Primary, out _, out _, out var frame);
_ = ErrorHandler.ThrowOnFailure(frame.Show());
}
protected override void OnClose()
{
// unhook from Undo related services
if (_undoManager != null)
{
var linkCapableUndoMgr = (IVsLinkCapableUndoManager)_undoManager;
if (linkCapableUndoMgr != null)
{
_ = linkCapableUndoMgr.UnadviseLinkedUndoClient();
}
// Throw away the undo stack etc.
// It is important to "zombify" the undo manager when the owning object is shutting down.
// This is done by calling IVsLifetimeControlledObject.SeverReferencesToOwner on the undoManager.
// This call will clear the undo and redo stacks. This is particularly important to do if
// your undo units hold references back to your object. It is also important if you use
// "mdtStrict" linked undo transactions as this sample does (see IVsLinkedUndoTransactionManager).
// When one object involved in linked undo transactions clears its undo/redo stacks, then
// the stacks of the other documents involved in the linked transaction will also be cleared.
var lco = (IVsLifetimeControlledObject)_undoManager;
_ = lco.SeverReferencesToOwner();
_undoManager = null;
}
if (this.TryGetService<SOleComponentManager, IOleComponentManager>(out var componentManager))
{
_ = componentManager.FRevokeComponent(_componentId);
}
_control?.OnClose();
Dispose(true);
base.OnClose();
}
public int FDoIdle(uint grfidlef)
{
if (_control is not null)
{
_control.SynchronizeSettings();
}
return S_OK;
}
/// <summary>
/// Registers an independent view with the IVsTextManager so that it knows
/// the user is working with a view over the text buffer. This will trigger
/// the text buffer to prompt the user whether to reload the file if it is
/// edited outside of the environment.
/// </summary>
/// <param name="subscribe">True to subscribe, false to unsubscribe</param>
private void RegisterIndependentView(bool subscribe)
{
if (this.TryGetService<SVsTextManager, IVsTextManager>(out var textManager))
{
_ = subscribe
? textManager.RegisterIndependentView(this, _textBuffer)
: textManager.UnregisterIndependentView(this, _textBuffer);
}
}
/// <summary>
/// Helper function used to add commands using IMenuCommandService
/// </summary>
/// <param name="menuCommandService"> The IMenuCommandService interface.</param>
/// <param name="menuGroup"> This guid represents the menu group of the command.</param>
/// <param name="cmdID"> The command ID of the command.</param>
/// <param name="commandEvent"> An EventHandler which will be called whenever the command is invoked.</param>
/// <param name="queryEvent"> An EventHandler which will be called whenever we want to query the status of
/// the command. If null is passed in here then no EventHandler will be added.</param>
private static void AddCommand(IMenuCommandService menuCommandService,
Guid menuGroup,
int cmdID,
EventHandler commandEvent,
EventHandler queryEvent)
{
// Create the OleMenuCommand from the menu group, command ID, and command event
var menuCommandID = new CommandID(menuGroup, cmdID);
var command = new OleMenuCommand(commandEvent, menuCommandID);
// Add an event handler to BeforeQueryStatus if one was passed in
if (null != queryEvent)
{
command.BeforeQueryStatus += queryEvent;
}
// Add the command using our IMenuCommandService instance
menuCommandService.AddCommand(command);
}
public int get_DocView(out IntPtr ppUnkDocView)
{
ppUnkDocView = Marshal.GetIUnknownForObject(this);
return S_OK;
}
public int get_CmdUIGuid(out Guid pGuidCmdId)
{
pGuidCmdId = SettingsEditorFactory.SettingsEditorFactoryGuid;
return S_OK;
}
public int FReserved1(uint dwReserved, uint message, IntPtr wParam, IntPtr lParam) => S_OK;
public int FPreTranslateMessage(MSG[] pMsg) => S_OK;
public void OnEnterState(uint uStateID, int fEnter) { }
public void OnAppActivate(int fActive, uint dwOtherThreadID) { }
public void OnLoseActivation() { }
public void OnActivationChange(IOleComponent pic, int fSameComponent, OLECRINFO[] pcrinfo, int fHostIsActivating, OLECHOSTINFO[] pchostinfo, uint dwReserved) { }
public int FContinueMessageLoop(uint uReason, IntPtr pvLoopData, MSG[] pMsgPeeked) => S_OK;
public int FQueryTerminate(int fPromptUser) => 1; //true
public void Terminate() { }
public IntPtr HwndGetWindow(uint dwWhich, uint dwReserved) => IntPtr.Zero;
public int OnInterveningUnitBlockingLinkedUndo() => E_FAIL;
public IVsSearchTask? CreateSearch(uint dwCookie, IVsSearchQuery pSearchQuery, IVsSearchCallback pSearchCallback)
{
if (_control is not null)
{
var tables = _control.GetTableControls();
return new SearchTask(dwCookie, pSearchQuery, pSearchCallback, tables, _threadingContext);
}
return null;
}
public void ClearSearch()
{
_threadingContext.ThrowIfNotOnUIThread();
if (_control is not null)
{
var tables = _control.GetTableControls();
// remove filter on tablar data controls
foreach (var tableControl in tables)
{
_ = tableControl.SetFilter(string.Empty, null);
}
}
}
public void ProvideSearchSettings(IVsUIDataSource pSearchSettings)
{
SetIntValue(pSearchSettings, SearchSettingsDataSource.PropertyNames.ControlMaxWidth, 200);
SetIntValue(pSearchSettings, SearchSettingsDataSource.PropertyNames.SearchStartType, (int)VSSEARCHSTARTTYPE.SST_DELAYED);
SetIntValue(pSearchSettings, SearchSettingsDataSource.PropertyNames.SearchStartDelay, 100);
SetBoolValue(pSearchSettings, SearchSettingsDataSource.PropertyNames.SearchUseMRU, true);
SetBoolValue(pSearchSettings, SearchSettingsDataSource.PropertyNames.PrefixFilterMRUItems, false);
SetIntValue(pSearchSettings, SearchSettingsDataSource.PropertyNames.MaximumMRUItems, 25);
SetStringValue(pSearchSettings, SearchSettingsDataSource.PropertyNames.SearchWatermark, ServicesVSResources.Search_Settings);
SetBoolValue(pSearchSettings, SearchSettingsDataSource.PropertyNames.SearchPopupAutoDropdown, false);
SetStringValue(pSearchSettings, SearchSettingsDataSource.PropertyNames.ControlBorderThickness, "1");
SetIntValue(pSearchSettings, SearchSettingsDataSource.PropertyNames.SearchProgressType, (int)VSSEARCHPROGRESSTYPE.SPT_INDETERMINATE);
void SetBoolValue(IVsUIDataSource source, string property, bool value)
{
var valueProp = BuiltInPropertyValue.FromBool(value);
_ = source.SetValue(property, valueProp);
}
void SetIntValue(IVsUIDataSource source, string property, int value)
{
var valueProp = BuiltInPropertyValue.Create(value);
_ = source.SetValue(property, valueProp);
}
void SetStringValue(IVsUIDataSource source, string property, string value)
{
var valueProp = BuiltInPropertyValue.Create(value);
_ = source.SetValue(property, valueProp);
}
}
public bool OnNavigationKeyDown(uint dwNavigationKey, uint dwModifiers) => false;
public bool SearchEnabled { get; } = true;
public Guid Category { get; } = new Guid("1BE8950F-AF27-4B71-8D54-1F7FFEFDC237");
public IVsEnumWindowSearchFilters? SearchFiltersEnum => null;
public IVsEnumWindowSearchOptions? SearchOptionsEnum => null;
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.ComponentModel.Design;
using System.Runtime.InteropServices;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Editor.EditorConfigSettings;
using Microsoft.CodeAnalysis.Editor.EditorConfigSettings.Data;
using Microsoft.CodeAnalysis.Editor.Shared.Extensions;
using Microsoft.CodeAnalysis.Editor.Shared.Utilities;
using Microsoft.Internal.VisualStudio.PlatformUI;
using Microsoft.Internal.VisualStudio.Shell.TableControl;
using Microsoft.VisualStudio.Editor;
using Microsoft.VisualStudio.LanguageServices.EditorConfigSettings.Analyzers.View;
using Microsoft.VisualStudio.LanguageServices.EditorConfigSettings.Analyzers.ViewModel;
using Microsoft.VisualStudio.LanguageServices.EditorConfigSettings.CodeStyle.View;
using Microsoft.VisualStudio.LanguageServices.EditorConfigSettings.CodeStyle.ViewModel;
using Microsoft.VisualStudio.LanguageServices.EditorConfigSettings.Whitespace.View;
using Microsoft.VisualStudio.LanguageServices.EditorConfigSettings.Whitespace.ViewModel;
using Microsoft.VisualStudio.OLE.Interop;
using Microsoft.VisualStudio.PlatformUI;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Shell.Interop;
using Microsoft.VisualStudio.Shell.TableManager;
using Microsoft.VisualStudio.TextManager.Interop;
using static Microsoft.VisualStudio.VSConstants;
namespace Microsoft.VisualStudio.LanguageServices.EditorConfigSettings
{
internal sealed partial class SettingsEditorPane : WindowPane, IOleComponent, IVsDeferredDocView, IVsLinkedUndoClient, IVsWindowSearch
{
private readonly IVsEditorAdaptersFactoryService _vsEditorAdaptersFactoryService;
private readonly IThreadingContext _threadingContext;
private readonly ISettingsAggregator _settingsDataProviderService;
private readonly IWpfTableControlProvider _controlProvider;
private readonly ITableManagerProvider _tableMangerProvider;
private readonly string _fileName;
private readonly IVsTextLines _textBuffer;
private readonly Workspace _workspace;
private uint _componentId;
private IOleUndoManager? _undoManager;
private SettingsEditorControl? _control;
public SettingsEditorPane(IVsEditorAdaptersFactoryService vsEditorAdaptersFactoryService,
IThreadingContext threadingContext,
ISettingsAggregator settingsDataProviderService,
IWpfTableControlProvider controlProvider,
ITableManagerProvider tableMangerProvider,
string fileName,
IVsTextLines textBuffer,
Workspace workspace)
: base(null)
{
_vsEditorAdaptersFactoryService = vsEditorAdaptersFactoryService;
_threadingContext = threadingContext;
_settingsDataProviderService = settingsDataProviderService;
_controlProvider = controlProvider;
_tableMangerProvider = tableMangerProvider;
_fileName = fileName;
_textBuffer = textBuffer;
_workspace = workspace;
}
protected override void Initialize()
{
base.Initialize();
// Create and initialize the editor
if (_componentId == default && this.TryGetService<SOleComponentManager, IOleComponentManager>(out var componentManager))
{
var componentRegistrationInfo = new[]
{
new OLECRINFO
{
cbSize = (uint)Marshal.SizeOf(typeof(OLECRINFO)),
grfcrf = (uint)_OLECRF.olecrfNeedIdleTime | (uint)_OLECRF.olecrfNeedPeriodicIdleTime,
grfcadvf = (uint)_OLECADVF.olecadvfModal | (uint)_OLECADVF.olecadvfRedrawOff | (uint)_OLECADVF.olecadvfWarningsOff,
uIdleTimeInterval = 100
}
};
var hr = componentManager.FRegisterComponent(this, componentRegistrationInfo, out _componentId);
_ = ErrorHandler.Succeeded(hr);
}
if (this.TryGetService<SOleUndoManager, IOleUndoManager>(out _undoManager))
{
var linkCapableUndoMgr = (IVsLinkCapableUndoManager)_undoManager;
if (linkCapableUndoMgr is not null)
{
_ = linkCapableUndoMgr.AdviseLinkedUndoClient(this);
}
}
// hook up our panel
_control = new SettingsEditorControl(
GetWhitespaceView(),
GetCodeStyleView(),
GetAnalyzerView(),
_workspace,
_fileName,
_threadingContext,
_vsEditorAdaptersFactoryService,
_textBuffer);
Content = _control;
RegisterIndependentView(true);
if (this.TryGetService<IMenuCommandService>(out var menuCommandService))
{
AddCommand(menuCommandService, GUID_VSStandardCommandSet97, (int)VSStd97CmdID.NewWindow,
new EventHandler(OnNewWindow), new EventHandler(OnQueryNewWindow));
AddCommand(menuCommandService, GUID_VSStandardCommandSet97, (int)VSStd97CmdID.ViewCode,
new EventHandler(OnViewCode), new EventHandler(OnQueryViewCode));
}
ISettingsEditorView GetWhitespaceView()
{
var dataProvider = _settingsDataProviderService.GetSettingsProvider<WhitespaceSetting>(_fileName);
if (dataProvider is null)
{
throw new InvalidOperationException("Unable to get whitespace settings");
}
var viewModel = new WhitespaceViewModel(dataProvider, _controlProvider, _tableMangerProvider);
return new WhitespaceSettingsView(viewModel);
}
ISettingsEditorView GetCodeStyleView()
{
var dataProvider = _settingsDataProviderService.GetSettingsProvider<CodeStyleSetting>(_fileName);
if (dataProvider is null)
{
throw new InvalidOperationException("Unable to get code style settings");
}
var viewModel = new CodeStyleSettingsViewModel(dataProvider, _controlProvider, _tableMangerProvider);
return new CodeStyleSettingsView(viewModel);
}
ISettingsEditorView GetAnalyzerView()
{
var dataProvider = _settingsDataProviderService.GetSettingsProvider<AnalyzerSetting>(_fileName);
if (dataProvider is null)
{
throw new InvalidOperationException("Unable to get analyzer settings");
}
var viewModel = new AnalyzerSettingsViewModel(dataProvider, _controlProvider, _tableMangerProvider);
return new AnalyzerSettingsView(viewModel);
}
}
private void OnQueryNewWindow(object sender, EventArgs e)
{
var command = (OleMenuCommand)sender;
command.Enabled = true;
}
private void OnNewWindow(object sender, EventArgs e)
{
NewWindow();
}
private void OnQueryViewCode(object sender, EventArgs e)
{
var command = (OleMenuCommand)sender;
command.Enabled = true;
}
private void OnViewCode(object sender, EventArgs e)
{
ViewCode();
}
private void NewWindow()
{
if (this.TryGetService<SVsUIShellOpenDocument, IVsUIShellOpenDocument>(out var uishellOpenDocument) &&
this.TryGetService<SVsWindowFrame, IVsWindowFrame>(out var windowFrameOrig))
{
var logicalView = Guid.Empty;
var hr = uishellOpenDocument.OpenCopyOfStandardEditor(windowFrameOrig, ref logicalView, out var windowFrameNew);
if (windowFrameNew != null)
{
hr = windowFrameNew.Show();
}
_ = ErrorHandler.ThrowOnFailure(hr);
}
}
private void ViewCode()
{
var sourceCodeTextEditorGuid = VsEditorFactoryGuid.TextEditor_guid;
// Open the referenced document using our editor.
VsShellUtilities.OpenDocumentWithSpecificEditor(this, _fileName,
sourceCodeTextEditorGuid, LOGVIEWID_Primary, out _, out _, out var frame);
_ = ErrorHandler.ThrowOnFailure(frame.Show());
}
protected override void OnClose()
{
// unhook from Undo related services
if (_undoManager != null)
{
var linkCapableUndoMgr = (IVsLinkCapableUndoManager)_undoManager;
if (linkCapableUndoMgr != null)
{
_ = linkCapableUndoMgr.UnadviseLinkedUndoClient();
}
// Throw away the undo stack etc.
// It is important to "zombify" the undo manager when the owning object is shutting down.
// This is done by calling IVsLifetimeControlledObject.SeverReferencesToOwner on the undoManager.
// This call will clear the undo and redo stacks. This is particularly important to do if
// your undo units hold references back to your object. It is also important if you use
// "mdtStrict" linked undo transactions as this sample does (see IVsLinkedUndoTransactionManager).
// When one object involved in linked undo transactions clears its undo/redo stacks, then
// the stacks of the other documents involved in the linked transaction will also be cleared.
var lco = (IVsLifetimeControlledObject)_undoManager;
_ = lco.SeverReferencesToOwner();
_undoManager = null;
}
if (this.TryGetService<SOleComponentManager, IOleComponentManager>(out var componentManager))
{
_ = componentManager.FRevokeComponent(_componentId);
}
_control?.OnClose();
Dispose(true);
base.OnClose();
}
public int FDoIdle(uint grfidlef)
{
if (_control is not null)
{
_control.SynchronizeSettings();
}
return S_OK;
}
/// <summary>
/// Registers an independent view with the IVsTextManager so that it knows
/// the user is working with a view over the text buffer. This will trigger
/// the text buffer to prompt the user whether to reload the file if it is
/// edited outside of the environment.
/// </summary>
/// <param name="subscribe">True to subscribe, false to unsubscribe</param>
private void RegisterIndependentView(bool subscribe)
{
if (this.TryGetService<SVsTextManager, IVsTextManager>(out var textManager))
{
_ = subscribe
? textManager.RegisterIndependentView(this, _textBuffer)
: textManager.UnregisterIndependentView(this, _textBuffer);
}
}
/// <summary>
/// Helper function used to add commands using IMenuCommandService
/// </summary>
/// <param name="menuCommandService"> The IMenuCommandService interface.</param>
/// <param name="menuGroup"> This guid represents the menu group of the command.</param>
/// <param name="cmdID"> The command ID of the command.</param>
/// <param name="commandEvent"> An EventHandler which will be called whenever the command is invoked.</param>
/// <param name="queryEvent"> An EventHandler which will be called whenever we want to query the status of
/// the command. If null is passed in here then no EventHandler will be added.</param>
private static void AddCommand(IMenuCommandService menuCommandService,
Guid menuGroup,
int cmdID,
EventHandler commandEvent,
EventHandler queryEvent)
{
// Create the OleMenuCommand from the menu group, command ID, and command event
var menuCommandID = new CommandID(menuGroup, cmdID);
var command = new OleMenuCommand(commandEvent, menuCommandID);
// Add an event handler to BeforeQueryStatus if one was passed in
if (null != queryEvent)
{
command.BeforeQueryStatus += queryEvent;
}
// Add the command using our IMenuCommandService instance
menuCommandService.AddCommand(command);
}
public int get_DocView(out IntPtr ppUnkDocView)
{
ppUnkDocView = Marshal.GetIUnknownForObject(this);
return S_OK;
}
public int get_CmdUIGuid(out Guid pGuidCmdId)
{
pGuidCmdId = SettingsEditorFactory.SettingsEditorFactoryGuid;
return S_OK;
}
public int FReserved1(uint dwReserved, uint message, IntPtr wParam, IntPtr lParam) => S_OK;
public int FPreTranslateMessage(MSG[] pMsg) => S_OK;
public void OnEnterState(uint uStateID, int fEnter) { }
public void OnAppActivate(int fActive, uint dwOtherThreadID) { }
public void OnLoseActivation() { }
public void OnActivationChange(IOleComponent pic, int fSameComponent, OLECRINFO[] pcrinfo, int fHostIsActivating, OLECHOSTINFO[] pchostinfo, uint dwReserved) { }
public int FContinueMessageLoop(uint uReason, IntPtr pvLoopData, MSG[] pMsgPeeked) => S_OK;
public int FQueryTerminate(int fPromptUser) => 1; //true
public void Terminate() { }
public IntPtr HwndGetWindow(uint dwWhich, uint dwReserved) => IntPtr.Zero;
public int OnInterveningUnitBlockingLinkedUndo() => E_FAIL;
public IVsSearchTask? CreateSearch(uint dwCookie, IVsSearchQuery pSearchQuery, IVsSearchCallback pSearchCallback)
{
if (_control is not null)
{
var tables = _control.GetTableControls();
return new SearchTask(dwCookie, pSearchQuery, pSearchCallback, tables, _threadingContext);
}
return null;
}
public void ClearSearch()
{
_threadingContext.ThrowIfNotOnUIThread();
if (_control is not null)
{
var tables = _control.GetTableControls();
// remove filter on tablar data controls
foreach (var tableControl in tables)
{
_ = tableControl.SetFilter(string.Empty, null);
}
}
}
public void ProvideSearchSettings(IVsUIDataSource pSearchSettings)
{
SetIntValue(pSearchSettings, SearchSettingsDataSource.PropertyNames.ControlMaxWidth, 200);
SetIntValue(pSearchSettings, SearchSettingsDataSource.PropertyNames.SearchStartType, (int)VSSEARCHSTARTTYPE.SST_DELAYED);
SetIntValue(pSearchSettings, SearchSettingsDataSource.PropertyNames.SearchStartDelay, 100);
SetBoolValue(pSearchSettings, SearchSettingsDataSource.PropertyNames.SearchUseMRU, true);
SetBoolValue(pSearchSettings, SearchSettingsDataSource.PropertyNames.PrefixFilterMRUItems, false);
SetIntValue(pSearchSettings, SearchSettingsDataSource.PropertyNames.MaximumMRUItems, 25);
SetStringValue(pSearchSettings, SearchSettingsDataSource.PropertyNames.SearchWatermark, ServicesVSResources.Search_Settings);
SetBoolValue(pSearchSettings, SearchSettingsDataSource.PropertyNames.SearchPopupAutoDropdown, false);
SetStringValue(pSearchSettings, SearchSettingsDataSource.PropertyNames.ControlBorderThickness, "1");
SetIntValue(pSearchSettings, SearchSettingsDataSource.PropertyNames.SearchProgressType, (int)VSSEARCHPROGRESSTYPE.SPT_INDETERMINATE);
void SetBoolValue(IVsUIDataSource source, string property, bool value)
{
var valueProp = BuiltInPropertyValue.FromBool(value);
_ = source.SetValue(property, valueProp);
}
void SetIntValue(IVsUIDataSource source, string property, int value)
{
var valueProp = BuiltInPropertyValue.Create(value);
_ = source.SetValue(property, valueProp);
}
void SetStringValue(IVsUIDataSource source, string property, string value)
{
var valueProp = BuiltInPropertyValue.Create(value);
_ = source.SetValue(property, valueProp);
}
}
public bool OnNavigationKeyDown(uint dwNavigationKey, uint dwModifiers) => false;
public bool SearchEnabled { get; } = true;
public Guid Category { get; } = new Guid("1BE8950F-AF27-4B71-8D54-1F7FFEFDC237");
public IVsEnumWindowSearchFilters? SearchFiltersEnum => null;
public IVsEnumWindowSearchOptions? SearchOptionsEnum => null;
}
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Compilers/CSharp/Test/Emit/CodeGen/IndexAndRangeTests.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.CSharp.Test.Utilities;
using Microsoft.CodeAnalysis.Test.Utilities;
using Roslyn.Test.Utilities;
using Xunit;
namespace Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen
{
public class IndexAndRangeTests : CSharpTestBase
{
private CompilationVerifier CompileAndVerifyWithIndexAndRange(string s, string expectedOutput = null)
{
var comp = CreateCompilationWithIndexAndRange(
new[] { s, TestSources.GetSubArray, },
expectedOutput is null ? TestOptions.ReleaseDll : TestOptions.ReleaseExe);
return CompileAndVerify(comp, expectedOutput: expectedOutput);
}
private static (SemanticModel model, List<ElementAccessExpressionSyntax> accesses) GetModelAndAccesses(CSharpCompilation comp)
{
var syntaxTree = comp.SyntaxTrees[0];
var root = syntaxTree.GetRoot();
var model = comp.GetSemanticModel(syntaxTree);
return (model, root.DescendantNodes().OfType<ElementAccessExpressionSyntax>().ToList());
}
private static void VerifyIndexCall(IMethodSymbol symbol, string methodName, string containingTypeName)
{
Assert.NotNull(symbol);
Assert.Equal(methodName, symbol.Name);
Assert.Equal(2, symbol.Parameters.Length);
Assert.Equal(containingTypeName, symbol.ContainingType.Name);
}
[Fact]
public void ExpressionTreePatternIndexAndRange()
{
var src = @"
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
struct S
{
public int Length => 0;
public S Slice(int start, int length) => default;
}
class Program
{
static void Main()
{
Expression<Func<int[], int>> e = (int[] a) => a[new Index(0, true)]; // 1
Expression<Func<List<int>, int>> e2 = (List<int> a) => a[new Index(0, true)]; // 2
Expression<Func<int[], int[]>> e3 = (int[] a) => a[new Range(0, 1)]; // 3
Expression<Func<S, S>> e4 = (S s) => s[new Range(0, 1)]; // 4
}
}";
var comp = CreateCompilationWithIndexAndRange(
new[] { src, TestSources.GetSubArray, });
comp.VerifyEmitDiagnostics(
// (16,55): error CS8790: An expression tree may not contain a pattern System.Index or System.Range indexer access
// Expression<Func<int[], int>> e = (int[] a) => a[new Index(0, true)]; // 1
Diagnostic(ErrorCode.ERR_ExpressionTreeContainsPatternIndexOrRangeIndexer, "a[new Index(0, true)]").WithLocation(16, 55),
// (17,64): error CS8790: An expression tree may not contain a pattern System.Index or System.Range indexer access
// Expression<Func<List<int>, int>> e2 = (List<int> a) => a[new Index(0, true)]; // 2
Diagnostic(ErrorCode.ERR_ExpressionTreeContainsPatternIndexOrRangeIndexer, "a[new Index(0, true)]").WithLocation(17, 64),
// (19,58): error CS8790: An expression tree may not contain a pattern System.Index or System.Range indexer access
// Expression<Func<int[], int[]>> e3 = (int[] a) => a[new Range(0, 1)]; // 3
Diagnostic(ErrorCode.ERR_ExpressionTreeContainsPatternIndexOrRangeIndexer, "a[new Range(0, 1)]").WithLocation(19, 58),
// (20,46): error CS8790: An expression tree may not contain a pattern System.Index or System.Range indexer access
// Expression<Func<S, S>> e4 = (S s) => s[new Range(0, 1)]; // 4
Diagnostic(ErrorCode.ERR_ExpressionTreeContainsPatternIndexOrRangeIndexer, "s[new Range(0, 1)]").WithLocation(20, 46)
);
}
[Fact]
public void ExpressionTreeFromEndIndexAndRange()
{
var src = @"
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
class Program
{
static void Main()
{
Expression<Func<Index>> e = () => ^1;
Expression<Func<Range>> e2 = () => 1..2;
}
}";
var comp = CreateCompilationWithIndexAndRange(src);
comp.VerifyEmitDiagnostics(
// (10,43): error CS8791: An expression tree may not contain a from-end index ('^') expression.
// Expression<Func<Index>> e = () => ^1;
Diagnostic(ErrorCode.ERR_ExpressionTreeContainsFromEndIndexExpression, "^1").WithLocation(10, 43),
// (11,44): error CS8792: An expression tree may not contain a range ('..') expression.
// Expression<Func<Range>> e2 = () => 1..2;
Diagnostic(ErrorCode.ERR_ExpressionTreeContainsRangeExpression, "1..2").WithLocation(11, 44)
);
}
[Fact]
public void PatternIndexArray()
{
var src = @"
class C
{
static int M1(int[] arr) => arr[^1];
static char M2(string s) => s[^1];
}
";
var verifier = CompileAndVerifyWithIndexAndRange(src);
// Code gen for the following two should look basically
// the same, except that string will use Length/indexer
// and array will use ldlen/ldelem, and string may have
// more temporaries
verifier.VerifyIL("C.M1", @"
{
// Code size 8 (0x8)
.maxstack 3
IL_0000: ldarg.0
IL_0001: dup
IL_0002: ldlen
IL_0003: conv.i4
IL_0004: ldc.i4.1
IL_0005: sub
IL_0006: ldelem.i4
IL_0007: ret
}");
verifier.VerifyIL("C.M2", @"
{
// Code size 17 (0x11)
.maxstack 3
.locals init (int V_0)
IL_0000: ldarg.0
IL_0001: dup
IL_0002: callvirt ""int string.Length.get""
IL_0007: ldc.i4.1
IL_0008: sub
IL_0009: stloc.0
IL_000a: ldloc.0
IL_000b: callvirt ""char string.this[int].get""
IL_0010: ret
}");
}
[Fact]
[WorkItem(37789, "https://github.com/dotnet/roslyn/issues/37789")]
public void PatternIndexAndRangeCompoundOperatorRefIndexer()
{
var src = @"
using System;
class C
{
static void Main(string[] args)
{
var span = new Span<byte>(new byte[2]);
Console.WriteLine(span[1]);
span[^1] += 1;
Console.WriteLine(span[1]);
}
}
";
var comp = CreateCompilationWithIndexAndRangeAndSpan(src, TestOptions.ReleaseExe);
var verifier = CompileAndVerify(comp, expectedOutput: @"0
1");
verifier.VerifyIL("C.Main", @"
{
// Code size 65 (0x41)
.maxstack 3
.locals init (System.Span<byte> V_0, //span
int V_1)
IL_0000: ldloca.s V_0
IL_0002: ldc.i4.2
IL_0003: newarr ""byte""
IL_0008: call ""System.Span<byte>..ctor(byte[])""
IL_000d: ldloca.s V_0
IL_000f: ldc.i4.1
IL_0010: call ""ref byte System.Span<byte>.this[int].get""
IL_0015: ldind.u1
IL_0016: call ""void System.Console.WriteLine(int)""
IL_001b: ldloca.s V_0
IL_001d: dup
IL_001e: call ""int System.Span<byte>.Length.get""
IL_0023: ldc.i4.1
IL_0024: sub
IL_0025: stloc.1
IL_0026: ldloc.1
IL_0027: call ""ref byte System.Span<byte>.this[int].get""
IL_002c: dup
IL_002d: ldind.u1
IL_002e: ldc.i4.1
IL_002f: add
IL_0030: conv.u1
IL_0031: stind.i1
IL_0032: ldloca.s V_0
IL_0034: ldc.i4.1
IL_0035: call ""ref byte System.Span<byte>.this[int].get""
IL_003a: ldind.u1
IL_003b: call ""void System.Console.WriteLine(int)""
IL_0040: ret
}");
}
[Fact]
[WorkItem(37789, "https://github.com/dotnet/roslyn/issues/37789")]
public void PatternIndexCompoundOperator()
{
var src = @"
using System;
struct S
{
private readonly int[] _array;
private int _counter;
public S(int[] a)
{
_array = a;
_counter = 0;
}
public int Length
{
get
{
Console.WriteLine(""Length "" + _counter++);
return _array.Length;
}
}
public int this[int index]
{
get
{
Console.WriteLine(""Get "" + _counter++);
return _array[index];
}
set
{
Console.WriteLine(""Set "" + _counter++);
_array[index] = value;
}
}
}
class C
{
static void Main(string[] args)
{
var array = new int[2];
Console.WriteLine(array[1]);
var s = new S(array);
s[^1] += 5;
Console.WriteLine(array[1]);
}
}
";
var comp = CreateCompilationWithIndexAndRangeAndSpan(src, TestOptions.ReleaseExe);
var verifier = CompileAndVerify(comp, expectedOutput: @"0
Length 0
Get 1
Set 2
5");
verifier.VerifyIL("C.Main", @"
{
// Code size 65 (0x41)
.maxstack 4
.locals init (int[] V_0, //array
S V_1, //s
S& V_2,
S& V_3,
int V_4)
IL_0000: ldc.i4.2
IL_0001: newarr ""int""
IL_0006: stloc.0
IL_0007: ldloc.0
IL_0008: ldc.i4.1
IL_0009: ldelem.i4
IL_000a: call ""void System.Console.WriteLine(int)""
IL_000f: ldloca.s V_1
IL_0011: ldloc.0
IL_0012: call ""S..ctor(int[])""
IL_0017: ldloca.s V_1
IL_0019: stloc.2
IL_001a: ldloc.2
IL_001b: call ""int S.Length.get""
IL_0020: ldc.i4.1
IL_0021: sub
IL_0022: ldloc.2
IL_0023: stloc.3
IL_0024: stloc.s V_4
IL_0026: ldloc.3
IL_0027: ldloc.s V_4
IL_0029: ldloc.3
IL_002a: ldloc.s V_4
IL_002c: call ""int S.this[int].get""
IL_0031: ldc.i4.5
IL_0032: add
IL_0033: call ""void S.this[int].set""
IL_0038: ldloc.0
IL_0039: ldc.i4.1
IL_003a: ldelem.i4
IL_003b: call ""void System.Console.WriteLine(int)""
IL_0040: ret
}");
}
[Fact]
[WorkItem(37789, "https://github.com/dotnet/roslyn/issues/37789")]
public void PatternRangeCompoundOperator()
{
var src = @"
using System;
struct S
{
private readonly int[] _array;
private int _counter;
public S(int[] a)
{
_array = a;
_counter = 0;
}
public int Length
{
get
{
Console.WriteLine(""Length "" + _counter++);
return _array.Length;
}
}
public ref int Slice(int start, int length)
{
Console.WriteLine(""Slice "" + _counter++);
return ref _array[start];
}
}
class C
{
static void Main(string[] args)
{
var array = new int[2];
Console.WriteLine(array[1]);
var s = new S(array);
s[1..] += 5;
Console.WriteLine(array[1]);
}
}
";
var comp = CreateCompilationWithIndexAndRangeAndSpan(src, TestOptions.ReleaseExe);
var verifier = CompileAndVerify(comp, expectedOutput: @"0
Length 0
Slice 1
5");
verifier.VerifyIL("C.Main", @"
{
// Code size 57 (0x39)
.maxstack 3
.locals init (int[] V_0, //array
S V_1,
int V_2,
int V_3)
IL_0000: ldc.i4.2
IL_0001: newarr ""int""
IL_0006: stloc.0
IL_0007: ldloc.0
IL_0008: ldc.i4.1
IL_0009: ldelem.i4
IL_000a: call ""void System.Console.WriteLine(int)""
IL_000f: ldloc.0
IL_0010: newobj ""S..ctor(int[])""
IL_0015: stloc.1
IL_0016: ldloca.s V_1
IL_0018: call ""int S.Length.get""
IL_001d: ldc.i4.1
IL_001e: stloc.2
IL_001f: ldloc.2
IL_0020: sub
IL_0021: stloc.3
IL_0022: ldloca.s V_1
IL_0024: ldloc.2
IL_0025: ldloc.3
IL_0026: call ""ref int S.Slice(int, int)""
IL_002b: dup
IL_002c: ldind.i4
IL_002d: ldc.i4.5
IL_002e: add
IL_002f: stind.i4
IL_0030: ldloc.0
IL_0031: ldc.i4.1
IL_0032: ldelem.i4
IL_0033: call ""void System.Console.WriteLine(int)""
IL_0038: ret
}");
}
[Fact]
[WorkItem(37789, "https://github.com/dotnet/roslyn/issues/37789")]
public void PatternindexNullableCoalescingAssignmentClass()
{
var src = @"
using System;
struct S
{
private readonly string[] _array;
private int _counter;
public S(string[] a)
{
_array = a;
_counter = 0;
}
public int Length
{
get
{
Console.WriteLine(""Length "" + _counter++);
return _array.Length;
}
}
public string this[int index]
{
get
{
Console.WriteLine(""Get "" + _counter++);
return _array[index];
}
set
{
Console.WriteLine(""Set "" + _counter++);
_array[index] = value;
}
}
}
class C
{
static void Main(string[] args)
{
var array = new string[2];
array[0] = ""abc"";
Console.WriteLine(array[1] is null);
var s = new S(array);
s[^1] ??= s[^2];
s[^1] ??= s[^2];
Console.WriteLine(s[^1] ??= ""def"");
Console.WriteLine(array[1]);
}
}";
var comp = CreateCompilationWithIndex(src, options: TestOptions.ReleaseExe);
var verifier = CompileAndVerify(comp, expectedOutput: @"
True
Length 0
Get 1
Length 2
Get 3
Set 4
Length 5
Get 6
Length 7
Get 8
abc
abc");
verifier.VerifyIL("C.Main", @"
{
// Code size 203 (0xcb)
.maxstack 5
.locals init (string[] V_0, //array
S V_1, //s
S& V_2,
S& V_3,
int V_4,
string V_5,
int V_6)
IL_0000: ldc.i4.2
IL_0001: newarr ""string""
IL_0006: stloc.0
IL_0007: ldloc.0
IL_0008: ldc.i4.0
IL_0009: ldstr ""abc""
IL_000e: stelem.ref
IL_000f: ldloc.0
IL_0010: ldc.i4.1
IL_0011: ldelem.ref
IL_0012: ldnull
IL_0013: ceq
IL_0015: call ""void System.Console.WriteLine(bool)""
IL_001a: ldloca.s V_1
IL_001c: ldloc.0
IL_001d: call ""S..ctor(string[])""
IL_0022: ldloca.s V_1
IL_0024: stloc.2
IL_0025: ldloc.2
IL_0026: call ""int S.Length.get""
IL_002b: ldc.i4.1
IL_002c: sub
IL_002d: ldloc.2
IL_002e: stloc.3
IL_002f: stloc.s V_4
IL_0031: ldloc.3
IL_0032: ldloc.s V_4
IL_0034: call ""string S.this[int].get""
IL_0039: brtrue.s IL_0059
IL_003b: ldloc.3
IL_003c: ldloc.s V_4
IL_003e: ldloca.s V_1
IL_0040: dup
IL_0041: call ""int S.Length.get""
IL_0046: ldc.i4.2
IL_0047: sub
IL_0048: stloc.s V_6
IL_004a: ldloc.s V_6
IL_004c: call ""string S.this[int].get""
IL_0051: dup
IL_0052: stloc.s V_5
IL_0054: call ""void S.this[int].set""
IL_0059: ldloca.s V_1
IL_005b: stloc.3
IL_005c: ldloc.3
IL_005d: call ""int S.Length.get""
IL_0062: ldc.i4.1
IL_0063: sub
IL_0064: ldloc.3
IL_0065: stloc.2
IL_0066: stloc.s V_4
IL_0068: ldloc.2
IL_0069: ldloc.s V_4
IL_006b: call ""string S.this[int].get""
IL_0070: brtrue.s IL_0090
IL_0072: ldloc.2
IL_0073: ldloc.s V_4
IL_0075: ldloca.s V_1
IL_0077: dup
IL_0078: call ""int S.Length.get""
IL_007d: ldc.i4.2
IL_007e: sub
IL_007f: stloc.s V_6
IL_0081: ldloc.s V_6
IL_0083: call ""string S.this[int].get""
IL_0088: dup
IL_0089: stloc.s V_5
IL_008b: call ""void S.this[int].set""
IL_0090: ldloca.s V_1
IL_0092: stloc.2
IL_0093: ldloc.2
IL_0094: call ""int S.Length.get""
IL_0099: ldc.i4.1
IL_009a: sub
IL_009b: ldloc.2
IL_009c: stloc.3
IL_009d: stloc.s V_4
IL_009f: ldloc.3
IL_00a0: ldloc.s V_4
IL_00a2: call ""string S.this[int].get""
IL_00a7: dup
IL_00a8: brtrue.s IL_00bd
IL_00aa: pop
IL_00ab: ldloc.3
IL_00ac: ldloc.s V_4
IL_00ae: ldstr ""def""
IL_00b3: dup
IL_00b4: stloc.s V_5
IL_00b6: call ""void S.this[int].set""
IL_00bb: ldloc.s V_5
IL_00bd: call ""void System.Console.WriteLine(string)""
IL_00c2: ldloc.0
IL_00c3: ldc.i4.1
IL_00c4: ldelem.ref
IL_00c5: call ""void System.Console.WriteLine(string)""
IL_00ca: ret
}");
}
[Fact]
[WorkItem(37789, "https://github.com/dotnet/roslyn/issues/37789")]
public void PatternindexNullableCoalescingAssignmentStruct()
{
var src = @"
using System;
struct S
{
private readonly int?[] _array;
private int _counter;
public S(int?[] a)
{
_array = a;
_counter = 0;
}
public int Length
{
get
{
Console.WriteLine(""Length "" + _counter++);
return _array.Length;
}
}
public int? this[int index]
{
get
{
Console.WriteLine(""Get "" + _counter++);
return _array[index];
}
set
{
Console.WriteLine(""Set "" + _counter++);
_array[index] = value;
}
}
}
class C
{
static void Main(string[] args)
{
var array = new int?[2];
array[0] = 1;
Console.WriteLine(array[1] is null);
var s = new S(array);
s[^1] ??= s[^2];
s[^1] ??= s[^2];
Console.WriteLine(s[^1] ??= 0);
Console.WriteLine(array[1]);
}
}";
var comp = CreateCompilationWithIndex(src, options: TestOptions.ReleaseExe);
var verifier = CompileAndVerify(comp, expectedOutput: @"
True
Length 0
Get 1
Length 2
Get 3
Set 4
Length 5
Get 6
Length 7
Get 8
1
1");
verifier.VerifyIL("C.Main", @"
{
// Code size 279 (0x117)
.maxstack 5
.locals init (int?[] V_0, //array
S V_1, //s
int? V_2,
S& V_3,
S& V_4,
int V_5,
int? V_6,
int V_7)
IL_0000: ldc.i4.2
IL_0001: newarr ""int?""
IL_0006: stloc.0
IL_0007: ldloc.0
IL_0008: ldc.i4.0
IL_0009: ldc.i4.1
IL_000a: newobj ""int?..ctor(int)""
IL_000f: stelem ""int?""
IL_0014: ldloc.0
IL_0015: ldc.i4.1
IL_0016: ldelem ""int?""
IL_001b: stloc.2
IL_001c: ldloca.s V_2
IL_001e: call ""bool int?.HasValue.get""
IL_0023: ldc.i4.0
IL_0024: ceq
IL_0026: call ""void System.Console.WriteLine(bool)""
IL_002b: ldloca.s V_1
IL_002d: ldloc.0
IL_002e: call ""S..ctor(int?[])""
IL_0033: ldloca.s V_1
IL_0035: stloc.3
IL_0036: ldloc.3
IL_0037: call ""int S.Length.get""
IL_003c: ldc.i4.1
IL_003d: sub
IL_003e: ldloc.3
IL_003f: stloc.s V_4
IL_0041: stloc.s V_5
IL_0043: ldloc.s V_4
IL_0045: ldloc.s V_5
IL_0047: call ""int? S.this[int].get""
IL_004c: stloc.2
IL_004d: ldloca.s V_2
IL_004f: call ""bool int?.HasValue.get""
IL_0054: brtrue.s IL_0075
IL_0056: ldloc.s V_4
IL_0058: ldloc.s V_5
IL_005a: ldloca.s V_1
IL_005c: dup
IL_005d: call ""int S.Length.get""
IL_0062: ldc.i4.2
IL_0063: sub
IL_0064: stloc.s V_7
IL_0066: ldloc.s V_7
IL_0068: call ""int? S.this[int].get""
IL_006d: dup
IL_006e: stloc.s V_6
IL_0070: call ""void S.this[int].set""
IL_0075: ldloca.s V_1
IL_0077: stloc.s V_4
IL_0079: ldloc.s V_4
IL_007b: call ""int S.Length.get""
IL_0080: ldc.i4.1
IL_0081: sub
IL_0082: ldloc.s V_4
IL_0084: stloc.3
IL_0085: stloc.s V_5
IL_0087: ldloc.3
IL_0088: ldloc.s V_5
IL_008a: call ""int? S.this[int].get""
IL_008f: stloc.2
IL_0090: ldloca.s V_2
IL_0092: call ""bool int?.HasValue.get""
IL_0097: brtrue.s IL_00b7
IL_0099: ldloc.3
IL_009a: ldloc.s V_5
IL_009c: ldloca.s V_1
IL_009e: dup
IL_009f: call ""int S.Length.get""
IL_00a4: ldc.i4.2
IL_00a5: sub
IL_00a6: stloc.s V_7
IL_00a8: ldloc.s V_7
IL_00aa: call ""int? S.this[int].get""
IL_00af: dup
IL_00b0: stloc.s V_6
IL_00b2: call ""void S.this[int].set""
IL_00b7: ldloca.s V_1
IL_00b9: stloc.3
IL_00ba: ldloc.3
IL_00bb: call ""int S.Length.get""
IL_00c0: ldc.i4.1
IL_00c1: sub
IL_00c2: ldloc.3
IL_00c3: stloc.s V_4
IL_00c5: stloc.s V_5
IL_00c7: ldloc.s V_4
IL_00c9: ldloc.s V_5
IL_00cb: call ""int? S.this[int].get""
IL_00d0: stloc.2
IL_00d1: ldloca.s V_2
IL_00d3: call ""int int?.GetValueOrDefault()""
IL_00d8: stloc.s V_7
IL_00da: ldloca.s V_2
IL_00dc: call ""bool int?.HasValue.get""
IL_00e1: brtrue.s IL_00fe
IL_00e3: ldc.i4.0
IL_00e4: stloc.s V_7
IL_00e6: ldloc.s V_4
IL_00e8: ldloc.s V_5
IL_00ea: ldloca.s V_6
IL_00ec: ldloc.s V_7
IL_00ee: call ""int?..ctor(int)""
IL_00f3: ldloc.s V_6
IL_00f5: call ""void S.this[int].set""
IL_00fa: ldloc.s V_7
IL_00fc: br.s IL_0100
IL_00fe: ldloc.s V_7
IL_0100: call ""void System.Console.WriteLine(int)""
IL_0105: ldloc.0
IL_0106: ldc.i4.1
IL_0107: ldelem ""int?""
IL_010c: box ""int?""
IL_0111: call ""void System.Console.WriteLine(object)""
IL_0116: ret
}");
}
[Fact]
public void StringAndSpanPatternRangeOpenEnd()
{
var src = @"
using System;
class C
{
public static void Main()
{
string s = ""abcd"";
Console.WriteLine(s[..]);
ReadOnlySpan<char> span = s;
foreach (var c in span[..])
{
Console.Write(c);
}
}
}";
var comp = CreateCompilationWithIndexAndRangeAndSpan(src, TestOptions.ReleaseExe);
var verifier = CompileAndVerify(comp, expectedOutput: @"
abcd
abcd");
verifier.VerifyIL("C.Main", @"
{
// Code size 86 (0x56)
.maxstack 4
.locals init (int V_0,
System.ReadOnlySpan<char> V_1,
System.ReadOnlySpan<char> V_2,
int V_3)
IL_0000: ldstr ""abcd""
IL_0005: dup
IL_0006: dup
IL_0007: callvirt ""int string.Length.get""
IL_000c: ldc.i4.0
IL_000d: sub
IL_000e: stloc.0
IL_000f: ldc.i4.0
IL_0010: ldloc.0
IL_0011: callvirt ""string string.Substring(int, int)""
IL_0016: call ""void System.Console.WriteLine(string)""
IL_001b: call ""System.ReadOnlySpan<char> System.ReadOnlySpan<char>.op_Implicit(string)""
IL_0020: stloc.2
IL_0021: ldloca.s V_2
IL_0023: call ""int System.ReadOnlySpan<char>.Length.get""
IL_0028: ldc.i4.0
IL_0029: sub
IL_002a: stloc.3
IL_002b: ldloca.s V_2
IL_002d: ldc.i4.0
IL_002e: ldloc.3
IL_002f: call ""System.ReadOnlySpan<char> System.ReadOnlySpan<char>.Slice(int, int)""
IL_0034: stloc.1
IL_0035: ldc.i4.0
IL_0036: stloc.0
IL_0037: br.s IL_004b
IL_0039: ldloca.s V_1
IL_003b: ldloc.0
IL_003c: call ""ref readonly char System.ReadOnlySpan<char>.this[int].get""
IL_0041: ldind.u2
IL_0042: call ""void System.Console.Write(char)""
IL_0047: ldloc.0
IL_0048: ldc.i4.1
IL_0049: add
IL_004a: stloc.0
IL_004b: ldloc.0
IL_004c: ldloca.s V_1
IL_004e: call ""int System.ReadOnlySpan<char>.Length.get""
IL_0053: blt.s IL_0039
IL_0055: ret
}");
var (model, elementAccesses) = GetModelAndAccesses(comp);
var info = model.GetSymbolInfo(elementAccesses[0]);
var substringCall = (IMethodSymbol)info.Symbol;
info = model.GetSymbolInfo(elementAccesses[1]);
var sliceCall = (IMethodSymbol)info.Symbol;
VerifyIndexCall(substringCall, "Substring", "String");
VerifyIndexCall(sliceCall, "Slice", "ReadOnlySpan");
}
[Fact]
public void SpanTaskReturn()
{
var src = @"
using System;
using System.Threading.Tasks;
class C
{
static void Throws(Action a)
{
try
{
a();
}
catch
{
Console.WriteLine(""throws"");
}
}
public static void Main()
{
string s = ""abcd"";
Throws(() => { var span = new Span<char>(s.ToCharArray())[0..10]; });
}
}";
var comp = CreateCompilationWithIndexAndRangeAndSpan(src, TestOptions.ReleaseExe);
CompileAndVerify(comp, expectedOutput: "throws");
var (model, accesses) = GetModelAndAccesses(comp);
VerifyIndexCall((IMethodSymbol)model.GetSymbolInfo(accesses[0]).Symbol, "Slice", "Span");
}
[Fact]
public void PatternIndexSetter()
{
var src = @"
using System;
struct S
{
public int F;
public int Length => 1;
public int this[int i]
{
get => F;
set { F = value; }
}
}
class C
{
static void Main()
{
S s = new S();
s.F = 0;
Console.WriteLine(s[^1]);
s[^1] = 2;
Console.WriteLine(s[^1]);
Console.WriteLine(s.F);
}
}";
var comp = CreateCompilationWithIndexAndRange(src, TestOptions.ReleaseExe);
var verifier = CompileAndVerify(comp, expectedOutput: @"0
2
2");
verifier.VerifyIL("C.Main", @"
{
// Code size 90 (0x5a)
.maxstack 3
.locals init (S V_0, //s
int V_1)
IL_0000: ldloca.s V_0
IL_0002: initobj ""S""
IL_0008: ldloca.s V_0
IL_000a: ldc.i4.0
IL_000b: stfld ""int S.F""
IL_0010: ldloca.s V_0
IL_0012: dup
IL_0013: call ""int S.Length.get""
IL_0018: ldc.i4.1
IL_0019: sub
IL_001a: stloc.1
IL_001b: ldloc.1
IL_001c: call ""int S.this[int].get""
IL_0021: call ""void System.Console.WriteLine(int)""
IL_0026: ldloca.s V_0
IL_0028: dup
IL_0029: call ""int S.Length.get""
IL_002e: ldc.i4.1
IL_002f: sub
IL_0030: stloc.1
IL_0031: ldloc.1
IL_0032: ldc.i4.2
IL_0033: call ""void S.this[int].set""
IL_0038: ldloca.s V_0
IL_003a: dup
IL_003b: call ""int S.Length.get""
IL_0040: ldc.i4.1
IL_0041: sub
IL_0042: stloc.1
IL_0043: ldloc.1
IL_0044: call ""int S.this[int].get""
IL_0049: call ""void System.Console.WriteLine(int)""
IL_004e: ldloc.0
IL_004f: ldfld ""int S.F""
IL_0054: call ""void System.Console.WriteLine(int)""
IL_0059: ret
}");
var (model, accesses) = GetModelAndAccesses(comp);
foreach (var access in accesses)
{
var info = model.GetSymbolInfo(access);
var property = (IPropertySymbol)info.Symbol;
Assert.NotNull(property);
Assert.True(property.IsIndexer);
Assert.Equal(SpecialType.System_Int32, property.Parameters[0].Type.SpecialType);
Assert.Equal("S", property.ContainingType.Name);
}
}
[Fact]
public void PatternIndexerRefReturn()
{
var comp = CreateCompilationWithIndexAndRangeAndSpan(@"
using System;
class C
{
static void Main()
{
Span<int> s = new int[] { 2, 4, 5, 6 };
Console.WriteLine(s[^2]);
ref int x = ref s[^2];
Console.WriteLine(x);
s[^2] = 9;
Console.WriteLine(s[^2]);
Console.WriteLine(x);
}
}", TestOptions.ReleaseExe);
var verifier = CompileAndVerify(comp, expectedOutput: @"5
5
9
9");
verifier.VerifyIL("C.Main", @"
{
// Code size 120 (0x78)
.maxstack 4
.locals init (System.Span<int> V_0, //s
int V_1,
int V_2)
IL_0000: ldc.i4.4
IL_0001: newarr ""int""
IL_0006: dup
IL_0007: ldtoken ""<PrivateImplementationDetails>.__StaticArrayInitTypeSize=16 <PrivateImplementationDetails>.B35A10C764778866E34111165FC69660C6171DF0CB0141E39FA0217EF7A97646""
IL_000c: call ""void System.Runtime.CompilerServices.RuntimeHelpers.InitializeArray(System.Array, System.RuntimeFieldHandle)""
IL_0011: call ""System.Span<int> System.Span<int>.op_Implicit(int[])""
IL_0016: stloc.0
IL_0017: ldloca.s V_0
IL_0019: dup
IL_001a: call ""int System.Span<int>.Length.get""
IL_001f: ldc.i4.2
IL_0020: sub
IL_0021: stloc.1
IL_0022: ldloc.1
IL_0023: call ""ref int System.Span<int>.this[int].get""
IL_0028: ldind.i4
IL_0029: call ""void System.Console.WriteLine(int)""
IL_002e: ldloca.s V_0
IL_0030: dup
IL_0031: call ""int System.Span<int>.Length.get""
IL_0036: ldc.i4.2
IL_0037: sub
IL_0038: stloc.1
IL_0039: ldloc.1
IL_003a: call ""ref int System.Span<int>.this[int].get""
IL_003f: dup
IL_0040: ldind.i4
IL_0041: call ""void System.Console.WriteLine(int)""
IL_0046: ldloca.s V_0
IL_0048: dup
IL_0049: call ""int System.Span<int>.Length.get""
IL_004e: ldc.i4.2
IL_004f: sub
IL_0050: stloc.2
IL_0051: ldloc.2
IL_0052: call ""ref int System.Span<int>.this[int].get""
IL_0057: ldc.i4.s 9
IL_0059: stind.i4
IL_005a: ldloca.s V_0
IL_005c: dup
IL_005d: call ""int System.Span<int>.Length.get""
IL_0062: ldc.i4.2
IL_0063: sub
IL_0064: stloc.2
IL_0065: ldloc.2
IL_0066: call ""ref int System.Span<int>.this[int].get""
IL_006b: ldind.i4
IL_006c: call ""void System.Console.WriteLine(int)""
IL_0071: ldind.i4
IL_0072: call ""void System.Console.WriteLine(int)""
IL_0077: ret
}");
}
[Fact]
public void PatternIndexAndRangeSpanChar()
{
var comp = CreateCompilationWithIndexAndRangeAndSpan(@"
using System;
class C
{
static void Main()
{
ReadOnlySpan<char> s = ""abcdefg"";
Console.WriteLine(s[^2]);
var index = ^1;
Console.WriteLine(s[index]);
s = s[^2..];
Console.WriteLine(s[0]);
Console.WriteLine(s[1]);
}
}", TestOptions.ReleaseExe); ;
var verifier = CompileAndVerify(comp, expectedOutput: @"f
g
f
g");
verifier.VerifyIL(@"C.Main", @"
{
// Code size 129 (0x81)
.maxstack 3
.locals init (System.ReadOnlySpan<char> V_0, //s
System.Index V_1, //index
int V_2,
int V_3,
System.ReadOnlySpan<char> V_4)
IL_0000: ldstr ""abcdefg""
IL_0005: call ""System.ReadOnlySpan<char> System.ReadOnlySpan<char>.op_Implicit(string)""
IL_000a: stloc.0
IL_000b: ldloca.s V_0
IL_000d: dup
IL_000e: call ""int System.ReadOnlySpan<char>.Length.get""
IL_0013: ldc.i4.2
IL_0014: sub
IL_0015: stloc.2
IL_0016: ldloc.2
IL_0017: call ""ref readonly char System.ReadOnlySpan<char>.this[int].get""
IL_001c: ldind.u2
IL_001d: call ""void System.Console.WriteLine(char)""
IL_0022: ldloca.s V_1
IL_0024: ldc.i4.1
IL_0025: ldc.i4.1
IL_0026: call ""System.Index..ctor(int, bool)""
IL_002b: ldloca.s V_0
IL_002d: dup
IL_002e: call ""int System.ReadOnlySpan<char>.Length.get""
IL_0033: stloc.2
IL_0034: ldloca.s V_1
IL_0036: ldloc.2
IL_0037: call ""int System.Index.GetOffset(int)""
IL_003c: stloc.3
IL_003d: ldloc.3
IL_003e: call ""ref readonly char System.ReadOnlySpan<char>.this[int].get""
IL_0043: ldind.u2
IL_0044: call ""void System.Console.WriteLine(char)""
IL_0049: ldloc.0
IL_004a: stloc.s V_4
IL_004c: ldloca.s V_4
IL_004e: call ""int System.ReadOnlySpan<char>.Length.get""
IL_0053: dup
IL_0054: ldc.i4.2
IL_0055: sub
IL_0056: stloc.3
IL_0057: ldloc.3
IL_0058: sub
IL_0059: stloc.2
IL_005a: ldloca.s V_4
IL_005c: ldloc.3
IL_005d: ldloc.2
IL_005e: call ""System.ReadOnlySpan<char> System.ReadOnlySpan<char>.Slice(int, int)""
IL_0063: stloc.0
IL_0064: ldloca.s V_0
IL_0066: ldc.i4.0
IL_0067: call ""ref readonly char System.ReadOnlySpan<char>.this[int].get""
IL_006c: ldind.u2
IL_006d: call ""void System.Console.WriteLine(char)""
IL_0072: ldloca.s V_0
IL_0074: ldc.i4.1
IL_0075: call ""ref readonly char System.ReadOnlySpan<char>.this[int].get""
IL_007a: ldind.u2
IL_007b: call ""void System.Console.WriteLine(char)""
IL_0080: ret
}");
}
[Fact]
public void PatternIndexAndRangeSpanInt()
{
var comp = CreateCompilationWithIndexAndRangeAndSpan(@"
using System;
class C
{
static void Main()
{
Span<int> s = new int[] { 2, 4, 5, 6 };
Console.WriteLine(s[^2]);
var index = ^1;
Console.WriteLine(s[index]);
s = s[^2..];
Console.WriteLine(s[0]);
Console.WriteLine(s[1]);
}
}", TestOptions.ReleaseExe);
var verifier = CompileAndVerify(comp, expectedOutput: @"5
6
5
6");
verifier.VerifyIL("C.Main", @"
{
// Code size 141 (0x8d)
.maxstack 3
.locals init (System.Span<int> V_0, //s
System.Index V_1, //index
int V_2,
int V_3,
System.Span<int> V_4)
IL_0000: ldc.i4.4
IL_0001: newarr ""int""
IL_0006: dup
IL_0007: ldtoken ""<PrivateImplementationDetails>.__StaticArrayInitTypeSize=16 <PrivateImplementationDetails>.B35A10C764778866E34111165FC69660C6171DF0CB0141E39FA0217EF7A97646""
IL_000c: call ""void System.Runtime.CompilerServices.RuntimeHelpers.InitializeArray(System.Array, System.RuntimeFieldHandle)""
IL_0011: call ""System.Span<int> System.Span<int>.op_Implicit(int[])""
IL_0016: stloc.0
IL_0017: ldloca.s V_0
IL_0019: dup
IL_001a: call ""int System.Span<int>.Length.get""
IL_001f: ldc.i4.2
IL_0020: sub
IL_0021: stloc.2
IL_0022: ldloc.2
IL_0023: call ""ref int System.Span<int>.this[int].get""
IL_0028: ldind.i4
IL_0029: call ""void System.Console.WriteLine(int)""
IL_002e: ldloca.s V_1
IL_0030: ldc.i4.1
IL_0031: ldc.i4.1
IL_0032: call ""System.Index..ctor(int, bool)""
IL_0037: ldloca.s V_0
IL_0039: dup
IL_003a: call ""int System.Span<int>.Length.get""
IL_003f: stloc.2
IL_0040: ldloca.s V_1
IL_0042: ldloc.2
IL_0043: call ""int System.Index.GetOffset(int)""
IL_0048: stloc.3
IL_0049: ldloc.3
IL_004a: call ""ref int System.Span<int>.this[int].get""
IL_004f: ldind.i4
IL_0050: call ""void System.Console.WriteLine(int)""
IL_0055: ldloc.0
IL_0056: stloc.s V_4
IL_0058: ldloca.s V_4
IL_005a: call ""int System.Span<int>.Length.get""
IL_005f: dup
IL_0060: ldc.i4.2
IL_0061: sub
IL_0062: stloc.3
IL_0063: ldloc.3
IL_0064: sub
IL_0065: stloc.2
IL_0066: ldloca.s V_4
IL_0068: ldloc.3
IL_0069: ldloc.2
IL_006a: call ""System.Span<int> System.Span<int>.Slice(int, int)""
IL_006f: stloc.0
IL_0070: ldloca.s V_0
IL_0072: ldc.i4.0
IL_0073: call ""ref int System.Span<int>.this[int].get""
IL_0078: ldind.i4
IL_0079: call ""void System.Console.WriteLine(int)""
IL_007e: ldloca.s V_0
IL_0080: ldc.i4.1
IL_0081: call ""ref int System.Span<int>.this[int].get""
IL_0086: ldind.i4
IL_0087: call ""void System.Console.WriteLine(int)""
IL_008c: ret
}");
}
[Fact]
public void RealIndexersPreferredToPattern()
{
var src = @"
using System;
class C
{
public int Length => throw null;
public int this[Index i, int j = 0] { get { Console.WriteLine(""Index""); return 0; } }
public int this[int i] { get { Console.WriteLine(""int""); return 0; } }
public int Slice(int i, int j) => throw null;
public int this[Range r, int j = 0] { get { Console.WriteLine(""Range""); return 0; } }
static void Main()
{
var c = new C();
_ = c[0];
_ = c[^0];
_ = c[0..];
}
}";
var verifier = CompileAndVerifyWithIndexAndRange(src, expectedOutput: @"
int
Index
Range");
}
[Fact]
public void PatternIndexList()
{
var src = @"
using System;
using System.Collections.Generic;
class C
{
private static List<int> list = new List<int>() { 2, 4, 5, 6 };
static void Main()
{
Console.WriteLine(list[^2]);
var index = ^1;
Console.WriteLine(list[index]);
}
}";
var verifier = CompileAndVerifyWithIndexAndRange(src, expectedOutput: @"5
6");
verifier.VerifyIL("C.Main", @"
{
// Code size 67 (0x43)
.maxstack 3
.locals init (System.Index V_0, //index
int V_1,
int V_2)
IL_0000: ldsfld ""System.Collections.Generic.List<int> C.list""
IL_0005: dup
IL_0006: callvirt ""int System.Collections.Generic.List<int>.Count.get""
IL_000b: ldc.i4.2
IL_000c: sub
IL_000d: stloc.1
IL_000e: ldloc.1
IL_000f: callvirt ""int System.Collections.Generic.List<int>.this[int].get""
IL_0014: call ""void System.Console.WriteLine(int)""
IL_0019: ldloca.s V_0
IL_001b: ldc.i4.1
IL_001c: ldc.i4.1
IL_001d: call ""System.Index..ctor(int, bool)""
IL_0022: ldsfld ""System.Collections.Generic.List<int> C.list""
IL_0027: dup
IL_0028: callvirt ""int System.Collections.Generic.List<int>.Count.get""
IL_002d: stloc.1
IL_002e: ldloca.s V_0
IL_0030: ldloc.1
IL_0031: call ""int System.Index.GetOffset(int)""
IL_0036: stloc.2
IL_0037: ldloc.2
IL_0038: callvirt ""int System.Collections.Generic.List<int>.this[int].get""
IL_003d: call ""void System.Console.WriteLine(int)""
IL_0042: ret
}");
}
[Theory]
[InlineData("Length")]
[InlineData("Count")]
public void PatternRangeIndexers(string propertyName)
{
var src = @"
using System;
class C
{
private int[] _f = { 2, 4, 5, 6 };
public int " + propertyName + @" => _f.Length;
public int[] Slice(int start, int length) => _f[start..length];
static void Main()
{
var c = new C();
foreach (var x in c[1..])
{
Console.WriteLine(x);
}
foreach (var x in c[..^2])
{
Console.WriteLine(x);
}
}
}";
var verifier = CompileAndVerifyWithIndexAndRange(src, @"
4
5
2
4");
verifier.VerifyIL("C.Main", @"
{
// Code size 95 (0x5f)
.maxstack 3
.locals init (C V_0, //c
int[] V_1,
int V_2,
int V_3,
int V_4)
IL_0000: newobj ""C..ctor()""
IL_0005: stloc.0
IL_0006: ldloc.0
IL_0007: dup
IL_0008: callvirt ""int C." + propertyName + @".get""
IL_000d: ldc.i4.1
IL_000e: stloc.3
IL_000f: ldloc.3
IL_0010: sub
IL_0011: stloc.s V_4
IL_0013: ldloc.3
IL_0014: ldloc.s V_4
IL_0016: callvirt ""int[] C.Slice(int, int)""
IL_001b: stloc.1
IL_001c: ldc.i4.0
IL_001d: stloc.2
IL_001e: br.s IL_002c
IL_0020: ldloc.1
IL_0021: ldloc.2
IL_0022: ldelem.i4
IL_0023: call ""void System.Console.WriteLine(int)""
IL_0028: ldloc.2
IL_0029: ldc.i4.1
IL_002a: add
IL_002b: stloc.2
IL_002c: ldloc.2
IL_002d: ldloc.1
IL_002e: ldlen
IL_002f: conv.i4
IL_0030: blt.s IL_0020
IL_0032: ldloc.0
IL_0033: dup
IL_0034: callvirt ""int C." + propertyName + @".get""
IL_0039: ldc.i4.2
IL_003a: sub
IL_003b: ldc.i4.0
IL_003c: sub
IL_003d: stloc.s V_4
IL_003f: ldc.i4.0
IL_0040: ldloc.s V_4
IL_0042: callvirt ""int[] C.Slice(int, int)""
IL_0047: stloc.1
IL_0048: ldc.i4.0
IL_0049: stloc.2
IL_004a: br.s IL_0058
IL_004c: ldloc.1
IL_004d: ldloc.2
IL_004e: ldelem.i4
IL_004f: call ""void System.Console.WriteLine(int)""
IL_0054: ldloc.2
IL_0055: ldc.i4.1
IL_0056: add
IL_0057: stloc.2
IL_0058: ldloc.2
IL_0059: ldloc.1
IL_005a: ldlen
IL_005b: conv.i4
IL_005c: blt.s IL_004c
IL_005e: ret
}
");
}
[Theory]
[InlineData("Length")]
[InlineData("Count")]
public void PatternIndexIndexers(string propertyName)
{
var src = @"
using System;
class C
{
private int[] _f = { 2, 4, 5, 6 };
public int " + propertyName + @" => _f.Length;
public int this[int x] => _f[x];
static void Main()
{
var c = new C();
Console.WriteLine(c[0]);
Console.WriteLine(c[^1]);
}
}";
var verifier = CompileAndVerifyWithIndexAndRange(src, @"
2
6");
verifier.VerifyIL("C.Main", @"
{
// Code size 38 (0x26)
.maxstack 3
.locals init (int V_0)
IL_0000: newobj ""C..ctor()""
IL_0005: dup
IL_0006: ldc.i4.0
IL_0007: callvirt ""int C.this[int].get""
IL_000c: call ""void System.Console.WriteLine(int)""
IL_0011: dup
IL_0012: callvirt ""int C." + propertyName + @".get""
IL_0017: ldc.i4.1
IL_0018: sub
IL_0019: stloc.0
IL_001a: ldloc.0
IL_001b: callvirt ""int C.this[int].get""
IL_0020: call ""void System.Console.WriteLine(int)""
IL_0025: ret
}");
}
[Fact]
public void RefToArrayIndexIndexer()
{
var verifier = CompileAndVerifyWithIndexAndRange(@"
using System;
class C
{
public static void Main()
{
int[] x = { 0, 1, 2, 3 };
M(x);
}
static void M(int[] x)
{
ref int r1 = ref x[2];
Console.WriteLine(r1);
ref int r2 = ref x[^2];
Console.WriteLine(r2);
r2 = 7;
Console.WriteLine(r1);
Console.WriteLine(r2);
r1 = 5;
Console.WriteLine(r1);
Console.WriteLine(r2);
}
}", expectedOutput: @"2
2
7
7
5
5");
verifier.VerifyIL("C.M", @"
{
// Code size 67 (0x43)
.maxstack 4
.locals init (int& V_0) //r2
IL_0000: ldarg.0
IL_0001: ldc.i4.2
IL_0002: ldelema ""int""
IL_0007: dup
IL_0008: ldind.i4
IL_0009: call ""void System.Console.WriteLine(int)""
IL_000e: ldarg.0
IL_000f: dup
IL_0010: ldlen
IL_0011: conv.i4
IL_0012: ldc.i4.2
IL_0013: sub
IL_0014: ldelema ""int""
IL_0019: stloc.0
IL_001a: ldloc.0
IL_001b: ldind.i4
IL_001c: call ""void System.Console.WriteLine(int)""
IL_0021: ldloc.0
IL_0022: ldc.i4.7
IL_0023: stind.i4
IL_0024: dup
IL_0025: ldind.i4
IL_0026: call ""void System.Console.WriteLine(int)""
IL_002b: ldloc.0
IL_002c: ldind.i4
IL_002d: call ""void System.Console.WriteLine(int)""
IL_0032: dup
IL_0033: ldc.i4.5
IL_0034: stind.i4
IL_0035: ldind.i4
IL_0036: call ""void System.Console.WriteLine(int)""
IL_003b: ldloc.0
IL_003c: ldind.i4
IL_003d: call ""void System.Console.WriteLine(int)""
IL_0042: ret
}");
}
[Fact]
public void RangeIndexerStringIsFromEndStart()
{
CompileAndVerifyWithIndexAndRange(@"
using System;
class C
{
public static void Main()
{
string s = ""abcdef"";
Console.WriteLine(s[^2..]);
}
}", expectedOutput: "ef");
}
[Fact]
public void FakeRangeIndexerStringBothIsFromEnd()
{
CompileAndVerifyWithIndexAndRange(@"
using System;
class C
{
public static void Main()
{
string s = ""abcdef"";
Console.WriteLine(s[^4..^1]);
}
}", expectedOutput: "cde");
}
[Fact]
public void IndexIndexerStringTwoArgs()
{
var comp = CreateCompilationWithIndexAndRange(@"
using System;
class C
{
public static void Main()
{
var s = ""abcdef"";
M(s);
}
public static void M(string s)
{
Console.WriteLine(s[new Index(1, false)]);
Console.WriteLine(s[new Index(1, false), ^1]);
}
}");
comp.VerifyDiagnostics(
// (13,27): error CS1501: No overload for method 'this' takes 2 arguments
// Console.WriteLine(s[new Index(1, false), ^1]);
Diagnostic(ErrorCode.ERR_BadArgCount, "s[new Index(1, false), ^1]").WithArguments("this", "2").WithLocation(13, 27));
}
[Fact]
public void IndexIndexerArrayTwoArgs()
{
var comp = CreateCompilationWithIndex(@"
using System;
class C
{
public static void Main()
{
var x = new int[1,1];
M(x);
}
public static void M(int[,] s)
{
Console.WriteLine(s[new Index(1, false), ^1]);
}
}");
comp.VerifyDiagnostics(
// (12,27): error CS0029: Cannot implicitly convert type 'System.Index' to 'int'
// Console.WriteLine(s[new Index(1, false), ^1]);
Diagnostic(ErrorCode.ERR_NoImplicitConv, "new Index(1, false)").WithArguments("System.Index", "int").WithLocation(12, 29),
// (12,27): error CS0029: Cannot implicitly convert type 'System.Index' to 'int'
// Console.WriteLine(s[new Index(1, false), ^1]);
Diagnostic(ErrorCode.ERR_NoImplicitConv, "^1").WithArguments("System.Index", "int").WithLocation(12, 50));
}
[Fact]
public void FakeIndexIndexerString()
{
var verifier = CompileAndVerifyWithIndexAndRange(@"
using System;
class C
{
public static void Main()
{
var s = ""abcdef"";
Console.WriteLine(s[new Index(1, false)]);
Console.WriteLine(s[(Index)2]);
Console.WriteLine(s[^1]);
}
}", expectedOutput: @"b
c
f");
verifier.VerifyIL("C.Main", @"
{
// Code size 76 (0x4c)
.maxstack 4
.locals init (int V_0,
int V_1,
System.Index V_2)
IL_0000: ldstr ""abcdef""
IL_0005: dup
IL_0006: dup
IL_0007: callvirt ""int string.Length.get""
IL_000c: stloc.0
IL_000d: ldc.i4.1
IL_000e: ldc.i4.0
IL_000f: newobj ""System.Index..ctor(int, bool)""
IL_0014: stloc.2
IL_0015: ldloca.s V_2
IL_0017: ldloc.0
IL_0018: call ""int System.Index.GetOffset(int)""
IL_001d: stloc.1
IL_001e: ldloc.1
IL_001f: callvirt ""char string.this[int].get""
IL_0024: call ""void System.Console.WriteLine(char)""
IL_0029: dup
IL_002a: ldc.i4.2
IL_002b: stloc.1
IL_002c: ldloc.1
IL_002d: callvirt ""char string.this[int].get""
IL_0032: call ""void System.Console.WriteLine(char)""
IL_0037: dup
IL_0038: callvirt ""int string.Length.get""
IL_003d: ldc.i4.1
IL_003e: sub
IL_003f: stloc.1
IL_0040: ldloc.1
IL_0041: callvirt ""char string.this[int].get""
IL_0046: call ""void System.Console.WriteLine(char)""
IL_004b: ret
}");
}
[Fact]
public void FakeRangeIndexerString()
{
var verifier = CompileAndVerifyWithIndexAndRange(@"
using System;
class C
{
public static void Main()
{
var s = ""abcdef"";
Console.WriteLine(s[1..3]);
}
}", expectedOutput: "bc");
verifier.VerifyIL("C.Main", @"
{
// Code size 24 (0x18)
.maxstack 3
.locals init (int V_0,
int V_1)
IL_0000: ldstr ""abcdef""
IL_0005: ldc.i4.1
IL_0006: stloc.0
IL_0007: ldc.i4.3
IL_0008: ldloc.0
IL_0009: sub
IL_000a: stloc.1
IL_000b: ldloc.0
IL_000c: ldloc.1
IL_000d: callvirt ""string string.Substring(int, int)""
IL_0012: call ""void System.Console.WriteLine(string)""
IL_0017: ret
}");
}
[Fact, WorkItem(40776, "https://github.com/dotnet/roslyn/issues/40776")]
public void FakeIndexIndexerOnDefaultStruct()
{
var verifier = CompileAndVerifyWithIndexAndRange(@"
using System;
struct NotASpan
{
public int Length => 1;
public int this[int index] => 0;
}
class C
{
static int Repro() => default(NotASpan)[^0];
static void Main() => Repro();
}");
verifier.VerifyIL("C.Repro", @"
{
// Code size 25 (0x19)
.maxstack 3
.locals init (int V_0,
NotASpan V_1)
IL_0000: ldloca.s V_1
IL_0002: dup
IL_0003: initobj ""NotASpan""
IL_0009: dup
IL_000a: call ""int NotASpan.Length.get""
IL_000f: ldc.i4.0
IL_0010: sub
IL_0011: stloc.0
IL_0012: ldloc.0
IL_0013: call ""int NotASpan.this[int].get""
IL_0018: ret
}");
}
[Fact, WorkItem(40776, "https://github.com/dotnet/roslyn/issues/40776")]
public void FakeIndexIndexerOnStructConstructor()
{
var comp = CreateCompilationWithIndexAndRangeAndSpan(@"
using System;
class C
{
static byte Repro() => new Span<byte>(new byte[] { })[^1];
}");
var verifier = CompileAndVerify(comp);
verifier.VerifyIL("C.Repro", @"
{
// Code size 31 (0x1f)
.maxstack 3
.locals init (int V_0,
System.Span<byte> V_1)
IL_0000: ldc.i4.0
IL_0001: newarr ""byte""
IL_0006: newobj ""System.Span<byte>..ctor(byte[])""
IL_000b: stloc.1
IL_000c: ldloca.s V_1
IL_000e: dup
IL_000f: call ""int System.Span<byte>.Length.get""
IL_0014: ldc.i4.1
IL_0015: sub
IL_0016: stloc.0
IL_0017: ldloc.0
IL_0018: call ""ref byte System.Span<byte>.this[int].get""
IL_001d: ldind.u1
IL_001e: ret
}");
}
[Fact]
public void FakeRangeIndexerStringOpenEnd()
{
CompileAndVerifyWithIndexAndRange(@"
using System;
class C
{
public static void Main()
{
var s = ""abcdef"";
var result = M(s);
Console.WriteLine(result);
}
public static string M(string s) => s[1..];
}", expectedOutput: "bcdef");
}
[Fact]
public void FakeRangeIndexerStringOpenStart()
{
CompileAndVerifyWithIndexAndRange(@"
using System;
class C
{
public static void Main()
{
var s = ""abcdef"";
var result = M(s);
Console.WriteLine(result);
}
public static string M(string s) => s[..^2];
}", expectedOutput: "abcd");
}
[Fact]
public void FakeIndexIndexerArray()
{
var comp = CreateCompilationWithIndex(@"
using System;
class C
{
public static void Main()
{
var x = new[] { 1, 2, 3, 11 };
M(x);
}
public static void M(int[] array)
{
Console.WriteLine(array[new Index(1, false)]);
Console.WriteLine(array[^1]);
}
}", TestOptions.ReleaseExe);
var verifier = CompileAndVerify(comp, expectedOutput: @"2
11");
verifier.VerifyIL("C.M", @"
{
// Code size 40 (0x28)
.maxstack 3
.locals init (int[] V_0,
System.Index V_1)
IL_0000: ldarg.0
IL_0001: stloc.0
IL_0002: ldloc.0
IL_0003: ldc.i4.1
IL_0004: ldc.i4.0
IL_0005: newobj ""System.Index..ctor(int, bool)""
IL_000a: stloc.1
IL_000b: ldloca.s V_1
IL_000d: ldloc.0
IL_000e: ldlen
IL_000f: conv.i4
IL_0010: call ""int System.Index.GetOffset(int)""
IL_0015: ldelem.i4
IL_0016: call ""void System.Console.WriteLine(int)""
IL_001b: ldarg.0
IL_001c: dup
IL_001d: ldlen
IL_001e: conv.i4
IL_001f: ldc.i4.1
IL_0020: sub
IL_0021: ldelem.i4
IL_0022: call ""void System.Console.WriteLine(int)""
IL_0027: ret
}");
}
[Fact]
public void SuppressNullableWarning_FakeIndexIndexerArray()
{
string source = @"
using System;
class C
{
public static void Main()
{
var x = new[] { 1, 2, 3, 11 };
M(x);
}
public static void M(int[] array)
{
Console.Write(array[new Index(1, false)!]);
Console.Write(array[(^1)!]);
}
}";
// cover case in ConvertToArrayIndex
var comp = CreateCompilationWithIndex(source, WithNullableEnable(TestOptions.DebugExe));
comp.VerifyDiagnostics();
CompileAndVerify(comp, expectedOutput: "211");
}
[Fact]
public void FakeRangeIndexerArray()
{
var verifier = CompileAndVerifyWithIndexAndRange(@"
using System;
class C
{
public static void Main()
{
var arr = new[] { 1, 2, 3, 11 };
var result = M(arr);
Console.WriteLine(result.Length);
foreach (var x in result)
{
Console.WriteLine(x);
}
}
public static int[] M(int[] array) => array[1..3];
}", expectedOutput: @"2
2
3");
verifier.VerifyIL("C.M", @"
{
// Code size 24 (0x18)
.maxstack 3
IL_0000: ldarg.0
IL_0001: ldc.i4.1
IL_0002: call ""System.Index System.Index.op_Implicit(int)""
IL_0007: ldc.i4.3
IL_0008: call ""System.Index System.Index.op_Implicit(int)""
IL_000d: newobj ""System.Range..ctor(System.Index, System.Index)""
IL_0012: call ""int[] System.Runtime.CompilerServices.RuntimeHelpers.GetSubArray<int>(int[], System.Range)""
IL_0017: ret
}
");
}
[Fact]
public void FakeRangeStartIsFromEndIndexerArray()
{
CompileAndVerifyWithIndexAndRange(@"
using System;
class C
{
public static void Main()
{
var arr = new[] { 1, 2, 3, 11 };
var result = M(arr);
Console.WriteLine(result.Length);
foreach (var x in result)
{
Console.WriteLine(x);
}
}
public static int[] M(int[] array) => array[^2..];
}", expectedOutput: @"2
3
11");
}
[Fact]
public void FakeRangeBothIsFromEndIndexerArray()
{
CompileAndVerifyWithIndexAndRange(@"
using System;
class C
{
public static void Main()
{
var arr = new[] { 1, 2, 3, 11 };
var result = M(arr);
Console.WriteLine(result.Length);
foreach (var x in result)
{
Console.WriteLine(x);
}
}
public static int[] M(int[] array) => array[^3..^1];
}", expectedOutput: @"2
2
3");
}
[Fact]
public void FakeRangeToEndIndexerArray()
{
var verifier = CompileAndVerifyWithIndexAndRange(@"
using System;
class C
{
public static void Main()
{
var arr = new[] { 1, 2, 3, 11 };
var result = M(arr);
Console.WriteLine(result.Length);
foreach (var x in result)
{
Console.WriteLine(x);
}
}
public static int[] M(int[] array) => array[1..];
}", expectedOutput: @"3
2
3
11");
verifier.VerifyIL("C.M", @"
{
// Code size 18 (0x12)
.maxstack 2
IL_0000: ldarg.0
IL_0001: ldc.i4.1
IL_0002: call ""System.Index System.Index.op_Implicit(int)""
IL_0007: call ""System.Range System.Range.StartAt(System.Index)""
IL_000c: call ""int[] System.Runtime.CompilerServices.RuntimeHelpers.GetSubArray<int>(int[], System.Range)""
IL_0011: ret
}
");
}
[Fact]
public void FakeRangeFromStartIndexerArray()
{
var comp = CreateCompilationWithIndexAndRange(@"
using System;
class C
{
public static void Main()
{
var arr = new[] { 1, 2, 3, 11 };
var result = M(arr);
Console.WriteLine(result.Length);
foreach (var x in result)
{
Console.WriteLine(x);
}
}
public static int[] M(int[] array) => array[..3];
}" + TestSources.GetSubArray, TestOptions.ReleaseExe);
var verifier = CompileAndVerify(comp, verify: Verification.Passes, expectedOutput: @"3
1
2
3");
verifier.VerifyIL("C.M", @"
{
// Code size 18 (0x12)
.maxstack 2
IL_0000: ldarg.0
IL_0001: ldc.i4.3
IL_0002: call ""System.Index System.Index.op_Implicit(int)""
IL_0007: call ""System.Range System.Range.EndAt(System.Index)""
IL_000c: call ""int[] System.Runtime.CompilerServices.RuntimeHelpers.GetSubArray<int>(int[], System.Range)""
IL_0011: ret
}");
}
[Fact]
public void LowerIndex_Int()
{
var compilation = CreateCompilationWithIndex(@"
using System;
public static class Util
{
public static Index Convert(int a) => ^a;
}");
CompileAndVerify(compilation).VerifyIL("Util.Convert", @"
{
// Code size 8 (0x8)
.maxstack 2
IL_0000: ldarg.0
IL_0001: ldc.i4.1
IL_0002: newobj ""System.Index..ctor(int, bool)""
IL_0007: ret
}");
}
[Fact]
public void LowerIndex_NullableInt()
{
var compilation = CreateCompilationWithIndex(@"
using System;
public static class Util
{
public static Index? Convert(int? a) => ^a;
}");
CompileAndVerify(compilation).VerifyIL("Util.Convert", @"
{
// Code size 40 (0x28)
.maxstack 2
.locals init (int? V_0,
System.Index? V_1)
IL_0000: ldarg.0
IL_0001: stloc.0
IL_0002: ldloca.s V_0
IL_0004: call ""bool int?.HasValue.get""
IL_0009: brtrue.s IL_0015
IL_000b: ldloca.s V_1
IL_000d: initobj ""System.Index?""
IL_0013: ldloc.1
IL_0014: ret
IL_0015: ldloca.s V_0
IL_0017: call ""int int?.GetValueOrDefault()""
IL_001c: ldc.i4.1
IL_001d: newobj ""System.Index..ctor(int, bool)""
IL_0022: newobj ""System.Index?..ctor(System.Index)""
IL_0027: ret
}");
}
[Fact]
public void PrintIndexExpressions()
{
var compilation = CreateCompilationWithIndexAndRange(@"
using System;
partial class Program
{
static void Main()
{
int nonNullable = 1;
int? nullableValue = 2;
int? nullableDefault = default;
Index a = nonNullable;
Console.WriteLine(""a: "" + Print(a));
Index b = ^nonNullable;
Console.WriteLine(""b: "" + Print(b));
// --------------------------------------------------------
Index? c = nullableValue;
Console.WriteLine(""c: "" + Print(c));
Index? d = ^nullableValue;
Console.WriteLine(""d: "" + Print(d));
// --------------------------------------------------------
Index? e = nullableDefault;
Console.WriteLine(""e: "" + Print(e));
Index? f = ^nullableDefault;
Console.WriteLine(""f: "" + Print(f));
}
}" + PrintIndexesAndRangesCode, options: TestOptions.ReleaseExe);
CompileAndVerify(compilation, expectedOutput: @"
a: value: '1', fromEnd: 'False'
b: value: '1', fromEnd: 'True'
c: value: '2', fromEnd: 'False'
d: value: '2', fromEnd: 'True'
e: default
f: default");
}
[Fact]
public void LowerRange_Create_Index_Index()
{
var compilation = CreateCompilationWithIndexAndRange(@"
using System;
public static class Util
{
public static Range Create(Index start, Index end) => start..end;
}");
CompileAndVerify(compilation).VerifyIL("Util.Create", @"
{
// Code size 8 (0x8)
.maxstack 2
IL_0000: ldarg.0
IL_0001: ldarg.1
IL_0002: newobj ""System.Range..ctor(System.Index, System.Index)""
IL_0007: ret
}");
}
[Fact]
public void LowerRange_Create_Index_NullableIndex()
{
var compilation = CreateCompilationWithIndexAndRange(@"
using System;
public static class Util
{
public static Range? Create(Index start, Index? end) => start..end;
}");
CompileAndVerify(compilation).VerifyIL("Util.Create", @"
{
// Code size 42 (0x2a)
.maxstack 2
.locals init (System.Index V_0,
System.Index? V_1,
System.Range? V_2)
IL_0000: ldarg.0
IL_0001: stloc.0
IL_0002: ldarg.1
IL_0003: stloc.1
IL_0004: ldloca.s V_1
IL_0006: call ""bool System.Index?.HasValue.get""
IL_000b: brtrue.s IL_0017
IL_000d: ldloca.s V_2
IL_000f: initobj ""System.Range?""
IL_0015: ldloc.2
IL_0016: ret
IL_0017: ldloc.0
IL_0018: ldloca.s V_1
IL_001a: call ""System.Index System.Index?.GetValueOrDefault()""
IL_001f: newobj ""System.Range..ctor(System.Index, System.Index)""
IL_0024: newobj ""System.Range?..ctor(System.Range)""
IL_0029: ret
}");
}
[Fact]
public void LowerRange_Create_NullableIndex_Index()
{
var compilation = CreateCompilationWithIndexAndRange(@"
using System;
public static class Util
{
public static Range? Create(Index? start, Index end) => start..end;
}");
CompileAndVerify(compilation).VerifyIL("Util.Create", @"
{
// Code size 42 (0x2a)
.maxstack 2
.locals init (System.Index? V_0,
System.Index V_1,
System.Range? V_2)
IL_0000: ldarg.0
IL_0001: stloc.0
IL_0002: ldarg.1
IL_0003: stloc.1
IL_0004: ldloca.s V_0
IL_0006: call ""bool System.Index?.HasValue.get""
IL_000b: brtrue.s IL_0017
IL_000d: ldloca.s V_2
IL_000f: initobj ""System.Range?""
IL_0015: ldloc.2
IL_0016: ret
IL_0017: ldloca.s V_0
IL_0019: call ""System.Index System.Index?.GetValueOrDefault()""
IL_001e: ldloc.1
IL_001f: newobj ""System.Range..ctor(System.Index, System.Index)""
IL_0024: newobj ""System.Range?..ctor(System.Range)""
IL_0029: ret
}");
}
[Fact]
public void LowerRange_Create_NullableIndex_NullableIndex()
{
var compilation = CreateCompilationWithIndexAndRange(@"
using System;
public static class Util
{
public static Range? Create(Index? start, Index? end) => start..end;
}");
CompileAndVerify(compilation).VerifyIL("Util.Create", @"
{
// Code size 56 (0x38)
.maxstack 2
.locals init (System.Index? V_0,
System.Index? V_1,
System.Range? V_2)
IL_0000: ldarg.0
IL_0001: stloc.0
IL_0002: ldarg.1
IL_0003: stloc.1
IL_0004: ldloca.s V_0
IL_0006: call ""bool System.Index?.HasValue.get""
IL_000b: ldloca.s V_1
IL_000d: call ""bool System.Index?.HasValue.get""
IL_0012: and
IL_0013: brtrue.s IL_001f
IL_0015: ldloca.s V_2
IL_0017: initobj ""System.Range?""
IL_001d: ldloc.2
IL_001e: ret
IL_001f: ldloca.s V_0
IL_0021: call ""System.Index System.Index?.GetValueOrDefault()""
IL_0026: ldloca.s V_1
IL_0028: call ""System.Index System.Index?.GetValueOrDefault()""
IL_002d: newobj ""System.Range..ctor(System.Index, System.Index)""
IL_0032: newobj ""System.Range?..ctor(System.Range)""
IL_0037: ret
}");
}
[Fact]
public void LowerRange_ToEnd_Index()
{
var compilation = CreateCompilationWithIndexAndRange(@"
using System;
public static class Util
{
public static Range ToEnd(Index end) => ..end;
}");
CompileAndVerify(compilation).VerifyIL("Util.ToEnd", @"
{
// Code size 7 (0x7)
.maxstack 1
IL_0000: ldarg.0
IL_0001: call ""System.Range System.Range.EndAt(System.Index)""
IL_0006: ret
}");
}
[Fact]
public void LowerRange_ToEnd_NullableIndex()
{
var compilation = CreateCompilationWithIndexAndRange(@"
using System;
public static class Util
{
public static Range? ToEnd(Index? end) => ..end;
}");
CompileAndVerify(compilation).VerifyIL("Util.ToEnd", @"
{
// Code size 39 (0x27)
.maxstack 1
.locals init (System.Index? V_0,
System.Range? V_1)
IL_0000: ldarg.0
IL_0001: stloc.0
IL_0002: ldloca.s V_0
IL_0004: call ""bool System.Index?.HasValue.get""
IL_0009: brtrue.s IL_0015
IL_000b: ldloca.s V_1
IL_000d: initobj ""System.Range?""
IL_0013: ldloc.1
IL_0014: ret
IL_0015: ldloca.s V_0
IL_0017: call ""System.Index System.Index?.GetValueOrDefault()""
IL_001c: call ""System.Range System.Range.EndAt(System.Index)""
IL_0021: newobj ""System.Range?..ctor(System.Range)""
IL_0026: ret
}");
}
[Fact]
public void LowerRange_FromStart_Index()
{
var compilation = CreateCompilationWithIndexAndRange(@"
using System;
public static class Util
{
public static Range FromStart(Index start) => start..;
}");
CompileAndVerify(compilation).VerifyIL("Util.FromStart", @"
{
// Code size 7 (0x7)
.maxstack 1
IL_0000: ldarg.0
IL_0001: call ""System.Range System.Range.StartAt(System.Index)""
IL_0006: ret
}");
}
[Fact]
public void LowerRange_FromStart_NullableIndex()
{
var compilation = CreateCompilationWithIndexAndRange(@"
using System;
public static class Util
{
public static Range? FromStart(Index? start) => start..;
}");
CompileAndVerify(compilation).VerifyIL("Util.FromStart", @"
{
// Code size 39 (0x27)
.maxstack 1
.locals init (System.Index? V_0,
System.Range? V_1)
IL_0000: ldarg.0
IL_0001: stloc.0
IL_0002: ldloca.s V_0
IL_0004: call ""bool System.Index?.HasValue.get""
IL_0009: brtrue.s IL_0015
IL_000b: ldloca.s V_1
IL_000d: initobj ""System.Range?""
IL_0013: ldloc.1
IL_0014: ret
IL_0015: ldloca.s V_0
IL_0017: call ""System.Index System.Index?.GetValueOrDefault()""
IL_001c: call ""System.Range System.Range.StartAt(System.Index)""
IL_0021: newobj ""System.Range?..ctor(System.Range)""
IL_0026: ret
}");
}
[Fact]
public void LowerRange_All()
{
var compilation = CreateCompilationWithIndexAndRange(@"
using System;
public static class Util
{
public static Range All() => ..;
}");
CompileAndVerify(compilation).VerifyIL("Util.All", @"
{
// Code size 6 (0x6)
.maxstack 1
IL_0000: call ""System.Range System.Range.All.get""
IL_0005: ret
}");
}
[Fact]
public void PrintRangeExpressions()
{
var compilation = CreateCompilationWithIndexAndRange(@"
using System;
partial class Program
{
static void Main()
{
Index nonNullable = 1;
Index? nullableValue = 2;
Index? nullableDefault = default;
Range a = nonNullable..nonNullable;
Console.WriteLine(""a: "" + Print(a));
Range? b = nonNullable..nullableValue;
Console.WriteLine(""b: "" + Print(b));
Range? c = nonNullable..nullableDefault;
Console.WriteLine(""c: "" + Print(c));
// --------------------------------------------------------
Range? d = nullableValue..nonNullable;
Console.WriteLine(""d: "" + Print(d));
Range? e = nullableValue..nullableValue;
Console.WriteLine(""e: "" + Print(e));
Range? f = nullableValue..nullableDefault;
Console.WriteLine(""f: "" + Print(f));
// --------------------------------------------------------
Range? g = nullableDefault..nonNullable;
Console.WriteLine(""g: "" + Print(g));
Range? h = nullableDefault..nullableValue;
Console.WriteLine(""h: "" + Print(h));
Range? i = nullableDefault..nullableDefault;
Console.WriteLine(""i: "" + Print(i));
// --------------------------------------------------------
Range? j = ..nonNullable;
Console.WriteLine(""j: "" + Print(j));
Range? k = ..nullableValue;
Console.WriteLine(""k: "" + Print(k));
Range? l = ..nullableDefault;
Console.WriteLine(""l: "" + Print(l));
// --------------------------------------------------------
Range? m = nonNullable..;
Console.WriteLine(""m: "" + Print(m));
Range? n = nullableValue..;
Console.WriteLine(""n: "" + Print(n));
Range? o = nullableDefault..;
Console.WriteLine(""o: "" + Print(o));
// --------------------------------------------------------
Range? p = ..;
Console.WriteLine(""p: "" + Print(p));
}
}" + PrintIndexesAndRangesCode, options: TestOptions.ReleaseExe);
CompileAndVerify(compilation, expectedOutput: @"
a: value: 'value: '1', fromEnd: 'False'', fromEnd: 'value: '1', fromEnd: 'False''
b: value: 'value: '1', fromEnd: 'False'', fromEnd: 'value: '2', fromEnd: 'False''
c: default
d: value: 'value: '2', fromEnd: 'False'', fromEnd: 'value: '1', fromEnd: 'False''
e: value: 'value: '2', fromEnd: 'False'', fromEnd: 'value: '2', fromEnd: 'False''
f: default
g: default
h: default
i: default
j: value: 'value: '0', fromEnd: 'False'', fromEnd: 'value: '1', fromEnd: 'False''
k: value: 'value: '0', fromEnd: 'False'', fromEnd: 'value: '2', fromEnd: 'False''
l: default
m: value: 'value: '1', fromEnd: 'False'', fromEnd: 'value: '0', fromEnd: 'True''
n: value: 'value: '2', fromEnd: 'False'', fromEnd: 'value: '0', fromEnd: 'True''
o: default
p: value: 'value: '0', fromEnd: 'False'', fromEnd: 'value: '0', fromEnd: 'True''");
}
[Fact]
public void PassingAsArguments()
{
var compilation = CreateCompilationWithIndexAndRange(@"
using System;
partial class Program
{
static void Main()
{
Console.WriteLine(Print(^1));
Console.WriteLine(Print(..));
Console.WriteLine(Print(2..));
Console.WriteLine(Print(..3));
Console.WriteLine(Print(4..5));
}
}" + PrintIndexesAndRangesCode, options: TestOptions.ReleaseExe).VerifyDiagnostics();
CompileAndVerify(compilation, expectedOutput: @"
value: '1', fromEnd: 'True'
value: 'value: '0', fromEnd: 'False'', fromEnd: 'value: '0', fromEnd: 'True''
value: 'value: '2', fromEnd: 'False'', fromEnd: 'value: '0', fromEnd: 'True''
value: 'value: '0', fromEnd: 'False'', fromEnd: 'value: '3', fromEnd: 'False''
value: 'value: '4', fromEnd: 'False'', fromEnd: 'value: '5', fromEnd: 'False''");
}
[Fact]
public void LowerRange_OrderOfEvaluation_Index_NullableIndex()
{
var compilation = CreateCompilationWithIndexAndRange(@"
using System;
public static class Util
{
static void Main()
{
var x = Create();
}
public static Range? Create()
{
return GetIndex1() .. GetIndex2();
}
static Index GetIndex1()
{
System.Console.WriteLine(""1"");
return default;
}
static Index? GetIndex2()
{
System.Console.WriteLine(""2"");
return new Index(1, true);
}
}", options: TestOptions.DebugExe);
CompileAndVerify(compilation, expectedOutput: @"
1
2").VerifyIL("Util.Create", @"
{
// Code size 56 (0x38)
.maxstack 2
.locals init (System.Index V_0,
System.Index? V_1,
System.Range? V_2,
System.Range? V_3)
IL_0000: nop
IL_0001: call ""System.Index Util.GetIndex1()""
IL_0006: stloc.0
IL_0007: call ""System.Index? Util.GetIndex2()""
IL_000c: stloc.1
IL_000d: ldloca.s V_1
IL_000f: call ""bool System.Index?.HasValue.get""
IL_0014: brtrue.s IL_0021
IL_0016: ldloca.s V_2
IL_0018: initobj ""System.Range?""
IL_001e: ldloc.2
IL_001f: br.s IL_0033
IL_0021: ldloc.0
IL_0022: ldloca.s V_1
IL_0024: call ""System.Index System.Index?.GetValueOrDefault()""
IL_0029: newobj ""System.Range..ctor(System.Index, System.Index)""
IL_002e: newobj ""System.Range?..ctor(System.Range)""
IL_0033: stloc.3
IL_0034: br.s IL_0036
IL_0036: ldloc.3
IL_0037: ret
}");
}
[Fact]
public void LowerRange_OrderOfEvaluation_Index_Null()
{
var compilation = CreateCompilationWithIndexAndRange(@"
using System;
public static class Util
{
static void Main()
{
var x = Create();
}
public static Range? Create()
{
return GetIndex1() .. GetIndex2();
}
static Index GetIndex1()
{
System.Console.WriteLine(""1"");
return default;
}
static Index? GetIndex2()
{
System.Console.WriteLine(""2"");
return null;
}
}", options: TestOptions.DebugExe);
CompileAndVerify(compilation, expectedOutput: @"
1
2").VerifyIL("Util.Create", @"
{
// Code size 56 (0x38)
.maxstack 2
.locals init (System.Index V_0,
System.Index? V_1,
System.Range? V_2,
System.Range? V_3)
IL_0000: nop
IL_0001: call ""System.Index Util.GetIndex1()""
IL_0006: stloc.0
IL_0007: call ""System.Index? Util.GetIndex2()""
IL_000c: stloc.1
IL_000d: ldloca.s V_1
IL_000f: call ""bool System.Index?.HasValue.get""
IL_0014: brtrue.s IL_0021
IL_0016: ldloca.s V_2
IL_0018: initobj ""System.Range?""
IL_001e: ldloc.2
IL_001f: br.s IL_0033
IL_0021: ldloc.0
IL_0022: ldloca.s V_1
IL_0024: call ""System.Index System.Index?.GetValueOrDefault()""
IL_0029: newobj ""System.Range..ctor(System.Index, System.Index)""
IL_002e: newobj ""System.Range?..ctor(System.Range)""
IL_0033: stloc.3
IL_0034: br.s IL_0036
IL_0036: ldloc.3
IL_0037: ret
}");
}
[Fact]
public void Index_OperandConvertibleToInt()
{
CompileAndVerify(CreateCompilationWithIndexAndRange(@"
using System;
partial class Program
{
static void Main()
{
byte a = 3;
Index b = ^a;
Console.WriteLine(Print(b));
}
}" + PrintIndexesAndRangesCode, options: TestOptions.ReleaseExe), expectedOutput: "value: '3', fromEnd: 'True'");
}
[Fact]
public void Index_NullableAlwaysHasValue()
{
CompileAndVerify(CreateCompilationWithIndexAndRange(@"
using System;
partial class Program
{
static void Main()
{
Console.WriteLine(Print(Create()));
}
static Index? Create()
{
// should be lowered into: new Nullable<Index>(new Index(5, fromEnd: true))
return ^new Nullable<int>(5);
}
}" + PrintIndexesAndRangesCode, options: TestOptions.ReleaseExe),
expectedOutput: "value: '5', fromEnd: 'True'")
.VerifyIL("Program.Create", @"
{
// Code size 13 (0xd)
.maxstack 2
IL_0000: ldc.i4.5
IL_0001: ldc.i4.1
IL_0002: newobj ""System.Index..ctor(int, bool)""
IL_0007: newobj ""System.Index?..ctor(System.Index)""
IL_000c: ret
}");
}
[Fact]
public void Range_NullableAlwaysHasValue_Left()
{
CompileAndVerify(CreateCompilationWithIndexAndRange(@"
using System;
partial class Program
{
static void Main()
{
Console.WriteLine(Print(Create(^1)));
}
static Range? Create(Index arg)
{
// should be lowered into: new Nullable<Range>(Range.FromStart(arg))
return new Nullable<Index>(arg)..;
}
}" + PrintIndexesAndRangesCode, options: TestOptions.ReleaseExe),
expectedOutput: "value: 'value: '1', fromEnd: 'True'', fromEnd: 'value: '0', fromEnd: 'True''")
.VerifyIL("Program.Create", @"
{
// Code size 12 (0xc)
.maxstack 1
IL_0000: ldarg.0
IL_0001: call ""System.Range System.Range.StartAt(System.Index)""
IL_0006: newobj ""System.Range?..ctor(System.Range)""
IL_000b: ret
}");
}
[Fact]
public void Range_NullableAlwaysHasValue_Right()
{
CompileAndVerify(CreateCompilationWithIndexAndRange(@"
using System;
partial class Program
{
static void Main()
{
Console.WriteLine(Print(Create(^1)));
}
static Range? Create(Index arg)
{
// should be lowered into: new Nullable<Range>(Range.ToEnd(arg))
return ..new Nullable<Index>(arg);
}
}" + PrintIndexesAndRangesCode, options: TestOptions.ReleaseExe),
expectedOutput: "value: 'value: '0', fromEnd: 'False'', fromEnd: 'value: '1', fromEnd: 'True''")
.VerifyIL("Program.Create", @"
{
// Code size 12 (0xc)
.maxstack 1
IL_0000: ldarg.0
IL_0001: call ""System.Range System.Range.EndAt(System.Index)""
IL_0006: newobj ""System.Range?..ctor(System.Range)""
IL_000b: ret
}");
}
[Fact]
public void Range_NullableAlwaysHasValue_Both()
{
CompileAndVerify(CreateCompilationWithIndexAndRange(@"
using System;
partial class Program
{
static void Main()
{
Console.WriteLine(Print(Create(^2, ^1)));
}
static Range? Create(Index arg1, Index arg2)
{
// should be lowered into: new Nullable<Range>(Range.Create(arg1, arg2))
return new Nullable<Index>(arg1)..new Nullable<Index>(arg2);
}
}" + PrintIndexesAndRangesCode, options: TestOptions.ReleaseExe),
expectedOutput: "value: 'value: '2', fromEnd: 'True'', fromEnd: 'value: '1', fromEnd: 'True''")
.VerifyIL("Program.Create", @"
{
// Code size 13 (0xd)
.maxstack 2
IL_0000: ldarg.0
IL_0001: ldarg.1
IL_0002: newobj ""System.Range..ctor(System.Index, System.Index)""
IL_0007: newobj ""System.Range?..ctor(System.Range)""
IL_000c: ret
}");
}
[Fact]
public void Index_NullableNeverHasValue()
{
CompileAndVerify(CreateCompilationWithIndexAndRange(@"
using System;
partial class Program
{
static void Main()
{
Console.WriteLine(Print(Create()));
}
static Index? Create()
{
// should be lowered into: new Nullable<Index>(new Index(default, fromEnd: true))
return ^new Nullable<int>();
}
}" + PrintIndexesAndRangesCode, options: TestOptions.ReleaseExe), expectedOutput: "value: '0', fromEnd: 'True'")
.VerifyIL("Program.Create", @"
{
// Code size 13 (0xd)
.maxstack 2
IL_0000: ldc.i4.0
IL_0001: ldc.i4.1
IL_0002: newobj ""System.Index..ctor(int, bool)""
IL_0007: newobj ""System.Index?..ctor(System.Index)""
IL_000c: ret
}");
}
[Fact]
public void Range_NullableNeverhasValue_Left()
{
CompileAndVerify(CreateCompilationWithIndexAndRange(@"
using System;
partial class Program
{
static void Main()
{
Console.WriteLine(Print(Create()));
}
static Range? Create()
{
// should be lowered into: new Nullable<Range>(Range.FromStart(default))
return new Nullable<Index>()..;
}
}" + PrintIndexesAndRangesCode, options: TestOptions.ReleaseExe),
expectedOutput: "value: 'value: '0', fromEnd: 'False'', fromEnd: 'value: '0', fromEnd: 'True''")
.VerifyIL("Program.Create", @"
{
// Code size 20 (0x14)
.maxstack 1
.locals init (System.Index V_0)
IL_0000: ldloca.s V_0
IL_0002: initobj ""System.Index""
IL_0008: ldloc.0
IL_0009: call ""System.Range System.Range.StartAt(System.Index)""
IL_000e: newobj ""System.Range?..ctor(System.Range)""
IL_0013: ret
}");
}
[Fact]
public void Range_NullableNeverHasValue_Right()
{
CompileAndVerify(CreateCompilationWithIndexAndRange(@"
using System;
partial class Program
{
static void Main()
{
Console.WriteLine(Print(Create()));
}
static Range? Create()
{
// should be lowered into: new Nullable<Range>(Range.ToEnd(default))
return ..new Nullable<Index>();
}
}" + PrintIndexesAndRangesCode, options: TestOptions.ReleaseExe),
expectedOutput: "value: 'value: '0', fromEnd: 'False'', fromEnd: 'value: '0', fromEnd: 'False''")
.VerifyIL("Program.Create", @"
{
// Code size 20 (0x14)
.maxstack 1
.locals init (System.Index V_0)
IL_0000: ldloca.s V_0
IL_0002: initobj ""System.Index""
IL_0008: ldloc.0
IL_0009: call ""System.Range System.Range.EndAt(System.Index)""
IL_000e: newobj ""System.Range?..ctor(System.Range)""
IL_0013: ret
}");
}
[Fact]
public void Range_NullableNeverHasValue_Both()
{
CompileAndVerify(CreateCompilationWithIndexAndRange(@"
using System;
partial class Program
{
static void Main()
{
Console.WriteLine(Print(Create()));
}
static Range? Create()
{
// should be lowered into: new Nullable<Range>(Range.Create(default, default))
return new Nullable<Index>()..new Nullable<Index>();
}
}" + PrintIndexesAndRangesCode, options: TestOptions.ReleaseExe),
expectedOutput: "value: 'value: '0', fromEnd: 'False'', fromEnd: 'value: '0', fromEnd: 'False''")
.VerifyIL("Program.Create", @"
{
// Code size 29 (0x1d)
.maxstack 2
.locals init (System.Index V_0)
IL_0000: ldloca.s V_0
IL_0002: initobj ""System.Index""
IL_0008: ldloc.0
IL_0009: ldloca.s V_0
IL_000b: initobj ""System.Index""
IL_0011: ldloc.0
IL_0012: newobj ""System.Range..ctor(System.Index, System.Index)""
IL_0017: newobj ""System.Range?..ctor(System.Range)""
IL_001c: ret
}");
}
[Fact]
public void Index_OnFunctionCall()
{
CompileAndVerify(CreateCompilationWithIndexAndRange(@"
using System;
partial class Program
{
static void Main()
{
Console.WriteLine(Print(^Create(5)));
}
static int Create(int x) => x;
}" + PrintIndexesAndRangesCode,
options: TestOptions.ReleaseExe),
expectedOutput: "value: '5', fromEnd: 'True'");
}
[Fact]
public void Range_OnFunctionCall()
{
CompileAndVerify(CreateCompilationWithIndexAndRange(@"
using System;
partial class Program
{
static void Main()
{
Console.WriteLine(Print(Create(1)..Create(2)));
}
static Index Create(int x) => ^x;
}" + PrintIndexesAndRangesCode,
options: TestOptions.ReleaseExe),
expectedOutput: "value: 'value: '1', fromEnd: 'True'', fromEnd: 'value: '2', fromEnd: 'True''");
}
[Fact]
public void Index_OnAssignment()
{
CompileAndVerify(CreateCompilationWithIndexAndRange(@"
using System;
partial class Program
{
static void Main()
{
int x = default;
Console.WriteLine(Print(^(x = Create(5))));
Console.WriteLine(x);
}
static int Create(int x) => x;
}" + PrintIndexesAndRangesCode,
options: TestOptions.ReleaseExe),
expectedOutput: @"
value: '5', fromEnd: 'True'
5");
}
[Fact]
public void Range_OnAssignment()
{
CompileAndVerify(CreateCompilationWithIndexAndRange(@"
using System;
partial class Program
{
static void Main()
{
Index x = default, y = default;
Console.WriteLine(Print((x = Create(1))..(y = Create(2))));
Console.WriteLine(Print(x));
Console.WriteLine(Print(y));
}
static Index Create(int x) => ^x;
}" + PrintIndexesAndRangesCode,
options: TestOptions.ReleaseExe),
expectedOutput: @"
value: 'value: '1', fromEnd: 'True'', fromEnd: 'value: '2', fromEnd: 'True''
value: '1', fromEnd: 'True'
value: '2', fromEnd: 'True'");
}
[Fact]
public void Range_OnVarOut()
{
CompileAndVerify(CreateCompilationWithIndexAndRange(@"
using System;
partial class Program
{
static void Main()
{
Console.WriteLine(Print(Create(1, out Index y)..y));
}
static Index Create(int x, out Index y)
{
y = ^2;
return ^x;
}
}" + PrintIndexesAndRangesCode, options: TestOptions.ReleaseExe),
expectedOutput: "value: 'value: '1', fromEnd: 'True'', fromEnd: 'value: '2', fromEnd: 'True''");
}
[Fact]
public void Range_EvaluationInCondition()
{
CompileAndVerify(CreateCompilationWithIndexAndRange(@"
using System;
partial class Program
{
static void Main()
{
if ((Create(1, out int a)..Create(2, out int b)).Start.IsFromEnd && a < b)
{
Console.WriteLine(""YES"");
}
if ((Create(4, out int c)..Create(3, out int d)).Start.IsFromEnd && c < d)
{
Console.WriteLine(""NO"");
}
}
static Index Create(int x, out int y)
{
y = x;
return ^x;
}
}", options: TestOptions.ReleaseExe), expectedOutput: "YES");
}
private const string PrintIndexesAndRangesCode = @"
partial class Program
{
static string Print(Index arg)
{
return $""value: '{arg.Value}', fromEnd: '{arg.IsFromEnd}'"";
}
static string Print(Range arg)
{
return $""value: '{Print(arg.Start)}', fromEnd: '{Print(arg.End)}'"";
}
static string Print(Index? arg)
{
if (arg.HasValue)
{
return Print(arg.Value);
}
else
{
return ""default"";
}
}
static string Print(Range? arg)
{
if (arg.HasValue)
{
return Print(arg.Value);
}
else
{
return ""default"";
}
}
}";
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.CSharp.Test.Utilities;
using Microsoft.CodeAnalysis.Test.Utilities;
using Roslyn.Test.Utilities;
using Xunit;
namespace Microsoft.CodeAnalysis.CSharp.UnitTests.CodeGen
{
public class IndexAndRangeTests : CSharpTestBase
{
private CompilationVerifier CompileAndVerifyWithIndexAndRange(string s, string expectedOutput = null)
{
var comp = CreateCompilationWithIndexAndRange(
new[] { s, TestSources.GetSubArray, },
expectedOutput is null ? TestOptions.ReleaseDll : TestOptions.ReleaseExe);
return CompileAndVerify(comp, expectedOutput: expectedOutput);
}
private static (SemanticModel model, List<ElementAccessExpressionSyntax> accesses) GetModelAndAccesses(CSharpCompilation comp)
{
var syntaxTree = comp.SyntaxTrees[0];
var root = syntaxTree.GetRoot();
var model = comp.GetSemanticModel(syntaxTree);
return (model, root.DescendantNodes().OfType<ElementAccessExpressionSyntax>().ToList());
}
private static void VerifyIndexCall(IMethodSymbol symbol, string methodName, string containingTypeName)
{
Assert.NotNull(symbol);
Assert.Equal(methodName, symbol.Name);
Assert.Equal(2, symbol.Parameters.Length);
Assert.Equal(containingTypeName, symbol.ContainingType.Name);
}
[Fact]
public void ExpressionTreePatternIndexAndRange()
{
var src = @"
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
struct S
{
public int Length => 0;
public S Slice(int start, int length) => default;
}
class Program
{
static void Main()
{
Expression<Func<int[], int>> e = (int[] a) => a[new Index(0, true)]; // 1
Expression<Func<List<int>, int>> e2 = (List<int> a) => a[new Index(0, true)]; // 2
Expression<Func<int[], int[]>> e3 = (int[] a) => a[new Range(0, 1)]; // 3
Expression<Func<S, S>> e4 = (S s) => s[new Range(0, 1)]; // 4
}
}";
var comp = CreateCompilationWithIndexAndRange(
new[] { src, TestSources.GetSubArray, });
comp.VerifyEmitDiagnostics(
// (16,55): error CS8790: An expression tree may not contain a pattern System.Index or System.Range indexer access
// Expression<Func<int[], int>> e = (int[] a) => a[new Index(0, true)]; // 1
Diagnostic(ErrorCode.ERR_ExpressionTreeContainsPatternIndexOrRangeIndexer, "a[new Index(0, true)]").WithLocation(16, 55),
// (17,64): error CS8790: An expression tree may not contain a pattern System.Index or System.Range indexer access
// Expression<Func<List<int>, int>> e2 = (List<int> a) => a[new Index(0, true)]; // 2
Diagnostic(ErrorCode.ERR_ExpressionTreeContainsPatternIndexOrRangeIndexer, "a[new Index(0, true)]").WithLocation(17, 64),
// (19,58): error CS8790: An expression tree may not contain a pattern System.Index or System.Range indexer access
// Expression<Func<int[], int[]>> e3 = (int[] a) => a[new Range(0, 1)]; // 3
Diagnostic(ErrorCode.ERR_ExpressionTreeContainsPatternIndexOrRangeIndexer, "a[new Range(0, 1)]").WithLocation(19, 58),
// (20,46): error CS8790: An expression tree may not contain a pattern System.Index or System.Range indexer access
// Expression<Func<S, S>> e4 = (S s) => s[new Range(0, 1)]; // 4
Diagnostic(ErrorCode.ERR_ExpressionTreeContainsPatternIndexOrRangeIndexer, "s[new Range(0, 1)]").WithLocation(20, 46)
);
}
[Fact]
public void ExpressionTreeFromEndIndexAndRange()
{
var src = @"
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
class Program
{
static void Main()
{
Expression<Func<Index>> e = () => ^1;
Expression<Func<Range>> e2 = () => 1..2;
}
}";
var comp = CreateCompilationWithIndexAndRange(src);
comp.VerifyEmitDiagnostics(
// (10,43): error CS8791: An expression tree may not contain a from-end index ('^') expression.
// Expression<Func<Index>> e = () => ^1;
Diagnostic(ErrorCode.ERR_ExpressionTreeContainsFromEndIndexExpression, "^1").WithLocation(10, 43),
// (11,44): error CS8792: An expression tree may not contain a range ('..') expression.
// Expression<Func<Range>> e2 = () => 1..2;
Diagnostic(ErrorCode.ERR_ExpressionTreeContainsRangeExpression, "1..2").WithLocation(11, 44)
);
}
[Fact]
public void PatternIndexArray()
{
var src = @"
class C
{
static int M1(int[] arr) => arr[^1];
static char M2(string s) => s[^1];
}
";
var verifier = CompileAndVerifyWithIndexAndRange(src);
// Code gen for the following two should look basically
// the same, except that string will use Length/indexer
// and array will use ldlen/ldelem, and string may have
// more temporaries
verifier.VerifyIL("C.M1", @"
{
// Code size 8 (0x8)
.maxstack 3
IL_0000: ldarg.0
IL_0001: dup
IL_0002: ldlen
IL_0003: conv.i4
IL_0004: ldc.i4.1
IL_0005: sub
IL_0006: ldelem.i4
IL_0007: ret
}");
verifier.VerifyIL("C.M2", @"
{
// Code size 17 (0x11)
.maxstack 3
.locals init (int V_0)
IL_0000: ldarg.0
IL_0001: dup
IL_0002: callvirt ""int string.Length.get""
IL_0007: ldc.i4.1
IL_0008: sub
IL_0009: stloc.0
IL_000a: ldloc.0
IL_000b: callvirt ""char string.this[int].get""
IL_0010: ret
}");
}
[Fact]
[WorkItem(37789, "https://github.com/dotnet/roslyn/issues/37789")]
public void PatternIndexAndRangeCompoundOperatorRefIndexer()
{
var src = @"
using System;
class C
{
static void Main(string[] args)
{
var span = new Span<byte>(new byte[2]);
Console.WriteLine(span[1]);
span[^1] += 1;
Console.WriteLine(span[1]);
}
}
";
var comp = CreateCompilationWithIndexAndRangeAndSpan(src, TestOptions.ReleaseExe);
var verifier = CompileAndVerify(comp, expectedOutput: @"0
1");
verifier.VerifyIL("C.Main", @"
{
// Code size 65 (0x41)
.maxstack 3
.locals init (System.Span<byte> V_0, //span
int V_1)
IL_0000: ldloca.s V_0
IL_0002: ldc.i4.2
IL_0003: newarr ""byte""
IL_0008: call ""System.Span<byte>..ctor(byte[])""
IL_000d: ldloca.s V_0
IL_000f: ldc.i4.1
IL_0010: call ""ref byte System.Span<byte>.this[int].get""
IL_0015: ldind.u1
IL_0016: call ""void System.Console.WriteLine(int)""
IL_001b: ldloca.s V_0
IL_001d: dup
IL_001e: call ""int System.Span<byte>.Length.get""
IL_0023: ldc.i4.1
IL_0024: sub
IL_0025: stloc.1
IL_0026: ldloc.1
IL_0027: call ""ref byte System.Span<byte>.this[int].get""
IL_002c: dup
IL_002d: ldind.u1
IL_002e: ldc.i4.1
IL_002f: add
IL_0030: conv.u1
IL_0031: stind.i1
IL_0032: ldloca.s V_0
IL_0034: ldc.i4.1
IL_0035: call ""ref byte System.Span<byte>.this[int].get""
IL_003a: ldind.u1
IL_003b: call ""void System.Console.WriteLine(int)""
IL_0040: ret
}");
}
[Fact]
[WorkItem(37789, "https://github.com/dotnet/roslyn/issues/37789")]
public void PatternIndexCompoundOperator()
{
var src = @"
using System;
struct S
{
private readonly int[] _array;
private int _counter;
public S(int[] a)
{
_array = a;
_counter = 0;
}
public int Length
{
get
{
Console.WriteLine(""Length "" + _counter++);
return _array.Length;
}
}
public int this[int index]
{
get
{
Console.WriteLine(""Get "" + _counter++);
return _array[index];
}
set
{
Console.WriteLine(""Set "" + _counter++);
_array[index] = value;
}
}
}
class C
{
static void Main(string[] args)
{
var array = new int[2];
Console.WriteLine(array[1]);
var s = new S(array);
s[^1] += 5;
Console.WriteLine(array[1]);
}
}
";
var comp = CreateCompilationWithIndexAndRangeAndSpan(src, TestOptions.ReleaseExe);
var verifier = CompileAndVerify(comp, expectedOutput: @"0
Length 0
Get 1
Set 2
5");
verifier.VerifyIL("C.Main", @"
{
// Code size 65 (0x41)
.maxstack 4
.locals init (int[] V_0, //array
S V_1, //s
S& V_2,
S& V_3,
int V_4)
IL_0000: ldc.i4.2
IL_0001: newarr ""int""
IL_0006: stloc.0
IL_0007: ldloc.0
IL_0008: ldc.i4.1
IL_0009: ldelem.i4
IL_000a: call ""void System.Console.WriteLine(int)""
IL_000f: ldloca.s V_1
IL_0011: ldloc.0
IL_0012: call ""S..ctor(int[])""
IL_0017: ldloca.s V_1
IL_0019: stloc.2
IL_001a: ldloc.2
IL_001b: call ""int S.Length.get""
IL_0020: ldc.i4.1
IL_0021: sub
IL_0022: ldloc.2
IL_0023: stloc.3
IL_0024: stloc.s V_4
IL_0026: ldloc.3
IL_0027: ldloc.s V_4
IL_0029: ldloc.3
IL_002a: ldloc.s V_4
IL_002c: call ""int S.this[int].get""
IL_0031: ldc.i4.5
IL_0032: add
IL_0033: call ""void S.this[int].set""
IL_0038: ldloc.0
IL_0039: ldc.i4.1
IL_003a: ldelem.i4
IL_003b: call ""void System.Console.WriteLine(int)""
IL_0040: ret
}");
}
[Fact]
[WorkItem(37789, "https://github.com/dotnet/roslyn/issues/37789")]
public void PatternRangeCompoundOperator()
{
var src = @"
using System;
struct S
{
private readonly int[] _array;
private int _counter;
public S(int[] a)
{
_array = a;
_counter = 0;
}
public int Length
{
get
{
Console.WriteLine(""Length "" + _counter++);
return _array.Length;
}
}
public ref int Slice(int start, int length)
{
Console.WriteLine(""Slice "" + _counter++);
return ref _array[start];
}
}
class C
{
static void Main(string[] args)
{
var array = new int[2];
Console.WriteLine(array[1]);
var s = new S(array);
s[1..] += 5;
Console.WriteLine(array[1]);
}
}
";
var comp = CreateCompilationWithIndexAndRangeAndSpan(src, TestOptions.ReleaseExe);
var verifier = CompileAndVerify(comp, expectedOutput: @"0
Length 0
Slice 1
5");
verifier.VerifyIL("C.Main", @"
{
// Code size 57 (0x39)
.maxstack 3
.locals init (int[] V_0, //array
S V_1,
int V_2,
int V_3)
IL_0000: ldc.i4.2
IL_0001: newarr ""int""
IL_0006: stloc.0
IL_0007: ldloc.0
IL_0008: ldc.i4.1
IL_0009: ldelem.i4
IL_000a: call ""void System.Console.WriteLine(int)""
IL_000f: ldloc.0
IL_0010: newobj ""S..ctor(int[])""
IL_0015: stloc.1
IL_0016: ldloca.s V_1
IL_0018: call ""int S.Length.get""
IL_001d: ldc.i4.1
IL_001e: stloc.2
IL_001f: ldloc.2
IL_0020: sub
IL_0021: stloc.3
IL_0022: ldloca.s V_1
IL_0024: ldloc.2
IL_0025: ldloc.3
IL_0026: call ""ref int S.Slice(int, int)""
IL_002b: dup
IL_002c: ldind.i4
IL_002d: ldc.i4.5
IL_002e: add
IL_002f: stind.i4
IL_0030: ldloc.0
IL_0031: ldc.i4.1
IL_0032: ldelem.i4
IL_0033: call ""void System.Console.WriteLine(int)""
IL_0038: ret
}");
}
[Fact]
[WorkItem(37789, "https://github.com/dotnet/roslyn/issues/37789")]
public void PatternindexNullableCoalescingAssignmentClass()
{
var src = @"
using System;
struct S
{
private readonly string[] _array;
private int _counter;
public S(string[] a)
{
_array = a;
_counter = 0;
}
public int Length
{
get
{
Console.WriteLine(""Length "" + _counter++);
return _array.Length;
}
}
public string this[int index]
{
get
{
Console.WriteLine(""Get "" + _counter++);
return _array[index];
}
set
{
Console.WriteLine(""Set "" + _counter++);
_array[index] = value;
}
}
}
class C
{
static void Main(string[] args)
{
var array = new string[2];
array[0] = ""abc"";
Console.WriteLine(array[1] is null);
var s = new S(array);
s[^1] ??= s[^2];
s[^1] ??= s[^2];
Console.WriteLine(s[^1] ??= ""def"");
Console.WriteLine(array[1]);
}
}";
var comp = CreateCompilationWithIndex(src, options: TestOptions.ReleaseExe);
var verifier = CompileAndVerify(comp, expectedOutput: @"
True
Length 0
Get 1
Length 2
Get 3
Set 4
Length 5
Get 6
Length 7
Get 8
abc
abc");
verifier.VerifyIL("C.Main", @"
{
// Code size 203 (0xcb)
.maxstack 5
.locals init (string[] V_0, //array
S V_1, //s
S& V_2,
S& V_3,
int V_4,
string V_5,
int V_6)
IL_0000: ldc.i4.2
IL_0001: newarr ""string""
IL_0006: stloc.0
IL_0007: ldloc.0
IL_0008: ldc.i4.0
IL_0009: ldstr ""abc""
IL_000e: stelem.ref
IL_000f: ldloc.0
IL_0010: ldc.i4.1
IL_0011: ldelem.ref
IL_0012: ldnull
IL_0013: ceq
IL_0015: call ""void System.Console.WriteLine(bool)""
IL_001a: ldloca.s V_1
IL_001c: ldloc.0
IL_001d: call ""S..ctor(string[])""
IL_0022: ldloca.s V_1
IL_0024: stloc.2
IL_0025: ldloc.2
IL_0026: call ""int S.Length.get""
IL_002b: ldc.i4.1
IL_002c: sub
IL_002d: ldloc.2
IL_002e: stloc.3
IL_002f: stloc.s V_4
IL_0031: ldloc.3
IL_0032: ldloc.s V_4
IL_0034: call ""string S.this[int].get""
IL_0039: brtrue.s IL_0059
IL_003b: ldloc.3
IL_003c: ldloc.s V_4
IL_003e: ldloca.s V_1
IL_0040: dup
IL_0041: call ""int S.Length.get""
IL_0046: ldc.i4.2
IL_0047: sub
IL_0048: stloc.s V_6
IL_004a: ldloc.s V_6
IL_004c: call ""string S.this[int].get""
IL_0051: dup
IL_0052: stloc.s V_5
IL_0054: call ""void S.this[int].set""
IL_0059: ldloca.s V_1
IL_005b: stloc.3
IL_005c: ldloc.3
IL_005d: call ""int S.Length.get""
IL_0062: ldc.i4.1
IL_0063: sub
IL_0064: ldloc.3
IL_0065: stloc.2
IL_0066: stloc.s V_4
IL_0068: ldloc.2
IL_0069: ldloc.s V_4
IL_006b: call ""string S.this[int].get""
IL_0070: brtrue.s IL_0090
IL_0072: ldloc.2
IL_0073: ldloc.s V_4
IL_0075: ldloca.s V_1
IL_0077: dup
IL_0078: call ""int S.Length.get""
IL_007d: ldc.i4.2
IL_007e: sub
IL_007f: stloc.s V_6
IL_0081: ldloc.s V_6
IL_0083: call ""string S.this[int].get""
IL_0088: dup
IL_0089: stloc.s V_5
IL_008b: call ""void S.this[int].set""
IL_0090: ldloca.s V_1
IL_0092: stloc.2
IL_0093: ldloc.2
IL_0094: call ""int S.Length.get""
IL_0099: ldc.i4.1
IL_009a: sub
IL_009b: ldloc.2
IL_009c: stloc.3
IL_009d: stloc.s V_4
IL_009f: ldloc.3
IL_00a0: ldloc.s V_4
IL_00a2: call ""string S.this[int].get""
IL_00a7: dup
IL_00a8: brtrue.s IL_00bd
IL_00aa: pop
IL_00ab: ldloc.3
IL_00ac: ldloc.s V_4
IL_00ae: ldstr ""def""
IL_00b3: dup
IL_00b4: stloc.s V_5
IL_00b6: call ""void S.this[int].set""
IL_00bb: ldloc.s V_5
IL_00bd: call ""void System.Console.WriteLine(string)""
IL_00c2: ldloc.0
IL_00c3: ldc.i4.1
IL_00c4: ldelem.ref
IL_00c5: call ""void System.Console.WriteLine(string)""
IL_00ca: ret
}");
}
[Fact]
[WorkItem(37789, "https://github.com/dotnet/roslyn/issues/37789")]
public void PatternindexNullableCoalescingAssignmentStruct()
{
var src = @"
using System;
struct S
{
private readonly int?[] _array;
private int _counter;
public S(int?[] a)
{
_array = a;
_counter = 0;
}
public int Length
{
get
{
Console.WriteLine(""Length "" + _counter++);
return _array.Length;
}
}
public int? this[int index]
{
get
{
Console.WriteLine(""Get "" + _counter++);
return _array[index];
}
set
{
Console.WriteLine(""Set "" + _counter++);
_array[index] = value;
}
}
}
class C
{
static void Main(string[] args)
{
var array = new int?[2];
array[0] = 1;
Console.WriteLine(array[1] is null);
var s = new S(array);
s[^1] ??= s[^2];
s[^1] ??= s[^2];
Console.WriteLine(s[^1] ??= 0);
Console.WriteLine(array[1]);
}
}";
var comp = CreateCompilationWithIndex(src, options: TestOptions.ReleaseExe);
var verifier = CompileAndVerify(comp, expectedOutput: @"
True
Length 0
Get 1
Length 2
Get 3
Set 4
Length 5
Get 6
Length 7
Get 8
1
1");
verifier.VerifyIL("C.Main", @"
{
// Code size 279 (0x117)
.maxstack 5
.locals init (int?[] V_0, //array
S V_1, //s
int? V_2,
S& V_3,
S& V_4,
int V_5,
int? V_6,
int V_7)
IL_0000: ldc.i4.2
IL_0001: newarr ""int?""
IL_0006: stloc.0
IL_0007: ldloc.0
IL_0008: ldc.i4.0
IL_0009: ldc.i4.1
IL_000a: newobj ""int?..ctor(int)""
IL_000f: stelem ""int?""
IL_0014: ldloc.0
IL_0015: ldc.i4.1
IL_0016: ldelem ""int?""
IL_001b: stloc.2
IL_001c: ldloca.s V_2
IL_001e: call ""bool int?.HasValue.get""
IL_0023: ldc.i4.0
IL_0024: ceq
IL_0026: call ""void System.Console.WriteLine(bool)""
IL_002b: ldloca.s V_1
IL_002d: ldloc.0
IL_002e: call ""S..ctor(int?[])""
IL_0033: ldloca.s V_1
IL_0035: stloc.3
IL_0036: ldloc.3
IL_0037: call ""int S.Length.get""
IL_003c: ldc.i4.1
IL_003d: sub
IL_003e: ldloc.3
IL_003f: stloc.s V_4
IL_0041: stloc.s V_5
IL_0043: ldloc.s V_4
IL_0045: ldloc.s V_5
IL_0047: call ""int? S.this[int].get""
IL_004c: stloc.2
IL_004d: ldloca.s V_2
IL_004f: call ""bool int?.HasValue.get""
IL_0054: brtrue.s IL_0075
IL_0056: ldloc.s V_4
IL_0058: ldloc.s V_5
IL_005a: ldloca.s V_1
IL_005c: dup
IL_005d: call ""int S.Length.get""
IL_0062: ldc.i4.2
IL_0063: sub
IL_0064: stloc.s V_7
IL_0066: ldloc.s V_7
IL_0068: call ""int? S.this[int].get""
IL_006d: dup
IL_006e: stloc.s V_6
IL_0070: call ""void S.this[int].set""
IL_0075: ldloca.s V_1
IL_0077: stloc.s V_4
IL_0079: ldloc.s V_4
IL_007b: call ""int S.Length.get""
IL_0080: ldc.i4.1
IL_0081: sub
IL_0082: ldloc.s V_4
IL_0084: stloc.3
IL_0085: stloc.s V_5
IL_0087: ldloc.3
IL_0088: ldloc.s V_5
IL_008a: call ""int? S.this[int].get""
IL_008f: stloc.2
IL_0090: ldloca.s V_2
IL_0092: call ""bool int?.HasValue.get""
IL_0097: brtrue.s IL_00b7
IL_0099: ldloc.3
IL_009a: ldloc.s V_5
IL_009c: ldloca.s V_1
IL_009e: dup
IL_009f: call ""int S.Length.get""
IL_00a4: ldc.i4.2
IL_00a5: sub
IL_00a6: stloc.s V_7
IL_00a8: ldloc.s V_7
IL_00aa: call ""int? S.this[int].get""
IL_00af: dup
IL_00b0: stloc.s V_6
IL_00b2: call ""void S.this[int].set""
IL_00b7: ldloca.s V_1
IL_00b9: stloc.3
IL_00ba: ldloc.3
IL_00bb: call ""int S.Length.get""
IL_00c0: ldc.i4.1
IL_00c1: sub
IL_00c2: ldloc.3
IL_00c3: stloc.s V_4
IL_00c5: stloc.s V_5
IL_00c7: ldloc.s V_4
IL_00c9: ldloc.s V_5
IL_00cb: call ""int? S.this[int].get""
IL_00d0: stloc.2
IL_00d1: ldloca.s V_2
IL_00d3: call ""int int?.GetValueOrDefault()""
IL_00d8: stloc.s V_7
IL_00da: ldloca.s V_2
IL_00dc: call ""bool int?.HasValue.get""
IL_00e1: brtrue.s IL_00fe
IL_00e3: ldc.i4.0
IL_00e4: stloc.s V_7
IL_00e6: ldloc.s V_4
IL_00e8: ldloc.s V_5
IL_00ea: ldloca.s V_6
IL_00ec: ldloc.s V_7
IL_00ee: call ""int?..ctor(int)""
IL_00f3: ldloc.s V_6
IL_00f5: call ""void S.this[int].set""
IL_00fa: ldloc.s V_7
IL_00fc: br.s IL_0100
IL_00fe: ldloc.s V_7
IL_0100: call ""void System.Console.WriteLine(int)""
IL_0105: ldloc.0
IL_0106: ldc.i4.1
IL_0107: ldelem ""int?""
IL_010c: box ""int?""
IL_0111: call ""void System.Console.WriteLine(object)""
IL_0116: ret
}");
}
[Fact]
public void StringAndSpanPatternRangeOpenEnd()
{
var src = @"
using System;
class C
{
public static void Main()
{
string s = ""abcd"";
Console.WriteLine(s[..]);
ReadOnlySpan<char> span = s;
foreach (var c in span[..])
{
Console.Write(c);
}
}
}";
var comp = CreateCompilationWithIndexAndRangeAndSpan(src, TestOptions.ReleaseExe);
var verifier = CompileAndVerify(comp, expectedOutput: @"
abcd
abcd");
verifier.VerifyIL("C.Main", @"
{
// Code size 86 (0x56)
.maxstack 4
.locals init (int V_0,
System.ReadOnlySpan<char> V_1,
System.ReadOnlySpan<char> V_2,
int V_3)
IL_0000: ldstr ""abcd""
IL_0005: dup
IL_0006: dup
IL_0007: callvirt ""int string.Length.get""
IL_000c: ldc.i4.0
IL_000d: sub
IL_000e: stloc.0
IL_000f: ldc.i4.0
IL_0010: ldloc.0
IL_0011: callvirt ""string string.Substring(int, int)""
IL_0016: call ""void System.Console.WriteLine(string)""
IL_001b: call ""System.ReadOnlySpan<char> System.ReadOnlySpan<char>.op_Implicit(string)""
IL_0020: stloc.2
IL_0021: ldloca.s V_2
IL_0023: call ""int System.ReadOnlySpan<char>.Length.get""
IL_0028: ldc.i4.0
IL_0029: sub
IL_002a: stloc.3
IL_002b: ldloca.s V_2
IL_002d: ldc.i4.0
IL_002e: ldloc.3
IL_002f: call ""System.ReadOnlySpan<char> System.ReadOnlySpan<char>.Slice(int, int)""
IL_0034: stloc.1
IL_0035: ldc.i4.0
IL_0036: stloc.0
IL_0037: br.s IL_004b
IL_0039: ldloca.s V_1
IL_003b: ldloc.0
IL_003c: call ""ref readonly char System.ReadOnlySpan<char>.this[int].get""
IL_0041: ldind.u2
IL_0042: call ""void System.Console.Write(char)""
IL_0047: ldloc.0
IL_0048: ldc.i4.1
IL_0049: add
IL_004a: stloc.0
IL_004b: ldloc.0
IL_004c: ldloca.s V_1
IL_004e: call ""int System.ReadOnlySpan<char>.Length.get""
IL_0053: blt.s IL_0039
IL_0055: ret
}");
var (model, elementAccesses) = GetModelAndAccesses(comp);
var info = model.GetSymbolInfo(elementAccesses[0]);
var substringCall = (IMethodSymbol)info.Symbol;
info = model.GetSymbolInfo(elementAccesses[1]);
var sliceCall = (IMethodSymbol)info.Symbol;
VerifyIndexCall(substringCall, "Substring", "String");
VerifyIndexCall(sliceCall, "Slice", "ReadOnlySpan");
}
[Fact]
public void SpanTaskReturn()
{
var src = @"
using System;
using System.Threading.Tasks;
class C
{
static void Throws(Action a)
{
try
{
a();
}
catch
{
Console.WriteLine(""throws"");
}
}
public static void Main()
{
string s = ""abcd"";
Throws(() => { var span = new Span<char>(s.ToCharArray())[0..10]; });
}
}";
var comp = CreateCompilationWithIndexAndRangeAndSpan(src, TestOptions.ReleaseExe);
CompileAndVerify(comp, expectedOutput: "throws");
var (model, accesses) = GetModelAndAccesses(comp);
VerifyIndexCall((IMethodSymbol)model.GetSymbolInfo(accesses[0]).Symbol, "Slice", "Span");
}
[Fact]
public void PatternIndexSetter()
{
var src = @"
using System;
struct S
{
public int F;
public int Length => 1;
public int this[int i]
{
get => F;
set { F = value; }
}
}
class C
{
static void Main()
{
S s = new S();
s.F = 0;
Console.WriteLine(s[^1]);
s[^1] = 2;
Console.WriteLine(s[^1]);
Console.WriteLine(s.F);
}
}";
var comp = CreateCompilationWithIndexAndRange(src, TestOptions.ReleaseExe);
var verifier = CompileAndVerify(comp, expectedOutput: @"0
2
2");
verifier.VerifyIL("C.Main", @"
{
// Code size 90 (0x5a)
.maxstack 3
.locals init (S V_0, //s
int V_1)
IL_0000: ldloca.s V_0
IL_0002: initobj ""S""
IL_0008: ldloca.s V_0
IL_000a: ldc.i4.0
IL_000b: stfld ""int S.F""
IL_0010: ldloca.s V_0
IL_0012: dup
IL_0013: call ""int S.Length.get""
IL_0018: ldc.i4.1
IL_0019: sub
IL_001a: stloc.1
IL_001b: ldloc.1
IL_001c: call ""int S.this[int].get""
IL_0021: call ""void System.Console.WriteLine(int)""
IL_0026: ldloca.s V_0
IL_0028: dup
IL_0029: call ""int S.Length.get""
IL_002e: ldc.i4.1
IL_002f: sub
IL_0030: stloc.1
IL_0031: ldloc.1
IL_0032: ldc.i4.2
IL_0033: call ""void S.this[int].set""
IL_0038: ldloca.s V_0
IL_003a: dup
IL_003b: call ""int S.Length.get""
IL_0040: ldc.i4.1
IL_0041: sub
IL_0042: stloc.1
IL_0043: ldloc.1
IL_0044: call ""int S.this[int].get""
IL_0049: call ""void System.Console.WriteLine(int)""
IL_004e: ldloc.0
IL_004f: ldfld ""int S.F""
IL_0054: call ""void System.Console.WriteLine(int)""
IL_0059: ret
}");
var (model, accesses) = GetModelAndAccesses(comp);
foreach (var access in accesses)
{
var info = model.GetSymbolInfo(access);
var property = (IPropertySymbol)info.Symbol;
Assert.NotNull(property);
Assert.True(property.IsIndexer);
Assert.Equal(SpecialType.System_Int32, property.Parameters[0].Type.SpecialType);
Assert.Equal("S", property.ContainingType.Name);
}
}
[Fact]
public void PatternIndexerRefReturn()
{
var comp = CreateCompilationWithIndexAndRangeAndSpan(@"
using System;
class C
{
static void Main()
{
Span<int> s = new int[] { 2, 4, 5, 6 };
Console.WriteLine(s[^2]);
ref int x = ref s[^2];
Console.WriteLine(x);
s[^2] = 9;
Console.WriteLine(s[^2]);
Console.WriteLine(x);
}
}", TestOptions.ReleaseExe);
var verifier = CompileAndVerify(comp, expectedOutput: @"5
5
9
9");
verifier.VerifyIL("C.Main", @"
{
// Code size 120 (0x78)
.maxstack 4
.locals init (System.Span<int> V_0, //s
int V_1,
int V_2)
IL_0000: ldc.i4.4
IL_0001: newarr ""int""
IL_0006: dup
IL_0007: ldtoken ""<PrivateImplementationDetails>.__StaticArrayInitTypeSize=16 <PrivateImplementationDetails>.B35A10C764778866E34111165FC69660C6171DF0CB0141E39FA0217EF7A97646""
IL_000c: call ""void System.Runtime.CompilerServices.RuntimeHelpers.InitializeArray(System.Array, System.RuntimeFieldHandle)""
IL_0011: call ""System.Span<int> System.Span<int>.op_Implicit(int[])""
IL_0016: stloc.0
IL_0017: ldloca.s V_0
IL_0019: dup
IL_001a: call ""int System.Span<int>.Length.get""
IL_001f: ldc.i4.2
IL_0020: sub
IL_0021: stloc.1
IL_0022: ldloc.1
IL_0023: call ""ref int System.Span<int>.this[int].get""
IL_0028: ldind.i4
IL_0029: call ""void System.Console.WriteLine(int)""
IL_002e: ldloca.s V_0
IL_0030: dup
IL_0031: call ""int System.Span<int>.Length.get""
IL_0036: ldc.i4.2
IL_0037: sub
IL_0038: stloc.1
IL_0039: ldloc.1
IL_003a: call ""ref int System.Span<int>.this[int].get""
IL_003f: dup
IL_0040: ldind.i4
IL_0041: call ""void System.Console.WriteLine(int)""
IL_0046: ldloca.s V_0
IL_0048: dup
IL_0049: call ""int System.Span<int>.Length.get""
IL_004e: ldc.i4.2
IL_004f: sub
IL_0050: stloc.2
IL_0051: ldloc.2
IL_0052: call ""ref int System.Span<int>.this[int].get""
IL_0057: ldc.i4.s 9
IL_0059: stind.i4
IL_005a: ldloca.s V_0
IL_005c: dup
IL_005d: call ""int System.Span<int>.Length.get""
IL_0062: ldc.i4.2
IL_0063: sub
IL_0064: stloc.2
IL_0065: ldloc.2
IL_0066: call ""ref int System.Span<int>.this[int].get""
IL_006b: ldind.i4
IL_006c: call ""void System.Console.WriteLine(int)""
IL_0071: ldind.i4
IL_0072: call ""void System.Console.WriteLine(int)""
IL_0077: ret
}");
}
[Fact]
public void PatternIndexAndRangeSpanChar()
{
var comp = CreateCompilationWithIndexAndRangeAndSpan(@"
using System;
class C
{
static void Main()
{
ReadOnlySpan<char> s = ""abcdefg"";
Console.WriteLine(s[^2]);
var index = ^1;
Console.WriteLine(s[index]);
s = s[^2..];
Console.WriteLine(s[0]);
Console.WriteLine(s[1]);
}
}", TestOptions.ReleaseExe); ;
var verifier = CompileAndVerify(comp, expectedOutput: @"f
g
f
g");
verifier.VerifyIL(@"C.Main", @"
{
// Code size 129 (0x81)
.maxstack 3
.locals init (System.ReadOnlySpan<char> V_0, //s
System.Index V_1, //index
int V_2,
int V_3,
System.ReadOnlySpan<char> V_4)
IL_0000: ldstr ""abcdefg""
IL_0005: call ""System.ReadOnlySpan<char> System.ReadOnlySpan<char>.op_Implicit(string)""
IL_000a: stloc.0
IL_000b: ldloca.s V_0
IL_000d: dup
IL_000e: call ""int System.ReadOnlySpan<char>.Length.get""
IL_0013: ldc.i4.2
IL_0014: sub
IL_0015: stloc.2
IL_0016: ldloc.2
IL_0017: call ""ref readonly char System.ReadOnlySpan<char>.this[int].get""
IL_001c: ldind.u2
IL_001d: call ""void System.Console.WriteLine(char)""
IL_0022: ldloca.s V_1
IL_0024: ldc.i4.1
IL_0025: ldc.i4.1
IL_0026: call ""System.Index..ctor(int, bool)""
IL_002b: ldloca.s V_0
IL_002d: dup
IL_002e: call ""int System.ReadOnlySpan<char>.Length.get""
IL_0033: stloc.2
IL_0034: ldloca.s V_1
IL_0036: ldloc.2
IL_0037: call ""int System.Index.GetOffset(int)""
IL_003c: stloc.3
IL_003d: ldloc.3
IL_003e: call ""ref readonly char System.ReadOnlySpan<char>.this[int].get""
IL_0043: ldind.u2
IL_0044: call ""void System.Console.WriteLine(char)""
IL_0049: ldloc.0
IL_004a: stloc.s V_4
IL_004c: ldloca.s V_4
IL_004e: call ""int System.ReadOnlySpan<char>.Length.get""
IL_0053: dup
IL_0054: ldc.i4.2
IL_0055: sub
IL_0056: stloc.3
IL_0057: ldloc.3
IL_0058: sub
IL_0059: stloc.2
IL_005a: ldloca.s V_4
IL_005c: ldloc.3
IL_005d: ldloc.2
IL_005e: call ""System.ReadOnlySpan<char> System.ReadOnlySpan<char>.Slice(int, int)""
IL_0063: stloc.0
IL_0064: ldloca.s V_0
IL_0066: ldc.i4.0
IL_0067: call ""ref readonly char System.ReadOnlySpan<char>.this[int].get""
IL_006c: ldind.u2
IL_006d: call ""void System.Console.WriteLine(char)""
IL_0072: ldloca.s V_0
IL_0074: ldc.i4.1
IL_0075: call ""ref readonly char System.ReadOnlySpan<char>.this[int].get""
IL_007a: ldind.u2
IL_007b: call ""void System.Console.WriteLine(char)""
IL_0080: ret
}");
}
[Fact]
public void PatternIndexAndRangeSpanInt()
{
var comp = CreateCompilationWithIndexAndRangeAndSpan(@"
using System;
class C
{
static void Main()
{
Span<int> s = new int[] { 2, 4, 5, 6 };
Console.WriteLine(s[^2]);
var index = ^1;
Console.WriteLine(s[index]);
s = s[^2..];
Console.WriteLine(s[0]);
Console.WriteLine(s[1]);
}
}", TestOptions.ReleaseExe);
var verifier = CompileAndVerify(comp, expectedOutput: @"5
6
5
6");
verifier.VerifyIL("C.Main", @"
{
// Code size 141 (0x8d)
.maxstack 3
.locals init (System.Span<int> V_0, //s
System.Index V_1, //index
int V_2,
int V_3,
System.Span<int> V_4)
IL_0000: ldc.i4.4
IL_0001: newarr ""int""
IL_0006: dup
IL_0007: ldtoken ""<PrivateImplementationDetails>.__StaticArrayInitTypeSize=16 <PrivateImplementationDetails>.B35A10C764778866E34111165FC69660C6171DF0CB0141E39FA0217EF7A97646""
IL_000c: call ""void System.Runtime.CompilerServices.RuntimeHelpers.InitializeArray(System.Array, System.RuntimeFieldHandle)""
IL_0011: call ""System.Span<int> System.Span<int>.op_Implicit(int[])""
IL_0016: stloc.0
IL_0017: ldloca.s V_0
IL_0019: dup
IL_001a: call ""int System.Span<int>.Length.get""
IL_001f: ldc.i4.2
IL_0020: sub
IL_0021: stloc.2
IL_0022: ldloc.2
IL_0023: call ""ref int System.Span<int>.this[int].get""
IL_0028: ldind.i4
IL_0029: call ""void System.Console.WriteLine(int)""
IL_002e: ldloca.s V_1
IL_0030: ldc.i4.1
IL_0031: ldc.i4.1
IL_0032: call ""System.Index..ctor(int, bool)""
IL_0037: ldloca.s V_0
IL_0039: dup
IL_003a: call ""int System.Span<int>.Length.get""
IL_003f: stloc.2
IL_0040: ldloca.s V_1
IL_0042: ldloc.2
IL_0043: call ""int System.Index.GetOffset(int)""
IL_0048: stloc.3
IL_0049: ldloc.3
IL_004a: call ""ref int System.Span<int>.this[int].get""
IL_004f: ldind.i4
IL_0050: call ""void System.Console.WriteLine(int)""
IL_0055: ldloc.0
IL_0056: stloc.s V_4
IL_0058: ldloca.s V_4
IL_005a: call ""int System.Span<int>.Length.get""
IL_005f: dup
IL_0060: ldc.i4.2
IL_0061: sub
IL_0062: stloc.3
IL_0063: ldloc.3
IL_0064: sub
IL_0065: stloc.2
IL_0066: ldloca.s V_4
IL_0068: ldloc.3
IL_0069: ldloc.2
IL_006a: call ""System.Span<int> System.Span<int>.Slice(int, int)""
IL_006f: stloc.0
IL_0070: ldloca.s V_0
IL_0072: ldc.i4.0
IL_0073: call ""ref int System.Span<int>.this[int].get""
IL_0078: ldind.i4
IL_0079: call ""void System.Console.WriteLine(int)""
IL_007e: ldloca.s V_0
IL_0080: ldc.i4.1
IL_0081: call ""ref int System.Span<int>.this[int].get""
IL_0086: ldind.i4
IL_0087: call ""void System.Console.WriteLine(int)""
IL_008c: ret
}");
}
[Fact]
public void RealIndexersPreferredToPattern()
{
var src = @"
using System;
class C
{
public int Length => throw null;
public int this[Index i, int j = 0] { get { Console.WriteLine(""Index""); return 0; } }
public int this[int i] { get { Console.WriteLine(""int""); return 0; } }
public int Slice(int i, int j) => throw null;
public int this[Range r, int j = 0] { get { Console.WriteLine(""Range""); return 0; } }
static void Main()
{
var c = new C();
_ = c[0];
_ = c[^0];
_ = c[0..];
}
}";
var verifier = CompileAndVerifyWithIndexAndRange(src, expectedOutput: @"
int
Index
Range");
}
[Fact]
public void PatternIndexList()
{
var src = @"
using System;
using System.Collections.Generic;
class C
{
private static List<int> list = new List<int>() { 2, 4, 5, 6 };
static void Main()
{
Console.WriteLine(list[^2]);
var index = ^1;
Console.WriteLine(list[index]);
}
}";
var verifier = CompileAndVerifyWithIndexAndRange(src, expectedOutput: @"5
6");
verifier.VerifyIL("C.Main", @"
{
// Code size 67 (0x43)
.maxstack 3
.locals init (System.Index V_0, //index
int V_1,
int V_2)
IL_0000: ldsfld ""System.Collections.Generic.List<int> C.list""
IL_0005: dup
IL_0006: callvirt ""int System.Collections.Generic.List<int>.Count.get""
IL_000b: ldc.i4.2
IL_000c: sub
IL_000d: stloc.1
IL_000e: ldloc.1
IL_000f: callvirt ""int System.Collections.Generic.List<int>.this[int].get""
IL_0014: call ""void System.Console.WriteLine(int)""
IL_0019: ldloca.s V_0
IL_001b: ldc.i4.1
IL_001c: ldc.i4.1
IL_001d: call ""System.Index..ctor(int, bool)""
IL_0022: ldsfld ""System.Collections.Generic.List<int> C.list""
IL_0027: dup
IL_0028: callvirt ""int System.Collections.Generic.List<int>.Count.get""
IL_002d: stloc.1
IL_002e: ldloca.s V_0
IL_0030: ldloc.1
IL_0031: call ""int System.Index.GetOffset(int)""
IL_0036: stloc.2
IL_0037: ldloc.2
IL_0038: callvirt ""int System.Collections.Generic.List<int>.this[int].get""
IL_003d: call ""void System.Console.WriteLine(int)""
IL_0042: ret
}");
}
[Theory]
[InlineData("Length")]
[InlineData("Count")]
public void PatternRangeIndexers(string propertyName)
{
var src = @"
using System;
class C
{
private int[] _f = { 2, 4, 5, 6 };
public int " + propertyName + @" => _f.Length;
public int[] Slice(int start, int length) => _f[start..length];
static void Main()
{
var c = new C();
foreach (var x in c[1..])
{
Console.WriteLine(x);
}
foreach (var x in c[..^2])
{
Console.WriteLine(x);
}
}
}";
var verifier = CompileAndVerifyWithIndexAndRange(src, @"
4
5
2
4");
verifier.VerifyIL("C.Main", @"
{
// Code size 95 (0x5f)
.maxstack 3
.locals init (C V_0, //c
int[] V_1,
int V_2,
int V_3,
int V_4)
IL_0000: newobj ""C..ctor()""
IL_0005: stloc.0
IL_0006: ldloc.0
IL_0007: dup
IL_0008: callvirt ""int C." + propertyName + @".get""
IL_000d: ldc.i4.1
IL_000e: stloc.3
IL_000f: ldloc.3
IL_0010: sub
IL_0011: stloc.s V_4
IL_0013: ldloc.3
IL_0014: ldloc.s V_4
IL_0016: callvirt ""int[] C.Slice(int, int)""
IL_001b: stloc.1
IL_001c: ldc.i4.0
IL_001d: stloc.2
IL_001e: br.s IL_002c
IL_0020: ldloc.1
IL_0021: ldloc.2
IL_0022: ldelem.i4
IL_0023: call ""void System.Console.WriteLine(int)""
IL_0028: ldloc.2
IL_0029: ldc.i4.1
IL_002a: add
IL_002b: stloc.2
IL_002c: ldloc.2
IL_002d: ldloc.1
IL_002e: ldlen
IL_002f: conv.i4
IL_0030: blt.s IL_0020
IL_0032: ldloc.0
IL_0033: dup
IL_0034: callvirt ""int C." + propertyName + @".get""
IL_0039: ldc.i4.2
IL_003a: sub
IL_003b: ldc.i4.0
IL_003c: sub
IL_003d: stloc.s V_4
IL_003f: ldc.i4.0
IL_0040: ldloc.s V_4
IL_0042: callvirt ""int[] C.Slice(int, int)""
IL_0047: stloc.1
IL_0048: ldc.i4.0
IL_0049: stloc.2
IL_004a: br.s IL_0058
IL_004c: ldloc.1
IL_004d: ldloc.2
IL_004e: ldelem.i4
IL_004f: call ""void System.Console.WriteLine(int)""
IL_0054: ldloc.2
IL_0055: ldc.i4.1
IL_0056: add
IL_0057: stloc.2
IL_0058: ldloc.2
IL_0059: ldloc.1
IL_005a: ldlen
IL_005b: conv.i4
IL_005c: blt.s IL_004c
IL_005e: ret
}
");
}
[Theory]
[InlineData("Length")]
[InlineData("Count")]
public void PatternIndexIndexers(string propertyName)
{
var src = @"
using System;
class C
{
private int[] _f = { 2, 4, 5, 6 };
public int " + propertyName + @" => _f.Length;
public int this[int x] => _f[x];
static void Main()
{
var c = new C();
Console.WriteLine(c[0]);
Console.WriteLine(c[^1]);
}
}";
var verifier = CompileAndVerifyWithIndexAndRange(src, @"
2
6");
verifier.VerifyIL("C.Main", @"
{
// Code size 38 (0x26)
.maxstack 3
.locals init (int V_0)
IL_0000: newobj ""C..ctor()""
IL_0005: dup
IL_0006: ldc.i4.0
IL_0007: callvirt ""int C.this[int].get""
IL_000c: call ""void System.Console.WriteLine(int)""
IL_0011: dup
IL_0012: callvirt ""int C." + propertyName + @".get""
IL_0017: ldc.i4.1
IL_0018: sub
IL_0019: stloc.0
IL_001a: ldloc.0
IL_001b: callvirt ""int C.this[int].get""
IL_0020: call ""void System.Console.WriteLine(int)""
IL_0025: ret
}");
}
[Fact]
public void RefToArrayIndexIndexer()
{
var verifier = CompileAndVerifyWithIndexAndRange(@"
using System;
class C
{
public static void Main()
{
int[] x = { 0, 1, 2, 3 };
M(x);
}
static void M(int[] x)
{
ref int r1 = ref x[2];
Console.WriteLine(r1);
ref int r2 = ref x[^2];
Console.WriteLine(r2);
r2 = 7;
Console.WriteLine(r1);
Console.WriteLine(r2);
r1 = 5;
Console.WriteLine(r1);
Console.WriteLine(r2);
}
}", expectedOutput: @"2
2
7
7
5
5");
verifier.VerifyIL("C.M", @"
{
// Code size 67 (0x43)
.maxstack 4
.locals init (int& V_0) //r2
IL_0000: ldarg.0
IL_0001: ldc.i4.2
IL_0002: ldelema ""int""
IL_0007: dup
IL_0008: ldind.i4
IL_0009: call ""void System.Console.WriteLine(int)""
IL_000e: ldarg.0
IL_000f: dup
IL_0010: ldlen
IL_0011: conv.i4
IL_0012: ldc.i4.2
IL_0013: sub
IL_0014: ldelema ""int""
IL_0019: stloc.0
IL_001a: ldloc.0
IL_001b: ldind.i4
IL_001c: call ""void System.Console.WriteLine(int)""
IL_0021: ldloc.0
IL_0022: ldc.i4.7
IL_0023: stind.i4
IL_0024: dup
IL_0025: ldind.i4
IL_0026: call ""void System.Console.WriteLine(int)""
IL_002b: ldloc.0
IL_002c: ldind.i4
IL_002d: call ""void System.Console.WriteLine(int)""
IL_0032: dup
IL_0033: ldc.i4.5
IL_0034: stind.i4
IL_0035: ldind.i4
IL_0036: call ""void System.Console.WriteLine(int)""
IL_003b: ldloc.0
IL_003c: ldind.i4
IL_003d: call ""void System.Console.WriteLine(int)""
IL_0042: ret
}");
}
[Fact]
public void RangeIndexerStringIsFromEndStart()
{
CompileAndVerifyWithIndexAndRange(@"
using System;
class C
{
public static void Main()
{
string s = ""abcdef"";
Console.WriteLine(s[^2..]);
}
}", expectedOutput: "ef");
}
[Fact]
public void FakeRangeIndexerStringBothIsFromEnd()
{
CompileAndVerifyWithIndexAndRange(@"
using System;
class C
{
public static void Main()
{
string s = ""abcdef"";
Console.WriteLine(s[^4..^1]);
}
}", expectedOutput: "cde");
}
[Fact]
public void IndexIndexerStringTwoArgs()
{
var comp = CreateCompilationWithIndexAndRange(@"
using System;
class C
{
public static void Main()
{
var s = ""abcdef"";
M(s);
}
public static void M(string s)
{
Console.WriteLine(s[new Index(1, false)]);
Console.WriteLine(s[new Index(1, false), ^1]);
}
}");
comp.VerifyDiagnostics(
// (13,27): error CS1501: No overload for method 'this' takes 2 arguments
// Console.WriteLine(s[new Index(1, false), ^1]);
Diagnostic(ErrorCode.ERR_BadArgCount, "s[new Index(1, false), ^1]").WithArguments("this", "2").WithLocation(13, 27));
}
[Fact]
public void IndexIndexerArrayTwoArgs()
{
var comp = CreateCompilationWithIndex(@"
using System;
class C
{
public static void Main()
{
var x = new int[1,1];
M(x);
}
public static void M(int[,] s)
{
Console.WriteLine(s[new Index(1, false), ^1]);
}
}");
comp.VerifyDiagnostics(
// (12,27): error CS0029: Cannot implicitly convert type 'System.Index' to 'int'
// Console.WriteLine(s[new Index(1, false), ^1]);
Diagnostic(ErrorCode.ERR_NoImplicitConv, "new Index(1, false)").WithArguments("System.Index", "int").WithLocation(12, 29),
// (12,27): error CS0029: Cannot implicitly convert type 'System.Index' to 'int'
// Console.WriteLine(s[new Index(1, false), ^1]);
Diagnostic(ErrorCode.ERR_NoImplicitConv, "^1").WithArguments("System.Index", "int").WithLocation(12, 50));
}
[Fact]
public void FakeIndexIndexerString()
{
var verifier = CompileAndVerifyWithIndexAndRange(@"
using System;
class C
{
public static void Main()
{
var s = ""abcdef"";
Console.WriteLine(s[new Index(1, false)]);
Console.WriteLine(s[(Index)2]);
Console.WriteLine(s[^1]);
}
}", expectedOutput: @"b
c
f");
verifier.VerifyIL("C.Main", @"
{
// Code size 76 (0x4c)
.maxstack 4
.locals init (int V_0,
int V_1,
System.Index V_2)
IL_0000: ldstr ""abcdef""
IL_0005: dup
IL_0006: dup
IL_0007: callvirt ""int string.Length.get""
IL_000c: stloc.0
IL_000d: ldc.i4.1
IL_000e: ldc.i4.0
IL_000f: newobj ""System.Index..ctor(int, bool)""
IL_0014: stloc.2
IL_0015: ldloca.s V_2
IL_0017: ldloc.0
IL_0018: call ""int System.Index.GetOffset(int)""
IL_001d: stloc.1
IL_001e: ldloc.1
IL_001f: callvirt ""char string.this[int].get""
IL_0024: call ""void System.Console.WriteLine(char)""
IL_0029: dup
IL_002a: ldc.i4.2
IL_002b: stloc.1
IL_002c: ldloc.1
IL_002d: callvirt ""char string.this[int].get""
IL_0032: call ""void System.Console.WriteLine(char)""
IL_0037: dup
IL_0038: callvirt ""int string.Length.get""
IL_003d: ldc.i4.1
IL_003e: sub
IL_003f: stloc.1
IL_0040: ldloc.1
IL_0041: callvirt ""char string.this[int].get""
IL_0046: call ""void System.Console.WriteLine(char)""
IL_004b: ret
}");
}
[Fact]
public void FakeRangeIndexerString()
{
var verifier = CompileAndVerifyWithIndexAndRange(@"
using System;
class C
{
public static void Main()
{
var s = ""abcdef"";
Console.WriteLine(s[1..3]);
}
}", expectedOutput: "bc");
verifier.VerifyIL("C.Main", @"
{
// Code size 24 (0x18)
.maxstack 3
.locals init (int V_0,
int V_1)
IL_0000: ldstr ""abcdef""
IL_0005: ldc.i4.1
IL_0006: stloc.0
IL_0007: ldc.i4.3
IL_0008: ldloc.0
IL_0009: sub
IL_000a: stloc.1
IL_000b: ldloc.0
IL_000c: ldloc.1
IL_000d: callvirt ""string string.Substring(int, int)""
IL_0012: call ""void System.Console.WriteLine(string)""
IL_0017: ret
}");
}
[Fact, WorkItem(40776, "https://github.com/dotnet/roslyn/issues/40776")]
public void FakeIndexIndexerOnDefaultStruct()
{
var verifier = CompileAndVerifyWithIndexAndRange(@"
using System;
struct NotASpan
{
public int Length => 1;
public int this[int index] => 0;
}
class C
{
static int Repro() => default(NotASpan)[^0];
static void Main() => Repro();
}");
verifier.VerifyIL("C.Repro", @"
{
// Code size 25 (0x19)
.maxstack 3
.locals init (int V_0,
NotASpan V_1)
IL_0000: ldloca.s V_1
IL_0002: dup
IL_0003: initobj ""NotASpan""
IL_0009: dup
IL_000a: call ""int NotASpan.Length.get""
IL_000f: ldc.i4.0
IL_0010: sub
IL_0011: stloc.0
IL_0012: ldloc.0
IL_0013: call ""int NotASpan.this[int].get""
IL_0018: ret
}");
}
[Fact, WorkItem(40776, "https://github.com/dotnet/roslyn/issues/40776")]
public void FakeIndexIndexerOnStructConstructor()
{
var comp = CreateCompilationWithIndexAndRangeAndSpan(@"
using System;
class C
{
static byte Repro() => new Span<byte>(new byte[] { })[^1];
}");
var verifier = CompileAndVerify(comp);
verifier.VerifyIL("C.Repro", @"
{
// Code size 31 (0x1f)
.maxstack 3
.locals init (int V_0,
System.Span<byte> V_1)
IL_0000: ldc.i4.0
IL_0001: newarr ""byte""
IL_0006: newobj ""System.Span<byte>..ctor(byte[])""
IL_000b: stloc.1
IL_000c: ldloca.s V_1
IL_000e: dup
IL_000f: call ""int System.Span<byte>.Length.get""
IL_0014: ldc.i4.1
IL_0015: sub
IL_0016: stloc.0
IL_0017: ldloc.0
IL_0018: call ""ref byte System.Span<byte>.this[int].get""
IL_001d: ldind.u1
IL_001e: ret
}");
}
[Fact]
public void FakeRangeIndexerStringOpenEnd()
{
CompileAndVerifyWithIndexAndRange(@"
using System;
class C
{
public static void Main()
{
var s = ""abcdef"";
var result = M(s);
Console.WriteLine(result);
}
public static string M(string s) => s[1..];
}", expectedOutput: "bcdef");
}
[Fact]
public void FakeRangeIndexerStringOpenStart()
{
CompileAndVerifyWithIndexAndRange(@"
using System;
class C
{
public static void Main()
{
var s = ""abcdef"";
var result = M(s);
Console.WriteLine(result);
}
public static string M(string s) => s[..^2];
}", expectedOutput: "abcd");
}
[Fact]
public void FakeIndexIndexerArray()
{
var comp = CreateCompilationWithIndex(@"
using System;
class C
{
public static void Main()
{
var x = new[] { 1, 2, 3, 11 };
M(x);
}
public static void M(int[] array)
{
Console.WriteLine(array[new Index(1, false)]);
Console.WriteLine(array[^1]);
}
}", TestOptions.ReleaseExe);
var verifier = CompileAndVerify(comp, expectedOutput: @"2
11");
verifier.VerifyIL("C.M", @"
{
// Code size 40 (0x28)
.maxstack 3
.locals init (int[] V_0,
System.Index V_1)
IL_0000: ldarg.0
IL_0001: stloc.0
IL_0002: ldloc.0
IL_0003: ldc.i4.1
IL_0004: ldc.i4.0
IL_0005: newobj ""System.Index..ctor(int, bool)""
IL_000a: stloc.1
IL_000b: ldloca.s V_1
IL_000d: ldloc.0
IL_000e: ldlen
IL_000f: conv.i4
IL_0010: call ""int System.Index.GetOffset(int)""
IL_0015: ldelem.i4
IL_0016: call ""void System.Console.WriteLine(int)""
IL_001b: ldarg.0
IL_001c: dup
IL_001d: ldlen
IL_001e: conv.i4
IL_001f: ldc.i4.1
IL_0020: sub
IL_0021: ldelem.i4
IL_0022: call ""void System.Console.WriteLine(int)""
IL_0027: ret
}");
}
[Fact]
public void SuppressNullableWarning_FakeIndexIndexerArray()
{
string source = @"
using System;
class C
{
public static void Main()
{
var x = new[] { 1, 2, 3, 11 };
M(x);
}
public static void M(int[] array)
{
Console.Write(array[new Index(1, false)!]);
Console.Write(array[(^1)!]);
}
}";
// cover case in ConvertToArrayIndex
var comp = CreateCompilationWithIndex(source, WithNullableEnable(TestOptions.DebugExe));
comp.VerifyDiagnostics();
CompileAndVerify(comp, expectedOutput: "211");
}
[Fact]
public void FakeRangeIndexerArray()
{
var verifier = CompileAndVerifyWithIndexAndRange(@"
using System;
class C
{
public static void Main()
{
var arr = new[] { 1, 2, 3, 11 };
var result = M(arr);
Console.WriteLine(result.Length);
foreach (var x in result)
{
Console.WriteLine(x);
}
}
public static int[] M(int[] array) => array[1..3];
}", expectedOutput: @"2
2
3");
verifier.VerifyIL("C.M", @"
{
// Code size 24 (0x18)
.maxstack 3
IL_0000: ldarg.0
IL_0001: ldc.i4.1
IL_0002: call ""System.Index System.Index.op_Implicit(int)""
IL_0007: ldc.i4.3
IL_0008: call ""System.Index System.Index.op_Implicit(int)""
IL_000d: newobj ""System.Range..ctor(System.Index, System.Index)""
IL_0012: call ""int[] System.Runtime.CompilerServices.RuntimeHelpers.GetSubArray<int>(int[], System.Range)""
IL_0017: ret
}
");
}
[Fact]
public void FakeRangeStartIsFromEndIndexerArray()
{
CompileAndVerifyWithIndexAndRange(@"
using System;
class C
{
public static void Main()
{
var arr = new[] { 1, 2, 3, 11 };
var result = M(arr);
Console.WriteLine(result.Length);
foreach (var x in result)
{
Console.WriteLine(x);
}
}
public static int[] M(int[] array) => array[^2..];
}", expectedOutput: @"2
3
11");
}
[Fact]
public void FakeRangeBothIsFromEndIndexerArray()
{
CompileAndVerifyWithIndexAndRange(@"
using System;
class C
{
public static void Main()
{
var arr = new[] { 1, 2, 3, 11 };
var result = M(arr);
Console.WriteLine(result.Length);
foreach (var x in result)
{
Console.WriteLine(x);
}
}
public static int[] M(int[] array) => array[^3..^1];
}", expectedOutput: @"2
2
3");
}
[Fact]
public void FakeRangeToEndIndexerArray()
{
var verifier = CompileAndVerifyWithIndexAndRange(@"
using System;
class C
{
public static void Main()
{
var arr = new[] { 1, 2, 3, 11 };
var result = M(arr);
Console.WriteLine(result.Length);
foreach (var x in result)
{
Console.WriteLine(x);
}
}
public static int[] M(int[] array) => array[1..];
}", expectedOutput: @"3
2
3
11");
verifier.VerifyIL("C.M", @"
{
// Code size 18 (0x12)
.maxstack 2
IL_0000: ldarg.0
IL_0001: ldc.i4.1
IL_0002: call ""System.Index System.Index.op_Implicit(int)""
IL_0007: call ""System.Range System.Range.StartAt(System.Index)""
IL_000c: call ""int[] System.Runtime.CompilerServices.RuntimeHelpers.GetSubArray<int>(int[], System.Range)""
IL_0011: ret
}
");
}
[Fact]
public void FakeRangeFromStartIndexerArray()
{
var comp = CreateCompilationWithIndexAndRange(@"
using System;
class C
{
public static void Main()
{
var arr = new[] { 1, 2, 3, 11 };
var result = M(arr);
Console.WriteLine(result.Length);
foreach (var x in result)
{
Console.WriteLine(x);
}
}
public static int[] M(int[] array) => array[..3];
}" + TestSources.GetSubArray, TestOptions.ReleaseExe);
var verifier = CompileAndVerify(comp, verify: Verification.Passes, expectedOutput: @"3
1
2
3");
verifier.VerifyIL("C.M", @"
{
// Code size 18 (0x12)
.maxstack 2
IL_0000: ldarg.0
IL_0001: ldc.i4.3
IL_0002: call ""System.Index System.Index.op_Implicit(int)""
IL_0007: call ""System.Range System.Range.EndAt(System.Index)""
IL_000c: call ""int[] System.Runtime.CompilerServices.RuntimeHelpers.GetSubArray<int>(int[], System.Range)""
IL_0011: ret
}");
}
[Fact]
public void LowerIndex_Int()
{
var compilation = CreateCompilationWithIndex(@"
using System;
public static class Util
{
public static Index Convert(int a) => ^a;
}");
CompileAndVerify(compilation).VerifyIL("Util.Convert", @"
{
// Code size 8 (0x8)
.maxstack 2
IL_0000: ldarg.0
IL_0001: ldc.i4.1
IL_0002: newobj ""System.Index..ctor(int, bool)""
IL_0007: ret
}");
}
[Fact]
public void LowerIndex_NullableInt()
{
var compilation = CreateCompilationWithIndex(@"
using System;
public static class Util
{
public static Index? Convert(int? a) => ^a;
}");
CompileAndVerify(compilation).VerifyIL("Util.Convert", @"
{
// Code size 40 (0x28)
.maxstack 2
.locals init (int? V_0,
System.Index? V_1)
IL_0000: ldarg.0
IL_0001: stloc.0
IL_0002: ldloca.s V_0
IL_0004: call ""bool int?.HasValue.get""
IL_0009: brtrue.s IL_0015
IL_000b: ldloca.s V_1
IL_000d: initobj ""System.Index?""
IL_0013: ldloc.1
IL_0014: ret
IL_0015: ldloca.s V_0
IL_0017: call ""int int?.GetValueOrDefault()""
IL_001c: ldc.i4.1
IL_001d: newobj ""System.Index..ctor(int, bool)""
IL_0022: newobj ""System.Index?..ctor(System.Index)""
IL_0027: ret
}");
}
[Fact]
public void PrintIndexExpressions()
{
var compilation = CreateCompilationWithIndexAndRange(@"
using System;
partial class Program
{
static void Main()
{
int nonNullable = 1;
int? nullableValue = 2;
int? nullableDefault = default;
Index a = nonNullable;
Console.WriteLine(""a: "" + Print(a));
Index b = ^nonNullable;
Console.WriteLine(""b: "" + Print(b));
// --------------------------------------------------------
Index? c = nullableValue;
Console.WriteLine(""c: "" + Print(c));
Index? d = ^nullableValue;
Console.WriteLine(""d: "" + Print(d));
// --------------------------------------------------------
Index? e = nullableDefault;
Console.WriteLine(""e: "" + Print(e));
Index? f = ^nullableDefault;
Console.WriteLine(""f: "" + Print(f));
}
}" + PrintIndexesAndRangesCode, options: TestOptions.ReleaseExe);
CompileAndVerify(compilation, expectedOutput: @"
a: value: '1', fromEnd: 'False'
b: value: '1', fromEnd: 'True'
c: value: '2', fromEnd: 'False'
d: value: '2', fromEnd: 'True'
e: default
f: default");
}
[Fact]
public void LowerRange_Create_Index_Index()
{
var compilation = CreateCompilationWithIndexAndRange(@"
using System;
public static class Util
{
public static Range Create(Index start, Index end) => start..end;
}");
CompileAndVerify(compilation).VerifyIL("Util.Create", @"
{
// Code size 8 (0x8)
.maxstack 2
IL_0000: ldarg.0
IL_0001: ldarg.1
IL_0002: newobj ""System.Range..ctor(System.Index, System.Index)""
IL_0007: ret
}");
}
[Fact]
public void LowerRange_Create_Index_NullableIndex()
{
var compilation = CreateCompilationWithIndexAndRange(@"
using System;
public static class Util
{
public static Range? Create(Index start, Index? end) => start..end;
}");
CompileAndVerify(compilation).VerifyIL("Util.Create", @"
{
// Code size 42 (0x2a)
.maxstack 2
.locals init (System.Index V_0,
System.Index? V_1,
System.Range? V_2)
IL_0000: ldarg.0
IL_0001: stloc.0
IL_0002: ldarg.1
IL_0003: stloc.1
IL_0004: ldloca.s V_1
IL_0006: call ""bool System.Index?.HasValue.get""
IL_000b: brtrue.s IL_0017
IL_000d: ldloca.s V_2
IL_000f: initobj ""System.Range?""
IL_0015: ldloc.2
IL_0016: ret
IL_0017: ldloc.0
IL_0018: ldloca.s V_1
IL_001a: call ""System.Index System.Index?.GetValueOrDefault()""
IL_001f: newobj ""System.Range..ctor(System.Index, System.Index)""
IL_0024: newobj ""System.Range?..ctor(System.Range)""
IL_0029: ret
}");
}
[Fact]
public void LowerRange_Create_NullableIndex_Index()
{
var compilation = CreateCompilationWithIndexAndRange(@"
using System;
public static class Util
{
public static Range? Create(Index? start, Index end) => start..end;
}");
CompileAndVerify(compilation).VerifyIL("Util.Create", @"
{
// Code size 42 (0x2a)
.maxstack 2
.locals init (System.Index? V_0,
System.Index V_1,
System.Range? V_2)
IL_0000: ldarg.0
IL_0001: stloc.0
IL_0002: ldarg.1
IL_0003: stloc.1
IL_0004: ldloca.s V_0
IL_0006: call ""bool System.Index?.HasValue.get""
IL_000b: brtrue.s IL_0017
IL_000d: ldloca.s V_2
IL_000f: initobj ""System.Range?""
IL_0015: ldloc.2
IL_0016: ret
IL_0017: ldloca.s V_0
IL_0019: call ""System.Index System.Index?.GetValueOrDefault()""
IL_001e: ldloc.1
IL_001f: newobj ""System.Range..ctor(System.Index, System.Index)""
IL_0024: newobj ""System.Range?..ctor(System.Range)""
IL_0029: ret
}");
}
[Fact]
public void LowerRange_Create_NullableIndex_NullableIndex()
{
var compilation = CreateCompilationWithIndexAndRange(@"
using System;
public static class Util
{
public static Range? Create(Index? start, Index? end) => start..end;
}");
CompileAndVerify(compilation).VerifyIL("Util.Create", @"
{
// Code size 56 (0x38)
.maxstack 2
.locals init (System.Index? V_0,
System.Index? V_1,
System.Range? V_2)
IL_0000: ldarg.0
IL_0001: stloc.0
IL_0002: ldarg.1
IL_0003: stloc.1
IL_0004: ldloca.s V_0
IL_0006: call ""bool System.Index?.HasValue.get""
IL_000b: ldloca.s V_1
IL_000d: call ""bool System.Index?.HasValue.get""
IL_0012: and
IL_0013: brtrue.s IL_001f
IL_0015: ldloca.s V_2
IL_0017: initobj ""System.Range?""
IL_001d: ldloc.2
IL_001e: ret
IL_001f: ldloca.s V_0
IL_0021: call ""System.Index System.Index?.GetValueOrDefault()""
IL_0026: ldloca.s V_1
IL_0028: call ""System.Index System.Index?.GetValueOrDefault()""
IL_002d: newobj ""System.Range..ctor(System.Index, System.Index)""
IL_0032: newobj ""System.Range?..ctor(System.Range)""
IL_0037: ret
}");
}
[Fact]
public void LowerRange_ToEnd_Index()
{
var compilation = CreateCompilationWithIndexAndRange(@"
using System;
public static class Util
{
public static Range ToEnd(Index end) => ..end;
}");
CompileAndVerify(compilation).VerifyIL("Util.ToEnd", @"
{
// Code size 7 (0x7)
.maxstack 1
IL_0000: ldarg.0
IL_0001: call ""System.Range System.Range.EndAt(System.Index)""
IL_0006: ret
}");
}
[Fact]
public void LowerRange_ToEnd_NullableIndex()
{
var compilation = CreateCompilationWithIndexAndRange(@"
using System;
public static class Util
{
public static Range? ToEnd(Index? end) => ..end;
}");
CompileAndVerify(compilation).VerifyIL("Util.ToEnd", @"
{
// Code size 39 (0x27)
.maxstack 1
.locals init (System.Index? V_0,
System.Range? V_1)
IL_0000: ldarg.0
IL_0001: stloc.0
IL_0002: ldloca.s V_0
IL_0004: call ""bool System.Index?.HasValue.get""
IL_0009: brtrue.s IL_0015
IL_000b: ldloca.s V_1
IL_000d: initobj ""System.Range?""
IL_0013: ldloc.1
IL_0014: ret
IL_0015: ldloca.s V_0
IL_0017: call ""System.Index System.Index?.GetValueOrDefault()""
IL_001c: call ""System.Range System.Range.EndAt(System.Index)""
IL_0021: newobj ""System.Range?..ctor(System.Range)""
IL_0026: ret
}");
}
[Fact]
public void LowerRange_FromStart_Index()
{
var compilation = CreateCompilationWithIndexAndRange(@"
using System;
public static class Util
{
public static Range FromStart(Index start) => start..;
}");
CompileAndVerify(compilation).VerifyIL("Util.FromStart", @"
{
// Code size 7 (0x7)
.maxstack 1
IL_0000: ldarg.0
IL_0001: call ""System.Range System.Range.StartAt(System.Index)""
IL_0006: ret
}");
}
[Fact]
public void LowerRange_FromStart_NullableIndex()
{
var compilation = CreateCompilationWithIndexAndRange(@"
using System;
public static class Util
{
public static Range? FromStart(Index? start) => start..;
}");
CompileAndVerify(compilation).VerifyIL("Util.FromStart", @"
{
// Code size 39 (0x27)
.maxstack 1
.locals init (System.Index? V_0,
System.Range? V_1)
IL_0000: ldarg.0
IL_0001: stloc.0
IL_0002: ldloca.s V_0
IL_0004: call ""bool System.Index?.HasValue.get""
IL_0009: brtrue.s IL_0015
IL_000b: ldloca.s V_1
IL_000d: initobj ""System.Range?""
IL_0013: ldloc.1
IL_0014: ret
IL_0015: ldloca.s V_0
IL_0017: call ""System.Index System.Index?.GetValueOrDefault()""
IL_001c: call ""System.Range System.Range.StartAt(System.Index)""
IL_0021: newobj ""System.Range?..ctor(System.Range)""
IL_0026: ret
}");
}
[Fact]
public void LowerRange_All()
{
var compilation = CreateCompilationWithIndexAndRange(@"
using System;
public static class Util
{
public static Range All() => ..;
}");
CompileAndVerify(compilation).VerifyIL("Util.All", @"
{
// Code size 6 (0x6)
.maxstack 1
IL_0000: call ""System.Range System.Range.All.get""
IL_0005: ret
}");
}
[Fact]
public void PrintRangeExpressions()
{
var compilation = CreateCompilationWithIndexAndRange(@"
using System;
partial class Program
{
static void Main()
{
Index nonNullable = 1;
Index? nullableValue = 2;
Index? nullableDefault = default;
Range a = nonNullable..nonNullable;
Console.WriteLine(""a: "" + Print(a));
Range? b = nonNullable..nullableValue;
Console.WriteLine(""b: "" + Print(b));
Range? c = nonNullable..nullableDefault;
Console.WriteLine(""c: "" + Print(c));
// --------------------------------------------------------
Range? d = nullableValue..nonNullable;
Console.WriteLine(""d: "" + Print(d));
Range? e = nullableValue..nullableValue;
Console.WriteLine(""e: "" + Print(e));
Range? f = nullableValue..nullableDefault;
Console.WriteLine(""f: "" + Print(f));
// --------------------------------------------------------
Range? g = nullableDefault..nonNullable;
Console.WriteLine(""g: "" + Print(g));
Range? h = nullableDefault..nullableValue;
Console.WriteLine(""h: "" + Print(h));
Range? i = nullableDefault..nullableDefault;
Console.WriteLine(""i: "" + Print(i));
// --------------------------------------------------------
Range? j = ..nonNullable;
Console.WriteLine(""j: "" + Print(j));
Range? k = ..nullableValue;
Console.WriteLine(""k: "" + Print(k));
Range? l = ..nullableDefault;
Console.WriteLine(""l: "" + Print(l));
// --------------------------------------------------------
Range? m = nonNullable..;
Console.WriteLine(""m: "" + Print(m));
Range? n = nullableValue..;
Console.WriteLine(""n: "" + Print(n));
Range? o = nullableDefault..;
Console.WriteLine(""o: "" + Print(o));
// --------------------------------------------------------
Range? p = ..;
Console.WriteLine(""p: "" + Print(p));
}
}" + PrintIndexesAndRangesCode, options: TestOptions.ReleaseExe);
CompileAndVerify(compilation, expectedOutput: @"
a: value: 'value: '1', fromEnd: 'False'', fromEnd: 'value: '1', fromEnd: 'False''
b: value: 'value: '1', fromEnd: 'False'', fromEnd: 'value: '2', fromEnd: 'False''
c: default
d: value: 'value: '2', fromEnd: 'False'', fromEnd: 'value: '1', fromEnd: 'False''
e: value: 'value: '2', fromEnd: 'False'', fromEnd: 'value: '2', fromEnd: 'False''
f: default
g: default
h: default
i: default
j: value: 'value: '0', fromEnd: 'False'', fromEnd: 'value: '1', fromEnd: 'False''
k: value: 'value: '0', fromEnd: 'False'', fromEnd: 'value: '2', fromEnd: 'False''
l: default
m: value: 'value: '1', fromEnd: 'False'', fromEnd: 'value: '0', fromEnd: 'True''
n: value: 'value: '2', fromEnd: 'False'', fromEnd: 'value: '0', fromEnd: 'True''
o: default
p: value: 'value: '0', fromEnd: 'False'', fromEnd: 'value: '0', fromEnd: 'True''");
}
[Fact]
public void PassingAsArguments()
{
var compilation = CreateCompilationWithIndexAndRange(@"
using System;
partial class Program
{
static void Main()
{
Console.WriteLine(Print(^1));
Console.WriteLine(Print(..));
Console.WriteLine(Print(2..));
Console.WriteLine(Print(..3));
Console.WriteLine(Print(4..5));
}
}" + PrintIndexesAndRangesCode, options: TestOptions.ReleaseExe).VerifyDiagnostics();
CompileAndVerify(compilation, expectedOutput: @"
value: '1', fromEnd: 'True'
value: 'value: '0', fromEnd: 'False'', fromEnd: 'value: '0', fromEnd: 'True''
value: 'value: '2', fromEnd: 'False'', fromEnd: 'value: '0', fromEnd: 'True''
value: 'value: '0', fromEnd: 'False'', fromEnd: 'value: '3', fromEnd: 'False''
value: 'value: '4', fromEnd: 'False'', fromEnd: 'value: '5', fromEnd: 'False''");
}
[Fact]
public void LowerRange_OrderOfEvaluation_Index_NullableIndex()
{
var compilation = CreateCompilationWithIndexAndRange(@"
using System;
public static class Util
{
static void Main()
{
var x = Create();
}
public static Range? Create()
{
return GetIndex1() .. GetIndex2();
}
static Index GetIndex1()
{
System.Console.WriteLine(""1"");
return default;
}
static Index? GetIndex2()
{
System.Console.WriteLine(""2"");
return new Index(1, true);
}
}", options: TestOptions.DebugExe);
CompileAndVerify(compilation, expectedOutput: @"
1
2").VerifyIL("Util.Create", @"
{
// Code size 56 (0x38)
.maxstack 2
.locals init (System.Index V_0,
System.Index? V_1,
System.Range? V_2,
System.Range? V_3)
IL_0000: nop
IL_0001: call ""System.Index Util.GetIndex1()""
IL_0006: stloc.0
IL_0007: call ""System.Index? Util.GetIndex2()""
IL_000c: stloc.1
IL_000d: ldloca.s V_1
IL_000f: call ""bool System.Index?.HasValue.get""
IL_0014: brtrue.s IL_0021
IL_0016: ldloca.s V_2
IL_0018: initobj ""System.Range?""
IL_001e: ldloc.2
IL_001f: br.s IL_0033
IL_0021: ldloc.0
IL_0022: ldloca.s V_1
IL_0024: call ""System.Index System.Index?.GetValueOrDefault()""
IL_0029: newobj ""System.Range..ctor(System.Index, System.Index)""
IL_002e: newobj ""System.Range?..ctor(System.Range)""
IL_0033: stloc.3
IL_0034: br.s IL_0036
IL_0036: ldloc.3
IL_0037: ret
}");
}
[Fact]
public void LowerRange_OrderOfEvaluation_Index_Null()
{
var compilation = CreateCompilationWithIndexAndRange(@"
using System;
public static class Util
{
static void Main()
{
var x = Create();
}
public static Range? Create()
{
return GetIndex1() .. GetIndex2();
}
static Index GetIndex1()
{
System.Console.WriteLine(""1"");
return default;
}
static Index? GetIndex2()
{
System.Console.WriteLine(""2"");
return null;
}
}", options: TestOptions.DebugExe);
CompileAndVerify(compilation, expectedOutput: @"
1
2").VerifyIL("Util.Create", @"
{
// Code size 56 (0x38)
.maxstack 2
.locals init (System.Index V_0,
System.Index? V_1,
System.Range? V_2,
System.Range? V_3)
IL_0000: nop
IL_0001: call ""System.Index Util.GetIndex1()""
IL_0006: stloc.0
IL_0007: call ""System.Index? Util.GetIndex2()""
IL_000c: stloc.1
IL_000d: ldloca.s V_1
IL_000f: call ""bool System.Index?.HasValue.get""
IL_0014: brtrue.s IL_0021
IL_0016: ldloca.s V_2
IL_0018: initobj ""System.Range?""
IL_001e: ldloc.2
IL_001f: br.s IL_0033
IL_0021: ldloc.0
IL_0022: ldloca.s V_1
IL_0024: call ""System.Index System.Index?.GetValueOrDefault()""
IL_0029: newobj ""System.Range..ctor(System.Index, System.Index)""
IL_002e: newobj ""System.Range?..ctor(System.Range)""
IL_0033: stloc.3
IL_0034: br.s IL_0036
IL_0036: ldloc.3
IL_0037: ret
}");
}
[Fact]
public void Index_OperandConvertibleToInt()
{
CompileAndVerify(CreateCompilationWithIndexAndRange(@"
using System;
partial class Program
{
static void Main()
{
byte a = 3;
Index b = ^a;
Console.WriteLine(Print(b));
}
}" + PrintIndexesAndRangesCode, options: TestOptions.ReleaseExe), expectedOutput: "value: '3', fromEnd: 'True'");
}
[Fact]
public void Index_NullableAlwaysHasValue()
{
CompileAndVerify(CreateCompilationWithIndexAndRange(@"
using System;
partial class Program
{
static void Main()
{
Console.WriteLine(Print(Create()));
}
static Index? Create()
{
// should be lowered into: new Nullable<Index>(new Index(5, fromEnd: true))
return ^new Nullable<int>(5);
}
}" + PrintIndexesAndRangesCode, options: TestOptions.ReleaseExe),
expectedOutput: "value: '5', fromEnd: 'True'")
.VerifyIL("Program.Create", @"
{
// Code size 13 (0xd)
.maxstack 2
IL_0000: ldc.i4.5
IL_0001: ldc.i4.1
IL_0002: newobj ""System.Index..ctor(int, bool)""
IL_0007: newobj ""System.Index?..ctor(System.Index)""
IL_000c: ret
}");
}
[Fact]
public void Range_NullableAlwaysHasValue_Left()
{
CompileAndVerify(CreateCompilationWithIndexAndRange(@"
using System;
partial class Program
{
static void Main()
{
Console.WriteLine(Print(Create(^1)));
}
static Range? Create(Index arg)
{
// should be lowered into: new Nullable<Range>(Range.FromStart(arg))
return new Nullable<Index>(arg)..;
}
}" + PrintIndexesAndRangesCode, options: TestOptions.ReleaseExe),
expectedOutput: "value: 'value: '1', fromEnd: 'True'', fromEnd: 'value: '0', fromEnd: 'True''")
.VerifyIL("Program.Create", @"
{
// Code size 12 (0xc)
.maxstack 1
IL_0000: ldarg.0
IL_0001: call ""System.Range System.Range.StartAt(System.Index)""
IL_0006: newobj ""System.Range?..ctor(System.Range)""
IL_000b: ret
}");
}
[Fact]
public void Range_NullableAlwaysHasValue_Right()
{
CompileAndVerify(CreateCompilationWithIndexAndRange(@"
using System;
partial class Program
{
static void Main()
{
Console.WriteLine(Print(Create(^1)));
}
static Range? Create(Index arg)
{
// should be lowered into: new Nullable<Range>(Range.ToEnd(arg))
return ..new Nullable<Index>(arg);
}
}" + PrintIndexesAndRangesCode, options: TestOptions.ReleaseExe),
expectedOutput: "value: 'value: '0', fromEnd: 'False'', fromEnd: 'value: '1', fromEnd: 'True''")
.VerifyIL("Program.Create", @"
{
// Code size 12 (0xc)
.maxstack 1
IL_0000: ldarg.0
IL_0001: call ""System.Range System.Range.EndAt(System.Index)""
IL_0006: newobj ""System.Range?..ctor(System.Range)""
IL_000b: ret
}");
}
[Fact]
public void Range_NullableAlwaysHasValue_Both()
{
CompileAndVerify(CreateCompilationWithIndexAndRange(@"
using System;
partial class Program
{
static void Main()
{
Console.WriteLine(Print(Create(^2, ^1)));
}
static Range? Create(Index arg1, Index arg2)
{
// should be lowered into: new Nullable<Range>(Range.Create(arg1, arg2))
return new Nullable<Index>(arg1)..new Nullable<Index>(arg2);
}
}" + PrintIndexesAndRangesCode, options: TestOptions.ReleaseExe),
expectedOutput: "value: 'value: '2', fromEnd: 'True'', fromEnd: 'value: '1', fromEnd: 'True''")
.VerifyIL("Program.Create", @"
{
// Code size 13 (0xd)
.maxstack 2
IL_0000: ldarg.0
IL_0001: ldarg.1
IL_0002: newobj ""System.Range..ctor(System.Index, System.Index)""
IL_0007: newobj ""System.Range?..ctor(System.Range)""
IL_000c: ret
}");
}
[Fact]
public void Index_NullableNeverHasValue()
{
CompileAndVerify(CreateCompilationWithIndexAndRange(@"
using System;
partial class Program
{
static void Main()
{
Console.WriteLine(Print(Create()));
}
static Index? Create()
{
// should be lowered into: new Nullable<Index>(new Index(default, fromEnd: true))
return ^new Nullable<int>();
}
}" + PrintIndexesAndRangesCode, options: TestOptions.ReleaseExe), expectedOutput: "value: '0', fromEnd: 'True'")
.VerifyIL("Program.Create", @"
{
// Code size 13 (0xd)
.maxstack 2
IL_0000: ldc.i4.0
IL_0001: ldc.i4.1
IL_0002: newobj ""System.Index..ctor(int, bool)""
IL_0007: newobj ""System.Index?..ctor(System.Index)""
IL_000c: ret
}");
}
[Fact]
public void Range_NullableNeverhasValue_Left()
{
CompileAndVerify(CreateCompilationWithIndexAndRange(@"
using System;
partial class Program
{
static void Main()
{
Console.WriteLine(Print(Create()));
}
static Range? Create()
{
// should be lowered into: new Nullable<Range>(Range.FromStart(default))
return new Nullable<Index>()..;
}
}" + PrintIndexesAndRangesCode, options: TestOptions.ReleaseExe),
expectedOutput: "value: 'value: '0', fromEnd: 'False'', fromEnd: 'value: '0', fromEnd: 'True''")
.VerifyIL("Program.Create", @"
{
// Code size 20 (0x14)
.maxstack 1
.locals init (System.Index V_0)
IL_0000: ldloca.s V_0
IL_0002: initobj ""System.Index""
IL_0008: ldloc.0
IL_0009: call ""System.Range System.Range.StartAt(System.Index)""
IL_000e: newobj ""System.Range?..ctor(System.Range)""
IL_0013: ret
}");
}
[Fact]
public void Range_NullableNeverHasValue_Right()
{
CompileAndVerify(CreateCompilationWithIndexAndRange(@"
using System;
partial class Program
{
static void Main()
{
Console.WriteLine(Print(Create()));
}
static Range? Create()
{
// should be lowered into: new Nullable<Range>(Range.ToEnd(default))
return ..new Nullable<Index>();
}
}" + PrintIndexesAndRangesCode, options: TestOptions.ReleaseExe),
expectedOutput: "value: 'value: '0', fromEnd: 'False'', fromEnd: 'value: '0', fromEnd: 'False''")
.VerifyIL("Program.Create", @"
{
// Code size 20 (0x14)
.maxstack 1
.locals init (System.Index V_0)
IL_0000: ldloca.s V_0
IL_0002: initobj ""System.Index""
IL_0008: ldloc.0
IL_0009: call ""System.Range System.Range.EndAt(System.Index)""
IL_000e: newobj ""System.Range?..ctor(System.Range)""
IL_0013: ret
}");
}
[Fact]
public void Range_NullableNeverHasValue_Both()
{
CompileAndVerify(CreateCompilationWithIndexAndRange(@"
using System;
partial class Program
{
static void Main()
{
Console.WriteLine(Print(Create()));
}
static Range? Create()
{
// should be lowered into: new Nullable<Range>(Range.Create(default, default))
return new Nullable<Index>()..new Nullable<Index>();
}
}" + PrintIndexesAndRangesCode, options: TestOptions.ReleaseExe),
expectedOutput: "value: 'value: '0', fromEnd: 'False'', fromEnd: 'value: '0', fromEnd: 'False''")
.VerifyIL("Program.Create", @"
{
// Code size 29 (0x1d)
.maxstack 2
.locals init (System.Index V_0)
IL_0000: ldloca.s V_0
IL_0002: initobj ""System.Index""
IL_0008: ldloc.0
IL_0009: ldloca.s V_0
IL_000b: initobj ""System.Index""
IL_0011: ldloc.0
IL_0012: newobj ""System.Range..ctor(System.Index, System.Index)""
IL_0017: newobj ""System.Range?..ctor(System.Range)""
IL_001c: ret
}");
}
[Fact]
public void Index_OnFunctionCall()
{
CompileAndVerify(CreateCompilationWithIndexAndRange(@"
using System;
partial class Program
{
static void Main()
{
Console.WriteLine(Print(^Create(5)));
}
static int Create(int x) => x;
}" + PrintIndexesAndRangesCode,
options: TestOptions.ReleaseExe),
expectedOutput: "value: '5', fromEnd: 'True'");
}
[Fact]
public void Range_OnFunctionCall()
{
CompileAndVerify(CreateCompilationWithIndexAndRange(@"
using System;
partial class Program
{
static void Main()
{
Console.WriteLine(Print(Create(1)..Create(2)));
}
static Index Create(int x) => ^x;
}" + PrintIndexesAndRangesCode,
options: TestOptions.ReleaseExe),
expectedOutput: "value: 'value: '1', fromEnd: 'True'', fromEnd: 'value: '2', fromEnd: 'True''");
}
[Fact]
public void Index_OnAssignment()
{
CompileAndVerify(CreateCompilationWithIndexAndRange(@"
using System;
partial class Program
{
static void Main()
{
int x = default;
Console.WriteLine(Print(^(x = Create(5))));
Console.WriteLine(x);
}
static int Create(int x) => x;
}" + PrintIndexesAndRangesCode,
options: TestOptions.ReleaseExe),
expectedOutput: @"
value: '5', fromEnd: 'True'
5");
}
[Fact]
public void Range_OnAssignment()
{
CompileAndVerify(CreateCompilationWithIndexAndRange(@"
using System;
partial class Program
{
static void Main()
{
Index x = default, y = default;
Console.WriteLine(Print((x = Create(1))..(y = Create(2))));
Console.WriteLine(Print(x));
Console.WriteLine(Print(y));
}
static Index Create(int x) => ^x;
}" + PrintIndexesAndRangesCode,
options: TestOptions.ReleaseExe),
expectedOutput: @"
value: 'value: '1', fromEnd: 'True'', fromEnd: 'value: '2', fromEnd: 'True''
value: '1', fromEnd: 'True'
value: '2', fromEnd: 'True'");
}
[Fact]
public void Range_OnVarOut()
{
CompileAndVerify(CreateCompilationWithIndexAndRange(@"
using System;
partial class Program
{
static void Main()
{
Console.WriteLine(Print(Create(1, out Index y)..y));
}
static Index Create(int x, out Index y)
{
y = ^2;
return ^x;
}
}" + PrintIndexesAndRangesCode, options: TestOptions.ReleaseExe),
expectedOutput: "value: 'value: '1', fromEnd: 'True'', fromEnd: 'value: '2', fromEnd: 'True''");
}
[Fact]
public void Range_EvaluationInCondition()
{
CompileAndVerify(CreateCompilationWithIndexAndRange(@"
using System;
partial class Program
{
static void Main()
{
if ((Create(1, out int a)..Create(2, out int b)).Start.IsFromEnd && a < b)
{
Console.WriteLine(""YES"");
}
if ((Create(4, out int c)..Create(3, out int d)).Start.IsFromEnd && c < d)
{
Console.WriteLine(""NO"");
}
}
static Index Create(int x, out int y)
{
y = x;
return ^x;
}
}", options: TestOptions.ReleaseExe), expectedOutput: "YES");
}
private const string PrintIndexesAndRangesCode = @"
partial class Program
{
static string Print(Index arg)
{
return $""value: '{arg.Value}', fromEnd: '{arg.IsFromEnd}'"";
}
static string Print(Range arg)
{
return $""value: '{Print(arg.Start)}', fromEnd: '{Print(arg.End)}'"";
}
static string Print(Index? arg)
{
if (arg.HasValue)
{
return Print(arg.Value);
}
else
{
return ""default"";
}
}
static string Print(Range? arg)
{
if (arg.HasValue)
{
return Print(arg.Value);
}
else
{
return ""default"";
}
}
}";
}
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Workspaces/Core/Portable/Workspace/Host/PersistentStorage/PersistentStorageOptions.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using Microsoft.CodeAnalysis.Options;
namespace Microsoft.CodeAnalysis.Host
{
internal static class PersistentStorageOptions
{
public const string OptionName = "FeatureManager/Persistence";
public static readonly Option<bool> Enabled = new(OptionName, "Enabled", defaultValue: true);
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using Microsoft.CodeAnalysis.Options;
namespace Microsoft.CodeAnalysis.Host
{
internal static class PersistentStorageOptions
{
public const string OptionName = "FeatureManager/Persistence";
public static readonly Option<bool> Enabled = new(OptionName, "Enabled", defaultValue: true);
}
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Features/Core/Portable/EditAndContinue/Extensions.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.Text;
using Microsoft.VisualStudio.Debugger.Contracts.EditAndContinue;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.EditAndContinue
{
internal static class Extensions
{
internal static LinePositionSpan AddLineDelta(this LinePositionSpan span, int lineDelta)
=> new(new LinePosition(span.Start.Line + lineDelta, span.Start.Character), new LinePosition(span.End.Line + lineDelta, span.End.Character));
internal static SourceFileSpan AddLineDelta(this SourceFileSpan span, int lineDelta)
=> new(span.Path, span.Span.AddLineDelta(lineDelta));
internal static int GetLineDelta(this LinePositionSpan oldSpan, LinePositionSpan newSpan)
=> newSpan.Start.Line - oldSpan.Start.Line;
internal static bool Contains(this LinePositionSpan container, LinePositionSpan span)
=> span.Start >= container.Start && span.End <= container.End;
public static LinePositionSpan ToLinePositionSpan(this SourceSpan span)
=> new(new(span.StartLine, span.StartColumn), new(span.EndLine, span.EndColumn));
public static SourceSpan ToSourceSpan(this LinePositionSpan span)
=> new(span.Start.Line, span.Start.Character, span.End.Line, span.End.Character);
public static ActiveStatement GetStatement(this ImmutableArray<ActiveStatement> statements, int ordinal)
{
foreach (var item in statements)
{
if (item.Ordinal == ordinal)
{
return item;
}
}
throw ExceptionUtilities.UnexpectedValue(ordinal);
}
public static ActiveStatementSpan GetStatement(this ImmutableArray<ActiveStatementSpan> statements, int ordinal)
{
foreach (var item in statements)
{
if (item.Ordinal == ordinal)
{
return item;
}
}
throw ExceptionUtilities.UnexpectedValue(ordinal);
}
public static UnmappedActiveStatement GetStatement(this ImmutableArray<UnmappedActiveStatement> statements, int ordinal)
{
foreach (var item in statements)
{
if (item.Statement.Ordinal == ordinal)
{
return item;
}
}
throw ExceptionUtilities.UnexpectedValue(ordinal);
}
public static bool SupportsEditAndContinue(this Project project)
=> project.LanguageServices.GetService<IEditAndContinueAnalyzer>() != null;
// Note: source generated files have relative paths: https://github.com/dotnet/roslyn/issues/51998
public static bool SupportsEditAndContinue(this TextDocumentState documentState)
=> !documentState.Attributes.DesignTimeOnly &&
documentState is not DocumentState or DocumentState { SupportsSyntaxTree: true } &&
(PathUtilities.IsAbsolute(documentState.FilePath) || documentState is SourceGeneratedDocumentState);
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.Text;
using Microsoft.VisualStudio.Debugger.Contracts.EditAndContinue;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.EditAndContinue
{
internal static class Extensions
{
internal static LinePositionSpan AddLineDelta(this LinePositionSpan span, int lineDelta)
=> new(new LinePosition(span.Start.Line + lineDelta, span.Start.Character), new LinePosition(span.End.Line + lineDelta, span.End.Character));
internal static SourceFileSpan AddLineDelta(this SourceFileSpan span, int lineDelta)
=> new(span.Path, span.Span.AddLineDelta(lineDelta));
internal static int GetLineDelta(this LinePositionSpan oldSpan, LinePositionSpan newSpan)
=> newSpan.Start.Line - oldSpan.Start.Line;
internal static bool Contains(this LinePositionSpan container, LinePositionSpan span)
=> span.Start >= container.Start && span.End <= container.End;
public static LinePositionSpan ToLinePositionSpan(this SourceSpan span)
=> new(new(span.StartLine, span.StartColumn), new(span.EndLine, span.EndColumn));
public static SourceSpan ToSourceSpan(this LinePositionSpan span)
=> new(span.Start.Line, span.Start.Character, span.End.Line, span.End.Character);
public static ActiveStatement GetStatement(this ImmutableArray<ActiveStatement> statements, int ordinal)
{
foreach (var item in statements)
{
if (item.Ordinal == ordinal)
{
return item;
}
}
throw ExceptionUtilities.UnexpectedValue(ordinal);
}
public static ActiveStatementSpan GetStatement(this ImmutableArray<ActiveStatementSpan> statements, int ordinal)
{
foreach (var item in statements)
{
if (item.Ordinal == ordinal)
{
return item;
}
}
throw ExceptionUtilities.UnexpectedValue(ordinal);
}
public static UnmappedActiveStatement GetStatement(this ImmutableArray<UnmappedActiveStatement> statements, int ordinal)
{
foreach (var item in statements)
{
if (item.Statement.Ordinal == ordinal)
{
return item;
}
}
throw ExceptionUtilities.UnexpectedValue(ordinal);
}
public static bool SupportsEditAndContinue(this Project project)
=> project.LanguageServices.GetService<IEditAndContinueAnalyzer>() != null;
// Note: source generated files have relative paths: https://github.com/dotnet/roslyn/issues/51998
public static bool SupportsEditAndContinue(this TextDocumentState documentState)
=> !documentState.Attributes.DesignTimeOnly &&
documentState is not DocumentState or DocumentState { SupportsSyntaxTree: true } &&
(PathUtilities.IsAbsolute(documentState.FilePath) || documentState is SourceGeneratedDocumentState);
}
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Analyzers/CSharp/Analyzers/UseDeconstruction/CSharpUseDeconstructionDiagnosticAnalyzer.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using Microsoft.CodeAnalysis.CodeStyle;
using Microsoft.CodeAnalysis.CSharp.CodeStyle;
using Microsoft.CodeAnalysis.CSharp.Extensions;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.PooledObjects;
using Microsoft.CodeAnalysis.Shared.Extensions;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.CSharp.UseDeconstruction
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
internal class CSharpUseDeconstructionDiagnosticAnalyzer : AbstractBuiltInCodeStyleDiagnosticAnalyzer
{
public CSharpUseDeconstructionDiagnosticAnalyzer()
: base(IDEDiagnosticIds.UseDeconstructionDiagnosticId,
EnforceOnBuildValues.UseDeconstruction,
CSharpCodeStyleOptions.PreferDeconstructedVariableDeclaration,
LanguageNames.CSharp,
new LocalizableResourceString(nameof(CSharpAnalyzersResources.Deconstruct_variable_declaration), CSharpAnalyzersResources.ResourceManager, typeof(CSharpAnalyzersResources)),
new LocalizableResourceString(nameof(CSharpAnalyzersResources.Variable_declaration_can_be_deconstructed), CSharpAnalyzersResources.ResourceManager, typeof(CSharpAnalyzersResources)))
{
}
public override DiagnosticAnalyzerCategory GetAnalyzerCategory()
=> DiagnosticAnalyzerCategory.SemanticSpanAnalysis;
protected override void InitializeWorker(AnalysisContext context)
{
context.RegisterSyntaxNodeAction(AnalyzeNode,
SyntaxKind.VariableDeclaration, SyntaxKind.ForEachStatement);
}
private void AnalyzeNode(SyntaxNodeAnalysisContext context)
{
var cancellationToken = context.CancellationToken;
var option = context.Options.GetOption(CSharpCodeStyleOptions.PreferDeconstructedVariableDeclaration, context.Node.SyntaxTree, cancellationToken);
if (!option.Value)
{
return;
}
switch (context.Node)
{
case VariableDeclarationSyntax variableDeclaration:
AnalyzeVariableDeclaration(context, variableDeclaration, option.Notification.Severity);
return;
case ForEachStatementSyntax forEachStatement:
AnalyzeForEachStatement(context, forEachStatement, option.Notification.Severity);
return;
}
}
private void AnalyzeVariableDeclaration(
SyntaxNodeAnalysisContext context, VariableDeclarationSyntax variableDeclaration, ReportDiagnostic severity)
{
if (!TryAnalyzeVariableDeclaration(
context.SemanticModel, variableDeclaration, out _,
out _, context.CancellationToken))
{
return;
}
context.ReportDiagnostic(DiagnosticHelper.Create(
Descriptor,
variableDeclaration.Variables[0].Identifier.GetLocation(),
severity,
additionalLocations: null,
properties: null));
}
private void AnalyzeForEachStatement(
SyntaxNodeAnalysisContext context, ForEachStatementSyntax forEachStatement, ReportDiagnostic severity)
{
if (!TryAnalyzeForEachStatement(
context.SemanticModel, forEachStatement, out _,
out _, context.CancellationToken))
{
return;
}
context.ReportDiagnostic(DiagnosticHelper.Create(
Descriptor,
forEachStatement.Identifier.GetLocation(),
severity,
additionalLocations: null,
properties: null));
}
public static bool TryAnalyzeVariableDeclaration(
SemanticModel semanticModel,
VariableDeclarationSyntax variableDeclaration,
out INamedTypeSymbol tupleType,
out ImmutableArray<MemberAccessExpressionSyntax> memberAccessExpressions,
CancellationToken cancellationToken)
{
tupleType = null;
memberAccessExpressions = default;
// Only support code of the form:
//
// var t = ...; or
// (T1 e1, ..., TN eN) t = ...
if (!variableDeclaration.IsParentKind(SyntaxKind.LocalDeclarationStatement))
{
return false;
}
if (variableDeclaration.Variables.Count != 1)
{
return false;
}
var declarator = variableDeclaration.Variables[0];
if (declarator.Initializer == null)
{
return false;
}
var local = (ILocalSymbol)semanticModel.GetDeclaredSymbol(declarator, cancellationToken);
var initializerConversion = semanticModel.GetConversion(declarator.Initializer.Value, cancellationToken);
return TryAnalyze(
semanticModel, local, variableDeclaration.Type, declarator.Identifier, initializerConversion,
variableDeclaration.Parent.Parent, out tupleType, out memberAccessExpressions, cancellationToken);
}
public static bool TryAnalyzeForEachStatement(
SemanticModel semanticModel,
ForEachStatementSyntax forEachStatement,
out INamedTypeSymbol tupleType,
out ImmutableArray<MemberAccessExpressionSyntax> memberAccessExpressions,
CancellationToken cancellationToken)
{
var local = semanticModel.GetDeclaredSymbol(forEachStatement, cancellationToken);
var elementConversion = semanticModel.GetForEachStatementInfo(forEachStatement).ElementConversion;
return TryAnalyze(
semanticModel, local, forEachStatement.Type, forEachStatement.Identifier, elementConversion,
forEachStatement, out tupleType, out memberAccessExpressions, cancellationToken);
}
private static bool TryAnalyze(
SemanticModel semanticModel,
ILocalSymbol local,
TypeSyntax typeNode,
SyntaxToken identifier,
Conversion conversion,
SyntaxNode searchScope,
out INamedTypeSymbol tupleType,
out ImmutableArray<MemberAccessExpressionSyntax> memberAccessExpressions,
CancellationToken cancellationToken)
{
tupleType = null;
memberAccessExpressions = default;
if (identifier.IsMissing)
{
return false;
}
if (!IsViableTupleTypeSyntax(typeNode))
{
return false;
}
if (conversion.Exists &&
!conversion.IsIdentity &&
!conversion.IsTupleConversion &&
!conversion.IsTupleLiteralConversion)
{
// If there is any other conversion, we bail out because the source type might not be a tuple
// or it is a tuple but only thanks to target type inference, which won't occur in a deconstruction.
// Interesting case that illustrates this is initialization with a default literal:
// (int a, int b) t = default;
// This is classified as conversion.IsNullLiteral.
return false;
}
var type = semanticModel.GetTypeInfo(typeNode, cancellationToken).Type;
if (type == null || !type.IsTupleType)
{
return false;
}
tupleType = (INamedTypeSymbol)type;
if (tupleType.TupleElements.Length < 2)
{
return false;
}
// All tuple elements must have been explicitly provided by the user.
foreach (var element in tupleType.TupleElements)
{
if (element.IsImplicitlyDeclared)
{
return false;
}
}
using var _ = ArrayBuilder<MemberAccessExpressionSyntax>.GetInstance(out var references);
// If the user actually uses the tuple local for anything other than accessing
// fields off of it, then we can't deconstruct this tuple into locals.
if (!OnlyUsedToAccessTupleFields(
semanticModel, searchScope, local, references, cancellationToken))
{
return false;
}
// Can only deconstruct the tuple if the names we introduce won't collide
// with anything else in scope (either outside, or inside the method).
if (AnyTupleFieldNamesCollideWithExistingNames(
semanticModel, tupleType, searchScope, cancellationToken))
{
return false;
}
memberAccessExpressions = references.ToImmutable();
return true;
}
private static bool AnyTupleFieldNamesCollideWithExistingNames(
SemanticModel semanticModel, INamedTypeSymbol tupleType,
SyntaxNode container, CancellationToken cancellationToken)
{
var existingSymbols = GetExistingSymbols(semanticModel, container, cancellationToken);
var reservedNames = semanticModel.LookupSymbols(container.SpanStart)
.Select(s => s.Name)
.Concat(existingSymbols.Select(s => s.Name))
.ToSet();
foreach (var element in tupleType.TupleElements)
{
if (reservedNames.Contains(element.Name))
{
return true;
}
}
return false;
}
private static bool IsViableTupleTypeSyntax(TypeSyntax type)
{
if (type.IsVar)
{
// 'var t' can be converted to 'var (x, y, z)'
return true;
}
if (type.IsKind(SyntaxKind.TupleType, out TupleTypeSyntax tupleType))
{
// '(int x, int y) t' can be convered to '(int x, int y)'. So all the elements
// need names.
foreach (var element in tupleType.Elements)
{
if (element.Identifier.IsKind(SyntaxKind.None))
{
return false;
}
}
return true;
}
return false;
}
private static bool OnlyUsedToAccessTupleFields(
SemanticModel semanticModel, SyntaxNode searchScope, ILocalSymbol local,
ArrayBuilder<MemberAccessExpressionSyntax> memberAccessLocations, CancellationToken cancellationToken)
{
var localName = local.Name;
foreach (var identifierName in searchScope.DescendantNodes().OfType<IdentifierNameSyntax>())
{
if (identifierName.Identifier.ValueText == localName)
{
var symbol = semanticModel.GetSymbolInfo(identifierName, cancellationToken).GetAnySymbol();
if (local.Equals(symbol))
{
if (!(identifierName.Parent is MemberAccessExpressionSyntax memberAccess))
{
// We referenced the local in a location where we're not accessing a
// field off of it. i.e. Console.WriteLine(tupleLocal);
return false;
}
var member = semanticModel.GetSymbolInfo(memberAccess, cancellationToken).GetAnySymbol();
if (!(member is IFieldSymbol field))
{
// Accessed some non-field member of it (like .ToString()).
return false;
}
if (field.IsImplicitlyDeclared)
{
// They're referring to .Item1-.ItemN. We can't update this to refer to the local
return false;
}
memberAccessLocations.Add(memberAccess);
}
}
}
return true;
}
private static IEnumerable<ISymbol> GetExistingSymbols(
SemanticModel semanticModel, SyntaxNode container, CancellationToken cancellationToken)
{
// Ignore an annonymous type property. It's ok if they have a name that
// matches the name of the local we're introducing.
return semanticModel.GetAllDeclaredSymbols(container, cancellationToken)
.Where(s => !s.IsAnonymousTypeProperty() && !s.IsTupleField());
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using Microsoft.CodeAnalysis.CodeStyle;
using Microsoft.CodeAnalysis.CSharp.CodeStyle;
using Microsoft.CodeAnalysis.CSharp.Extensions;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.PooledObjects;
using Microsoft.CodeAnalysis.Shared.Extensions;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.CSharp.UseDeconstruction
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
internal class CSharpUseDeconstructionDiagnosticAnalyzer : AbstractBuiltInCodeStyleDiagnosticAnalyzer
{
public CSharpUseDeconstructionDiagnosticAnalyzer()
: base(IDEDiagnosticIds.UseDeconstructionDiagnosticId,
EnforceOnBuildValues.UseDeconstruction,
CSharpCodeStyleOptions.PreferDeconstructedVariableDeclaration,
LanguageNames.CSharp,
new LocalizableResourceString(nameof(CSharpAnalyzersResources.Deconstruct_variable_declaration), CSharpAnalyzersResources.ResourceManager, typeof(CSharpAnalyzersResources)),
new LocalizableResourceString(nameof(CSharpAnalyzersResources.Variable_declaration_can_be_deconstructed), CSharpAnalyzersResources.ResourceManager, typeof(CSharpAnalyzersResources)))
{
}
public override DiagnosticAnalyzerCategory GetAnalyzerCategory()
=> DiagnosticAnalyzerCategory.SemanticSpanAnalysis;
protected override void InitializeWorker(AnalysisContext context)
{
context.RegisterSyntaxNodeAction(AnalyzeNode,
SyntaxKind.VariableDeclaration, SyntaxKind.ForEachStatement);
}
private void AnalyzeNode(SyntaxNodeAnalysisContext context)
{
var cancellationToken = context.CancellationToken;
var option = context.Options.GetOption(CSharpCodeStyleOptions.PreferDeconstructedVariableDeclaration, context.Node.SyntaxTree, cancellationToken);
if (!option.Value)
{
return;
}
switch (context.Node)
{
case VariableDeclarationSyntax variableDeclaration:
AnalyzeVariableDeclaration(context, variableDeclaration, option.Notification.Severity);
return;
case ForEachStatementSyntax forEachStatement:
AnalyzeForEachStatement(context, forEachStatement, option.Notification.Severity);
return;
}
}
private void AnalyzeVariableDeclaration(
SyntaxNodeAnalysisContext context, VariableDeclarationSyntax variableDeclaration, ReportDiagnostic severity)
{
if (!TryAnalyzeVariableDeclaration(
context.SemanticModel, variableDeclaration, out _,
out _, context.CancellationToken))
{
return;
}
context.ReportDiagnostic(DiagnosticHelper.Create(
Descriptor,
variableDeclaration.Variables[0].Identifier.GetLocation(),
severity,
additionalLocations: null,
properties: null));
}
private void AnalyzeForEachStatement(
SyntaxNodeAnalysisContext context, ForEachStatementSyntax forEachStatement, ReportDiagnostic severity)
{
if (!TryAnalyzeForEachStatement(
context.SemanticModel, forEachStatement, out _,
out _, context.CancellationToken))
{
return;
}
context.ReportDiagnostic(DiagnosticHelper.Create(
Descriptor,
forEachStatement.Identifier.GetLocation(),
severity,
additionalLocations: null,
properties: null));
}
public static bool TryAnalyzeVariableDeclaration(
SemanticModel semanticModel,
VariableDeclarationSyntax variableDeclaration,
out INamedTypeSymbol tupleType,
out ImmutableArray<MemberAccessExpressionSyntax> memberAccessExpressions,
CancellationToken cancellationToken)
{
tupleType = null;
memberAccessExpressions = default;
// Only support code of the form:
//
// var t = ...; or
// (T1 e1, ..., TN eN) t = ...
if (!variableDeclaration.IsParentKind(SyntaxKind.LocalDeclarationStatement))
{
return false;
}
if (variableDeclaration.Variables.Count != 1)
{
return false;
}
var declarator = variableDeclaration.Variables[0];
if (declarator.Initializer == null)
{
return false;
}
var local = (ILocalSymbol)semanticModel.GetDeclaredSymbol(declarator, cancellationToken);
var initializerConversion = semanticModel.GetConversion(declarator.Initializer.Value, cancellationToken);
return TryAnalyze(
semanticModel, local, variableDeclaration.Type, declarator.Identifier, initializerConversion,
variableDeclaration.Parent.Parent, out tupleType, out memberAccessExpressions, cancellationToken);
}
public static bool TryAnalyzeForEachStatement(
SemanticModel semanticModel,
ForEachStatementSyntax forEachStatement,
out INamedTypeSymbol tupleType,
out ImmutableArray<MemberAccessExpressionSyntax> memberAccessExpressions,
CancellationToken cancellationToken)
{
var local = semanticModel.GetDeclaredSymbol(forEachStatement, cancellationToken);
var elementConversion = semanticModel.GetForEachStatementInfo(forEachStatement).ElementConversion;
return TryAnalyze(
semanticModel, local, forEachStatement.Type, forEachStatement.Identifier, elementConversion,
forEachStatement, out tupleType, out memberAccessExpressions, cancellationToken);
}
private static bool TryAnalyze(
SemanticModel semanticModel,
ILocalSymbol local,
TypeSyntax typeNode,
SyntaxToken identifier,
Conversion conversion,
SyntaxNode searchScope,
out INamedTypeSymbol tupleType,
out ImmutableArray<MemberAccessExpressionSyntax> memberAccessExpressions,
CancellationToken cancellationToken)
{
tupleType = null;
memberAccessExpressions = default;
if (identifier.IsMissing)
{
return false;
}
if (!IsViableTupleTypeSyntax(typeNode))
{
return false;
}
if (conversion.Exists &&
!conversion.IsIdentity &&
!conversion.IsTupleConversion &&
!conversion.IsTupleLiteralConversion)
{
// If there is any other conversion, we bail out because the source type might not be a tuple
// or it is a tuple but only thanks to target type inference, which won't occur in a deconstruction.
// Interesting case that illustrates this is initialization with a default literal:
// (int a, int b) t = default;
// This is classified as conversion.IsNullLiteral.
return false;
}
var type = semanticModel.GetTypeInfo(typeNode, cancellationToken).Type;
if (type == null || !type.IsTupleType)
{
return false;
}
tupleType = (INamedTypeSymbol)type;
if (tupleType.TupleElements.Length < 2)
{
return false;
}
// All tuple elements must have been explicitly provided by the user.
foreach (var element in tupleType.TupleElements)
{
if (element.IsImplicitlyDeclared)
{
return false;
}
}
using var _ = ArrayBuilder<MemberAccessExpressionSyntax>.GetInstance(out var references);
// If the user actually uses the tuple local for anything other than accessing
// fields off of it, then we can't deconstruct this tuple into locals.
if (!OnlyUsedToAccessTupleFields(
semanticModel, searchScope, local, references, cancellationToken))
{
return false;
}
// Can only deconstruct the tuple if the names we introduce won't collide
// with anything else in scope (either outside, or inside the method).
if (AnyTupleFieldNamesCollideWithExistingNames(
semanticModel, tupleType, searchScope, cancellationToken))
{
return false;
}
memberAccessExpressions = references.ToImmutable();
return true;
}
private static bool AnyTupleFieldNamesCollideWithExistingNames(
SemanticModel semanticModel, INamedTypeSymbol tupleType,
SyntaxNode container, CancellationToken cancellationToken)
{
var existingSymbols = GetExistingSymbols(semanticModel, container, cancellationToken);
var reservedNames = semanticModel.LookupSymbols(container.SpanStart)
.Select(s => s.Name)
.Concat(existingSymbols.Select(s => s.Name))
.ToSet();
foreach (var element in tupleType.TupleElements)
{
if (reservedNames.Contains(element.Name))
{
return true;
}
}
return false;
}
private static bool IsViableTupleTypeSyntax(TypeSyntax type)
{
if (type.IsVar)
{
// 'var t' can be converted to 'var (x, y, z)'
return true;
}
if (type.IsKind(SyntaxKind.TupleType, out TupleTypeSyntax tupleType))
{
// '(int x, int y) t' can be convered to '(int x, int y)'. So all the elements
// need names.
foreach (var element in tupleType.Elements)
{
if (element.Identifier.IsKind(SyntaxKind.None))
{
return false;
}
}
return true;
}
return false;
}
private static bool OnlyUsedToAccessTupleFields(
SemanticModel semanticModel, SyntaxNode searchScope, ILocalSymbol local,
ArrayBuilder<MemberAccessExpressionSyntax> memberAccessLocations, CancellationToken cancellationToken)
{
var localName = local.Name;
foreach (var identifierName in searchScope.DescendantNodes().OfType<IdentifierNameSyntax>())
{
if (identifierName.Identifier.ValueText == localName)
{
var symbol = semanticModel.GetSymbolInfo(identifierName, cancellationToken).GetAnySymbol();
if (local.Equals(symbol))
{
if (!(identifierName.Parent is MemberAccessExpressionSyntax memberAccess))
{
// We referenced the local in a location where we're not accessing a
// field off of it. i.e. Console.WriteLine(tupleLocal);
return false;
}
var member = semanticModel.GetSymbolInfo(memberAccess, cancellationToken).GetAnySymbol();
if (!(member is IFieldSymbol field))
{
// Accessed some non-field member of it (like .ToString()).
return false;
}
if (field.IsImplicitlyDeclared)
{
// They're referring to .Item1-.ItemN. We can't update this to refer to the local
return false;
}
memberAccessLocations.Add(memberAccess);
}
}
}
return true;
}
private static IEnumerable<ISymbol> GetExistingSymbols(
SemanticModel semanticModel, SyntaxNode container, CancellationToken cancellationToken)
{
// Ignore an annonymous type property. It's ok if they have a name that
// matches the name of the local we're introducing.
return semanticModel.GetAllDeclaredSymbols(container, cancellationToken)
.Where(s => !s.IsAnonymousTypeProperty() && !s.IsTupleField());
}
}
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Compilers/VisualBasic/Portable/Symbols/Source/OverloadingHelper.vb | ' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
Imports System.Diagnostics
Imports Microsoft.CodeAnalysis.PooledObjects
Namespace Microsoft.CodeAnalysis.VisualBasic.Symbols
''' <summary>
''' Function that help implement the overloading rules for VB, in particular the rules
''' for recasing method and property names.
''' </summary>
Friend Module OverloadingHelper
''' <summary>
''' Set the correct metadata name for all overloads of a particular name and symbol kind
''' (must be method or property) inside a container.
'''
''' The rules are as follows:
''' 1) If a method or property overrides one from its base class, its metadata name
''' must match that.
''' 2) If method overloads those in the base (because the Overloads keyword is used), and
''' all metadata names in the base are consistent in case, use that name.
''' 3) All overloads with a class should match, except possibly for overrides. If there is
''' an override or overload from base, use that. Otherwise, use casing of first member in
''' class.
''' </summary>
Public Sub SetMetadataNameForAllOverloads(name As String, kind As SymbolKind, container As NamedTypeSymbol)
Debug.Assert(kind = SymbolKind.Method OrElse kind = SymbolKind.Property)
Dim compilation = container.DeclaringCompilation
Dim overloadedMembers = ArrayBuilder(Of Symbol).GetInstance() ' the set of overloaded symbols.
Dim hasOverloadSpecifier As Boolean = False ' do any overloads have "Overloads" (not counting Overrides)
Dim hasOverrideSpecifier As Boolean = False ' do any overloads have "Overrides"
Dim metadataName As String = Nothing ' the metadata name we have chosen
Try
' Check for overloads or overrides.
' Find all the overloads that we are processing, and if any have "Overloads" or "Overrides"
FindOverloads(name, kind, container, overloadedMembers, hasOverloadSpecifier, hasOverrideSpecifier)
If overloadedMembers.Count = 1 AndAlso Not hasOverloadSpecifier AndAlso Not hasOverrideSpecifier Then
' Quick, common case: one symbol of name in type, no "Overrides" or "Overloads".
' Just use the current name.
overloadedMembers(0).SetMetadataName(overloadedMembers(0).Name)
Return
ElseIf hasOverrideSpecifier Then
' Note: in error conditions (an override didn't exist), this could return Nothing.
' That is dealt with below.
metadataName = SetMetadataNamesOfOverrides(overloadedMembers, compilation)
ElseIf hasOverloadSpecifier Then
metadataName = GetBaseMemberMetadataName(name, kind, container)
End If
If metadataName Is Nothing Then
' We did not get a name from the overrides or base class. Pick the name of the first member
metadataName = NameOfFirstMember(overloadedMembers, compilation)
End If
' We now have the metadata name we want to apply to each non-override member
' (override member names have already been applied)
For Each member In overloadedMembers
If Not (member.IsOverrides AndAlso member.OverriddenMember() IsNot Nothing) Then
member.SetMetadataName(metadataName)
End If
Next
Finally
overloadedMembers.Free()
End Try
End Sub
''' <summary>
''' Collect all overloads in "container" of the given name and kind.
''' Also determine if any have "Overloads" or "Overrides" specifiers.
''' </summary>
Private Sub FindOverloads(name As String,
kind As SymbolKind,
container As NamedTypeSymbol,
overloadsMembers As ArrayBuilder(Of Symbol),
ByRef hasOverloadSpecifier As Boolean,
ByRef hasOverrideSpecifier As Boolean)
For Each member In container.GetMembers(name)
If IsCandidateMember(member, kind) Then
overloadsMembers.Add(member)
If member.IsOverrides Then
hasOverrideSpecifier = True
ElseIf member.IsOverloads Then
hasOverloadSpecifier = True
End If
End If
Next
End Sub
''' <summary>
''' For each member in "overloadedMembers" that is marked Overrides, set its
''' metadata name to be the metadata name of its overridden member. Return the
''' first such name, lexically.
'''
''' Note: can return null if no override member with an actual overridden member was found.
''' </summary>
Private Function SetMetadataNamesOfOverrides(overloadedMembers As ArrayBuilder(Of Symbol), compilation As VisualBasicCompilation) As String
Dim locationOfFirstOverride As Location = Nothing
Dim firstOverrideName As String = Nothing
For Each member In overloadedMembers
If member.IsOverrides Then
Dim overriddenMember As Symbol = member.OverriddenMember()
If overriddenMember IsNot Nothing Then
Dim metadataName As String = overriddenMember.MetadataName
member.SetMetadataName(metadataName)
' Remember the metadata name of the lexically first override
If firstOverrideName Is Nothing OrElse compilation.CompareSourceLocations(member.Locations(0), locationOfFirstOverride) < 0 Then
firstOverrideName = metadataName
locationOfFirstOverride = member.Locations(0)
End If
End If
End If
Next
Return firstOverrideName
End Function
''' <summary>
''' Return the name of the lexically first symbol in "overloadedMembers".
''' </summary>
Private Function NameOfFirstMember(overloadedMembers As ArrayBuilder(Of Symbol), compilation As VisualBasicCompilation) As String
Dim firstName As String = Nothing
Dim locationOfFirstName As Location = Nothing
For Each member In overloadedMembers
Dim memberLocation = member.Locations(0)
If firstName Is Nothing OrElse compilation.CompareSourceLocations(memberLocation, locationOfFirstName) < 0 Then
firstName = member.Name
locationOfFirstName = memberLocation
End If
Next
Return firstName
End Function
''' <summary>
''' Check all accessible, visible members of the base types of container for the given name and kind. If they
''' all have the same case-sensitive metadata name, return that name. Otherwise, return Nothing.
''' </summary>
Private Function GetBaseMemberMetadataName(name As String, kind As SymbolKind, container As NamedTypeSymbol) As String
Dim metadataName As String = Nothing
Dim metadataLocation As Location = Nothing
' We are creating a binder for the first partial declaration, so we can use member lookup to find accessible & visible
' members. For the lookup we are doing, it doesn't matter which partial we use because Imports and Options can't
' affect a lookup that ignores extension methods.
Dim binder = BinderBuilder.CreateBinderForType(DirectCast(container.ContainingModule, SourceModuleSymbol),
container.Locations(0).PossiblyEmbeddedOrMySourceTree(),
container)
Dim result = LookupResult.GetInstance()
binder.LookupMember(result, container, name, 0, LookupOptions.AllMethodsOfAnyArity Or LookupOptions.IgnoreExtensionMethods, useSiteInfo:=CompoundUseSiteInfo(Of AssemblySymbol).Discarded)
If result.IsGoodOrAmbiguous Then
Dim lookupSymbols As ArrayBuilder(Of Symbol) = result.Symbols
If result.Kind = LookupResultKind.Ambiguous AndAlso result.HasDiagnostic AndAlso TypeOf result.Diagnostic Is AmbiguousSymbolDiagnostic Then
lookupSymbols.AddRange(DirectCast(result.Diagnostic, AmbiguousSymbolDiagnostic).AmbiguousSymbols)
End If
For Each foundMember In lookupSymbols
' Go through each member found in a base class or interface
If IsCandidateMember(foundMember, kind) AndAlso foundMember.ContainingType IsNot container Then
If metadataName Is Nothing Then
metadataName = foundMember.MetadataName
Else
' Intentionally using case-sensitive comparison here.
If Not String.Equals(metadataName, foundMember.MetadataName, StringComparison.Ordinal) Then
' We have found two members with conflicting casing of metadata names.
metadataName = Nothing
Exit For
End If
End If
End If
Next
End If
result.Free()
Return metadataName
End Function
Private Function IsCandidateMember(member As Symbol, kind As SymbolKind) As Boolean
Return member.Kind = kind AndAlso Not member.IsAccessor()
End Function
End Module
End Namespace
| ' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
Imports System.Diagnostics
Imports Microsoft.CodeAnalysis.PooledObjects
Namespace Microsoft.CodeAnalysis.VisualBasic.Symbols
''' <summary>
''' Function that help implement the overloading rules for VB, in particular the rules
''' for recasing method and property names.
''' </summary>
Friend Module OverloadingHelper
''' <summary>
''' Set the correct metadata name for all overloads of a particular name and symbol kind
''' (must be method or property) inside a container.
'''
''' The rules are as follows:
''' 1) If a method or property overrides one from its base class, its metadata name
''' must match that.
''' 2) If method overloads those in the base (because the Overloads keyword is used), and
''' all metadata names in the base are consistent in case, use that name.
''' 3) All overloads with a class should match, except possibly for overrides. If there is
''' an override or overload from base, use that. Otherwise, use casing of first member in
''' class.
''' </summary>
Public Sub SetMetadataNameForAllOverloads(name As String, kind As SymbolKind, container As NamedTypeSymbol)
Debug.Assert(kind = SymbolKind.Method OrElse kind = SymbolKind.Property)
Dim compilation = container.DeclaringCompilation
Dim overloadedMembers = ArrayBuilder(Of Symbol).GetInstance() ' the set of overloaded symbols.
Dim hasOverloadSpecifier As Boolean = False ' do any overloads have "Overloads" (not counting Overrides)
Dim hasOverrideSpecifier As Boolean = False ' do any overloads have "Overrides"
Dim metadataName As String = Nothing ' the metadata name we have chosen
Try
' Check for overloads or overrides.
' Find all the overloads that we are processing, and if any have "Overloads" or "Overrides"
FindOverloads(name, kind, container, overloadedMembers, hasOverloadSpecifier, hasOverrideSpecifier)
If overloadedMembers.Count = 1 AndAlso Not hasOverloadSpecifier AndAlso Not hasOverrideSpecifier Then
' Quick, common case: one symbol of name in type, no "Overrides" or "Overloads".
' Just use the current name.
overloadedMembers(0).SetMetadataName(overloadedMembers(0).Name)
Return
ElseIf hasOverrideSpecifier Then
' Note: in error conditions (an override didn't exist), this could return Nothing.
' That is dealt with below.
metadataName = SetMetadataNamesOfOverrides(overloadedMembers, compilation)
ElseIf hasOverloadSpecifier Then
metadataName = GetBaseMemberMetadataName(name, kind, container)
End If
If metadataName Is Nothing Then
' We did not get a name from the overrides or base class. Pick the name of the first member
metadataName = NameOfFirstMember(overloadedMembers, compilation)
End If
' We now have the metadata name we want to apply to each non-override member
' (override member names have already been applied)
For Each member In overloadedMembers
If Not (member.IsOverrides AndAlso member.OverriddenMember() IsNot Nothing) Then
member.SetMetadataName(metadataName)
End If
Next
Finally
overloadedMembers.Free()
End Try
End Sub
''' <summary>
''' Collect all overloads in "container" of the given name and kind.
''' Also determine if any have "Overloads" or "Overrides" specifiers.
''' </summary>
Private Sub FindOverloads(name As String,
kind As SymbolKind,
container As NamedTypeSymbol,
overloadsMembers As ArrayBuilder(Of Symbol),
ByRef hasOverloadSpecifier As Boolean,
ByRef hasOverrideSpecifier As Boolean)
For Each member In container.GetMembers(name)
If IsCandidateMember(member, kind) Then
overloadsMembers.Add(member)
If member.IsOverrides Then
hasOverrideSpecifier = True
ElseIf member.IsOverloads Then
hasOverloadSpecifier = True
End If
End If
Next
End Sub
''' <summary>
''' For each member in "overloadedMembers" that is marked Overrides, set its
''' metadata name to be the metadata name of its overridden member. Return the
''' first such name, lexically.
'''
''' Note: can return null if no override member with an actual overridden member was found.
''' </summary>
Private Function SetMetadataNamesOfOverrides(overloadedMembers As ArrayBuilder(Of Symbol), compilation As VisualBasicCompilation) As String
Dim locationOfFirstOverride As Location = Nothing
Dim firstOverrideName As String = Nothing
For Each member In overloadedMembers
If member.IsOverrides Then
Dim overriddenMember As Symbol = member.OverriddenMember()
If overriddenMember IsNot Nothing Then
Dim metadataName As String = overriddenMember.MetadataName
member.SetMetadataName(metadataName)
' Remember the metadata name of the lexically first override
If firstOverrideName Is Nothing OrElse compilation.CompareSourceLocations(member.Locations(0), locationOfFirstOverride) < 0 Then
firstOverrideName = metadataName
locationOfFirstOverride = member.Locations(0)
End If
End If
End If
Next
Return firstOverrideName
End Function
''' <summary>
''' Return the name of the lexically first symbol in "overloadedMembers".
''' </summary>
Private Function NameOfFirstMember(overloadedMembers As ArrayBuilder(Of Symbol), compilation As VisualBasicCompilation) As String
Dim firstName As String = Nothing
Dim locationOfFirstName As Location = Nothing
For Each member In overloadedMembers
Dim memberLocation = member.Locations(0)
If firstName Is Nothing OrElse compilation.CompareSourceLocations(memberLocation, locationOfFirstName) < 0 Then
firstName = member.Name
locationOfFirstName = memberLocation
End If
Next
Return firstName
End Function
''' <summary>
''' Check all accessible, visible members of the base types of container for the given name and kind. If they
''' all have the same case-sensitive metadata name, return that name. Otherwise, return Nothing.
''' </summary>
Private Function GetBaseMemberMetadataName(name As String, kind As SymbolKind, container As NamedTypeSymbol) As String
Dim metadataName As String = Nothing
Dim metadataLocation As Location = Nothing
' We are creating a binder for the first partial declaration, so we can use member lookup to find accessible & visible
' members. For the lookup we are doing, it doesn't matter which partial we use because Imports and Options can't
' affect a lookup that ignores extension methods.
Dim binder = BinderBuilder.CreateBinderForType(DirectCast(container.ContainingModule, SourceModuleSymbol),
container.Locations(0).PossiblyEmbeddedOrMySourceTree(),
container)
Dim result = LookupResult.GetInstance()
binder.LookupMember(result, container, name, 0, LookupOptions.AllMethodsOfAnyArity Or LookupOptions.IgnoreExtensionMethods, useSiteInfo:=CompoundUseSiteInfo(Of AssemblySymbol).Discarded)
If result.IsGoodOrAmbiguous Then
Dim lookupSymbols As ArrayBuilder(Of Symbol) = result.Symbols
If result.Kind = LookupResultKind.Ambiguous AndAlso result.HasDiagnostic AndAlso TypeOf result.Diagnostic Is AmbiguousSymbolDiagnostic Then
lookupSymbols.AddRange(DirectCast(result.Diagnostic, AmbiguousSymbolDiagnostic).AmbiguousSymbols)
End If
For Each foundMember In lookupSymbols
' Go through each member found in a base class or interface
If IsCandidateMember(foundMember, kind) AndAlso foundMember.ContainingType IsNot container Then
If metadataName Is Nothing Then
metadataName = foundMember.MetadataName
Else
' Intentionally using case-sensitive comparison here.
If Not String.Equals(metadataName, foundMember.MetadataName, StringComparison.Ordinal) Then
' We have found two members with conflicting casing of metadata names.
metadataName = Nothing
Exit For
End If
End If
End If
Next
End If
result.Free()
Return metadataName
End Function
Private Function IsCandidateMember(member As Symbol, kind As SymbolKind) As Boolean
Return member.Kind = kind AndAlso Not member.IsAccessor()
End Function
End Module
End Namespace
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/VisualStudio/Directory.Build.props | <Project>
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />
<PropertyGroup>
<ExcludeFromSourceBuild>true</ExcludeFromSourceBuild>
<!-- Subfolder relative to the root package folder where all servicehub assemblies for .NET Core host are located -->
<ServiceHubCoreSubPath>Core</ServiceHubCoreSubPath>
</PropertyGroup>
</Project>
| <Project>
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />
<PropertyGroup>
<ExcludeFromSourceBuild>true</ExcludeFromSourceBuild>
<!-- Subfolder relative to the root package folder where all servicehub assemblies for .NET Core host are located -->
<ServiceHubCoreSubPath>Core</ServiceHubCoreSubPath>
</PropertyGroup>
</Project>
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/ExpressionEvaluator/Core/Test/ResultProvider/Debugger/Engine/DkmLanguageId.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
#region Assembly Microsoft.VisualStudio.Debugger.Engine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// References\Debugger\v2.0\Microsoft.VisualStudio.Debugger.Engine.dll
#endregion
using System;
namespace Microsoft.VisualStudio.Debugger.Evaluation
{
public static class DkmLanguageId
{
public static Guid Cpp
{
get
{
return new Guid("3A12D0B7-C26C-11D0-B442-00A0244A1DD2");
}
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
#region Assembly Microsoft.VisualStudio.Debugger.Engine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
// References\Debugger\v2.0\Microsoft.VisualStudio.Debugger.Engine.dll
#endregion
using System;
namespace Microsoft.VisualStudio.Debugger.Evaluation
{
public static class DkmLanguageId
{
public static Guid Cpp
{
get
{
return new Guid("3A12D0B7-C26C-11D0-B442-00A0244A1DD2");
}
}
}
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Workspaces/Core/Portable/Shared/Utilities/SignatureComparer.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Collections.Generic;
using System.Linq;
namespace Microsoft.CodeAnalysis.Shared.Utilities
{
internal class SignatureComparer
{
public static readonly SignatureComparer Instance = new(SymbolEquivalenceComparer.Instance);
public static readonly SignatureComparer IgnoreAssembliesInstance = new(SymbolEquivalenceComparer.IgnoreAssembliesInstance);
private readonly SymbolEquivalenceComparer _symbolEquivalenceComparer;
private SignatureComparer(SymbolEquivalenceComparer symbolEquivalenceComparer)
=> _symbolEquivalenceComparer = symbolEquivalenceComparer;
private IEqualityComparer<IParameterSymbol> ParameterEquivalenceComparer => _symbolEquivalenceComparer.ParameterEquivalenceComparer;
private IEqualityComparer<ITypeSymbol> SignatureTypeEquivalenceComparer => _symbolEquivalenceComparer.SignatureTypeEquivalenceComparer;
public bool HaveSameSignature(ISymbol symbol1, ISymbol symbol2, bool caseSensitive)
{
// NOTE - we're deliberately using reference equality here for speed.
if (symbol1 == symbol2)
{
return true;
}
if (symbol1 == null || symbol2 == null)
{
return false;
}
if (symbol1.Kind != symbol2.Kind)
{
return false;
}
switch (symbol1.Kind)
{
case SymbolKind.Method:
return HaveSameSignature((IMethodSymbol)symbol1, (IMethodSymbol)symbol2, caseSensitive);
case SymbolKind.Property:
return HaveSameSignature((IPropertySymbol)symbol1, (IPropertySymbol)symbol2, caseSensitive);
case SymbolKind.Event:
return HaveSameSignature((IEventSymbol)symbol1, (IEventSymbol)symbol2, caseSensitive);
}
return true;
}
private static bool HaveSameSignature(IEventSymbol event1, IEventSymbol event2, bool caseSensitive)
=> IdentifiersMatch(event1.Name, event2.Name, caseSensitive);
public bool HaveSameSignature(IPropertySymbol property1, IPropertySymbol property2, bool caseSensitive)
{
if (!IdentifiersMatch(property1.Name, property2.Name, caseSensitive) ||
property1.Parameters.Length != property2.Parameters.Length ||
property1.IsIndexer != property2.IsIndexer)
{
return false;
}
return property1.Parameters.SequenceEqual(
property2.Parameters,
this.ParameterEquivalenceComparer);
}
private static bool BadPropertyAccessor(IMethodSymbol method1, IMethodSymbol method2)
{
return method1 != null &&
(method2 == null || method2.DeclaredAccessibility != Accessibility.Public);
}
public bool HaveSameSignature(IMethodSymbol method1,
IMethodSymbol method2,
bool caseSensitive,
bool compareParameterName = false,
bool isParameterCaseSensitive = false)
{
if ((method1.MethodKind == MethodKind.AnonymousFunction) !=
(method2.MethodKind == MethodKind.AnonymousFunction))
{
return false;
}
if (method1.MethodKind != MethodKind.AnonymousFunction)
{
if (!IdentifiersMatch(method1.Name, method2.Name, caseSensitive))
{
return false;
}
}
if (method1.MethodKind != method2.MethodKind ||
method1.Arity != method2.Arity)
{
return false;
}
return HaveSameSignature(method1.Parameters, method2.Parameters, compareParameterName, isParameterCaseSensitive);
}
private static bool IdentifiersMatch(string identifier1, string identifier2, bool caseSensitive)
{
return caseSensitive
? identifier1 == identifier2
: string.Equals(identifier1, identifier2, StringComparison.OrdinalIgnoreCase);
}
public bool HaveSameSignature(
IList<IParameterSymbol> parameters1,
IList<IParameterSymbol> parameters2)
{
if (parameters1.Count != parameters2.Count)
{
return false;
}
return parameters1.SequenceEqual(parameters2, this.ParameterEquivalenceComparer);
}
public bool HaveSameSignature(
IList<IParameterSymbol> parameters1,
IList<IParameterSymbol> parameters2,
bool compareParameterName,
bool isCaseSensitive)
{
if (parameters1.Count != parameters2.Count)
{
return false;
}
for (var i = 0; i < parameters1.Count; ++i)
{
if (!_symbolEquivalenceComparer.ParameterEquivalenceComparer.Equals(parameters1[i], parameters2[i], compareParameterName, isCaseSensitive))
{
return false;
}
}
return true;
}
public bool HaveSameSignatureAndConstraintsAndReturnTypeAndAccessors(ISymbol symbol1, ISymbol symbol2, bool caseSensitive)
{
// NOTE - we're deliberately using reference equality here for speed.
if (symbol1 == symbol2)
{
return true;
}
if (!HaveSameSignature(symbol1, symbol2, caseSensitive))
{
return false;
}
switch (symbol1.Kind)
{
case SymbolKind.Method:
var method1 = (IMethodSymbol)symbol1;
var method2 = (IMethodSymbol)symbol2;
return HaveSameSignatureAndConstraintsAndReturnType(method1, method2);
case SymbolKind.Property:
var property1 = (IPropertySymbol)symbol1;
var property2 = (IPropertySymbol)symbol2;
return HaveSameReturnType(property1, property2) && HaveSameAccessors(property1, property2);
case SymbolKind.Event:
var ev1 = (IEventSymbol)symbol1;
var ev2 = (IEventSymbol)symbol2;
return HaveSameReturnType(ev1, ev2);
}
return true;
}
private static bool HaveSameAccessors(IPropertySymbol property1, IPropertySymbol property2)
{
if (property1.ContainingType == null ||
property1.ContainingType.TypeKind == TypeKind.Interface)
{
if (BadPropertyAccessor(property1.GetMethod, property2.GetMethod) ||
BadPropertyAccessor(property1.SetMethod, property2.SetMethod))
{
return false;
}
}
if (property2.ContainingType == null ||
property2.ContainingType.TypeKind == TypeKind.Interface)
{
if (BadPropertyAccessor(property2.GetMethod, property1.GetMethod) ||
BadPropertyAccessor(property2.SetMethod, property1.SetMethod))
{
return false;
}
}
return true;
}
private bool HaveSameSignatureAndConstraintsAndReturnType(IMethodSymbol method1, IMethodSymbol method2)
{
if (method1.ReturnsVoid != method2.ReturnsVoid)
{
return false;
}
if (!method1.ReturnsVoid && !this.SignatureTypeEquivalenceComparer.Equals(method1.ReturnType, method2.ReturnType))
{
return false;
}
for (var i = 0; i < method1.TypeParameters.Length; i++)
{
var typeParameter1 = method1.TypeParameters[i];
var typeParameter2 = method2.TypeParameters[i];
if (!HaveSameConstraints(typeParameter1, typeParameter2))
{
return false;
}
}
return true;
}
private bool HaveSameConstraints(ITypeParameterSymbol typeParameter1, ITypeParameterSymbol typeParameter2)
{
if (typeParameter1.HasConstructorConstraint != typeParameter2.HasConstructorConstraint ||
typeParameter1.HasReferenceTypeConstraint != typeParameter2.HasReferenceTypeConstraint ||
typeParameter1.HasValueTypeConstraint != typeParameter2.HasValueTypeConstraint)
{
return false;
}
if (typeParameter1.ConstraintTypes.Length != typeParameter2.ConstraintTypes.Length)
{
return false;
}
return typeParameter1.ConstraintTypes.SetEquals(
typeParameter2.ConstraintTypes, this.SignatureTypeEquivalenceComparer);
}
private bool HaveSameReturnType(IPropertySymbol property1, IPropertySymbol property2)
=> this.SignatureTypeEquivalenceComparer.Equals(property1.Type, property2.Type);
private bool HaveSameReturnType(IEventSymbol ev1, IEventSymbol ev2)
=> this.SignatureTypeEquivalenceComparer.Equals(ev1.Type, ev2.Type);
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Collections.Generic;
using System.Linq;
namespace Microsoft.CodeAnalysis.Shared.Utilities
{
internal class SignatureComparer
{
public static readonly SignatureComparer Instance = new(SymbolEquivalenceComparer.Instance);
public static readonly SignatureComparer IgnoreAssembliesInstance = new(SymbolEquivalenceComparer.IgnoreAssembliesInstance);
private readonly SymbolEquivalenceComparer _symbolEquivalenceComparer;
private SignatureComparer(SymbolEquivalenceComparer symbolEquivalenceComparer)
=> _symbolEquivalenceComparer = symbolEquivalenceComparer;
private IEqualityComparer<IParameterSymbol> ParameterEquivalenceComparer => _symbolEquivalenceComparer.ParameterEquivalenceComparer;
private IEqualityComparer<ITypeSymbol> SignatureTypeEquivalenceComparer => _symbolEquivalenceComparer.SignatureTypeEquivalenceComparer;
public bool HaveSameSignature(ISymbol symbol1, ISymbol symbol2, bool caseSensitive)
{
// NOTE - we're deliberately using reference equality here for speed.
if (symbol1 == symbol2)
{
return true;
}
if (symbol1 == null || symbol2 == null)
{
return false;
}
if (symbol1.Kind != symbol2.Kind)
{
return false;
}
switch (symbol1.Kind)
{
case SymbolKind.Method:
return HaveSameSignature((IMethodSymbol)symbol1, (IMethodSymbol)symbol2, caseSensitive);
case SymbolKind.Property:
return HaveSameSignature((IPropertySymbol)symbol1, (IPropertySymbol)symbol2, caseSensitive);
case SymbolKind.Event:
return HaveSameSignature((IEventSymbol)symbol1, (IEventSymbol)symbol2, caseSensitive);
}
return true;
}
private static bool HaveSameSignature(IEventSymbol event1, IEventSymbol event2, bool caseSensitive)
=> IdentifiersMatch(event1.Name, event2.Name, caseSensitive);
public bool HaveSameSignature(IPropertySymbol property1, IPropertySymbol property2, bool caseSensitive)
{
if (!IdentifiersMatch(property1.Name, property2.Name, caseSensitive) ||
property1.Parameters.Length != property2.Parameters.Length ||
property1.IsIndexer != property2.IsIndexer)
{
return false;
}
return property1.Parameters.SequenceEqual(
property2.Parameters,
this.ParameterEquivalenceComparer);
}
private static bool BadPropertyAccessor(IMethodSymbol method1, IMethodSymbol method2)
{
return method1 != null &&
(method2 == null || method2.DeclaredAccessibility != Accessibility.Public);
}
public bool HaveSameSignature(IMethodSymbol method1,
IMethodSymbol method2,
bool caseSensitive,
bool compareParameterName = false,
bool isParameterCaseSensitive = false)
{
if ((method1.MethodKind == MethodKind.AnonymousFunction) !=
(method2.MethodKind == MethodKind.AnonymousFunction))
{
return false;
}
if (method1.MethodKind != MethodKind.AnonymousFunction)
{
if (!IdentifiersMatch(method1.Name, method2.Name, caseSensitive))
{
return false;
}
}
if (method1.MethodKind != method2.MethodKind ||
method1.Arity != method2.Arity)
{
return false;
}
return HaveSameSignature(method1.Parameters, method2.Parameters, compareParameterName, isParameterCaseSensitive);
}
private static bool IdentifiersMatch(string identifier1, string identifier2, bool caseSensitive)
{
return caseSensitive
? identifier1 == identifier2
: string.Equals(identifier1, identifier2, StringComparison.OrdinalIgnoreCase);
}
public bool HaveSameSignature(
IList<IParameterSymbol> parameters1,
IList<IParameterSymbol> parameters2)
{
if (parameters1.Count != parameters2.Count)
{
return false;
}
return parameters1.SequenceEqual(parameters2, this.ParameterEquivalenceComparer);
}
public bool HaveSameSignature(
IList<IParameterSymbol> parameters1,
IList<IParameterSymbol> parameters2,
bool compareParameterName,
bool isCaseSensitive)
{
if (parameters1.Count != parameters2.Count)
{
return false;
}
for (var i = 0; i < parameters1.Count; ++i)
{
if (!_symbolEquivalenceComparer.ParameterEquivalenceComparer.Equals(parameters1[i], parameters2[i], compareParameterName, isCaseSensitive))
{
return false;
}
}
return true;
}
public bool HaveSameSignatureAndConstraintsAndReturnTypeAndAccessors(ISymbol symbol1, ISymbol symbol2, bool caseSensitive)
{
// NOTE - we're deliberately using reference equality here for speed.
if (symbol1 == symbol2)
{
return true;
}
if (!HaveSameSignature(symbol1, symbol2, caseSensitive))
{
return false;
}
switch (symbol1.Kind)
{
case SymbolKind.Method:
var method1 = (IMethodSymbol)symbol1;
var method2 = (IMethodSymbol)symbol2;
return HaveSameSignatureAndConstraintsAndReturnType(method1, method2);
case SymbolKind.Property:
var property1 = (IPropertySymbol)symbol1;
var property2 = (IPropertySymbol)symbol2;
return HaveSameReturnType(property1, property2) && HaveSameAccessors(property1, property2);
case SymbolKind.Event:
var ev1 = (IEventSymbol)symbol1;
var ev2 = (IEventSymbol)symbol2;
return HaveSameReturnType(ev1, ev2);
}
return true;
}
private static bool HaveSameAccessors(IPropertySymbol property1, IPropertySymbol property2)
{
if (property1.ContainingType == null ||
property1.ContainingType.TypeKind == TypeKind.Interface)
{
if (BadPropertyAccessor(property1.GetMethod, property2.GetMethod) ||
BadPropertyAccessor(property1.SetMethod, property2.SetMethod))
{
return false;
}
}
if (property2.ContainingType == null ||
property2.ContainingType.TypeKind == TypeKind.Interface)
{
if (BadPropertyAccessor(property2.GetMethod, property1.GetMethod) ||
BadPropertyAccessor(property2.SetMethod, property1.SetMethod))
{
return false;
}
}
return true;
}
private bool HaveSameSignatureAndConstraintsAndReturnType(IMethodSymbol method1, IMethodSymbol method2)
{
if (method1.ReturnsVoid != method2.ReturnsVoid)
{
return false;
}
if (!method1.ReturnsVoid && !this.SignatureTypeEquivalenceComparer.Equals(method1.ReturnType, method2.ReturnType))
{
return false;
}
for (var i = 0; i < method1.TypeParameters.Length; i++)
{
var typeParameter1 = method1.TypeParameters[i];
var typeParameter2 = method2.TypeParameters[i];
if (!HaveSameConstraints(typeParameter1, typeParameter2))
{
return false;
}
}
return true;
}
private bool HaveSameConstraints(ITypeParameterSymbol typeParameter1, ITypeParameterSymbol typeParameter2)
{
if (typeParameter1.HasConstructorConstraint != typeParameter2.HasConstructorConstraint ||
typeParameter1.HasReferenceTypeConstraint != typeParameter2.HasReferenceTypeConstraint ||
typeParameter1.HasValueTypeConstraint != typeParameter2.HasValueTypeConstraint)
{
return false;
}
if (typeParameter1.ConstraintTypes.Length != typeParameter2.ConstraintTypes.Length)
{
return false;
}
return typeParameter1.ConstraintTypes.SetEquals(
typeParameter2.ConstraintTypes, this.SignatureTypeEquivalenceComparer);
}
private bool HaveSameReturnType(IPropertySymbol property1, IPropertySymbol property2)
=> this.SignatureTypeEquivalenceComparer.Equals(property1.Type, property2.Type);
private bool HaveSameReturnType(IEventSymbol ev1, IEventSymbol ev2)
=> this.SignatureTypeEquivalenceComparer.Equals(ev1.Type, ev2.Type);
}
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Compilers/CSharp/Portable/Binder/Binder_Crefs.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.PooledObjects;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.CSharp
{
internal partial class Binder
{
internal ImmutableArray<Symbol> BindCref(CrefSyntax syntax, out Symbol? ambiguityWinner, BindingDiagnosticBag diagnostics)
{
ImmutableArray<Symbol> symbols = BindCrefInternal(syntax, out ambiguityWinner, diagnostics);
Debug.Assert(!symbols.IsDefault, "Prefer empty to null.");
Debug.Assert((symbols.Length > 1) == ((object?)ambiguityWinner != null), "ambiguityWinner should be set iff more than one symbol is returned.");
return symbols;
}
private ImmutableArray<Symbol> BindCrefInternal(CrefSyntax syntax, out Symbol? ambiguityWinner, BindingDiagnosticBag diagnostics)
{
switch (syntax.Kind())
{
case SyntaxKind.TypeCref:
return BindTypeCref((TypeCrefSyntax)syntax, out ambiguityWinner, diagnostics);
case SyntaxKind.QualifiedCref:
return BindQualifiedCref((QualifiedCrefSyntax)syntax, out ambiguityWinner, diagnostics);
case SyntaxKind.NameMemberCref:
case SyntaxKind.IndexerMemberCref:
case SyntaxKind.OperatorMemberCref:
case SyntaxKind.ConversionOperatorMemberCref:
return BindMemberCref((MemberCrefSyntax)syntax, containerOpt: null, ambiguityWinner: out ambiguityWinner, diagnostics: diagnostics);
default:
throw ExceptionUtilities.UnexpectedValue(syntax.Kind());
}
}
private ImmutableArray<Symbol> BindTypeCref(TypeCrefSyntax syntax, out Symbol? ambiguityWinner, BindingDiagnosticBag diagnostics)
{
NamespaceOrTypeSymbol result = BindNamespaceOrTypeSymbolInCref(syntax.Type);
// NOTE: we don't have to worry about the case where a non-error type is constructed
// with erroneous type arguments, because only MemberCrefs have type arguments -
// all other crefs only have type parameters.
if (result.Kind == SymbolKind.ErrorType)
{
var noTrivia = syntax.WithLeadingTrivia(null).WithTrailingTrivia(null);
diagnostics.Add(ErrorCode.WRN_BadXMLRef, syntax.Location, noTrivia.ToFullString());
}
// We'll never have more than one type, but it is conceivable that result could
// be an ExtendedErrorTypeSymbol with multiple candidates.
ambiguityWinner = null;
return ImmutableArray.Create<Symbol>(result);
}
private ImmutableArray<Symbol> BindQualifiedCref(QualifiedCrefSyntax syntax, out Symbol? ambiguityWinner, BindingDiagnosticBag diagnostics)
{
// NOTE: we won't check whether container is an error type - we'll just let BindMemberCref fail
// and report a blanket diagnostic.
NamespaceOrTypeSymbol container = BindNamespaceOrTypeSymbolInCref(syntax.Container);
return BindMemberCref(syntax.Member, container, out ambiguityWinner, diagnostics);
}
/// <summary>
/// We can't use BindNamespaceOrTypeSymbol, since it doesn't return inaccessible symbols (directly).
/// </summary>
/// <remarks>
/// Guaranteed not to return null.
///
/// CONSIDER: As in dev11, we don't handle ambiguity at this level. Hypothetically,
/// we could just pick one, though an "ideal" solution would probably involve a search
/// down all ambiguous branches.
/// </remarks>
private NamespaceOrTypeSymbol BindNamespaceOrTypeSymbolInCref(TypeSyntax syntax)
{
Debug.Assert(Flags.Includes(BinderFlags.Cref));
// BREAK: Dev11 used to do a second lookup, ignoring accessibility, if the first lookup failed.
// VS BUG#3321137: we need to try to find accessible members first
// especially for compiler generated events (the backing field is private
// but has the same name as the public event, and there is no easy way to
// set the isEvent field on imported MEMBVARSYMs)
// Diagnostics that don't prevent us from getting a symbol don't matter - the caller will report
// an umbrella diagnostic if the result is an error type.
NamespaceOrTypeSymbol namespaceOrTypeSymbol = BindNamespaceOrTypeSymbol(syntax, BindingDiagnosticBag.Discarded).NamespaceOrTypeSymbol;
Debug.Assert((object)namespaceOrTypeSymbol != null);
return namespaceOrTypeSymbol;
}
private ImmutableArray<Symbol> BindMemberCref(MemberCrefSyntax syntax, NamespaceOrTypeSymbol? containerOpt, out Symbol? ambiguityWinner, BindingDiagnosticBag diagnostics)
{
if ((object?)containerOpt != null && containerOpt.Kind == SymbolKind.TypeParameter)
{
// As in normal lookup (see CreateErrorIfLookupOnTypeParameter), you can't dot into a type parameter
// (though you can dot into an expression of type parameter type).
CrefSyntax crefSyntax = GetRootCrefSyntax(syntax);
var noTrivia = syntax.WithLeadingTrivia(null).WithTrailingTrivia(null);
diagnostics.Add(ErrorCode.WRN_BadXMLRef, crefSyntax.Location, noTrivia.ToFullString());
ambiguityWinner = null;
return ImmutableArray<Symbol>.Empty;
}
ImmutableArray<Symbol> result;
switch (syntax.Kind())
{
case SyntaxKind.NameMemberCref:
result = BindNameMemberCref((NameMemberCrefSyntax)syntax, containerOpt, out ambiguityWinner, diagnostics);
break;
case SyntaxKind.IndexerMemberCref:
result = BindIndexerMemberCref((IndexerMemberCrefSyntax)syntax, containerOpt, out ambiguityWinner, diagnostics);
break;
case SyntaxKind.OperatorMemberCref:
result = BindOperatorMemberCref((OperatorMemberCrefSyntax)syntax, containerOpt, out ambiguityWinner, diagnostics);
break;
case SyntaxKind.ConversionOperatorMemberCref:
result = BindConversionOperatorMemberCref((ConversionOperatorMemberCrefSyntax)syntax, containerOpt, out ambiguityWinner, diagnostics);
break;
default:
throw ExceptionUtilities.UnexpectedValue(syntax.Kind());
}
if (!result.Any())
{
CrefSyntax crefSyntax = GetRootCrefSyntax(syntax);
var noTrivia = syntax.WithLeadingTrivia(null).WithTrailingTrivia(null);
diagnostics.Add(ErrorCode.WRN_BadXMLRef, crefSyntax.Location, noTrivia.ToFullString());
}
return result;
}
private ImmutableArray<Symbol> BindNameMemberCref(NameMemberCrefSyntax syntax, NamespaceOrTypeSymbol? containerOpt, out Symbol? ambiguityWinner, BindingDiagnosticBag diagnostics)
{
SimpleNameSyntax? nameSyntax = syntax.Name as SimpleNameSyntax;
int arity;
string memberName;
if (nameSyntax != null)
{
arity = nameSyntax.Arity;
memberName = nameSyntax.Identifier.ValueText;
}
else
{
// If the name isn't a SimpleNameSyntax, then we must have a type name followed by a parameter list.
// Thus, we're looking for a constructor.
Debug.Assert((object?)containerOpt == null);
// Could be an error type, but we'll just lookup fail below.
containerOpt = BindNamespaceOrTypeSymbolInCref(syntax.Name);
arity = 0;
memberName = WellKnownMemberNames.InstanceConstructorName;
}
if (string.IsNullOrEmpty(memberName))
{
ambiguityWinner = null;
return ImmutableArray<Symbol>.Empty;
}
ImmutableArray<Symbol> sortedSymbols = ComputeSortedCrefMembers(syntax, containerOpt, memberName, arity, syntax.Parameters != null, diagnostics);
if (sortedSymbols.IsEmpty)
{
ambiguityWinner = null;
return ImmutableArray<Symbol>.Empty;
}
return ProcessCrefMemberLookupResults(
sortedSymbols,
arity,
syntax,
typeArgumentListSyntax: arity == 0 ? null : ((GenericNameSyntax)nameSyntax!).TypeArgumentList,
parameterListSyntax: syntax.Parameters,
ambiguityWinner: out ambiguityWinner,
diagnostics: diagnostics);
}
private ImmutableArray<Symbol> BindIndexerMemberCref(IndexerMemberCrefSyntax syntax, NamespaceOrTypeSymbol? containerOpt, out Symbol? ambiguityWinner, BindingDiagnosticBag diagnostics)
{
const int arity = 0;
ImmutableArray<Symbol> sortedSymbols = ComputeSortedCrefMembers(syntax, containerOpt, WellKnownMemberNames.Indexer, arity, syntax.Parameters != null, diagnostics);
if (sortedSymbols.IsEmpty)
{
ambiguityWinner = null;
return ImmutableArray<Symbol>.Empty;
}
// Since only indexers are named WellKnownMemberNames.Indexer.
Debug.Assert(sortedSymbols.All(SymbolExtensions.IsIndexer));
// NOTE: guaranteed to be a property, because only indexers are considered.
return ProcessCrefMemberLookupResults(
sortedSymbols,
arity,
syntax,
typeArgumentListSyntax: null,
parameterListSyntax: syntax.Parameters,
ambiguityWinner: out ambiguityWinner,
diagnostics: diagnostics);
}
// NOTE: not guaranteed to be a method (e.g. class op_Addition)
// NOTE: constructor fallback logic applies
private ImmutableArray<Symbol> BindOperatorMemberCref(OperatorMemberCrefSyntax syntax, NamespaceOrTypeSymbol? containerOpt, out Symbol? ambiguityWinner, BindingDiagnosticBag diagnostics)
{
const int arity = 0;
CrefParameterListSyntax? parameterListSyntax = syntax.Parameters;
// NOTE: Prefer binary to unary, unless there is exactly one parameter.
// CONSIDER: we're following dev11 by never using a binary operator name if there's
// exactly one parameter, but doing so would allow us to match single-parameter constructors.
SyntaxKind operatorTokenKind = syntax.OperatorToken.Kind();
string? memberName = parameterListSyntax != null && parameterListSyntax.Parameters.Count == 1
? null
: OperatorFacts.BinaryOperatorNameFromSyntaxKindIfAny(operatorTokenKind);
memberName = memberName ?? OperatorFacts.UnaryOperatorNameFromSyntaxKindIfAny(operatorTokenKind);
if (memberName == null)
{
ambiguityWinner = null;
return ImmutableArray<Symbol>.Empty;
}
ImmutableArray<Symbol> sortedSymbols = ComputeSortedCrefMembers(syntax, containerOpt, memberName, arity, syntax.Parameters != null, diagnostics);
if (sortedSymbols.IsEmpty)
{
ambiguityWinner = null;
return ImmutableArray<Symbol>.Empty;
}
return ProcessCrefMemberLookupResults(
sortedSymbols,
arity,
syntax,
typeArgumentListSyntax: null,
parameterListSyntax: parameterListSyntax,
ambiguityWinner: out ambiguityWinner,
diagnostics: diagnostics);
}
// NOTE: not guaranteed to be a method (e.g. class op_Implicit)
private ImmutableArray<Symbol> BindConversionOperatorMemberCref(ConversionOperatorMemberCrefSyntax syntax, NamespaceOrTypeSymbol? containerOpt, out Symbol? ambiguityWinner, BindingDiagnosticBag diagnostics)
{
const int arity = 0;
string memberName = syntax.ImplicitOrExplicitKeyword.Kind() == SyntaxKind.ImplicitKeyword
? WellKnownMemberNames.ImplicitConversionName
: WellKnownMemberNames.ExplicitConversionName;
ImmutableArray<Symbol> sortedSymbols = ComputeSortedCrefMembers(syntax, containerOpt, memberName, arity, syntax.Parameters != null, diagnostics);
if (sortedSymbols.IsEmpty)
{
ambiguityWinner = null;
return ImmutableArray<Symbol>.Empty;
}
TypeSymbol returnType = BindCrefParameterOrReturnType(syntax.Type, syntax, diagnostics);
// Filter out methods with the wrong return type, since overload resolution won't catch these.
sortedSymbols = sortedSymbols.WhereAsArray((symbol, returnType) =>
symbol.Kind != SymbolKind.Method || TypeSymbol.Equals(((MethodSymbol)symbol).ReturnType, returnType, TypeCompareKind.ConsiderEverything2), returnType);
if (!sortedSymbols.Any())
{
ambiguityWinner = null;
return ImmutableArray<Symbol>.Empty;
}
return ProcessCrefMemberLookupResults(
sortedSymbols,
arity,
syntax,
typeArgumentListSyntax: null,
parameterListSyntax: syntax.Parameters,
ambiguityWinner: out ambiguityWinner,
diagnostics: diagnostics);
}
/// <summary>
/// Perform lookup (optionally, in a specified container). If nothing is found and the member name matches the containing type
/// name, then use the instance constructors of the type instead. The resulting symbols are sorted since tie-breaking is based
/// on order and we want cref binding to be repeatable.
/// </summary>
/// <remarks>
/// Never returns null.
/// </remarks>
private ImmutableArray<Symbol> ComputeSortedCrefMembers(CSharpSyntaxNode syntax, NamespaceOrTypeSymbol? containerOpt, string memberName, int arity, bool hasParameterList, BindingDiagnosticBag diagnostics)
{
CompoundUseSiteInfo<AssemblySymbol> useSiteInfo = GetNewCompoundUseSiteInfo(diagnostics);
var result = ComputeSortedCrefMembers(containerOpt, memberName, arity, hasParameterList, ref useSiteInfo);
diagnostics.Add(syntax, useSiteInfo);
return result;
}
private ImmutableArray<Symbol> ComputeSortedCrefMembers(NamespaceOrTypeSymbol? containerOpt, string memberName, int arity, bool hasParameterList, ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo)
{
// Since we may find symbols without going through the lookup API,
// expose the symbols via an ArrayBuilder.
ArrayBuilder<Symbol> builder;
{
LookupResult result = LookupResult.GetInstance();
this.LookupSymbolsOrMembersInternal(
result,
containerOpt,
name: memberName,
arity: arity,
basesBeingResolved: null,
options: LookupOptions.AllMethodsOnArityZero,
diagnose: false,
useSiteInfo: ref useSiteInfo);
// CONSIDER: Dev11 also checks for a constructor in the event of an ambiguous result.
if (result.IsMultiViable)
{
// Dev11 doesn't consider members from System.Object when the container is an interface.
// Lookup should already have dropped such members.
builder = ArrayBuilder<Symbol>.GetInstance();
builder.AddRange(result.Symbols);
result.Free();
}
else
{
result.Free(); // Won't be using this.
// Dev11 has a complicated two-stage process for determining when a cref is really referring to a constructor.
// Under two sets of conditions, XmlDocCommentBinder::bindXMLReferenceName will decide that a name refers
// to a constructor and under one set of conditions, the calling method, XmlDocCommentBinder::bindXMLReference,
// will roll back that decision and return null.
// In XmlDocCommentBinder::bindXMLReferenceName:
// 1) If an unqualified, non-generic name didn't bind to anything and the name matches the name of the type
// to which the doc comment is applied, then bind to a constructor.
// 2) If a qualified, non-generic name didn't bind to anything and the LHS of the qualified name is a type
// with the same name, then bind to a constructor.
// Quoted from XmlDocCommentBinder::bindXMLReference:
// Filtering out the case where specifying the name of a generic type without specifying
// any arity returns a constructor. This case shouldn't return anything. Note that
// returning the constructors was a fix for the wonky constructor behavior, but in order
// to not introduce a regression and breaking change we return NULL in this case.
// e.g.
//
// /// <see cref="Goo"/>
// class Goo<T> { }
//
// This cref used not to bind to anything, because before it was looking for a type and
// since there was no arity, it didn't find Goo<T>. Now however, it finds Goo<T>.ctor,
// which is arguably correct, but would be a breaking change (albeit with minimal impact)
// so we catch this case and chuck out the symbol found.
// In Roslyn, we're doing everything in one pass, rather than guessing and rolling back.
// As in the native compiler, we treat this as a fallback case - something that actually has the
// specified name is preferred.
NamedTypeSymbol? constructorType = null;
if (arity == 0) // Member arity
{
NamedTypeSymbol? containerType = containerOpt as NamedTypeSymbol;
if ((object?)containerType != null)
{
// Case 1: If the name is qualified by a type with the same name, then we want a
// constructor (unless the type is generic, the cref is on/in the type (but not
// on/in a nested type), and there were no parens after the member name).
if (containerType.Name == memberName && (hasParameterList || containerType.Arity == 0 || !TypeSymbol.Equals(this.ContainingType, containerType.OriginalDefinition, TypeCompareKind.ConsiderEverything2)))
{
constructorType = containerType;
}
}
else if ((object?)containerOpt == null && hasParameterList)
{
// Case 2: If the name is not qualified by anything, but we're in the scope
// of a type with the same name (regardless of arity), then we want a constructor,
// as long as there were parens after the member name.
NamedTypeSymbol? binderContainingType = this.ContainingType;
if ((object?)binderContainingType != null && memberName == binderContainingType.Name)
{
constructorType = binderContainingType;
}
}
}
if ((object?)constructorType != null)
{
ImmutableArray<MethodSymbol> instanceConstructors = constructorType.InstanceConstructors;
int numInstanceConstructors = instanceConstructors.Length;
if (numInstanceConstructors == 0)
{
return ImmutableArray<Symbol>.Empty;
}
builder = ArrayBuilder<Symbol>.GetInstance(numInstanceConstructors);
builder.AddRange(instanceConstructors);
}
else
{
return ImmutableArray<Symbol>.Empty;
}
}
}
Debug.Assert(builder != null);
// Since we resolve ambiguities by just picking the first symbol we encounter,
// the order of the symbols matters for repeatability.
if (builder.Count > 1)
{
builder.Sort(ConsistentSymbolOrder.Instance);
}
return builder.ToImmutableAndFree();
}
/// <summary>
/// Given a list of viable lookup results (based on the name, arity, and containing symbol),
/// attempt to select one.
/// </summary>
private ImmutableArray<Symbol> ProcessCrefMemberLookupResults(
ImmutableArray<Symbol> symbols,
int arity,
MemberCrefSyntax memberSyntax,
TypeArgumentListSyntax? typeArgumentListSyntax,
BaseCrefParameterListSyntax? parameterListSyntax,
out Symbol? ambiguityWinner,
BindingDiagnosticBag diagnostics)
{
Debug.Assert(!symbols.IsEmpty);
if (parameterListSyntax == null)
{
return ProcessParameterlessCrefMemberLookupResults(symbols, arity, memberSyntax, typeArgumentListSyntax, out ambiguityWinner, diagnostics);
}
ArrayBuilder<Symbol> candidates = ArrayBuilder<Symbol>.GetInstance();
GetCrefOverloadResolutionCandidates(symbols, arity, typeArgumentListSyntax, candidates);
ImmutableArray<ParameterSymbol> parameterSymbols = BindCrefParameters(parameterListSyntax, diagnostics);
ImmutableArray<Symbol> results = PerformCrefOverloadResolution(candidates, parameterSymbols, arity, memberSyntax, out ambiguityWinner, diagnostics);
candidates.Free();
// NOTE: This diagnostic is just a hint that might help fix a broken cref, so don't do
// any work unless there are no viable candidates.
if (results.Length == 0)
{
for (int i = 0; i < parameterSymbols.Length; i++)
{
if (ContainsNestedTypeOfUnconstructedGenericType(parameterSymbols[i].Type))
{
// This warning is new in Roslyn, because our better-defined semantics for
// cref lookup disallow some things that were possible in dev12.
//
// Consider the following code:
//
// public class C<T>
// {
// public class Inner { }
//
// public void M(Inner i) { }
//
// /// <see cref="M"/>
// /// <see cref="C{T}.M"/>
// /// <see cref="C{Q}.M"/>
// /// <see cref="C{Q}.M(C{Q}.Inner)"/>
// /// <see cref="C{Q}.M(Inner)"/> // WRN_UnqualifiedNestedTypeInCref
// public void N() { }
// }
//
// Dev12 binds all of the crefs as "M:C`1.M(C{`0}.Inner)".
// Roslyn accepts all but the last. The issue is that the context for performing
// the lookup is not C<Q>, but C<T>. Consequently, Inner binds to C<T>.Inner and
// then overload resolution fails because C<T>.Inner does not match C<Q>.Inner,
// the parameter type of C<Q>.M. Since we could not agree that the old behavior
// was desirable (other than for backwards compatibility) and since mimicking it
// would have been expensive, we settled on introducing a new warning that at
// least hints to the user how then can work around the issue (i.e. by qualifying
// Inner as C{Q}.Inner). Additional details are available in DevDiv #743425.
//
// CONSIDER: We could actually put the qualified form in the warning message,
// but that would probably just make it more frustrating (i.e. if the compiler
// knows exactly what I mean, why do I have to type it).
//
// NOTE: This is not a great location (whole parameter instead of problematic type),
// but it's better than nothing.
diagnostics.Add(ErrorCode.WRN_UnqualifiedNestedTypeInCref, parameterListSyntax.Parameters[i].Location);
break;
}
}
}
return results;
}
private static bool ContainsNestedTypeOfUnconstructedGenericType(TypeSymbol type)
{
switch (type.TypeKind)
{
case TypeKind.Array:
return ContainsNestedTypeOfUnconstructedGenericType(((ArrayTypeSymbol)type).ElementType);
case TypeKind.Pointer:
return ContainsNestedTypeOfUnconstructedGenericType(((PointerTypeSymbol)type).PointedAtType);
case TypeKind.FunctionPointer:
MethodSymbol signature = ((FunctionPointerTypeSymbol)type).Signature;
if (ContainsNestedTypeOfUnconstructedGenericType(signature.ReturnType))
{
return true;
}
foreach (var param in signature.Parameters)
{
if (ContainsNestedTypeOfUnconstructedGenericType(param.Type))
{
return true;
}
}
return false;
case TypeKind.Delegate:
case TypeKind.Class:
case TypeKind.Interface:
case TypeKind.Struct:
case TypeKind.Enum:
case TypeKind.Error:
NamedTypeSymbol namedType = (NamedTypeSymbol)type;
if (IsNestedTypeOfUnconstructedGenericType(namedType))
{
return true;
}
foreach (TypeWithAnnotations typeArgument in namedType.TypeArgumentsWithAnnotationsNoUseSiteDiagnostics)
{
if (ContainsNestedTypeOfUnconstructedGenericType(typeArgument.Type))
{
return true;
}
}
return false;
case TypeKind.Dynamic:
case TypeKind.TypeParameter:
return false;
default:
throw ExceptionUtilities.UnexpectedValue(type.TypeKind);
}
}
private static bool IsNestedTypeOfUnconstructedGenericType(NamedTypeSymbol type)
{
NamedTypeSymbol containing = type.ContainingType;
while ((object)containing != null)
{
if (containing.Arity > 0 && containing.IsDefinition)
{
return true;
}
containing = containing.ContainingType;
}
return false;
}
/// <summary>
/// At this point, we have a list of viable symbols and no parameter list with which to perform
/// overload resolution. We'll just return the first symbol, giving a diagnostic if there are
/// others.
/// Caveat: If there are multiple candidates and only one is from source, then the source symbol
/// wins and no diagnostic is reported.
/// </summary>
private ImmutableArray<Symbol> ProcessParameterlessCrefMemberLookupResults(
ImmutableArray<Symbol> symbols,
int arity,
MemberCrefSyntax memberSyntax,
TypeArgumentListSyntax? typeArgumentListSyntax,
out Symbol? ambiguityWinner,
BindingDiagnosticBag diagnostics)
{
// If the syntax indicates arity zero, then we match methods of any arity.
// However, if there are both generic and non-generic methods, then the
// generic methods should be ignored.
if (symbols.Length > 1 && arity == 0)
{
bool hasNonGenericMethod = false;
bool hasGenericMethod = false;
foreach (Symbol s in symbols)
{
if (s.Kind != SymbolKind.Method)
{
continue;
}
if (((MethodSymbol)s).Arity == 0)
{
hasNonGenericMethod = true;
}
else
{
hasGenericMethod = true;
}
if (hasGenericMethod && hasNonGenericMethod)
{
break; //Nothing else to be learned.
}
}
if (hasNonGenericMethod && hasGenericMethod)
{
symbols = symbols.WhereAsArray(s =>
s.Kind != SymbolKind.Method || ((MethodSymbol)s).Arity == 0);
}
}
Debug.Assert(!symbols.IsEmpty);
Symbol symbol = symbols[0];
// If there's ambiguity, prefer source symbols.
// Logic is similar to ResultSymbol, but separate because the error handling is totally different.
if (symbols.Length > 1)
{
// Size is known, but IndexOfSymbolFromCurrentCompilation expects a builder.
ArrayBuilder<Symbol> unwrappedSymbols = ArrayBuilder<Symbol>.GetInstance(symbols.Length);
foreach (Symbol wrapped in symbols)
{
unwrappedSymbols.Add(UnwrapAliasNoDiagnostics(wrapped));
}
BestSymbolInfo secondBest;
BestSymbolInfo best = GetBestSymbolInfo(unwrappedSymbols, out secondBest);
Debug.Assert(!best.IsNone);
Debug.Assert(!secondBest.IsNone);
unwrappedSymbols.Free();
int symbolIndex = 0;
if (best.IsFromCompilation)
{
symbolIndex = best.Index;
symbol = symbols[symbolIndex]; // NOTE: symbols, not unwrappedSymbols.
}
if (symbol.Kind == SymbolKind.TypeParameter)
{
CrefSyntax crefSyntax = GetRootCrefSyntax(memberSyntax);
diagnostics.Add(ErrorCode.WRN_BadXMLRefTypeVar, crefSyntax.Location, crefSyntax.ToString());
}
else if (secondBest.IsFromCompilation == best.IsFromCompilation)
{
CrefSyntax crefSyntax = GetRootCrefSyntax(memberSyntax);
int otherIndex = symbolIndex == 0 ? 1 : 0;
diagnostics.Add(ErrorCode.WRN_AmbiguousXMLReference, crefSyntax.Location, crefSyntax.ToString(), symbol, symbols[otherIndex]);
ambiguityWinner = ConstructWithCrefTypeParameters(arity, typeArgumentListSyntax, symbol);
return symbols.SelectAsArray(sym => ConstructWithCrefTypeParameters(arity, typeArgumentListSyntax, sym));
}
}
else if (symbol.Kind == SymbolKind.TypeParameter)
{
CrefSyntax crefSyntax = GetRootCrefSyntax(memberSyntax);
diagnostics.Add(ErrorCode.WRN_BadXMLRefTypeVar, crefSyntax.Location, crefSyntax.ToString());
}
ambiguityWinner = null;
return ImmutableArray.Create<Symbol>(ConstructWithCrefTypeParameters(arity, typeArgumentListSyntax, symbol));
}
/// <summary>
/// Replace any named type in the symbol list with its instance constructors.
/// Construct all candidates with the implicitly-declared CrefTypeParameterSymbols.
/// </summary>
private void GetCrefOverloadResolutionCandidates(ImmutableArray<Symbol> symbols, int arity, TypeArgumentListSyntax? typeArgumentListSyntax, ArrayBuilder<Symbol> candidates)
{
foreach (Symbol candidate in symbols)
{
Symbol constructedCandidate = ConstructWithCrefTypeParameters(arity, typeArgumentListSyntax, candidate);
NamedTypeSymbol? constructedCandidateType = constructedCandidate as NamedTypeSymbol;
if ((object?)constructedCandidateType == null)
{
// Construct before overload resolution so the signatures will match.
candidates.Add(constructedCandidate);
}
else
{
candidates.AddRange(constructedCandidateType.InstanceConstructors);
}
}
}
/// <summary>
/// Given a list of method and/or property candidates, choose the first one (if any) with a signature
/// that matches the parameter list in the cref. Return null if there isn't one.
/// </summary>
/// <remarks>
/// Produces a diagnostic for ambiguous matches, but not for unresolved members - WRN_BadXMLRef is
/// handled in BindMemberCref.
/// </remarks>
private static ImmutableArray<Symbol> PerformCrefOverloadResolution(ArrayBuilder<Symbol> candidates, ImmutableArray<ParameterSymbol> parameterSymbols, int arity, MemberCrefSyntax memberSyntax, out Symbol? ambiguityWinner, BindingDiagnosticBag diagnostics)
{
ArrayBuilder<Symbol>? viable = null;
foreach (Symbol candidate in candidates)
{
// BREAK: In dev11, any candidate with the type "dynamic" anywhere in its parameter list would be skipped
// (see XmlDocCommentBinder::bindXmlReference). Apparently, this was because "the params that the xml doc
// comments produce never will." This does not appear to have made sense in dev11 (skipping dropping the
// candidate doesn't cause anything to blow up and may cause resolution to start succeeding) and it almost
// certainly does not in roslyn (the signature comparer ignores the object-dynamic distinction anyway).
Symbol signatureMember;
switch (candidate.Kind)
{
case SymbolKind.Method:
{
MethodSymbol candidateMethod = (MethodSymbol)candidate;
MethodKind candidateMethodKind = candidateMethod.MethodKind;
bool candidateMethodIsVararg = candidateMethod.IsVararg;
// If the arity from the cref is zero, then we accept methods of any arity.
int signatureMemberArity = candidateMethodKind == MethodKind.Constructor
? 0
: (arity == 0 ? candidateMethod.Arity : arity);
// CONSIDER: we might want to reuse this method symbol (as long as the MethodKind and Vararg-ness match).
signatureMember = new SignatureOnlyMethodSymbol(
methodKind: candidateMethodKind,
typeParameters: IndexedTypeParameterSymbol.TakeSymbols(signatureMemberArity),
parameters: parameterSymbols,
// This specific comparer only looks for varargs.
callingConvention: candidateMethodIsVararg ? Microsoft.Cci.CallingConvention.ExtraArguments : Microsoft.Cci.CallingConvention.HasThis,
// These are ignored by this specific MemberSignatureComparer.
containingType: null,
name: null,
refKind: RefKind.None,
isInitOnly: false,
isStatic: false,
returnType: default,
refCustomModifiers: ImmutableArray<CustomModifier>.Empty,
explicitInterfaceImplementations: ImmutableArray<MethodSymbol>.Empty);
break;
}
case SymbolKind.Property:
{
// CONSIDER: we might want to reuse this property symbol.
signatureMember = new SignatureOnlyPropertySymbol(
parameters: parameterSymbols,
// These are ignored by this specific MemberSignatureComparer.
containingType: null,
name: null,
refKind: RefKind.None,
type: default,
refCustomModifiers: ImmutableArray<CustomModifier>.Empty,
isStatic: false,
explicitInterfaceImplementations: ImmutableArray<PropertySymbol>.Empty);
break;
}
case SymbolKind.NamedType:
// Because we replaced them with constructors when we built the candidate list.
throw ExceptionUtilities.UnexpectedValue(candidate.Kind);
default:
continue;
}
if (MemberSignatureComparer.CrefComparer.Equals(signatureMember, candidate))
{
Debug.Assert(candidate.GetMemberArity() != 0 || candidate.Name == WellKnownMemberNames.InstanceConstructorName || arity == 0,
"Can only have a 0-arity, non-constructor candidate if the desired arity is 0.");
if (viable == null)
{
viable = ArrayBuilder<Symbol>.GetInstance();
viable.Add(candidate);
}
else
{
bool oldArityIsZero = viable[0].GetMemberArity() == 0;
bool newArityIsZero = candidate.GetMemberArity() == 0;
// If the cref specified arity 0 and the current candidate has arity 0 but the previous
// match did not, then the current candidate is the unambiguous winner (unless there's
// another match with arity 0 in a subsequent iteration).
if (!oldArityIsZero || newArityIsZero)
{
if (!oldArityIsZero && newArityIsZero)
{
viable.Clear();
}
viable.Add(candidate);
}
}
}
}
if (viable == null)
{
ambiguityWinner = null;
return ImmutableArray<Symbol>.Empty;
}
if (viable.Count > 1)
{
ambiguityWinner = viable[0];
CrefSyntax crefSyntax = GetRootCrefSyntax(memberSyntax);
diagnostics.Add(ErrorCode.WRN_AmbiguousXMLReference, crefSyntax.Location, crefSyntax.ToString(), ambiguityWinner, viable[1]);
}
else
{
ambiguityWinner = null;
}
return viable.ToImmutableAndFree();
}
/// <summary>
/// If the member is generic, construct it with the CrefTypeParameterSymbols that should be in scope.
/// </summary>
private Symbol ConstructWithCrefTypeParameters(int arity, TypeArgumentListSyntax? typeArgumentListSyntax, Symbol symbol)
{
if (arity > 0)
{
Debug.Assert(typeArgumentListSyntax is object);
SeparatedSyntaxList<TypeSyntax> typeArgumentSyntaxes = typeArgumentListSyntax.Arguments;
var typeArgumentsWithAnnotations = ArrayBuilder<TypeWithAnnotations>.GetInstance(arity);
var unusedDiagnostics =
#if DEBUG
new BindingDiagnosticBag(DiagnosticBag.GetInstance());
Debug.Assert(unusedDiagnostics.DiagnosticBag is object);
#else
BindingDiagnosticBag.Discarded;
#endif
for (int i = 0; i < arity; i++)
{
TypeSyntax typeArgumentSyntax = typeArgumentSyntaxes[i];
var typeArgument = BindType(typeArgumentSyntax, unusedDiagnostics);
typeArgumentsWithAnnotations.Add(typeArgument);
// Should be in a WithCrefTypeParametersBinder.
Debug.Assert(typeArgumentSyntax.ContainsDiagnostics || !typeArgumentSyntax.SyntaxTree.ReportDocumentationCommentDiagnostics() ||
(!unusedDiagnostics.HasAnyErrors() && typeArgument.Type is CrefTypeParameterSymbol));
#if DEBUG
unusedDiagnostics.DiagnosticBag.Clear();
#endif
}
#if DEBUG
unusedDiagnostics.DiagnosticBag.Free();
#endif
if (symbol.Kind == SymbolKind.Method)
{
symbol = ((MethodSymbol)symbol).Construct(typeArgumentsWithAnnotations.ToImmutableAndFree());
}
else
{
Debug.Assert(symbol is NamedTypeSymbol);
symbol = ((NamedTypeSymbol)symbol).Construct(typeArgumentsWithAnnotations.ToImmutableAndFree());
}
}
return symbol;
}
private ImmutableArray<ParameterSymbol> BindCrefParameters(BaseCrefParameterListSyntax parameterListSyntax, BindingDiagnosticBag diagnostics)
{
ArrayBuilder<ParameterSymbol> parameterBuilder = ArrayBuilder<ParameterSymbol>.GetInstance(parameterListSyntax.Parameters.Count);
foreach (CrefParameterSyntax parameter in parameterListSyntax.Parameters)
{
RefKind refKind = parameter.RefKindKeyword.Kind().GetRefKind();
Debug.Assert(parameterListSyntax.Parent is object);
TypeSymbol type = BindCrefParameterOrReturnType(parameter.Type, (MemberCrefSyntax)parameterListSyntax.Parent, diagnostics);
parameterBuilder.Add(new SignatureOnlyParameterSymbol(TypeWithAnnotations.Create(type), ImmutableArray<CustomModifier>.Empty, isParams: false, refKind: refKind));
}
return parameterBuilder.ToImmutableAndFree();
}
/// <remarks>
/// Keep in sync with CSharpSemanticModel.GetSpeculativelyBoundExpressionWithoutNullability.
/// </remarks>
private TypeSymbol BindCrefParameterOrReturnType(TypeSyntax typeSyntax, MemberCrefSyntax memberCrefSyntax, BindingDiagnosticBag diagnostics)
{
// After much deliberation, we eventually decided to suppress lookup of inherited members within
// crefs, in order to match dev11's behavior (Changeset #829014). Unfortunately, it turns out
// that dev11 does not suppress these members when performing lookup within parameter and return
// types, within crefs (DevDiv #586815, #598371).
Debug.Assert(InCrefButNotParameterOrReturnType);
Binder parameterOrReturnTypeBinder = this.WithAdditionalFlags(BinderFlags.CrefParameterOrReturnType);
// It would be nice to pull this binder out of the factory so we wouldn't have to worry about them getting out
// of sync, but this code is also used for included crefs, which don't have BinderFactories.
// As a compromise, we'll assert that the binding locations match in scenarios where we can go through the factory.
Debug.Assert(!this.Compilation.ContainsSyntaxTree(typeSyntax.SyntaxTree) ||
this.Compilation.GetBinderFactory(typeSyntax.SyntaxTree).GetBinder(typeSyntax).Flags ==
(parameterOrReturnTypeBinder.Flags & ~BinderFlags.SemanticModel));
var localDiagnostics = new BindingDiagnosticBag(DiagnosticBag.GetInstance(), // Examined, but not reported.
diagnostics.DependenciesBag);
Debug.Assert(localDiagnostics.DiagnosticBag is object);
TypeSymbol type = parameterOrReturnTypeBinder.BindType(typeSyntax, localDiagnostics).Type;
if (localDiagnostics.HasAnyErrors())
{
if (HasNonObsoleteError(localDiagnostics.DiagnosticBag))
{
Debug.Assert(typeSyntax.Parent is object);
ErrorCode code = typeSyntax.Parent.Kind() == SyntaxKind.ConversionOperatorMemberCref
? ErrorCode.WRN_BadXMLRefReturnType
: ErrorCode.WRN_BadXMLRefParamType;
CrefSyntax crefSyntax = GetRootCrefSyntax(memberCrefSyntax);
diagnostics.Add(code, typeSyntax.Location, typeSyntax.ToString(), crefSyntax.ToString());
}
}
else
{
Debug.Assert(type.TypeKind != TypeKind.Error || typeSyntax.ContainsDiagnostics || !typeSyntax.SyntaxTree.ReportDocumentationCommentDiagnostics(), "Why wasn't there a diagnostic?");
}
localDiagnostics.DiagnosticBag.Free();
return type;
}
private static bool HasNonObsoleteError(DiagnosticBag unusedDiagnostics)
{
foreach (Diagnostic diag in unusedDiagnostics.AsEnumerable())
{
// CONSIDER: If this check is too slow, we could add a helper to DiagnosticBag
// that checks for unrealized diagnostics without expanding them.
switch ((ErrorCode)diag.Code)
{
case ErrorCode.ERR_DeprecatedSymbolStr:
case ErrorCode.ERR_DeprecatedCollectionInitAddStr:
break;
default:
if (diag.Severity == DiagnosticSeverity.Error)
{
return true;
}
break;
}
}
return false;
}
private static CrefSyntax GetRootCrefSyntax(MemberCrefSyntax syntax)
{
SyntaxNode? parentSyntax = syntax.Parent; // Could be null when speculating.
return parentSyntax == null || parentSyntax.IsKind(SyntaxKind.XmlCrefAttribute)
? syntax
: (CrefSyntax)parentSyntax;
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.PooledObjects;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.CSharp
{
internal partial class Binder
{
internal ImmutableArray<Symbol> BindCref(CrefSyntax syntax, out Symbol? ambiguityWinner, BindingDiagnosticBag diagnostics)
{
ImmutableArray<Symbol> symbols = BindCrefInternal(syntax, out ambiguityWinner, diagnostics);
Debug.Assert(!symbols.IsDefault, "Prefer empty to null.");
Debug.Assert((symbols.Length > 1) == ((object?)ambiguityWinner != null), "ambiguityWinner should be set iff more than one symbol is returned.");
return symbols;
}
private ImmutableArray<Symbol> BindCrefInternal(CrefSyntax syntax, out Symbol? ambiguityWinner, BindingDiagnosticBag diagnostics)
{
switch (syntax.Kind())
{
case SyntaxKind.TypeCref:
return BindTypeCref((TypeCrefSyntax)syntax, out ambiguityWinner, diagnostics);
case SyntaxKind.QualifiedCref:
return BindQualifiedCref((QualifiedCrefSyntax)syntax, out ambiguityWinner, diagnostics);
case SyntaxKind.NameMemberCref:
case SyntaxKind.IndexerMemberCref:
case SyntaxKind.OperatorMemberCref:
case SyntaxKind.ConversionOperatorMemberCref:
return BindMemberCref((MemberCrefSyntax)syntax, containerOpt: null, ambiguityWinner: out ambiguityWinner, diagnostics: diagnostics);
default:
throw ExceptionUtilities.UnexpectedValue(syntax.Kind());
}
}
private ImmutableArray<Symbol> BindTypeCref(TypeCrefSyntax syntax, out Symbol? ambiguityWinner, BindingDiagnosticBag diagnostics)
{
NamespaceOrTypeSymbol result = BindNamespaceOrTypeSymbolInCref(syntax.Type);
// NOTE: we don't have to worry about the case where a non-error type is constructed
// with erroneous type arguments, because only MemberCrefs have type arguments -
// all other crefs only have type parameters.
if (result.Kind == SymbolKind.ErrorType)
{
var noTrivia = syntax.WithLeadingTrivia(null).WithTrailingTrivia(null);
diagnostics.Add(ErrorCode.WRN_BadXMLRef, syntax.Location, noTrivia.ToFullString());
}
// We'll never have more than one type, but it is conceivable that result could
// be an ExtendedErrorTypeSymbol with multiple candidates.
ambiguityWinner = null;
return ImmutableArray.Create<Symbol>(result);
}
private ImmutableArray<Symbol> BindQualifiedCref(QualifiedCrefSyntax syntax, out Symbol? ambiguityWinner, BindingDiagnosticBag diagnostics)
{
// NOTE: we won't check whether container is an error type - we'll just let BindMemberCref fail
// and report a blanket diagnostic.
NamespaceOrTypeSymbol container = BindNamespaceOrTypeSymbolInCref(syntax.Container);
return BindMemberCref(syntax.Member, container, out ambiguityWinner, diagnostics);
}
/// <summary>
/// We can't use BindNamespaceOrTypeSymbol, since it doesn't return inaccessible symbols (directly).
/// </summary>
/// <remarks>
/// Guaranteed not to return null.
///
/// CONSIDER: As in dev11, we don't handle ambiguity at this level. Hypothetically,
/// we could just pick one, though an "ideal" solution would probably involve a search
/// down all ambiguous branches.
/// </remarks>
private NamespaceOrTypeSymbol BindNamespaceOrTypeSymbolInCref(TypeSyntax syntax)
{
Debug.Assert(Flags.Includes(BinderFlags.Cref));
// BREAK: Dev11 used to do a second lookup, ignoring accessibility, if the first lookup failed.
// VS BUG#3321137: we need to try to find accessible members first
// especially for compiler generated events (the backing field is private
// but has the same name as the public event, and there is no easy way to
// set the isEvent field on imported MEMBVARSYMs)
// Diagnostics that don't prevent us from getting a symbol don't matter - the caller will report
// an umbrella diagnostic if the result is an error type.
NamespaceOrTypeSymbol namespaceOrTypeSymbol = BindNamespaceOrTypeSymbol(syntax, BindingDiagnosticBag.Discarded).NamespaceOrTypeSymbol;
Debug.Assert((object)namespaceOrTypeSymbol != null);
return namespaceOrTypeSymbol;
}
private ImmutableArray<Symbol> BindMemberCref(MemberCrefSyntax syntax, NamespaceOrTypeSymbol? containerOpt, out Symbol? ambiguityWinner, BindingDiagnosticBag diagnostics)
{
if ((object?)containerOpt != null && containerOpt.Kind == SymbolKind.TypeParameter)
{
// As in normal lookup (see CreateErrorIfLookupOnTypeParameter), you can't dot into a type parameter
// (though you can dot into an expression of type parameter type).
CrefSyntax crefSyntax = GetRootCrefSyntax(syntax);
var noTrivia = syntax.WithLeadingTrivia(null).WithTrailingTrivia(null);
diagnostics.Add(ErrorCode.WRN_BadXMLRef, crefSyntax.Location, noTrivia.ToFullString());
ambiguityWinner = null;
return ImmutableArray<Symbol>.Empty;
}
ImmutableArray<Symbol> result;
switch (syntax.Kind())
{
case SyntaxKind.NameMemberCref:
result = BindNameMemberCref((NameMemberCrefSyntax)syntax, containerOpt, out ambiguityWinner, diagnostics);
break;
case SyntaxKind.IndexerMemberCref:
result = BindIndexerMemberCref((IndexerMemberCrefSyntax)syntax, containerOpt, out ambiguityWinner, diagnostics);
break;
case SyntaxKind.OperatorMemberCref:
result = BindOperatorMemberCref((OperatorMemberCrefSyntax)syntax, containerOpt, out ambiguityWinner, diagnostics);
break;
case SyntaxKind.ConversionOperatorMemberCref:
result = BindConversionOperatorMemberCref((ConversionOperatorMemberCrefSyntax)syntax, containerOpt, out ambiguityWinner, diagnostics);
break;
default:
throw ExceptionUtilities.UnexpectedValue(syntax.Kind());
}
if (!result.Any())
{
CrefSyntax crefSyntax = GetRootCrefSyntax(syntax);
var noTrivia = syntax.WithLeadingTrivia(null).WithTrailingTrivia(null);
diagnostics.Add(ErrorCode.WRN_BadXMLRef, crefSyntax.Location, noTrivia.ToFullString());
}
return result;
}
private ImmutableArray<Symbol> BindNameMemberCref(NameMemberCrefSyntax syntax, NamespaceOrTypeSymbol? containerOpt, out Symbol? ambiguityWinner, BindingDiagnosticBag diagnostics)
{
SimpleNameSyntax? nameSyntax = syntax.Name as SimpleNameSyntax;
int arity;
string memberName;
if (nameSyntax != null)
{
arity = nameSyntax.Arity;
memberName = nameSyntax.Identifier.ValueText;
}
else
{
// If the name isn't a SimpleNameSyntax, then we must have a type name followed by a parameter list.
// Thus, we're looking for a constructor.
Debug.Assert((object?)containerOpt == null);
// Could be an error type, but we'll just lookup fail below.
containerOpt = BindNamespaceOrTypeSymbolInCref(syntax.Name);
arity = 0;
memberName = WellKnownMemberNames.InstanceConstructorName;
}
if (string.IsNullOrEmpty(memberName))
{
ambiguityWinner = null;
return ImmutableArray<Symbol>.Empty;
}
ImmutableArray<Symbol> sortedSymbols = ComputeSortedCrefMembers(syntax, containerOpt, memberName, arity, syntax.Parameters != null, diagnostics);
if (sortedSymbols.IsEmpty)
{
ambiguityWinner = null;
return ImmutableArray<Symbol>.Empty;
}
return ProcessCrefMemberLookupResults(
sortedSymbols,
arity,
syntax,
typeArgumentListSyntax: arity == 0 ? null : ((GenericNameSyntax)nameSyntax!).TypeArgumentList,
parameterListSyntax: syntax.Parameters,
ambiguityWinner: out ambiguityWinner,
diagnostics: diagnostics);
}
private ImmutableArray<Symbol> BindIndexerMemberCref(IndexerMemberCrefSyntax syntax, NamespaceOrTypeSymbol? containerOpt, out Symbol? ambiguityWinner, BindingDiagnosticBag diagnostics)
{
const int arity = 0;
ImmutableArray<Symbol> sortedSymbols = ComputeSortedCrefMembers(syntax, containerOpt, WellKnownMemberNames.Indexer, arity, syntax.Parameters != null, diagnostics);
if (sortedSymbols.IsEmpty)
{
ambiguityWinner = null;
return ImmutableArray<Symbol>.Empty;
}
// Since only indexers are named WellKnownMemberNames.Indexer.
Debug.Assert(sortedSymbols.All(SymbolExtensions.IsIndexer));
// NOTE: guaranteed to be a property, because only indexers are considered.
return ProcessCrefMemberLookupResults(
sortedSymbols,
arity,
syntax,
typeArgumentListSyntax: null,
parameterListSyntax: syntax.Parameters,
ambiguityWinner: out ambiguityWinner,
diagnostics: diagnostics);
}
// NOTE: not guaranteed to be a method (e.g. class op_Addition)
// NOTE: constructor fallback logic applies
private ImmutableArray<Symbol> BindOperatorMemberCref(OperatorMemberCrefSyntax syntax, NamespaceOrTypeSymbol? containerOpt, out Symbol? ambiguityWinner, BindingDiagnosticBag diagnostics)
{
const int arity = 0;
CrefParameterListSyntax? parameterListSyntax = syntax.Parameters;
// NOTE: Prefer binary to unary, unless there is exactly one parameter.
// CONSIDER: we're following dev11 by never using a binary operator name if there's
// exactly one parameter, but doing so would allow us to match single-parameter constructors.
SyntaxKind operatorTokenKind = syntax.OperatorToken.Kind();
string? memberName = parameterListSyntax != null && parameterListSyntax.Parameters.Count == 1
? null
: OperatorFacts.BinaryOperatorNameFromSyntaxKindIfAny(operatorTokenKind);
memberName = memberName ?? OperatorFacts.UnaryOperatorNameFromSyntaxKindIfAny(operatorTokenKind);
if (memberName == null)
{
ambiguityWinner = null;
return ImmutableArray<Symbol>.Empty;
}
ImmutableArray<Symbol> sortedSymbols = ComputeSortedCrefMembers(syntax, containerOpt, memberName, arity, syntax.Parameters != null, diagnostics);
if (sortedSymbols.IsEmpty)
{
ambiguityWinner = null;
return ImmutableArray<Symbol>.Empty;
}
return ProcessCrefMemberLookupResults(
sortedSymbols,
arity,
syntax,
typeArgumentListSyntax: null,
parameterListSyntax: parameterListSyntax,
ambiguityWinner: out ambiguityWinner,
diagnostics: diagnostics);
}
// NOTE: not guaranteed to be a method (e.g. class op_Implicit)
private ImmutableArray<Symbol> BindConversionOperatorMemberCref(ConversionOperatorMemberCrefSyntax syntax, NamespaceOrTypeSymbol? containerOpt, out Symbol? ambiguityWinner, BindingDiagnosticBag diagnostics)
{
const int arity = 0;
string memberName = syntax.ImplicitOrExplicitKeyword.Kind() == SyntaxKind.ImplicitKeyword
? WellKnownMemberNames.ImplicitConversionName
: WellKnownMemberNames.ExplicitConversionName;
ImmutableArray<Symbol> sortedSymbols = ComputeSortedCrefMembers(syntax, containerOpt, memberName, arity, syntax.Parameters != null, diagnostics);
if (sortedSymbols.IsEmpty)
{
ambiguityWinner = null;
return ImmutableArray<Symbol>.Empty;
}
TypeSymbol returnType = BindCrefParameterOrReturnType(syntax.Type, syntax, diagnostics);
// Filter out methods with the wrong return type, since overload resolution won't catch these.
sortedSymbols = sortedSymbols.WhereAsArray((symbol, returnType) =>
symbol.Kind != SymbolKind.Method || TypeSymbol.Equals(((MethodSymbol)symbol).ReturnType, returnType, TypeCompareKind.ConsiderEverything2), returnType);
if (!sortedSymbols.Any())
{
ambiguityWinner = null;
return ImmutableArray<Symbol>.Empty;
}
return ProcessCrefMemberLookupResults(
sortedSymbols,
arity,
syntax,
typeArgumentListSyntax: null,
parameterListSyntax: syntax.Parameters,
ambiguityWinner: out ambiguityWinner,
diagnostics: diagnostics);
}
/// <summary>
/// Perform lookup (optionally, in a specified container). If nothing is found and the member name matches the containing type
/// name, then use the instance constructors of the type instead. The resulting symbols are sorted since tie-breaking is based
/// on order and we want cref binding to be repeatable.
/// </summary>
/// <remarks>
/// Never returns null.
/// </remarks>
private ImmutableArray<Symbol> ComputeSortedCrefMembers(CSharpSyntaxNode syntax, NamespaceOrTypeSymbol? containerOpt, string memberName, int arity, bool hasParameterList, BindingDiagnosticBag diagnostics)
{
CompoundUseSiteInfo<AssemblySymbol> useSiteInfo = GetNewCompoundUseSiteInfo(diagnostics);
var result = ComputeSortedCrefMembers(containerOpt, memberName, arity, hasParameterList, ref useSiteInfo);
diagnostics.Add(syntax, useSiteInfo);
return result;
}
private ImmutableArray<Symbol> ComputeSortedCrefMembers(NamespaceOrTypeSymbol? containerOpt, string memberName, int arity, bool hasParameterList, ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo)
{
// Since we may find symbols without going through the lookup API,
// expose the symbols via an ArrayBuilder.
ArrayBuilder<Symbol> builder;
{
LookupResult result = LookupResult.GetInstance();
this.LookupSymbolsOrMembersInternal(
result,
containerOpt,
name: memberName,
arity: arity,
basesBeingResolved: null,
options: LookupOptions.AllMethodsOnArityZero,
diagnose: false,
useSiteInfo: ref useSiteInfo);
// CONSIDER: Dev11 also checks for a constructor in the event of an ambiguous result.
if (result.IsMultiViable)
{
// Dev11 doesn't consider members from System.Object when the container is an interface.
// Lookup should already have dropped such members.
builder = ArrayBuilder<Symbol>.GetInstance();
builder.AddRange(result.Symbols);
result.Free();
}
else
{
result.Free(); // Won't be using this.
// Dev11 has a complicated two-stage process for determining when a cref is really referring to a constructor.
// Under two sets of conditions, XmlDocCommentBinder::bindXMLReferenceName will decide that a name refers
// to a constructor and under one set of conditions, the calling method, XmlDocCommentBinder::bindXMLReference,
// will roll back that decision and return null.
// In XmlDocCommentBinder::bindXMLReferenceName:
// 1) If an unqualified, non-generic name didn't bind to anything and the name matches the name of the type
// to which the doc comment is applied, then bind to a constructor.
// 2) If a qualified, non-generic name didn't bind to anything and the LHS of the qualified name is a type
// with the same name, then bind to a constructor.
// Quoted from XmlDocCommentBinder::bindXMLReference:
// Filtering out the case where specifying the name of a generic type without specifying
// any arity returns a constructor. This case shouldn't return anything. Note that
// returning the constructors was a fix for the wonky constructor behavior, but in order
// to not introduce a regression and breaking change we return NULL in this case.
// e.g.
//
// /// <see cref="Goo"/>
// class Goo<T> { }
//
// This cref used not to bind to anything, because before it was looking for a type and
// since there was no arity, it didn't find Goo<T>. Now however, it finds Goo<T>.ctor,
// which is arguably correct, but would be a breaking change (albeit with minimal impact)
// so we catch this case and chuck out the symbol found.
// In Roslyn, we're doing everything in one pass, rather than guessing and rolling back.
// As in the native compiler, we treat this as a fallback case - something that actually has the
// specified name is preferred.
NamedTypeSymbol? constructorType = null;
if (arity == 0) // Member arity
{
NamedTypeSymbol? containerType = containerOpt as NamedTypeSymbol;
if ((object?)containerType != null)
{
// Case 1: If the name is qualified by a type with the same name, then we want a
// constructor (unless the type is generic, the cref is on/in the type (but not
// on/in a nested type), and there were no parens after the member name).
if (containerType.Name == memberName && (hasParameterList || containerType.Arity == 0 || !TypeSymbol.Equals(this.ContainingType, containerType.OriginalDefinition, TypeCompareKind.ConsiderEverything2)))
{
constructorType = containerType;
}
}
else if ((object?)containerOpt == null && hasParameterList)
{
// Case 2: If the name is not qualified by anything, but we're in the scope
// of a type with the same name (regardless of arity), then we want a constructor,
// as long as there were parens after the member name.
NamedTypeSymbol? binderContainingType = this.ContainingType;
if ((object?)binderContainingType != null && memberName == binderContainingType.Name)
{
constructorType = binderContainingType;
}
}
}
if ((object?)constructorType != null)
{
ImmutableArray<MethodSymbol> instanceConstructors = constructorType.InstanceConstructors;
int numInstanceConstructors = instanceConstructors.Length;
if (numInstanceConstructors == 0)
{
return ImmutableArray<Symbol>.Empty;
}
builder = ArrayBuilder<Symbol>.GetInstance(numInstanceConstructors);
builder.AddRange(instanceConstructors);
}
else
{
return ImmutableArray<Symbol>.Empty;
}
}
}
Debug.Assert(builder != null);
// Since we resolve ambiguities by just picking the first symbol we encounter,
// the order of the symbols matters for repeatability.
if (builder.Count > 1)
{
builder.Sort(ConsistentSymbolOrder.Instance);
}
return builder.ToImmutableAndFree();
}
/// <summary>
/// Given a list of viable lookup results (based on the name, arity, and containing symbol),
/// attempt to select one.
/// </summary>
private ImmutableArray<Symbol> ProcessCrefMemberLookupResults(
ImmutableArray<Symbol> symbols,
int arity,
MemberCrefSyntax memberSyntax,
TypeArgumentListSyntax? typeArgumentListSyntax,
BaseCrefParameterListSyntax? parameterListSyntax,
out Symbol? ambiguityWinner,
BindingDiagnosticBag diagnostics)
{
Debug.Assert(!symbols.IsEmpty);
if (parameterListSyntax == null)
{
return ProcessParameterlessCrefMemberLookupResults(symbols, arity, memberSyntax, typeArgumentListSyntax, out ambiguityWinner, diagnostics);
}
ArrayBuilder<Symbol> candidates = ArrayBuilder<Symbol>.GetInstance();
GetCrefOverloadResolutionCandidates(symbols, arity, typeArgumentListSyntax, candidates);
ImmutableArray<ParameterSymbol> parameterSymbols = BindCrefParameters(parameterListSyntax, diagnostics);
ImmutableArray<Symbol> results = PerformCrefOverloadResolution(candidates, parameterSymbols, arity, memberSyntax, out ambiguityWinner, diagnostics);
candidates.Free();
// NOTE: This diagnostic is just a hint that might help fix a broken cref, so don't do
// any work unless there are no viable candidates.
if (results.Length == 0)
{
for (int i = 0; i < parameterSymbols.Length; i++)
{
if (ContainsNestedTypeOfUnconstructedGenericType(parameterSymbols[i].Type))
{
// This warning is new in Roslyn, because our better-defined semantics for
// cref lookup disallow some things that were possible in dev12.
//
// Consider the following code:
//
// public class C<T>
// {
// public class Inner { }
//
// public void M(Inner i) { }
//
// /// <see cref="M"/>
// /// <see cref="C{T}.M"/>
// /// <see cref="C{Q}.M"/>
// /// <see cref="C{Q}.M(C{Q}.Inner)"/>
// /// <see cref="C{Q}.M(Inner)"/> // WRN_UnqualifiedNestedTypeInCref
// public void N() { }
// }
//
// Dev12 binds all of the crefs as "M:C`1.M(C{`0}.Inner)".
// Roslyn accepts all but the last. The issue is that the context for performing
// the lookup is not C<Q>, but C<T>. Consequently, Inner binds to C<T>.Inner and
// then overload resolution fails because C<T>.Inner does not match C<Q>.Inner,
// the parameter type of C<Q>.M. Since we could not agree that the old behavior
// was desirable (other than for backwards compatibility) and since mimicking it
// would have been expensive, we settled on introducing a new warning that at
// least hints to the user how then can work around the issue (i.e. by qualifying
// Inner as C{Q}.Inner). Additional details are available in DevDiv #743425.
//
// CONSIDER: We could actually put the qualified form in the warning message,
// but that would probably just make it more frustrating (i.e. if the compiler
// knows exactly what I mean, why do I have to type it).
//
// NOTE: This is not a great location (whole parameter instead of problematic type),
// but it's better than nothing.
diagnostics.Add(ErrorCode.WRN_UnqualifiedNestedTypeInCref, parameterListSyntax.Parameters[i].Location);
break;
}
}
}
return results;
}
private static bool ContainsNestedTypeOfUnconstructedGenericType(TypeSymbol type)
{
switch (type.TypeKind)
{
case TypeKind.Array:
return ContainsNestedTypeOfUnconstructedGenericType(((ArrayTypeSymbol)type).ElementType);
case TypeKind.Pointer:
return ContainsNestedTypeOfUnconstructedGenericType(((PointerTypeSymbol)type).PointedAtType);
case TypeKind.FunctionPointer:
MethodSymbol signature = ((FunctionPointerTypeSymbol)type).Signature;
if (ContainsNestedTypeOfUnconstructedGenericType(signature.ReturnType))
{
return true;
}
foreach (var param in signature.Parameters)
{
if (ContainsNestedTypeOfUnconstructedGenericType(param.Type))
{
return true;
}
}
return false;
case TypeKind.Delegate:
case TypeKind.Class:
case TypeKind.Interface:
case TypeKind.Struct:
case TypeKind.Enum:
case TypeKind.Error:
NamedTypeSymbol namedType = (NamedTypeSymbol)type;
if (IsNestedTypeOfUnconstructedGenericType(namedType))
{
return true;
}
foreach (TypeWithAnnotations typeArgument in namedType.TypeArgumentsWithAnnotationsNoUseSiteDiagnostics)
{
if (ContainsNestedTypeOfUnconstructedGenericType(typeArgument.Type))
{
return true;
}
}
return false;
case TypeKind.Dynamic:
case TypeKind.TypeParameter:
return false;
default:
throw ExceptionUtilities.UnexpectedValue(type.TypeKind);
}
}
private static bool IsNestedTypeOfUnconstructedGenericType(NamedTypeSymbol type)
{
NamedTypeSymbol containing = type.ContainingType;
while ((object)containing != null)
{
if (containing.Arity > 0 && containing.IsDefinition)
{
return true;
}
containing = containing.ContainingType;
}
return false;
}
/// <summary>
/// At this point, we have a list of viable symbols and no parameter list with which to perform
/// overload resolution. We'll just return the first symbol, giving a diagnostic if there are
/// others.
/// Caveat: If there are multiple candidates and only one is from source, then the source symbol
/// wins and no diagnostic is reported.
/// </summary>
private ImmutableArray<Symbol> ProcessParameterlessCrefMemberLookupResults(
ImmutableArray<Symbol> symbols,
int arity,
MemberCrefSyntax memberSyntax,
TypeArgumentListSyntax? typeArgumentListSyntax,
out Symbol? ambiguityWinner,
BindingDiagnosticBag diagnostics)
{
// If the syntax indicates arity zero, then we match methods of any arity.
// However, if there are both generic and non-generic methods, then the
// generic methods should be ignored.
if (symbols.Length > 1 && arity == 0)
{
bool hasNonGenericMethod = false;
bool hasGenericMethod = false;
foreach (Symbol s in symbols)
{
if (s.Kind != SymbolKind.Method)
{
continue;
}
if (((MethodSymbol)s).Arity == 0)
{
hasNonGenericMethod = true;
}
else
{
hasGenericMethod = true;
}
if (hasGenericMethod && hasNonGenericMethod)
{
break; //Nothing else to be learned.
}
}
if (hasNonGenericMethod && hasGenericMethod)
{
symbols = symbols.WhereAsArray(s =>
s.Kind != SymbolKind.Method || ((MethodSymbol)s).Arity == 0);
}
}
Debug.Assert(!symbols.IsEmpty);
Symbol symbol = symbols[0];
// If there's ambiguity, prefer source symbols.
// Logic is similar to ResultSymbol, but separate because the error handling is totally different.
if (symbols.Length > 1)
{
// Size is known, but IndexOfSymbolFromCurrentCompilation expects a builder.
ArrayBuilder<Symbol> unwrappedSymbols = ArrayBuilder<Symbol>.GetInstance(symbols.Length);
foreach (Symbol wrapped in symbols)
{
unwrappedSymbols.Add(UnwrapAliasNoDiagnostics(wrapped));
}
BestSymbolInfo secondBest;
BestSymbolInfo best = GetBestSymbolInfo(unwrappedSymbols, out secondBest);
Debug.Assert(!best.IsNone);
Debug.Assert(!secondBest.IsNone);
unwrappedSymbols.Free();
int symbolIndex = 0;
if (best.IsFromCompilation)
{
symbolIndex = best.Index;
symbol = symbols[symbolIndex]; // NOTE: symbols, not unwrappedSymbols.
}
if (symbol.Kind == SymbolKind.TypeParameter)
{
CrefSyntax crefSyntax = GetRootCrefSyntax(memberSyntax);
diagnostics.Add(ErrorCode.WRN_BadXMLRefTypeVar, crefSyntax.Location, crefSyntax.ToString());
}
else if (secondBest.IsFromCompilation == best.IsFromCompilation)
{
CrefSyntax crefSyntax = GetRootCrefSyntax(memberSyntax);
int otherIndex = symbolIndex == 0 ? 1 : 0;
diagnostics.Add(ErrorCode.WRN_AmbiguousXMLReference, crefSyntax.Location, crefSyntax.ToString(), symbol, symbols[otherIndex]);
ambiguityWinner = ConstructWithCrefTypeParameters(arity, typeArgumentListSyntax, symbol);
return symbols.SelectAsArray(sym => ConstructWithCrefTypeParameters(arity, typeArgumentListSyntax, sym));
}
}
else if (symbol.Kind == SymbolKind.TypeParameter)
{
CrefSyntax crefSyntax = GetRootCrefSyntax(memberSyntax);
diagnostics.Add(ErrorCode.WRN_BadXMLRefTypeVar, crefSyntax.Location, crefSyntax.ToString());
}
ambiguityWinner = null;
return ImmutableArray.Create<Symbol>(ConstructWithCrefTypeParameters(arity, typeArgumentListSyntax, symbol));
}
/// <summary>
/// Replace any named type in the symbol list with its instance constructors.
/// Construct all candidates with the implicitly-declared CrefTypeParameterSymbols.
/// </summary>
private void GetCrefOverloadResolutionCandidates(ImmutableArray<Symbol> symbols, int arity, TypeArgumentListSyntax? typeArgumentListSyntax, ArrayBuilder<Symbol> candidates)
{
foreach (Symbol candidate in symbols)
{
Symbol constructedCandidate = ConstructWithCrefTypeParameters(arity, typeArgumentListSyntax, candidate);
NamedTypeSymbol? constructedCandidateType = constructedCandidate as NamedTypeSymbol;
if ((object?)constructedCandidateType == null)
{
// Construct before overload resolution so the signatures will match.
candidates.Add(constructedCandidate);
}
else
{
candidates.AddRange(constructedCandidateType.InstanceConstructors);
}
}
}
/// <summary>
/// Given a list of method and/or property candidates, choose the first one (if any) with a signature
/// that matches the parameter list in the cref. Return null if there isn't one.
/// </summary>
/// <remarks>
/// Produces a diagnostic for ambiguous matches, but not for unresolved members - WRN_BadXMLRef is
/// handled in BindMemberCref.
/// </remarks>
private static ImmutableArray<Symbol> PerformCrefOverloadResolution(ArrayBuilder<Symbol> candidates, ImmutableArray<ParameterSymbol> parameterSymbols, int arity, MemberCrefSyntax memberSyntax, out Symbol? ambiguityWinner, BindingDiagnosticBag diagnostics)
{
ArrayBuilder<Symbol>? viable = null;
foreach (Symbol candidate in candidates)
{
// BREAK: In dev11, any candidate with the type "dynamic" anywhere in its parameter list would be skipped
// (see XmlDocCommentBinder::bindXmlReference). Apparently, this was because "the params that the xml doc
// comments produce never will." This does not appear to have made sense in dev11 (skipping dropping the
// candidate doesn't cause anything to blow up and may cause resolution to start succeeding) and it almost
// certainly does not in roslyn (the signature comparer ignores the object-dynamic distinction anyway).
Symbol signatureMember;
switch (candidate.Kind)
{
case SymbolKind.Method:
{
MethodSymbol candidateMethod = (MethodSymbol)candidate;
MethodKind candidateMethodKind = candidateMethod.MethodKind;
bool candidateMethodIsVararg = candidateMethod.IsVararg;
// If the arity from the cref is zero, then we accept methods of any arity.
int signatureMemberArity = candidateMethodKind == MethodKind.Constructor
? 0
: (arity == 0 ? candidateMethod.Arity : arity);
// CONSIDER: we might want to reuse this method symbol (as long as the MethodKind and Vararg-ness match).
signatureMember = new SignatureOnlyMethodSymbol(
methodKind: candidateMethodKind,
typeParameters: IndexedTypeParameterSymbol.TakeSymbols(signatureMemberArity),
parameters: parameterSymbols,
// This specific comparer only looks for varargs.
callingConvention: candidateMethodIsVararg ? Microsoft.Cci.CallingConvention.ExtraArguments : Microsoft.Cci.CallingConvention.HasThis,
// These are ignored by this specific MemberSignatureComparer.
containingType: null,
name: null,
refKind: RefKind.None,
isInitOnly: false,
isStatic: false,
returnType: default,
refCustomModifiers: ImmutableArray<CustomModifier>.Empty,
explicitInterfaceImplementations: ImmutableArray<MethodSymbol>.Empty);
break;
}
case SymbolKind.Property:
{
// CONSIDER: we might want to reuse this property symbol.
signatureMember = new SignatureOnlyPropertySymbol(
parameters: parameterSymbols,
// These are ignored by this specific MemberSignatureComparer.
containingType: null,
name: null,
refKind: RefKind.None,
type: default,
refCustomModifiers: ImmutableArray<CustomModifier>.Empty,
isStatic: false,
explicitInterfaceImplementations: ImmutableArray<PropertySymbol>.Empty);
break;
}
case SymbolKind.NamedType:
// Because we replaced them with constructors when we built the candidate list.
throw ExceptionUtilities.UnexpectedValue(candidate.Kind);
default:
continue;
}
if (MemberSignatureComparer.CrefComparer.Equals(signatureMember, candidate))
{
Debug.Assert(candidate.GetMemberArity() != 0 || candidate.Name == WellKnownMemberNames.InstanceConstructorName || arity == 0,
"Can only have a 0-arity, non-constructor candidate if the desired arity is 0.");
if (viable == null)
{
viable = ArrayBuilder<Symbol>.GetInstance();
viable.Add(candidate);
}
else
{
bool oldArityIsZero = viable[0].GetMemberArity() == 0;
bool newArityIsZero = candidate.GetMemberArity() == 0;
// If the cref specified arity 0 and the current candidate has arity 0 but the previous
// match did not, then the current candidate is the unambiguous winner (unless there's
// another match with arity 0 in a subsequent iteration).
if (!oldArityIsZero || newArityIsZero)
{
if (!oldArityIsZero && newArityIsZero)
{
viable.Clear();
}
viable.Add(candidate);
}
}
}
}
if (viable == null)
{
ambiguityWinner = null;
return ImmutableArray<Symbol>.Empty;
}
if (viable.Count > 1)
{
ambiguityWinner = viable[0];
CrefSyntax crefSyntax = GetRootCrefSyntax(memberSyntax);
diagnostics.Add(ErrorCode.WRN_AmbiguousXMLReference, crefSyntax.Location, crefSyntax.ToString(), ambiguityWinner, viable[1]);
}
else
{
ambiguityWinner = null;
}
return viable.ToImmutableAndFree();
}
/// <summary>
/// If the member is generic, construct it with the CrefTypeParameterSymbols that should be in scope.
/// </summary>
private Symbol ConstructWithCrefTypeParameters(int arity, TypeArgumentListSyntax? typeArgumentListSyntax, Symbol symbol)
{
if (arity > 0)
{
Debug.Assert(typeArgumentListSyntax is object);
SeparatedSyntaxList<TypeSyntax> typeArgumentSyntaxes = typeArgumentListSyntax.Arguments;
var typeArgumentsWithAnnotations = ArrayBuilder<TypeWithAnnotations>.GetInstance(arity);
var unusedDiagnostics =
#if DEBUG
new BindingDiagnosticBag(DiagnosticBag.GetInstance());
Debug.Assert(unusedDiagnostics.DiagnosticBag is object);
#else
BindingDiagnosticBag.Discarded;
#endif
for (int i = 0; i < arity; i++)
{
TypeSyntax typeArgumentSyntax = typeArgumentSyntaxes[i];
var typeArgument = BindType(typeArgumentSyntax, unusedDiagnostics);
typeArgumentsWithAnnotations.Add(typeArgument);
// Should be in a WithCrefTypeParametersBinder.
Debug.Assert(typeArgumentSyntax.ContainsDiagnostics || !typeArgumentSyntax.SyntaxTree.ReportDocumentationCommentDiagnostics() ||
(!unusedDiagnostics.HasAnyErrors() && typeArgument.Type is CrefTypeParameterSymbol));
#if DEBUG
unusedDiagnostics.DiagnosticBag.Clear();
#endif
}
#if DEBUG
unusedDiagnostics.DiagnosticBag.Free();
#endif
if (symbol.Kind == SymbolKind.Method)
{
symbol = ((MethodSymbol)symbol).Construct(typeArgumentsWithAnnotations.ToImmutableAndFree());
}
else
{
Debug.Assert(symbol is NamedTypeSymbol);
symbol = ((NamedTypeSymbol)symbol).Construct(typeArgumentsWithAnnotations.ToImmutableAndFree());
}
}
return symbol;
}
private ImmutableArray<ParameterSymbol> BindCrefParameters(BaseCrefParameterListSyntax parameterListSyntax, BindingDiagnosticBag diagnostics)
{
ArrayBuilder<ParameterSymbol> parameterBuilder = ArrayBuilder<ParameterSymbol>.GetInstance(parameterListSyntax.Parameters.Count);
foreach (CrefParameterSyntax parameter in parameterListSyntax.Parameters)
{
RefKind refKind = parameter.RefKindKeyword.Kind().GetRefKind();
Debug.Assert(parameterListSyntax.Parent is object);
TypeSymbol type = BindCrefParameterOrReturnType(parameter.Type, (MemberCrefSyntax)parameterListSyntax.Parent, diagnostics);
parameterBuilder.Add(new SignatureOnlyParameterSymbol(TypeWithAnnotations.Create(type), ImmutableArray<CustomModifier>.Empty, isParams: false, refKind: refKind));
}
return parameterBuilder.ToImmutableAndFree();
}
/// <remarks>
/// Keep in sync with CSharpSemanticModel.GetSpeculativelyBoundExpressionWithoutNullability.
/// </remarks>
private TypeSymbol BindCrefParameterOrReturnType(TypeSyntax typeSyntax, MemberCrefSyntax memberCrefSyntax, BindingDiagnosticBag diagnostics)
{
// After much deliberation, we eventually decided to suppress lookup of inherited members within
// crefs, in order to match dev11's behavior (Changeset #829014). Unfortunately, it turns out
// that dev11 does not suppress these members when performing lookup within parameter and return
// types, within crefs (DevDiv #586815, #598371).
Debug.Assert(InCrefButNotParameterOrReturnType);
Binder parameterOrReturnTypeBinder = this.WithAdditionalFlags(BinderFlags.CrefParameterOrReturnType);
// It would be nice to pull this binder out of the factory so we wouldn't have to worry about them getting out
// of sync, but this code is also used for included crefs, which don't have BinderFactories.
// As a compromise, we'll assert that the binding locations match in scenarios where we can go through the factory.
Debug.Assert(!this.Compilation.ContainsSyntaxTree(typeSyntax.SyntaxTree) ||
this.Compilation.GetBinderFactory(typeSyntax.SyntaxTree).GetBinder(typeSyntax).Flags ==
(parameterOrReturnTypeBinder.Flags & ~BinderFlags.SemanticModel));
var localDiagnostics = new BindingDiagnosticBag(DiagnosticBag.GetInstance(), // Examined, but not reported.
diagnostics.DependenciesBag);
Debug.Assert(localDiagnostics.DiagnosticBag is object);
TypeSymbol type = parameterOrReturnTypeBinder.BindType(typeSyntax, localDiagnostics).Type;
if (localDiagnostics.HasAnyErrors())
{
if (HasNonObsoleteError(localDiagnostics.DiagnosticBag))
{
Debug.Assert(typeSyntax.Parent is object);
ErrorCode code = typeSyntax.Parent.Kind() == SyntaxKind.ConversionOperatorMemberCref
? ErrorCode.WRN_BadXMLRefReturnType
: ErrorCode.WRN_BadXMLRefParamType;
CrefSyntax crefSyntax = GetRootCrefSyntax(memberCrefSyntax);
diagnostics.Add(code, typeSyntax.Location, typeSyntax.ToString(), crefSyntax.ToString());
}
}
else
{
Debug.Assert(type.TypeKind != TypeKind.Error || typeSyntax.ContainsDiagnostics || !typeSyntax.SyntaxTree.ReportDocumentationCommentDiagnostics(), "Why wasn't there a diagnostic?");
}
localDiagnostics.DiagnosticBag.Free();
return type;
}
private static bool HasNonObsoleteError(DiagnosticBag unusedDiagnostics)
{
foreach (Diagnostic diag in unusedDiagnostics.AsEnumerable())
{
// CONSIDER: If this check is too slow, we could add a helper to DiagnosticBag
// that checks for unrealized diagnostics without expanding them.
switch ((ErrorCode)diag.Code)
{
case ErrorCode.ERR_DeprecatedSymbolStr:
case ErrorCode.ERR_DeprecatedCollectionInitAddStr:
break;
default:
if (diag.Severity == DiagnosticSeverity.Error)
{
return true;
}
break;
}
}
return false;
}
private static CrefSyntax GetRootCrefSyntax(MemberCrefSyntax syntax)
{
SyntaxNode? parentSyntax = syntax.Parent; // Could be null when speculating.
return parentSyntax == null || parentSyntax.IsKind(SyntaxKind.XmlCrefAttribute)
? syntax
: (CrefSyntax)parentSyntax;
}
}
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Features/Core/Portable/AddPackage/AbstractAddSpecificPackageCodeFixProvider.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.Packaging;
using Microsoft.CodeAnalysis.SymbolSearch;
namespace Microsoft.CodeAnalysis.AddPackage
{
internal abstract partial class AbstractAddSpecificPackageCodeFixProvider : AbstractAddPackageCodeFixProvider
{
/// <summary>
/// Values for these parameters can be provided (during testing) for mocking purposes.
/// </summary>
protected AbstractAddSpecificPackageCodeFixProvider(
IPackageInstallerService packageInstallerService = null,
ISymbolSearchService symbolSearchService = null)
: base(packageInstallerService, symbolSearchService)
{
}
protected override bool IncludePrerelease => true;
public override FixAllProvider GetFixAllProvider()
{
// Fix All is not supported by this code fix
// https://github.com/dotnet/roslyn/issues/34458
return null;
}
public override async Task RegisterCodeFixesAsync(CodeFixContext context)
{
var assemblyName = GetAssemblyName(context.Diagnostics[0].Id);
if (assemblyName != null)
{
var assemblyNames = new HashSet<string> { assemblyName };
var addPackageCodeActions = await GetAddPackagesCodeActionsAsync(context, assemblyNames).ConfigureAwait(false);
context.RegisterFixes(addPackageCodeActions, context.Diagnostics);
}
}
protected abstract string GetAssemblyName(string id);
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.Packaging;
using Microsoft.CodeAnalysis.SymbolSearch;
namespace Microsoft.CodeAnalysis.AddPackage
{
internal abstract partial class AbstractAddSpecificPackageCodeFixProvider : AbstractAddPackageCodeFixProvider
{
/// <summary>
/// Values for these parameters can be provided (during testing) for mocking purposes.
/// </summary>
protected AbstractAddSpecificPackageCodeFixProvider(
IPackageInstallerService packageInstallerService = null,
ISymbolSearchService symbolSearchService = null)
: base(packageInstallerService, symbolSearchService)
{
}
protected override bool IncludePrerelease => true;
public override FixAllProvider GetFixAllProvider()
{
// Fix All is not supported by this code fix
// https://github.com/dotnet/roslyn/issues/34458
return null;
}
public override async Task RegisterCodeFixesAsync(CodeFixContext context)
{
var assemblyName = GetAssemblyName(context.Diagnostics[0].Id);
if (assemblyName != null)
{
var assemblyNames = new HashSet<string> { assemblyName };
var addPackageCodeActions = await GetAddPackagesCodeActionsAsync(context, assemblyNames).ConfigureAwait(false);
context.RegisterFixes(addPackageCodeActions, context.Diagnostics);
}
}
protected abstract string GetAssemblyName(string id);
}
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Analyzers/Core/CodeFixes/UseConditionalExpression/UseConditionalExpressionHelpers.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using Microsoft.CodeAnalysis.Editing;
using Microsoft.CodeAnalysis.LanguageServices;
using static Microsoft.CodeAnalysis.UseConditionalExpression.UseConditionalExpressionHelpers;
namespace Microsoft.CodeAnalysis.UseConditionalExpression
{
internal static class UseConditionalExpressionCodeFixHelpers
{
public static readonly SyntaxAnnotation SpecializedFormattingAnnotation = new();
public static SyntaxRemoveOptions GetRemoveOptions(
ISyntaxFactsService syntaxFacts, SyntaxNode syntax)
{
var removeOptions = SyntaxGenerator.DefaultRemoveOptions;
if (HasRegularCommentTrivia(syntaxFacts, syntax.GetLeadingTrivia()))
{
removeOptions |= SyntaxRemoveOptions.KeepLeadingTrivia;
}
if (HasRegularCommentTrivia(syntaxFacts, syntax.GetTrailingTrivia()))
{
removeOptions |= SyntaxRemoveOptions.KeepTrailingTrivia;
}
return removeOptions;
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using Microsoft.CodeAnalysis.Editing;
using Microsoft.CodeAnalysis.LanguageServices;
using static Microsoft.CodeAnalysis.UseConditionalExpression.UseConditionalExpressionHelpers;
namespace Microsoft.CodeAnalysis.UseConditionalExpression
{
internal static class UseConditionalExpressionCodeFixHelpers
{
public static readonly SyntaxAnnotation SpecializedFormattingAnnotation = new();
public static SyntaxRemoveOptions GetRemoveOptions(
ISyntaxFactsService syntaxFacts, SyntaxNode syntax)
{
var removeOptions = SyntaxGenerator.DefaultRemoveOptions;
if (HasRegularCommentTrivia(syntaxFacts, syntax.GetLeadingTrivia()))
{
removeOptions |= SyntaxRemoveOptions.KeepLeadingTrivia;
}
if (HasRegularCommentTrivia(syntaxFacts, syntax.GetTrailingTrivia()))
{
removeOptions |= SyntaxRemoveOptions.KeepTrailingTrivia;
}
return removeOptions;
}
}
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Compilers/Core/Portable/InternalUtilities/IReadOnlyListExtensions.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
namespace Roslyn.Utilities
{
internal static class IReadOnlyListExtensions
{
public static bool Contains<T>(this IReadOnlyList<T> list, T item, IEqualityComparer<T>? comparer = null)
{
comparer ??= EqualityComparer<T>.Default;
for (int i = 0; i < list.Count; i++)
{
if (comparer.Equals(item, list[i]))
{
return true;
}
}
return false;
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
namespace Roslyn.Utilities
{
internal static class IReadOnlyListExtensions
{
public static bool Contains<T>(this IReadOnlyList<T> list, T item, IEqualityComparer<T>? comparer = null)
{
comparer ??= EqualityComparer<T>.Default;
for (int i = 0; i < list.Count; i++)
{
if (comparer.Equals(item, list[i]))
{
return true;
}
}
return false;
}
}
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Test/PdbUtilities/Shared/DateTimeUtilities.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
namespace Roslyn.Utilities
{
internal static class DateTimeUtilities
{
// From DateTime.cs.
private const long TicksMask = 0x3FFFFFFFFFFFFFFF;
internal static DateTime ToDateTime(double raw)
{
// This mechanism for getting the tick count from the underlying ulong field is copied
// from System.DateTime.InternalTicks (ndp\clr\src\BCL\System\DateTime.cs).
var tickCount = BitConverter.DoubleToInt64Bits(raw) & TicksMask;
return new DateTime(tickCount);
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
namespace Roslyn.Utilities
{
internal static class DateTimeUtilities
{
// From DateTime.cs.
private const long TicksMask = 0x3FFFFFFFFFFFFFFF;
internal static DateTime ToDateTime(double raw)
{
// This mechanism for getting the tick count from the underlying ulong field is copied
// from System.DateTime.InternalTicks (ndp\clr\src\BCL\System\DateTime.cs).
var tickCount = BitConverter.DoubleToInt64Bits(raw) & TicksMask;
return new DateTime(tickCount);
}
}
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Workspaces/SharedUtilitiesAndExtensions/Workspace/Core/Helpers/SimplificationHelpers.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Linq;
using Microsoft.CodeAnalysis.CodeStyle;
using Microsoft.CodeAnalysis.Shared.Extensions;
using Roslyn.Utilities;
#if CODE_STYLE
using OptionSet = Microsoft.CodeAnalysis.Diagnostics.AnalyzerConfigOptions;
#else
using OptionSet = Microsoft.CodeAnalysis.Options.OptionSet;
#endif
namespace Microsoft.CodeAnalysis.Simplification
{
internal static class SimplificationHelpers
{
public static readonly SyntaxAnnotation DontSimplifyAnnotation = new();
public static readonly SyntaxAnnotation SimplifyModuleNameAnnotation = new();
public static TNode CopyAnnotations<TNode>(SyntaxNode from, TNode to) where TNode : SyntaxNode
{
// Because we are removing a node that may have annotations (i.e. formatting), we need
// to copy those annotations to the new node. However, we can only copy all annotations
// which will mean that the new node will include a ParenthesesSimplification annotation,
// even if didn't have one before. That results in potentially removing parentheses that
// weren't annotated by the user. To address this, we add *another* annotation to indicate
// that the new node shouldn't be simplified. This is to work around the
// fact that there is no way to remove an annotation from a node in the current API. If
// that gets added, we can clean this up.
var dontSimplifyResult = !to.HasAnnotation(Simplifier.Annotation);
to = from.CopyAnnotationsTo(to);
if (dontSimplifyResult)
{
to = to.WithAdditionalAnnotations(DontSimplifyAnnotation);
}
return to;
}
public static SyntaxToken CopyAnnotations(SyntaxToken from, SyntaxToken to)
{
// Because we are removing a node that may have annotations (i.e. formatting), we need
// to copy those annotations to the new node. However, we can only copy all annotations
// which will mean that the new node will include a ParenthesesSimplification annotation,
// even if didn't have one before. That results in potentially removing parentheses that
// weren't annotated by the user. To address this, we add *another* annotation to indicate
// that the new node shouldn't be simplified. This is to work around the
// fact that there is no way to remove an annotation from a node in the current API. If
// that gets added, we can clean this up.
var dontSimplifyResult = !to.HasAnnotation(Simplifier.Annotation);
to = from.CopyAnnotationsTo(to);
if (dontSimplifyResult)
{
to = to.WithAdditionalAnnotations(DontSimplifyAnnotation);
}
return to;
}
internal static ISymbol GetOriginalSymbolInfo(SemanticModel semanticModel, SyntaxNode expression)
{
Contract.ThrowIfNull(expression);
var annotation1 = expression.GetAnnotations(SymbolAnnotation.Kind).FirstOrDefault();
if (annotation1 != null)
{
var typeSymbol = SymbolAnnotation.GetSymbol(annotation1, semanticModel.Compilation);
if (IsValidSymbolInfo(typeSymbol))
{
return typeSymbol;
}
}
var annotation2 = expression.GetAnnotations(SpecialTypeAnnotation.Kind).FirstOrDefault();
if (annotation2 != null)
{
var specialType = SpecialTypeAnnotation.GetSpecialType(annotation2);
if (specialType != SpecialType.None)
{
var typeSymbol = semanticModel.Compilation.GetSpecialType(specialType);
if (IsValidSymbolInfo(typeSymbol))
{
return typeSymbol;
}
}
}
var symbolInfo = semanticModel.GetSymbolInfo(expression);
if (!IsValidSymbolInfo(symbolInfo.Symbol))
{
return null;
}
return symbolInfo.Symbol;
}
internal static bool IsValidSymbolInfo(ISymbol symbol)
{
// name bound to only one symbol is valid
return symbol != null && !symbol.IsErrorType();
}
internal static bool ShouldSimplifyThisOrMeMemberAccessExpression(
SemanticModel semanticModel, OptionSet optionSet, ISymbol symbol)
{
// If we're accessing a static member off of this/me then we should always consider this
// simplifiable. Note: in C# this isn't even legal to access a static off of `this`,
// but in VB it is legal to access a static off of `me`.
if (symbol.IsStatic)
return true;
if ((symbol.IsKind(SymbolKind.Field) && optionSet.GetOption(CodeStyleOptions2.QualifyFieldAccess, semanticModel.Language).Value ||
(symbol.IsKind(SymbolKind.Property) && optionSet.GetOption(CodeStyleOptions2.QualifyPropertyAccess, semanticModel.Language).Value) ||
(symbol.IsKind(SymbolKind.Method) && optionSet.GetOption(CodeStyleOptions2.QualifyMethodAccess, semanticModel.Language).Value) ||
(symbol.IsKind(SymbolKind.Event) && optionSet.GetOption(CodeStyleOptions2.QualifyEventAccess, semanticModel.Language).Value)))
{
return false;
}
return true;
}
internal static bool PreferPredefinedTypeKeywordInDeclarations(OptionSet optionSet, string language)
=> optionSet.GetOption(CodeStyleOptions2.PreferIntrinsicPredefinedTypeKeywordInDeclaration, language).Value;
internal static bool PreferPredefinedTypeKeywordInMemberAccess(OptionSet optionSet, string language)
=> optionSet.GetOption(CodeStyleOptions2.PreferIntrinsicPredefinedTypeKeywordInMemberAccess, language).Value;
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Linq;
using Microsoft.CodeAnalysis.CodeStyle;
using Microsoft.CodeAnalysis.Shared.Extensions;
using Roslyn.Utilities;
#if CODE_STYLE
using OptionSet = Microsoft.CodeAnalysis.Diagnostics.AnalyzerConfigOptions;
#else
using OptionSet = Microsoft.CodeAnalysis.Options.OptionSet;
#endif
namespace Microsoft.CodeAnalysis.Simplification
{
internal static class SimplificationHelpers
{
public static readonly SyntaxAnnotation DontSimplifyAnnotation = new();
public static readonly SyntaxAnnotation SimplifyModuleNameAnnotation = new();
public static TNode CopyAnnotations<TNode>(SyntaxNode from, TNode to) where TNode : SyntaxNode
{
// Because we are removing a node that may have annotations (i.e. formatting), we need
// to copy those annotations to the new node. However, we can only copy all annotations
// which will mean that the new node will include a ParenthesesSimplification annotation,
// even if didn't have one before. That results in potentially removing parentheses that
// weren't annotated by the user. To address this, we add *another* annotation to indicate
// that the new node shouldn't be simplified. This is to work around the
// fact that there is no way to remove an annotation from a node in the current API. If
// that gets added, we can clean this up.
var dontSimplifyResult = !to.HasAnnotation(Simplifier.Annotation);
to = from.CopyAnnotationsTo(to);
if (dontSimplifyResult)
{
to = to.WithAdditionalAnnotations(DontSimplifyAnnotation);
}
return to;
}
public static SyntaxToken CopyAnnotations(SyntaxToken from, SyntaxToken to)
{
// Because we are removing a node that may have annotations (i.e. formatting), we need
// to copy those annotations to the new node. However, we can only copy all annotations
// which will mean that the new node will include a ParenthesesSimplification annotation,
// even if didn't have one before. That results in potentially removing parentheses that
// weren't annotated by the user. To address this, we add *another* annotation to indicate
// that the new node shouldn't be simplified. This is to work around the
// fact that there is no way to remove an annotation from a node in the current API. If
// that gets added, we can clean this up.
var dontSimplifyResult = !to.HasAnnotation(Simplifier.Annotation);
to = from.CopyAnnotationsTo(to);
if (dontSimplifyResult)
{
to = to.WithAdditionalAnnotations(DontSimplifyAnnotation);
}
return to;
}
internal static ISymbol GetOriginalSymbolInfo(SemanticModel semanticModel, SyntaxNode expression)
{
Contract.ThrowIfNull(expression);
var annotation1 = expression.GetAnnotations(SymbolAnnotation.Kind).FirstOrDefault();
if (annotation1 != null)
{
var typeSymbol = SymbolAnnotation.GetSymbol(annotation1, semanticModel.Compilation);
if (IsValidSymbolInfo(typeSymbol))
{
return typeSymbol;
}
}
var annotation2 = expression.GetAnnotations(SpecialTypeAnnotation.Kind).FirstOrDefault();
if (annotation2 != null)
{
var specialType = SpecialTypeAnnotation.GetSpecialType(annotation2);
if (specialType != SpecialType.None)
{
var typeSymbol = semanticModel.Compilation.GetSpecialType(specialType);
if (IsValidSymbolInfo(typeSymbol))
{
return typeSymbol;
}
}
}
var symbolInfo = semanticModel.GetSymbolInfo(expression);
if (!IsValidSymbolInfo(symbolInfo.Symbol))
{
return null;
}
return symbolInfo.Symbol;
}
internal static bool IsValidSymbolInfo(ISymbol symbol)
{
// name bound to only one symbol is valid
return symbol != null && !symbol.IsErrorType();
}
internal static bool ShouldSimplifyThisOrMeMemberAccessExpression(
SemanticModel semanticModel, OptionSet optionSet, ISymbol symbol)
{
// If we're accessing a static member off of this/me then we should always consider this
// simplifiable. Note: in C# this isn't even legal to access a static off of `this`,
// but in VB it is legal to access a static off of `me`.
if (symbol.IsStatic)
return true;
if ((symbol.IsKind(SymbolKind.Field) && optionSet.GetOption(CodeStyleOptions2.QualifyFieldAccess, semanticModel.Language).Value ||
(symbol.IsKind(SymbolKind.Property) && optionSet.GetOption(CodeStyleOptions2.QualifyPropertyAccess, semanticModel.Language).Value) ||
(symbol.IsKind(SymbolKind.Method) && optionSet.GetOption(CodeStyleOptions2.QualifyMethodAccess, semanticModel.Language).Value) ||
(symbol.IsKind(SymbolKind.Event) && optionSet.GetOption(CodeStyleOptions2.QualifyEventAccess, semanticModel.Language).Value)))
{
return false;
}
return true;
}
internal static bool PreferPredefinedTypeKeywordInDeclarations(OptionSet optionSet, string language)
=> optionSet.GetOption(CodeStyleOptions2.PreferIntrinsicPredefinedTypeKeywordInDeclaration, language).Value;
internal static bool PreferPredefinedTypeKeywordInMemberAccess(OptionSet optionSet, string language)
=> optionSet.GetOption(CodeStyleOptions2.PreferIntrinsicPredefinedTypeKeywordInMemberAccess, language).Value;
}
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/EditorFeatures/CSharpTest/Debugging/NameResolverTests.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CSharp.Debugging;
using Microsoft.CodeAnalysis.Editor.UnitTests.Workspaces;
using Microsoft.CodeAnalysis.Test.Utilities;
using Xunit;
namespace Microsoft.CodeAnalysis.Editor.CSharp.UnitTests.Debugging
{
[UseExportProvider]
public class NameResolverTests
{
private static async Task TestAsync(string text, string searchText, params string[] expectedNames)
{
using var workspace = TestWorkspace.CreateCSharp(text);
var nameResolver = new BreakpointResolver(workspace.CurrentSolution, searchText);
var results = await nameResolver.DoAsync(CancellationToken.None);
Assert.Equal(expectedNames, results.Select(r => r.LocationNameOpt));
}
[Fact, Trait(Traits.Feature, Traits.Features.DebuggingNameResolver)]
public async Task TestCSharpLanguageDebugInfoCreateNameResolver()
{
using var workspace = TestWorkspace.CreateCSharp(" ");
var debugInfo = new CSharpBreakpointResolutionService();
var results = await debugInfo.ResolveBreakpointsAsync(workspace.CurrentSolution, "goo", CancellationToken.None);
Assert.Equal(0, results.Count());
}
[Fact, Trait(Traits.Feature, Traits.Features.DebuggingNameResolver)]
public async Task TestSimpleNameInClass()
{
var text =
@"class C
{
void Goo()
{
}
}";
await TestAsync(text, "Goo", "C.Goo()");
await TestAsync(text, "goo");
await TestAsync(text, "C.Goo", "C.Goo()");
await TestAsync(text, "N.C.Goo");
await TestAsync(text, "Goo<T>");
await TestAsync(text, "C<T>.Goo");
await TestAsync(text, "Goo()", "C.Goo()");
await TestAsync(text, "Goo(int i)");
await TestAsync(text, "Goo(int)");
}
[Fact, Trait(Traits.Feature, Traits.Features.DebuggingNameResolver)]
public async Task TestSimpleNameInNamespace()
{
var text =
@"
namespace N
{
class C
{
void Goo()
{
}
}
}";
await TestAsync(text, "Goo", "N.C.Goo()");
await TestAsync(text, "goo");
await TestAsync(text, "C.Goo", "N.C.Goo()");
await TestAsync(text, "N.C.Goo", "N.C.Goo()");
await TestAsync(text, "Goo<T>");
await TestAsync(text, "C<T>.Goo");
await TestAsync(text, "Goo()", "N.C.Goo()");
await TestAsync(text, "C.Goo()", "N.C.Goo()");
await TestAsync(text, "N.C.Goo()", "N.C.Goo()");
await TestAsync(text, "Goo(int i)");
await TestAsync(text, "Goo(int)");
await TestAsync(text, "Goo(a)");
}
[Fact, Trait(Traits.Feature, Traits.Features.DebuggingNameResolver)]
public async Task TestSimpleNameInGenericClassNamespace()
{
var text =
@"
namespace N
{
class C<T>
{
void Goo()
{
}
}
}";
await TestAsync(text, "Goo", "N.C<T>.Goo()");
await TestAsync(text, "goo");
await TestAsync(text, "C.Goo", "N.C<T>.Goo()");
await TestAsync(text, "N.C.Goo", "N.C<T>.Goo()");
await TestAsync(text, "Goo<T>");
await TestAsync(text, "C<T>.Goo", "N.C<T>.Goo()");
await TestAsync(text, "C<T>.Goo()", "N.C<T>.Goo()");
await TestAsync(text, "Goo()", "N.C<T>.Goo()");
await TestAsync(text, "C.Goo()", "N.C<T>.Goo()");
await TestAsync(text, "N.C.Goo()", "N.C<T>.Goo()");
await TestAsync(text, "Goo(int i)");
await TestAsync(text, "Goo(int)");
await TestAsync(text, "Goo(a)");
}
[Fact, Trait(Traits.Feature, Traits.Features.DebuggingNameResolver)]
public async Task TestGenericNameInClassNamespace()
{
var text =
@"
namespace N
{
class C
{
void Goo<T>()
{
}
}
}";
await TestAsync(text, "Goo", "N.C.Goo<T>()");
await TestAsync(text, "goo");
await TestAsync(text, "C.Goo", "N.C.Goo<T>()");
await TestAsync(text, "N.C.Goo", "N.C.Goo<T>()");
await TestAsync(text, "Goo<T>", "N.C.Goo<T>()");
await TestAsync(text, "Goo<X>", "N.C.Goo<T>()");
await TestAsync(text, "Goo<T,X>");
await TestAsync(text, "C<T>.Goo");
await TestAsync(text, "C<T>.Goo()");
await TestAsync(text, "Goo()", "N.C.Goo<T>()");
await TestAsync(text, "C.Goo()", "N.C.Goo<T>()");
await TestAsync(text, "N.C.Goo()", "N.C.Goo<T>()");
await TestAsync(text, "Goo(int i)");
await TestAsync(text, "Goo(int)");
await TestAsync(text, "Goo(a)");
await TestAsync(text, "Goo<T>(int i)");
await TestAsync(text, "Goo<T>(int)");
await TestAsync(text, "Goo<T>(a)");
}
[Fact, Trait(Traits.Feature, Traits.Features.DebuggingNameResolver)]
public async Task TestOverloadsInSingleClass()
{
var text =
@"class C
{
void Goo()
{
}
void Goo(int i)
{
}
}";
await TestAsync(text, "Goo", "C.Goo()", "C.Goo(int)");
await TestAsync(text, "goo");
await TestAsync(text, "C.Goo", "C.Goo()", "C.Goo(int)");
await TestAsync(text, "N.C.Goo");
await TestAsync(text, "Goo<T>");
await TestAsync(text, "C<T>.Goo");
await TestAsync(text, "Goo()", "C.Goo()");
await TestAsync(text, "Goo(int i)", "C.Goo(int)");
await TestAsync(text, "Goo(int)", "C.Goo(int)");
await TestAsync(text, "Goo(i)", "C.Goo(int)");
}
[Fact, Trait(Traits.Feature, Traits.Features.DebuggingNameResolver)]
public async Task TestMethodsInMultipleClasses()
{
var text =
@"namespace N
{
class C
{
void Goo()
{
}
}
}
namespace N1
{
class C
{
void Goo(int i)
{
}
}
}";
await TestAsync(text, "Goo", "N1.C.Goo(int)", "N.C.Goo()");
await TestAsync(text, "goo");
await TestAsync(text, "C.Goo", "N1.C.Goo(int)", "N.C.Goo()");
await TestAsync(text, "N.C.Goo", "N.C.Goo()");
await TestAsync(text, "N1.C.Goo", "N1.C.Goo(int)");
await TestAsync(text, "Goo<T>");
await TestAsync(text, "C<T>.Goo");
await TestAsync(text, "Goo()", "N.C.Goo()");
await TestAsync(text, "Goo(int i)", "N1.C.Goo(int)");
await TestAsync(text, "Goo(int)", "N1.C.Goo(int)");
await TestAsync(text, "Goo(i)", "N1.C.Goo(int)");
}
[Fact, Trait(Traits.Feature, Traits.Features.DebuggingNameResolver)]
public async Task TestMethodsWithDifferentArityInMultipleClasses()
{
var text =
@"namespace N
{
class C
{
void Goo()
{
}
}
}
namespace N1
{
class C
{
void Goo<T>(int i)
{
}
}
}";
await TestAsync(text, "Goo", "N1.C.Goo<T>(int)", "N.C.Goo()");
await TestAsync(text, "goo");
await TestAsync(text, "C.Goo", "N1.C.Goo<T>(int)", "N.C.Goo()");
await TestAsync(text, "N.C.Goo", "N.C.Goo()");
await TestAsync(text, "N1.C.Goo", "N1.C.Goo<T>(int)");
await TestAsync(text, "Goo<T>", "N1.C.Goo<T>(int)");
await TestAsync(text, "C<T>.Goo");
await TestAsync(text, "Goo()", "N.C.Goo()");
await TestAsync(text, "Goo<T>()");
await TestAsync(text, "Goo(int i)", "N1.C.Goo<T>(int)");
await TestAsync(text, "Goo(int)", "N1.C.Goo<T>(int)");
await TestAsync(text, "Goo(i)", "N1.C.Goo<T>(int)");
await TestAsync(text, "Goo<T>(int i)", "N1.C.Goo<T>(int)");
await TestAsync(text, "Goo<T>(int)", "N1.C.Goo<T>(int)");
await TestAsync(text, "Goo<T>(i)", "N1.C.Goo<T>(int)");
}
[Fact, Trait(Traits.Feature, Traits.Features.DebuggingNameResolver)]
public async Task TestOverloadsWithMultipleParametersInSingleClass()
{
var text =
@"class C
{
void Goo(int a)
{
}
void Goo(int a, string b = ""bb"")
{
}
void Goo(__arglist)
{
}
}";
await TestAsync(text, "Goo", "C.Goo(int)", "C.Goo(int, [string])", "C.Goo(__arglist)");
await TestAsync(text, "goo");
await TestAsync(text, "C.Goo", "C.Goo(int)", "C.Goo(int, [string])", "C.Goo(__arglist)");
await TestAsync(text, "N.C.Goo");
await TestAsync(text, "Goo<T>");
await TestAsync(text, "C<T>.Goo");
await TestAsync(text, "Goo()", "C.Goo(__arglist)");
await TestAsync(text, "Goo(int i)", "C.Goo(int)");
await TestAsync(text, "Goo(int)", "C.Goo(int)");
await TestAsync(text, "Goo(int x = 42)", "C.Goo(int)");
await TestAsync(text, "Goo(i)", "C.Goo(int)");
await TestAsync(text, "Goo(int i, int b)", "C.Goo(int, [string])");
await TestAsync(text, "Goo(int, bool)", "C.Goo(int, [string])");
await TestAsync(text, "Goo(i, s)", "C.Goo(int, [string])");
await TestAsync(text, "Goo(,)", "C.Goo(int, [string])");
await TestAsync(text, "Goo(int x = 42,)", "C.Goo(int, [string])");
await TestAsync(text, "Goo(int x = 42, y = 42)", "C.Goo(int, [string])");
await TestAsync(text, "Goo([attr] x = 42, y = 42)", "C.Goo(int, [string])");
await TestAsync(text, "Goo(int i, int b, char c)");
await TestAsync(text, "Goo(int, bool, char)");
await TestAsync(text, "Goo(i, s, c)");
await TestAsync(text, "Goo(__arglist)", "C.Goo(int)");
}
[Fact, Trait(Traits.Feature, Traits.Features.DebuggingNameResolver)]
public async Task AccessorTests()
{
var text =
@"class C
{
int Property1 { get { return 42; } }
int Property2 { set { } }
int Property3 { get; set;}
}";
await TestAsync(text, "Property1", "C.Property1");
await TestAsync(text, "Property2", "C.Property2");
await TestAsync(text, "Property3", "C.Property3");
}
[Fact, Trait(Traits.Feature, Traits.Features.DebuggingNameResolver)]
public async Task NegativeTests()
{
var text =
@"using System.Runtime.CompilerServices;
abstract class C
{
public abstract void AbstractMethod(int a);
int Field;
delegate void Delegate();
event Delegate Event;
[IndexerName(""ABCD"")]
int this[int i] { get { return i; } }
void Goo() { }
void Goo(int x = 1, int y = 2) { }
~C() { }
}";
await TestAsync(text, "AbstractMethod");
await TestAsync(text, "Field");
await TestAsync(text, "Delegate");
await TestAsync(text, "Event");
await TestAsync(text, "this");
await TestAsync(text, "C.this[int]");
await TestAsync(text, "C.get_Item");
await TestAsync(text, "C.get_Item(i)");
await TestAsync(text, "C[i]");
await TestAsync(text, "ABCD");
await TestAsync(text, "C.ABCD(int)");
await TestAsync(text, "42");
await TestAsync(text, "Goo", "C.Goo()", "C.Goo([int], [int])"); // just making sure it would normally resolve before trying bad syntax
await TestAsync(text, "Goo Goo");
await TestAsync(text, "Goo()asdf");
await TestAsync(text, "Goo(),");
await TestAsync(text, "Goo(),f");
await TestAsync(text, "Goo().Goo");
await TestAsync(text, "Goo(");
await TestAsync(text, "(Goo");
await TestAsync(text, "Goo)");
await TestAsync(text, "(Goo)");
await TestAsync(text, "Goo(x = 42, y = 42)", "C.Goo([int], [int])"); // just making sure it would normally resolve before trying bad syntax
await TestAsync(text, "int x = 42");
await TestAsync(text, "Goo(int x = 42, y = 42");
await TestAsync(text, "C");
await TestAsync(text, "C.C");
await TestAsync(text, "~");
await TestAsync(text, "~C");
await TestAsync(text, "C.~C()");
await TestAsync(text, "");
}
[Fact, Trait(Traits.Feature, Traits.Features.DebuggingNameResolver)]
public async Task TestInstanceConstructors()
{
var text =
@"class C
{
public C() { }
}
class G<T>
{
public G() { }
~G() { }
}";
await TestAsync(text, "C", "C.C()");
await TestAsync(text, "C.C", "C.C()");
await TestAsync(text, "C.C()", "C.C()");
await TestAsync(text, "C()", "C.C()");
await TestAsync(text, "C<T>");
await TestAsync(text, "C<T>()");
await TestAsync(text, "C(int i)");
await TestAsync(text, "C(int)");
await TestAsync(text, "C(i)");
await TestAsync(text, "G", "G<T>.G()");
await TestAsync(text, "G()", "G<T>.G()");
await TestAsync(text, "G.G", "G<T>.G()");
await TestAsync(text, "G.G()", "G<T>.G()");
await TestAsync(text, "G<T>.G", "G<T>.G()");
await TestAsync(text, "G<t>.G()", "G<T>.G()");
await TestAsync(text, "G<T>");
await TestAsync(text, "G<T>()");
await TestAsync(text, "G.G<T>");
await TestAsync(text, ".ctor");
await TestAsync(text, ".ctor()");
await TestAsync(text, "C.ctor");
await TestAsync(text, "C.ctor()");
await TestAsync(text, "G.ctor");
await TestAsync(text, "G<T>.ctor()");
await TestAsync(text, "Finalize", "G<T>.~G()");
}
[Fact, Trait(Traits.Feature, Traits.Features.DebuggingNameResolver)]
public async Task TestStaticConstructors()
{
var text =
@"class C
{
static C()
{
}
}";
await TestAsync(text, "C", "C.C()");
await TestAsync(text, "C.C", "C.C()");
await TestAsync(text, "C.C()", "C.C()");
await TestAsync(text, "C()", "C.C()");
await TestAsync(text, "C<T>");
await TestAsync(text, "C<T>()");
await TestAsync(text, "C(int i)");
await TestAsync(text, "C(int)");
await TestAsync(text, "C(i)");
await TestAsync(text, "C.cctor");
await TestAsync(text, "C.cctor()");
}
[Fact, Trait(Traits.Feature, Traits.Features.DebuggingNameResolver)]
public async Task TestAllConstructors()
{
var text =
@"class C
{
static C()
{
}
public C(int i)
{
}
}";
await TestAsync(text, "C", "C.C(int)", "C.C()");
await TestAsync(text, "C.C", "C.C(int)", "C.C()");
await TestAsync(text, "C.C()", "C.C()");
await TestAsync(text, "C()", "C.C()");
await TestAsync(text, "C<T>");
await TestAsync(text, "C<T>()");
await TestAsync(text, "C(int i)", "C.C(int)");
await TestAsync(text, "C(int)", "C.C(int)");
await TestAsync(text, "C(i)", "C.C(int)");
}
[Fact, Trait(Traits.Feature, Traits.Features.DebuggingNameResolver)]
public async Task TestPartialMethods()
{
var text =
@"partial class C
{
partial int M1();
partial void M2() { }
partial void M2();
partial int M3();
partial int M3(int x) { return 0; }
partial void M4() { }
}";
await TestAsync(text, "M1");
await TestAsync(text, "C.M1");
await TestAsync(text, "M2", "C.M2()");
await TestAsync(text, "M3", "C.M3(int)");
await TestAsync(text, "M3()");
await TestAsync(text, "M3(y)", "C.M3(int)");
await TestAsync(text, "M4", "C.M4()");
}
[Fact, Trait(Traits.Feature, Traits.Features.DebuggingNameResolver)]
public async Task TestLeadingAndTrailingText()
{
var text =
@"class C
{
void Goo() { };
}";
await TestAsync(text, "Goo;", "C.Goo()");
await TestAsync(text,
@"Goo();", "C.Goo()");
await TestAsync(text, " Goo;", "C.Goo()");
await TestAsync(text, " Goo;;");
await TestAsync(text, " Goo; ;");
await TestAsync(text,
@"Goo();", "C.Goo()");
await TestAsync(text,
@"Goo();", "C.Goo()");
await TestAsync(text,
@"Goo(); // comment", "C.Goo()");
await TestAsync(text,
@"/*comment*/
Goo(/* params */); /* comment", "C.Goo()");
}
[Fact, Trait(Traits.Feature, Traits.Features.DebuggingNameResolver)]
public async Task TestEscapedKeywords()
{
var text =
@"struct @true { }
class @foreach
{
void where(@true @this) { }
void @false() { }
}";
await TestAsync(text, "where", "@foreach.where(@true)");
await TestAsync(text, "@where", "@foreach.where(@true)");
await TestAsync(text, "@foreach.where", "@foreach.where(@true)");
await TestAsync(text, "foreach.where");
await TestAsync(text, "@foreach.where(true)");
await TestAsync(text, "@foreach.where(@if)", "@foreach.where(@true)");
await TestAsync(text, "false");
}
[Fact, Trait(Traits.Feature, Traits.Features.DebuggingNameResolver)]
public async Task TestAliasQualifiedNames()
{
var text =
@"extern alias A
class C
{
void Goo(D d) { }
}";
await TestAsync(text, "A::Goo");
await TestAsync(text, "A::Goo(A::B)");
await TestAsync(text, "A::Goo(A::B)");
await TestAsync(text, "A::C.Goo");
await TestAsync(text, "C.Goo(A::Q)", "C.Goo(D)");
}
[Fact, Trait(Traits.Feature, Traits.Features.DebuggingNameResolver)]
public async Task TestNestedTypesAndNamespaces()
{
var text =
@"namespace N1
{
class C
{
void Goo() { }
}
namespace N2
{
class C { }
}
namespace N3
{
class D { }
}
namespace N4
{
class C
{
void Goo(double x) { }
class D
{
void Goo() { }
class E
{
void Goo() { }
}
}
}
}
namespace N5 { }
}";
await TestAsync(text, "Goo", "N1.N4.C.Goo(double)", "N1.N4.C.D.Goo()", "N1.N4.C.D.E.Goo()", "N1.C.Goo()");
await TestAsync(text, "C.Goo", "N1.N4.C.Goo(double)", "N1.C.Goo()");
await TestAsync(text, "D.Goo", "N1.N4.C.D.Goo()");
await TestAsync(text, "N1.N4.C.D.Goo", "N1.N4.C.D.Goo()");
await TestAsync(text, "N1.Goo");
await TestAsync(text, "N3.C.Goo");
await TestAsync(text, "N5.C.Goo");
}
[Fact, Trait(Traits.Feature, Traits.Features.DebuggingNameResolver)]
public async Task TestInterfaces()
{
var text =
@"interface I1
{
void Goo();
}
class C1 : I1
{
void I1.Goo() { }
}";
await TestAsync(text, "Goo", "C1.Goo()");
await TestAsync(text, "I1.Goo");
await TestAsync(text, "C1.Goo", "C1.Goo()");
await TestAsync(text, "C1.I1.Moo");
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CSharp.Debugging;
using Microsoft.CodeAnalysis.Editor.UnitTests.Workspaces;
using Microsoft.CodeAnalysis.Test.Utilities;
using Xunit;
namespace Microsoft.CodeAnalysis.Editor.CSharp.UnitTests.Debugging
{
[UseExportProvider]
public class NameResolverTests
{
private static async Task TestAsync(string text, string searchText, params string[] expectedNames)
{
using var workspace = TestWorkspace.CreateCSharp(text);
var nameResolver = new BreakpointResolver(workspace.CurrentSolution, searchText);
var results = await nameResolver.DoAsync(CancellationToken.None);
Assert.Equal(expectedNames, results.Select(r => r.LocationNameOpt));
}
[Fact, Trait(Traits.Feature, Traits.Features.DebuggingNameResolver)]
public async Task TestCSharpLanguageDebugInfoCreateNameResolver()
{
using var workspace = TestWorkspace.CreateCSharp(" ");
var debugInfo = new CSharpBreakpointResolutionService();
var results = await debugInfo.ResolveBreakpointsAsync(workspace.CurrentSolution, "goo", CancellationToken.None);
Assert.Equal(0, results.Count());
}
[Fact, Trait(Traits.Feature, Traits.Features.DebuggingNameResolver)]
public async Task TestSimpleNameInClass()
{
var text =
@"class C
{
void Goo()
{
}
}";
await TestAsync(text, "Goo", "C.Goo()");
await TestAsync(text, "goo");
await TestAsync(text, "C.Goo", "C.Goo()");
await TestAsync(text, "N.C.Goo");
await TestAsync(text, "Goo<T>");
await TestAsync(text, "C<T>.Goo");
await TestAsync(text, "Goo()", "C.Goo()");
await TestAsync(text, "Goo(int i)");
await TestAsync(text, "Goo(int)");
}
[Fact, Trait(Traits.Feature, Traits.Features.DebuggingNameResolver)]
public async Task TestSimpleNameInNamespace()
{
var text =
@"
namespace N
{
class C
{
void Goo()
{
}
}
}";
await TestAsync(text, "Goo", "N.C.Goo()");
await TestAsync(text, "goo");
await TestAsync(text, "C.Goo", "N.C.Goo()");
await TestAsync(text, "N.C.Goo", "N.C.Goo()");
await TestAsync(text, "Goo<T>");
await TestAsync(text, "C<T>.Goo");
await TestAsync(text, "Goo()", "N.C.Goo()");
await TestAsync(text, "C.Goo()", "N.C.Goo()");
await TestAsync(text, "N.C.Goo()", "N.C.Goo()");
await TestAsync(text, "Goo(int i)");
await TestAsync(text, "Goo(int)");
await TestAsync(text, "Goo(a)");
}
[Fact, Trait(Traits.Feature, Traits.Features.DebuggingNameResolver)]
public async Task TestSimpleNameInGenericClassNamespace()
{
var text =
@"
namespace N
{
class C<T>
{
void Goo()
{
}
}
}";
await TestAsync(text, "Goo", "N.C<T>.Goo()");
await TestAsync(text, "goo");
await TestAsync(text, "C.Goo", "N.C<T>.Goo()");
await TestAsync(text, "N.C.Goo", "N.C<T>.Goo()");
await TestAsync(text, "Goo<T>");
await TestAsync(text, "C<T>.Goo", "N.C<T>.Goo()");
await TestAsync(text, "C<T>.Goo()", "N.C<T>.Goo()");
await TestAsync(text, "Goo()", "N.C<T>.Goo()");
await TestAsync(text, "C.Goo()", "N.C<T>.Goo()");
await TestAsync(text, "N.C.Goo()", "N.C<T>.Goo()");
await TestAsync(text, "Goo(int i)");
await TestAsync(text, "Goo(int)");
await TestAsync(text, "Goo(a)");
}
[Fact, Trait(Traits.Feature, Traits.Features.DebuggingNameResolver)]
public async Task TestGenericNameInClassNamespace()
{
var text =
@"
namespace N
{
class C
{
void Goo<T>()
{
}
}
}";
await TestAsync(text, "Goo", "N.C.Goo<T>()");
await TestAsync(text, "goo");
await TestAsync(text, "C.Goo", "N.C.Goo<T>()");
await TestAsync(text, "N.C.Goo", "N.C.Goo<T>()");
await TestAsync(text, "Goo<T>", "N.C.Goo<T>()");
await TestAsync(text, "Goo<X>", "N.C.Goo<T>()");
await TestAsync(text, "Goo<T,X>");
await TestAsync(text, "C<T>.Goo");
await TestAsync(text, "C<T>.Goo()");
await TestAsync(text, "Goo()", "N.C.Goo<T>()");
await TestAsync(text, "C.Goo()", "N.C.Goo<T>()");
await TestAsync(text, "N.C.Goo()", "N.C.Goo<T>()");
await TestAsync(text, "Goo(int i)");
await TestAsync(text, "Goo(int)");
await TestAsync(text, "Goo(a)");
await TestAsync(text, "Goo<T>(int i)");
await TestAsync(text, "Goo<T>(int)");
await TestAsync(text, "Goo<T>(a)");
}
[Fact, Trait(Traits.Feature, Traits.Features.DebuggingNameResolver)]
public async Task TestOverloadsInSingleClass()
{
var text =
@"class C
{
void Goo()
{
}
void Goo(int i)
{
}
}";
await TestAsync(text, "Goo", "C.Goo()", "C.Goo(int)");
await TestAsync(text, "goo");
await TestAsync(text, "C.Goo", "C.Goo()", "C.Goo(int)");
await TestAsync(text, "N.C.Goo");
await TestAsync(text, "Goo<T>");
await TestAsync(text, "C<T>.Goo");
await TestAsync(text, "Goo()", "C.Goo()");
await TestAsync(text, "Goo(int i)", "C.Goo(int)");
await TestAsync(text, "Goo(int)", "C.Goo(int)");
await TestAsync(text, "Goo(i)", "C.Goo(int)");
}
[Fact, Trait(Traits.Feature, Traits.Features.DebuggingNameResolver)]
public async Task TestMethodsInMultipleClasses()
{
var text =
@"namespace N
{
class C
{
void Goo()
{
}
}
}
namespace N1
{
class C
{
void Goo(int i)
{
}
}
}";
await TestAsync(text, "Goo", "N1.C.Goo(int)", "N.C.Goo()");
await TestAsync(text, "goo");
await TestAsync(text, "C.Goo", "N1.C.Goo(int)", "N.C.Goo()");
await TestAsync(text, "N.C.Goo", "N.C.Goo()");
await TestAsync(text, "N1.C.Goo", "N1.C.Goo(int)");
await TestAsync(text, "Goo<T>");
await TestAsync(text, "C<T>.Goo");
await TestAsync(text, "Goo()", "N.C.Goo()");
await TestAsync(text, "Goo(int i)", "N1.C.Goo(int)");
await TestAsync(text, "Goo(int)", "N1.C.Goo(int)");
await TestAsync(text, "Goo(i)", "N1.C.Goo(int)");
}
[Fact, Trait(Traits.Feature, Traits.Features.DebuggingNameResolver)]
public async Task TestMethodsWithDifferentArityInMultipleClasses()
{
var text =
@"namespace N
{
class C
{
void Goo()
{
}
}
}
namespace N1
{
class C
{
void Goo<T>(int i)
{
}
}
}";
await TestAsync(text, "Goo", "N1.C.Goo<T>(int)", "N.C.Goo()");
await TestAsync(text, "goo");
await TestAsync(text, "C.Goo", "N1.C.Goo<T>(int)", "N.C.Goo()");
await TestAsync(text, "N.C.Goo", "N.C.Goo()");
await TestAsync(text, "N1.C.Goo", "N1.C.Goo<T>(int)");
await TestAsync(text, "Goo<T>", "N1.C.Goo<T>(int)");
await TestAsync(text, "C<T>.Goo");
await TestAsync(text, "Goo()", "N.C.Goo()");
await TestAsync(text, "Goo<T>()");
await TestAsync(text, "Goo(int i)", "N1.C.Goo<T>(int)");
await TestAsync(text, "Goo(int)", "N1.C.Goo<T>(int)");
await TestAsync(text, "Goo(i)", "N1.C.Goo<T>(int)");
await TestAsync(text, "Goo<T>(int i)", "N1.C.Goo<T>(int)");
await TestAsync(text, "Goo<T>(int)", "N1.C.Goo<T>(int)");
await TestAsync(text, "Goo<T>(i)", "N1.C.Goo<T>(int)");
}
[Fact, Trait(Traits.Feature, Traits.Features.DebuggingNameResolver)]
public async Task TestOverloadsWithMultipleParametersInSingleClass()
{
var text =
@"class C
{
void Goo(int a)
{
}
void Goo(int a, string b = ""bb"")
{
}
void Goo(__arglist)
{
}
}";
await TestAsync(text, "Goo", "C.Goo(int)", "C.Goo(int, [string])", "C.Goo(__arglist)");
await TestAsync(text, "goo");
await TestAsync(text, "C.Goo", "C.Goo(int)", "C.Goo(int, [string])", "C.Goo(__arglist)");
await TestAsync(text, "N.C.Goo");
await TestAsync(text, "Goo<T>");
await TestAsync(text, "C<T>.Goo");
await TestAsync(text, "Goo()", "C.Goo(__arglist)");
await TestAsync(text, "Goo(int i)", "C.Goo(int)");
await TestAsync(text, "Goo(int)", "C.Goo(int)");
await TestAsync(text, "Goo(int x = 42)", "C.Goo(int)");
await TestAsync(text, "Goo(i)", "C.Goo(int)");
await TestAsync(text, "Goo(int i, int b)", "C.Goo(int, [string])");
await TestAsync(text, "Goo(int, bool)", "C.Goo(int, [string])");
await TestAsync(text, "Goo(i, s)", "C.Goo(int, [string])");
await TestAsync(text, "Goo(,)", "C.Goo(int, [string])");
await TestAsync(text, "Goo(int x = 42,)", "C.Goo(int, [string])");
await TestAsync(text, "Goo(int x = 42, y = 42)", "C.Goo(int, [string])");
await TestAsync(text, "Goo([attr] x = 42, y = 42)", "C.Goo(int, [string])");
await TestAsync(text, "Goo(int i, int b, char c)");
await TestAsync(text, "Goo(int, bool, char)");
await TestAsync(text, "Goo(i, s, c)");
await TestAsync(text, "Goo(__arglist)", "C.Goo(int)");
}
[Fact, Trait(Traits.Feature, Traits.Features.DebuggingNameResolver)]
public async Task AccessorTests()
{
var text =
@"class C
{
int Property1 { get { return 42; } }
int Property2 { set { } }
int Property3 { get; set;}
}";
await TestAsync(text, "Property1", "C.Property1");
await TestAsync(text, "Property2", "C.Property2");
await TestAsync(text, "Property3", "C.Property3");
}
[Fact, Trait(Traits.Feature, Traits.Features.DebuggingNameResolver)]
public async Task NegativeTests()
{
var text =
@"using System.Runtime.CompilerServices;
abstract class C
{
public abstract void AbstractMethod(int a);
int Field;
delegate void Delegate();
event Delegate Event;
[IndexerName(""ABCD"")]
int this[int i] { get { return i; } }
void Goo() { }
void Goo(int x = 1, int y = 2) { }
~C() { }
}";
await TestAsync(text, "AbstractMethod");
await TestAsync(text, "Field");
await TestAsync(text, "Delegate");
await TestAsync(text, "Event");
await TestAsync(text, "this");
await TestAsync(text, "C.this[int]");
await TestAsync(text, "C.get_Item");
await TestAsync(text, "C.get_Item(i)");
await TestAsync(text, "C[i]");
await TestAsync(text, "ABCD");
await TestAsync(text, "C.ABCD(int)");
await TestAsync(text, "42");
await TestAsync(text, "Goo", "C.Goo()", "C.Goo([int], [int])"); // just making sure it would normally resolve before trying bad syntax
await TestAsync(text, "Goo Goo");
await TestAsync(text, "Goo()asdf");
await TestAsync(text, "Goo(),");
await TestAsync(text, "Goo(),f");
await TestAsync(text, "Goo().Goo");
await TestAsync(text, "Goo(");
await TestAsync(text, "(Goo");
await TestAsync(text, "Goo)");
await TestAsync(text, "(Goo)");
await TestAsync(text, "Goo(x = 42, y = 42)", "C.Goo([int], [int])"); // just making sure it would normally resolve before trying bad syntax
await TestAsync(text, "int x = 42");
await TestAsync(text, "Goo(int x = 42, y = 42");
await TestAsync(text, "C");
await TestAsync(text, "C.C");
await TestAsync(text, "~");
await TestAsync(text, "~C");
await TestAsync(text, "C.~C()");
await TestAsync(text, "");
}
[Fact, Trait(Traits.Feature, Traits.Features.DebuggingNameResolver)]
public async Task TestInstanceConstructors()
{
var text =
@"class C
{
public C() { }
}
class G<T>
{
public G() { }
~G() { }
}";
await TestAsync(text, "C", "C.C()");
await TestAsync(text, "C.C", "C.C()");
await TestAsync(text, "C.C()", "C.C()");
await TestAsync(text, "C()", "C.C()");
await TestAsync(text, "C<T>");
await TestAsync(text, "C<T>()");
await TestAsync(text, "C(int i)");
await TestAsync(text, "C(int)");
await TestAsync(text, "C(i)");
await TestAsync(text, "G", "G<T>.G()");
await TestAsync(text, "G()", "G<T>.G()");
await TestAsync(text, "G.G", "G<T>.G()");
await TestAsync(text, "G.G()", "G<T>.G()");
await TestAsync(text, "G<T>.G", "G<T>.G()");
await TestAsync(text, "G<t>.G()", "G<T>.G()");
await TestAsync(text, "G<T>");
await TestAsync(text, "G<T>()");
await TestAsync(text, "G.G<T>");
await TestAsync(text, ".ctor");
await TestAsync(text, ".ctor()");
await TestAsync(text, "C.ctor");
await TestAsync(text, "C.ctor()");
await TestAsync(text, "G.ctor");
await TestAsync(text, "G<T>.ctor()");
await TestAsync(text, "Finalize", "G<T>.~G()");
}
[Fact, Trait(Traits.Feature, Traits.Features.DebuggingNameResolver)]
public async Task TestStaticConstructors()
{
var text =
@"class C
{
static C()
{
}
}";
await TestAsync(text, "C", "C.C()");
await TestAsync(text, "C.C", "C.C()");
await TestAsync(text, "C.C()", "C.C()");
await TestAsync(text, "C()", "C.C()");
await TestAsync(text, "C<T>");
await TestAsync(text, "C<T>()");
await TestAsync(text, "C(int i)");
await TestAsync(text, "C(int)");
await TestAsync(text, "C(i)");
await TestAsync(text, "C.cctor");
await TestAsync(text, "C.cctor()");
}
[Fact, Trait(Traits.Feature, Traits.Features.DebuggingNameResolver)]
public async Task TestAllConstructors()
{
var text =
@"class C
{
static C()
{
}
public C(int i)
{
}
}";
await TestAsync(text, "C", "C.C(int)", "C.C()");
await TestAsync(text, "C.C", "C.C(int)", "C.C()");
await TestAsync(text, "C.C()", "C.C()");
await TestAsync(text, "C()", "C.C()");
await TestAsync(text, "C<T>");
await TestAsync(text, "C<T>()");
await TestAsync(text, "C(int i)", "C.C(int)");
await TestAsync(text, "C(int)", "C.C(int)");
await TestAsync(text, "C(i)", "C.C(int)");
}
[Fact, Trait(Traits.Feature, Traits.Features.DebuggingNameResolver)]
public async Task TestPartialMethods()
{
var text =
@"partial class C
{
partial int M1();
partial void M2() { }
partial void M2();
partial int M3();
partial int M3(int x) { return 0; }
partial void M4() { }
}";
await TestAsync(text, "M1");
await TestAsync(text, "C.M1");
await TestAsync(text, "M2", "C.M2()");
await TestAsync(text, "M3", "C.M3(int)");
await TestAsync(text, "M3()");
await TestAsync(text, "M3(y)", "C.M3(int)");
await TestAsync(text, "M4", "C.M4()");
}
[Fact, Trait(Traits.Feature, Traits.Features.DebuggingNameResolver)]
public async Task TestLeadingAndTrailingText()
{
var text =
@"class C
{
void Goo() { };
}";
await TestAsync(text, "Goo;", "C.Goo()");
await TestAsync(text,
@"Goo();", "C.Goo()");
await TestAsync(text, " Goo;", "C.Goo()");
await TestAsync(text, " Goo;;");
await TestAsync(text, " Goo; ;");
await TestAsync(text,
@"Goo();", "C.Goo()");
await TestAsync(text,
@"Goo();", "C.Goo()");
await TestAsync(text,
@"Goo(); // comment", "C.Goo()");
await TestAsync(text,
@"/*comment*/
Goo(/* params */); /* comment", "C.Goo()");
}
[Fact, Trait(Traits.Feature, Traits.Features.DebuggingNameResolver)]
public async Task TestEscapedKeywords()
{
var text =
@"struct @true { }
class @foreach
{
void where(@true @this) { }
void @false() { }
}";
await TestAsync(text, "where", "@foreach.where(@true)");
await TestAsync(text, "@where", "@foreach.where(@true)");
await TestAsync(text, "@foreach.where", "@foreach.where(@true)");
await TestAsync(text, "foreach.where");
await TestAsync(text, "@foreach.where(true)");
await TestAsync(text, "@foreach.where(@if)", "@foreach.where(@true)");
await TestAsync(text, "false");
}
[Fact, Trait(Traits.Feature, Traits.Features.DebuggingNameResolver)]
public async Task TestAliasQualifiedNames()
{
var text =
@"extern alias A
class C
{
void Goo(D d) { }
}";
await TestAsync(text, "A::Goo");
await TestAsync(text, "A::Goo(A::B)");
await TestAsync(text, "A::Goo(A::B)");
await TestAsync(text, "A::C.Goo");
await TestAsync(text, "C.Goo(A::Q)", "C.Goo(D)");
}
[Fact, Trait(Traits.Feature, Traits.Features.DebuggingNameResolver)]
public async Task TestNestedTypesAndNamespaces()
{
var text =
@"namespace N1
{
class C
{
void Goo() { }
}
namespace N2
{
class C { }
}
namespace N3
{
class D { }
}
namespace N4
{
class C
{
void Goo(double x) { }
class D
{
void Goo() { }
class E
{
void Goo() { }
}
}
}
}
namespace N5 { }
}";
await TestAsync(text, "Goo", "N1.N4.C.Goo(double)", "N1.N4.C.D.Goo()", "N1.N4.C.D.E.Goo()", "N1.C.Goo()");
await TestAsync(text, "C.Goo", "N1.N4.C.Goo(double)", "N1.C.Goo()");
await TestAsync(text, "D.Goo", "N1.N4.C.D.Goo()");
await TestAsync(text, "N1.N4.C.D.Goo", "N1.N4.C.D.Goo()");
await TestAsync(text, "N1.Goo");
await TestAsync(text, "N3.C.Goo");
await TestAsync(text, "N5.C.Goo");
}
[Fact, Trait(Traits.Feature, Traits.Features.DebuggingNameResolver)]
public async Task TestInterfaces()
{
var text =
@"interface I1
{
void Goo();
}
class C1 : I1
{
void I1.Goo() { }
}";
await TestAsync(text, "Goo", "C1.Goo()");
await TestAsync(text, "I1.Goo");
await TestAsync(text, "C1.Goo", "C1.Goo()");
await TestAsync(text, "C1.I1.Moo");
}
}
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Compilers/Core/Portable/InternalUtilities/CharMemoryEqualityComparer.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
namespace Roslyn.Utilities
{
/// <summary>
/// Provide structural equality for ReadOnlyMemory{char} instances.
/// </summary>
internal sealed class CharMemoryEqualityComparer : IEqualityComparer<ReadOnlyMemory<char>>
{
public static readonly CharMemoryEqualityComparer Instance = new CharMemoryEqualityComparer();
private CharMemoryEqualityComparer() { }
public bool Equals(ReadOnlyMemory<char> x, ReadOnlyMemory<char> y) => x.Span.SequenceEqual(y.Span);
public int GetHashCode(ReadOnlyMemory<char> mem) => Hash.GetFNVHashCode(mem.Span);
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
namespace Roslyn.Utilities
{
/// <summary>
/// Provide structural equality for ReadOnlyMemory{char} instances.
/// </summary>
internal sealed class CharMemoryEqualityComparer : IEqualityComparer<ReadOnlyMemory<char>>
{
public static readonly CharMemoryEqualityComparer Instance = new CharMemoryEqualityComparer();
private CharMemoryEqualityComparer() { }
public bool Equals(ReadOnlyMemory<char> x, ReadOnlyMemory<char> y) => x.Span.SequenceEqual(y.Span);
public int GetHashCode(ReadOnlyMemory<char> mem) => Hash.GetFNVHashCode(mem.Span);
}
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Compilers/VisualBasic/Portable/Symbols/Source/SynthesizedConstructorSymbol.vb | ' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
Imports System.Collections.Immutable
Imports Microsoft.CodeAnalysis.PooledObjects
Namespace Microsoft.CodeAnalysis.VisualBasic.Symbols
''' <summary>
''' This class represents a compiler generated parameterless constructor
''' </summary>
Partial Friend NotInheritable Class SynthesizedConstructorSymbol
Inherits SynthesizedConstructorBase
Private ReadOnly _debuggable As Boolean
''' <summary>
''' Initializes a new instance of the <see cref="SynthesizedConstructorSymbol" /> class.
''' </summary>
''' <param name="syntaxReference"></param>
''' <param name="container">The containing type for the synthesized constructor.</param>
''' <param name="isShared">if set to <c>true</c> if this is a shared constructor.</param>
''' <param name="isDebuggable">if set to <c>true</c> if this constructor will include debuggable initializers.</param>
''' <param name="binder">Binder to be used for error reporting, or Nothing.</param>
''' <param name="diagnostics">Diagnostic bag, or Nothing.</param>
Friend Sub New(
syntaxReference As SyntaxReference,
container As NamedTypeSymbol,
isShared As Boolean,
isDebuggable As Boolean,
binder As Binder,
diagnostics As BindingDiagnosticBag
)
MyBase.New(syntaxReference, container, isShared, binder, diagnostics)
Me._debuggable = isDebuggable
End Sub
Friend Overrides Sub AddSynthesizedAttributes(compilationState as ModuleCompilationState, ByRef attributes As ArrayBuilder(Of SynthesizedAttributeData))
MyBase.AddSynthesizedAttributes(compilationState, attributes)
' Dev11 emits DebuggerNonUserCodeAttribute. This attribute is not needed since we don't emit any debug info for the constructor.
End Sub
''' <summary>
''' The parameters forming part of this signature.
''' </summary>
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of ParameterSymbol)
Get
Return ImmutableArray(Of ParameterSymbol).Empty
End Get
End Property
Friend Overrides ReadOnly Property GenerateDebugInfoImpl As Boolean
Get
' NOTE: we need to have debug info in synthesized constructor to
' support debug information on field/property initializers
Return _debuggable
End Get
End Property
Friend Overrides Function CalculateLocalSyntaxOffset(localPosition As Integer, localTree As SyntaxTree) As Integer
' although the containing type can be PE symbol, such a constructor doesn't
' declare source locals And thus this method shouldn't be called.
Dim containingType = DirectCast(Me.ContainingType, SourceMemberContainerTypeSymbol)
Return containingType.CalculateSyntaxOffsetInSynthesizedConstructor(localPosition, localTree, IsShared)
End Function
End Class
End Namespace
| ' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
Imports System.Collections.Immutable
Imports Microsoft.CodeAnalysis.PooledObjects
Namespace Microsoft.CodeAnalysis.VisualBasic.Symbols
''' <summary>
''' This class represents a compiler generated parameterless constructor
''' </summary>
Partial Friend NotInheritable Class SynthesizedConstructorSymbol
Inherits SynthesizedConstructorBase
Private ReadOnly _debuggable As Boolean
''' <summary>
''' Initializes a new instance of the <see cref="SynthesizedConstructorSymbol" /> class.
''' </summary>
''' <param name="syntaxReference"></param>
''' <param name="container">The containing type for the synthesized constructor.</param>
''' <param name="isShared">if set to <c>true</c> if this is a shared constructor.</param>
''' <param name="isDebuggable">if set to <c>true</c> if this constructor will include debuggable initializers.</param>
''' <param name="binder">Binder to be used for error reporting, or Nothing.</param>
''' <param name="diagnostics">Diagnostic bag, or Nothing.</param>
Friend Sub New(
syntaxReference As SyntaxReference,
container As NamedTypeSymbol,
isShared As Boolean,
isDebuggable As Boolean,
binder As Binder,
diagnostics As BindingDiagnosticBag
)
MyBase.New(syntaxReference, container, isShared, binder, diagnostics)
Me._debuggable = isDebuggable
End Sub
Friend Overrides Sub AddSynthesizedAttributes(compilationState as ModuleCompilationState, ByRef attributes As ArrayBuilder(Of SynthesizedAttributeData))
MyBase.AddSynthesizedAttributes(compilationState, attributes)
' Dev11 emits DebuggerNonUserCodeAttribute. This attribute is not needed since we don't emit any debug info for the constructor.
End Sub
''' <summary>
''' The parameters forming part of this signature.
''' </summary>
Public Overrides ReadOnly Property Parameters As ImmutableArray(Of ParameterSymbol)
Get
Return ImmutableArray(Of ParameterSymbol).Empty
End Get
End Property
Friend Overrides ReadOnly Property GenerateDebugInfoImpl As Boolean
Get
' NOTE: we need to have debug info in synthesized constructor to
' support debug information on field/property initializers
Return _debuggable
End Get
End Property
Friend Overrides Function CalculateLocalSyntaxOffset(localPosition As Integer, localTree As SyntaxTree) As Integer
' although the containing type can be PE symbol, such a constructor doesn't
' declare source locals And thus this method shouldn't be called.
Dim containingType = DirectCast(Me.ContainingType, SourceMemberContainerTypeSymbol)
Return containingType.CalculateSyntaxOffsetInSynthesizedConstructor(localPosition, localTree, IsShared)
End Function
End Class
End Namespace
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/VisualStudio/CSharp/Test/CodeModel/FileCodeImportTests.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Runtime.InteropServices;
using EnvDTE;
using EnvDTE80;
using Microsoft.CodeAnalysis.Test.Utilities;
using Roslyn.Test.Utilities;
using Xunit;
namespace Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests.CodeModel
{
public class FileCodeImportTests : AbstractFileCodeElementTests
{
public FileCodeImportTests()
: base(@"using System;
using Goo = System.Data;")
{
}
private CodeImport GetCodeImport(object path)
{
return (CodeImport)GetCodeElement(path);
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void Name()
{
var import = GetCodeImport(1);
Assert.Throws<COMException>(() => { var value = import.Name; });
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void FullName()
{
var import = GetCodeImport(1);
Assert.Throws<COMException>(() => { var value = import.FullName; });
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void Kind()
{
var import = GetCodeImport(1);
Assert.Equal(vsCMElement.vsCMElementImportStmt, import.Kind);
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void Namespace()
{
var import = GetCodeImport(1);
Assert.Equal("System", import.Namespace);
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void Alias()
{
var import = GetCodeImport(2);
Assert.Equal("Goo", import.Alias);
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void GetStartPoint_Attributes()
{
var import = GetCodeImport(2);
Assert.Throws<NotImplementedException>(() => import.GetStartPoint(vsCMPart.vsCMPartAttributes));
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void GetStartPoint_AttributesWithDelimiter()
{
var import = GetCodeImport(2);
Assert.Throws<COMException>(() => import.GetStartPoint(vsCMPart.vsCMPartAttributesWithDelimiter));
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void GetStartPoint_Body()
{
var import = GetCodeImport(2);
Assert.Throws<COMException>(() => import.GetStartPoint(vsCMPart.vsCMPartBody));
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void GetStartPoint_BodyWithDelimiter()
{
var import = GetCodeImport(2);
Assert.Throws<NotImplementedException>(() => import.GetStartPoint(vsCMPart.vsCMPartBodyWithDelimiter));
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void GetStartPoint_Header()
{
var import = GetCodeImport(2);
Assert.Throws<NotImplementedException>(() => import.GetStartPoint(vsCMPart.vsCMPartHeader));
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void GetStartPoint_HeaderWithAttributes()
{
var import = GetCodeImport(2);
Assert.Throws<NotImplementedException>(() => import.GetStartPoint(vsCMPart.vsCMPartHeaderWithAttributes));
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void GetStartPoint_Name()
{
var import = GetCodeImport(2);
Assert.Throws<NotImplementedException>(() => import.GetStartPoint(vsCMPart.vsCMPartName));
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void GetStartPoint_Navigate()
{
var import = GetCodeImport(2);
var startPoint = import.GetStartPoint(vsCMPart.vsCMPartNavigate);
Assert.Equal(2, startPoint.Line);
Assert.Equal(13, startPoint.LineCharOffset);
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void GetStartPoint_Whole()
{
var import = GetCodeImport(2);
Assert.Throws<NotImplementedException>(() => import.GetStartPoint(vsCMPart.vsCMPartWhole));
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void GetStartPoint_WholeWithAttributes()
{
var import = GetCodeImport(2);
var startPoint = import.GetStartPoint(vsCMPart.vsCMPartWholeWithAttributes);
Assert.Equal(2, startPoint.Line);
Assert.Equal(1, startPoint.LineCharOffset);
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void GetEndPoint_Attributes()
{
var import = GetCodeImport(2);
Assert.Throws<NotImplementedException>(() => import.GetEndPoint(vsCMPart.vsCMPartAttributes));
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void GetEndPoint_AttributesWithDelimiter()
{
var import = GetCodeImport(2);
Assert.Throws<COMException>(() => import.GetEndPoint(vsCMPart.vsCMPartAttributesWithDelimiter));
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void GetEndPoint_Body()
{
var import = GetCodeImport(2);
Assert.Throws<COMException>(() => import.GetEndPoint(vsCMPart.vsCMPartBody));
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void GetEndPoint_BodyWithDelimiter()
{
var import = GetCodeImport(2);
Assert.Throws<NotImplementedException>(() => import.GetEndPoint(vsCMPart.vsCMPartBodyWithDelimiter));
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void GetEndPoint_Header()
{
var import = GetCodeImport(2);
Assert.Throws<NotImplementedException>(() => import.GetEndPoint(vsCMPart.vsCMPartHeader));
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void GetEndPoint_HeaderWithAttributes()
{
var import = GetCodeImport(2);
Assert.Throws<NotImplementedException>(() => import.GetEndPoint(vsCMPart.vsCMPartHeaderWithAttributes));
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void GetEndPoint_Name()
{
var import = GetCodeImport(2);
Assert.Throws<NotImplementedException>(() => import.GetEndPoint(vsCMPart.vsCMPartName));
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void GetEndPoint_Navigate()
{
var import = GetCodeImport(2);
var endPoint = import.GetEndPoint(vsCMPart.vsCMPartNavigate);
Assert.Equal(2, endPoint.Line);
Assert.Equal(24, endPoint.LineCharOffset);
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void GetEndPoint_Whole()
{
var import = GetCodeImport(2);
Assert.Throws<NotImplementedException>(() => import.GetEndPoint(vsCMPart.vsCMPartWhole));
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void GetEndPoint_WholeWithAttributes()
{
var import = GetCodeImport(2);
var endPoint = import.GetEndPoint(vsCMPart.vsCMPartWholeWithAttributes);
Assert.Equal(2, endPoint.Line);
Assert.Equal(25, endPoint.LineCharOffset);
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void StartPoint()
{
var import = GetCodeImport(2);
var startPoint = import.StartPoint;
Assert.Equal(2, startPoint.Line);
Assert.Equal(1, startPoint.LineCharOffset);
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void EndPoint()
{
var import = GetCodeImport(2);
var endPoint = import.EndPoint;
Assert.Equal(2, endPoint.Line);
Assert.Equal(25, endPoint.LineCharOffset);
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Runtime.InteropServices;
using EnvDTE;
using EnvDTE80;
using Microsoft.CodeAnalysis.Test.Utilities;
using Roslyn.Test.Utilities;
using Xunit;
namespace Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests.CodeModel
{
public class FileCodeImportTests : AbstractFileCodeElementTests
{
public FileCodeImportTests()
: base(@"using System;
using Goo = System.Data;")
{
}
private CodeImport GetCodeImport(object path)
{
return (CodeImport)GetCodeElement(path);
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void Name()
{
var import = GetCodeImport(1);
Assert.Throws<COMException>(() => { var value = import.Name; });
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void FullName()
{
var import = GetCodeImport(1);
Assert.Throws<COMException>(() => { var value = import.FullName; });
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void Kind()
{
var import = GetCodeImport(1);
Assert.Equal(vsCMElement.vsCMElementImportStmt, import.Kind);
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void Namespace()
{
var import = GetCodeImport(1);
Assert.Equal("System", import.Namespace);
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void Alias()
{
var import = GetCodeImport(2);
Assert.Equal("Goo", import.Alias);
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void GetStartPoint_Attributes()
{
var import = GetCodeImport(2);
Assert.Throws<NotImplementedException>(() => import.GetStartPoint(vsCMPart.vsCMPartAttributes));
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void GetStartPoint_AttributesWithDelimiter()
{
var import = GetCodeImport(2);
Assert.Throws<COMException>(() => import.GetStartPoint(vsCMPart.vsCMPartAttributesWithDelimiter));
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void GetStartPoint_Body()
{
var import = GetCodeImport(2);
Assert.Throws<COMException>(() => import.GetStartPoint(vsCMPart.vsCMPartBody));
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void GetStartPoint_BodyWithDelimiter()
{
var import = GetCodeImport(2);
Assert.Throws<NotImplementedException>(() => import.GetStartPoint(vsCMPart.vsCMPartBodyWithDelimiter));
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void GetStartPoint_Header()
{
var import = GetCodeImport(2);
Assert.Throws<NotImplementedException>(() => import.GetStartPoint(vsCMPart.vsCMPartHeader));
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void GetStartPoint_HeaderWithAttributes()
{
var import = GetCodeImport(2);
Assert.Throws<NotImplementedException>(() => import.GetStartPoint(vsCMPart.vsCMPartHeaderWithAttributes));
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void GetStartPoint_Name()
{
var import = GetCodeImport(2);
Assert.Throws<NotImplementedException>(() => import.GetStartPoint(vsCMPart.vsCMPartName));
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void GetStartPoint_Navigate()
{
var import = GetCodeImport(2);
var startPoint = import.GetStartPoint(vsCMPart.vsCMPartNavigate);
Assert.Equal(2, startPoint.Line);
Assert.Equal(13, startPoint.LineCharOffset);
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void GetStartPoint_Whole()
{
var import = GetCodeImport(2);
Assert.Throws<NotImplementedException>(() => import.GetStartPoint(vsCMPart.vsCMPartWhole));
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void GetStartPoint_WholeWithAttributes()
{
var import = GetCodeImport(2);
var startPoint = import.GetStartPoint(vsCMPart.vsCMPartWholeWithAttributes);
Assert.Equal(2, startPoint.Line);
Assert.Equal(1, startPoint.LineCharOffset);
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void GetEndPoint_Attributes()
{
var import = GetCodeImport(2);
Assert.Throws<NotImplementedException>(() => import.GetEndPoint(vsCMPart.vsCMPartAttributes));
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void GetEndPoint_AttributesWithDelimiter()
{
var import = GetCodeImport(2);
Assert.Throws<COMException>(() => import.GetEndPoint(vsCMPart.vsCMPartAttributesWithDelimiter));
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void GetEndPoint_Body()
{
var import = GetCodeImport(2);
Assert.Throws<COMException>(() => import.GetEndPoint(vsCMPart.vsCMPartBody));
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void GetEndPoint_BodyWithDelimiter()
{
var import = GetCodeImport(2);
Assert.Throws<NotImplementedException>(() => import.GetEndPoint(vsCMPart.vsCMPartBodyWithDelimiter));
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void GetEndPoint_Header()
{
var import = GetCodeImport(2);
Assert.Throws<NotImplementedException>(() => import.GetEndPoint(vsCMPart.vsCMPartHeader));
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void GetEndPoint_HeaderWithAttributes()
{
var import = GetCodeImport(2);
Assert.Throws<NotImplementedException>(() => import.GetEndPoint(vsCMPart.vsCMPartHeaderWithAttributes));
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void GetEndPoint_Name()
{
var import = GetCodeImport(2);
Assert.Throws<NotImplementedException>(() => import.GetEndPoint(vsCMPart.vsCMPartName));
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void GetEndPoint_Navigate()
{
var import = GetCodeImport(2);
var endPoint = import.GetEndPoint(vsCMPart.vsCMPartNavigate);
Assert.Equal(2, endPoint.Line);
Assert.Equal(24, endPoint.LineCharOffset);
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void GetEndPoint_Whole()
{
var import = GetCodeImport(2);
Assert.Throws<NotImplementedException>(() => import.GetEndPoint(vsCMPart.vsCMPartWhole));
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void GetEndPoint_WholeWithAttributes()
{
var import = GetCodeImport(2);
var endPoint = import.GetEndPoint(vsCMPart.vsCMPartWholeWithAttributes);
Assert.Equal(2, endPoint.Line);
Assert.Equal(25, endPoint.LineCharOffset);
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void StartPoint()
{
var import = GetCodeImport(2);
var startPoint = import.StartPoint;
Assert.Equal(2, startPoint.Line);
Assert.Equal(1, startPoint.LineCharOffset);
}
[WpfFact]
[Trait(Traits.Feature, Traits.Features.CodeModel)]
public void EndPoint()
{
var import = GetCodeImport(2);
var endPoint = import.EndPoint;
Assert.Equal(2, endPoint.Line);
Assert.Equal(25, endPoint.LineCharOffset);
}
}
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Workspaces/MSBuildTest/Resources/ProjectFiles/CSharp/ProjectLoadErrorOnMissingDebugType.csproj | <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{B2417A38-6B3D-4482-9354-14AAF628340D}</ProjectGuid>
<OutputType>Exe</OutputType>
<RootNamespace>ProjectLoadErrorOnMissingDebugType</RootNamespace>
<AssemblyName>ProjectLoadErrorOnMissingDebugType</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<!--<DebugType>full</DebugType>-->
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project> | <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{B2417A38-6B3D-4482-9354-14AAF628340D}</ProjectGuid>
<OutputType>Exe</OutputType>
<RootNamespace>ProjectLoadErrorOnMissingDebugType</RootNamespace>
<AssemblyName>ProjectLoadErrorOnMissingDebugType</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<!--<DebugType>full</DebugType>-->
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project> | -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Analyzers/CSharp/Analyzers/UseImplicitObjectCreation/CSharpUseImplicitObjectCreationDiagnosticAnalyzer.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.CodeStyle;
using Microsoft.CodeAnalysis.CSharp.CodeStyle;
using Microsoft.CodeAnalysis.CSharp.Extensions;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.CSharp.Utilities;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.Shared.Extensions;
using Microsoft.CodeAnalysis.Shared.Utilities;
namespace Microsoft.CodeAnalysis.CSharp.UseImplicitObjectCreation
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
internal class CSharpUseImplicitObjectCreationDiagnosticAnalyzer : AbstractBuiltInCodeStyleDiagnosticAnalyzer
{
public CSharpUseImplicitObjectCreationDiagnosticAnalyzer()
: base(IDEDiagnosticIds.UseImplicitObjectCreationDiagnosticId,
EnforceOnBuildValues.UseImplicitObjectCreation,
CSharpCodeStyleOptions.ImplicitObjectCreationWhenTypeIsApparent,
LanguageNames.CSharp,
new LocalizableResourceString(nameof(CSharpAnalyzersResources.Use_new), CSharpAnalyzersResources.ResourceManager, typeof(CSharpAnalyzersResources)),
new LocalizableResourceString(nameof(CSharpAnalyzersResources.new_expression_can_be_simplified), CSharpAnalyzersResources.ResourceManager, typeof(CSharpAnalyzersResources)))
{
}
public override DiagnosticAnalyzerCategory GetAnalyzerCategory()
=> DiagnosticAnalyzerCategory.SemanticSpanAnalysis;
protected override void InitializeWorker(AnalysisContext context)
=> context.RegisterSyntaxNodeAction(AnalyzeSyntax, SyntaxKind.ObjectCreationExpression);
private void AnalyzeSyntax(SyntaxNodeAnalysisContext context)
{
var options = context.Options;
var syntaxTree = context.Node.SyntaxTree;
var semanticModel = context.SemanticModel;
var cancellationToken = context.CancellationToken;
// Not available prior to C# 9.
if (((CSharpParseOptions)syntaxTree.Options).LanguageVersion < LanguageVersion.CSharp9)
return;
var optionSet = options.GetAnalyzerOptionSet(syntaxTree, cancellationToken);
var styleOption = options.GetOption(CSharpCodeStyleOptions.ImplicitObjectCreationWhenTypeIsApparent, syntaxTree, cancellationToken);
if (!styleOption.Value)
{
// Bail immediately if the user has disabled this feature.
return;
}
// type is apparent if we the object creation location is closely tied (spatially) to the explicit type. Specifically:
//
// 1. Variable declarations. i.e. `List<int> list = new ...`. Note: we will suppress ourselves if this
// is a field and the 'var' preferences would lead to preferring this as `var list = ...`
// 2. Expression-bodied constructs with an explicit return type. i.e. `List<int> Prop => new ...` or
// `List<int> GetValue(...) => ...` The latter doesn't necessarily have the object creation spatially next to
// the type. However, the type is always in a very easy to ascertain location in C#, so it is treated as
// apparent.
var objectCreation = (ObjectCreationExpressionSyntax)context.Node;
TypeSyntax? typeNode;
if (objectCreation.Parent.IsKind(SyntaxKind.EqualsValueClause) &&
objectCreation.Parent.Parent.IsKind(SyntaxKind.VariableDeclarator) &&
objectCreation.Parent.Parent.Parent is VariableDeclarationSyntax variableDeclaration &&
!variableDeclaration.Type.IsVar)
{
typeNode = variableDeclaration.Type;
var helper = CSharpUseImplicitTypeHelper.Instance;
if (helper.ShouldAnalyzeVariableDeclaration(variableDeclaration, cancellationToken) &&
helper.AnalyzeTypeName(typeNode, semanticModel, optionSet, cancellationToken).IsStylePreferred)
{
// this is a case where the user would prefer 'var'. don't offer to use an implicit object here.
return;
}
}
else if (objectCreation.Parent.IsKind(SyntaxKind.ArrowExpressionClause))
{
typeNode = objectCreation.Parent.Parent switch
{
LocalFunctionStatementSyntax localFunction => localFunction.ReturnType,
MethodDeclarationSyntax method => method.ReturnType,
ConversionOperatorDeclarationSyntax conversion => conversion.Type,
OperatorDeclarationSyntax op => op.ReturnType,
BasePropertyDeclarationSyntax property => property.Type,
AccessorDeclarationSyntax(SyntaxKind.GetAccessorDeclaration) { Parent: AccessorListSyntax { Parent: BasePropertyDeclarationSyntax baseProperty } } accessor => baseProperty.Type,
_ => null,
};
}
else
{
// more cases can be added here if we discover more cases we think the type is readily apparent from context.
return;
}
if (typeNode == null)
return;
// Only offer if the type being constructed is the exact same as the type being assigned into. We don't
// want to change semantics by trying to instantiate something else.
var leftType = semanticModel.GetTypeInfo(typeNode, cancellationToken).Type;
var rightType = semanticModel.GetTypeInfo(objectCreation, cancellationToken).Type;
if (leftType is null || rightType is null)
return;
if (leftType.IsErrorType() || rightType.IsErrorType())
return;
// The default SymbolEquivalenceComparer will ignore tuple name differences, which is advantageous here
if (!SymbolEquivalenceComparer.Instance.Equals(leftType, rightType))
{
return;
}
context.ReportDiagnostic(DiagnosticHelper.Create(
Descriptor,
objectCreation.Type.GetLocation(),
styleOption.Notification.Severity,
ImmutableArray.Create(objectCreation.GetLocation()),
properties: null));
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.CodeStyle;
using Microsoft.CodeAnalysis.CSharp.CodeStyle;
using Microsoft.CodeAnalysis.CSharp.Extensions;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.CSharp.Utilities;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.Shared.Extensions;
using Microsoft.CodeAnalysis.Shared.Utilities;
namespace Microsoft.CodeAnalysis.CSharp.UseImplicitObjectCreation
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
internal class CSharpUseImplicitObjectCreationDiagnosticAnalyzer : AbstractBuiltInCodeStyleDiagnosticAnalyzer
{
public CSharpUseImplicitObjectCreationDiagnosticAnalyzer()
: base(IDEDiagnosticIds.UseImplicitObjectCreationDiagnosticId,
EnforceOnBuildValues.UseImplicitObjectCreation,
CSharpCodeStyleOptions.ImplicitObjectCreationWhenTypeIsApparent,
LanguageNames.CSharp,
new LocalizableResourceString(nameof(CSharpAnalyzersResources.Use_new), CSharpAnalyzersResources.ResourceManager, typeof(CSharpAnalyzersResources)),
new LocalizableResourceString(nameof(CSharpAnalyzersResources.new_expression_can_be_simplified), CSharpAnalyzersResources.ResourceManager, typeof(CSharpAnalyzersResources)))
{
}
public override DiagnosticAnalyzerCategory GetAnalyzerCategory()
=> DiagnosticAnalyzerCategory.SemanticSpanAnalysis;
protected override void InitializeWorker(AnalysisContext context)
=> context.RegisterSyntaxNodeAction(AnalyzeSyntax, SyntaxKind.ObjectCreationExpression);
private void AnalyzeSyntax(SyntaxNodeAnalysisContext context)
{
var options = context.Options;
var syntaxTree = context.Node.SyntaxTree;
var semanticModel = context.SemanticModel;
var cancellationToken = context.CancellationToken;
// Not available prior to C# 9.
if (((CSharpParseOptions)syntaxTree.Options).LanguageVersion < LanguageVersion.CSharp9)
return;
var optionSet = options.GetAnalyzerOptionSet(syntaxTree, cancellationToken);
var styleOption = options.GetOption(CSharpCodeStyleOptions.ImplicitObjectCreationWhenTypeIsApparent, syntaxTree, cancellationToken);
if (!styleOption.Value)
{
// Bail immediately if the user has disabled this feature.
return;
}
// type is apparent if we the object creation location is closely tied (spatially) to the explicit type. Specifically:
//
// 1. Variable declarations. i.e. `List<int> list = new ...`. Note: we will suppress ourselves if this
// is a field and the 'var' preferences would lead to preferring this as `var list = ...`
// 2. Expression-bodied constructs with an explicit return type. i.e. `List<int> Prop => new ...` or
// `List<int> GetValue(...) => ...` The latter doesn't necessarily have the object creation spatially next to
// the type. However, the type is always in a very easy to ascertain location in C#, so it is treated as
// apparent.
var objectCreation = (ObjectCreationExpressionSyntax)context.Node;
TypeSyntax? typeNode;
if (objectCreation.Parent.IsKind(SyntaxKind.EqualsValueClause) &&
objectCreation.Parent.Parent.IsKind(SyntaxKind.VariableDeclarator) &&
objectCreation.Parent.Parent.Parent is VariableDeclarationSyntax variableDeclaration &&
!variableDeclaration.Type.IsVar)
{
typeNode = variableDeclaration.Type;
var helper = CSharpUseImplicitTypeHelper.Instance;
if (helper.ShouldAnalyzeVariableDeclaration(variableDeclaration, cancellationToken) &&
helper.AnalyzeTypeName(typeNode, semanticModel, optionSet, cancellationToken).IsStylePreferred)
{
// this is a case where the user would prefer 'var'. don't offer to use an implicit object here.
return;
}
}
else if (objectCreation.Parent.IsKind(SyntaxKind.ArrowExpressionClause))
{
typeNode = objectCreation.Parent.Parent switch
{
LocalFunctionStatementSyntax localFunction => localFunction.ReturnType,
MethodDeclarationSyntax method => method.ReturnType,
ConversionOperatorDeclarationSyntax conversion => conversion.Type,
OperatorDeclarationSyntax op => op.ReturnType,
BasePropertyDeclarationSyntax property => property.Type,
AccessorDeclarationSyntax(SyntaxKind.GetAccessorDeclaration) { Parent: AccessorListSyntax { Parent: BasePropertyDeclarationSyntax baseProperty } } accessor => baseProperty.Type,
_ => null,
};
}
else
{
// more cases can be added here if we discover more cases we think the type is readily apparent from context.
return;
}
if (typeNode == null)
return;
// Only offer if the type being constructed is the exact same as the type being assigned into. We don't
// want to change semantics by trying to instantiate something else.
var leftType = semanticModel.GetTypeInfo(typeNode, cancellationToken).Type;
var rightType = semanticModel.GetTypeInfo(objectCreation, cancellationToken).Type;
if (leftType is null || rightType is null)
return;
if (leftType.IsErrorType() || rightType.IsErrorType())
return;
// The default SymbolEquivalenceComparer will ignore tuple name differences, which is advantageous here
if (!SymbolEquivalenceComparer.Instance.Equals(leftType, rightType))
{
return;
}
context.ReportDiagnostic(DiagnosticHelper.Create(
Descriptor,
objectCreation.Type.GetLocation(),
styleOption.Notification.Severity,
ImmutableArray.Create(objectCreation.GetLocation()),
properties: null));
}
}
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Scripting/VisualBasic/VisualBasicScript.vb | ' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
Imports System.Threading
Imports System.Threading.Tasks
Imports Microsoft.CodeAnalysis.Scripting
Imports Microsoft.CodeAnalysis.Scripting.Hosting
Imports Microsoft.CodeAnalysis.Text
Namespace Microsoft.CodeAnalysis.VisualBasic.Scripting
''' <summary>
''' A factory for creating and running Visual Basic scripts.
''' </summary>
Public NotInheritable Class VisualBasicScript
Private Sub New()
End Sub
''' <summary>
''' Create a new Visual Basic script.
''' </summary>
Public Shared Function Create(Of T)(code As String,
Optional options As ScriptOptions = Nothing,
Optional globalsType As Type = Nothing,
Optional assemblyLoader As InteractiveAssemblyLoader = Nothing) As Script(Of T)
Return Script.CreateInitialScript(Of T)(VisualBasicScriptCompiler.Instance, SourceText.From(If(code, String.Empty)), options, globalsType, assemblyLoader)
End Function
''' <summary>
''' Create a new Visual Basic script.
''' </summary>
Public Shared Function Create(code As String,
Optional options As ScriptOptions = Nothing,
Optional globalsType As Type = Nothing,
Optional assemblyLoader As InteractiveAssemblyLoader = Nothing) As Script(Of Object)
Return Create(Of Object)(code, options, globalsType, assemblyLoader)
End Function
''' <summary>
''' Run a Visual Basic script.
''' </summary>
Public Shared Function RunAsync(Of T)(code As String,
Optional options As ScriptOptions = Nothing,
Optional globals As Object = Nothing,
Optional cancellationToken As CancellationToken = Nothing) As Task(Of ScriptState(Of T))
Return Create(Of T)(code, options, globals?.GetType()).RunAsync(globals, cancellationToken)
End Function
''' <summary>
''' Run a Visual Basic script.
''' </summary>
Public Shared Function RunAsync(code As String,
Optional options As ScriptOptions = Nothing,
Optional globals As Object = Nothing,
Optional cancellationToken As CancellationToken = Nothing) As Task(Of ScriptState(Of Object))
Return RunAsync(Of Object)(code, options, globals, cancellationToken)
End Function
''' <summary>
''' Run a Visual Basic script and return its resulting value.
''' </summary>
Public Shared Function EvaluateAsync(Of T)(code As String,
Optional options As ScriptOptions = Nothing,
Optional globals As Object = Nothing,
Optional cancellationToken As CancellationToken = Nothing) As Task(Of T)
Return RunAsync(Of T)(code, options, globals, cancellationToken).GetEvaluationResultAsync()
End Function
''' <summary>
''' Run a Visual Basic script and return its resulting value.
''' </summary>
Public Shared Function EvaluateAsync(code As String,
Optional options As ScriptOptions = Nothing,
Optional globals As Object = Nothing,
Optional cancellationToken As CancellationToken = Nothing) As Task(Of Object)
Return EvaluateAsync(Of Object)(code, Nothing, globals, cancellationToken)
End Function
End Class
End Namespace
| ' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
Imports System.Threading
Imports System.Threading.Tasks
Imports Microsoft.CodeAnalysis.Scripting
Imports Microsoft.CodeAnalysis.Scripting.Hosting
Imports Microsoft.CodeAnalysis.Text
Namespace Microsoft.CodeAnalysis.VisualBasic.Scripting
''' <summary>
''' A factory for creating and running Visual Basic scripts.
''' </summary>
Public NotInheritable Class VisualBasicScript
Private Sub New()
End Sub
''' <summary>
''' Create a new Visual Basic script.
''' </summary>
Public Shared Function Create(Of T)(code As String,
Optional options As ScriptOptions = Nothing,
Optional globalsType As Type = Nothing,
Optional assemblyLoader As InteractiveAssemblyLoader = Nothing) As Script(Of T)
Return Script.CreateInitialScript(Of T)(VisualBasicScriptCompiler.Instance, SourceText.From(If(code, String.Empty)), options, globalsType, assemblyLoader)
End Function
''' <summary>
''' Create a new Visual Basic script.
''' </summary>
Public Shared Function Create(code As String,
Optional options As ScriptOptions = Nothing,
Optional globalsType As Type = Nothing,
Optional assemblyLoader As InteractiveAssemblyLoader = Nothing) As Script(Of Object)
Return Create(Of Object)(code, options, globalsType, assemblyLoader)
End Function
''' <summary>
''' Run a Visual Basic script.
''' </summary>
Public Shared Function RunAsync(Of T)(code As String,
Optional options As ScriptOptions = Nothing,
Optional globals As Object = Nothing,
Optional cancellationToken As CancellationToken = Nothing) As Task(Of ScriptState(Of T))
Return Create(Of T)(code, options, globals?.GetType()).RunAsync(globals, cancellationToken)
End Function
''' <summary>
''' Run a Visual Basic script.
''' </summary>
Public Shared Function RunAsync(code As String,
Optional options As ScriptOptions = Nothing,
Optional globals As Object = Nothing,
Optional cancellationToken As CancellationToken = Nothing) As Task(Of ScriptState(Of Object))
Return RunAsync(Of Object)(code, options, globals, cancellationToken)
End Function
''' <summary>
''' Run a Visual Basic script and return its resulting value.
''' </summary>
Public Shared Function EvaluateAsync(Of T)(code As String,
Optional options As ScriptOptions = Nothing,
Optional globals As Object = Nothing,
Optional cancellationToken As CancellationToken = Nothing) As Task(Of T)
Return RunAsync(Of T)(code, options, globals, cancellationToken).GetEvaluationResultAsync()
End Function
''' <summary>
''' Run a Visual Basic script and return its resulting value.
''' </summary>
Public Shared Function EvaluateAsync(code As String,
Optional options As ScriptOptions = Nothing,
Optional globals As Object = Nothing,
Optional cancellationToken As CancellationToken = Nothing) As Task(Of Object)
Return EvaluateAsync(Of Object)(code, Nothing, globals, cancellationToken)
End Function
End Class
End Namespace
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Analyzers/CSharp/CodeFixes/ConvertNamespace/ConvertNamespaceCodeFixProvider.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Immutable;
using System.Composition;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CodeStyle;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.Editing;
using Microsoft.CodeAnalysis.Host.Mef;
using Microsoft.CodeAnalysis.Shared.Extensions;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.CSharp.ConvertNamespace
{
using static ConvertNamespaceAnalysis;
using static ConvertNamespaceTransform;
[ExportCodeFixProvider(LanguageNames.CSharp, Name = PredefinedCodeFixProviderNames.ConvertNamespace), Shared]
internal class ConvertNamespaceCodeFixProvider : SyntaxEditorBasedCodeFixProvider
{
[ImportingConstructor]
[Obsolete(MefConstruction.ImportingConstructorMessage, error: true)]
public ConvertNamespaceCodeFixProvider()
{
}
internal override CodeFixCategory CodeFixCategory => CodeFixCategory.CodeStyle;
public override ImmutableArray<string> FixableDiagnosticIds
=> ImmutableArray.Create(IDEDiagnosticIds.UseBlockScopedNamespaceDiagnosticId, IDEDiagnosticIds.UseFileScopedNamespaceDiagnosticId);
public override Task RegisterCodeFixesAsync(CodeFixContext context)
{
var diagnostic = context.Diagnostics.First();
var (title, equivalenceKey) = GetInfo(
diagnostic.Id switch
{
IDEDiagnosticIds.UseBlockScopedNamespaceDiagnosticId => NamespaceDeclarationPreference.BlockScoped,
IDEDiagnosticIds.UseFileScopedNamespaceDiagnosticId => NamespaceDeclarationPreference.FileScoped,
_ => throw ExceptionUtilities.UnexpectedValue(diagnostic.Id),
});
context.RegisterCodeFix(
new MyCodeAction(title, c => FixAsync(context.Document, diagnostic, c), equivalenceKey),
context.Diagnostics);
return Task.CompletedTask;
}
protected override Task FixAllAsync(
Document document, ImmutableArray<Diagnostic> diagnostics,
SyntaxEditor editor, CancellationToken cancellationToken)
{
var diagnostic = diagnostics.First();
var namespaceDecl = (BaseNamespaceDeclarationSyntax)diagnostic.AdditionalLocations[0].FindNode(cancellationToken);
var converted = Convert(namespaceDecl);
editor.ReplaceNode(namespaceDecl, converted);
return Task.CompletedTask;
}
private class MyCodeAction : CustomCodeActions.DocumentChangeAction
{
public MyCodeAction(string title, Func<CancellationToken, Task<Document>> createChangedDocument, string equivalenceKey)
: base(title, createChangedDocument, equivalenceKey)
{
}
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Immutable;
using System.Composition;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CodeStyle;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.Editing;
using Microsoft.CodeAnalysis.Host.Mef;
using Microsoft.CodeAnalysis.Shared.Extensions;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.CSharp.ConvertNamespace
{
using static ConvertNamespaceAnalysis;
using static ConvertNamespaceTransform;
[ExportCodeFixProvider(LanguageNames.CSharp, Name = PredefinedCodeFixProviderNames.ConvertNamespace), Shared]
internal class ConvertNamespaceCodeFixProvider : SyntaxEditorBasedCodeFixProvider
{
[ImportingConstructor]
[Obsolete(MefConstruction.ImportingConstructorMessage, error: true)]
public ConvertNamespaceCodeFixProvider()
{
}
internal override CodeFixCategory CodeFixCategory => CodeFixCategory.CodeStyle;
public override ImmutableArray<string> FixableDiagnosticIds
=> ImmutableArray.Create(IDEDiagnosticIds.UseBlockScopedNamespaceDiagnosticId, IDEDiagnosticIds.UseFileScopedNamespaceDiagnosticId);
public override Task RegisterCodeFixesAsync(CodeFixContext context)
{
var diagnostic = context.Diagnostics.First();
var (title, equivalenceKey) = GetInfo(
diagnostic.Id switch
{
IDEDiagnosticIds.UseBlockScopedNamespaceDiagnosticId => NamespaceDeclarationPreference.BlockScoped,
IDEDiagnosticIds.UseFileScopedNamespaceDiagnosticId => NamespaceDeclarationPreference.FileScoped,
_ => throw ExceptionUtilities.UnexpectedValue(diagnostic.Id),
});
context.RegisterCodeFix(
new MyCodeAction(title, c => FixAsync(context.Document, diagnostic, c), equivalenceKey),
context.Diagnostics);
return Task.CompletedTask;
}
protected override Task FixAllAsync(
Document document, ImmutableArray<Diagnostic> diagnostics,
SyntaxEditor editor, CancellationToken cancellationToken)
{
var diagnostic = diagnostics.First();
var namespaceDecl = (BaseNamespaceDeclarationSyntax)diagnostic.AdditionalLocations[0].FindNode(cancellationToken);
var converted = Convert(namespaceDecl);
editor.ReplaceNode(namespaceDecl, converted);
return Task.CompletedTask;
}
private class MyCodeAction : CustomCodeActions.DocumentChangeAction
{
public MyCodeAction(string title, Func<CancellationToken, Task<Document>> createChangedDocument, string equivalenceKey)
: base(title, createChangedDocument, equivalenceKey)
{
}
}
}
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/VisualStudio/VisualBasic/Impl/Microsoft.VisualStudio.LanguageServices.VisualBasic.vbproj | <?xml version="1.0" encoding="utf-8"?>
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>net472</TargetFramework>
<UseWpf>true</UseWpf>
<RootNamespace></RootNamespace>
<ApplyNgenOptimization>partial</ApplyNgenOptimization>
<!-- VSIX -->
<CreateVsixContainer>false</CreateVsixContainer>
<GeneratePkgDefFile>true</GeneratePkgDefFile>
<DeployExtension>false</DeployExtension>
</PropertyGroup>
<ItemGroup Label="PkgDef">
<PkgDefInstalledProduct Include="{574fc912-f74f-4b4e-92c3-f695c208a2bb}" Name="Microsoft Visual Basic" DisplayName="#113" ProductDetails="#114" />
<PkgDefPackageRegistration Include="{574fc912-f74f-4b4e-92c3-f695c208a2bb}" Name="VisualBasicPackage" Class="Microsoft.VisualStudio.LanguageServices.VisualBasic.VisualBasicPackage" AllowsBackgroundLoad="true" />
<None Include="PackageRegistration.pkgdef" PkgDefEntry="FileContent" />
</ItemGroup>
<ItemGroup Label="Project References">
<ProjectReference Include="..\..\..\Compilers\Core\Portable\Microsoft.CodeAnalysis.csproj" />
<ProjectReference Include="..\..\..\Compilers\VisualBasic\Portable\Microsoft.CodeAnalysis.VisualBasic.vbproj" />
<ProjectReference Include="..\..\..\Features\VisualBasic\Portable\Microsoft.CodeAnalysis.VisualBasic.Features.vbproj" />
<ProjectReference Include="..\..\..\EditorFeatures\Core\Microsoft.CodeAnalysis.EditorFeatures.csproj" />
<ProjectReference Include="..\..\..\Workspaces\Core\Portable\Microsoft.CodeAnalysis.Workspaces.csproj" />
<ProjectReference Include="..\..\..\Features\Core\Portable\Microsoft.CodeAnalysis.Features.csproj" />
<ProjectReference Include="..\..\..\EditorFeatures\Text\Microsoft.CodeAnalysis.EditorFeatures.Text.csproj" />
<ProjectReference Include="..\..\..\Workspaces\VisualBasic\Portable\Microsoft.CodeAnalysis.VisualBasic.Workspaces.vbproj" />
<ProjectReference Include="..\..\..\EditorFeatures\VisualBasic\Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.vbproj" />
<ProjectReference Include="..\..\..\VisualStudio\Core\Def\Microsoft.VisualStudio.LanguageServices.csproj" />
<ProjectReference Include="..\..\..\VisualStudio\Core\Impl\Microsoft.VisualStudio.LanguageServices.Implementation.csproj" />
</ItemGroup>
<ItemGroup>
<Reference Include="System.Windows.Forms" />
</ItemGroup>
<ItemGroup>
<InternalsVisibleTo Include="Microsoft.VisualStudio.ProjectSystem.VisualBasic" WorkItem="https://github.com/dotnet/roslyn/issues/35070" />
<InternalsVisibleTo Include="Microsoft.VisualStudio.LanguageServices.UnitTests" />
<InternalsVisibleTo Include="Microsoft.CodeAnalysis.EditorFeatures2.UnitTests" />
<InternalsVisibleTo Include="Microsoft.VisualStudio.LanguageServices.Test.Utilities2" />
</ItemGroup>
<ItemGroup>
<Import Include="Roslyn.Utilities" />
<Import Include="System.Threading.Tasks"/>
<Import Include="System.Xml.Linq" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="BasicVSResources.resx" GenerateSource="true" Namespace="Microsoft.VisualStudio.LanguageServices.VisualBasic" />
<EmbeddedResource Update="VSPackage.resx">
<MergeWithCTO>true</MergeWithCTO>
<ManifestResourceName>VSPackage</ManifestResourceName>
<SubType>Designer</SubType>
</EmbeddedResource>
</ItemGroup>
</Project> | <?xml version="1.0" encoding="utf-8"?>
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>net472</TargetFramework>
<UseWpf>true</UseWpf>
<RootNamespace></RootNamespace>
<ApplyNgenOptimization>partial</ApplyNgenOptimization>
<!-- VSIX -->
<CreateVsixContainer>false</CreateVsixContainer>
<GeneratePkgDefFile>true</GeneratePkgDefFile>
<DeployExtension>false</DeployExtension>
</PropertyGroup>
<ItemGroup Label="PkgDef">
<PkgDefInstalledProduct Include="{574fc912-f74f-4b4e-92c3-f695c208a2bb}" Name="Microsoft Visual Basic" DisplayName="#113" ProductDetails="#114" />
<PkgDefPackageRegistration Include="{574fc912-f74f-4b4e-92c3-f695c208a2bb}" Name="VisualBasicPackage" Class="Microsoft.VisualStudio.LanguageServices.VisualBasic.VisualBasicPackage" AllowsBackgroundLoad="true" />
<None Include="PackageRegistration.pkgdef" PkgDefEntry="FileContent" />
</ItemGroup>
<ItemGroup Label="Project References">
<ProjectReference Include="..\..\..\Compilers\Core\Portable\Microsoft.CodeAnalysis.csproj" />
<ProjectReference Include="..\..\..\Compilers\VisualBasic\Portable\Microsoft.CodeAnalysis.VisualBasic.vbproj" />
<ProjectReference Include="..\..\..\Features\VisualBasic\Portable\Microsoft.CodeAnalysis.VisualBasic.Features.vbproj" />
<ProjectReference Include="..\..\..\EditorFeatures\Core\Microsoft.CodeAnalysis.EditorFeatures.csproj" />
<ProjectReference Include="..\..\..\Workspaces\Core\Portable\Microsoft.CodeAnalysis.Workspaces.csproj" />
<ProjectReference Include="..\..\..\Features\Core\Portable\Microsoft.CodeAnalysis.Features.csproj" />
<ProjectReference Include="..\..\..\EditorFeatures\Text\Microsoft.CodeAnalysis.EditorFeatures.Text.csproj" />
<ProjectReference Include="..\..\..\Workspaces\VisualBasic\Portable\Microsoft.CodeAnalysis.VisualBasic.Workspaces.vbproj" />
<ProjectReference Include="..\..\..\EditorFeatures\VisualBasic\Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.vbproj" />
<ProjectReference Include="..\..\..\VisualStudio\Core\Def\Microsoft.VisualStudio.LanguageServices.csproj" />
<ProjectReference Include="..\..\..\VisualStudio\Core\Impl\Microsoft.VisualStudio.LanguageServices.Implementation.csproj" />
</ItemGroup>
<ItemGroup>
<Reference Include="System.Windows.Forms" />
</ItemGroup>
<ItemGroup>
<InternalsVisibleTo Include="Microsoft.VisualStudio.ProjectSystem.VisualBasic" WorkItem="https://github.com/dotnet/roslyn/issues/35070" />
<InternalsVisibleTo Include="Microsoft.VisualStudio.LanguageServices.UnitTests" />
<InternalsVisibleTo Include="Microsoft.CodeAnalysis.EditorFeatures2.UnitTests" />
<InternalsVisibleTo Include="Microsoft.VisualStudio.LanguageServices.Test.Utilities2" />
</ItemGroup>
<ItemGroup>
<Import Include="Roslyn.Utilities" />
<Import Include="System.Threading.Tasks"/>
<Import Include="System.Xml.Linq" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="BasicVSResources.resx" GenerateSource="true" Namespace="Microsoft.VisualStudio.LanguageServices.VisualBasic" />
<EmbeddedResource Update="VSPackage.resx">
<MergeWithCTO>true</MergeWithCTO>
<ManifestResourceName>VSPackage</ManifestResourceName>
<SubType>Designer</SubType>
</EmbeddedResource>
</ItemGroup>
</Project> | -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/CodeStyle/VisualBasic/Analyzers/xlf/VBCodeStyleResources.it.xlf | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="it" original="../VBCodeStyleResources.resx">
<body>
<trans-unit id="EmptyResource">
<source>Remove this value when another is added.</source>
<target state="translated">Rimuovere questo valore quando ne viene aggiunto un altro.</target>
<note>https://github.com/Microsoft/msbuild/issues/1661</note>
</trans-unit>
</body>
</file>
</xliff> | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="it" original="../VBCodeStyleResources.resx">
<body>
<trans-unit id="EmptyResource">
<source>Remove this value when another is added.</source>
<target state="translated">Rimuovere questo valore quando ne viene aggiunto un altro.</target>
<note>https://github.com/Microsoft/msbuild/issues/1661</note>
</trans-unit>
</body>
</file>
</xliff> | -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Compilers/VisualBasic/Test/Semantic/Diagnostics/DiagnosticTests.vb | ' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
Imports System.Globalization
Imports Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax
Imports Roslyn.Test.Utilities
Namespace Microsoft.CodeAnalysis.VisualBasic.UnitTests
Public Class DiagnosticTests
Inherits BasicTestBase
''' <summary>
''' Ensure string resources are included.
''' </summary>
<Fact()>
Public Sub Resources()
Dim excludedIds = {
ERRID.Void,
ERRID.Unknown,
ERRID.ERR_None,
ERRID.ERR_CannotUseGenericBaseTypeAcrossAssemblyBoundaries, ' Not reported. See ImportsBinder.ShouldReportUseSiteErrorForAlias.
ERRID.ERRWRN_NextAvailable
}
For Each id As ERRID In [Enum].GetValues(GetType(ERRID))
If Array.IndexOf(excludedIds, id) >= 0 Then
Continue For
End If
' FEATURE_AutoProperties is the first feature in ERRID.
If id >= ERRID.FEATURE_AutoProperties Then
Continue For
End If
Dim message = ErrorFactory.IdToString(id, CultureInfo.InvariantCulture)
Assert.False(String.IsNullOrEmpty(message))
Next
End Sub
''' <summary>
''' ERRID should not have duplicates.
''' </summary>
<WorkItem(20701, "https://github.com/dotnet/roslyn/issues/20701")>
<Fact()>
Public Sub NoDuplicates()
Dim values = [Enum].GetValues(GetType(ERRID))
Dim [set] = New HashSet(Of ERRID)
For Each id As ERRID In values
Assert.True([set].Add(id))
Next
End Sub
<Fact()>
Public Sub Features()
Dim excludedFeatures = {
Feature.InterpolatedStrings, ' https://github.com/dotnet/roslyn/issues/17761
Feature.InferredTupleNames,
Feature.NonTrailingNamedArguments
}
Dim [set] = New HashSet(Of ERRID)
For Each feature As Feature In [Enum].GetValues(GetType(Feature))
If Array.IndexOf(excludedFeatures, feature) >= 0 Then
Continue For
End If
Dim id = feature.GetResourceId()
Assert.True([set].Add(id))
Next
End Sub
End Class
End Namespace
| ' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
Imports System.Globalization
Imports Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax
Imports Roslyn.Test.Utilities
Namespace Microsoft.CodeAnalysis.VisualBasic.UnitTests
Public Class DiagnosticTests
Inherits BasicTestBase
''' <summary>
''' Ensure string resources are included.
''' </summary>
<Fact()>
Public Sub Resources()
Dim excludedIds = {
ERRID.Void,
ERRID.Unknown,
ERRID.ERR_None,
ERRID.ERR_CannotUseGenericBaseTypeAcrossAssemblyBoundaries, ' Not reported. See ImportsBinder.ShouldReportUseSiteErrorForAlias.
ERRID.ERRWRN_NextAvailable
}
For Each id As ERRID In [Enum].GetValues(GetType(ERRID))
If Array.IndexOf(excludedIds, id) >= 0 Then
Continue For
End If
' FEATURE_AutoProperties is the first feature in ERRID.
If id >= ERRID.FEATURE_AutoProperties Then
Continue For
End If
Dim message = ErrorFactory.IdToString(id, CultureInfo.InvariantCulture)
Assert.False(String.IsNullOrEmpty(message))
Next
End Sub
''' <summary>
''' ERRID should not have duplicates.
''' </summary>
<WorkItem(20701, "https://github.com/dotnet/roslyn/issues/20701")>
<Fact()>
Public Sub NoDuplicates()
Dim values = [Enum].GetValues(GetType(ERRID))
Dim [set] = New HashSet(Of ERRID)
For Each id As ERRID In values
Assert.True([set].Add(id))
Next
End Sub
<Fact()>
Public Sub Features()
Dim excludedFeatures = {
Feature.InterpolatedStrings, ' https://github.com/dotnet/roslyn/issues/17761
Feature.InferredTupleNames,
Feature.NonTrailingNamedArguments
}
Dim [set] = New HashSet(Of ERRID)
For Each feature As Feature In [Enum].GetValues(GetType(Feature))
If Array.IndexOf(excludedFeatures, feature) >= 0 Then
Continue For
End If
Dim id = feature.GetResourceId()
Assert.True([set].Add(id))
Next
End Sub
End Class
End Namespace
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/EditorFeatures/VisualBasicTest/ExtractMethod/ExtractMethodTests.ControlFlowAnalysis.vb | ' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
Namespace Microsoft.CodeAnalysis.Editor.VisualBasic.UnitTests.ExtractMethod
Partial Public Class ExtractMethodTests
''' <summary>
''' This contains tests for Extract Method components that depend on Control Flow Analysis API
''' (A) Selection Validator
''' (B) Analyzer
''' </summary>
''' <remarks></remarks>
<[UseExportProvider]>
Public Class FlowAnalysis
<Fact, Trait(Traits.Feature, Traits.Features.ExtractMethod)>
Public Async Function TestExitSub() As Threading.Tasks.Task
Dim code = <text>Class Test
Sub Test()
[|Exit Sub|]
End Sub
End Class</text>
Await ExpectExtractMethodToFailAsync(code)
End Function
<Fact, Trait(Traits.Feature, Traits.Features.ExtractMethod)>
Public Async Function TestExitFunction() As Threading.Tasks.Task
Dim code = <text>Class Test
Function Test1() As Integer
Console.Write(42)
[|Test1 = 1
Console.Write(5)
Exit Function|]
End Function
End Class</text>
Await ExpectExtractMethodToFailAsync(code)
End Function
<WorkItem(540046, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/540046")>
<Fact, Trait(Traits.Feature, Traits.Features.ExtractMethod)>
Public Async Function TestReturnStatement() As Task
Dim code = <text>Class A
Function Test1() As Integer
Dim x As Integer = 5
Console.Write(x)
[|Return x|]
End Function
End Class</text>
Dim expected = <text>Class A
Function Test1() As Integer
Dim x As Integer = 5
Console.Write(x)
Return NewMethod(x)
End Function
Private Shared Function NewMethod(x As Integer) As Integer
Return x
End Function
End Class</text>
Await TestExtractMethodAsync(code, expected)
End Function
<Fact, Trait(Traits.Feature, Traits.Features.ExtractMethod)>
Public Async Function TestDoBranch() As Task
Dim code = <text>Class A
Function Test1() As Integer
Dim x As Integer = 5
Console.Write(x)
Dim i As Integer
[|Do
Console.Write(i)
i = i + 1
Loop Until i > 5|]
Return x
End Function
End Class</text>
Dim expected = <text>Class A
Function Test1() As Integer
Dim x As Integer = 5
Console.Write(x)
Dim i As Integer
i = NewMethod(i)
Return x
End Function
Private Shared Function NewMethod(i As Integer) As Integer
Do
Console.Write(i)
i = i + 1
Loop Until i > 5
Return i
End Function
End Class</text>
Await TestExtractMethodAsync(code, expected)
End Function
<Fact, Trait(Traits.Feature, Traits.Features.ExtractMethod)>
Public Async Function TestDoBranchInvalidSelection() As Task
Dim code = <text>Class A
Function Test1() As Integer
Dim x As Integer = 5
Console.Write(x)
Dim i As Integer
[|Do
Console.Write(i)|]
i = i + 1
Loop Until i > 5
Return x
End Function
End Class</text>
Dim expected = <text>Class A
Function Test1() As Integer
Dim x As Integer = 5
Console.Write(x)
Dim i As Integer
i = NewMethod(i)
Return x
End Function
Private Shared Function NewMethod(i As Integer) As Integer
Do
Console.Write(i)
i = i + 1
Loop Until i > 5
Return i
End Function
End Class</text>
Await TestExtractMethodAsync(code, expected)
End Function
<Fact, Trait(Traits.Feature, Traits.Features.ExtractMethod)>
Public Async Function TestDoBranchWithContinue() As Task
Dim code = <text>Class A
Function Test1() As Integer
Dim x As Integer = 5
Console.Write(x)
Dim i As Integer
[|Do
Console.Write(i)
i = i + 1
Continue Do
'Blah
Loop Until i > 5|]
Return x
End Function
End Class</text>
Dim expected = <text>Class A
Function Test1() As Integer
Dim x As Integer = 5
Console.Write(x)
Dim i As Integer
i = NewMethod(i)
Return x
End Function
Private Shared Function NewMethod(i As Integer) As Integer
Do
Console.Write(i)
i = i + 1
Continue Do
'Blah
Loop Until i > 5
Return i
End Function
End Class</text>
Await TestExtractMethodAsync(code, expected)
End Function
<Fact, Trait(Traits.Feature, Traits.Features.ExtractMethod)>
Public Async Function TestInvalidSelectionLeftOfAssignment() As Task
Dim code = <text>Class A
Protected x As Integer = 1
Public Sub New()
[|x|] = 42
End Sub
End Class</text>
Dim expected = <text>Class A
Protected x As Integer = 1
Public Sub New()
NewMethod()
End Sub
Private Sub NewMethod()
x = 42
End Sub
End Class</text>
Await TestExtractMethodAsync(code, expected)
End Function
<Fact, Trait(Traits.Feature, Traits.Features.ExtractMethod)>
Public Async Function TestInvalidSelectionOfArrayLiterals() As Task
Dim code = <text>Class A
Public Sub Test()
Dim numbers = New Integer() [|{1,2,3,4}|]
End Sub
End Class</text>
Dim expected = <text>Class A
Public Sub Test()
Dim numbers = GetNumbers()
End Sub
Private Shared Function GetNumbers() As Integer()
Return New Integer() {1, 2, 3, 4}
End Function
End Class</text>
Await TestExtractMethodAsync(code, expected)
End Function
<WorkItem(540154, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/540154")>
<Fact, Trait(Traits.Feature, Traits.Features.ExtractMethod)>
Public Async Function TestBugFix6313() As Task
Dim code = <text>Imports System
Class A
Sub Test(b As Boolean)
[|If b Then
Return
End If
Console.WriteLine(1)|]
End Sub
End Class</text>
Dim expected = <text>Imports System
Class A
Sub Test(b As Boolean)
NewMethod(b)
End Sub
Private Shared Sub NewMethod(b As Boolean)
If b Then
Return
End If
Console.WriteLine(1)
End Sub
End Class</text>
Await TestExtractMethodAsync(code, expected)
End Function
<WorkItem(540154, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/540154")>
<Fact, Trait(Traits.Feature, Traits.Features.ExtractMethod)>
Public Async Function BugFix6313_1() As Task
Dim code = <text>Imports System
Class A
Sub Test(b As Boolean)
[|If b Then
Return
End If|]
Console.WriteLine(1)
End Sub
End Class</text>
Await ExpectExtractMethodToFailAsync(code)
End Function
<WorkItem(540154, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/540154")>
<Fact, Trait(Traits.Feature, Traits.Features.ExtractMethod)>
Public Async Function BugFix6313_2() As Threading.Tasks.Task
Dim code = <text>Imports System
Class A
Function Test(b As Boolean) as Integer
[|If b Then
Return 1
End If
Console.WriteLine(1)|]
End Function
End Class</text>
Await ExpectExtractMethodToFailAsync(code)
End Function
<WorkItem(540154, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/540154")>
<Fact, Trait(Traits.Feature, Traits.Features.ExtractMethod)>
Public Async Function TestBugFix6313_3() As Task
Dim code = <text>Imports System
Class A
Sub Test()
[|Dim b as Boolean = True
If b Then
Return
End If
Dim d As Action = Sub()
If b Then
Return
End If
Console.WriteLine(1)
End Sub|]
End Sub
End Class</text>
Dim expected = <text>Imports System
Class A
Sub Test()
NewMethod()
End Sub
Private Shared Sub NewMethod()
Dim b as Boolean = True
If b Then
Return
End If
Dim d As Action = Sub()
If b Then
Return
End If
Console.WriteLine(1)
End Sub
End Sub
End Class</text>
Await TestExtractMethodAsync(code, expected)
End Function
<WorkItem(540154, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/540154")>
<Fact, Trait(Traits.Feature, Traits.Features.ExtractMethod)>
Public Async Function TestBugFix6313_4() As Task
Dim code = <text>Imports System
Class A
Sub Test()
[|Dim d As Action = Sub()
Dim i As Integer = 1
If i > 10 Then
Return
End If
Console.WriteLine(1)
End Sub
Dim d2 As Action = Sub()
Dim i As Integer = 1
If i > 10 Then
Return
End If
Console.WriteLine(1)
End Sub|]
Console.WriteLine(1)
End Sub
End Class</text>
Dim expected = <text>Imports System
Class A
Sub Test()
NewMethod()
Console.WriteLine(1)
End Sub
Private Shared Sub NewMethod()
Dim d As Action = Sub()
Dim i As Integer = 1
If i > 10 Then
Return
End If
Console.WriteLine(1)
End Sub
Dim d2 As Action = Sub()
Dim i As Integer = 1
If i > 10 Then
Return
End If
Console.WriteLine(1)
End Sub
End Sub
End Class</text>
Await TestExtractMethodAsync(code, expected)
End Function
<WorkItem(540154, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/540154")>
<Fact, Trait(Traits.Feature, Traits.Features.ExtractMethod)>
Public Async Function TestBugFix6313_5() As Task
Dim code = <text>Imports System
Class A
Sub Test()
Dim d As Action = Sub()
[|Dim i As Integer = 1
If i > 10 Then
Return
End If
Console.WriteLine(1)|]
End Sub
End Sub
End Class</text>
Dim expected = <text>Imports System
Class A
Sub Test()
Dim d As Action = Sub()
NewMethod()
End Sub
End Sub
Private Shared Sub NewMethod()
Dim i As Integer = 1
If i > 10 Then
Return
End If
Console.WriteLine(1)
End Sub
End Class</text>
Await TestExtractMethodAsync(code, expected)
End Function
<WorkItem(540154, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/540154"), WorkItem(541484, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/541484")>
<Fact, Trait(Traits.Feature, Traits.Features.ExtractMethod)>
Public Async Function BugFix6313_6() As Task
Dim code = <text>Imports System
Class A
Sub Test()
Dim d As Action = Sub()
[|Dim i As Integer = 1
If i > 10 Then
Return
End If|]
Console.WriteLine(1)
End Function
End Sub
End Class</text>
Await ExpectExtractMethodToFailAsync(code)
End Function
<WorkItem(543670, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/543670")>
<Fact, Trait(Traits.Feature, Traits.Features.ExtractMethod)>
Public Async Function AnonymousLambdaInVarDecl() As Task
Dim code = <text>Imports System
Module Program
Sub Main
[|Dim u = Function(x As Integer) 5|]
u.Invoke(Nothing)
End Sub
End Module</text>
Await ExpectExtractMethodToFailAsync(code)
End Function
<Fact, WorkItem(531451, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/531451"), Trait(Traits.Feature, Traits.Features.ExtractMethod)>
Public Async Function TestInvalidSelectionNonExecutableStatementSyntax_01() As Task
Dim code = <text>Module Program
Sub Main(args As String())
[|If True Then ElseIf True Then Return|]
End Sub
End Module</text>
Dim expected = <text>Module Program
Sub Main(args As String())
NewMethod()
End Sub
Private Sub NewMethod()
If True Then ElseIf True Then Return
End Sub
End Module</text>
Await TestExtractMethodAsync(code, expected)
End Function
<Fact, WorkItem(547156, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/547156"), Trait(Traits.Feature, Traits.Features.ExtractMethod)>
Public Async Function TestInvalidSelectionNonExecutableStatementSyntax_02() As Task
Dim code = <text>Module Program
Sub Main()
If True Then Dim x
[|Else Console.WriteLine()|]
End Sub
End Module</text>
Await ExpectExtractMethodToFailAsync(code)
End Function
<Fact, WorkItem(530625, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/530625"), Trait(Traits.Feature, Traits.Features.ExtractMethod)>
Public Async Function TestUnreachableEndInFunction() As Task
Dim code = <text>Module Program
Function Goo() As Integer
If True Then
[|Do : Loop|] ' Extract method
Exit Function
Else
Return 0
End If
End Function
End Module</text>
Dim expected = <text>Module Program
Function Goo() As Integer
If True Then
NewMethod() ' Extract method
Exit Function
Else
Return 0
End If
End Function
Private Sub NewMethod()
Do : Loop
End Sub
End Module</text>
Await TestExtractMethodAsync(code, expected)
End Function
<Fact, WorkItem(578066, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/578066"), Trait(Traits.Feature, Traits.Features.ExtractMethod)>
Public Async Function TestExitAsSupportedExitPoints() As Task
Dim code = <text>Imports System.Threading
Imports System.Threading.Tasks
Module Module1
Sub Main()
End Sub
Async Sub test()
End Sub
Async Function asyncfunc(x As Integer) As Task(Of Integer)
[|Await Task.Delay(100)
If x = 1 Then
Return 1
Else
GoTo goo
End If
Exit Function
goo:
Return 2L|]
End Function
End Module</text>
Dim expected = <text>Imports System.Threading
Imports System.Threading.Tasks
Module Module1
Sub Main()
End Sub
Async Sub test()
End Sub
Async Function asyncfunc(x As Integer) As Task(Of Integer)
Return Await NewMethod(x)
End Function
Private Async Function NewMethod(x As Integer) As Task(Of Integer)
Await Task.Delay(100)
If x = 1 Then
Return 1
Else
GoTo goo
End If
Exit Function
goo:
Return 2L
End Function
End Module</text>
Await TestExtractMethodAsync(code, expected)
End Function
End Class
End Class
End Namespace
| ' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
Namespace Microsoft.CodeAnalysis.Editor.VisualBasic.UnitTests.ExtractMethod
Partial Public Class ExtractMethodTests
''' <summary>
''' This contains tests for Extract Method components that depend on Control Flow Analysis API
''' (A) Selection Validator
''' (B) Analyzer
''' </summary>
''' <remarks></remarks>
<[UseExportProvider]>
Public Class FlowAnalysis
<Fact, Trait(Traits.Feature, Traits.Features.ExtractMethod)>
Public Async Function TestExitSub() As Threading.Tasks.Task
Dim code = <text>Class Test
Sub Test()
[|Exit Sub|]
End Sub
End Class</text>
Await ExpectExtractMethodToFailAsync(code)
End Function
<Fact, Trait(Traits.Feature, Traits.Features.ExtractMethod)>
Public Async Function TestExitFunction() As Threading.Tasks.Task
Dim code = <text>Class Test
Function Test1() As Integer
Console.Write(42)
[|Test1 = 1
Console.Write(5)
Exit Function|]
End Function
End Class</text>
Await ExpectExtractMethodToFailAsync(code)
End Function
<WorkItem(540046, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/540046")>
<Fact, Trait(Traits.Feature, Traits.Features.ExtractMethod)>
Public Async Function TestReturnStatement() As Task
Dim code = <text>Class A
Function Test1() As Integer
Dim x As Integer = 5
Console.Write(x)
[|Return x|]
End Function
End Class</text>
Dim expected = <text>Class A
Function Test1() As Integer
Dim x As Integer = 5
Console.Write(x)
Return NewMethod(x)
End Function
Private Shared Function NewMethod(x As Integer) As Integer
Return x
End Function
End Class</text>
Await TestExtractMethodAsync(code, expected)
End Function
<Fact, Trait(Traits.Feature, Traits.Features.ExtractMethod)>
Public Async Function TestDoBranch() As Task
Dim code = <text>Class A
Function Test1() As Integer
Dim x As Integer = 5
Console.Write(x)
Dim i As Integer
[|Do
Console.Write(i)
i = i + 1
Loop Until i > 5|]
Return x
End Function
End Class</text>
Dim expected = <text>Class A
Function Test1() As Integer
Dim x As Integer = 5
Console.Write(x)
Dim i As Integer
i = NewMethod(i)
Return x
End Function
Private Shared Function NewMethod(i As Integer) As Integer
Do
Console.Write(i)
i = i + 1
Loop Until i > 5
Return i
End Function
End Class</text>
Await TestExtractMethodAsync(code, expected)
End Function
<Fact, Trait(Traits.Feature, Traits.Features.ExtractMethod)>
Public Async Function TestDoBranchInvalidSelection() As Task
Dim code = <text>Class A
Function Test1() As Integer
Dim x As Integer = 5
Console.Write(x)
Dim i As Integer
[|Do
Console.Write(i)|]
i = i + 1
Loop Until i > 5
Return x
End Function
End Class</text>
Dim expected = <text>Class A
Function Test1() As Integer
Dim x As Integer = 5
Console.Write(x)
Dim i As Integer
i = NewMethod(i)
Return x
End Function
Private Shared Function NewMethod(i As Integer) As Integer
Do
Console.Write(i)
i = i + 1
Loop Until i > 5
Return i
End Function
End Class</text>
Await TestExtractMethodAsync(code, expected)
End Function
<Fact, Trait(Traits.Feature, Traits.Features.ExtractMethod)>
Public Async Function TestDoBranchWithContinue() As Task
Dim code = <text>Class A
Function Test1() As Integer
Dim x As Integer = 5
Console.Write(x)
Dim i As Integer
[|Do
Console.Write(i)
i = i + 1
Continue Do
'Blah
Loop Until i > 5|]
Return x
End Function
End Class</text>
Dim expected = <text>Class A
Function Test1() As Integer
Dim x As Integer = 5
Console.Write(x)
Dim i As Integer
i = NewMethod(i)
Return x
End Function
Private Shared Function NewMethod(i As Integer) As Integer
Do
Console.Write(i)
i = i + 1
Continue Do
'Blah
Loop Until i > 5
Return i
End Function
End Class</text>
Await TestExtractMethodAsync(code, expected)
End Function
<Fact, Trait(Traits.Feature, Traits.Features.ExtractMethod)>
Public Async Function TestInvalidSelectionLeftOfAssignment() As Task
Dim code = <text>Class A
Protected x As Integer = 1
Public Sub New()
[|x|] = 42
End Sub
End Class</text>
Dim expected = <text>Class A
Protected x As Integer = 1
Public Sub New()
NewMethod()
End Sub
Private Sub NewMethod()
x = 42
End Sub
End Class</text>
Await TestExtractMethodAsync(code, expected)
End Function
<Fact, Trait(Traits.Feature, Traits.Features.ExtractMethod)>
Public Async Function TestInvalidSelectionOfArrayLiterals() As Task
Dim code = <text>Class A
Public Sub Test()
Dim numbers = New Integer() [|{1,2,3,4}|]
End Sub
End Class</text>
Dim expected = <text>Class A
Public Sub Test()
Dim numbers = GetNumbers()
End Sub
Private Shared Function GetNumbers() As Integer()
Return New Integer() {1, 2, 3, 4}
End Function
End Class</text>
Await TestExtractMethodAsync(code, expected)
End Function
<WorkItem(540154, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/540154")>
<Fact, Trait(Traits.Feature, Traits.Features.ExtractMethod)>
Public Async Function TestBugFix6313() As Task
Dim code = <text>Imports System
Class A
Sub Test(b As Boolean)
[|If b Then
Return
End If
Console.WriteLine(1)|]
End Sub
End Class</text>
Dim expected = <text>Imports System
Class A
Sub Test(b As Boolean)
NewMethod(b)
End Sub
Private Shared Sub NewMethod(b As Boolean)
If b Then
Return
End If
Console.WriteLine(1)
End Sub
End Class</text>
Await TestExtractMethodAsync(code, expected)
End Function
<WorkItem(540154, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/540154")>
<Fact, Trait(Traits.Feature, Traits.Features.ExtractMethod)>
Public Async Function BugFix6313_1() As Task
Dim code = <text>Imports System
Class A
Sub Test(b As Boolean)
[|If b Then
Return
End If|]
Console.WriteLine(1)
End Sub
End Class</text>
Await ExpectExtractMethodToFailAsync(code)
End Function
<WorkItem(540154, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/540154")>
<Fact, Trait(Traits.Feature, Traits.Features.ExtractMethod)>
Public Async Function BugFix6313_2() As Threading.Tasks.Task
Dim code = <text>Imports System
Class A
Function Test(b As Boolean) as Integer
[|If b Then
Return 1
End If
Console.WriteLine(1)|]
End Function
End Class</text>
Await ExpectExtractMethodToFailAsync(code)
End Function
<WorkItem(540154, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/540154")>
<Fact, Trait(Traits.Feature, Traits.Features.ExtractMethod)>
Public Async Function TestBugFix6313_3() As Task
Dim code = <text>Imports System
Class A
Sub Test()
[|Dim b as Boolean = True
If b Then
Return
End If
Dim d As Action = Sub()
If b Then
Return
End If
Console.WriteLine(1)
End Sub|]
End Sub
End Class</text>
Dim expected = <text>Imports System
Class A
Sub Test()
NewMethod()
End Sub
Private Shared Sub NewMethod()
Dim b as Boolean = True
If b Then
Return
End If
Dim d As Action = Sub()
If b Then
Return
End If
Console.WriteLine(1)
End Sub
End Sub
End Class</text>
Await TestExtractMethodAsync(code, expected)
End Function
<WorkItem(540154, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/540154")>
<Fact, Trait(Traits.Feature, Traits.Features.ExtractMethod)>
Public Async Function TestBugFix6313_4() As Task
Dim code = <text>Imports System
Class A
Sub Test()
[|Dim d As Action = Sub()
Dim i As Integer = 1
If i > 10 Then
Return
End If
Console.WriteLine(1)
End Sub
Dim d2 As Action = Sub()
Dim i As Integer = 1
If i > 10 Then
Return
End If
Console.WriteLine(1)
End Sub|]
Console.WriteLine(1)
End Sub
End Class</text>
Dim expected = <text>Imports System
Class A
Sub Test()
NewMethod()
Console.WriteLine(1)
End Sub
Private Shared Sub NewMethod()
Dim d As Action = Sub()
Dim i As Integer = 1
If i > 10 Then
Return
End If
Console.WriteLine(1)
End Sub
Dim d2 As Action = Sub()
Dim i As Integer = 1
If i > 10 Then
Return
End If
Console.WriteLine(1)
End Sub
End Sub
End Class</text>
Await TestExtractMethodAsync(code, expected)
End Function
<WorkItem(540154, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/540154")>
<Fact, Trait(Traits.Feature, Traits.Features.ExtractMethod)>
Public Async Function TestBugFix6313_5() As Task
Dim code = <text>Imports System
Class A
Sub Test()
Dim d As Action = Sub()
[|Dim i As Integer = 1
If i > 10 Then
Return
End If
Console.WriteLine(1)|]
End Sub
End Sub
End Class</text>
Dim expected = <text>Imports System
Class A
Sub Test()
Dim d As Action = Sub()
NewMethod()
End Sub
End Sub
Private Shared Sub NewMethod()
Dim i As Integer = 1
If i > 10 Then
Return
End If
Console.WriteLine(1)
End Sub
End Class</text>
Await TestExtractMethodAsync(code, expected)
End Function
<WorkItem(540154, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/540154"), WorkItem(541484, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/541484")>
<Fact, Trait(Traits.Feature, Traits.Features.ExtractMethod)>
Public Async Function BugFix6313_6() As Task
Dim code = <text>Imports System
Class A
Sub Test()
Dim d As Action = Sub()
[|Dim i As Integer = 1
If i > 10 Then
Return
End If|]
Console.WriteLine(1)
End Function
End Sub
End Class</text>
Await ExpectExtractMethodToFailAsync(code)
End Function
<WorkItem(543670, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/543670")>
<Fact, Trait(Traits.Feature, Traits.Features.ExtractMethod)>
Public Async Function AnonymousLambdaInVarDecl() As Task
Dim code = <text>Imports System
Module Program
Sub Main
[|Dim u = Function(x As Integer) 5|]
u.Invoke(Nothing)
End Sub
End Module</text>
Await ExpectExtractMethodToFailAsync(code)
End Function
<Fact, WorkItem(531451, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/531451"), Trait(Traits.Feature, Traits.Features.ExtractMethod)>
Public Async Function TestInvalidSelectionNonExecutableStatementSyntax_01() As Task
Dim code = <text>Module Program
Sub Main(args As String())
[|If True Then ElseIf True Then Return|]
End Sub
End Module</text>
Dim expected = <text>Module Program
Sub Main(args As String())
NewMethod()
End Sub
Private Sub NewMethod()
If True Then ElseIf True Then Return
End Sub
End Module</text>
Await TestExtractMethodAsync(code, expected)
End Function
<Fact, WorkItem(547156, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/547156"), Trait(Traits.Feature, Traits.Features.ExtractMethod)>
Public Async Function TestInvalidSelectionNonExecutableStatementSyntax_02() As Task
Dim code = <text>Module Program
Sub Main()
If True Then Dim x
[|Else Console.WriteLine()|]
End Sub
End Module</text>
Await ExpectExtractMethodToFailAsync(code)
End Function
<Fact, WorkItem(530625, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/530625"), Trait(Traits.Feature, Traits.Features.ExtractMethod)>
Public Async Function TestUnreachableEndInFunction() As Task
Dim code = <text>Module Program
Function Goo() As Integer
If True Then
[|Do : Loop|] ' Extract method
Exit Function
Else
Return 0
End If
End Function
End Module</text>
Dim expected = <text>Module Program
Function Goo() As Integer
If True Then
NewMethod() ' Extract method
Exit Function
Else
Return 0
End If
End Function
Private Sub NewMethod()
Do : Loop
End Sub
End Module</text>
Await TestExtractMethodAsync(code, expected)
End Function
<Fact, WorkItem(578066, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/578066"), Trait(Traits.Feature, Traits.Features.ExtractMethod)>
Public Async Function TestExitAsSupportedExitPoints() As Task
Dim code = <text>Imports System.Threading
Imports System.Threading.Tasks
Module Module1
Sub Main()
End Sub
Async Sub test()
End Sub
Async Function asyncfunc(x As Integer) As Task(Of Integer)
[|Await Task.Delay(100)
If x = 1 Then
Return 1
Else
GoTo goo
End If
Exit Function
goo:
Return 2L|]
End Function
End Module</text>
Dim expected = <text>Imports System.Threading
Imports System.Threading.Tasks
Module Module1
Sub Main()
End Sub
Async Sub test()
End Sub
Async Function asyncfunc(x As Integer) As Task(Of Integer)
Return Await NewMethod(x)
End Function
Private Async Function NewMethod(x As Integer) As Task(Of Integer)
Await Task.Delay(100)
If x = 1 Then
Return 1
Else
GoTo goo
End If
Exit Function
goo:
Return 2L
End Function
End Module</text>
Await TestExtractMethodAsync(code, expected)
End Function
End Class
End Class
End Namespace
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Workspaces/Remote/Core/ExternalAccess/UnitTesting/Api/UnitTestingRemoteHostClient.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnalysis.Remote;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.ExternalAccess.UnitTesting.Api
{
internal readonly struct UnitTestingRemoteHostClient
{
private readonly ServiceHubRemoteHostClient _client;
private readonly UnitTestingServiceDescriptorsWrapper _serviceDescriptors;
private readonly UnitTestingRemoteServiceCallbackDispatcherRegistry _callbackDispatchers;
internal UnitTestingRemoteHostClient(ServiceHubRemoteHostClient client, UnitTestingServiceDescriptorsWrapper serviceDescriptors, UnitTestingRemoteServiceCallbackDispatcherRegistry callbackDispatchers)
{
_client = client;
_serviceDescriptors = serviceDescriptors;
_callbackDispatchers = callbackDispatchers;
}
public static async Task<UnitTestingRemoteHostClient?> TryGetClientAsync(HostWorkspaceServices services, UnitTestingServiceDescriptorsWrapper serviceDescriptors, UnitTestingRemoteServiceCallbackDispatcherRegistry callbackDispatchers, CancellationToken cancellationToken = default)
{
var client = await RemoteHostClient.TryGetClientAsync(services, cancellationToken).ConfigureAwait(false);
if (client is null)
return null;
return new UnitTestingRemoteHostClient((ServiceHubRemoteHostClient)client, serviceDescriptors, callbackDispatchers);
}
public UnitTestingRemoteServiceConnectionWrapper<TService> CreateConnection<TService>(object? callbackTarget) where TService : class
=> new(_client.CreateConnection<TService>(_serviceDescriptors.UnderlyingObject, _callbackDispatchers, callbackTarget));
// no solution, no callback:
public async ValueTask<bool> TryInvokeAsync<TService>(Func<TService, CancellationToken, ValueTask> invocation, CancellationToken cancellationToken) where TService : class
{
using var connection = CreateConnection<TService>(callbackTarget: null);
return await connection.TryInvokeAsync(invocation, cancellationToken).ConfigureAwait(false);
}
public async ValueTask<Optional<TResult>> TryInvokeAsync<TService, TResult>(Func<TService, CancellationToken, ValueTask<TResult>> invocation, CancellationToken cancellationToken) where TService : class
{
using var connection = CreateConnection<TService>(callbackTarget: null);
return await connection.TryInvokeAsync(invocation, cancellationToken).ConfigureAwait(false);
}
// no solution, callback:
public async ValueTask<bool> TryInvokeAsync<TService>(Func<TService, UnitTestingRemoteServiceCallbackIdWrapper, CancellationToken, ValueTask> invocation, object callbackTarget, CancellationToken cancellationToken) where TService : class
{
using var connection = CreateConnection<TService>(callbackTarget);
return await connection.TryInvokeAsync(invocation, cancellationToken).ConfigureAwait(false);
}
public async ValueTask<Optional<TResult>> TryInvokeAsync<TService, TResult>(Func<TService, UnitTestingRemoteServiceCallbackIdWrapper, CancellationToken, ValueTask<TResult>> invocation, object callbackTarget, CancellationToken cancellationToken) where TService : class
{
using var connection = CreateConnection<TService>(callbackTarget);
return await connection.TryInvokeAsync(invocation, cancellationToken).ConfigureAwait(false);
}
// solution, no callback:
public async ValueTask<bool> TryInvokeAsync<TService>(Solution solution, Func<TService, UnitTestingPinnedSolutionInfoWrapper, CancellationToken, ValueTask> invocation, CancellationToken cancellationToken) where TService : class
{
using var connection = CreateConnection<TService>(callbackTarget: null);
return await connection.TryInvokeAsync(solution, invocation, cancellationToken).ConfigureAwait(false);
}
public async ValueTask<Optional<TResult>> TryInvokeAsync<TService, TResult>(Solution solution, Func<TService, UnitTestingPinnedSolutionInfoWrapper, CancellationToken, ValueTask<TResult>> invocation, CancellationToken cancellationToken) where TService : class
{
using var connection = CreateConnection<TService>(callbackTarget: null);
return await connection.TryInvokeAsync(solution, invocation, cancellationToken).ConfigureAwait(false);
}
// solution, callback:
public async ValueTask<bool> TryInvokeAsync<TService>(Solution solution, Func<TService, UnitTestingPinnedSolutionInfoWrapper, UnitTestingRemoteServiceCallbackIdWrapper, CancellationToken, ValueTask> invocation, object callbackTarget, CancellationToken cancellationToken) where TService : class
{
using var connection = CreateConnection<TService>(callbackTarget);
return await connection.TryInvokeAsync(solution, invocation, cancellationToken).ConfigureAwait(false);
}
public async ValueTask<Optional<TResult>> TryInvokeAsync<TService, TResult>(Solution solution, Func<TService, UnitTestingPinnedSolutionInfoWrapper, UnitTestingRemoteServiceCallbackIdWrapper, CancellationToken, ValueTask<TResult>> invocation, object callbackTarget, CancellationToken cancellationToken) where TService : class
{
using var connection = CreateConnection<TService>(callbackTarget);
return await connection.TryInvokeAsync(solution, invocation, cancellationToken).ConfigureAwait(false);
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnalysis.Remote;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.ExternalAccess.UnitTesting.Api
{
internal readonly struct UnitTestingRemoteHostClient
{
private readonly ServiceHubRemoteHostClient _client;
private readonly UnitTestingServiceDescriptorsWrapper _serviceDescriptors;
private readonly UnitTestingRemoteServiceCallbackDispatcherRegistry _callbackDispatchers;
internal UnitTestingRemoteHostClient(ServiceHubRemoteHostClient client, UnitTestingServiceDescriptorsWrapper serviceDescriptors, UnitTestingRemoteServiceCallbackDispatcherRegistry callbackDispatchers)
{
_client = client;
_serviceDescriptors = serviceDescriptors;
_callbackDispatchers = callbackDispatchers;
}
public static async Task<UnitTestingRemoteHostClient?> TryGetClientAsync(HostWorkspaceServices services, UnitTestingServiceDescriptorsWrapper serviceDescriptors, UnitTestingRemoteServiceCallbackDispatcherRegistry callbackDispatchers, CancellationToken cancellationToken = default)
{
var client = await RemoteHostClient.TryGetClientAsync(services, cancellationToken).ConfigureAwait(false);
if (client is null)
return null;
return new UnitTestingRemoteHostClient((ServiceHubRemoteHostClient)client, serviceDescriptors, callbackDispatchers);
}
public UnitTestingRemoteServiceConnectionWrapper<TService> CreateConnection<TService>(object? callbackTarget) where TService : class
=> new(_client.CreateConnection<TService>(_serviceDescriptors.UnderlyingObject, _callbackDispatchers, callbackTarget));
// no solution, no callback:
public async ValueTask<bool> TryInvokeAsync<TService>(Func<TService, CancellationToken, ValueTask> invocation, CancellationToken cancellationToken) where TService : class
{
using var connection = CreateConnection<TService>(callbackTarget: null);
return await connection.TryInvokeAsync(invocation, cancellationToken).ConfigureAwait(false);
}
public async ValueTask<Optional<TResult>> TryInvokeAsync<TService, TResult>(Func<TService, CancellationToken, ValueTask<TResult>> invocation, CancellationToken cancellationToken) where TService : class
{
using var connection = CreateConnection<TService>(callbackTarget: null);
return await connection.TryInvokeAsync(invocation, cancellationToken).ConfigureAwait(false);
}
// no solution, callback:
public async ValueTask<bool> TryInvokeAsync<TService>(Func<TService, UnitTestingRemoteServiceCallbackIdWrapper, CancellationToken, ValueTask> invocation, object callbackTarget, CancellationToken cancellationToken) where TService : class
{
using var connection = CreateConnection<TService>(callbackTarget);
return await connection.TryInvokeAsync(invocation, cancellationToken).ConfigureAwait(false);
}
public async ValueTask<Optional<TResult>> TryInvokeAsync<TService, TResult>(Func<TService, UnitTestingRemoteServiceCallbackIdWrapper, CancellationToken, ValueTask<TResult>> invocation, object callbackTarget, CancellationToken cancellationToken) where TService : class
{
using var connection = CreateConnection<TService>(callbackTarget);
return await connection.TryInvokeAsync(invocation, cancellationToken).ConfigureAwait(false);
}
// solution, no callback:
public async ValueTask<bool> TryInvokeAsync<TService>(Solution solution, Func<TService, UnitTestingPinnedSolutionInfoWrapper, CancellationToken, ValueTask> invocation, CancellationToken cancellationToken) where TService : class
{
using var connection = CreateConnection<TService>(callbackTarget: null);
return await connection.TryInvokeAsync(solution, invocation, cancellationToken).ConfigureAwait(false);
}
public async ValueTask<Optional<TResult>> TryInvokeAsync<TService, TResult>(Solution solution, Func<TService, UnitTestingPinnedSolutionInfoWrapper, CancellationToken, ValueTask<TResult>> invocation, CancellationToken cancellationToken) where TService : class
{
using var connection = CreateConnection<TService>(callbackTarget: null);
return await connection.TryInvokeAsync(solution, invocation, cancellationToken).ConfigureAwait(false);
}
// solution, callback:
public async ValueTask<bool> TryInvokeAsync<TService>(Solution solution, Func<TService, UnitTestingPinnedSolutionInfoWrapper, UnitTestingRemoteServiceCallbackIdWrapper, CancellationToken, ValueTask> invocation, object callbackTarget, CancellationToken cancellationToken) where TService : class
{
using var connection = CreateConnection<TService>(callbackTarget);
return await connection.TryInvokeAsync(solution, invocation, cancellationToken).ConfigureAwait(false);
}
public async ValueTask<Optional<TResult>> TryInvokeAsync<TService, TResult>(Solution solution, Func<TService, UnitTestingPinnedSolutionInfoWrapper, UnitTestingRemoteServiceCallbackIdWrapper, CancellationToken, ValueTask<TResult>> invocation, object callbackTarget, CancellationToken cancellationToken) where TService : class
{
using var connection = CreateConnection<TService>(callbackTarget);
return await connection.TryInvokeAsync(solution, invocation, cancellationToken).ConfigureAwait(false);
}
}
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Compilers/CSharp/Test/Semantic/Semantics/PatternMatchingTestBase.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.CSharp.Test.Utilities;
using Microsoft.CodeAnalysis.Test.Utilities;
using Roslyn.Test.Utilities;
using Xunit;
using Roslyn.Utilities;
using ReferenceEqualityComparer = Roslyn.Utilities.ReferenceEqualityComparer;
namespace Microsoft.CodeAnalysis.CSharp.UnitTests
{
public class PatternMatchingTestBase : CSharpTestBase
{
#region helpers
protected IEnumerable<SingleVariableDesignationSyntax> GetPatternDeclarations(SyntaxTree tree, string v)
{
return GetPatternDeclarations(tree).Where(d => d.Identifier.ValueText == v);
}
protected SingleVariableDesignationSyntax GetPatternDeclaration(SyntaxTree tree, string v)
{
return GetPatternDeclarations(tree, v).Single();
}
protected IEnumerable<SingleVariableDesignationSyntax> GetPatternDeclarations(SyntaxTree tree)
{
return tree.GetRoot().DescendantNodes().OfType<SingleVariableDesignationSyntax>().Where(p => p.Parent.Kind() == SyntaxKind.DeclarationPattern || p.Parent.Kind() == SyntaxKind.VarPattern);
}
protected IEnumerable<VariableDeclaratorSyntax> GetVariableDeclarations(SyntaxTree tree, string v)
{
return GetVariableDeclarations(tree).Where(d => d.Identifier.ValueText == v);
}
protected IEnumerable<VariableDeclaratorSyntax> GetVariableDeclarations(SyntaxTree tree)
{
return tree.GetRoot().DescendantNodes().OfType<VariableDeclaratorSyntax>();
}
protected static IEnumerable<DiscardDesignationSyntax> GetDiscardDesignations(SyntaxTree tree)
{
return tree.GetRoot().DescendantNodes().OfType<DiscardDesignationSyntax>();
}
protected static IdentifierNameSyntax GetReference(SyntaxTree tree, string name)
{
return GetReferences(tree, name).Single();
}
protected static IEnumerable<IdentifierNameSyntax> GetReferences(SyntaxTree tree, string name)
{
return tree.GetRoot().DescendantNodes().OfType<IdentifierNameSyntax>().Where(id => id.Identifier.ValueText == name);
}
protected static void VerifyModelForDeclarationOrVarSimplePattern(SemanticModel model, SingleVariableDesignationSyntax decl, params IdentifierNameSyntax[] references)
{
VerifyModelForDeclarationOrVarSimplePattern(model, decl, false, references);
}
protected static void VerifyModelForDeclarationOrVarSimplePatternWithoutDataFlow(SemanticModel model, SingleVariableDesignationSyntax decl, params IdentifierNameSyntax[] references)
{
VerifyModelForDeclarationOrVarSimplePattern(model, decl, false, references);
}
protected static void VerifyModelForDeclarationOrVarSimplePattern(
SemanticModel model,
SingleVariableDesignationSyntax designation,
bool isShadowed,
params IdentifierNameSyntax[] references)
{
var symbol = model.GetDeclaredSymbol(designation);
Assert.Equal(designation.Identifier.ValueText, symbol.Name);
Assert.Equal(designation, symbol.DeclaringSyntaxReferences.Single().GetSyntax());
Assert.Equal(LocalDeclarationKind.PatternVariable, symbol.GetSymbol<LocalSymbol>().DeclarationKind);
Assert.Same(symbol, model.GetDeclaredSymbol((SyntaxNode)designation));
var other = model.LookupSymbols(designation.SpanStart, name: designation.Identifier.ValueText).Single();
if (isShadowed)
{
Assert.NotEqual(symbol, other);
}
else
{
Assert.Same(symbol, other);
}
Assert.True(model.LookupNames(designation.SpanStart).Contains(designation.Identifier.ValueText));
switch (designation.Parent)
{
case DeclarationPatternSyntax decl:
{
var typeSyntax = decl.Type;
Assert.True(SyntaxFacts.IsInNamespaceOrTypeContext(typeSyntax));
Assert.True(SyntaxFacts.IsInTypeOnlyContext(typeSyntax));
var local = ((ILocalSymbol)symbol);
var type = local.Type;
if (type.IsErrorType())
{
Assert.Null(model.GetSymbolInfo(typeSyntax).Symbol);
}
else
{
Assert.Equal(type, model.GetSymbolInfo(typeSyntax).Symbol);
}
AssertTypeInfo(model, typeSyntax, type);
break;
}
}
foreach (var reference in references)
{
Assert.Same(symbol, model.GetSymbolInfo(reference).Symbol);
Assert.Same(symbol, model.LookupSymbols(reference.SpanStart, name: designation.Identifier.ValueText).Single());
Assert.True(model.LookupNames(reference.SpanStart).Contains(designation.Identifier.ValueText));
}
}
private static void AssertTypeInfo(SemanticModel model, TypeSyntax typeSyntax, ITypeSymbol expectedType)
{
TypeInfo typeInfo = model.GetTypeInfo(typeSyntax);
Assert.Equal(expectedType, typeInfo.Type);
Assert.Equal(expectedType, typeInfo.ConvertedType);
Assert.Equal(typeInfo, ((CSharpSemanticModel)model).GetTypeInfo(typeSyntax));
Assert.True(model.GetConversion(typeSyntax).IsIdentity);
}
protected static void VerifyModelForDeclarationOrVarPatternDuplicateInSameScope(SemanticModel model, SingleVariableDesignationSyntax designation)
{
var symbol = model.GetDeclaredSymbol(designation);
Assert.Equal(designation.Identifier.ValueText, symbol.Name);
Assert.Equal(designation, symbol.DeclaringSyntaxReferences.Single().GetSyntax());
Assert.Equal(LocalDeclarationKind.PatternVariable, symbol.GetSymbol<LocalSymbol>().DeclarationKind);
Assert.Same(symbol, model.GetDeclaredSymbol((SyntaxNode)designation));
Assert.NotEqual(symbol, model.LookupSymbols(designation.SpanStart, name: designation.Identifier.ValueText).Single());
Assert.True(model.LookupNames(designation.SpanStart).Contains(designation.Identifier.ValueText));
var type = ((ILocalSymbol)symbol).Type;
switch (designation.Parent)
{
case DeclarationPatternSyntax decl:
if (!decl.Type.IsVar || !type.IsErrorType())
{
Assert.Equal(type, model.GetSymbolInfo(decl.Type).Symbol);
}
AssertTypeInfo(model, decl.Type, type);
break;
case var parent:
Assert.True(parent is VarPatternSyntax);
break;
}
}
protected static void VerifyModelForDuplicateVariableDeclarationInSameScope(SemanticModel model, VariableDeclaratorSyntax declarator)
{
var symbol = model.GetDeclaredSymbol(declarator);
Assert.Equal(declarator.Identifier.ValueText, symbol.Name);
Assert.Equal(declarator, symbol.DeclaringSyntaxReferences.Single().GetSyntax());
Assert.Equal(LocalDeclarationKind.RegularVariable, symbol.GetSymbol<LocalSymbol>().DeclarationKind);
Assert.Same(symbol, model.GetDeclaredSymbol((SyntaxNode)declarator));
Assert.NotEqual(symbol, model.LookupSymbols(declarator.SpanStart, name: declarator.Identifier.ValueText).Single());
Assert.True(model.LookupNames(declarator.SpanStart).Contains(declarator.Identifier.ValueText));
}
internal static void VerifyModelForDuplicateVariableDeclarationInSameScope(
SemanticModel model,
SingleVariableDesignationSyntax designation,
LocalDeclarationKind kind = LocalDeclarationKind.PatternVariable)
{
var symbol = model.GetDeclaredSymbol(designation);
Assert.Equal(designation.Identifier.ValueText, symbol.Name);
Assert.Equal(designation, symbol.DeclaringSyntaxReferences.Single().GetSyntax());
Assert.Equal(kind, symbol.GetSymbol<LocalSymbol>().DeclarationKind);
Assert.Same(symbol, model.GetDeclaredSymbol((SyntaxNode)designation));
Assert.NotEqual(symbol, model.LookupSymbols(designation.SpanStart, name: designation.Identifier.ValueText).Single());
Assert.True(model.LookupNames(designation.SpanStart).Contains(designation.Identifier.ValueText));
}
protected static void VerifyNotAPatternField(SemanticModel model, IdentifierNameSyntax reference)
{
var symbol = model.GetSymbolInfo(reference).Symbol;
Assert.NotEqual(SymbolKind.Field, symbol.Kind);
Assert.Same(symbol, model.LookupSymbols(reference.SpanStart, name: reference.Identifier.ValueText).Single());
Assert.True(model.LookupNames(reference.SpanStart).Contains(reference.Identifier.ValueText));
}
protected static void VerifyNotAPatternLocal(SemanticModel model, IdentifierNameSyntax reference)
{
var symbol = model.GetSymbolInfo(reference).Symbol;
if (symbol.Kind == SymbolKind.Local)
{
Assert.NotEqual(LocalDeclarationKind.PatternVariable, symbol.GetSymbol<LocalSymbol>().DeclarationKind);
}
var other = model.LookupSymbols(reference.SpanStart, name: reference.Identifier.ValueText).Single();
Assert.Same(symbol, other);
Assert.True(model.LookupNames(reference.SpanStart).Contains(reference.Identifier.ValueText));
}
protected static void VerifyNotInScope(SemanticModel model, IdentifierNameSyntax reference)
{
Assert.Null(model.GetSymbolInfo(reference).Symbol);
Assert.False(model.LookupSymbols(reference.SpanStart, name: reference.Identifier.ValueText).Any());
Assert.False(model.LookupNames(reference.SpanStart).Contains(reference.Identifier.ValueText));
}
protected static void VerifyModelForDeclarationField(
SemanticModel model,
SingleVariableDesignationSyntax decl,
params IdentifierNameSyntax[] references)
{
VerifyModelForDeclarationField(model, decl, false, references);
}
protected static void VerifyModelForDeclarationFieldDuplicate(
SemanticModel model,
SingleVariableDesignationSyntax decl,
params IdentifierNameSyntax[] references)
{
VerifyModelForDeclarationField(model, decl, true, references);
}
protected static void VerifyModelForDeclarationField(
SemanticModel model,
SingleVariableDesignationSyntax designation,
bool duplicate,
params IdentifierNameSyntax[] references)
{
var symbol = model.GetDeclaredSymbol(designation);
Assert.Equal(designation.Identifier.ValueText, symbol.Name);
Assert.Equal(SymbolKind.Field, symbol.Kind);
Assert.Equal(designation, symbol.DeclaringSyntaxReferences.Single().GetSyntax());
Assert.Same(symbol, model.GetDeclaredSymbol((SyntaxNode)designation));
var symbols = model.LookupSymbols(designation.SpanStart, name: designation.Identifier.ValueText);
var names = model.LookupNames(designation.SpanStart);
if (duplicate)
{
Assert.True(symbols.Count() > 1);
Assert.Contains(symbol, symbols);
}
else
{
Assert.Same(symbol, symbols.Single());
}
Assert.Contains(designation.Identifier.ValueText, names);
var local = (IFieldSymbol)symbol;
switch (designation.Parent)
{
case DeclarationPatternSyntax decl:
var typeSyntax = decl.Type;
Assert.True(SyntaxFacts.IsInNamespaceOrTypeContext(typeSyntax));
Assert.True(SyntaxFacts.IsInTypeOnlyContext(typeSyntax));
var type = local.Type;
if (typeSyntax.IsVar && type.IsErrorType())
{
Assert.Null(model.GetSymbolInfo(typeSyntax).Symbol);
}
else
{
Assert.Equal(type, model.GetSymbolInfo(typeSyntax).Symbol);
}
AssertTypeInfo(model, decl.Type, type);
break;
case var parent:
Assert.True(parent is VarPatternSyntax);
break;
}
var declarator = designation.Ancestors().OfType<VariableDeclaratorSyntax>().FirstOrDefault();
var inFieldDeclaratorArgumentlist = declarator != null && declarator.Parent.Parent.Kind() != SyntaxKind.LocalDeclarationStatement &&
(declarator.ArgumentList?.Contains(designation)).GetValueOrDefault();
// this is a declaration site, not a use site.
Assert.Null(model.GetSymbolInfo(designation).Symbol);
Assert.Null(model.GetSymbolInfo(designation).Symbol);
foreach (var reference in references)
{
var referenceInfo = model.GetSymbolInfo(reference);
symbols = model.LookupSymbols(reference.SpanStart, name: designation.Identifier.ValueText);
if (duplicate)
{
Assert.Null(referenceInfo.Symbol);
Assert.Contains(symbol, referenceInfo.CandidateSymbols);
Assert.True(symbols.Count() > 1);
Assert.Contains(symbol, symbols);
}
else
{
Assert.Same(symbol, referenceInfo.Symbol);
Assert.Same(symbol, symbols.Single());
Assert.Equal(local.Type, model.GetTypeInfo(reference).Type);
}
Assert.True(model.LookupNames(reference.SpanStart).Contains(designation.Identifier.ValueText));
}
if (!inFieldDeclaratorArgumentlist)
{
var dataFlowParent = designation.FirstAncestorOrSelf<ExpressionSyntax>();
if (model.IsSpeculativeSemanticModel)
{
Assert.Throws<NotSupportedException>(() => model.AnalyzeDataFlow(dataFlowParent));
}
else
{
var dataFlow = model.AnalyzeDataFlow(dataFlowParent);
if (dataFlow.Succeeded)
{
Assert.False(dataFlow.VariablesDeclared.Contains(symbol, ReferenceEqualityComparer.Instance));
Assert.False(dataFlow.AlwaysAssigned.Contains(symbol, ReferenceEqualityComparer.Instance));
Assert.False(dataFlow.WrittenInside.Contains(symbol, ReferenceEqualityComparer.Instance));
Assert.False(dataFlow.DataFlowsIn.Contains(symbol, ReferenceEqualityComparer.Instance));
Assert.False(dataFlow.ReadInside.Contains(symbol, ReferenceEqualityComparer.Instance));
Assert.False(dataFlow.DataFlowsOut.Contains(symbol, ReferenceEqualityComparer.Instance));
Assert.False(dataFlow.ReadOutside.Contains(symbol, ReferenceEqualityComparer.Instance));
Assert.False(dataFlow.WrittenOutside.Contains(symbol, ReferenceEqualityComparer.Instance));
}
}
}
}
protected static void AssertContainedInDeclaratorArguments(SingleVariableDesignationSyntax decl)
{
Assert.True(decl.Ancestors().OfType<VariableDeclaratorSyntax>().First().ArgumentList.Contains(decl));
}
protected static void AssertContainedInDeclaratorArguments(params SingleVariableDesignationSyntax[] decls)
{
foreach (var decl in decls)
{
AssertContainedInDeclaratorArguments(decl);
}
}
protected static void VerifyModelNotSupported(
SemanticModel model,
SingleVariableDesignationSyntax designation,
params IdentifierNameSyntax[] references)
{
Assert.Null(model.GetDeclaredSymbol(designation));
var identifierText = designation.Identifier.ValueText;
Assert.False(model.LookupSymbols(designation.SpanStart, name: identifierText).Any());
Assert.False(model.LookupNames(designation.SpanStart).Contains(identifierText));
Assert.Null(model.GetSymbolInfo(designation).Symbol);
Assert.Null(model.GetTypeInfo(designation).Type);
Assert.Null(model.GetDeclaredSymbol(designation));
var symbol = (ISymbol)model.GetDeclaredSymbol(designation);
if (designation.Parent is DeclarationPatternSyntax decl)
{
Assert.Null(model.GetSymbolInfo(decl.Type).Symbol);
TypeInfo typeInfo = model.GetTypeInfo(decl.Type);
if ((object)symbol != null)
{
var type = symbol.GetTypeOrReturnType();
Assert.Equal(type, typeInfo.Type);
Assert.Equal(type, typeInfo.ConvertedType);
}
else
{
Assert.Equal(SymbolKind.ErrorType, typeInfo.Type.Kind);
Assert.Equal(SymbolKind.ErrorType, typeInfo.ConvertedType.Kind);
}
Assert.Equal(typeInfo, ((CSharpSemanticModel)model).GetTypeInfo(decl.Type));
Assert.True(model.GetConversion(decl.Type).IsIdentity);
}
else if (designation.Parent is VarPatternSyntax varp)
{
// Do we want to add any tests for the var pattern?
}
VerifyModelNotSupported(model, references);
}
protected static void VerifyModelNotSupported(SemanticModel model, params IdentifierNameSyntax[] references)
{
foreach (var reference in references)
{
Assert.Null(model.GetSymbolInfo(reference).Symbol);
Assert.False(model.LookupSymbols(reference.SpanStart, name: reference.Identifier.ValueText).Any());
Assert.DoesNotContain(reference.Identifier.ValueText, model.LookupNames(reference.SpanStart));
Assert.True(model.GetTypeInfo(reference).Type.IsErrorType());
}
}
protected static void AssertNoGlobalStatements(SyntaxTree tree)
{
Assert.Empty(tree.GetRoot().DescendantNodes().OfType<GlobalStatementSyntax>());
}
protected CSharpCompilation CreatePatternCompilation(string source, CSharpCompilationOptions options = null)
{
return CreateCompilation(new[] { source, _iTupleSource }, options: options ?? TestOptions.DebugExe, parseOptions: TestOptions.RegularWithPatternCombinators);
}
protected const string _iTupleSource = @"
namespace System.Runtime.CompilerServices
{
public interface ITuple
{
int Length { get; }
object this[int index] { get; }
}
}
";
protected static void AssertEmpty(SymbolInfo info)
{
Assert.NotEqual(default, info);
Assert.Null(info.Symbol);
Assert.Equal(CandidateReason.None, info.CandidateReason);
}
#endregion helpers
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.CSharp.Test.Utilities;
using Microsoft.CodeAnalysis.Test.Utilities;
using Roslyn.Test.Utilities;
using Xunit;
using Roslyn.Utilities;
using ReferenceEqualityComparer = Roslyn.Utilities.ReferenceEqualityComparer;
namespace Microsoft.CodeAnalysis.CSharp.UnitTests
{
public class PatternMatchingTestBase : CSharpTestBase
{
#region helpers
protected IEnumerable<SingleVariableDesignationSyntax> GetPatternDeclarations(SyntaxTree tree, string v)
{
return GetPatternDeclarations(tree).Where(d => d.Identifier.ValueText == v);
}
protected SingleVariableDesignationSyntax GetPatternDeclaration(SyntaxTree tree, string v)
{
return GetPatternDeclarations(tree, v).Single();
}
protected IEnumerable<SingleVariableDesignationSyntax> GetPatternDeclarations(SyntaxTree tree)
{
return tree.GetRoot().DescendantNodes().OfType<SingleVariableDesignationSyntax>().Where(p => p.Parent.Kind() == SyntaxKind.DeclarationPattern || p.Parent.Kind() == SyntaxKind.VarPattern);
}
protected IEnumerable<VariableDeclaratorSyntax> GetVariableDeclarations(SyntaxTree tree, string v)
{
return GetVariableDeclarations(tree).Where(d => d.Identifier.ValueText == v);
}
protected IEnumerable<VariableDeclaratorSyntax> GetVariableDeclarations(SyntaxTree tree)
{
return tree.GetRoot().DescendantNodes().OfType<VariableDeclaratorSyntax>();
}
protected static IEnumerable<DiscardDesignationSyntax> GetDiscardDesignations(SyntaxTree tree)
{
return tree.GetRoot().DescendantNodes().OfType<DiscardDesignationSyntax>();
}
protected static IdentifierNameSyntax GetReference(SyntaxTree tree, string name)
{
return GetReferences(tree, name).Single();
}
protected static IEnumerable<IdentifierNameSyntax> GetReferences(SyntaxTree tree, string name)
{
return tree.GetRoot().DescendantNodes().OfType<IdentifierNameSyntax>().Where(id => id.Identifier.ValueText == name);
}
protected static void VerifyModelForDeclarationOrVarSimplePattern(SemanticModel model, SingleVariableDesignationSyntax decl, params IdentifierNameSyntax[] references)
{
VerifyModelForDeclarationOrVarSimplePattern(model, decl, false, references);
}
protected static void VerifyModelForDeclarationOrVarSimplePatternWithoutDataFlow(SemanticModel model, SingleVariableDesignationSyntax decl, params IdentifierNameSyntax[] references)
{
VerifyModelForDeclarationOrVarSimplePattern(model, decl, false, references);
}
protected static void VerifyModelForDeclarationOrVarSimplePattern(
SemanticModel model,
SingleVariableDesignationSyntax designation,
bool isShadowed,
params IdentifierNameSyntax[] references)
{
var symbol = model.GetDeclaredSymbol(designation);
Assert.Equal(designation.Identifier.ValueText, symbol.Name);
Assert.Equal(designation, symbol.DeclaringSyntaxReferences.Single().GetSyntax());
Assert.Equal(LocalDeclarationKind.PatternVariable, symbol.GetSymbol<LocalSymbol>().DeclarationKind);
Assert.Same(symbol, model.GetDeclaredSymbol((SyntaxNode)designation));
var other = model.LookupSymbols(designation.SpanStart, name: designation.Identifier.ValueText).Single();
if (isShadowed)
{
Assert.NotEqual(symbol, other);
}
else
{
Assert.Same(symbol, other);
}
Assert.True(model.LookupNames(designation.SpanStart).Contains(designation.Identifier.ValueText));
switch (designation.Parent)
{
case DeclarationPatternSyntax decl:
{
var typeSyntax = decl.Type;
Assert.True(SyntaxFacts.IsInNamespaceOrTypeContext(typeSyntax));
Assert.True(SyntaxFacts.IsInTypeOnlyContext(typeSyntax));
var local = ((ILocalSymbol)symbol);
var type = local.Type;
if (type.IsErrorType())
{
Assert.Null(model.GetSymbolInfo(typeSyntax).Symbol);
}
else
{
Assert.Equal(type, model.GetSymbolInfo(typeSyntax).Symbol);
}
AssertTypeInfo(model, typeSyntax, type);
break;
}
}
foreach (var reference in references)
{
Assert.Same(symbol, model.GetSymbolInfo(reference).Symbol);
Assert.Same(symbol, model.LookupSymbols(reference.SpanStart, name: designation.Identifier.ValueText).Single());
Assert.True(model.LookupNames(reference.SpanStart).Contains(designation.Identifier.ValueText));
}
}
private static void AssertTypeInfo(SemanticModel model, TypeSyntax typeSyntax, ITypeSymbol expectedType)
{
TypeInfo typeInfo = model.GetTypeInfo(typeSyntax);
Assert.Equal(expectedType, typeInfo.Type);
Assert.Equal(expectedType, typeInfo.ConvertedType);
Assert.Equal(typeInfo, ((CSharpSemanticModel)model).GetTypeInfo(typeSyntax));
Assert.True(model.GetConversion(typeSyntax).IsIdentity);
}
protected static void VerifyModelForDeclarationOrVarPatternDuplicateInSameScope(SemanticModel model, SingleVariableDesignationSyntax designation)
{
var symbol = model.GetDeclaredSymbol(designation);
Assert.Equal(designation.Identifier.ValueText, symbol.Name);
Assert.Equal(designation, symbol.DeclaringSyntaxReferences.Single().GetSyntax());
Assert.Equal(LocalDeclarationKind.PatternVariable, symbol.GetSymbol<LocalSymbol>().DeclarationKind);
Assert.Same(symbol, model.GetDeclaredSymbol((SyntaxNode)designation));
Assert.NotEqual(symbol, model.LookupSymbols(designation.SpanStart, name: designation.Identifier.ValueText).Single());
Assert.True(model.LookupNames(designation.SpanStart).Contains(designation.Identifier.ValueText));
var type = ((ILocalSymbol)symbol).Type;
switch (designation.Parent)
{
case DeclarationPatternSyntax decl:
if (!decl.Type.IsVar || !type.IsErrorType())
{
Assert.Equal(type, model.GetSymbolInfo(decl.Type).Symbol);
}
AssertTypeInfo(model, decl.Type, type);
break;
case var parent:
Assert.True(parent is VarPatternSyntax);
break;
}
}
protected static void VerifyModelForDuplicateVariableDeclarationInSameScope(SemanticModel model, VariableDeclaratorSyntax declarator)
{
var symbol = model.GetDeclaredSymbol(declarator);
Assert.Equal(declarator.Identifier.ValueText, symbol.Name);
Assert.Equal(declarator, symbol.DeclaringSyntaxReferences.Single().GetSyntax());
Assert.Equal(LocalDeclarationKind.RegularVariable, symbol.GetSymbol<LocalSymbol>().DeclarationKind);
Assert.Same(symbol, model.GetDeclaredSymbol((SyntaxNode)declarator));
Assert.NotEqual(symbol, model.LookupSymbols(declarator.SpanStart, name: declarator.Identifier.ValueText).Single());
Assert.True(model.LookupNames(declarator.SpanStart).Contains(declarator.Identifier.ValueText));
}
internal static void VerifyModelForDuplicateVariableDeclarationInSameScope(
SemanticModel model,
SingleVariableDesignationSyntax designation,
LocalDeclarationKind kind = LocalDeclarationKind.PatternVariable)
{
var symbol = model.GetDeclaredSymbol(designation);
Assert.Equal(designation.Identifier.ValueText, symbol.Name);
Assert.Equal(designation, symbol.DeclaringSyntaxReferences.Single().GetSyntax());
Assert.Equal(kind, symbol.GetSymbol<LocalSymbol>().DeclarationKind);
Assert.Same(symbol, model.GetDeclaredSymbol((SyntaxNode)designation));
Assert.NotEqual(symbol, model.LookupSymbols(designation.SpanStart, name: designation.Identifier.ValueText).Single());
Assert.True(model.LookupNames(designation.SpanStart).Contains(designation.Identifier.ValueText));
}
protected static void VerifyNotAPatternField(SemanticModel model, IdentifierNameSyntax reference)
{
var symbol = model.GetSymbolInfo(reference).Symbol;
Assert.NotEqual(SymbolKind.Field, symbol.Kind);
Assert.Same(symbol, model.LookupSymbols(reference.SpanStart, name: reference.Identifier.ValueText).Single());
Assert.True(model.LookupNames(reference.SpanStart).Contains(reference.Identifier.ValueText));
}
protected static void VerifyNotAPatternLocal(SemanticModel model, IdentifierNameSyntax reference)
{
var symbol = model.GetSymbolInfo(reference).Symbol;
if (symbol.Kind == SymbolKind.Local)
{
Assert.NotEqual(LocalDeclarationKind.PatternVariable, symbol.GetSymbol<LocalSymbol>().DeclarationKind);
}
var other = model.LookupSymbols(reference.SpanStart, name: reference.Identifier.ValueText).Single();
Assert.Same(symbol, other);
Assert.True(model.LookupNames(reference.SpanStart).Contains(reference.Identifier.ValueText));
}
protected static void VerifyNotInScope(SemanticModel model, IdentifierNameSyntax reference)
{
Assert.Null(model.GetSymbolInfo(reference).Symbol);
Assert.False(model.LookupSymbols(reference.SpanStart, name: reference.Identifier.ValueText).Any());
Assert.False(model.LookupNames(reference.SpanStart).Contains(reference.Identifier.ValueText));
}
protected static void VerifyModelForDeclarationField(
SemanticModel model,
SingleVariableDesignationSyntax decl,
params IdentifierNameSyntax[] references)
{
VerifyModelForDeclarationField(model, decl, false, references);
}
protected static void VerifyModelForDeclarationFieldDuplicate(
SemanticModel model,
SingleVariableDesignationSyntax decl,
params IdentifierNameSyntax[] references)
{
VerifyModelForDeclarationField(model, decl, true, references);
}
protected static void VerifyModelForDeclarationField(
SemanticModel model,
SingleVariableDesignationSyntax designation,
bool duplicate,
params IdentifierNameSyntax[] references)
{
var symbol = model.GetDeclaredSymbol(designation);
Assert.Equal(designation.Identifier.ValueText, symbol.Name);
Assert.Equal(SymbolKind.Field, symbol.Kind);
Assert.Equal(designation, symbol.DeclaringSyntaxReferences.Single().GetSyntax());
Assert.Same(symbol, model.GetDeclaredSymbol((SyntaxNode)designation));
var symbols = model.LookupSymbols(designation.SpanStart, name: designation.Identifier.ValueText);
var names = model.LookupNames(designation.SpanStart);
if (duplicate)
{
Assert.True(symbols.Count() > 1);
Assert.Contains(symbol, symbols);
}
else
{
Assert.Same(symbol, symbols.Single());
}
Assert.Contains(designation.Identifier.ValueText, names);
var local = (IFieldSymbol)symbol;
switch (designation.Parent)
{
case DeclarationPatternSyntax decl:
var typeSyntax = decl.Type;
Assert.True(SyntaxFacts.IsInNamespaceOrTypeContext(typeSyntax));
Assert.True(SyntaxFacts.IsInTypeOnlyContext(typeSyntax));
var type = local.Type;
if (typeSyntax.IsVar && type.IsErrorType())
{
Assert.Null(model.GetSymbolInfo(typeSyntax).Symbol);
}
else
{
Assert.Equal(type, model.GetSymbolInfo(typeSyntax).Symbol);
}
AssertTypeInfo(model, decl.Type, type);
break;
case var parent:
Assert.True(parent is VarPatternSyntax);
break;
}
var declarator = designation.Ancestors().OfType<VariableDeclaratorSyntax>().FirstOrDefault();
var inFieldDeclaratorArgumentlist = declarator != null && declarator.Parent.Parent.Kind() != SyntaxKind.LocalDeclarationStatement &&
(declarator.ArgumentList?.Contains(designation)).GetValueOrDefault();
// this is a declaration site, not a use site.
Assert.Null(model.GetSymbolInfo(designation).Symbol);
Assert.Null(model.GetSymbolInfo(designation).Symbol);
foreach (var reference in references)
{
var referenceInfo = model.GetSymbolInfo(reference);
symbols = model.LookupSymbols(reference.SpanStart, name: designation.Identifier.ValueText);
if (duplicate)
{
Assert.Null(referenceInfo.Symbol);
Assert.Contains(symbol, referenceInfo.CandidateSymbols);
Assert.True(symbols.Count() > 1);
Assert.Contains(symbol, symbols);
}
else
{
Assert.Same(symbol, referenceInfo.Symbol);
Assert.Same(symbol, symbols.Single());
Assert.Equal(local.Type, model.GetTypeInfo(reference).Type);
}
Assert.True(model.LookupNames(reference.SpanStart).Contains(designation.Identifier.ValueText));
}
if (!inFieldDeclaratorArgumentlist)
{
var dataFlowParent = designation.FirstAncestorOrSelf<ExpressionSyntax>();
if (model.IsSpeculativeSemanticModel)
{
Assert.Throws<NotSupportedException>(() => model.AnalyzeDataFlow(dataFlowParent));
}
else
{
var dataFlow = model.AnalyzeDataFlow(dataFlowParent);
if (dataFlow.Succeeded)
{
Assert.False(dataFlow.VariablesDeclared.Contains(symbol, ReferenceEqualityComparer.Instance));
Assert.False(dataFlow.AlwaysAssigned.Contains(symbol, ReferenceEqualityComparer.Instance));
Assert.False(dataFlow.WrittenInside.Contains(symbol, ReferenceEqualityComparer.Instance));
Assert.False(dataFlow.DataFlowsIn.Contains(symbol, ReferenceEqualityComparer.Instance));
Assert.False(dataFlow.ReadInside.Contains(symbol, ReferenceEqualityComparer.Instance));
Assert.False(dataFlow.DataFlowsOut.Contains(symbol, ReferenceEqualityComparer.Instance));
Assert.False(dataFlow.ReadOutside.Contains(symbol, ReferenceEqualityComparer.Instance));
Assert.False(dataFlow.WrittenOutside.Contains(symbol, ReferenceEqualityComparer.Instance));
}
}
}
}
protected static void AssertContainedInDeclaratorArguments(SingleVariableDesignationSyntax decl)
{
Assert.True(decl.Ancestors().OfType<VariableDeclaratorSyntax>().First().ArgumentList.Contains(decl));
}
protected static void AssertContainedInDeclaratorArguments(params SingleVariableDesignationSyntax[] decls)
{
foreach (var decl in decls)
{
AssertContainedInDeclaratorArguments(decl);
}
}
protected static void VerifyModelNotSupported(
SemanticModel model,
SingleVariableDesignationSyntax designation,
params IdentifierNameSyntax[] references)
{
Assert.Null(model.GetDeclaredSymbol(designation));
var identifierText = designation.Identifier.ValueText;
Assert.False(model.LookupSymbols(designation.SpanStart, name: identifierText).Any());
Assert.False(model.LookupNames(designation.SpanStart).Contains(identifierText));
Assert.Null(model.GetSymbolInfo(designation).Symbol);
Assert.Null(model.GetTypeInfo(designation).Type);
Assert.Null(model.GetDeclaredSymbol(designation));
var symbol = (ISymbol)model.GetDeclaredSymbol(designation);
if (designation.Parent is DeclarationPatternSyntax decl)
{
Assert.Null(model.GetSymbolInfo(decl.Type).Symbol);
TypeInfo typeInfo = model.GetTypeInfo(decl.Type);
if ((object)symbol != null)
{
var type = symbol.GetTypeOrReturnType();
Assert.Equal(type, typeInfo.Type);
Assert.Equal(type, typeInfo.ConvertedType);
}
else
{
Assert.Equal(SymbolKind.ErrorType, typeInfo.Type.Kind);
Assert.Equal(SymbolKind.ErrorType, typeInfo.ConvertedType.Kind);
}
Assert.Equal(typeInfo, ((CSharpSemanticModel)model).GetTypeInfo(decl.Type));
Assert.True(model.GetConversion(decl.Type).IsIdentity);
}
else if (designation.Parent is VarPatternSyntax varp)
{
// Do we want to add any tests for the var pattern?
}
VerifyModelNotSupported(model, references);
}
protected static void VerifyModelNotSupported(SemanticModel model, params IdentifierNameSyntax[] references)
{
foreach (var reference in references)
{
Assert.Null(model.GetSymbolInfo(reference).Symbol);
Assert.False(model.LookupSymbols(reference.SpanStart, name: reference.Identifier.ValueText).Any());
Assert.DoesNotContain(reference.Identifier.ValueText, model.LookupNames(reference.SpanStart));
Assert.True(model.GetTypeInfo(reference).Type.IsErrorType());
}
}
protected static void AssertNoGlobalStatements(SyntaxTree tree)
{
Assert.Empty(tree.GetRoot().DescendantNodes().OfType<GlobalStatementSyntax>());
}
protected CSharpCompilation CreatePatternCompilation(string source, CSharpCompilationOptions options = null)
{
return CreateCompilation(new[] { source, _iTupleSource }, options: options ?? TestOptions.DebugExe, parseOptions: TestOptions.RegularWithPatternCombinators);
}
protected const string _iTupleSource = @"
namespace System.Runtime.CompilerServices
{
public interface ITuple
{
int Length { get; }
object this[int index] { get; }
}
}
";
protected static void AssertEmpty(SymbolInfo info)
{
Assert.NotEqual(default, info);
Assert.Null(info.Symbol);
Assert.Equal(CandidateReason.None, info.CandidateReason);
}
#endregion helpers
}
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./eng/publish-assets.ps1 | # Publishes our build assets to nuget, Azure DevOps, dotnet/versions, etc ..
#
# The publish operation is best visioned as an optional yet repeatable post build operation. It can be
# run anytime after build or automatically as a post build step. But it is an operation that focuses on
# build outputs and hence can't rely on source code from the build being available
#
# Repeatable is important here because we have to assume that publishes can and will fail with some
# degree of regularity.
[CmdletBinding(PositionalBinding=$false)]
Param(
# Standard options
[string]$configuration = "",
[string]$branchName = "",
[string]$releaseName = "",
[switch]$test,
# Credentials
[string]$nugetApiKey = ""
)
Set-StrictMode -version 2.0
$ErrorActionPreference="Stop"
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
function Get-PublishKey([string]$uploadUrl) {
$url = New-Object Uri $uploadUrl
switch ($url.Host) {
"api.nuget.org" { return $nugetApiKey }
# For publishing to azure, the API key can be any non-empty string as authentication is done in the pipeline.
"pkgs.dev.azure.com" { return "AzureArtifacts"}
default { throw "Cannot determine publish key for $uploadUrl" }
}
}
function Publish-Nuget($publishData, [string]$packageDir) {
Push-Location $packageDir
try {
# Retrieve the feed name to source mapping.
$feedData = GetFeedPublishData
# Each branch stores the name of the package to feed map it should use.
# Retrieve the correct map for this particular branch.
$packagesData = GetPackagesPublishData $publishData.packageFeeds
foreach ($package in Get-ChildItem *.nupkg) {
$nupkg = Split-Path -Leaf $package
Write-Host " Publishing $nupkg"
if (-not (Test-Path $nupkg)) {
throw "$nupkg does not exist"
}
# Lookup the feed name from the packages map using the package name without the version or extension.
$nupkgWithoutVersion = $nupkg -replace '(\.\d+){3}-.*.nupkg', ''
if (-not (Get-Member -InputObject $packagesData -Name $nupkgWithoutVersion)) {
throw "$nupkg has no configured feed (looked for $nupkgWithoutVersion)"
}
$feedName = $packagesData.$nupkgWithoutVersion
# If the configured feed is arcade, then skip publishing here. Arcade will handle publishing to their feeds.
if ($feedName.equals("arcade")) {
Write-Host " Skipping publishing for $nupkg as it is published by arcade"
continue
}
# Use the feed name to get the source to upload the package to.
if (-not (Get-Member -InputObject $feedData -Name $feedName)) {
throw "$feedName has no configured source feed"
}
$uploadUrl = $feedData.$feedName
$apiKey = Get-PublishKey $uploadUrl
if (-not $test) {
Exec-Console $dotnet "nuget push $nupkg --source $uploadUrl --api-key $apiKey"
}
}
}
finally {
Pop-Location
}
}
# Do basic verification on the values provided in the publish configuration
function Test-Entry($publishData, [switch]$isBranch) {
if ($isBranch) {
foreach ($nugetKind in $publishData.nugetKind) {
if ($nugetKind -ne "PerBuildPreRelease" -and $nugetKind -ne "Shipping" -and $nugetKind -ne "NonShipping") {
throw "Branches are only allowed to publish Shipping, NonShipping, or PerBuildPreRelease"
}
}
}
}
# Publish a given entry: branch or release.
function Publish-Entry($publishData, [switch]$isBranch) {
Test-Entry $publishData -isBranch:$isBranch
# First publish the NuGet packages to the specified feeds
foreach ($nugetKind in $publishData.nugetKind) {
Publish-NuGet $publishData (Join-Path $PackagesDir $nugetKind)
}
exit 0
}
try {
if ($configuration -eq "") {
Write-Host "Must provide the build configuration with -configuration"
exit 1
}
. (Join-Path $PSScriptRoot "build-utils.ps1")
$dotnet = Ensure-DotnetSdk
if ($branchName -ne "" -and $releaseName -ne "") {
Write-Host "Can only specify -branchName or -releaseName, not both"
exit 1
}
if ($branchName -ne "") {
$data = GetBranchPublishData $branchName
if ($data -eq $null) {
Write-Host "Branch $branchName not listed for publishing."
exit 0
}
Publish-Entry $data -isBranch:$true
}
elseif ($releaseName -ne "") {
$data = GetReleasePublishData $releaseName
if ($data -eq $null) {
Write-Host "Release $releaseName not listed for publishing."
exit 1
}
Publish-Entry $data -isBranch:$false
}
else {
Write-Host "Need to specify -branchName or -releaseName"
exit 1
}
}
catch {
Write-Host $_
Write-Host $_.Exception
Write-Host $_.ScriptStackTrace
exit 1
}
| # Publishes our build assets to nuget, Azure DevOps, dotnet/versions, etc ..
#
# The publish operation is best visioned as an optional yet repeatable post build operation. It can be
# run anytime after build or automatically as a post build step. But it is an operation that focuses on
# build outputs and hence can't rely on source code from the build being available
#
# Repeatable is important here because we have to assume that publishes can and will fail with some
# degree of regularity.
[CmdletBinding(PositionalBinding=$false)]
Param(
# Standard options
[string]$configuration = "",
[string]$branchName = "",
[string]$releaseName = "",
[switch]$test,
# Credentials
[string]$nugetApiKey = ""
)
Set-StrictMode -version 2.0
$ErrorActionPreference="Stop"
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
function Get-PublishKey([string]$uploadUrl) {
$url = New-Object Uri $uploadUrl
switch ($url.Host) {
"api.nuget.org" { return $nugetApiKey }
# For publishing to azure, the API key can be any non-empty string as authentication is done in the pipeline.
"pkgs.dev.azure.com" { return "AzureArtifacts"}
default { throw "Cannot determine publish key for $uploadUrl" }
}
}
function Publish-Nuget($publishData, [string]$packageDir) {
Push-Location $packageDir
try {
# Retrieve the feed name to source mapping.
$feedData = GetFeedPublishData
# Each branch stores the name of the package to feed map it should use.
# Retrieve the correct map for this particular branch.
$packagesData = GetPackagesPublishData $publishData.packageFeeds
foreach ($package in Get-ChildItem *.nupkg) {
$nupkg = Split-Path -Leaf $package
Write-Host " Publishing $nupkg"
if (-not (Test-Path $nupkg)) {
throw "$nupkg does not exist"
}
# Lookup the feed name from the packages map using the package name without the version or extension.
$nupkgWithoutVersion = $nupkg -replace '(\.\d+){3}-.*.nupkg', ''
if (-not (Get-Member -InputObject $packagesData -Name $nupkgWithoutVersion)) {
throw "$nupkg has no configured feed (looked for $nupkgWithoutVersion)"
}
$feedName = $packagesData.$nupkgWithoutVersion
# If the configured feed is arcade, then skip publishing here. Arcade will handle publishing to their feeds.
if ($feedName.equals("arcade")) {
Write-Host " Skipping publishing for $nupkg as it is published by arcade"
continue
}
# Use the feed name to get the source to upload the package to.
if (-not (Get-Member -InputObject $feedData -Name $feedName)) {
throw "$feedName has no configured source feed"
}
$uploadUrl = $feedData.$feedName
$apiKey = Get-PublishKey $uploadUrl
if (-not $test) {
Exec-Console $dotnet "nuget push $nupkg --source $uploadUrl --api-key $apiKey"
}
}
}
finally {
Pop-Location
}
}
# Do basic verification on the values provided in the publish configuration
function Test-Entry($publishData, [switch]$isBranch) {
if ($isBranch) {
foreach ($nugetKind in $publishData.nugetKind) {
if ($nugetKind -ne "PerBuildPreRelease" -and $nugetKind -ne "Shipping" -and $nugetKind -ne "NonShipping") {
throw "Branches are only allowed to publish Shipping, NonShipping, or PerBuildPreRelease"
}
}
}
}
# Publish a given entry: branch or release.
function Publish-Entry($publishData, [switch]$isBranch) {
Test-Entry $publishData -isBranch:$isBranch
# First publish the NuGet packages to the specified feeds
foreach ($nugetKind in $publishData.nugetKind) {
Publish-NuGet $publishData (Join-Path $PackagesDir $nugetKind)
}
exit 0
}
try {
if ($configuration -eq "") {
Write-Host "Must provide the build configuration with -configuration"
exit 1
}
. (Join-Path $PSScriptRoot "build-utils.ps1")
$dotnet = Ensure-DotnetSdk
if ($branchName -ne "" -and $releaseName -ne "") {
Write-Host "Can only specify -branchName or -releaseName, not both"
exit 1
}
if ($branchName -ne "") {
$data = GetBranchPublishData $branchName
if ($data -eq $null) {
Write-Host "Branch $branchName not listed for publishing."
exit 0
}
Publish-Entry $data -isBranch:$true
}
elseif ($releaseName -ne "") {
$data = GetReleasePublishData $releaseName
if ($data -eq $null) {
Write-Host "Release $releaseName not listed for publishing."
exit 1
}
Publish-Entry $data -isBranch:$false
}
else {
Write-Host "Need to specify -branchName or -releaseName"
exit 1
}
}
catch {
Write-Host $_
Write-Host $_.Exception
Write-Host $_.ScriptStackTrace
exit 1
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Features/VisualBasic/Portable/Completion/KeywordRecommenders/Statements/MidKeywordRecommender.vb | ' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
Imports System.Collections.Immutable
Imports System.Threading
Imports Microsoft.CodeAnalysis.Completion.Providers
Imports Microsoft.CodeAnalysis.VisualBasic.Extensions.ContextQuery
Imports Microsoft.CodeAnalysis.VisualBasic.Utilities.IntrinsicOperators
Namespace Microsoft.CodeAnalysis.VisualBasic.Completion.KeywordRecommenders.Statements
''' <summary>
''' Recommends the "Mid" keyword for the Mid statement.
''' </summary>
Friend Class MidKeywordRecommender
Inherits AbstractKeywordRecommender
Private Shared ReadOnly s_keywords As ImmutableArray(Of RecommendedKeyword) = ImmutableArray.Create(
CreateRecommendedKeywordForIntrinsicOperator(
SyntaxKind.MidKeyword,
VBFeaturesResources.Mid_statement,
Glyph.Keyword,
New MidAssignmentDocumentation()))
Protected Overrides Function RecommendKeywords(context As VisualBasicSyntaxContext, cancellationToken As CancellationToken) As ImmutableArray(Of RecommendedKeyword)
Return If(context.IsSingleLineStatementContext, s_keywords, ImmutableArray(Of RecommendedKeyword).Empty)
End Function
End Class
End Namespace
| ' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
Imports System.Collections.Immutable
Imports System.Threading
Imports Microsoft.CodeAnalysis.Completion.Providers
Imports Microsoft.CodeAnalysis.VisualBasic.Extensions.ContextQuery
Imports Microsoft.CodeAnalysis.VisualBasic.Utilities.IntrinsicOperators
Namespace Microsoft.CodeAnalysis.VisualBasic.Completion.KeywordRecommenders.Statements
''' <summary>
''' Recommends the "Mid" keyword for the Mid statement.
''' </summary>
Friend Class MidKeywordRecommender
Inherits AbstractKeywordRecommender
Private Shared ReadOnly s_keywords As ImmutableArray(Of RecommendedKeyword) = ImmutableArray.Create(
CreateRecommendedKeywordForIntrinsicOperator(
SyntaxKind.MidKeyword,
VBFeaturesResources.Mid_statement,
Glyph.Keyword,
New MidAssignmentDocumentation()))
Protected Overrides Function RecommendKeywords(context As VisualBasicSyntaxContext, cancellationToken As CancellationToken) As ImmutableArray(Of RecommendedKeyword)
Return If(context.IsSingleLineStatementContext, s_keywords, ImmutableArray(Of RecommendedKeyword).Empty)
End Function
End Class
End Namespace
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Workspaces/Remote/ServiceHub/Host/Storage/RemoteCloudCacheStorageServiceFactory.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Composition;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnalysis.Host.Mef;
using Microsoft.CodeAnalysis.Remote.Host;
using Microsoft.CodeAnalysis.Storage;
using Microsoft.CodeAnalysis.Storage.CloudCache;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.LanguageServices.Storage;
using Microsoft.VisualStudio.RpcContracts.Caching;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.Remote.Storage
{
[ExportWorkspaceService(typeof(ICloudCacheStorageServiceFactory), WorkspaceKind.RemoteWorkspace), Shared]
internal class RemoteCloudCacheStorageServiceFactory : ICloudCacheStorageServiceFactory
{
private readonly IGlobalServiceBroker _globalServiceBroker;
[ImportingConstructor]
[Obsolete(MefConstruction.ImportingConstructorMessage, error: true)]
public RemoteCloudCacheStorageServiceFactory(IGlobalServiceBroker globalServiceBroker)
{
_globalServiceBroker = globalServiceBroker;
}
public AbstractPersistentStorageService Create(IPersistentStorageLocationService locationService)
=> new RemoteCloudCachePersistentStorageService(_globalServiceBroker, locationService);
private class RemoteCloudCachePersistentStorageService : AbstractCloudCachePersistentStorageService
{
private readonly IGlobalServiceBroker _globalServiceBroker;
public RemoteCloudCachePersistentStorageService(IGlobalServiceBroker globalServiceBroker, IPersistentStorageLocationService locationService)
: base(locationService)
{
_globalServiceBroker = globalServiceBroker;
}
protected override void DisposeCacheService(ICacheService cacheService)
{
if (cacheService is IAsyncDisposable asyncDisposable)
{
asyncDisposable.DisposeAsync().AsTask().Wait();
}
else if (cacheService is IDisposable disposable)
{
disposable.Dispose();
}
}
protected override async ValueTask<ICacheService> CreateCacheServiceAsync(CancellationToken cancellationToken)
{
var serviceBroker = _globalServiceBroker.Instance;
#pragma warning disable ISB001 // Dispose of proxies
// cache service will be disposed inside RemoteCloudCacheService.Dispose
var cacheService = await serviceBroker.GetProxyAsync<ICacheService>(VisualStudioServices.VS2019_10.CacheService, cancellationToken: cancellationToken).ConfigureAwait(false);
#pragma warning restore ISB001 // Dispose of proxies
Contract.ThrowIfNull(cacheService);
return cacheService;
}
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Composition;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnalysis.Host.Mef;
using Microsoft.CodeAnalysis.Remote.Host;
using Microsoft.CodeAnalysis.Storage;
using Microsoft.CodeAnalysis.Storage.CloudCache;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.LanguageServices.Storage;
using Microsoft.VisualStudio.RpcContracts.Caching;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.Remote.Storage
{
[ExportWorkspaceService(typeof(ICloudCacheStorageServiceFactory), WorkspaceKind.RemoteWorkspace), Shared]
internal class RemoteCloudCacheStorageServiceFactory : ICloudCacheStorageServiceFactory
{
private readonly IGlobalServiceBroker _globalServiceBroker;
[ImportingConstructor]
[Obsolete(MefConstruction.ImportingConstructorMessage, error: true)]
public RemoteCloudCacheStorageServiceFactory(IGlobalServiceBroker globalServiceBroker)
{
_globalServiceBroker = globalServiceBroker;
}
public AbstractPersistentStorageService Create(IPersistentStorageLocationService locationService)
=> new RemoteCloudCachePersistentStorageService(_globalServiceBroker, locationService);
private class RemoteCloudCachePersistentStorageService : AbstractCloudCachePersistentStorageService
{
private readonly IGlobalServiceBroker _globalServiceBroker;
public RemoteCloudCachePersistentStorageService(IGlobalServiceBroker globalServiceBroker, IPersistentStorageLocationService locationService)
: base(locationService)
{
_globalServiceBroker = globalServiceBroker;
}
protected override void DisposeCacheService(ICacheService cacheService)
{
if (cacheService is IAsyncDisposable asyncDisposable)
{
asyncDisposable.DisposeAsync().AsTask().Wait();
}
else if (cacheService is IDisposable disposable)
{
disposable.Dispose();
}
}
protected override async ValueTask<ICacheService> CreateCacheServiceAsync(CancellationToken cancellationToken)
{
var serviceBroker = _globalServiceBroker.Instance;
#pragma warning disable ISB001 // Dispose of proxies
// cache service will be disposed inside RemoteCloudCacheService.Dispose
var cacheService = await serviceBroker.GetProxyAsync<ICacheService>(VisualStudioServices.VS2019_10.CacheService, cancellationToken: cancellationToken).ConfigureAwait(false);
#pragma warning restore ISB001 // Dispose of proxies
Contract.ThrowIfNull(cacheService);
return cacheService;
}
}
}
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Features/Core/Portable/SplitOrMergeIfStatements/Nested/AbstractSplitIntoNestedIfStatementsCodeRefactoringProvider.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.Formatting;
using Microsoft.CodeAnalysis.LanguageServices;
using Microsoft.CodeAnalysis.Shared.Extensions;
namespace Microsoft.CodeAnalysis.SplitOrMergeIfStatements
{
internal abstract class AbstractSplitIntoNestedIfStatementsCodeRefactoringProvider
: AbstractSplitIfStatementCodeRefactoringProvider
{
// Converts:
// if (a && b)
// Console.WriteLine();
//
// To:
// if (a)
// {
// if (b)
// Console.WriteLine();
// }
protected sealed override int GetLogicalExpressionKind(ISyntaxKindsService syntaxKinds)
=> syntaxKinds.LogicalAndExpression;
protected sealed override CodeAction CreateCodeAction(Func<CancellationToken, Task<Document>> createChangedDocument, string ifKeywordText)
=> new MyCodeAction(string.Format(FeaturesResources.Split_into_nested_0_statements, ifKeywordText), createChangedDocument);
protected sealed override Task<SyntaxNode> GetChangedRootAsync(
Document document,
SyntaxNode root,
SyntaxNode ifOrElseIf,
SyntaxNode leftCondition,
SyntaxNode rightCondition,
CancellationToken cancellationToken)
{
var ifGenerator = document.GetLanguageService<IIfLikeStatementGenerator>();
// If we have an else-if clause, we first convert it to an if statement. If there are any
// else-if or else clauses following the outer if statement, they will be copied and placed inside too.
var innerIfStatement = ifGenerator.WithCondition(ifGenerator.ToIfStatement(ifOrElseIf), rightCondition);
var outerIfOrElseIf = ifGenerator.WithCondition(ifGenerator.WithStatementInBlock(ifOrElseIf, innerIfStatement), leftCondition);
return Task.FromResult(
root.ReplaceNode(ifOrElseIf, outerIfOrElseIf.WithAdditionalAnnotations(Formatter.Annotation)));
}
private sealed class MyCodeAction : CodeAction.DocumentChangeAction
{
public MyCodeAction(string title, Func<CancellationToken, Task<Document>> createChangedDocument)
: base(title, createChangedDocument, title)
{
}
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.Formatting;
using Microsoft.CodeAnalysis.LanguageServices;
using Microsoft.CodeAnalysis.Shared.Extensions;
namespace Microsoft.CodeAnalysis.SplitOrMergeIfStatements
{
internal abstract class AbstractSplitIntoNestedIfStatementsCodeRefactoringProvider
: AbstractSplitIfStatementCodeRefactoringProvider
{
// Converts:
// if (a && b)
// Console.WriteLine();
//
// To:
// if (a)
// {
// if (b)
// Console.WriteLine();
// }
protected sealed override int GetLogicalExpressionKind(ISyntaxKindsService syntaxKinds)
=> syntaxKinds.LogicalAndExpression;
protected sealed override CodeAction CreateCodeAction(Func<CancellationToken, Task<Document>> createChangedDocument, string ifKeywordText)
=> new MyCodeAction(string.Format(FeaturesResources.Split_into_nested_0_statements, ifKeywordText), createChangedDocument);
protected sealed override Task<SyntaxNode> GetChangedRootAsync(
Document document,
SyntaxNode root,
SyntaxNode ifOrElseIf,
SyntaxNode leftCondition,
SyntaxNode rightCondition,
CancellationToken cancellationToken)
{
var ifGenerator = document.GetLanguageService<IIfLikeStatementGenerator>();
// If we have an else-if clause, we first convert it to an if statement. If there are any
// else-if or else clauses following the outer if statement, they will be copied and placed inside too.
var innerIfStatement = ifGenerator.WithCondition(ifGenerator.ToIfStatement(ifOrElseIf), rightCondition);
var outerIfOrElseIf = ifGenerator.WithCondition(ifGenerator.WithStatementInBlock(ifOrElseIf, innerIfStatement), leftCondition);
return Task.FromResult(
root.ReplaceNode(ifOrElseIf, outerIfOrElseIf.WithAdditionalAnnotations(Formatter.Annotation)));
}
private sealed class MyCodeAction : CodeAction.DocumentChangeAction
{
public MyCodeAction(string title, Func<CancellationToken, Task<Document>> createChangedDocument)
: base(title, createChangedDocument, title)
{
}
}
}
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/EditorFeatures/VisualBasicTest/TodoComment/TodoCommentTests.vb | ' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
Imports Microsoft.CodeAnalysis.Editor.Implementation.TodoComments
Imports Microsoft.CodeAnalysis.Editor.UnitTests.Extensions
Imports Microsoft.CodeAnalysis.Editor.UnitTests.Workspaces
Imports Microsoft.CodeAnalysis.Test.Utilities.TodoComments
Namespace Microsoft.CodeAnalysis.Editor.VisualBasic.UnitTests.TodoComment
<[UseExportProvider]>
Public Class TodoCommentTests
Inherits AbstractTodoCommentTests
Protected Overrides Function CreateWorkspace(codeWithMarker As String) As TestWorkspace
Dim workspace = TestWorkspace.CreateVisualBasic(codeWithMarker)
workspace.SetOptions(workspace.Options.WithChangedOption(TodoCommentOptions.TokenList, DefaultTokenList))
Return workspace
End Function
<Fact>
Public Async Function TestSingleLineTodoComment_Colon() As Task
Dim code = <code>' [|TODO:test|]</code>
Await TestAsync(code)
End Function
<Fact>
Public Async Function TestSingleLineTodoComment_Space() As Task
Dim code = <code>' [|TODO test|]</code>
Await TestAsync(code)
End Function
<Fact>
Public Async Function TestSingleLineTodoComment_Underscore() As Task
Dim code = <code>' TODO_test</code>
Await TestAsync(code)
End Function
<Fact>
Public Async Function TestSingleLineTodoComment_Number() As Task
Dim code = <code>' TODO1 test</code>
Await TestAsync(code)
End Function
<Fact>
Public Async Function TestSingleLineTodoComment_Quote() As Task
Dim code = <code>' "TODO test"</code>
Await TestAsync(code)
End Function
<Fact>
Public Async Function TestSingleLineTodoComment_Middle() As Task
Dim code = <code>' Hello TODO test</code>
Await TestAsync(code)
End Function
<Fact>
Public Async Function TestSingleLineTodoComment_Document() As Task
Dim code = <code>''' [|TODO test|]</code>
Await TestAsync(code)
End Function
<Fact>
Public Async Function TestSingleLineTodoComment_Preprocessor1() As Task
Dim code = <code>#If DEBUG Then ' [|TODO test|]</code>
Await TestAsync(code)
End Function
<Fact>
Public Async Function TestSingleLineTodoComment_Preprocessor2() As Task
Dim code = <code>#If DEBUG Then ''' [|TODO test|]</code>
Await TestAsync(code)
End Function
<Fact>
Public Async Function TestSingleLineTodoComment_Region() As Task
Dim code = <code>#Region ' [|TODO test |]</code>
Await TestAsync(code)
End Function
<Fact>
Public Async Function TestSingleLineTodoComment_EndRegion() As Task
Dim code = <code>#End Region ' [|TODO test |]</code>
Await TestAsync(code)
End Function
<Fact>
Public Async Function TestSingleLineTodoComment_TrailingSpan() As Task
Dim code = <code>' [|TODO test |]</code>
Await TestAsync(code)
End Function
<Fact>
Public Async Function TestSingleLineTodoComment_REM() As Task
Dim code = <code>REM [|TODO test |]</code>
Await TestAsync(code)
End Function
<Fact>
Public Async Function TestSingleLineTodoComment_Preprocessor_REM() As Task
Dim code = <code>#If Debug Then REM [|TODO test |]</code>
Await TestAsync(code)
End Function
<Fact>
Public Async Function TestSinglelineDocumentComment_Multiline() As Task
Dim code = <code>
''' <summary>
''' [|TODO : test |]
''' </summary>
''' [|UNDONE: test2 |]</code>
Await TestAsync(code)
End Function
<Fact>
<WorkItem(606010, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/606010")>
Public Async Function TestLeftRightSingleQuote() As Task
Dim code = <code>
‘[|todo fullwidth 1|]
’[|todo fullwidth 2|]
</code>
Await TestAsync(code)
End Function
<Fact>
<WorkItem(606019, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/606019")>
Public Async Function TestHalfFullTodo() As Task
Dim code = <code>
'[|todo whatever|]
</code>
Await TestAsync(code)
End Function
<Fact>
<WorkItem(627723, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/627723")>
Public Async Function TestSingleQuote_Invalid1() As Task
Dim code = <code>
'' todo whatever
</code>
Await TestAsync(code)
End Function
<Fact>
<WorkItem(627723, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/627723")>
Public Async Function TestSingleQuote_Invalid2() As Task
Dim code = <code>
'''' todo whatever
</code>
Await TestAsync(code)
End Function
<Fact>
<WorkItem(627723, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/627723")>
Public Async Function TestSingleQuote_Invalid3() As Task
Dim code = <code>
' '' todo whatever
</code>
Await TestAsync(code)
End Function
Private Overloads Function TestAsync(codeWithMarker As XElement) As Task
Return TestAsync(codeWithMarker.NormalizedValue())
End Function
End Class
End Namespace
| ' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
Imports Microsoft.CodeAnalysis.Editor.Implementation.TodoComments
Imports Microsoft.CodeAnalysis.Editor.UnitTests.Extensions
Imports Microsoft.CodeAnalysis.Editor.UnitTests.Workspaces
Imports Microsoft.CodeAnalysis.Test.Utilities.TodoComments
Namespace Microsoft.CodeAnalysis.Editor.VisualBasic.UnitTests.TodoComment
<[UseExportProvider]>
Public Class TodoCommentTests
Inherits AbstractTodoCommentTests
Protected Overrides Function CreateWorkspace(codeWithMarker As String) As TestWorkspace
Dim workspace = TestWorkspace.CreateVisualBasic(codeWithMarker)
workspace.SetOptions(workspace.Options.WithChangedOption(TodoCommentOptions.TokenList, DefaultTokenList))
Return workspace
End Function
<Fact>
Public Async Function TestSingleLineTodoComment_Colon() As Task
Dim code = <code>' [|TODO:test|]</code>
Await TestAsync(code)
End Function
<Fact>
Public Async Function TestSingleLineTodoComment_Space() As Task
Dim code = <code>' [|TODO test|]</code>
Await TestAsync(code)
End Function
<Fact>
Public Async Function TestSingleLineTodoComment_Underscore() As Task
Dim code = <code>' TODO_test</code>
Await TestAsync(code)
End Function
<Fact>
Public Async Function TestSingleLineTodoComment_Number() As Task
Dim code = <code>' TODO1 test</code>
Await TestAsync(code)
End Function
<Fact>
Public Async Function TestSingleLineTodoComment_Quote() As Task
Dim code = <code>' "TODO test"</code>
Await TestAsync(code)
End Function
<Fact>
Public Async Function TestSingleLineTodoComment_Middle() As Task
Dim code = <code>' Hello TODO test</code>
Await TestAsync(code)
End Function
<Fact>
Public Async Function TestSingleLineTodoComment_Document() As Task
Dim code = <code>''' [|TODO test|]</code>
Await TestAsync(code)
End Function
<Fact>
Public Async Function TestSingleLineTodoComment_Preprocessor1() As Task
Dim code = <code>#If DEBUG Then ' [|TODO test|]</code>
Await TestAsync(code)
End Function
<Fact>
Public Async Function TestSingleLineTodoComment_Preprocessor2() As Task
Dim code = <code>#If DEBUG Then ''' [|TODO test|]</code>
Await TestAsync(code)
End Function
<Fact>
Public Async Function TestSingleLineTodoComment_Region() As Task
Dim code = <code>#Region ' [|TODO test |]</code>
Await TestAsync(code)
End Function
<Fact>
Public Async Function TestSingleLineTodoComment_EndRegion() As Task
Dim code = <code>#End Region ' [|TODO test |]</code>
Await TestAsync(code)
End Function
<Fact>
Public Async Function TestSingleLineTodoComment_TrailingSpan() As Task
Dim code = <code>' [|TODO test |]</code>
Await TestAsync(code)
End Function
<Fact>
Public Async Function TestSingleLineTodoComment_REM() As Task
Dim code = <code>REM [|TODO test |]</code>
Await TestAsync(code)
End Function
<Fact>
Public Async Function TestSingleLineTodoComment_Preprocessor_REM() As Task
Dim code = <code>#If Debug Then REM [|TODO test |]</code>
Await TestAsync(code)
End Function
<Fact>
Public Async Function TestSinglelineDocumentComment_Multiline() As Task
Dim code = <code>
''' <summary>
''' [|TODO : test |]
''' </summary>
''' [|UNDONE: test2 |]</code>
Await TestAsync(code)
End Function
<Fact>
<WorkItem(606010, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/606010")>
Public Async Function TestLeftRightSingleQuote() As Task
Dim code = <code>
‘[|todo fullwidth 1|]
’[|todo fullwidth 2|]
</code>
Await TestAsync(code)
End Function
<Fact>
<WorkItem(606019, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/606019")>
Public Async Function TestHalfFullTodo() As Task
Dim code = <code>
'[|todo whatever|]
</code>
Await TestAsync(code)
End Function
<Fact>
<WorkItem(627723, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/627723")>
Public Async Function TestSingleQuote_Invalid1() As Task
Dim code = <code>
'' todo whatever
</code>
Await TestAsync(code)
End Function
<Fact>
<WorkItem(627723, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/627723")>
Public Async Function TestSingleQuote_Invalid2() As Task
Dim code = <code>
'''' todo whatever
</code>
Await TestAsync(code)
End Function
<Fact>
<WorkItem(627723, "http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/627723")>
Public Async Function TestSingleQuote_Invalid3() As Task
Dim code = <code>
' '' todo whatever
</code>
Await TestAsync(code)
End Function
Private Overloads Function TestAsync(codeWithMarker As XElement) As Task
Return TestAsync(codeWithMarker.NormalizedValue())
End Function
End Class
End Namespace
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/VisualStudio/Core/Def/Implementation/InheritanceMargin/MarginGlyph/InheritanceMarginGlyph.xaml.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Immutable;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Editor;
using Microsoft.CodeAnalysis.Editor.GoToDefinition;
using Microsoft.CodeAnalysis.Editor.Host;
using Microsoft.CodeAnalysis.Editor.Shared.Utilities;
using Microsoft.CodeAnalysis.FindUsages;
using Microsoft.CodeAnalysis.Internal.Log;
using Microsoft.CodeAnalysis.Shared.TestHooks;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Text.Classification;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Utilities;
namespace Microsoft.VisualStudio.LanguageServices.Implementation.InheritanceMargin.MarginGlyph
{
internal partial class InheritanceMarginGlyph
{
private readonly IThreadingContext _threadingContext;
private readonly IStreamingFindUsagesPresenter _streamingFindUsagesPresenter;
private readonly IUIThreadOperationExecutor _operationExecutor;
private readonly Workspace _workspace;
private readonly IWpfTextView _textView;
private readonly IAsynchronousOperationListener _listener;
public InheritanceMarginGlyph(
IThreadingContext threadingContext,
IStreamingFindUsagesPresenter streamingFindUsagesPresenter,
ClassificationTypeMap classificationTypeMap,
IClassificationFormatMap classificationFormatMap,
IUIThreadOperationExecutor operationExecutor,
InheritanceMarginTag tag,
IWpfTextView textView,
IAsynchronousOperationListener listener)
{
_threadingContext = threadingContext;
_streamingFindUsagesPresenter = streamingFindUsagesPresenter;
_workspace = tag.Workspace;
_operationExecutor = operationExecutor;
_textView = textView;
_listener = listener;
InitializeComponent();
var viewModel = InheritanceMarginGlyphViewModel.Create(classificationTypeMap, classificationFormatMap, tag, textView.ZoomLevel);
DataContext = viewModel;
ContextMenu.DataContext = viewModel;
ToolTip = new ToolTip { Content = viewModel.ToolTipTextBlock, Style = (Style)FindResource("ToolTipStyle") };
}
private void InheritanceMargin_OnClick(object sender, RoutedEventArgs e)
{
if (this.ContextMenu != null)
{
this.ContextMenu.IsOpen = true;
e.Handled = true;
}
}
private void TargetMenuItem_OnClick(object sender, RoutedEventArgs e)
{
if (e.OriginalSource is MenuItem { DataContext: TargetMenuItemViewModel viewModel })
{
Logger.Log(FunctionId.InheritanceMargin_NavigateToTarget, KeyValueLogMessage.Create(LogType.UserAction));
var token = _listener.BeginAsyncOperation(nameof(TargetMenuItem_OnClick));
TargetMenuItem_OnClickAsync(viewModel).CompletesAsyncOperation(token);
}
}
private async Task TargetMenuItem_OnClickAsync(TargetMenuItemViewModel viewModel)
{
using var context = _operationExecutor.BeginExecute(
title: EditorFeaturesResources.Navigating,
defaultDescription: string.Format(ServicesVSResources.Navigate_to_0, viewModel.DisplayContent),
allowCancellation: true,
showProgress: false);
var cancellationToken = context.UserCancellationToken;
var rehydrated = await viewModel.DefinitionItem.TryRehydrateAsync(cancellationToken).ConfigureAwait(false);
if (rehydrated == null)
return;
await _streamingFindUsagesPresenter.TryNavigateToOrPresentItemsAsync(
_threadingContext,
_workspace,
string.Format(EditorFeaturesResources._0_declarations, viewModel.DisplayContent),
ImmutableArray.Create<DefinitionItem>(rehydrated),
cancellationToken).ConfigureAwait(false);
}
private void ChangeBorderToHoveringColor()
{
SetResourceReference(BackgroundProperty, VsBrushes.CommandBarMenuBackgroundGradientKey);
SetResourceReference(BorderBrushProperty, VsBrushes.CommandBarMenuBorderKey);
}
private void InheritanceMargin_OnMouseEnter(object sender, MouseEventArgs e)
{
ChangeBorderToHoveringColor();
}
private void InheritanceMargin_OnMouseLeave(object sender, MouseEventArgs e)
{
// If the context menu is open, then don't reset the color of the button because we need
// the margin looks like being pressed.
if (!ContextMenu.IsOpen)
{
ResetBorderToInitialColor();
}
}
private void ContextMenu_OnClose(object sender, RoutedEventArgs e)
{
// If mouse is still hovering. Don't reset the color. The context menu might be closed because user clicks within the margin
if (!IsMouseOver)
{
ResetBorderToInitialColor();
}
// Move the focus back to textView when the context menu is closed.
// It ensures the focus won't be left at the margin
ResetFocus();
}
private void ContextMenu_OnOpen(object sender, RoutedEventArgs e)
{
if (e.OriginalSource is ContextMenu { DataContext: InheritanceMarginGlyphViewModel inheritanceMarginViewModel }
&& inheritanceMarginViewModel.MenuItemViewModels.Any(vm => vm is TargetMenuItemViewModel))
{
// We have two kinds of context menu. e.g.
// 1. [margin] -> Header
// Target1
// Target2
// Target3
//
// 2. [margin] -> method Bar -> Header
// -> Target1
// -> Target2
// -> method Foo -> Header
// -> Target3
// -> Target4
// If the first level of the context menu contains a TargetMenuItemViewModel, it means here it is case 1,
// user is viewing the targets menu.
Logger.Log(FunctionId.InheritanceMargin_TargetsMenuOpen, KeyValueLogMessage.Create(LogType.UserAction));
}
}
private void TargetsSubmenu_OnOpen(object sender, RoutedEventArgs e)
{
Logger.Log(FunctionId.InheritanceMargin_TargetsMenuOpen, KeyValueLogMessage.Create(LogType.UserAction));
}
private void ResetBorderToInitialColor()
{
this.Background = Brushes.Transparent;
this.BorderBrush = Brushes.Transparent;
}
private void ResetFocus()
{
if (!_textView.HasAggregateFocus)
{
var visualElement = _textView.VisualElement;
if (visualElement.Focusable)
{
Keyboard.Focus(visualElement);
}
}
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Immutable;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Editor;
using Microsoft.CodeAnalysis.Editor.GoToDefinition;
using Microsoft.CodeAnalysis.Editor.Host;
using Microsoft.CodeAnalysis.Editor.Shared.Utilities;
using Microsoft.CodeAnalysis.FindUsages;
using Microsoft.CodeAnalysis.Internal.Log;
using Microsoft.CodeAnalysis.Shared.TestHooks;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Text.Classification;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Utilities;
namespace Microsoft.VisualStudio.LanguageServices.Implementation.InheritanceMargin.MarginGlyph
{
internal partial class InheritanceMarginGlyph
{
private readonly IThreadingContext _threadingContext;
private readonly IStreamingFindUsagesPresenter _streamingFindUsagesPresenter;
private readonly IUIThreadOperationExecutor _operationExecutor;
private readonly Workspace _workspace;
private readonly IWpfTextView _textView;
private readonly IAsynchronousOperationListener _listener;
public InheritanceMarginGlyph(
IThreadingContext threadingContext,
IStreamingFindUsagesPresenter streamingFindUsagesPresenter,
ClassificationTypeMap classificationTypeMap,
IClassificationFormatMap classificationFormatMap,
IUIThreadOperationExecutor operationExecutor,
InheritanceMarginTag tag,
IWpfTextView textView,
IAsynchronousOperationListener listener)
{
_threadingContext = threadingContext;
_streamingFindUsagesPresenter = streamingFindUsagesPresenter;
_workspace = tag.Workspace;
_operationExecutor = operationExecutor;
_textView = textView;
_listener = listener;
InitializeComponent();
var viewModel = InheritanceMarginGlyphViewModel.Create(classificationTypeMap, classificationFormatMap, tag, textView.ZoomLevel);
DataContext = viewModel;
ContextMenu.DataContext = viewModel;
ToolTip = new ToolTip { Content = viewModel.ToolTipTextBlock, Style = (Style)FindResource("ToolTipStyle") };
}
private void InheritanceMargin_OnClick(object sender, RoutedEventArgs e)
{
if (this.ContextMenu != null)
{
this.ContextMenu.IsOpen = true;
e.Handled = true;
}
}
private void TargetMenuItem_OnClick(object sender, RoutedEventArgs e)
{
if (e.OriginalSource is MenuItem { DataContext: TargetMenuItemViewModel viewModel })
{
Logger.Log(FunctionId.InheritanceMargin_NavigateToTarget, KeyValueLogMessage.Create(LogType.UserAction));
var token = _listener.BeginAsyncOperation(nameof(TargetMenuItem_OnClick));
TargetMenuItem_OnClickAsync(viewModel).CompletesAsyncOperation(token);
}
}
private async Task TargetMenuItem_OnClickAsync(TargetMenuItemViewModel viewModel)
{
using var context = _operationExecutor.BeginExecute(
title: EditorFeaturesResources.Navigating,
defaultDescription: string.Format(ServicesVSResources.Navigate_to_0, viewModel.DisplayContent),
allowCancellation: true,
showProgress: false);
var cancellationToken = context.UserCancellationToken;
var rehydrated = await viewModel.DefinitionItem.TryRehydrateAsync(cancellationToken).ConfigureAwait(false);
if (rehydrated == null)
return;
await _streamingFindUsagesPresenter.TryNavigateToOrPresentItemsAsync(
_threadingContext,
_workspace,
string.Format(EditorFeaturesResources._0_declarations, viewModel.DisplayContent),
ImmutableArray.Create<DefinitionItem>(rehydrated),
cancellationToken).ConfigureAwait(false);
}
private void ChangeBorderToHoveringColor()
{
SetResourceReference(BackgroundProperty, VsBrushes.CommandBarMenuBackgroundGradientKey);
SetResourceReference(BorderBrushProperty, VsBrushes.CommandBarMenuBorderKey);
}
private void InheritanceMargin_OnMouseEnter(object sender, MouseEventArgs e)
{
ChangeBorderToHoveringColor();
}
private void InheritanceMargin_OnMouseLeave(object sender, MouseEventArgs e)
{
// If the context menu is open, then don't reset the color of the button because we need
// the margin looks like being pressed.
if (!ContextMenu.IsOpen)
{
ResetBorderToInitialColor();
}
}
private void ContextMenu_OnClose(object sender, RoutedEventArgs e)
{
// If mouse is still hovering. Don't reset the color. The context menu might be closed because user clicks within the margin
if (!IsMouseOver)
{
ResetBorderToInitialColor();
}
// Move the focus back to textView when the context menu is closed.
// It ensures the focus won't be left at the margin
ResetFocus();
}
private void ContextMenu_OnOpen(object sender, RoutedEventArgs e)
{
if (e.OriginalSource is ContextMenu { DataContext: InheritanceMarginGlyphViewModel inheritanceMarginViewModel }
&& inheritanceMarginViewModel.MenuItemViewModels.Any(vm => vm is TargetMenuItemViewModel))
{
// We have two kinds of context menu. e.g.
// 1. [margin] -> Header
// Target1
// Target2
// Target3
//
// 2. [margin] -> method Bar -> Header
// -> Target1
// -> Target2
// -> method Foo -> Header
// -> Target3
// -> Target4
// If the first level of the context menu contains a TargetMenuItemViewModel, it means here it is case 1,
// user is viewing the targets menu.
Logger.Log(FunctionId.InheritanceMargin_TargetsMenuOpen, KeyValueLogMessage.Create(LogType.UserAction));
}
}
private void TargetsSubmenu_OnOpen(object sender, RoutedEventArgs e)
{
Logger.Log(FunctionId.InheritanceMargin_TargetsMenuOpen, KeyValueLogMessage.Create(LogType.UserAction));
}
private void ResetBorderToInitialColor()
{
this.Background = Brushes.Transparent;
this.BorderBrush = Brushes.Transparent;
}
private void ResetFocus()
{
if (!_textView.HasAggregateFocus)
{
var visualElement = _textView.VisualElement;
if (visualElement.Focusable)
{
Keyboard.Focus(visualElement);
}
}
}
}
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./docs/wiki/VS-2015-CTP-5-API-Changes.md | #API changes between VS 2015 Preview and VS 2015 CTP5
##Diagnostics and CodeFix API Changes
We have made some changes to the APIs to better support localization of the various strings that can be returned by analyzers. There are some useful overloads for some common cases that have been added. The `Microsoft.CodeAnalysis.Diagnostics.Internal` namespace and all types there have been made internal as those APIs were just an implementation detail.
```diff
assembly Microsoft.CodeAnalysis {
namespace Microsoft.CodeAnalysis {
public abstract class Diagnostic : IEquatable<Diagnostic>, IFormattable {
- public abstract string Category { get; }
- public abstract IReadOnlyList<string> CustomTags { get; }
- public abstract DiagnosticSeverity DefaultSeverity { get; }
+ public virtual DiagnosticSeverity DefaultSeverity { get; }
- public abstract string Description { get; }
+ public abstract DiagnosticDescriptor Descriptor { get; }
- public abstract string HelpLink { get; }
- public abstract bool IsEnabledByDefault { get; }
+ public static Diagnostic Create(string id, string category, LocalizableString message, DiagnosticSeverity severity, DiagnosticSeverity defaultSeverity, bool isEnabledByDefault, int warningLevel, LocalizableString title=null, LocalizableString description=null, string helpLink=null, Location location=null, IEnumerable<Location> additionalLocations=null, IEnumerable<string> customTags=null);
- public static Diagnostic Create(string id, string category, string message, DiagnosticSeverity severity, DiagnosticSeverity defaultSeverity, bool isEnabledByDefault, int warningLevel, string description=null, string helpLink=null, Location location=null, IEnumerable<Location> additionalLocations=null, IEnumerable<string> customTags=null);
- public abstract string GetMessage(CultureInfo culture=null);
+ public abstract string GetMessage(IFormatProvider formatProvider=null);
+ string System.IFormattable.ToString(string ignored, IFormatProvider formatProvider);
}
public class DiagnosticDescriptor {
+ public DiagnosticDescriptor(string id, LocalizableString title, LocalizableString messageFormat, string category, DiagnosticSeverity defaultSeverity, bool isEnabledByDefault, LocalizableString description=null, string helpLink=null, params string[] customTags);
- public string Description { get; }
+ public LocalizableString Description { get; }
- public string MessageFormat { get; }
+ public LocalizableString MessageFormat { get; }
- public string Title { get; }
+ public LocalizableString Title { get; }
+ public override bool Equals(object obj);
+ public override int GetHashCode();
}
+ public sealed class LocalizableResourceString : LocalizableString {
+ public LocalizableResourceString(string nameOfLocalizableResource, ResourceManager resourceManager, Type resourceSource, params string[] formatArguments);
+ public override string ToString(IFormatProvider formatProvider);
}
+ public abstract class LocalizableString : IFormattable {
+ protected LocalizableString();
+ public static explicit operator string (LocalizableString localizableResource);
+ public static implicit operator LocalizableString (string fixedResource);
+ string System.IFormattable.ToString(string ignored, IFormatProvider formatProvider);
+ public sealed override string ToString();
+ public abstract string ToString(IFormatProvider formatProvider);
}
}
namespace Microsoft.CodeAnalysis.Diagnostics {
public struct AnalysisContext {
- public AnalysisContext(SessionStartAnalysisScope scope);
public void RegisterCodeBlockEndAction<TLanguageKindEnum>(Action<CodeBlockEndAnalysisContext> action) where TLanguageKindEnum : struct, ValueType;
public void RegisterCodeBlockStartAction<TLanguageKindEnum>(Action<CodeBlockStartAnalysisContext<TLanguageKindEnum>> action) where TLanguageKindEnum : struct, ValueType;
+ public void RegisterSymbolAction(Action<SymbolAnalysisContext> action, ImmutableArray<SymbolKind> symbolKinds);
+ public void RegisterSyntaxNodeAction<TLanguageKindEnum>(Action<SyntaxNodeAnalysisContext> action, ImmutableArray<TLanguageKindEnum> syntaxKinds) where TLanguageKindEnum : struct, ValueType;
public void RegisterSyntaxNodeAction<TLanguageKindEnum>(Action<SyntaxNodeAnalysisContext> action, params TLanguageKindEnum[] syntaxKinds) where TLanguageKindEnum : struct, ValueType;
}
public class AnalyzerOptions {
- public AnalyzerOptions(IEnumerable<AdditionalStream> additionalStreams, IDictionary<string, string> globalOptions, CultureInfo culture=null);
+ public AnalyzerOptions(ImmutableArray<AdditionalStream> additionalStreams, ImmutableDictionary<string, string> globalOptions, CultureInfo culture=null);
+ public AnalyzerOptions WithAdditionalStreams(ImmutableArray<AdditionalStream> additionalStreams);
+ public AnalyzerOptions WithCulture(CultureInfo culture);
+ public AnalyzerOptions WithGlobalOptions(ImmutableDictionary<string, string> globalOptions);
}
public struct CodeBlockStartAnalysisContext<TLanguageKindEnum> where TLanguageKindEnum : struct, ValueType {
+ public void RegisterSyntaxNodeAction(Action<SyntaxNodeAnalysisContext> action, ImmutableArray<TLanguageKindEnum> syntaxKinds);
}
public struct CompilationEndAnalysisContext {
- public CompilationEndAnalysisContext(Compilation compilation, AnalyzerOptions options, Action<Diagnostic> reportDiagnostic, CancellationToken cancellationToken);
}
public struct CompilationStartAnalysisContext {
- public CompilationStartAnalysisContext(CompilationStartAnalysisScope scope, Compilation compilation, AnalyzerOptions options, CancellationToken cancellationToken);
public void RegisterCodeBlockEndAction<TLanguageKindEnum>(Action<CodeBlockEndAnalysisContext> action) where TLanguageKindEnum : struct, ValueType;
public void RegisterCodeBlockStartAction<TLanguageKindEnum>(Action<CodeBlockStartAnalysisContext<TLanguageKindEnum>> action) where TLanguageKindEnum : struct, ValueType;
+ public void RegisterSymbolAction(Action<SymbolAnalysisContext> action, ImmutableArray<SymbolKind> symbolKinds);
+ public void RegisterSyntaxNodeAction<TLanguageKindEnum>(Action<SyntaxNodeAnalysisContext> action, ImmutableArray<TLanguageKindEnum> syntaxKinds) where TLanguageKindEnum : struct, ValueType;
public void RegisterSyntaxNodeAction<TLanguageKindEnum>(Action<SyntaxNodeAnalysisContext> action, params TLanguageKindEnum[] syntaxKinds) where TLanguageKindEnum : struct, ValueType;
}
public struct SemanticModelAnalysisContext {
- public SemanticModelAnalysisContext(SemanticModel semanticModel, AnalyzerOptions options, Action<Diagnostic> reportDiagnostic, CancellationToken cancellationToken);
}
public struct SymbolAnalysisContext {
- public SymbolAnalysisContext(ISymbol symbol, Compilation compilation, AnalyzerOptions options, Action<Diagnostic> reportDiagnostic, CancellationToken cancellationToken);
}
public struct SyntaxNodeAnalysisContext {
- public SyntaxNodeAnalysisContext(SyntaxNode node, SemanticModel semanticModel, AnalyzerOptions options, Action<Diagnostic> reportDiagnostic, CancellationToken cancellationToken);
}
public struct SyntaxTreeAnalysisContext {
- public SyntaxTreeAnalysisContext(SyntaxTree tree, AnalyzerOptions options, Action<Diagnostic> reportDiagnostic, CancellationToken cancellationToken);
}
}
}
assembly Microsoft.CodeAnalysis.Desktop {
namespace Microsoft.CodeAnalysis {
public class RuleSet {
- public RuleSet(string filePath, ReportDiagnostic generalOption, IDictionary<string, ReportDiagnostic> specificOptions, IEnumerable<RuleSetInclude> includes);
+ public RuleSet(string filePath, ReportDiagnostic generalOption, ImmutableDictionary<string, ReportDiagnostic> specificOptions, ImmutableArray<RuleSetInclude> includes);
}
}
}
assembly Microsoft.CodeAnalysis.Workspaces {
namespace Microsoft.CodeAnalysis {
public class Project {
+ public TextDocument AddAdditionalDocument(string name, SourceText text, IEnumerable<string> folders=null);
+ public TextDocument AddAdditionalDocument(string name, string text, IEnumerable<string> folders=null);
+ public Document AddDocument(string name, SyntaxNode syntaxRoot, IEnumerable<string> folders=null);
+ public Project RemoveAdditionalDocument(DocumentId documentId);
}
public class Solution {
+ public Solution AddAdditionalDocument(DocumentId documentId, string name, string text, IEnumerable<string> folders=null, string filePath=null);
+ public Solution AddDocument(DocumentId documentId, string name, SyntaxNode syntaxRoot, IEnumerable<string> folders=null, string filePath=null, bool isGenerated=false, PreservationMode preservationMode=(PreservationMode)(0));
}
public abstract class Workspace : IDisposable {
public virtual Solution CurrentSolution { get; }
- protected virtual void AddAdditionalDocument(DocumentId documentId, IEnumerable<string> folders, string name, SourceText text=null);
+ protected virtual void AddAdditionalDocument(DocumentInfo info, SourceText text);
- protected virtual void AddDocument(DocumentId documentId, IEnumerable<string> folders, string name, SourceText text=null, SourceCodeKind sourceCodeKind=(SourceCodeKind)(0));
+ protected virtual void AddDocument(DocumentInfo info, SourceText text);
}
}
namespace Microsoft.CodeAnalysis.CodeFixes {
public struct CodeFixContext {
- public CodeFixContext(Document document, Diagnostic diagnostic, Action<CodeAction, IEnumerable<Diagnostic>> registerFix, CancellationToken cancellationToken);
+ public CodeFixContext(Document document, Diagnostic diagnostic, Action<CodeAction, ImmutableArray<Diagnostic>> registerFix, CancellationToken cancellationToken);
- public CodeFixContext(Document document, TextSpan span, IEnumerable<Diagnostic> diagnostics, Action<CodeAction, IEnumerable<Diagnostic>> registerFix, CancellationToken cancellationToken);
+ public CodeFixContext(Document document, TextSpan span, ImmutableArray<Diagnostic> diagnostics, Action<CodeAction, ImmutableArray<Diagnostic>> registerFix, CancellationToken cancellationToken);
public IEnumerable<Diagnostic>ImmutableArray<Diagnostic> Diagnostics { get; }
+ public void RegisterFix(CodeAction action, ImmutableArray<Diagnostic> diagnostics);
}
public abstract class CodeFixProvider {
- public abstract FixAllProvider GetFixAllProvider();
+ public virtual FixAllProvider GetFixAllProvider();
}
}
}
```
##Changes caused by language features
We've been continuing to work on adding\refining String Interpolation and nameof in both languages and that's changed some APIs.
```diff
assembly Microsoft.CodeAnalysis {
namespace Microsoft.CodeAnalysis {
public enum CandidateReason {
+ MemberGroup = 16,
}
}
assembly Microsoft.CodeAnalysis.CSharp {
namespace Microsoft.CodeAnalysis {
public static class CSharpExtensions {
+ public static int IndexOf(this SyntaxTokenList list, SyntaxKind kind);
+ public static int IndexOf(this SyntaxTriviaList list, SyntaxKind kind);
+ public static int IndexOf<TNode>(this SeparatedSyntaxList<TNode> list, SyntaxKind kind) where TNode : SyntaxNode;
+ public static int IndexOf<TNode>(this SyntaxList<TNode> list, SyntaxKind kind) where TNode : SyntaxNode;
}
}
namespace Microsoft.CodeAnalysis.CSharp {
public sealed class CSharpCompilation : Compilation {
+ public override bool ContainsSymbolsWithName(Func<string, bool> predicate, SymbolFilter filter=(SymbolFilter)(6), CancellationToken cancellationToken=null);
+ public override IEnumerable<ISymbol> GetSymbolsWithName(Func<string, bool> predicate, SymbolFilter filter=(SymbolFilter)(6), CancellationToken cancellationToken=null);
}
public sealed class CSharpParseOptions : ParseOptions, IEquatable<CSharpParseOptions> {
+ public override IReadOnlyDictionary<string, string> Features { get; }
+ protected override ParseOptions CommonWithFeatures(IEnumerable<KeyValuePair<string, string>> features);
+ public new CSharpParseOptions WithFeatures(IEnumerable<KeyValuePair<string, string>> features);
}
public abstract class CSharpSyntaxRewriter : CSharpSyntaxVisitor<SyntaxNode> {
- public override SyntaxNode VisitNameOfExpression(NameOfExpressionSyntax node);
}
public abstract class CSharpSyntaxVisitor {
- public virtual void VisitNameOfExpression(NameOfExpressionSyntax node);
}
public abstract class CSharpSyntaxVisitor<TResult> {
- public virtual TResult VisitNameOfExpression(NameOfExpressionSyntax node);
}
public enum LanguageVersion {
- Experimental = 2147483647,
}
public static class SyntaxFactory {
+ public static InterpolatedStringInsertSyntax InterpolatedStringInsert(ExpressionSyntax expression, SyntaxToken comma, ExpressionSyntax alignment, SyntaxToken format);
- public static InterpolatedStringInsertSyntax InterpolatedStringInsert(ExpressionSyntax expression, SyntaxToken comma, ExpressionSyntax alignment, SyntaxToken colon, SyntaxToken format);
public static SyntaxToken Literal(SyntaxTriviaList leading, string text, decimalDecimal value, SyntaxTriviaList trailing);
public static SyntaxToken Literal(decimalDecimal value);
public static SyntaxToken Literal(string text, decimalDecimal value);
- public static NameOfExpressionSyntax NameOfExpression(IdentifierNameSyntax nameOfIdentifier, ExpressionSyntax argument);
- public static NameOfExpressionSyntax NameOfExpression(IdentifierNameSyntax nameOfIdentifier, SyntaxToken openParenToken, ExpressionSyntax argument, SyntaxToken closeParenToken);
- public static NameOfExpressionSyntax NameOfExpression(string nameOfIdentifier, ExpressionSyntax argument);
+ public static UsingDirectiveSyntax UsingDirective(SyntaxToken staticKeyword, NameEqualsSyntax alias, NameSyntax name);
- public static UsingDirectiveSyntax UsingDirective(SyntaxToken usingKeyword, NameEqualsSyntax alias, NameSyntax name, SyntaxToken semicolonToken);
+ public static UsingDirectiveSyntax UsingDirective(SyntaxToken usingKeyword, SyntaxToken staticKeyword, NameEqualsSyntax alias, NameSyntax name, SyntaxToken semicolonToken);
}
public enum SyntaxKind : ushort {
- NameOfExpression = (ushort)8768,
}
}
namespace Microsoft.CodeAnalysis.CSharp.Syntax {
public sealed class InterpolatedStringInsertSyntax : CSharpSyntaxNode {
- public SyntaxToken Colon { get; }
+ public InterpolatedStringInsertSyntax Update(ExpressionSyntax expression, SyntaxToken comma, ExpressionSyntax alignment, SyntaxToken format);
- public InterpolatedStringInsertSyntax Update(ExpressionSyntax expression, SyntaxToken comma, ExpressionSyntax alignment, SyntaxToken colon, SyntaxToken format);
- public InterpolatedStringInsertSyntax WithColon(SyntaxToken colon);
}
- public sealed class NameOfExpressionSyntax : ExpressionSyntax {
- public ExpressionSyntax Argument { get; }
- public SyntaxToken CloseParenToken { get; }
- public IdentifierNameSyntax NameOfIdentifier { get; }
- public SyntaxToken OpenParenToken { get; }
- public override void Accept(CSharpSyntaxVisitor visitor);
- public override TResult Accept<TResult>(CSharpSyntaxVisitor<TResult> visitor);
- public NameOfExpressionSyntax Update(IdentifierNameSyntax nameOfIdentifier, SyntaxToken openParenToken, ExpressionSyntax argument, SyntaxToken closeParenToken);
- public NameOfExpressionSyntax WithArgument(ExpressionSyntax argument);
- public NameOfExpressionSyntax WithCloseParenToken(SyntaxToken closeParenToken);
- public NameOfExpressionSyntax WithNameOfIdentifier(IdentifierNameSyntax nameOfIdentifier);
- public NameOfExpressionSyntax WithOpenParenToken(SyntaxToken openParenToken);
}
public sealed class UsingDirectiveSyntax : CSharpSyntaxNode {
+ public SyntaxToken StaticKeyword { get; }
- public UsingDirectiveSyntax Update(SyntaxToken usingKeyword, NameEqualsSyntax alias, NameSyntax name, SyntaxToken semicolonToken);
+ public UsingDirectiveSyntax Update(SyntaxToken usingKeyword, SyntaxToken staticKeyword, NameEqualsSyntax alias, NameSyntax name, SyntaxToken semicolonToken);
+ public UsingDirectiveSyntax WithStaticKeyword(SyntaxToken staticKeyword);
}
}
}
assembly Microsoft.CodeAnalysis.VisualBasic {
namespace Microsoft.CodeAnalysis {
public sealed class VisualBasicExtensions {
+ public static bool Any<TNode>(this SeparatedSyntaxList<TNode> list, SyntaxKind kind) where TNode : SyntaxNode;
+ public static bool Any<TNode>(this SyntaxList<TNode> list, SyntaxKind kind) where TNode : SyntaxNode;
+ public static int IndexOf(this SyntaxTokenList list, SyntaxKind kind);
+ public static int IndexOf(this SyntaxTriviaList list, SyntaxKind kind);
+ public static int IndexOf<TNode>(this SeparatedSyntaxList<TNode> list, SyntaxKind kind) where TNode : SyntaxNode;
+ public static int IndexOf<TNode>(this SyntaxList<TNode> list, SyntaxKind kind) where TNode : SyntaxNode;
}
}
namespace Microsoft.CodeAnalysis.VisualBasic {
public enum LanguageVersion {
- Experimental = 2147483647,
}
public class SyntaxFactory {
public static SyntaxToken DecimalLiteralToken(SyntaxTriviaList leadingTrivia, string text, TypeCharacter typeSuffix, decimalDecimal value, SyntaxTriviaList trailingTrivia);
public static SyntaxToken DecimalLiteralToken(string text, TypeCharacter typeSuffix, decimalDecimal value);
public static SyntaxToken Literal(SyntaxTriviaList leading, string text, decimalDecimal value, SyntaxTriviaList trailing);
public static SyntaxToken Literal(decimalDecimal value);
public static SyntaxToken Literal(string text, decimalDecimal value);
+ public static NameOfExpressionSyntax NameOfExpression(SyntaxToken nameOfKeyword, SyntaxToken openParenToken, ExpressionSyntax argument, SyntaxToken closeParenToken);
+ public static NameOfExpressionSyntax NameOfExpression(ExpressionSyntax argument);
}
public enum SyntaxKind : ushort {
+ NameOfExpression = (ushort)779,
+ NameOfKeyword = (ushort)778,
}
public sealed class VisualBasicCompilation : Compilation {
+ public override bool ContainsSymbolsWithName(Func<string, bool> predicate, SymbolFilter filter=(SymbolFilter)(6), CancellationToken cancellationToken=null);
+ public override IEnumerable<ISymbol> GetSymbolsWithName(Func<string, bool> predicate, SymbolFilter filter=(SymbolFilter)(6), CancellationToken cancellationToken=null);
}
public sealed class VisualBasicParseOptions : ParseOptions, IEquatable<VisualBasicParseOptions> {
+ public override IReadOnlyDictionary<string, string> Features { get; }
+ protected override ParseOptions CommonWithFeatures(IEnumerable<KeyValuePair<string, string>> features);
+ public new VisualBasicParseOptions WithFeatures(IEnumerable<KeyValuePair<string, string>> features);
}
public abstract class VisualBasicSyntaxRewriter : VisualBasicSyntaxVisitor<SyntaxNode> {
+ public override SyntaxNode VisitNameOfExpression(NameOfExpressionSyntax node);
}
public abstract class VisualBasicSyntaxVisitor {
+ public virtual void VisitNameOfExpression(NameOfExpressionSyntax node);
}
public abstract class VisualBasicSyntaxVisitor<TResult> {
+ public virtual TResult VisitNameOfExpression(NameOfExpressionSyntax node);
}
}
namespace Microsoft.CodeAnalysis.VisualBasic.Syntax {
+ public sealed class NameOfExpressionSyntax : ExpressionSyntax {
+ public ExpressionSyntax Argument { get; }
+ public SyntaxToken CloseParenToken { get; }
+ public SyntaxToken NameOfKeyword { get; }
+ public SyntaxToken OpenParenToken { get; }
+ public override void Accept(VisualBasicSyntaxVisitor visitor);
+ public override TResult Accept<TResult>(VisualBasicSyntaxVisitor<TResult> visitor);
+ public NameOfExpressionSyntax Update(SyntaxToken nameOfKeyword, SyntaxToken openParenToken, ExpressionSyntax argument, SyntaxToken closeParenToken);
+ public NameOfExpressionSyntax WithArgument(ExpressionSyntax argument);
+ public NameOfExpressionSyntax WithCloseParenToken(SyntaxToken closeParenToken);
+ public NameOfExpressionSyntax WithNameOfKeyword(SyntaxToken nameOfKeyword);
+ public NameOfExpressionSyntax WithOpenParenToken(SyntaxToken openParenToken);
}
}
}
```
##New functionality
We've added some new APIs to make it easier to generate code from Code Fixes\Refactorings and some useful overloads in the SymbolFinder.
```diff
assembly Microsoft.CodeAnalysis.Workspaces {
namespace Microsoft.CodeAnalysis.CodeGeneration {
+ public enum DeclarationKind {
+ Attribute = 22,
+ Class = 2,
+ CompilationUnit = 1,
+ Constructor = 10,
+ ConversionOperator = 9,
+ CustomEvent = 17,
+ Delegate = 6,
+ Destructor = 11,
+ Enum = 5,
+ EnumMember = 15,
+ Event = 16,
+ Field = 12,
+ Indexer = 14,
+ Interface = 4,
+ LambdaExpression = 23,
+ LocalVariable = 21,
+ Method = 7,
+ Namespace = 18,
+ NamespaceImport = 19,
+ None = 0,
+ Operator = 8,
+ Parameter = 20,
+ Property = 13,
+ Struct = 3,
}
public struct DeclarationModifiers : IEquatable<DeclarationModifiers> {
+ public bool Equals(DeclarationModifiers modifiers);
+ public override bool Equals(object obj);
+ public override int GetHashCode();
+ public static bool operator ==(DeclarationModifiers left, DeclarationModifiers right);
+ public static bool operator !=(DeclarationModifiers left, DeclarationModifiers right);
+ public override string ToString();
}
+ public class SymbolEditor {
+ public SymbolEditor(Document document);
+ public SymbolEditor(Solution solution);
+ public Solution CurrentSolution { get; }
+ public Solution OriginalSolution { get; }
+ public Task<ISymbol> EditAllDeclarationsAsync(ISymbol symbol, Func<SyntaxNode, SyntaxGenerator, SyntaxNode> declarationEditor, CancellationToken cancellationToken=null);
+ public Task<ISymbol> EditOneDeclarationAsync(ISymbol symbol, ISymbol member, Func<SyntaxNode, SyntaxGenerator, SyntaxNode> declarationEditor, CancellationToken cancellationToken=null);
+ public Task<ISymbol> EditOneDeclarationAsync(ISymbol symbol, Location location, Func<SyntaxNode, SyntaxGenerator, SyntaxNode> declarationEditor, CancellationToken cancellationToken=null);
+ public Task<ISymbol> EditOneDeclarationAsync(ISymbol symbol, Func<SyntaxNode, SyntaxGenerator, SyntaxNode> declarationEditor, CancellationToken cancellationToken=null);
+ public IEnumerable<Document> GetChangedDocuments();
+ public Task<ISymbol> GetCurrentSymbolAsync(ISymbol symbol, CancellationToken cancellationToken=null);
}
public abstract class SyntaxGenerator : ILanguageService {
- protected static DeclarationModifiers constructorModifers;
- protected static DeclarationModifiers fieldModifiers;
- protected static DeclarationModifiers indexerModifiers;
- protected static DeclarationModifiers methodModifiers;
- protected static DeclarationModifiers propertyModifiers;
- protected static DeclarationModifiers typeModifiers;
+ public static SyntaxRemoveOptions DefaultRemoveOptions;
public abstract SyntaxNode AddAttributes(SyntaxNode declaration, IEnumerable<SyntaxNode> attributes);
+ public SyntaxNode AddMembers(SyntaxNode declaration, params SyntaxNode[] members);
+ public SyntaxNode AddMembers(SyntaxNode declaration, IEnumerable<SyntaxNode> members);
+ public SyntaxNode AddNamespaceImports(SyntaxNode declaration, params SyntaxNode[] imports);
+ public SyntaxNode AddNamespaceImports(SyntaxNode declaration, IEnumerable<SyntaxNode> imports);
+ public SyntaxNode AddParameters(SyntaxNode declaration, IEnumerable<SyntaxNode> parameters);
public SyntaxNode AddReturnAttributes(SyntaxNode methodDeclarationdeclaration, params SyntaxNode[] attributes);
public abstract SyntaxNode AddReturnAttributes(SyntaxNode methodDeclarationdeclaration, IEnumerable<SyntaxNode> attributes);
- public SyntaxNode AsExpression(SyntaxNode expression, ITypeSymbol type);
- public abstract SyntaxNode AsExpression(SyntaxNode expression, SyntaxNode type);
+ protected IEnumerable<TNode> ClearTrivia<TNode>(IEnumerable<TNode> nodes) where TNode : SyntaxNode;
+ protected abstract TNode ClearTrivia<TNode>(TNode node) where TNode : SyntaxNode;
public abstract SyntaxNode CompilationUnit(IEnumerable<SyntaxNode> declarations=null);
+ public SyntaxNode CustomEventDeclaration(IEventSymbol symbol, IEnumerable<SyntaxNode> addAccessorStatements=null, IEnumerable<SyntaxNode> removeAccessorStatements=null);
+ public abstract SyntaxNode CustomEventDeclaration(string name, SyntaxNode type, Accessibility accessibility=(Accessibility)(0), DeclarationModifiers modifiers=null, IEnumerable<SyntaxNode> parameters=null, IEnumerable<SyntaxNode> addAccessorStatements=null, IEnumerable<SyntaxNode> removeAccessorStatements=null);
+ public abstract SyntaxNode DelegateDeclaration(string name, IEnumerable<SyntaxNode> parameters=null, IEnumerable<string> typeParameters=null, SyntaxNode returnType=null, Accessibility accessibility=(Accessibility)(0), DeclarationModifiers modifiers=null);
+ public abstract SyntaxNode EnumDeclaration(string name, Accessibility accessibility=(Accessibility)(0), DeclarationModifiers modifiers=null, IEnumerable<SyntaxNode> members=null);
- public abstract SyntaxNode EnumDeclaration(string name, Accessibility accessibility=(Accessibility)(0), IEnumerable<SyntaxNode> members=null);
+ public SyntaxNode EventDeclaration(IEventSymbol symbol);
+ public abstract SyntaxNode EventDeclaration(string name, SyntaxNode type, Accessibility accessibility=(Accessibility)(0), DeclarationModifiers modifiers=null);
+ public SyntaxNode FieldDeclaration(IFieldSymbol field);
public SyntaxNode FieldDeclaration(IFieldSymbol field, SyntaxNode initializer=null);
+ public abstract Accessibility GetAccessibility(SyntaxNode declaration);
+ public abstract IReadOnlyList<SyntaxNode> GetAttributes(SyntaxNode declaration);
+ public SyntaxNode GetDeclaration(SyntaxNode node);
+ public SyntaxNode GetDeclaration(SyntaxNode node, DeclarationKind kind);
+ public abstract DeclarationKind GetDeclarationKind(SyntaxNode declaration);
+ public abstract SyntaxNode GetExpression(SyntaxNode declaration);
+ public static SyntaxGenerator GetGenerator(Document document);
+ public abstract IReadOnlyList<SyntaxNode> GetGetAccessorStatements(SyntaxNode declaration);
+ public abstract IReadOnlyList<SyntaxNode> GetMembers(SyntaxNode declaration);
+ public abstract DeclarationModifiers GetModifiers(SyntaxNode declaration);
+ public abstract string GetName(SyntaxNode declaration);
+ public abstract IReadOnlyList<SyntaxNode> GetNamespaceImports(SyntaxNode declaration);
+ public abstract IReadOnlyList<SyntaxNode> GetParameters(SyntaxNode declaration);
+ public abstract IReadOnlyList<SyntaxNode> GetReturnAttributes(SyntaxNode declaration);
+ public abstract IReadOnlyList<SyntaxNode> GetSetAccessorStatements(SyntaxNode declaration);
+ public abstract IReadOnlyList<SyntaxNode> GetStatements(SyntaxNode declaration);
+ public abstract SyntaxNode GetType(SyntaxNode declaration);
public SyntaxNode IndexerDeclaration(IPropertySymbol indexer, IEnumerable<SyntaxNode> getterStatementsgetAccessorStatements=null, IEnumerable<SyntaxNode> setterStatementssetAccessorStatements=null);
public abstract SyntaxNode IndexerDeclaration(IEnumerable<SyntaxNode> parameters, SyntaxNode type, Accessibility accessibility=(Accessibility)(0), DeclarationModifiers modifiers=null, IEnumerable<SyntaxNode> getterStatementsgetAccessorStatements=null, IEnumerable<SyntaxNode> setterStatementssetAccessorStatements=null);
+ public SyntaxNode InsertAttributes(SyntaxNode declaration, int index, params SyntaxNode[] attributes);
+ public abstract SyntaxNode InsertAttributes(SyntaxNode declaration, int index, IEnumerable<SyntaxNode> attributes);
+ public SyntaxNode InsertMembers(SyntaxNode declaration, int index, params SyntaxNode[] members);
+ public abstract SyntaxNode InsertMembers(SyntaxNode declaration, int index, IEnumerable<SyntaxNode> members);
+ public SyntaxNode InsertNamespaceImports(SyntaxNode declaration, int index, params SyntaxNode[] imports);
+ public abstract SyntaxNode InsertNamespaceImports(SyntaxNode declaration, int index, IEnumerable<SyntaxNode> imports);
+ public abstract SyntaxNode InsertParameters(SyntaxNode declaration, int index, IEnumerable<SyntaxNode> parameters);
+ public SyntaxNode InsertReturnAttributes(SyntaxNode declaration, int index, params SyntaxNode[] attributes);
+ public abstract SyntaxNode InsertReturnAttributes(SyntaxNode declaration, int index, IEnumerable<SyntaxNode> attributes);
- public SyntaxNode IsExpression(SyntaxNode expression, ITypeSymbol type);
- public abstract SyntaxNode IsExpression(SyntaxNode expression, SyntaxNode type);
+ public SyntaxNode IsTypeExpression(SyntaxNode expression, ITypeSymbol type);
+ public abstract SyntaxNode IsTypeExpression(SyntaxNode expression, SyntaxNode type);
public abstract SyntaxNode MemberAccessExpression(SyntaxNode expression, SyntaxNode simpleNamememberName);
public SyntaxNode MemberAccessExpression(SyntaxNode expression, string identifermemberName);
+ protected static SyntaxNode PreserveTrivia<TNode>(TNode node, Func<TNode, SyntaxNode> nodeChanger) where TNode : SyntaxNode;
public SyntaxNode PropertyDeclaration(IPropertySymbol property, IEnumerable<SyntaxNode> getterStatementsgetAccessorStatements=null, IEnumerable<SyntaxNode> setterStatementssetAccessorStatements=null);
public abstract SyntaxNode PropertyDeclaration(string name, SyntaxNode type, Accessibility accessibility=(Accessibility)(0), DeclarationModifiers modifiers=null, IEnumerable<SyntaxNode> getterStatementsgetAccessorStatements=null, IEnumerable<SyntaxNode> setterStatementssetAccessorStatements=null);
+ public abstract SyntaxNode RemoveAllAttributes(SyntaxNode declaration);
+ public abstract SyntaxNode RemoveAttributes(SyntaxNode declaration, IEnumerable<SyntaxNode> attributes);
+ public SyntaxNode RemoveMembers(SyntaxNode declaration, params SyntaxNode[] members);
+ public SyntaxNode RemoveMembers(SyntaxNode declaration, IEnumerable<SyntaxNode> members);
+ public SyntaxNode RemoveNamespaceImports(SyntaxNode declaration, params SyntaxNode[] imports);
+ public SyntaxNode RemoveNamespaceImports(SyntaxNode declaration, IEnumerable<SyntaxNode> imports);
+ public SyntaxNode RemoveParameters(SyntaxNode declaration, IEnumerable<SyntaxNode> parameters);
+ public abstract SyntaxNode RemoveReturnAttributes(SyntaxNode declaration, IEnumerable<SyntaxNode> attributes);
+ protected static SyntaxNode ReplaceWithTrivia(SyntaxNode root, SyntaxNode original, SyntaxNode replacement);
+ protected static SyntaxNode ReplaceWithTrivia(SyntaxNode root, SyntaxToken original, SyntaxToken replacement);
+ protected static SyntaxNode ReplaceWithTrivia<TNode>(SyntaxNode root, TNode original, Func<TNode, SyntaxNode> replacer) where TNode : SyntaxNode;
+ public SyntaxNode TryCastExpression(SyntaxNode expression, ITypeSymbol type);
+ public abstract SyntaxNode TryCastExpression(SyntaxNode expression, SyntaxNode type);
+ public SyntaxNode ValueReturningLambdaExpression(SyntaxNode expression);
+ public SyntaxNode ValueReturningLambdaExpression(IEnumerable<SyntaxNode> statements);
+ public SyntaxNode VoidReturningLambdaExpression(SyntaxNode expression);
+ public SyntaxNode VoidReturningLambdaExpression(IEnumerable<SyntaxNode> statements);
+ public abstract SyntaxNode WithAccessibility(SyntaxNode declaration, Accessibility accessibility);
+ public abstract SyntaxNode WithExpression(SyntaxNode declaration, SyntaxNode expression);
+ public abstract SyntaxNode WithGetAccessorStatements(SyntaxNode declaration, IEnumerable<SyntaxNode> statements);
+ public abstract SyntaxNode WithModifiers(SyntaxNode declaration, DeclarationModifiers modifiers);
+ public abstract SyntaxNode WithName(SyntaxNode declaration, string name);
+ public abstract SyntaxNode WithSetAccessorStatements(SyntaxNode declaration, IEnumerable<SyntaxNode> statements);
+ public abstract SyntaxNode WithStatements(SyntaxNode declaration, IEnumerable<SyntaxNode> statements);
+ public abstract SyntaxNode WithType(SyntaxNode declaration, SyntaxNode type);
public abstract SyntaxNode WithTypeParameters(SyntaxNode declaration, IEnumerable<string> typeParameterNamestypeParameters);
public SyntaxNode WithTypeParameters(SyntaxNode declaration, params string[] typeParameterNamestypeParameters);
}
}
namespace Microsoft.CodeAnalysis.FindSymbols {
public static class SymbolFinder {
+ public static Task<IEnumerable<ISymbol>> FindDeclarationsAsync(Project project, string name, bool ignoreCase, SymbolFilter filter, CancellationToken cancellationToken=null);
+ public static Task<IEnumerable<ISymbol>> FindSourceDeclarationsAsync(Project project, Func<string, bool> predicate, SymbolFilter filter, CancellationToken cancellationToken=null);
+ public static Task<IEnumerable<ISymbol>> FindSourceDeclarationsAsync(Project project, string name, bool ignoreCase, SymbolFilter filter, CancellationToken cancellationToken=null);
+ public static Task<IEnumerable<ISymbol>> FindSourceDeclarationsAsync(Solution solution, Func<string, bool> predicate, SymbolFilter filter, CancellationToken cancellationToken=null);
+ public static Task<IEnumerable<ISymbol>> FindSourceDeclarationsAsync(Solution solution, string name, bool ignoreCase, SymbolFilter filter, CancellationToken cancellationToken=null);
}
}
}
```
## Miscellaneous
Changes that hide some APIs that shouldn't have been public or weren't fully thought through and changes that add some more useful overloads.
```diff
assembly Microsoft.CodeAnalysis {
namespace Microsoft.CodeAnalysis {
public abstract class Compilation {
+ public abstract bool ContainsSymbolsWithName(Func<string, bool> predicate, SymbolFilter filter=(SymbolFilter)(6), CancellationToken cancellationToken=null);
+ public EmitDifferenceResult EmitDifference(EmitBaseline baseline, IEnumerable<SemanticEdit> edits, Func<ISymbol, bool> isAddedSymbol, Stream metadataStream, Stream ilStream, Stream pdbStream, ICollection<MethodDefinitionHandle> updatedMethods, CancellationToken cancellationToken=null);
+ public abstract IEnumerable<ISymbol> GetSymbolsWithName(Func<string, bool> predicate, SymbolFilter filter=(SymbolFilter)(6), CancellationToken cancellationToken=null);
}
public abstract class ParseOptions {
+ public abstract IReadOnlyDictionary<string, string> Features { get; }
+ protected abstract ParseOptions CommonWithFeatures(IEnumerable<KeyValuePair<string, string>> features);
+ public ParseOptions WithFeatures(IEnumerable<KeyValuePair<string, string>> features);
}
public enum SymbolDisplayExtensionMethodStyle {
+ Default = 0,
StaticMethod = 02,
}
+ public enum SymbolFilter {
+ All = 7,
+ Member = 4,
+ Namespace = 1,
+ None = 0,
+ Type = 2,
+ TypeAndMember = 6,
}
public static class SyntaxNodeExtensions {
- public static TRoot ReplaceNode<TRoot, TNode>(this TRoot root, TNode oldNode, IEnumerable<TNode> newNodes) where TRoot : SyntaxNode where TNode : SyntaxNode;
- public static TRoot ReplaceNode<TRoot, TNode>(this TRoot root, TNode oldNode, TNode newNode) where TRoot : SyntaxNode where TNode : SyntaxNode;
+ public static TRoot ReplaceNode<TRoot>(this TRoot root, SyntaxNode oldNode, SyntaxNode newNode) where TRoot : SyntaxNode;
+ public static TRoot ReplaceNode<TRoot>(this TRoot root, SyntaxNode oldNode, IEnumerable<SyntaxNode> newNodes) where TRoot : SyntaxNode;
}
public enum SyntaxRemoveOptions {
+ AddElasticMarker = 32,
}
}
assembly Microsoft.CodeAnalysis.CSharp.Features {
- namespace Microsoft.CodeAnalysis.CSharp.CodeStyle {
- public static class CSharpCodeStyleOptions {
- public static readonly Option<bool> UseVarWhenDeclaringLocals;
}
}
}
assembly Microsoft.CodeAnalysis.EditorFeatures {
+ namespace Microsoft.CodeAnalysis.Editor.Peek {
+ public interface IPeekableItemFactory {
+ Task<IEnumerable<IPeekableItem>> GetPeekableItemsAsync(ISymbol symbol, Project project, IPeekResultFactory peekResultFactory, CancellationToken cancellationToken);
}
}
}
assembly Microsoft.CodeAnalysis.Workspaces {
namespace Microsoft.CodeAnalysis {
public class CustomWorkspace : Workspace {
+ public override bool CanApplyChange(ApplyChangesKind feature);
}
public sealed class DocumentInfo {
+ public DocumentInfo WithDefaultEncoding(Encoding encoding);
+ public DocumentInfo WithId(DocumentId id);
+ public DocumentInfo WithName(string name);
}
namespace Microsoft.CodeAnalysis.Differencing {
- public abstract class LongestCommonSubsequence<TSequence> {
- protected LongestCommonSubsequence();
- protected double ComputeDistance(TSequence sequenceA, int lengthA, TSequence sequenceB, int lengthB);
- protected IEnumerable<LongestCommonSubsequence<TSequence>.Edit> GetEdits(TSequence sequenceA, int lengthA, TSequence sequenceB, int lengthB);
- protected IEnumerable<KeyValuePair<int, int>> GetMatchingPairs(TSequence sequenceA, int lengthA, TSequence sequenceB, int lengthB);
- protected abstract bool ItemsEqual(TSequence sequenceA, int indexA, TSequence sequenceB, int indexB);
- protected struct Edit {
- public readonly EditKind Kind;
- public readonly int IndexA;
- public readonly int IndexB;
}
}
- public sealed class LongestCommonSubstring {
- public static double ComputeDistance(string s1, string s2);
- protected override bool ItemsEqual(string sequenceA, int indexA, string sequenceB, int indexB);
}
public abstract class TreeComparer<TNode> {
public abstract double GetDistance(TNode leftoldNode, TNode rightnewNode);
protected internal abstract bool TreesEqual(TNode leftoldNode, TNode rightnewNode);
}
}
namespace Microsoft.CodeAnalysis.Host {
public abstract class HostLanguageServices {
+ public TLanguageService GetRequiredService<TLanguageService>() where TLanguageService : ILanguageService;
}
public abstract class HostWorkspaceServices {
+ public TWorkspaceService GetRequiredService<TWorkspaceService>() where TWorkspaceService : IWorkspaceService;
}
}
namespace Microsoft.CodeAnalysis.Host.Mef {
public static class ServiceLayer {
+ public const string Desktop = "Desktop";
}
}
}
assembly Microsoft.CodeAnalysis.Workspaces.Desktop {
namespace Microsoft.CodeAnalysis {
public static class CommandLineProject {
- public static ProjectInfo CreateProjectInfo(Workspace workspace, string projectName, string language, IEnumerable<string> commandLineArgs, string projectDirectory);
- public static ProjectInfo CreateProjectInfo(Workspace workspace, string projectName, string language, string commandLine, string baseDirectory);
+ public static ProjectInfo CreateProjectInfo(string projectName, string language, IEnumerable<string> commandLineArgs, string projectDirectory, Workspace workspace=null);
+ public static ProjectInfo CreateProjectInfo(string projectName, string language, string commandLine, string baseDirectory, Workspace workspace=null);
}
}
namespace Microsoft.CodeAnalysis.Host.Mef {
+ public static class DesktopMefHostServices {
+ public static MefHostServices DefaultServices { get; }
}
}
namespace Microsoft.CodeAnalysis.MSBuild {
public sealed class MSBuildWorkspace : Workspace {
- protected override void AddAdditionalDocument(DocumentId documentId, IEnumerable<string> folders, string name, SourceText text=null);
- protected override void AddDocument(DocumentId documentId, IEnumerable<string> folders, string name, SourceText text=null, SourceCodeKind sourceCodeKind=(SourceCodeKind)(0));
+ protected override void AddDocument(DocumentInfo info, SourceText text);
- protected override void ChangedAdditionalDocumentText(DocumentId documentId, SourceText text);
}
}
}
```
| #API changes between VS 2015 Preview and VS 2015 CTP5
##Diagnostics and CodeFix API Changes
We have made some changes to the APIs to better support localization of the various strings that can be returned by analyzers. There are some useful overloads for some common cases that have been added. The `Microsoft.CodeAnalysis.Diagnostics.Internal` namespace and all types there have been made internal as those APIs were just an implementation detail.
```diff
assembly Microsoft.CodeAnalysis {
namespace Microsoft.CodeAnalysis {
public abstract class Diagnostic : IEquatable<Diagnostic>, IFormattable {
- public abstract string Category { get; }
- public abstract IReadOnlyList<string> CustomTags { get; }
- public abstract DiagnosticSeverity DefaultSeverity { get; }
+ public virtual DiagnosticSeverity DefaultSeverity { get; }
- public abstract string Description { get; }
+ public abstract DiagnosticDescriptor Descriptor { get; }
- public abstract string HelpLink { get; }
- public abstract bool IsEnabledByDefault { get; }
+ public static Diagnostic Create(string id, string category, LocalizableString message, DiagnosticSeverity severity, DiagnosticSeverity defaultSeverity, bool isEnabledByDefault, int warningLevel, LocalizableString title=null, LocalizableString description=null, string helpLink=null, Location location=null, IEnumerable<Location> additionalLocations=null, IEnumerable<string> customTags=null);
- public static Diagnostic Create(string id, string category, string message, DiagnosticSeverity severity, DiagnosticSeverity defaultSeverity, bool isEnabledByDefault, int warningLevel, string description=null, string helpLink=null, Location location=null, IEnumerable<Location> additionalLocations=null, IEnumerable<string> customTags=null);
- public abstract string GetMessage(CultureInfo culture=null);
+ public abstract string GetMessage(IFormatProvider formatProvider=null);
+ string System.IFormattable.ToString(string ignored, IFormatProvider formatProvider);
}
public class DiagnosticDescriptor {
+ public DiagnosticDescriptor(string id, LocalizableString title, LocalizableString messageFormat, string category, DiagnosticSeverity defaultSeverity, bool isEnabledByDefault, LocalizableString description=null, string helpLink=null, params string[] customTags);
- public string Description { get; }
+ public LocalizableString Description { get; }
- public string MessageFormat { get; }
+ public LocalizableString MessageFormat { get; }
- public string Title { get; }
+ public LocalizableString Title { get; }
+ public override bool Equals(object obj);
+ public override int GetHashCode();
}
+ public sealed class LocalizableResourceString : LocalizableString {
+ public LocalizableResourceString(string nameOfLocalizableResource, ResourceManager resourceManager, Type resourceSource, params string[] formatArguments);
+ public override string ToString(IFormatProvider formatProvider);
}
+ public abstract class LocalizableString : IFormattable {
+ protected LocalizableString();
+ public static explicit operator string (LocalizableString localizableResource);
+ public static implicit operator LocalizableString (string fixedResource);
+ string System.IFormattable.ToString(string ignored, IFormatProvider formatProvider);
+ public sealed override string ToString();
+ public abstract string ToString(IFormatProvider formatProvider);
}
}
namespace Microsoft.CodeAnalysis.Diagnostics {
public struct AnalysisContext {
- public AnalysisContext(SessionStartAnalysisScope scope);
public void RegisterCodeBlockEndAction<TLanguageKindEnum>(Action<CodeBlockEndAnalysisContext> action) where TLanguageKindEnum : struct, ValueType;
public void RegisterCodeBlockStartAction<TLanguageKindEnum>(Action<CodeBlockStartAnalysisContext<TLanguageKindEnum>> action) where TLanguageKindEnum : struct, ValueType;
+ public void RegisterSymbolAction(Action<SymbolAnalysisContext> action, ImmutableArray<SymbolKind> symbolKinds);
+ public void RegisterSyntaxNodeAction<TLanguageKindEnum>(Action<SyntaxNodeAnalysisContext> action, ImmutableArray<TLanguageKindEnum> syntaxKinds) where TLanguageKindEnum : struct, ValueType;
public void RegisterSyntaxNodeAction<TLanguageKindEnum>(Action<SyntaxNodeAnalysisContext> action, params TLanguageKindEnum[] syntaxKinds) where TLanguageKindEnum : struct, ValueType;
}
public class AnalyzerOptions {
- public AnalyzerOptions(IEnumerable<AdditionalStream> additionalStreams, IDictionary<string, string> globalOptions, CultureInfo culture=null);
+ public AnalyzerOptions(ImmutableArray<AdditionalStream> additionalStreams, ImmutableDictionary<string, string> globalOptions, CultureInfo culture=null);
+ public AnalyzerOptions WithAdditionalStreams(ImmutableArray<AdditionalStream> additionalStreams);
+ public AnalyzerOptions WithCulture(CultureInfo culture);
+ public AnalyzerOptions WithGlobalOptions(ImmutableDictionary<string, string> globalOptions);
}
public struct CodeBlockStartAnalysisContext<TLanguageKindEnum> where TLanguageKindEnum : struct, ValueType {
+ public void RegisterSyntaxNodeAction(Action<SyntaxNodeAnalysisContext> action, ImmutableArray<TLanguageKindEnum> syntaxKinds);
}
public struct CompilationEndAnalysisContext {
- public CompilationEndAnalysisContext(Compilation compilation, AnalyzerOptions options, Action<Diagnostic> reportDiagnostic, CancellationToken cancellationToken);
}
public struct CompilationStartAnalysisContext {
- public CompilationStartAnalysisContext(CompilationStartAnalysisScope scope, Compilation compilation, AnalyzerOptions options, CancellationToken cancellationToken);
public void RegisterCodeBlockEndAction<TLanguageKindEnum>(Action<CodeBlockEndAnalysisContext> action) where TLanguageKindEnum : struct, ValueType;
public void RegisterCodeBlockStartAction<TLanguageKindEnum>(Action<CodeBlockStartAnalysisContext<TLanguageKindEnum>> action) where TLanguageKindEnum : struct, ValueType;
+ public void RegisterSymbolAction(Action<SymbolAnalysisContext> action, ImmutableArray<SymbolKind> symbolKinds);
+ public void RegisterSyntaxNodeAction<TLanguageKindEnum>(Action<SyntaxNodeAnalysisContext> action, ImmutableArray<TLanguageKindEnum> syntaxKinds) where TLanguageKindEnum : struct, ValueType;
public void RegisterSyntaxNodeAction<TLanguageKindEnum>(Action<SyntaxNodeAnalysisContext> action, params TLanguageKindEnum[] syntaxKinds) where TLanguageKindEnum : struct, ValueType;
}
public struct SemanticModelAnalysisContext {
- public SemanticModelAnalysisContext(SemanticModel semanticModel, AnalyzerOptions options, Action<Diagnostic> reportDiagnostic, CancellationToken cancellationToken);
}
public struct SymbolAnalysisContext {
- public SymbolAnalysisContext(ISymbol symbol, Compilation compilation, AnalyzerOptions options, Action<Diagnostic> reportDiagnostic, CancellationToken cancellationToken);
}
public struct SyntaxNodeAnalysisContext {
- public SyntaxNodeAnalysisContext(SyntaxNode node, SemanticModel semanticModel, AnalyzerOptions options, Action<Diagnostic> reportDiagnostic, CancellationToken cancellationToken);
}
public struct SyntaxTreeAnalysisContext {
- public SyntaxTreeAnalysisContext(SyntaxTree tree, AnalyzerOptions options, Action<Diagnostic> reportDiagnostic, CancellationToken cancellationToken);
}
}
}
assembly Microsoft.CodeAnalysis.Desktop {
namespace Microsoft.CodeAnalysis {
public class RuleSet {
- public RuleSet(string filePath, ReportDiagnostic generalOption, IDictionary<string, ReportDiagnostic> specificOptions, IEnumerable<RuleSetInclude> includes);
+ public RuleSet(string filePath, ReportDiagnostic generalOption, ImmutableDictionary<string, ReportDiagnostic> specificOptions, ImmutableArray<RuleSetInclude> includes);
}
}
}
assembly Microsoft.CodeAnalysis.Workspaces {
namespace Microsoft.CodeAnalysis {
public class Project {
+ public TextDocument AddAdditionalDocument(string name, SourceText text, IEnumerable<string> folders=null);
+ public TextDocument AddAdditionalDocument(string name, string text, IEnumerable<string> folders=null);
+ public Document AddDocument(string name, SyntaxNode syntaxRoot, IEnumerable<string> folders=null);
+ public Project RemoveAdditionalDocument(DocumentId documentId);
}
public class Solution {
+ public Solution AddAdditionalDocument(DocumentId documentId, string name, string text, IEnumerable<string> folders=null, string filePath=null);
+ public Solution AddDocument(DocumentId documentId, string name, SyntaxNode syntaxRoot, IEnumerable<string> folders=null, string filePath=null, bool isGenerated=false, PreservationMode preservationMode=(PreservationMode)(0));
}
public abstract class Workspace : IDisposable {
public virtual Solution CurrentSolution { get; }
- protected virtual void AddAdditionalDocument(DocumentId documentId, IEnumerable<string> folders, string name, SourceText text=null);
+ protected virtual void AddAdditionalDocument(DocumentInfo info, SourceText text);
- protected virtual void AddDocument(DocumentId documentId, IEnumerable<string> folders, string name, SourceText text=null, SourceCodeKind sourceCodeKind=(SourceCodeKind)(0));
+ protected virtual void AddDocument(DocumentInfo info, SourceText text);
}
}
namespace Microsoft.CodeAnalysis.CodeFixes {
public struct CodeFixContext {
- public CodeFixContext(Document document, Diagnostic diagnostic, Action<CodeAction, IEnumerable<Diagnostic>> registerFix, CancellationToken cancellationToken);
+ public CodeFixContext(Document document, Diagnostic diagnostic, Action<CodeAction, ImmutableArray<Diagnostic>> registerFix, CancellationToken cancellationToken);
- public CodeFixContext(Document document, TextSpan span, IEnumerable<Diagnostic> diagnostics, Action<CodeAction, IEnumerable<Diagnostic>> registerFix, CancellationToken cancellationToken);
+ public CodeFixContext(Document document, TextSpan span, ImmutableArray<Diagnostic> diagnostics, Action<CodeAction, ImmutableArray<Diagnostic>> registerFix, CancellationToken cancellationToken);
public IEnumerable<Diagnostic>ImmutableArray<Diagnostic> Diagnostics { get; }
+ public void RegisterFix(CodeAction action, ImmutableArray<Diagnostic> diagnostics);
}
public abstract class CodeFixProvider {
- public abstract FixAllProvider GetFixAllProvider();
+ public virtual FixAllProvider GetFixAllProvider();
}
}
}
```
##Changes caused by language features
We've been continuing to work on adding\refining String Interpolation and nameof in both languages and that's changed some APIs.
```diff
assembly Microsoft.CodeAnalysis {
namespace Microsoft.CodeAnalysis {
public enum CandidateReason {
+ MemberGroup = 16,
}
}
assembly Microsoft.CodeAnalysis.CSharp {
namespace Microsoft.CodeAnalysis {
public static class CSharpExtensions {
+ public static int IndexOf(this SyntaxTokenList list, SyntaxKind kind);
+ public static int IndexOf(this SyntaxTriviaList list, SyntaxKind kind);
+ public static int IndexOf<TNode>(this SeparatedSyntaxList<TNode> list, SyntaxKind kind) where TNode : SyntaxNode;
+ public static int IndexOf<TNode>(this SyntaxList<TNode> list, SyntaxKind kind) where TNode : SyntaxNode;
}
}
namespace Microsoft.CodeAnalysis.CSharp {
public sealed class CSharpCompilation : Compilation {
+ public override bool ContainsSymbolsWithName(Func<string, bool> predicate, SymbolFilter filter=(SymbolFilter)(6), CancellationToken cancellationToken=null);
+ public override IEnumerable<ISymbol> GetSymbolsWithName(Func<string, bool> predicate, SymbolFilter filter=(SymbolFilter)(6), CancellationToken cancellationToken=null);
}
public sealed class CSharpParseOptions : ParseOptions, IEquatable<CSharpParseOptions> {
+ public override IReadOnlyDictionary<string, string> Features { get; }
+ protected override ParseOptions CommonWithFeatures(IEnumerable<KeyValuePair<string, string>> features);
+ public new CSharpParseOptions WithFeatures(IEnumerable<KeyValuePair<string, string>> features);
}
public abstract class CSharpSyntaxRewriter : CSharpSyntaxVisitor<SyntaxNode> {
- public override SyntaxNode VisitNameOfExpression(NameOfExpressionSyntax node);
}
public abstract class CSharpSyntaxVisitor {
- public virtual void VisitNameOfExpression(NameOfExpressionSyntax node);
}
public abstract class CSharpSyntaxVisitor<TResult> {
- public virtual TResult VisitNameOfExpression(NameOfExpressionSyntax node);
}
public enum LanguageVersion {
- Experimental = 2147483647,
}
public static class SyntaxFactory {
+ public static InterpolatedStringInsertSyntax InterpolatedStringInsert(ExpressionSyntax expression, SyntaxToken comma, ExpressionSyntax alignment, SyntaxToken format);
- public static InterpolatedStringInsertSyntax InterpolatedStringInsert(ExpressionSyntax expression, SyntaxToken comma, ExpressionSyntax alignment, SyntaxToken colon, SyntaxToken format);
public static SyntaxToken Literal(SyntaxTriviaList leading, string text, decimalDecimal value, SyntaxTriviaList trailing);
public static SyntaxToken Literal(decimalDecimal value);
public static SyntaxToken Literal(string text, decimalDecimal value);
- public static NameOfExpressionSyntax NameOfExpression(IdentifierNameSyntax nameOfIdentifier, ExpressionSyntax argument);
- public static NameOfExpressionSyntax NameOfExpression(IdentifierNameSyntax nameOfIdentifier, SyntaxToken openParenToken, ExpressionSyntax argument, SyntaxToken closeParenToken);
- public static NameOfExpressionSyntax NameOfExpression(string nameOfIdentifier, ExpressionSyntax argument);
+ public static UsingDirectiveSyntax UsingDirective(SyntaxToken staticKeyword, NameEqualsSyntax alias, NameSyntax name);
- public static UsingDirectiveSyntax UsingDirective(SyntaxToken usingKeyword, NameEqualsSyntax alias, NameSyntax name, SyntaxToken semicolonToken);
+ public static UsingDirectiveSyntax UsingDirective(SyntaxToken usingKeyword, SyntaxToken staticKeyword, NameEqualsSyntax alias, NameSyntax name, SyntaxToken semicolonToken);
}
public enum SyntaxKind : ushort {
- NameOfExpression = (ushort)8768,
}
}
namespace Microsoft.CodeAnalysis.CSharp.Syntax {
public sealed class InterpolatedStringInsertSyntax : CSharpSyntaxNode {
- public SyntaxToken Colon { get; }
+ public InterpolatedStringInsertSyntax Update(ExpressionSyntax expression, SyntaxToken comma, ExpressionSyntax alignment, SyntaxToken format);
- public InterpolatedStringInsertSyntax Update(ExpressionSyntax expression, SyntaxToken comma, ExpressionSyntax alignment, SyntaxToken colon, SyntaxToken format);
- public InterpolatedStringInsertSyntax WithColon(SyntaxToken colon);
}
- public sealed class NameOfExpressionSyntax : ExpressionSyntax {
- public ExpressionSyntax Argument { get; }
- public SyntaxToken CloseParenToken { get; }
- public IdentifierNameSyntax NameOfIdentifier { get; }
- public SyntaxToken OpenParenToken { get; }
- public override void Accept(CSharpSyntaxVisitor visitor);
- public override TResult Accept<TResult>(CSharpSyntaxVisitor<TResult> visitor);
- public NameOfExpressionSyntax Update(IdentifierNameSyntax nameOfIdentifier, SyntaxToken openParenToken, ExpressionSyntax argument, SyntaxToken closeParenToken);
- public NameOfExpressionSyntax WithArgument(ExpressionSyntax argument);
- public NameOfExpressionSyntax WithCloseParenToken(SyntaxToken closeParenToken);
- public NameOfExpressionSyntax WithNameOfIdentifier(IdentifierNameSyntax nameOfIdentifier);
- public NameOfExpressionSyntax WithOpenParenToken(SyntaxToken openParenToken);
}
public sealed class UsingDirectiveSyntax : CSharpSyntaxNode {
+ public SyntaxToken StaticKeyword { get; }
- public UsingDirectiveSyntax Update(SyntaxToken usingKeyword, NameEqualsSyntax alias, NameSyntax name, SyntaxToken semicolonToken);
+ public UsingDirectiveSyntax Update(SyntaxToken usingKeyword, SyntaxToken staticKeyword, NameEqualsSyntax alias, NameSyntax name, SyntaxToken semicolonToken);
+ public UsingDirectiveSyntax WithStaticKeyword(SyntaxToken staticKeyword);
}
}
}
assembly Microsoft.CodeAnalysis.VisualBasic {
namespace Microsoft.CodeAnalysis {
public sealed class VisualBasicExtensions {
+ public static bool Any<TNode>(this SeparatedSyntaxList<TNode> list, SyntaxKind kind) where TNode : SyntaxNode;
+ public static bool Any<TNode>(this SyntaxList<TNode> list, SyntaxKind kind) where TNode : SyntaxNode;
+ public static int IndexOf(this SyntaxTokenList list, SyntaxKind kind);
+ public static int IndexOf(this SyntaxTriviaList list, SyntaxKind kind);
+ public static int IndexOf<TNode>(this SeparatedSyntaxList<TNode> list, SyntaxKind kind) where TNode : SyntaxNode;
+ public static int IndexOf<TNode>(this SyntaxList<TNode> list, SyntaxKind kind) where TNode : SyntaxNode;
}
}
namespace Microsoft.CodeAnalysis.VisualBasic {
public enum LanguageVersion {
- Experimental = 2147483647,
}
public class SyntaxFactory {
public static SyntaxToken DecimalLiteralToken(SyntaxTriviaList leadingTrivia, string text, TypeCharacter typeSuffix, decimalDecimal value, SyntaxTriviaList trailingTrivia);
public static SyntaxToken DecimalLiteralToken(string text, TypeCharacter typeSuffix, decimalDecimal value);
public static SyntaxToken Literal(SyntaxTriviaList leading, string text, decimalDecimal value, SyntaxTriviaList trailing);
public static SyntaxToken Literal(decimalDecimal value);
public static SyntaxToken Literal(string text, decimalDecimal value);
+ public static NameOfExpressionSyntax NameOfExpression(SyntaxToken nameOfKeyword, SyntaxToken openParenToken, ExpressionSyntax argument, SyntaxToken closeParenToken);
+ public static NameOfExpressionSyntax NameOfExpression(ExpressionSyntax argument);
}
public enum SyntaxKind : ushort {
+ NameOfExpression = (ushort)779,
+ NameOfKeyword = (ushort)778,
}
public sealed class VisualBasicCompilation : Compilation {
+ public override bool ContainsSymbolsWithName(Func<string, bool> predicate, SymbolFilter filter=(SymbolFilter)(6), CancellationToken cancellationToken=null);
+ public override IEnumerable<ISymbol> GetSymbolsWithName(Func<string, bool> predicate, SymbolFilter filter=(SymbolFilter)(6), CancellationToken cancellationToken=null);
}
public sealed class VisualBasicParseOptions : ParseOptions, IEquatable<VisualBasicParseOptions> {
+ public override IReadOnlyDictionary<string, string> Features { get; }
+ protected override ParseOptions CommonWithFeatures(IEnumerable<KeyValuePair<string, string>> features);
+ public new VisualBasicParseOptions WithFeatures(IEnumerable<KeyValuePair<string, string>> features);
}
public abstract class VisualBasicSyntaxRewriter : VisualBasicSyntaxVisitor<SyntaxNode> {
+ public override SyntaxNode VisitNameOfExpression(NameOfExpressionSyntax node);
}
public abstract class VisualBasicSyntaxVisitor {
+ public virtual void VisitNameOfExpression(NameOfExpressionSyntax node);
}
public abstract class VisualBasicSyntaxVisitor<TResult> {
+ public virtual TResult VisitNameOfExpression(NameOfExpressionSyntax node);
}
}
namespace Microsoft.CodeAnalysis.VisualBasic.Syntax {
+ public sealed class NameOfExpressionSyntax : ExpressionSyntax {
+ public ExpressionSyntax Argument { get; }
+ public SyntaxToken CloseParenToken { get; }
+ public SyntaxToken NameOfKeyword { get; }
+ public SyntaxToken OpenParenToken { get; }
+ public override void Accept(VisualBasicSyntaxVisitor visitor);
+ public override TResult Accept<TResult>(VisualBasicSyntaxVisitor<TResult> visitor);
+ public NameOfExpressionSyntax Update(SyntaxToken nameOfKeyword, SyntaxToken openParenToken, ExpressionSyntax argument, SyntaxToken closeParenToken);
+ public NameOfExpressionSyntax WithArgument(ExpressionSyntax argument);
+ public NameOfExpressionSyntax WithCloseParenToken(SyntaxToken closeParenToken);
+ public NameOfExpressionSyntax WithNameOfKeyword(SyntaxToken nameOfKeyword);
+ public NameOfExpressionSyntax WithOpenParenToken(SyntaxToken openParenToken);
}
}
}
```
##New functionality
We've added some new APIs to make it easier to generate code from Code Fixes\Refactorings and some useful overloads in the SymbolFinder.
```diff
assembly Microsoft.CodeAnalysis.Workspaces {
namespace Microsoft.CodeAnalysis.CodeGeneration {
+ public enum DeclarationKind {
+ Attribute = 22,
+ Class = 2,
+ CompilationUnit = 1,
+ Constructor = 10,
+ ConversionOperator = 9,
+ CustomEvent = 17,
+ Delegate = 6,
+ Destructor = 11,
+ Enum = 5,
+ EnumMember = 15,
+ Event = 16,
+ Field = 12,
+ Indexer = 14,
+ Interface = 4,
+ LambdaExpression = 23,
+ LocalVariable = 21,
+ Method = 7,
+ Namespace = 18,
+ NamespaceImport = 19,
+ None = 0,
+ Operator = 8,
+ Parameter = 20,
+ Property = 13,
+ Struct = 3,
}
public struct DeclarationModifiers : IEquatable<DeclarationModifiers> {
+ public bool Equals(DeclarationModifiers modifiers);
+ public override bool Equals(object obj);
+ public override int GetHashCode();
+ public static bool operator ==(DeclarationModifiers left, DeclarationModifiers right);
+ public static bool operator !=(DeclarationModifiers left, DeclarationModifiers right);
+ public override string ToString();
}
+ public class SymbolEditor {
+ public SymbolEditor(Document document);
+ public SymbolEditor(Solution solution);
+ public Solution CurrentSolution { get; }
+ public Solution OriginalSolution { get; }
+ public Task<ISymbol> EditAllDeclarationsAsync(ISymbol symbol, Func<SyntaxNode, SyntaxGenerator, SyntaxNode> declarationEditor, CancellationToken cancellationToken=null);
+ public Task<ISymbol> EditOneDeclarationAsync(ISymbol symbol, ISymbol member, Func<SyntaxNode, SyntaxGenerator, SyntaxNode> declarationEditor, CancellationToken cancellationToken=null);
+ public Task<ISymbol> EditOneDeclarationAsync(ISymbol symbol, Location location, Func<SyntaxNode, SyntaxGenerator, SyntaxNode> declarationEditor, CancellationToken cancellationToken=null);
+ public Task<ISymbol> EditOneDeclarationAsync(ISymbol symbol, Func<SyntaxNode, SyntaxGenerator, SyntaxNode> declarationEditor, CancellationToken cancellationToken=null);
+ public IEnumerable<Document> GetChangedDocuments();
+ public Task<ISymbol> GetCurrentSymbolAsync(ISymbol symbol, CancellationToken cancellationToken=null);
}
public abstract class SyntaxGenerator : ILanguageService {
- protected static DeclarationModifiers constructorModifers;
- protected static DeclarationModifiers fieldModifiers;
- protected static DeclarationModifiers indexerModifiers;
- protected static DeclarationModifiers methodModifiers;
- protected static DeclarationModifiers propertyModifiers;
- protected static DeclarationModifiers typeModifiers;
+ public static SyntaxRemoveOptions DefaultRemoveOptions;
public abstract SyntaxNode AddAttributes(SyntaxNode declaration, IEnumerable<SyntaxNode> attributes);
+ public SyntaxNode AddMembers(SyntaxNode declaration, params SyntaxNode[] members);
+ public SyntaxNode AddMembers(SyntaxNode declaration, IEnumerable<SyntaxNode> members);
+ public SyntaxNode AddNamespaceImports(SyntaxNode declaration, params SyntaxNode[] imports);
+ public SyntaxNode AddNamespaceImports(SyntaxNode declaration, IEnumerable<SyntaxNode> imports);
+ public SyntaxNode AddParameters(SyntaxNode declaration, IEnumerable<SyntaxNode> parameters);
public SyntaxNode AddReturnAttributes(SyntaxNode methodDeclarationdeclaration, params SyntaxNode[] attributes);
public abstract SyntaxNode AddReturnAttributes(SyntaxNode methodDeclarationdeclaration, IEnumerable<SyntaxNode> attributes);
- public SyntaxNode AsExpression(SyntaxNode expression, ITypeSymbol type);
- public abstract SyntaxNode AsExpression(SyntaxNode expression, SyntaxNode type);
+ protected IEnumerable<TNode> ClearTrivia<TNode>(IEnumerable<TNode> nodes) where TNode : SyntaxNode;
+ protected abstract TNode ClearTrivia<TNode>(TNode node) where TNode : SyntaxNode;
public abstract SyntaxNode CompilationUnit(IEnumerable<SyntaxNode> declarations=null);
+ public SyntaxNode CustomEventDeclaration(IEventSymbol symbol, IEnumerable<SyntaxNode> addAccessorStatements=null, IEnumerable<SyntaxNode> removeAccessorStatements=null);
+ public abstract SyntaxNode CustomEventDeclaration(string name, SyntaxNode type, Accessibility accessibility=(Accessibility)(0), DeclarationModifiers modifiers=null, IEnumerable<SyntaxNode> parameters=null, IEnumerable<SyntaxNode> addAccessorStatements=null, IEnumerable<SyntaxNode> removeAccessorStatements=null);
+ public abstract SyntaxNode DelegateDeclaration(string name, IEnumerable<SyntaxNode> parameters=null, IEnumerable<string> typeParameters=null, SyntaxNode returnType=null, Accessibility accessibility=(Accessibility)(0), DeclarationModifiers modifiers=null);
+ public abstract SyntaxNode EnumDeclaration(string name, Accessibility accessibility=(Accessibility)(0), DeclarationModifiers modifiers=null, IEnumerable<SyntaxNode> members=null);
- public abstract SyntaxNode EnumDeclaration(string name, Accessibility accessibility=(Accessibility)(0), IEnumerable<SyntaxNode> members=null);
+ public SyntaxNode EventDeclaration(IEventSymbol symbol);
+ public abstract SyntaxNode EventDeclaration(string name, SyntaxNode type, Accessibility accessibility=(Accessibility)(0), DeclarationModifiers modifiers=null);
+ public SyntaxNode FieldDeclaration(IFieldSymbol field);
public SyntaxNode FieldDeclaration(IFieldSymbol field, SyntaxNode initializer=null);
+ public abstract Accessibility GetAccessibility(SyntaxNode declaration);
+ public abstract IReadOnlyList<SyntaxNode> GetAttributes(SyntaxNode declaration);
+ public SyntaxNode GetDeclaration(SyntaxNode node);
+ public SyntaxNode GetDeclaration(SyntaxNode node, DeclarationKind kind);
+ public abstract DeclarationKind GetDeclarationKind(SyntaxNode declaration);
+ public abstract SyntaxNode GetExpression(SyntaxNode declaration);
+ public static SyntaxGenerator GetGenerator(Document document);
+ public abstract IReadOnlyList<SyntaxNode> GetGetAccessorStatements(SyntaxNode declaration);
+ public abstract IReadOnlyList<SyntaxNode> GetMembers(SyntaxNode declaration);
+ public abstract DeclarationModifiers GetModifiers(SyntaxNode declaration);
+ public abstract string GetName(SyntaxNode declaration);
+ public abstract IReadOnlyList<SyntaxNode> GetNamespaceImports(SyntaxNode declaration);
+ public abstract IReadOnlyList<SyntaxNode> GetParameters(SyntaxNode declaration);
+ public abstract IReadOnlyList<SyntaxNode> GetReturnAttributes(SyntaxNode declaration);
+ public abstract IReadOnlyList<SyntaxNode> GetSetAccessorStatements(SyntaxNode declaration);
+ public abstract IReadOnlyList<SyntaxNode> GetStatements(SyntaxNode declaration);
+ public abstract SyntaxNode GetType(SyntaxNode declaration);
public SyntaxNode IndexerDeclaration(IPropertySymbol indexer, IEnumerable<SyntaxNode> getterStatementsgetAccessorStatements=null, IEnumerable<SyntaxNode> setterStatementssetAccessorStatements=null);
public abstract SyntaxNode IndexerDeclaration(IEnumerable<SyntaxNode> parameters, SyntaxNode type, Accessibility accessibility=(Accessibility)(0), DeclarationModifiers modifiers=null, IEnumerable<SyntaxNode> getterStatementsgetAccessorStatements=null, IEnumerable<SyntaxNode> setterStatementssetAccessorStatements=null);
+ public SyntaxNode InsertAttributes(SyntaxNode declaration, int index, params SyntaxNode[] attributes);
+ public abstract SyntaxNode InsertAttributes(SyntaxNode declaration, int index, IEnumerable<SyntaxNode> attributes);
+ public SyntaxNode InsertMembers(SyntaxNode declaration, int index, params SyntaxNode[] members);
+ public abstract SyntaxNode InsertMembers(SyntaxNode declaration, int index, IEnumerable<SyntaxNode> members);
+ public SyntaxNode InsertNamespaceImports(SyntaxNode declaration, int index, params SyntaxNode[] imports);
+ public abstract SyntaxNode InsertNamespaceImports(SyntaxNode declaration, int index, IEnumerable<SyntaxNode> imports);
+ public abstract SyntaxNode InsertParameters(SyntaxNode declaration, int index, IEnumerable<SyntaxNode> parameters);
+ public SyntaxNode InsertReturnAttributes(SyntaxNode declaration, int index, params SyntaxNode[] attributes);
+ public abstract SyntaxNode InsertReturnAttributes(SyntaxNode declaration, int index, IEnumerable<SyntaxNode> attributes);
- public SyntaxNode IsExpression(SyntaxNode expression, ITypeSymbol type);
- public abstract SyntaxNode IsExpression(SyntaxNode expression, SyntaxNode type);
+ public SyntaxNode IsTypeExpression(SyntaxNode expression, ITypeSymbol type);
+ public abstract SyntaxNode IsTypeExpression(SyntaxNode expression, SyntaxNode type);
public abstract SyntaxNode MemberAccessExpression(SyntaxNode expression, SyntaxNode simpleNamememberName);
public SyntaxNode MemberAccessExpression(SyntaxNode expression, string identifermemberName);
+ protected static SyntaxNode PreserveTrivia<TNode>(TNode node, Func<TNode, SyntaxNode> nodeChanger) where TNode : SyntaxNode;
public SyntaxNode PropertyDeclaration(IPropertySymbol property, IEnumerable<SyntaxNode> getterStatementsgetAccessorStatements=null, IEnumerable<SyntaxNode> setterStatementssetAccessorStatements=null);
public abstract SyntaxNode PropertyDeclaration(string name, SyntaxNode type, Accessibility accessibility=(Accessibility)(0), DeclarationModifiers modifiers=null, IEnumerable<SyntaxNode> getterStatementsgetAccessorStatements=null, IEnumerable<SyntaxNode> setterStatementssetAccessorStatements=null);
+ public abstract SyntaxNode RemoveAllAttributes(SyntaxNode declaration);
+ public abstract SyntaxNode RemoveAttributes(SyntaxNode declaration, IEnumerable<SyntaxNode> attributes);
+ public SyntaxNode RemoveMembers(SyntaxNode declaration, params SyntaxNode[] members);
+ public SyntaxNode RemoveMembers(SyntaxNode declaration, IEnumerable<SyntaxNode> members);
+ public SyntaxNode RemoveNamespaceImports(SyntaxNode declaration, params SyntaxNode[] imports);
+ public SyntaxNode RemoveNamespaceImports(SyntaxNode declaration, IEnumerable<SyntaxNode> imports);
+ public SyntaxNode RemoveParameters(SyntaxNode declaration, IEnumerable<SyntaxNode> parameters);
+ public abstract SyntaxNode RemoveReturnAttributes(SyntaxNode declaration, IEnumerable<SyntaxNode> attributes);
+ protected static SyntaxNode ReplaceWithTrivia(SyntaxNode root, SyntaxNode original, SyntaxNode replacement);
+ protected static SyntaxNode ReplaceWithTrivia(SyntaxNode root, SyntaxToken original, SyntaxToken replacement);
+ protected static SyntaxNode ReplaceWithTrivia<TNode>(SyntaxNode root, TNode original, Func<TNode, SyntaxNode> replacer) where TNode : SyntaxNode;
+ public SyntaxNode TryCastExpression(SyntaxNode expression, ITypeSymbol type);
+ public abstract SyntaxNode TryCastExpression(SyntaxNode expression, SyntaxNode type);
+ public SyntaxNode ValueReturningLambdaExpression(SyntaxNode expression);
+ public SyntaxNode ValueReturningLambdaExpression(IEnumerable<SyntaxNode> statements);
+ public SyntaxNode VoidReturningLambdaExpression(SyntaxNode expression);
+ public SyntaxNode VoidReturningLambdaExpression(IEnumerable<SyntaxNode> statements);
+ public abstract SyntaxNode WithAccessibility(SyntaxNode declaration, Accessibility accessibility);
+ public abstract SyntaxNode WithExpression(SyntaxNode declaration, SyntaxNode expression);
+ public abstract SyntaxNode WithGetAccessorStatements(SyntaxNode declaration, IEnumerable<SyntaxNode> statements);
+ public abstract SyntaxNode WithModifiers(SyntaxNode declaration, DeclarationModifiers modifiers);
+ public abstract SyntaxNode WithName(SyntaxNode declaration, string name);
+ public abstract SyntaxNode WithSetAccessorStatements(SyntaxNode declaration, IEnumerable<SyntaxNode> statements);
+ public abstract SyntaxNode WithStatements(SyntaxNode declaration, IEnumerable<SyntaxNode> statements);
+ public abstract SyntaxNode WithType(SyntaxNode declaration, SyntaxNode type);
public abstract SyntaxNode WithTypeParameters(SyntaxNode declaration, IEnumerable<string> typeParameterNamestypeParameters);
public SyntaxNode WithTypeParameters(SyntaxNode declaration, params string[] typeParameterNamestypeParameters);
}
}
namespace Microsoft.CodeAnalysis.FindSymbols {
public static class SymbolFinder {
+ public static Task<IEnumerable<ISymbol>> FindDeclarationsAsync(Project project, string name, bool ignoreCase, SymbolFilter filter, CancellationToken cancellationToken=null);
+ public static Task<IEnumerable<ISymbol>> FindSourceDeclarationsAsync(Project project, Func<string, bool> predicate, SymbolFilter filter, CancellationToken cancellationToken=null);
+ public static Task<IEnumerable<ISymbol>> FindSourceDeclarationsAsync(Project project, string name, bool ignoreCase, SymbolFilter filter, CancellationToken cancellationToken=null);
+ public static Task<IEnumerable<ISymbol>> FindSourceDeclarationsAsync(Solution solution, Func<string, bool> predicate, SymbolFilter filter, CancellationToken cancellationToken=null);
+ public static Task<IEnumerable<ISymbol>> FindSourceDeclarationsAsync(Solution solution, string name, bool ignoreCase, SymbolFilter filter, CancellationToken cancellationToken=null);
}
}
}
```
## Miscellaneous
Changes that hide some APIs that shouldn't have been public or weren't fully thought through and changes that add some more useful overloads.
```diff
assembly Microsoft.CodeAnalysis {
namespace Microsoft.CodeAnalysis {
public abstract class Compilation {
+ public abstract bool ContainsSymbolsWithName(Func<string, bool> predicate, SymbolFilter filter=(SymbolFilter)(6), CancellationToken cancellationToken=null);
+ public EmitDifferenceResult EmitDifference(EmitBaseline baseline, IEnumerable<SemanticEdit> edits, Func<ISymbol, bool> isAddedSymbol, Stream metadataStream, Stream ilStream, Stream pdbStream, ICollection<MethodDefinitionHandle> updatedMethods, CancellationToken cancellationToken=null);
+ public abstract IEnumerable<ISymbol> GetSymbolsWithName(Func<string, bool> predicate, SymbolFilter filter=(SymbolFilter)(6), CancellationToken cancellationToken=null);
}
public abstract class ParseOptions {
+ public abstract IReadOnlyDictionary<string, string> Features { get; }
+ protected abstract ParseOptions CommonWithFeatures(IEnumerable<KeyValuePair<string, string>> features);
+ public ParseOptions WithFeatures(IEnumerable<KeyValuePair<string, string>> features);
}
public enum SymbolDisplayExtensionMethodStyle {
+ Default = 0,
StaticMethod = 02,
}
+ public enum SymbolFilter {
+ All = 7,
+ Member = 4,
+ Namespace = 1,
+ None = 0,
+ Type = 2,
+ TypeAndMember = 6,
}
public static class SyntaxNodeExtensions {
- public static TRoot ReplaceNode<TRoot, TNode>(this TRoot root, TNode oldNode, IEnumerable<TNode> newNodes) where TRoot : SyntaxNode where TNode : SyntaxNode;
- public static TRoot ReplaceNode<TRoot, TNode>(this TRoot root, TNode oldNode, TNode newNode) where TRoot : SyntaxNode where TNode : SyntaxNode;
+ public static TRoot ReplaceNode<TRoot>(this TRoot root, SyntaxNode oldNode, SyntaxNode newNode) where TRoot : SyntaxNode;
+ public static TRoot ReplaceNode<TRoot>(this TRoot root, SyntaxNode oldNode, IEnumerable<SyntaxNode> newNodes) where TRoot : SyntaxNode;
}
public enum SyntaxRemoveOptions {
+ AddElasticMarker = 32,
}
}
assembly Microsoft.CodeAnalysis.CSharp.Features {
- namespace Microsoft.CodeAnalysis.CSharp.CodeStyle {
- public static class CSharpCodeStyleOptions {
- public static readonly Option<bool> UseVarWhenDeclaringLocals;
}
}
}
assembly Microsoft.CodeAnalysis.EditorFeatures {
+ namespace Microsoft.CodeAnalysis.Editor.Peek {
+ public interface IPeekableItemFactory {
+ Task<IEnumerable<IPeekableItem>> GetPeekableItemsAsync(ISymbol symbol, Project project, IPeekResultFactory peekResultFactory, CancellationToken cancellationToken);
}
}
}
assembly Microsoft.CodeAnalysis.Workspaces {
namespace Microsoft.CodeAnalysis {
public class CustomWorkspace : Workspace {
+ public override bool CanApplyChange(ApplyChangesKind feature);
}
public sealed class DocumentInfo {
+ public DocumentInfo WithDefaultEncoding(Encoding encoding);
+ public DocumentInfo WithId(DocumentId id);
+ public DocumentInfo WithName(string name);
}
namespace Microsoft.CodeAnalysis.Differencing {
- public abstract class LongestCommonSubsequence<TSequence> {
- protected LongestCommonSubsequence();
- protected double ComputeDistance(TSequence sequenceA, int lengthA, TSequence sequenceB, int lengthB);
- protected IEnumerable<LongestCommonSubsequence<TSequence>.Edit> GetEdits(TSequence sequenceA, int lengthA, TSequence sequenceB, int lengthB);
- protected IEnumerable<KeyValuePair<int, int>> GetMatchingPairs(TSequence sequenceA, int lengthA, TSequence sequenceB, int lengthB);
- protected abstract bool ItemsEqual(TSequence sequenceA, int indexA, TSequence sequenceB, int indexB);
- protected struct Edit {
- public readonly EditKind Kind;
- public readonly int IndexA;
- public readonly int IndexB;
}
}
- public sealed class LongestCommonSubstring {
- public static double ComputeDistance(string s1, string s2);
- protected override bool ItemsEqual(string sequenceA, int indexA, string sequenceB, int indexB);
}
public abstract class TreeComparer<TNode> {
public abstract double GetDistance(TNode leftoldNode, TNode rightnewNode);
protected internal abstract bool TreesEqual(TNode leftoldNode, TNode rightnewNode);
}
}
namespace Microsoft.CodeAnalysis.Host {
public abstract class HostLanguageServices {
+ public TLanguageService GetRequiredService<TLanguageService>() where TLanguageService : ILanguageService;
}
public abstract class HostWorkspaceServices {
+ public TWorkspaceService GetRequiredService<TWorkspaceService>() where TWorkspaceService : IWorkspaceService;
}
}
namespace Microsoft.CodeAnalysis.Host.Mef {
public static class ServiceLayer {
+ public const string Desktop = "Desktop";
}
}
}
assembly Microsoft.CodeAnalysis.Workspaces.Desktop {
namespace Microsoft.CodeAnalysis {
public static class CommandLineProject {
- public static ProjectInfo CreateProjectInfo(Workspace workspace, string projectName, string language, IEnumerable<string> commandLineArgs, string projectDirectory);
- public static ProjectInfo CreateProjectInfo(Workspace workspace, string projectName, string language, string commandLine, string baseDirectory);
+ public static ProjectInfo CreateProjectInfo(string projectName, string language, IEnumerable<string> commandLineArgs, string projectDirectory, Workspace workspace=null);
+ public static ProjectInfo CreateProjectInfo(string projectName, string language, string commandLine, string baseDirectory, Workspace workspace=null);
}
}
namespace Microsoft.CodeAnalysis.Host.Mef {
+ public static class DesktopMefHostServices {
+ public static MefHostServices DefaultServices { get; }
}
}
namespace Microsoft.CodeAnalysis.MSBuild {
public sealed class MSBuildWorkspace : Workspace {
- protected override void AddAdditionalDocument(DocumentId documentId, IEnumerable<string> folders, string name, SourceText text=null);
- protected override void AddDocument(DocumentId documentId, IEnumerable<string> folders, string name, SourceText text=null, SourceCodeKind sourceCodeKind=(SourceCodeKind)(0));
+ protected override void AddDocument(DocumentInfo info, SourceText text);
- protected override void ChangedAdditionalDocumentText(DocumentId documentId, SourceText text);
}
}
}
```
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Compilers/Test/Resources/Core/SymbolsTests/MultiModule/mod3.vb | ' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
'vbc /t:module /vbruntime- Mod3.vb
Public Class Class3
Sub Goo()
Dim x = {1,2}
Dim y = x.Count()
End Sub
End Class
| ' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
'vbc /t:module /vbruntime- Mod3.vb
Public Class Class3
Sub Goo()
Dim x = {1,2}
Dim y = x.Count()
End Sub
End Class
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Analyzers/CSharp/CodeFixes/AddAccessibilityModifiers/CSharpAddAccessibilityModifiersService.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Composition;
using Microsoft.CodeAnalysis.AddAccessibilityModifiers;
using Microsoft.CodeAnalysis.Host.Mef;
namespace Microsoft.CodeAnalysis.CSharp.AddAccessibilityModifiers
{
[ExportLanguageService(typeof(IAddAccessibilityModifiersService), LanguageNames.CSharp), Shared]
internal class CSharpAddAccessibilityModifiersService : CSharpAddAccessibilityModifiers, IAddAccessibilityModifiersService
{
[ImportingConstructor]
[Obsolete(MefConstruction.ImportingConstructorMessage, error: true)]
public CSharpAddAccessibilityModifiersService()
{
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Composition;
using Microsoft.CodeAnalysis.AddAccessibilityModifiers;
using Microsoft.CodeAnalysis.Host.Mef;
namespace Microsoft.CodeAnalysis.CSharp.AddAccessibilityModifiers
{
[ExportLanguageService(typeof(IAddAccessibilityModifiersService), LanguageNames.CSharp), Shared]
internal class CSharpAddAccessibilityModifiersService : CSharpAddAccessibilityModifiers, IAddAccessibilityModifiersService
{
[ImportingConstructor]
[Obsolete(MefConstruction.ImportingConstructorMessage, error: true)]
public CSharpAddAccessibilityModifiersService()
{
}
}
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/VisualStudio/LiveShare/Impl/Client/ExternalAccess/VSTypeScript/VSTypeScriptRemoteLanguageServiceWorkspaceAccessor.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.ComponentModel.Composition;
using Microsoft.CodeAnalysis.Host.Mef;
using Microsoft.VisualStudio.LanguageServices.ExternalAccess.VSTypeScript.Api;
namespace Microsoft.VisualStudio.LanguageServices.LiveShare.Client.ExternalAccess.VSTypeScript
{
[Export(typeof(IVsTypeScriptRemoteLanguageServiceWorkspaceAccessor))]
internal sealed class VSTypeScriptRemoteLanguageServiceWorkspaceAccessor : IVsTypeScriptRemoteLanguageServiceWorkspaceAccessor
{
private readonly RemoteLanguageServiceWorkspace _remoteLanguageServiceWorkspace;
[ImportingConstructor]
[Obsolete(MefConstruction.ImportingConstructorMessage, error: true)]
public VSTypeScriptRemoteLanguageServiceWorkspaceAccessor(RemoteLanguageServiceWorkspace remoteLanguageServiceWorkspace)
{
_remoteLanguageServiceWorkspace = remoteLanguageServiceWorkspace;
}
CodeAnalysis.Workspace IVsTypeScriptRemoteLanguageServiceWorkspaceAccessor.RemoteLanguageServiceWorkspace => _remoteLanguageServiceWorkspace;
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.ComponentModel.Composition;
using Microsoft.CodeAnalysis.Host.Mef;
using Microsoft.VisualStudio.LanguageServices.ExternalAccess.VSTypeScript.Api;
namespace Microsoft.VisualStudio.LanguageServices.LiveShare.Client.ExternalAccess.VSTypeScript
{
[Export(typeof(IVsTypeScriptRemoteLanguageServiceWorkspaceAccessor))]
internal sealed class VSTypeScriptRemoteLanguageServiceWorkspaceAccessor : IVsTypeScriptRemoteLanguageServiceWorkspaceAccessor
{
private readonly RemoteLanguageServiceWorkspace _remoteLanguageServiceWorkspace;
[ImportingConstructor]
[Obsolete(MefConstruction.ImportingConstructorMessage, error: true)]
public VSTypeScriptRemoteLanguageServiceWorkspaceAccessor(RemoteLanguageServiceWorkspace remoteLanguageServiceWorkspace)
{
_remoteLanguageServiceWorkspace = remoteLanguageServiceWorkspace;
}
CodeAnalysis.Workspace IVsTypeScriptRemoteLanguageServiceWorkspaceAccessor.RemoteLanguageServiceWorkspace => _remoteLanguageServiceWorkspace;
}
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Features/CSharp/Portable/Completion/CompletionProviders/AttributeNamedParameterCompletionProvider.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Composition;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Completion;
using Microsoft.CodeAnalysis.Completion.Providers;
using Microsoft.CodeAnalysis.CSharp.Extensions;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.ErrorReporting;
using Microsoft.CodeAnalysis.Host.Mef;
using Microsoft.CodeAnalysis.Options;
using Microsoft.CodeAnalysis.Shared.Extensions;
using Microsoft.CodeAnalysis.Text;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.CSharp.Completion.Providers
{
[ExportCompletionProvider(nameof(AttributeNamedParameterCompletionProvider), LanguageNames.CSharp)]
[ExtensionOrder(After = nameof(FirstBuiltInCompletionProvider))]
[Shared]
internal class AttributeNamedParameterCompletionProvider : LSPCompletionProvider
{
private const string EqualsString = "=";
private const string SpaceEqualsString = " =";
private const string ColonString = ":";
private static readonly CompletionItemRules _spaceItemFilterRule = CompletionItemRules.Default.WithFilterCharacterRule(
CharacterSetModificationRule.Create(CharacterSetModificationKind.Remove, ' '));
[ImportingConstructor]
[Obsolete(MefConstruction.ImportingConstructorMessage, error: true)]
public AttributeNamedParameterCompletionProvider()
{
}
public override bool IsInsertionTrigger(SourceText text, int characterPosition, OptionSet options)
=> CompletionUtilities.IsTriggerCharacter(text, characterPosition, options);
public override ImmutableHashSet<char> TriggerCharacters { get; } = CompletionUtilities.CommonTriggerCharacters;
public override async Task ProvideCompletionsAsync(CompletionContext context)
{
try
{
var document = context.Document;
var position = context.Position;
var cancellationToken = context.CancellationToken;
var syntaxTree = await document.GetSyntaxTreeAsync(cancellationToken).ConfigureAwait(false);
if (syntaxTree.IsInNonUserCode(position, cancellationToken))
{
return;
}
var token = syntaxTree.FindTokenOnLeftOfPosition(position, cancellationToken);
token = token.GetPreviousTokenIfTouchingWord(position);
if (!token.IsKind(SyntaxKind.OpenParenToken, SyntaxKind.CommaToken))
{
return;
}
if (token.Parent.Parent is not AttributeSyntax attributeSyntax || token.Parent is not AttributeArgumentListSyntax attributeArgumentList)
{
return;
}
if (IsAfterNameColonArgument(token) || IsAfterNameEqualsArgument(token))
{
context.IsExclusive = true;
}
// We actually want to collect two sets of named parameters to present the user. The
// normal named parameters that come from the attribute constructors. These will be
// presented like "goo:". And also the named parameters that come from the writable
// fields/properties in the attribute. These will be presented like "bar =".
var existingNamedParameters = GetExistingNamedParameters(attributeArgumentList, position);
var workspace = document.Project.Solution.Workspace;
var semanticModel = await document.ReuseExistingSpeculativeModelAsync(attributeSyntax, cancellationToken).ConfigureAwait(false);
var nameColonItems = await GetNameColonItemsAsync(context, semanticModel, token, attributeSyntax, existingNamedParameters).ConfigureAwait(false);
var nameEqualsItems = await GetNameEqualsItemsAsync(context, semanticModel, token, attributeSyntax, existingNamedParameters).ConfigureAwait(false);
context.AddItems(nameEqualsItems);
// If we're after a name= parameter, then we only want to show name= parameters.
// Otherwise, show name: parameters too.
if (!IsAfterNameEqualsArgument(token))
{
context.AddItems(nameColonItems);
}
}
catch (Exception e) when (FatalError.ReportAndCatchUnlessCanceled(e))
{
// nop
}
}
private static bool IsAfterNameColonArgument(SyntaxToken token)
{
if (token.Kind() == SyntaxKind.CommaToken && token.Parent is AttributeArgumentListSyntax argumentList)
{
foreach (var item in argumentList.Arguments.GetWithSeparators())
{
if (item.IsToken && item.AsToken() == token)
{
return false;
}
if (item.IsNode)
{
var node = item.AsNode() as AttributeArgumentSyntax;
if (node.NameColon != null)
{
return true;
}
}
}
}
return false;
}
private static bool IsAfterNameEqualsArgument(SyntaxToken token)
{
if (token.Kind() == SyntaxKind.CommaToken && token.Parent is AttributeArgumentListSyntax argumentList)
{
foreach (var item in argumentList.Arguments.GetWithSeparators())
{
if (item.IsToken && item.AsToken() == token)
{
return false;
}
if (item.IsNode)
{
var node = item.AsNode() as AttributeArgumentSyntax;
if (node.NameEquals != null)
{
return true;
}
}
}
}
return false;
}
private static async Task<ImmutableArray<CompletionItem>> GetNameEqualsItemsAsync(
CompletionContext context, SemanticModel semanticModel,
SyntaxToken token, AttributeSyntax attributeSyntax, ISet<string> existingNamedParameters)
{
var attributeNamedParameters = GetAttributeNamedParameters(semanticModel, context.Position, attributeSyntax, context.CancellationToken);
var unspecifiedNamedParameters = attributeNamedParameters.Where(p => !existingNamedParameters.Contains(p.Name));
var text = await semanticModel.SyntaxTree.GetTextAsync(context.CancellationToken).ConfigureAwait(false);
var q = from p in attributeNamedParameters
where !existingNamedParameters.Contains(p.Name)
select SymbolCompletionItem.CreateWithSymbolId(
displayText: p.Name.ToIdentifierToken().ToString(),
displayTextSuffix: SpaceEqualsString,
insertionText: null,
symbols: ImmutableArray.Create(p),
contextPosition: token.SpanStart,
sortText: p.Name,
rules: _spaceItemFilterRule);
return q.ToImmutableArray();
}
private static async Task<IEnumerable<CompletionItem>> GetNameColonItemsAsync(
CompletionContext context, SemanticModel semanticModel, SyntaxToken token, AttributeSyntax attributeSyntax, ISet<string> existingNamedParameters)
{
var parameterLists = GetParameterLists(semanticModel, context.Position, attributeSyntax, context.CancellationToken);
parameterLists = parameterLists.Where(pl => IsValid(pl, existingNamedParameters));
var text = await semanticModel.SyntaxTree.GetTextAsync(context.CancellationToken).ConfigureAwait(false);
return from pl in parameterLists
from p in pl
where !existingNamedParameters.Contains(p.Name)
select SymbolCompletionItem.CreateWithSymbolId(
displayText: p.Name.ToIdentifierToken().ToString(),
displayTextSuffix: ColonString,
insertionText: null,
symbols: ImmutableArray.Create(p),
contextPosition: token.SpanStart,
sortText: p.Name,
rules: CompletionItemRules.Default);
}
protected override Task<CompletionDescription> GetDescriptionWorkerAsync(Document document, CompletionItem item, CancellationToken cancellationToken)
=> SymbolCompletionItem.GetDescriptionAsync(item, document, cancellationToken);
private static bool IsValid(ImmutableArray<IParameterSymbol> parameterList, ISet<string> existingNamedParameters)
=> existingNamedParameters.Except(parameterList.Select(p => p.Name)).IsEmpty();
private static ISet<string> GetExistingNamedParameters(AttributeArgumentListSyntax argumentList, int position)
{
var existingArguments1 =
argumentList.Arguments.Where(a => a.Span.End <= position)
.Where(a => a.NameColon != null)
.Select(a => a.NameColon.Name.Identifier.ValueText);
var existingArguments2 =
argumentList.Arguments.Where(a => a.Span.End <= position)
.Where(a => a.NameEquals != null)
.Select(a => a.NameEquals.Name.Identifier.ValueText);
return existingArguments1.Concat(existingArguments2).ToSet();
}
private static IEnumerable<ImmutableArray<IParameterSymbol>> GetParameterLists(
SemanticModel semanticModel,
int position,
AttributeSyntax attribute,
CancellationToken cancellationToken)
{
var within = semanticModel.GetEnclosingNamedTypeOrAssembly(position, cancellationToken);
if (within != null && semanticModel.GetTypeInfo(attribute, cancellationToken).Type is INamedTypeSymbol attributeType)
{
return attributeType.InstanceConstructors.Where(c => c.IsAccessibleWithin(within))
.Select(c => c.Parameters);
}
return SpecializedCollections.EmptyEnumerable<ImmutableArray<IParameterSymbol>>();
}
private static IEnumerable<ISymbol> GetAttributeNamedParameters(
SemanticModel semanticModel,
int position,
AttributeSyntax attribute,
CancellationToken cancellationToken)
{
var within = semanticModel.GetEnclosingNamedTypeOrAssembly(position, cancellationToken);
var attributeType = semanticModel.GetTypeInfo(attribute, cancellationToken).Type as INamedTypeSymbol;
return attributeType.GetAttributeNamedParameters(semanticModel.Compilation, within);
}
protected override Task<TextChange?> GetTextChangeAsync(CompletionItem selectedItem, char? ch, CancellationToken cancellationToken)
=> Task.FromResult(GetTextChange(selectedItem, ch));
private static TextChange? GetTextChange(CompletionItem selectedItem, char? ch)
{
var displayText = selectedItem.DisplayText + selectedItem.DisplayTextSuffix;
if (ch != null)
{
// If user types a space, do not complete the " =" (space and equals) at the end of a named parameter. The
// typed space character will be passed through to the editor, and they can then type the '='.
if (ch == ' ' && displayText.EndsWith(SpaceEqualsString, StringComparison.Ordinal))
{
return new TextChange(selectedItem.Span, displayText.Remove(displayText.Length - SpaceEqualsString.Length));
}
// If the user types '=', do not complete the '=' at the end of the named parameter because the typed '='
// will be passed through to the editor.
if (ch == '=' && displayText.EndsWith(EqualsString, StringComparison.Ordinal))
{
return new TextChange(selectedItem.Span, displayText.Remove(displayText.Length - EqualsString.Length));
}
// If the user types ':', do not complete the ':' at the end of the named parameter because the typed ':'
// will be passed through to the editor.
if (ch == ':' && displayText.EndsWith(ColonString, StringComparison.Ordinal))
{
return new TextChange(selectedItem.Span, displayText.Remove(displayText.Length - ColonString.Length));
}
}
return new TextChange(selectedItem.Span, displayText);
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Composition;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Completion;
using Microsoft.CodeAnalysis.Completion.Providers;
using Microsoft.CodeAnalysis.CSharp.Extensions;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.ErrorReporting;
using Microsoft.CodeAnalysis.Host.Mef;
using Microsoft.CodeAnalysis.Options;
using Microsoft.CodeAnalysis.Shared.Extensions;
using Microsoft.CodeAnalysis.Text;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.CSharp.Completion.Providers
{
[ExportCompletionProvider(nameof(AttributeNamedParameterCompletionProvider), LanguageNames.CSharp)]
[ExtensionOrder(After = nameof(FirstBuiltInCompletionProvider))]
[Shared]
internal class AttributeNamedParameterCompletionProvider : LSPCompletionProvider
{
private const string EqualsString = "=";
private const string SpaceEqualsString = " =";
private const string ColonString = ":";
private static readonly CompletionItemRules _spaceItemFilterRule = CompletionItemRules.Default.WithFilterCharacterRule(
CharacterSetModificationRule.Create(CharacterSetModificationKind.Remove, ' '));
[ImportingConstructor]
[Obsolete(MefConstruction.ImportingConstructorMessage, error: true)]
public AttributeNamedParameterCompletionProvider()
{
}
public override bool IsInsertionTrigger(SourceText text, int characterPosition, OptionSet options)
=> CompletionUtilities.IsTriggerCharacter(text, characterPosition, options);
public override ImmutableHashSet<char> TriggerCharacters { get; } = CompletionUtilities.CommonTriggerCharacters;
public override async Task ProvideCompletionsAsync(CompletionContext context)
{
try
{
var document = context.Document;
var position = context.Position;
var cancellationToken = context.CancellationToken;
var syntaxTree = await document.GetSyntaxTreeAsync(cancellationToken).ConfigureAwait(false);
if (syntaxTree.IsInNonUserCode(position, cancellationToken))
{
return;
}
var token = syntaxTree.FindTokenOnLeftOfPosition(position, cancellationToken);
token = token.GetPreviousTokenIfTouchingWord(position);
if (!token.IsKind(SyntaxKind.OpenParenToken, SyntaxKind.CommaToken))
{
return;
}
if (token.Parent.Parent is not AttributeSyntax attributeSyntax || token.Parent is not AttributeArgumentListSyntax attributeArgumentList)
{
return;
}
if (IsAfterNameColonArgument(token) || IsAfterNameEqualsArgument(token))
{
context.IsExclusive = true;
}
// We actually want to collect two sets of named parameters to present the user. The
// normal named parameters that come from the attribute constructors. These will be
// presented like "goo:". And also the named parameters that come from the writable
// fields/properties in the attribute. These will be presented like "bar =".
var existingNamedParameters = GetExistingNamedParameters(attributeArgumentList, position);
var workspace = document.Project.Solution.Workspace;
var semanticModel = await document.ReuseExistingSpeculativeModelAsync(attributeSyntax, cancellationToken).ConfigureAwait(false);
var nameColonItems = await GetNameColonItemsAsync(context, semanticModel, token, attributeSyntax, existingNamedParameters).ConfigureAwait(false);
var nameEqualsItems = await GetNameEqualsItemsAsync(context, semanticModel, token, attributeSyntax, existingNamedParameters).ConfigureAwait(false);
context.AddItems(nameEqualsItems);
// If we're after a name= parameter, then we only want to show name= parameters.
// Otherwise, show name: parameters too.
if (!IsAfterNameEqualsArgument(token))
{
context.AddItems(nameColonItems);
}
}
catch (Exception e) when (FatalError.ReportAndCatchUnlessCanceled(e))
{
// nop
}
}
private static bool IsAfterNameColonArgument(SyntaxToken token)
{
if (token.Kind() == SyntaxKind.CommaToken && token.Parent is AttributeArgumentListSyntax argumentList)
{
foreach (var item in argumentList.Arguments.GetWithSeparators())
{
if (item.IsToken && item.AsToken() == token)
{
return false;
}
if (item.IsNode)
{
var node = item.AsNode() as AttributeArgumentSyntax;
if (node.NameColon != null)
{
return true;
}
}
}
}
return false;
}
private static bool IsAfterNameEqualsArgument(SyntaxToken token)
{
if (token.Kind() == SyntaxKind.CommaToken && token.Parent is AttributeArgumentListSyntax argumentList)
{
foreach (var item in argumentList.Arguments.GetWithSeparators())
{
if (item.IsToken && item.AsToken() == token)
{
return false;
}
if (item.IsNode)
{
var node = item.AsNode() as AttributeArgumentSyntax;
if (node.NameEquals != null)
{
return true;
}
}
}
}
return false;
}
private static async Task<ImmutableArray<CompletionItem>> GetNameEqualsItemsAsync(
CompletionContext context, SemanticModel semanticModel,
SyntaxToken token, AttributeSyntax attributeSyntax, ISet<string> existingNamedParameters)
{
var attributeNamedParameters = GetAttributeNamedParameters(semanticModel, context.Position, attributeSyntax, context.CancellationToken);
var unspecifiedNamedParameters = attributeNamedParameters.Where(p => !existingNamedParameters.Contains(p.Name));
var text = await semanticModel.SyntaxTree.GetTextAsync(context.CancellationToken).ConfigureAwait(false);
var q = from p in attributeNamedParameters
where !existingNamedParameters.Contains(p.Name)
select SymbolCompletionItem.CreateWithSymbolId(
displayText: p.Name.ToIdentifierToken().ToString(),
displayTextSuffix: SpaceEqualsString,
insertionText: null,
symbols: ImmutableArray.Create(p),
contextPosition: token.SpanStart,
sortText: p.Name,
rules: _spaceItemFilterRule);
return q.ToImmutableArray();
}
private static async Task<IEnumerable<CompletionItem>> GetNameColonItemsAsync(
CompletionContext context, SemanticModel semanticModel, SyntaxToken token, AttributeSyntax attributeSyntax, ISet<string> existingNamedParameters)
{
var parameterLists = GetParameterLists(semanticModel, context.Position, attributeSyntax, context.CancellationToken);
parameterLists = parameterLists.Where(pl => IsValid(pl, existingNamedParameters));
var text = await semanticModel.SyntaxTree.GetTextAsync(context.CancellationToken).ConfigureAwait(false);
return from pl in parameterLists
from p in pl
where !existingNamedParameters.Contains(p.Name)
select SymbolCompletionItem.CreateWithSymbolId(
displayText: p.Name.ToIdentifierToken().ToString(),
displayTextSuffix: ColonString,
insertionText: null,
symbols: ImmutableArray.Create(p),
contextPosition: token.SpanStart,
sortText: p.Name,
rules: CompletionItemRules.Default);
}
protected override Task<CompletionDescription> GetDescriptionWorkerAsync(Document document, CompletionItem item, CancellationToken cancellationToken)
=> SymbolCompletionItem.GetDescriptionAsync(item, document, cancellationToken);
private static bool IsValid(ImmutableArray<IParameterSymbol> parameterList, ISet<string> existingNamedParameters)
=> existingNamedParameters.Except(parameterList.Select(p => p.Name)).IsEmpty();
private static ISet<string> GetExistingNamedParameters(AttributeArgumentListSyntax argumentList, int position)
{
var existingArguments1 =
argumentList.Arguments.Where(a => a.Span.End <= position)
.Where(a => a.NameColon != null)
.Select(a => a.NameColon.Name.Identifier.ValueText);
var existingArguments2 =
argumentList.Arguments.Where(a => a.Span.End <= position)
.Where(a => a.NameEquals != null)
.Select(a => a.NameEquals.Name.Identifier.ValueText);
return existingArguments1.Concat(existingArguments2).ToSet();
}
private static IEnumerable<ImmutableArray<IParameterSymbol>> GetParameterLists(
SemanticModel semanticModel,
int position,
AttributeSyntax attribute,
CancellationToken cancellationToken)
{
var within = semanticModel.GetEnclosingNamedTypeOrAssembly(position, cancellationToken);
if (within != null && semanticModel.GetTypeInfo(attribute, cancellationToken).Type is INamedTypeSymbol attributeType)
{
return attributeType.InstanceConstructors.Where(c => c.IsAccessibleWithin(within))
.Select(c => c.Parameters);
}
return SpecializedCollections.EmptyEnumerable<ImmutableArray<IParameterSymbol>>();
}
private static IEnumerable<ISymbol> GetAttributeNamedParameters(
SemanticModel semanticModel,
int position,
AttributeSyntax attribute,
CancellationToken cancellationToken)
{
var within = semanticModel.GetEnclosingNamedTypeOrAssembly(position, cancellationToken);
var attributeType = semanticModel.GetTypeInfo(attribute, cancellationToken).Type as INamedTypeSymbol;
return attributeType.GetAttributeNamedParameters(semanticModel.Compilation, within);
}
protected override Task<TextChange?> GetTextChangeAsync(CompletionItem selectedItem, char? ch, CancellationToken cancellationToken)
=> Task.FromResult(GetTextChange(selectedItem, ch));
private static TextChange? GetTextChange(CompletionItem selectedItem, char? ch)
{
var displayText = selectedItem.DisplayText + selectedItem.DisplayTextSuffix;
if (ch != null)
{
// If user types a space, do not complete the " =" (space and equals) at the end of a named parameter. The
// typed space character will be passed through to the editor, and they can then type the '='.
if (ch == ' ' && displayText.EndsWith(SpaceEqualsString, StringComparison.Ordinal))
{
return new TextChange(selectedItem.Span, displayText.Remove(displayText.Length - SpaceEqualsString.Length));
}
// If the user types '=', do not complete the '=' at the end of the named parameter because the typed '='
// will be passed through to the editor.
if (ch == '=' && displayText.EndsWith(EqualsString, StringComparison.Ordinal))
{
return new TextChange(selectedItem.Span, displayText.Remove(displayText.Length - EqualsString.Length));
}
// If the user types ':', do not complete the ':' at the end of the named parameter because the typed ':'
// will be passed through to the editor.
if (ch == ':' && displayText.EndsWith(ColonString, StringComparison.Ordinal))
{
return new TextChange(selectedItem.Span, displayText.Remove(displayText.Length - ColonString.Length));
}
}
return new TextChange(selectedItem.Span, displayText);
}
}
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/VisualStudio/Core/Def/Implementation/TableDataSource/TableEntriesFactory.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using Microsoft.VisualStudio.Shell.TableManager;
using Microsoft.VisualStudio.Text;
using Roslyn.Utilities;
namespace Microsoft.VisualStudio.LanguageServices.Implementation.TableDataSource
{
internal class TableEntriesFactory<TItem, TData> : ITableEntriesSnapshotFactory
where TItem : TableItem
{
private readonly object _gate = new();
private readonly AbstractTableDataSource<TItem, TData> _tableSource;
private readonly AggregatedEntriesSource _entriesSources;
private readonly WeakReference<ITableEntriesSnapshot> _lastSnapshotWeakReference = new(null);
private int _lastVersion = 0;
public TableEntriesFactory(AbstractTableDataSource<TItem, TData> tableSource, AbstractTableEntriesSource<TItem> entriesSource)
{
_tableSource = tableSource;
_entriesSources = new AggregatedEntriesSource(_tableSource, entriesSource);
}
public int CurrentVersionNumber
{
get
{
lock (_gate)
{
return _lastVersion;
}
}
}
public ITableEntriesSnapshot GetCurrentSnapshot()
{
lock (_gate)
{
var version = _lastVersion;
if (TryGetLastSnapshot(version, out var lastSnapshot))
{
return lastSnapshot;
}
var items = _entriesSources.GetItems();
return CreateSnapshot(version, items);
}
}
public ITableEntriesSnapshot GetSnapshot(int versionNumber)
{
lock (_gate)
{
if (TryGetLastSnapshot(versionNumber, out var lastSnapshot))
{
return lastSnapshot;
}
var version = _lastVersion;
if (version != versionNumber)
{
_tableSource.Refresh(this);
return null;
}
var items = _entriesSources.GetItems();
return CreateSnapshot(version, items);
}
}
public void OnDataAddedOrChanged(TData data)
{
lock (_gate)
{
UpdateVersion_NoLock();
_entriesSources.OnDataAddedOrChanged(data);
}
}
public bool OnDataRemoved(TData data)
{
lock (_gate)
{
UpdateVersion_NoLock();
return _entriesSources.OnDataRemoved(data);
}
}
public void OnRefreshed()
{
lock (_gate)
{
UpdateVersion_NoLock();
}
}
protected void UpdateVersion_NoLock()
=> _lastVersion++;
public void Dispose()
{
}
private bool TryGetLastSnapshot(int version, out ITableEntriesSnapshot lastSnapshot)
{
return _lastSnapshotWeakReference.TryGetTarget(out lastSnapshot) &&
lastSnapshot.VersionNumber == version;
}
private ITableEntriesSnapshot CreateSnapshot(int version, ImmutableArray<TItem> items)
{
var snapshot = _entriesSources.CreateSnapshot(version, items, _entriesSources.GetTrackingPoints(items));
_lastSnapshotWeakReference.SetTarget(snapshot);
return snapshot;
}
private class AggregatedEntriesSource
{
private readonly EntriesSourceCollections _sources;
private readonly AbstractTableDataSource<TItem, TData> _tableSource;
public AggregatedEntriesSource(AbstractTableDataSource<TItem, TData> tableSource, AbstractTableEntriesSource<TItem> primary)
{
_tableSource = tableSource;
_sources = new EntriesSourceCollections(primary);
}
public void OnDataAddedOrChanged(TData data)
=> _sources.OnDataAddedOrChanged(data, _tableSource);
public bool OnDataRemoved(TData data)
=> _sources.OnDataRemoved(data, _tableSource);
public ImmutableArray<TItem> GetItems()
{
if (_sources.Primary != null)
{
return _sources.Primary.GetItems();
}
// flatten items from multiple sources and group them by deduplication identity
// merge duplicated items into de-duplicated item list
return _tableSource.AggregateItems(
_sources.GetSources()
.SelectMany(s => s.GetItems())
.GroupBy(d => d, _tableSource.GroupingComparer));
}
public ImmutableArray<ITrackingPoint> GetTrackingPoints(ImmutableArray<TItem> items)
{
if (items.Length == 0)
{
return ImmutableArray<ITrackingPoint>.Empty;
}
if (_sources.Primary != null)
{
return _sources.Primary.GetTrackingPoints(items);
}
return _tableSource.Workspace.CreateTrackingPoints(items[0].DocumentId, items);
}
public AbstractTableEntriesSnapshot<TItem> CreateSnapshot(int version, ImmutableArray<TItem> items, ImmutableArray<ITrackingPoint> trackingPoints)
{
if (_sources.Primary != null)
{
return _tableSource.CreateSnapshot(_sources.Primary, version, items, trackingPoints);
}
// we can be called back from error list while all sources are removed but before error list know about it yet
// since notification is pending in the queue.
var source = _sources.GetSources().FirstOrDefault();
if (source == null)
{
return new EmptySnapshot(version);
}
return _tableSource.CreateSnapshot(source, version, items, trackingPoints);
}
private class EmptySnapshot : AbstractTableEntriesSnapshot<TItem>
{
public EmptySnapshot(int version)
: base(version, ImmutableArray<TItem>.Empty, ImmutableArray<ITrackingPoint>.Empty)
{
}
public override bool TryNavigateTo(int index, bool previewTab, bool activate, CancellationToken cancellationToken) => false;
public override bool TryGetValue(int index, string columnName, out object content)
{
content = null;
return false;
}
}
private class EntriesSourceCollections
{
private AbstractTableEntriesSource<TItem> _primary;
private Dictionary<object, AbstractTableEntriesSource<TItem>> _sources;
public EntriesSourceCollections(AbstractTableEntriesSource<TItem> primary)
{
Contract.ThrowIfNull(primary);
_primary = primary;
}
public AbstractTableEntriesSource<TItem> Primary
{
get
{
if (_primary != null)
{
return _primary;
}
if (_sources.Count == 1)
{
return _sources.Values.First();
}
return null;
}
}
public IEnumerable<AbstractTableEntriesSource<TItem>> GetSources()
{
EnsureSources();
return _sources.Values;
}
private void EnsureSources()
{
if (_sources == null)
{
_sources = new Dictionary<object, AbstractTableEntriesSource<TItem>>
{
{ _primary.Key, _primary }
};
_primary = null;
}
}
public void OnDataAddedOrChanged(TData data, AbstractTableDataSource<TItem, TData> tableSource)
{
var key = tableSource.GetItemKey(data);
if (_primary != null && _primary.Key.Equals(key))
{
return;
}
if (_sources != null)
{
if (_sources.ContainsKey(key))
{
return;
}
}
EnsureSources();
var source = tableSource.CreateTableEntriesSource(data);
_sources.Add(source.Key, source);
}
public bool OnDataRemoved(TData data, AbstractTableDataSource<TItem, TData> tableSource)
{
var key = tableSource.GetItemKey(data);
if (_primary != null && _primary.Key.Equals(key))
{
return true;
}
if (_sources != null)
{
_sources.Remove(key);
return _sources.Count == 0;
}
// they never reported to us before
return false;
}
}
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using Microsoft.VisualStudio.Shell.TableManager;
using Microsoft.VisualStudio.Text;
using Roslyn.Utilities;
namespace Microsoft.VisualStudio.LanguageServices.Implementation.TableDataSource
{
internal class TableEntriesFactory<TItem, TData> : ITableEntriesSnapshotFactory
where TItem : TableItem
{
private readonly object _gate = new();
private readonly AbstractTableDataSource<TItem, TData> _tableSource;
private readonly AggregatedEntriesSource _entriesSources;
private readonly WeakReference<ITableEntriesSnapshot> _lastSnapshotWeakReference = new(null);
private int _lastVersion = 0;
public TableEntriesFactory(AbstractTableDataSource<TItem, TData> tableSource, AbstractTableEntriesSource<TItem> entriesSource)
{
_tableSource = tableSource;
_entriesSources = new AggregatedEntriesSource(_tableSource, entriesSource);
}
public int CurrentVersionNumber
{
get
{
lock (_gate)
{
return _lastVersion;
}
}
}
public ITableEntriesSnapshot GetCurrentSnapshot()
{
lock (_gate)
{
var version = _lastVersion;
if (TryGetLastSnapshot(version, out var lastSnapshot))
{
return lastSnapshot;
}
var items = _entriesSources.GetItems();
return CreateSnapshot(version, items);
}
}
public ITableEntriesSnapshot GetSnapshot(int versionNumber)
{
lock (_gate)
{
if (TryGetLastSnapshot(versionNumber, out var lastSnapshot))
{
return lastSnapshot;
}
var version = _lastVersion;
if (version != versionNumber)
{
_tableSource.Refresh(this);
return null;
}
var items = _entriesSources.GetItems();
return CreateSnapshot(version, items);
}
}
public void OnDataAddedOrChanged(TData data)
{
lock (_gate)
{
UpdateVersion_NoLock();
_entriesSources.OnDataAddedOrChanged(data);
}
}
public bool OnDataRemoved(TData data)
{
lock (_gate)
{
UpdateVersion_NoLock();
return _entriesSources.OnDataRemoved(data);
}
}
public void OnRefreshed()
{
lock (_gate)
{
UpdateVersion_NoLock();
}
}
protected void UpdateVersion_NoLock()
=> _lastVersion++;
public void Dispose()
{
}
private bool TryGetLastSnapshot(int version, out ITableEntriesSnapshot lastSnapshot)
{
return _lastSnapshotWeakReference.TryGetTarget(out lastSnapshot) &&
lastSnapshot.VersionNumber == version;
}
private ITableEntriesSnapshot CreateSnapshot(int version, ImmutableArray<TItem> items)
{
var snapshot = _entriesSources.CreateSnapshot(version, items, _entriesSources.GetTrackingPoints(items));
_lastSnapshotWeakReference.SetTarget(snapshot);
return snapshot;
}
private class AggregatedEntriesSource
{
private readonly EntriesSourceCollections _sources;
private readonly AbstractTableDataSource<TItem, TData> _tableSource;
public AggregatedEntriesSource(AbstractTableDataSource<TItem, TData> tableSource, AbstractTableEntriesSource<TItem> primary)
{
_tableSource = tableSource;
_sources = new EntriesSourceCollections(primary);
}
public void OnDataAddedOrChanged(TData data)
=> _sources.OnDataAddedOrChanged(data, _tableSource);
public bool OnDataRemoved(TData data)
=> _sources.OnDataRemoved(data, _tableSource);
public ImmutableArray<TItem> GetItems()
{
if (_sources.Primary != null)
{
return _sources.Primary.GetItems();
}
// flatten items from multiple sources and group them by deduplication identity
// merge duplicated items into de-duplicated item list
return _tableSource.AggregateItems(
_sources.GetSources()
.SelectMany(s => s.GetItems())
.GroupBy(d => d, _tableSource.GroupingComparer));
}
public ImmutableArray<ITrackingPoint> GetTrackingPoints(ImmutableArray<TItem> items)
{
if (items.Length == 0)
{
return ImmutableArray<ITrackingPoint>.Empty;
}
if (_sources.Primary != null)
{
return _sources.Primary.GetTrackingPoints(items);
}
return _tableSource.Workspace.CreateTrackingPoints(items[0].DocumentId, items);
}
public AbstractTableEntriesSnapshot<TItem> CreateSnapshot(int version, ImmutableArray<TItem> items, ImmutableArray<ITrackingPoint> trackingPoints)
{
if (_sources.Primary != null)
{
return _tableSource.CreateSnapshot(_sources.Primary, version, items, trackingPoints);
}
// we can be called back from error list while all sources are removed but before error list know about it yet
// since notification is pending in the queue.
var source = _sources.GetSources().FirstOrDefault();
if (source == null)
{
return new EmptySnapshot(version);
}
return _tableSource.CreateSnapshot(source, version, items, trackingPoints);
}
private class EmptySnapshot : AbstractTableEntriesSnapshot<TItem>
{
public EmptySnapshot(int version)
: base(version, ImmutableArray<TItem>.Empty, ImmutableArray<ITrackingPoint>.Empty)
{
}
public override bool TryNavigateTo(int index, bool previewTab, bool activate, CancellationToken cancellationToken) => false;
public override bool TryGetValue(int index, string columnName, out object content)
{
content = null;
return false;
}
}
private class EntriesSourceCollections
{
private AbstractTableEntriesSource<TItem> _primary;
private Dictionary<object, AbstractTableEntriesSource<TItem>> _sources;
public EntriesSourceCollections(AbstractTableEntriesSource<TItem> primary)
{
Contract.ThrowIfNull(primary);
_primary = primary;
}
public AbstractTableEntriesSource<TItem> Primary
{
get
{
if (_primary != null)
{
return _primary;
}
if (_sources.Count == 1)
{
return _sources.Values.First();
}
return null;
}
}
public IEnumerable<AbstractTableEntriesSource<TItem>> GetSources()
{
EnsureSources();
return _sources.Values;
}
private void EnsureSources()
{
if (_sources == null)
{
_sources = new Dictionary<object, AbstractTableEntriesSource<TItem>>
{
{ _primary.Key, _primary }
};
_primary = null;
}
}
public void OnDataAddedOrChanged(TData data, AbstractTableDataSource<TItem, TData> tableSource)
{
var key = tableSource.GetItemKey(data);
if (_primary != null && _primary.Key.Equals(key))
{
return;
}
if (_sources != null)
{
if (_sources.ContainsKey(key))
{
return;
}
}
EnsureSources();
var source = tableSource.CreateTableEntriesSource(data);
_sources.Add(source.Key, source);
}
public bool OnDataRemoved(TData data, AbstractTableDataSource<TItem, TData> tableSource)
{
var key = tableSource.GetItemKey(data);
if (_primary != null && _primary.Key.Equals(key))
{
return true;
}
if (_sources != null)
{
_sources.Remove(key);
return _sources.Count == 0;
}
// they never reported to us before
return false;
}
}
}
}
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Workspaces/Core/Portable/CodeGeneration/Symbols/CodeGenerationTypeParameterSymbol.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Collections.Immutable;
namespace Microsoft.CodeAnalysis.CodeGeneration
{
internal class CodeGenerationTypeParameterSymbol : CodeGenerationTypeSymbol, ITypeParameterSymbol
{
public VarianceKind Variance { get; }
public ImmutableArray<ITypeSymbol> ConstraintTypes { get; internal set; }
public bool HasConstructorConstraint { get; }
public bool HasReferenceTypeConstraint { get; }
public bool HasValueTypeConstraint { get; }
public bool HasUnmanagedTypeConstraint { get; }
public bool HasNotNullConstraint { get; }
public int Ordinal { get; }
public CodeGenerationTypeParameterSymbol(
INamedTypeSymbol containingType,
ImmutableArray<AttributeData> attributes,
VarianceKind varianceKind,
string name,
NullableAnnotation nullableAnnotation,
ImmutableArray<ITypeSymbol> constraintTypes,
bool hasConstructorConstraint,
bool hasReferenceConstraint,
bool hasValueConstraint,
bool hasUnmanagedConstraint,
bool hasNotNullConstraint,
int ordinal)
: base(containingType?.ContainingAssembly, containingType, attributes, Accessibility.NotApplicable, default, name, SpecialType.None, nullableAnnotation)
{
this.Variance = varianceKind;
this.ConstraintTypes = constraintTypes;
this.Ordinal = ordinal;
this.HasConstructorConstraint = hasConstructorConstraint;
this.HasReferenceTypeConstraint = hasReferenceConstraint;
this.HasValueTypeConstraint = hasValueConstraint;
this.HasUnmanagedTypeConstraint = hasUnmanagedConstraint;
this.HasNotNullConstraint = hasNotNullConstraint;
}
protected override CodeGenerationTypeSymbol CloneWithNullableAnnotation(NullableAnnotation nullableAnnotation)
{
return new CodeGenerationTypeParameterSymbol(
this.ContainingType, this.GetAttributes(), this.Variance, this.Name, nullableAnnotation,
this.ConstraintTypes, this.HasConstructorConstraint, this.HasReferenceTypeConstraint,
this.HasValueTypeConstraint, this.HasUnmanagedTypeConstraint, this.HasNotNullConstraint, this.Ordinal);
}
public new ITypeParameterSymbol OriginalDefinition => this;
public ITypeParameterSymbol ReducedFrom => null;
public override SymbolKind Kind => SymbolKind.TypeParameter;
public override void Accept(SymbolVisitor visitor)
=> visitor.VisitTypeParameter(this);
public override TResult Accept<TResult>(SymbolVisitor<TResult> visitor)
=> visitor.VisitTypeParameter(this);
public override TypeKind TypeKind => TypeKind.TypeParameter;
public TypeParameterKind TypeParameterKind
{
get
{
return this.DeclaringMethod != null
? TypeParameterKind.Method
: TypeParameterKind.Type;
}
}
public IMethodSymbol DeclaringMethod
{
get
{
return this.ContainingSymbol as IMethodSymbol;
}
}
public INamedTypeSymbol DeclaringType
{
get
{
return this.ContainingSymbol as INamedTypeSymbol;
}
}
public NullableAnnotation ReferenceTypeConstraintNullableAnnotation => throw new System.NotImplementedException();
public ImmutableArray<NullableAnnotation> ConstraintNullableAnnotations => ConstraintTypes.SelectAsArray(t => t.NullableAnnotation);
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Collections.Immutable;
namespace Microsoft.CodeAnalysis.CodeGeneration
{
internal class CodeGenerationTypeParameterSymbol : CodeGenerationTypeSymbol, ITypeParameterSymbol
{
public VarianceKind Variance { get; }
public ImmutableArray<ITypeSymbol> ConstraintTypes { get; internal set; }
public bool HasConstructorConstraint { get; }
public bool HasReferenceTypeConstraint { get; }
public bool HasValueTypeConstraint { get; }
public bool HasUnmanagedTypeConstraint { get; }
public bool HasNotNullConstraint { get; }
public int Ordinal { get; }
public CodeGenerationTypeParameterSymbol(
INamedTypeSymbol containingType,
ImmutableArray<AttributeData> attributes,
VarianceKind varianceKind,
string name,
NullableAnnotation nullableAnnotation,
ImmutableArray<ITypeSymbol> constraintTypes,
bool hasConstructorConstraint,
bool hasReferenceConstraint,
bool hasValueConstraint,
bool hasUnmanagedConstraint,
bool hasNotNullConstraint,
int ordinal)
: base(containingType?.ContainingAssembly, containingType, attributes, Accessibility.NotApplicable, default, name, SpecialType.None, nullableAnnotation)
{
this.Variance = varianceKind;
this.ConstraintTypes = constraintTypes;
this.Ordinal = ordinal;
this.HasConstructorConstraint = hasConstructorConstraint;
this.HasReferenceTypeConstraint = hasReferenceConstraint;
this.HasValueTypeConstraint = hasValueConstraint;
this.HasUnmanagedTypeConstraint = hasUnmanagedConstraint;
this.HasNotNullConstraint = hasNotNullConstraint;
}
protected override CodeGenerationTypeSymbol CloneWithNullableAnnotation(NullableAnnotation nullableAnnotation)
{
return new CodeGenerationTypeParameterSymbol(
this.ContainingType, this.GetAttributes(), this.Variance, this.Name, nullableAnnotation,
this.ConstraintTypes, this.HasConstructorConstraint, this.HasReferenceTypeConstraint,
this.HasValueTypeConstraint, this.HasUnmanagedTypeConstraint, this.HasNotNullConstraint, this.Ordinal);
}
public new ITypeParameterSymbol OriginalDefinition => this;
public ITypeParameterSymbol ReducedFrom => null;
public override SymbolKind Kind => SymbolKind.TypeParameter;
public override void Accept(SymbolVisitor visitor)
=> visitor.VisitTypeParameter(this);
public override TResult Accept<TResult>(SymbolVisitor<TResult> visitor)
=> visitor.VisitTypeParameter(this);
public override TypeKind TypeKind => TypeKind.TypeParameter;
public TypeParameterKind TypeParameterKind
{
get
{
return this.DeclaringMethod != null
? TypeParameterKind.Method
: TypeParameterKind.Type;
}
}
public IMethodSymbol DeclaringMethod
{
get
{
return this.ContainingSymbol as IMethodSymbol;
}
}
public INamedTypeSymbol DeclaringType
{
get
{
return this.ContainingSymbol as INamedTypeSymbol;
}
}
public NullableAnnotation ReferenceTypeConstraintNullableAnnotation => throw new System.NotImplementedException();
public ImmutableArray<NullableAnnotation> ConstraintNullableAnnotations => ConstraintTypes.SelectAsArray(t => t.NullableAnnotation);
}
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/VisualStudio/Core/Def/Implementation/TableDataSource/DiagnosticTableControlEventProcessorProvider.AggregateDiagnosticTableControlEventProcessor.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Collections.Immutable;
using Microsoft.VisualStudio.Shell.TableControl;
namespace Microsoft.VisualStudio.LanguageServices.Implementation.TableDataSource
{
internal partial class DiagnosticTableControlEventProcessorProvider
{
private class AggregateDiagnosticTableControlEventProcessor : EventProcessor
{
private readonly ImmutableArray<EventProcessor> _additionalEventProcessors;
public AggregateDiagnosticTableControlEventProcessor(params EventProcessor[] additionalEventProcessors)
=> _additionalEventProcessors = additionalEventProcessors.ToImmutableArray();
public override void PostprocessSelectionChanged(TableSelectionChangedEventArgs e)
{
base.PostprocessSelectionChanged(e);
foreach (var processor in _additionalEventProcessors)
{
processor.PostprocessSelectionChanged(e);
}
}
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Collections.Immutable;
using Microsoft.VisualStudio.Shell.TableControl;
namespace Microsoft.VisualStudio.LanguageServices.Implementation.TableDataSource
{
internal partial class DiagnosticTableControlEventProcessorProvider
{
private class AggregateDiagnosticTableControlEventProcessor : EventProcessor
{
private readonly ImmutableArray<EventProcessor> _additionalEventProcessors;
public AggregateDiagnosticTableControlEventProcessor(params EventProcessor[] additionalEventProcessors)
=> _additionalEventProcessors = additionalEventProcessors.ToImmutableArray();
public override void PostprocessSelectionChanged(TableSelectionChangedEventArgs e)
{
base.PostprocessSelectionChanged(e);
foreach (var processor in _additionalEventProcessors)
{
processor.PostprocessSelectionChanged(e);
}
}
}
}
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Compilers/Test/Resources/Core/SymbolsTests/V3/MTTestLib4_V3.vb | ' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
' vbc /t:Library /out:MTTestLib4.Dll MTTestLib4_V3.vb /r:MTTestLib1.Dll /r:..\V1\MTTestLib2.Dll /r:..\V2\MTTestLib3.Dll
' vbc /t:module /out:MTTestModule4.netmodule MTTestLib4_V3.vb /r:MTTestLib1.Dll /r:..\V1\MTTestLib2.Dll /r:..\V2\MTTestLib3.Dll
Public Class Class6
Function Goo1() As Class1
Return Nothing
End Function
Function Goo2() As Class2
Return Nothing
End Function
Function Goo3() As Class3
Return Nothing
End Function
Function Goo4() As Class4
Return Nothing
End Function
Function Goo5() As Class5
Return Nothing
End Function
Public Bar1 As Class1
Public Bar2 As Class2
Public Bar3 As Class3
Public Bar4 As Class4
Public Bar5 As Class5
End Class
| ' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
' vbc /t:Library /out:MTTestLib4.Dll MTTestLib4_V3.vb /r:MTTestLib1.Dll /r:..\V1\MTTestLib2.Dll /r:..\V2\MTTestLib3.Dll
' vbc /t:module /out:MTTestModule4.netmodule MTTestLib4_V3.vb /r:MTTestLib1.Dll /r:..\V1\MTTestLib2.Dll /r:..\V2\MTTestLib3.Dll
Public Class Class6
Function Goo1() As Class1
Return Nothing
End Function
Function Goo2() As Class2
Return Nothing
End Function
Function Goo3() As Class3
Return Nothing
End Function
Function Goo4() As Class4
Return Nothing
End Function
Function Goo5() As Class5
Return Nothing
End Function
Public Bar1 As Class1
Public Bar2 As Class2
Public Bar3 As Class3
Public Bar4 As Class4
Public Bar5 As Class5
End Class
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Compilers/CSharp/Portable/Binder/HostObjectModeBinder.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.CSharp
{
internal sealed class HostObjectModelBinder : Binder
{
public HostObjectModelBinder(Binder next)
: base(next)
{
}
private TypeSymbol GetHostObjectType()
{
TypeSymbol result = this.Compilation.GetHostObjectTypeSymbol();
// This binder shouldn't be created if the compilation doesn't have host object type:
Debug.Assert((object)result != null);
return result;
}
internal override void LookupSymbolsInSingleBinder(
LookupResult result, string name, int arity, ConsList<TypeSymbol> basesBeingResolved, LookupOptions options, Binder originalBinder, bool diagnose, ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo)
{
var hostObjectType = GetHostObjectType();
if (hostObjectType.Kind == SymbolKind.ErrorType)
{
// The name '{0}' does not exist in the current context (are you missing a reference to assembly '{1}'?)
result.SetFrom(new CSDiagnosticInfo(
ErrorCode.ERR_NameNotInContextPossibleMissingReference,
new object[] { name, ((MissingMetadataTypeSymbol)hostObjectType).ContainingAssembly.Identity },
ImmutableArray<Symbol>.Empty,
ImmutableArray<Location>.Empty
));
}
else
{
LookupMembersInternal(result, hostObjectType, name, arity, basesBeingResolved, options, originalBinder, diagnose, ref useSiteInfo);
}
}
protected override void AddLookupSymbolsInfoInSingleBinder(LookupSymbolsInfo result, LookupOptions options, Binder originalBinder)
{
var hostObjectType = GetHostObjectType();
if (hostObjectType.Kind != SymbolKind.ErrorType)
{
AddMemberLookupSymbolsInfo(result, hostObjectType, options, originalBinder);
}
}
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.CSharp
{
internal sealed class HostObjectModelBinder : Binder
{
public HostObjectModelBinder(Binder next)
: base(next)
{
}
private TypeSymbol GetHostObjectType()
{
TypeSymbol result = this.Compilation.GetHostObjectTypeSymbol();
// This binder shouldn't be created if the compilation doesn't have host object type:
Debug.Assert((object)result != null);
return result;
}
internal override void LookupSymbolsInSingleBinder(
LookupResult result, string name, int arity, ConsList<TypeSymbol> basesBeingResolved, LookupOptions options, Binder originalBinder, bool diagnose, ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo)
{
var hostObjectType = GetHostObjectType();
if (hostObjectType.Kind == SymbolKind.ErrorType)
{
// The name '{0}' does not exist in the current context (are you missing a reference to assembly '{1}'?)
result.SetFrom(new CSDiagnosticInfo(
ErrorCode.ERR_NameNotInContextPossibleMissingReference,
new object[] { name, ((MissingMetadataTypeSymbol)hostObjectType).ContainingAssembly.Identity },
ImmutableArray<Symbol>.Empty,
ImmutableArray<Location>.Empty
));
}
else
{
LookupMembersInternal(result, hostObjectType, name, arity, basesBeingResolved, options, originalBinder, diagnose, ref useSiteInfo);
}
}
protected override void AddLookupSymbolsInfoInSingleBinder(LookupSymbolsInfo result, LookupOptions options, Binder originalBinder)
{
var hostObjectType = GetHostObjectType();
if (hostObjectType.Kind != SymbolKind.ErrorType)
{
AddMemberLookupSymbolsInfo(result, hostObjectType, options, originalBinder);
}
}
}
}
| -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Compilers/VisualBasic/Test/Emit/ExpressionTrees/Results/CheckedMiscellaneousA.txt | Lambda(
body {
Convert(
Call(
Constant(
Clazz`1[C]
type: Clazz`1[C]
)
method: System.String ToString() in System.Object (
)
type: System.String
)
type: System.Object
)
}
return type: System.Object
type: System.Func`1[System.Object]
)
Lambda(
body {
Convert(
New(
Void .ctor()(
)
type: C
)
type: System.Object
)
}
return type: System.Object
type: System.Func`1[System.Object]
)
Lambda(
body {
Convert(
MemberInit(
NewExpression(
New(
Void .ctor()(
)
type: C
)
)
bindings:
MemberAssignment(
member: System.Object P
expression: {
Convert(
New(
Void .ctor()(
)
type: C
)
type: System.Object
)
}
)
type: C
)
type: System.Object
)
}
return type: System.Object
type: System.Func`1[System.Object]
)
Lambda(
body {
Default(
type: C
)
}
return type: C
type: System.Func`1[C]
)
Lambda(
body {
Lambda(
body {
Call(
Constant(
Clazz`1[C]
type: Clazz`1[C]
)
method: Void add_EV(EVEventHandler) in Clazz`1[C] (
Constant(
null
type: Clazz`1+EVEventHandler[C]
)
)
type: System.Void
)
}
return type: System.Void
type: System.Action
)
}
return type: System.Action
type: System.Func`1[System.Action]
)
Lambda(
body {
Lambda(
body {
Call(
Constant(
Clazz`1[C]
type: Clazz`1[C]
)
method: Void remove_EV(EVEventHandler) in Clazz`1[C] (
Constant(
null
type: Clazz`1+EVEventHandler[C]
)
)
type: System.Void
)
}
return type: System.Void
type: System.Action
)
}
return type: System.Action
type: System.Func`1[System.Action]
)
Lambda(
Parameter(
x
type: System.String
)
body {
Convert(
Equal(
TypeIs(
Constant(
Clazz`1[C]
type: Clazz`1[C]
)
Type Operand: System.Object
type: System.Boolean
)
TypeIs(
Parameter(
x
type: System.String
)
Type Operand: System.String
type: System.Boolean
)
type: System.Boolean
)
type: System.Object
)
}
return type: System.Object
type: System.Func`2[System.String,System.Object]
)
Lambda(
Parameter(
x
type: System.String
)
body {
Convert(
Call(
Constant(
Clazz`1[C]
type: Clazz`1[C]
)
method: System.String get_IND(System.String) in Clazz`1[C] (
Parameter(
x
type: System.String
)
)
type: System.String
)
type: System.Object
)
}
return type: System.Object
type: System.Func`2[System.String,System.Object]
)
Lambda(
Parameter(
x
type: System.String
)
body {
Convert(
Call(
New(
Void .ctor()(
)
type: Clazz`1[C]
)
method: System.String get_IND(System.String) in Clazz`1[C] (
Parameter(
x
type: System.String
)
)
type: System.String
)
type: System.Object
)
}
return type: System.Object
type: System.Func`2[System.String,System.Object]
)
Lambda(
Parameter(
x
type: Clazz`1[C]
)
body {
Convert(
Call(
Parameter(
x
type: Clazz`1[C]
)
method: System.String get_IND(System.String) in Clazz`1[C] (
Constant(
aaa
type: System.String
)
)
type: System.String
)
type: System.Object
)
}
return type: System.Object
type: System.Func`2[Clazz`1[C],System.Object]
)
Lambda(
Parameter(
x
type: C
)
body {
MemberAccess(
Parameter(
x
type: C
)
-> P
type: System.Object
)
}
return type: System.Object
type: System.Func`2[C,System.Object]
) | Lambda(
body {
Convert(
Call(
Constant(
Clazz`1[C]
type: Clazz`1[C]
)
method: System.String ToString() in System.Object (
)
type: System.String
)
type: System.Object
)
}
return type: System.Object
type: System.Func`1[System.Object]
)
Lambda(
body {
Convert(
New(
Void .ctor()(
)
type: C
)
type: System.Object
)
}
return type: System.Object
type: System.Func`1[System.Object]
)
Lambda(
body {
Convert(
MemberInit(
NewExpression(
New(
Void .ctor()(
)
type: C
)
)
bindings:
MemberAssignment(
member: System.Object P
expression: {
Convert(
New(
Void .ctor()(
)
type: C
)
type: System.Object
)
}
)
type: C
)
type: System.Object
)
}
return type: System.Object
type: System.Func`1[System.Object]
)
Lambda(
body {
Default(
type: C
)
}
return type: C
type: System.Func`1[C]
)
Lambda(
body {
Lambda(
body {
Call(
Constant(
Clazz`1[C]
type: Clazz`1[C]
)
method: Void add_EV(EVEventHandler) in Clazz`1[C] (
Constant(
null
type: Clazz`1+EVEventHandler[C]
)
)
type: System.Void
)
}
return type: System.Void
type: System.Action
)
}
return type: System.Action
type: System.Func`1[System.Action]
)
Lambda(
body {
Lambda(
body {
Call(
Constant(
Clazz`1[C]
type: Clazz`1[C]
)
method: Void remove_EV(EVEventHandler) in Clazz`1[C] (
Constant(
null
type: Clazz`1+EVEventHandler[C]
)
)
type: System.Void
)
}
return type: System.Void
type: System.Action
)
}
return type: System.Action
type: System.Func`1[System.Action]
)
Lambda(
Parameter(
x
type: System.String
)
body {
Convert(
Equal(
TypeIs(
Constant(
Clazz`1[C]
type: Clazz`1[C]
)
Type Operand: System.Object
type: System.Boolean
)
TypeIs(
Parameter(
x
type: System.String
)
Type Operand: System.String
type: System.Boolean
)
type: System.Boolean
)
type: System.Object
)
}
return type: System.Object
type: System.Func`2[System.String,System.Object]
)
Lambda(
Parameter(
x
type: System.String
)
body {
Convert(
Call(
Constant(
Clazz`1[C]
type: Clazz`1[C]
)
method: System.String get_IND(System.String) in Clazz`1[C] (
Parameter(
x
type: System.String
)
)
type: System.String
)
type: System.Object
)
}
return type: System.Object
type: System.Func`2[System.String,System.Object]
)
Lambda(
Parameter(
x
type: System.String
)
body {
Convert(
Call(
New(
Void .ctor()(
)
type: Clazz`1[C]
)
method: System.String get_IND(System.String) in Clazz`1[C] (
Parameter(
x
type: System.String
)
)
type: System.String
)
type: System.Object
)
}
return type: System.Object
type: System.Func`2[System.String,System.Object]
)
Lambda(
Parameter(
x
type: Clazz`1[C]
)
body {
Convert(
Call(
Parameter(
x
type: Clazz`1[C]
)
method: System.String get_IND(System.String) in Clazz`1[C] (
Constant(
aaa
type: System.String
)
)
type: System.String
)
type: System.Object
)
}
return type: System.Object
type: System.Func`2[Clazz`1[C],System.Object]
)
Lambda(
Parameter(
x
type: C
)
body {
MemberAccess(
Parameter(
x
type: C
)
-> P
type: System.Object
)
}
return type: System.Object
type: System.Func`2[C,System.Object]
) | -1 |
|
dotnet/roslyn | 56,034 | Remove experimental suffix for inheritance margin | Cosifne | "2021-08-31T18:33:05Z" | "2021-08-31T20:48:02Z" | d471af61946b3709c65f63f9bfd9e331f5cde422 | 4d48ca4f141e79f548bc90c72df26e0f2ebcdd1a | Remove experimental suffix for inheritance margin. | ./src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/Utilities/NameSyntaxIterator.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Collections.Generic;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace Microsoft.CodeAnalysis.CSharp.Utilities
{
internal class NameSyntaxIterator : IEnumerable<NameSyntax>
{
private readonly NameSyntax _name;
public NameSyntaxIterator(NameSyntax name)
=> _name = name ?? throw new ArgumentNullException(nameof(name));
public IEnumerator<NameSyntax> GetEnumerator()
{
var nodes = new LinkedList<NameSyntax>();
var currentNode = _name;
while (true)
{
if (currentNode.Kind() == SyntaxKind.QualifiedName)
{
var qualifiedName = currentNode as QualifiedNameSyntax;
nodes.AddFirst(qualifiedName.Right);
currentNode = qualifiedName.Left;
}
else
{
nodes.AddFirst(currentNode);
break;
}
}
return nodes.GetEnumerator();
}
System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
=> GetEnumerator();
}
}
| // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Collections.Generic;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace Microsoft.CodeAnalysis.CSharp.Utilities
{
internal class NameSyntaxIterator : IEnumerable<NameSyntax>
{
private readonly NameSyntax _name;
public NameSyntaxIterator(NameSyntax name)
=> _name = name ?? throw new ArgumentNullException(nameof(name));
public IEnumerator<NameSyntax> GetEnumerator()
{
var nodes = new LinkedList<NameSyntax>();
var currentNode = _name;
while (true)
{
if (currentNode.Kind() == SyntaxKind.QualifiedName)
{
var qualifiedName = currentNode as QualifiedNameSyntax;
nodes.AddFirst(qualifiedName.Right);
currentNode = qualifiedName.Left;
}
else
{
nodes.AddFirst(currentNode);
break;
}
}
return nodes.GetEnumerator();
}
System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
=> GetEnumerator();
}
}
| -1 |
|
dotnet/roslyn | 56,030 | Remove RemoveUnusedReferences command hotkey | Resolves https://github.com/dotnet/roslyn/issues/56028 | JoeRobich | "2021-08-31T17:18:07Z" | "2021-08-31T18:42:08Z" | e01c311bd91e6290eefe9be9eeef76c64b08b2d5 | 2be2c34f110e7ce2f4cfd8e4b1f8153603087679 | Remove RemoveUnusedReferences command hotkey. Resolves https://github.com/dotnet/roslyn/issues/56028 | ./src/VisualStudio/Core/Def/Commands.vsct | <?xml version="1.0" encoding="utf-8"?>
<CommandTable xmlns="http://schemas.microsoft.com/VisualStudio/2005-10-18/CommandTable" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<Extern href="stdidcmd.h"/>
<Extern href="vsshlids.h"/>
<Include href="KnownImageIds.vsct"/>
<Commands package="guidRoslynPkgId">
<Groups>
<Group guid="guidRoslynGrpId" id="IDG_ROSLYN_HIDDEN_COMMANDS" priority="0x0000">
<Parent guid="guidSHLMainMenu" id="IDM_VS_MENU_EDIT" />
</Group>
<Group guid="guidCSharpGrpId" id="IDG_CSHARP_CODEGEN" priority="0x0000">
<Parent guid="guidStdEditor" id="IDM_VS_EDITOR_INTELLISENSE_MENU"/>
</Group>
<!-- Analyzer commands in Solution Explorer -->
<Group guid="guidRoslynGrpId" id="grpAnalyzerFolderContextMenu" priority="0x000">
<Parent guid="guidRoslynGrpId" id="cmdidAnalyzerFolderContextMenu"/>
</Group>
<Group guid="guidRoslynGrpId" id="grpErrorListContextMenu" priority="0x0A01">
<Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_ERRORLIST"/>
</Group>
<Group guid="guidRoslynGrpId" id="grpAddSuppressions" priority="0x0001">
<Parent guid="guidRoslynGrpId" id="cmdidAddSuppressionsContextMenu"/>
</Group>
<Group guid="guidSHLMainMenu" id="IDG_VS_CTXT_PROJWIN_SCOPE" priority="0x001">
<Parent guid="guidRoslynGrpId" id="cmdidAnalyzerFolderContextMenu"/>
</Group>
<Group guid="guidRoslynGrpId" id="grpAnalyzerRemove" priority="0x000">
<Parent guid="guidRoslynGrpId" id="cmdidAnalyzerContextMenu"/>
</Group>
<Group guid="guidSHLMainMenu" id="IDG_VS_CTXT_PROJWIN_SCOPE" priority="0x001">
<Parent guid="guidRoslynGrpId" id="cmdidAnalyzerContextMenu"/>
</Group>
<Group guid="guidRoslynGrpId" id="grpAnalyzerProperties" priority="0x002">
<Parent guid="guidRoslynGrpId" id="cmdidAnalyzerContextMenu"/>
</Group>
<Group guid="guidRoslynGrpId" id="grpDiagnosticSeverity" priority="0x000">
<Parent guid="guidRoslynGrpId" id="cmdidDiagnosticContextMenu"/>
</Group>
<Group guid="guidRoslynGrpId" id="grpDiagnosticSeverityItems" priority="0x000">
<Parent guid="guidRoslynGrpId" id="cmdidSetSeveritySubMenu"/>
</Group>
<Group guid="guidRoslynGrpId" id="grpAnalysisScopeItems" priority="0x000">
<Parent guid="guidRoslynGrpId" id="cmdidAnalysisScopeSubMenu"/>
</Group>
<Group guid="guidRoslynGrpId" id="grpErrorListDiagnosticSeverityItems" priority="0x000">
<Parent guid="guidRoslynGrpId" id="cmdidErrorListSetSeveritySubMenu"/>
</Group>
<Group guid="guidRoslynGrpId" id="grpDiagnosticProperties" priority="0x002">
<Parent guid="guidRoslynGrpId" id="cmdidDiagnosticContextMenu"/>
</Group>
<Group guid="guidRoslynGrpId" id="grpSetActiveRuleSet">
</Group>
</Groups>
<Buttons>
<!-- Organize context sub-menu -->
<Button guid="guidCSharpGrpId" id="cmdidContextOrganizeRemoveAndSort" priority="0x0400" type="Button">
<Parent guid="guidCSharpGrpId" id="IDG_CSHARP_CODEGEN"/>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>TextChanges</CommandFlag>
<Strings>
<ButtonText>Remove &and Sort</ButtonText>
<CanonicalName>RemoveAndSort</CanonicalName>
<LocCanonicalName>RemoveAndSort</LocCanonicalName>
</Strings>
</Button>
<!-- Organize top-level sub-menu -->
<Button guid="guidCSharpGrpId" id="cmdidCSharpOrganizeSortUsings" priority="0x0300" type="Button">
<Parent guid="guidCSharpGrpId" id="IDG_CSHARP_CODEGEN"/>
<Icon guid="ImageCatalogGuid" id="SortByNamespace"/>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>TextChanges</CommandFlag>
<CommandFlag>IconIsMoniker</CommandFlag>
<Strings>
<ButtonText>Sort &Usings</ButtonText>
<CanonicalName>SortUsings</CanonicalName>
<LocCanonicalName>SortUsings</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidCSharpGrpId" id="cmdidCSharpOrganizeRemoveAndSort" priority="0x0400" type="Button">
<Parent guid="guidSHLMainMenu" id="IDG_VS_CODEWIN_LANGUAGE"/>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>TextChanges</CommandFlag>
<Strings>
<ButtonText>Remove &and Sort</ButtonText>
<CanonicalName>RemoveAndSort</CanonicalName>
<LocCanonicalName>RemoveAndSort</LocCanonicalName>
</Strings>
</Button>
<!-- <project context menu> | Add | Analyzer... -->
<Button guid="guidRoslynGrpId" id="cmdidProjectContextAddAnalyzer" priority="0x0400" type="Button">
<Parent guid="guidSHLMainMenu" id="IDG_VS_CTXT_PROJECT_ADD_REFERENCES" />
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<Strings>
<ButtonText>&Analyzer...</ButtonText>
<CanonicalName>AddAnalyzer</CanonicalName>
<LocCanonicalName>AddAnalyzer</LocCanonicalName>
</Strings>
</Button>
<!-- Project | Add Analyzer... -->
<Button guid="guidRoslynGrpId" id="cmdidProjectAddAnalyzer" priority="0x0296" type="Button">
<Parent guid="guidSHLMainMenu" id="IDG_VS_PROJ_OPTIONS" />
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<Strings>
<ButtonText>Add &Analyzer...</ButtonText>
<CanonicalName>AddAnalyzer</CanonicalName>
<LocCanonicalName>AddAnalyzer</LocCanonicalName>
</Strings>
</Button>
<!-- <References node context menu> | Add Analyzer -->
<Button guid="guidRoslynGrpId" id="cmdidReferencesContextAddAnalyzer" priority="0x1100" type="Button">
<Parent guid="guidSHLMainMenu" id="IDG_VS_CTXT_REFROOT_ADD" />
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<Strings>
<ButtonText>Add &Analyzer...</ButtonText>
<CanonicalName>AddAnalyzer</CanonicalName>
<LocCanonicalName>AddAnalyzer</LocCanonicalName>
</Strings>
</Button>
<!-- Analyzer buttons in Solution Explorer -->
<Button guid="guidRoslynGrpId" id="cmdidAddAnalyzer" priority="100" type="Button">
<Parent guid="guidRoslynGrpId" id="grpAnalyzerFolderContextMenu" />
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<Strings>
<ButtonText>Add &Analyzer...</ButtonText>
<CanonicalName>AddAnalyzer</CanonicalName>
<LocCanonicalName>AddAnalyzer</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidRemoveAnalyzer" priority="100" type="Button">
<Parent guid="guidRoslynGrpId" id="grpAnalyzerRemove" />
<Strings>
<ButtonText>&Remove</ButtonText>
<CanonicalName>RemoveAnalyzer</CanonicalName>
<LocCanonicalName>RemoveAnalyzer</LocCanonicalName>
<CommandName>RemoveAnalyzer</CommandName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidOpenRuleSet" priority="200" type="Button">
<Parent guid="guidRoslynGrpId" id="grpAnalyzerFolderContextMenu" />
<Strings>
<ButtonText>&Open Active Rule Set</ButtonText>
<CanonicalName>OpenActiveRuleSet</CanonicalName>
<LocCanonicalName>OpenActiveRuleSet</LocCanonicalName>
<CommandName>OpenActiveRuleSet</CommandName>
</Strings>
</Button>
<!-- Buttons to set severity of diagnostics in analyzers node and error list -->
<Button guid="guidRoslynGrpId" id="cmdidSetSeverityDefault" priority="100" type="Button">
<Parent guid="guidRoslynGrpId" id="grpDiagnosticSeverityItems" />
<Strings>
<ButtonText>&Default</ButtonText>
<CanonicalName>Default</CanonicalName>
<LocCanonicalName>Default</LocCanonicalName>
<CommandName>SetSeverityDefault</CommandName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidErrorListSetSeverityDefault" priority="100" type="Button">
<Parent guid="guidRoslynGrpId" id="grpErrorListDiagnosticSeverityItems" />
<Strings>
<ButtonText>&Default</ButtonText>
<CanonicalName>Default</CanonicalName>
<LocCanonicalName>Default</LocCanonicalName>
<CommandName>ErrorListSetSeverityDefault</CommandName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidSetSeverityError" priority="200" type="Button">
<Parent guid="guidRoslynGrpId" id="grpDiagnosticSeverityItems" />
<Strings>
<ButtonText>&Error</ButtonText>
<CanonicalName>Error</CanonicalName>
<LocCanonicalName>Error</LocCanonicalName>
<CommandName>SetSeverityError</CommandName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidErrorListSetSeverityError" priority="200" type="Button">
<Parent guid="guidRoslynGrpId" id="grpErrorListDiagnosticSeverityItems" />
<Strings>
<ButtonText>&Error</ButtonText>
<CanonicalName>Error</CanonicalName>
<LocCanonicalName>Error</LocCanonicalName>
<CommandName>ErrorListSetSeverityError</CommandName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidSetSeverityWarning" priority="300" type="Button">
<Parent guid="guidRoslynGrpId" id="grpDiagnosticSeverityItems" />
<Strings>
<ButtonText>&Warning</ButtonText>
<CanonicalName>Warning</CanonicalName>
<LocCanonicalName>Warning</LocCanonicalName>
<CommandName>SetSeverityWarning</CommandName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidErrorListSetSeverityWarning" priority="300" type="Button">
<Parent guid="guidRoslynGrpId" id="grpErrorListDiagnosticSeverityItems" />
<Strings>
<ButtonText>&Warning</ButtonText>
<CanonicalName>Warning</CanonicalName>
<LocCanonicalName>Warning</LocCanonicalName>
<CommandName>ErrorListSetSeverityWarning</CommandName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidSetSeverityInfo" priority="400" type="Button">
<Parent guid="guidRoslynGrpId" id="grpDiagnosticSeverityItems" />
<Strings>
<ButtonText>&Suggestion</ButtonText>
<CanonicalName>Suggestion</CanonicalName>
<LocCanonicalName>Suggestion</LocCanonicalName>
<CommandName>SetSeverityInfo</CommandName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidErrorListSetSeverityInfo" priority="400" type="Button">
<Parent guid="guidRoslynGrpId" id="grpErrorListDiagnosticSeverityItems" />
<Strings>
<ButtonText>&Suggestion</ButtonText>
<CanonicalName>Suggestion</CanonicalName>
<LocCanonicalName>Suggestion</LocCanonicalName>
<CommandName>ErrorListSetSeverityInfo</CommandName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidSetSeverityHidden" priority="500" type="Button">
<Parent guid="guidRoslynGrpId" id="grpDiagnosticSeverityItems" />
<Strings>
<ButtonText>&Silent</ButtonText>
<CanonicalName>Silent</CanonicalName>
<LocCanonicalName>Silent</LocCanonicalName>
<CommandName>SetSeverityHidden</CommandName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidErrorListSetSeverityHidden" priority="500" type="Button">
<Parent guid="guidRoslynGrpId" id="grpErrorListDiagnosticSeverityItems" />
<Strings>
<ButtonText>&Silent</ButtonText>
<CanonicalName>Silent</CanonicalName>
<LocCanonicalName>Silent</LocCanonicalName>
<CommandName>ErrorListSetSeverityHidden</CommandName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidSetSeverityNone" priority="600" type="Button">
<Parent guid="guidRoslynGrpId" id="grpDiagnosticSeverityItems" />
<Strings>
<ButtonText>&None</ButtonText>
<CanonicalName>None</CanonicalName>
<LocCanonicalName>None</LocCanonicalName>
<CommandName>SetSeverityNone</CommandName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidErrorListSetSeverityNone" priority="600" type="Button">
<Parent guid="guidRoslynGrpId" id="grpErrorListDiagnosticSeverityItems" />
<Strings>
<ButtonText>&None</ButtonText>
<CanonicalName>None</CanonicalName>
<LocCanonicalName>None</LocCanonicalName>
<CommandName>ErrorListSetSeverityNone</CommandName>
</Strings>
</Button>
<!-- Buttons to set analysis scope for solution -->
<Button guid="guidRoslynGrpId" id="cmdidAnalysisScopeDefault" priority="100" type="Button">
<Parent guid="guidRoslynGrpId" id="grpAnalysisScopeItems" />
<CommandFlag>DefaultDisabled</CommandFlag>
<CommandFlag>TextChanges</CommandFlag>
<Strings>
<ButtonText>&Default</ButtonText>
<CanonicalName>Default</CanonicalName>
<LocCanonicalName>Default</LocCanonicalName>
<CommandName>AnalysisScopeDefault</CommandName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidAnalysisScopeCurrentFile" priority="200" type="Button">
<Parent guid="guidRoslynGrpId" id="grpAnalysisScopeItems" />
<CommandFlag>DefaultDisabled</CommandFlag>
<Strings>
<ButtonText>&Current Document</ButtonText>
<CanonicalName>Current Document</CanonicalName>
<LocCanonicalName>Current Document</LocCanonicalName>
<CommandName>AnalysisScopeCurrentDocument</CommandName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidAnalysisScopeOpenFiles" priority="300" type="Button">
<Parent guid="guidRoslynGrpId" id="grpAnalysisScopeItems" />
<CommandFlag>DefaultDisabled</CommandFlag>
<Strings>
<ButtonText>&Open Documents</ButtonText>
<CanonicalName>Open Documents</CanonicalName>
<LocCanonicalName>Open Documents</LocCanonicalName>
<CommandName>AnalysisScopeOpenDocuments</CommandName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidAnalysisScopeEntireSolution" priority="400" type="Button">
<Parent guid="guidRoslynGrpId" id="grpAnalysisScopeItems" />
<CommandFlag>DefaultDisabled</CommandFlag>
<Strings>
<ButtonText>&Entire Solution</ButtonText>
<CanonicalName>Entire Solution</CanonicalName>
<LocCanonicalName>Entire Solution</LocCanonicalName>
<CommandName>AnalysisScopeEntireSolution</CommandName>
</Strings>
</Button>
<!-- Button to open the diagnostic help link -->
<Button guid="guidRoslynGrpId" id="cmdidOpenDiagnosticHelpLink" priority="100" type="Button">
<Parent guid="guidRoslynGrpId" id="grpDiagnosticProperties" />
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<Strings>
<ButtonText>&View Help...</ButtonText>
<CanonicalName>ViewHelp</CanonicalName>
<LocCanonicalName>ViewHelp</LocCanonicalName>
<CommandName>ViewHelp</CommandName>
</Strings>
</Button>
<!-- Button to set the active rule set -->
<Button guid="guidRoslynGrpId" id="cmdidSetActiveRuleSet" priority="100" type="Button">
<Parent guid="guidRoslynGrpId" id="grpSetActiveRuleSet" />
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<Strings>
<ButtonText>&Set as Active Rule Set</ButtonText>
<CanonicalName>SetAsActiveRuleSet</CanonicalName>
<LocCanonicalName>SetAsActiveRuleSet</LocCanonicalName>
<CommandName>SetAsActiveRuleSet</CommandName>
</Strings>
</Button>
<!-- Commands in the error list context menu to add/remove suppressions -->
<Button guid="guidRoslynGrpId" id="cmdidRemoveSuppressions" priority="0xf002" type="Button">
<Parent guid="guidRoslynGrpId" id="grpErrorListContextMenu"/>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>TextChanges</CommandFlag>
<Strings>
<ButtonText>Remove& Suppression(s)</ButtonText>
<CanonicalName>RemoveSuppressions</CanonicalName>
<LocCanonicalName>RemoveSuppressions</LocCanonicalName>
<CommandName>RemoveSuppressions</CommandName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidAddSuppressionsInSource" priority="0x0100" type="Button">
<Parent guid="guidRoslynGrpId" id="grpAddSuppressions"/>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultDisabled</CommandFlag>
<Strings>
<ButtonText>In &Source</ButtonText>
<CanonicalName>AddSuppressionsInSource</CanonicalName>
<LocCanonicalName>AddSuppressionsInSource</LocCanonicalName>
<CommandName>AddSuppressionsInSource</CommandName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidAddSuppressionsInSuppressionFile" priority="0x0101" type="Button">
<Parent guid="guidRoslynGrpId" id="grpAddSuppressions"/>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultDisabled</CommandFlag>
<Strings>
<ButtonText>In& Suppression File</ButtonText>
<CanonicalName>AddSuppressionsInSuppressionFile</CanonicalName>
<LocCanonicalName>AddSuppressionsInSuppressionFile</LocCanonicalName>
<CommandName>AddSuppressionsInSuppressionFile</CommandName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidGoToImplementation" priority="0x0200" type="Button">
<Parent guid="guidSHLMainMenu" id="IDG_VS_EDIT_GOTO"/>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>CommandWellOnly</CommandFlag>
<Strings>
<ButtonText>Go To Implementation</ButtonText>
<CanonicalName>GoToImplementation</CanonicalName>
<LocCanonicalName>GoToImplementation</LocCanonicalName>
<CommandName>Go To Implementation</CommandName>
</Strings>
</Button>
<!-- Interactive context menu in solution explorer. -->
<Button guid="guidCSharpInteractiveCommandSet" id="cmdidResetInteractiveFromProject" priority="0x0100" type="Button">
<Parent guid="guidCSharpInteractiveCommandSet" id="IDG_INTERACTIVE_PROJECT"/>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<Strings>
<ButtonText>Initialize Interactive with Project</ButtonText>
<CanonicalName>ResetC#InteractiveFromProject</CanonicalName>
<LocCanonicalName>ResetC#InteractiveFromProject</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidVisualBasicInteractiveCommandSet" id="cmdidResetInteractiveFromProject" priority="0x0100" type="Button">
<Parent guid="guidVisualBasicInteractiveCommandSet" id="IDG_INTERACTIVE_PROJECT"/>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<Strings>
<ButtonText>Reset Visual Basic Interactive from Project</ButtonText>
<CanonicalName>ResetVisualBasicInteractiveFromProject</CanonicalName>
<LocCanonicalName>ResetVisualBasicInteractiveFromProject</LocCanonicalName>
</Strings>
</Button>
<!-- Run code analysis commands -->
<!-- "Run Code Analysis on <%ProjectName%>" command for Top level "Build" and "Analyze" menus.
"ECMD_RUNFXCOPSEL" is actually defined in stdidcmd.h, we're just referencing it here -->
<Button guid="guidVSStd2K" id="ECMD_RUNFXCOPSEL" priority="0x0000" type="Button">
<CommandFlag>TextChanges</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>DefaultDisabled</CommandFlag>
<Strings>
<ButtonText>Run Code &Analysis on Selection</ButtonText>
</Strings>
</Button>
<!-- "Run Code Analysis" command for Solution Explorer "Analyze and Code Cleanup" context menu for project node -->
<Button guid="guidRoslynGrpId" id="cmdidRunCodeAnalysisForProject" priority="0x0000" type="Button">
<Parent guid="guidSHLMainMenu" id="IDG_VS_CTXT_PROJECT_ANALYZE_GENERAL"/>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<Strings>
<ButtonText>Run C&ode Analysis</ButtonText>
<CanonicalName>RunCodeAnalysisForProject</CanonicalName>
<LocCanonicalName>RunCodeAnalysisForProject</LocCanonicalName>
<CommandName>RunCodeAnalysisForProject</CommandName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidRemoveUnusedReferences" priority="0x0300" type="Button">
<Parent guid="guidReferenceContext" id="cmdAddReferenceGroup"/>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>DefaultDisabled</CommandFlag>
<Strings>
<ButtonText>Remove &Unused References...</ButtonText>
<CommandName>RemoveUnusedReferences</CommandName>
<CanonicalName>RemoveUnusedReferences</CanonicalName>
<LocCanonicalName>RemoveUnusedReferences</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidSyncNamespaces" priority="0x0301" type="Button">
<Parent guid="guidReferenceContext" id="cmdAddReferenceGroup"/>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>DefaultDisabled</CommandFlag>
<Strings>
<ButtonText>Sync &Namespaces</ButtonText>
<CommandName>SyncNamespaces</CommandName>
<CanonicalName>SyncNamespaces</CanonicalName>
<LocCanonicalName>SyncNamespaces</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidshowValueTracking" priority="0x0203" type="Button">
<Parent guid="guidSHLMainMenu" id="IDG_VS_EDIT_GOTO"/>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>CommandWellOnly</CommandFlag>
<Strings>
<ButtonText>Track Value Source</ButtonText>
<CommandName>ShowValueTrackingCommandName</CommandName>
<CanonicalName>ShowValueTracking</CanonicalName>
<LocCanonicalName>ViewEditorConfigSettings</LocCanonicalName>
</Strings>
</Button>
</Buttons>
<Menus>
<Menu guid="guidRoslynGrpId" id="cmdidAnalyzerContextMenu" priority="100" type="Context">
<Parent guid="guidSHLMainMenu" id="IDG_VS_CTXT_SOLNEXPL_ALL" />
<Strings>
<ButtonText>Analyzer</ButtonText>
<CanonicalName>Analyzer</CanonicalName>
<LocCanonicalName>Analyzer</LocCanonicalName>
</Strings>
</Menu>
<Menu guid="guidRoslynGrpId" id="cmdidAnalyzerFolderContextMenu" priority="100" type="Context">
<Parent guid="guidSHLMainMenu" id="IDG_VS_CTXT_SOLNEXPL_ALL" />
<Strings>
<ButtonText>Analyzers</ButtonText>
<CanonicalName>Analyzers</CanonicalName>
<LocCanonicalName>Analyzers</LocCanonicalName>
</Strings>
</Menu>
<Menu guid="guidRoslynGrpId" id="cmdidDiagnosticContextMenu" priority="100" type="Context">
<Parent guid="guidSHLMainMenu" id="IDG_VS_CTXT_SOLNEXPL_ALL" />
<Strings>
<ButtonText>Diagnostic</ButtonText>
<CanonicalName>Diagnostic</CanonicalName>
<LocCanonicalName>Diagnostic</LocCanonicalName>
</Strings>
</Menu>
<Menu guid="guidRoslynGrpId" id="cmdidSetSeveritySubMenu" priority="50" type="Menu">
<Parent guid="guidRoslynGrpId" id="grpDiagnosticSeverity" />
<Strings>
<ButtonText>Set severity</ButtonText>
<CommandName>Set severity</CommandName>
<CanonicalName>Set severity</CanonicalName>
<LocCanonicalName>Set severity</LocCanonicalName>
</Strings>
</Menu>
<Menu guid="guidRoslynGrpId" id="cmdidAnalysisScopeSubMenu" priority="0x510" type="Menu">
<Parent guid="guidEditorCommands" id="IDG_CTX_CODECLEANUP_CONFIGURE_SOLUTION" />
<Strings>
<ButtonText>Set Analysis Scope</ButtonText>
<CommandName>Set Analysis Scope</CommandName>
<CanonicalName>Set Analysis Scope</CanonicalName>
<LocCanonicalName>SetAnalysisScope</LocCanonicalName>
</Strings>
</Menu>
<!-- Error list context menu items for Suppressions. -->
<Menu guid="guidRoslynGrpId" id="cmdidAddSuppressionsContextMenu" priority="0xf002" type="Menu">
<Parent guid="guidRoslynGrpId" id="grpErrorListContextMenu"/>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>TextChanges</CommandFlag>
<Strings>
<ButtonText>S&uppress</ButtonText>
<CanonicalName>S&uppress</CanonicalName>
<LocCanonicalName>S&uppress</LocCanonicalName>
<CommandName>S&uppress</CommandName>
</Strings>
</Menu>
<!-- Error list context menu items for Set severity. -->
<Menu guid="guidRoslynGrpId" id="cmdidErrorListSetSeveritySubMenu" priority="0xf003" type="Menu">
<Parent guid="guidRoslynGrpId" id="grpErrorListContextMenu"/>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>TextChanges</CommandFlag>
<Strings>
<ButtonText>Set severity</ButtonText>
<CommandName>Set severity</CommandName>
<CanonicalName>Set severity</CanonicalName>
<LocCanonicalName>Set severity</LocCanonicalName>
</Strings>
</Menu>
</Menus>
</Commands>
<CommandPlacements>
<CommandPlacement guid="guidVSStd2K" id="ECMD_INSERTCOMMENT" priority="0x0900">
<Parent guid="guidSHLMainMenu" id="IDG_VS_CODEWIN_SNIPPETS" />
</CommandPlacement>
<!-- Analyzer node entries -->
<CommandPlacement guid="guidVSStd97" id="cmdidPropSheetOrProperties" priority="200">
<Parent guid="guidRoslynGrpId" id="grpAnalyzerProperties" />
</CommandPlacement>
<!-- Diagnostic node entries -->
<CommandPlacement guid="guidVSStd97" id="cmdidPropSheetOrProperties" priority="200">
<Parent guid="guidRoslynGrpId" id="grpDiagnosticProperties" />
</CommandPlacement>
<!-- "Set as Active Rule Set" entries -->
<CommandPlacement guid="guidRoslynGrpId" id="grpSetActiveRuleSet" priority="0x0200">
<Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_ITEMNODE"/>
</CommandPlacement>
<CommandPlacement guid="guidRoslynGrpId" id="grpSetActiveRuleSet" priority="0x0200">
<Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_WEBITEMNODE"/>
</CommandPlacement>
<CommandPlacement guid="guidRoslynGrpId" id="cmdidGoToImplementation" priority="0x0200">
<Parent guid="guidSHLMainMenu" id="IDG_VS_CODEWIN_NAVIGATETOLOCATION"/>
</CommandPlacement>
<CommandPlacement guid="guidRoslynGrpId" id="cmdidRemoveUnusedReferences" priority="0xF200">
<Parent guid="guidSHLMainMenu" id="IDG_VS_CTXT_PROJECT_ADD" />
</CommandPlacement>
<CommandPlacement guid="guidRoslynGrpId" id="cmdidRemoveUnusedReferences" priority="0xF200">
<Parent guid="guidSHLMainMenu" id="IDG_VS_CTXT_REFROOT_ADD" />
</CommandPlacement>
<CommandPlacement guid="guidRoslynGrpId" id="cmdidSyncNamespaces" priority="0xF200">
<Parent guid="guidSHLMainMenu" id="IDG_VS_CTXT_PROJECT_ADD" />
</CommandPlacement>
<CommandPlacement guid="guidRoslynGrpId" id="cmdidSyncNamespaces" priority="0xF200">
<Parent guid="guidSHLMainMenu" id="IDG_VS_CTXT_SOLUTION_ADD" />
</CommandPlacement>
<CommandPlacement guid="guidRoslynGrpId" id="cmdidshowValueTracking" priority="0xF200">
<Parent guid="guidSHLMainMenu" id="IDG_VS_CODEWIN_NAVIGATETOLOCATION"/>
</CommandPlacement>
</CommandPlacements>
<KeyBindings>
<KeyBinding guid="guidRoslynGrpId" id="cmdidGoToImplementation" mod1="Control" key1="VK_F12" editor="guidCSharpEditorFactory" />
<KeyBinding guid="guidRoslynGrpId" id="cmdidGoToImplementation" mod1="Control" key1="VK_F12" editor="guidCSharpCodePageEditorFactory" />
<KeyBinding guid="guidRoslynGrpId" id="cmdidGoToImplementation" mod1="Control" key1="VK_F12" editor="guidVisualBasicEditorFactory" />
<KeyBinding guid="guidRoslynGrpId" id="cmdidGoToImplementation" mod1="Control" key1="VK_F12" editor="guidVisualBasicCodePageEditorFactory" />
<KeyBinding guid="guidCSharpGrpId" id="cmdidCSharpOrganizeRemoveAndSort" mod1="Control" key1="R" key2="G" editor="guidVSStd97" />
<KeyBinding guid="guidCSharpGrpId" id="cmdidCSharpOrganizeRemoveAndSort" mod1="Control" key1="R" mod2="Control" key2="G" editor="guidVSStd97" />
</KeyBindings>
<UsedCommands>
<UsedCommand guid="guidVSStd2K" id="ECMD_INSERTCOMMENT" />
<UsedCommand guid="guidVSStd2K" id="ECMD_RUNFXCOPSEL"/>
</UsedCommands>
<Symbols>
<GuidSymbol name="guidRoslynPkgId" value="{6cf2e545-6109-4730-8883-cf43d7aec3e1}" />
<GuidSymbol name="guidCSharpEditorFactory" value="{a6c744a8-0e4a-4fc6-886a-064283054674}" />
<GuidSymbol name="guidCSharpCodePageEditorFactory" value="{08467b34-b90f-4d91-bdca-eb8c8cf3033a}" />
<GuidSymbol name="guidVisualBasicEditorFactory" value="{2c015c70-c72c-11d0-88c3-00a0c9110049}" />
<GuidSymbol name="guidVisualBasicCodePageEditorFactory" value="{6c33e1aa-1401-4536-ab67-0e21e6e569da}" />
<GuidSymbol name ="guidCSharpGrpId" value ="{5d7e7f65-a63f-46ee-84f1-990b2cab23f9}">
<IDSymbol name="IDG_CSHARP_CODEGEN" value="0x3490"/>
<IDSymbol name="cmdidContextOrganizeRemoveAndSort" value="0x1913"/>
<IDSymbol name="cmdidCSharpOrganizeSortUsings" value="0x1922"/>
<IDSymbol name="cmdidCSharpOrganizeRemoveAndSort" value="0x1923"/>
</GuidSymbol>
<GuidSymbol name="guidRoslynGrpId" value="{b61e1a20-8c13-49a9-a727-a0ec091647dd}">
<IDSymbol name="IDG_ROSLYN_HIDDEN_COMMANDS" value="0x3002" />
<!-- Analyzers node context menu IDs -->
<IDSymbol name="cmdidAnalyzerContextMenu" value="0x0103" />
<IDSymbol name="grpAnalyzerProperties" value="0x0104" />
<IDSymbol name="grpAnalyzerRemove" value="0x0105" />
<IDSymbol name="cmdidAddAnalyzer" value="0x0106" />
<IDSymbol name="cmdidAnalyzerFolderContextMenu" value="0x0107" />
<IDSymbol name="grpAnalyzerFolderContextMenu" value="0x0108" />
<IDSymbol name="cmdidRemoveAnalyzer" value="0x0109" />
<IDSymbol name="cmdidOpenRuleSet" value="0x010a" />
<IDSymbol name="cmdidProjectAddAnalyzer" value="0x010b" />
<IDSymbol name="cmdidProjectContextAddAnalyzer" value="0x010c" />
<IDSymbol name="cmdidReferencesContextAddAnalyzer" value="0x010d" />
<IDSymbol name="cmdidDiagnosticContextMenu" value="0x010e" />
<IDSymbol name="grpDiagnosticSeverity" value="0x010f" />
<IDSymbol name="cmdidSetSeverityError" value="0x0110" />
<IDSymbol name="cmdidSetSeverityWarning" value="0x0111" />
<IDSymbol name="cmdidSetSeverityInfo" value="0x0112" />
<IDSymbol name="cmdidSetSeverityHidden" value="0x0113" />
<IDSymbol name="cmdidSetSeverityNone" value="0x0114" />
<IDSymbol name="grpDiagnosticProperties" value="0x0115" />
<IDSymbol name="cmdidOpenDiagnosticHelpLink" value="0x0116" />
<IDSymbol name="grpSetActiveRuleSet" value="0x0117" />
<IDSymbol name="cmdidSetActiveRuleSet" value="0x0118" />
<IDSymbol name="cmdidSetSeveritySubMenu" value="0x0119" />
<IDSymbol name="grpDiagnosticSeverityItems" value="0x011a" />
<IDSymbol name="cmdidSetSeverityDefault" value="0x011b" />
<!-- Error List context menu IDs -->
<IDSymbol name="grpErrorListContextMenu" value="0x011c" />
<IDSymbol name="cmdidAddSuppressionsContextMenu" value="0x011d" />
<IDSymbol name="grpAddSuppressions" value="0x011e" />
<IDSymbol name="cmdidAddSuppressionsInSource" value="0x011f" />
<IDSymbol name="cmdidAddSuppressionsInSuppressionFile" value="0x0120" />
<IDSymbol name="cmdidRemoveSuppressions" value="0x0121" />
<IDSymbol name="cmdidErrorListSetSeveritySubMenu" value="0x0122" />
<IDSymbol name="grpErrorListDiagnosticSeverity" value="0x0123" />
<IDSymbol name="cmdidErrorListSetSeverityError" value="0x0124" />
<IDSymbol name="cmdidErrorListSetSeverityWarning" value="0x0125" />
<IDSymbol name="cmdidErrorListSetSeverityInfo" value="0x0126" />
<IDSymbol name="cmdidErrorListSetSeverityHidden" value="0x0127" />
<IDSymbol name="cmdidErrorListSetSeverityNone" value="0x0128" />
<IDSymbol name="cmdidErrorListSetSeverityDefault" value="0x0129" />
<IDSymbol name="grpErrorListDiagnosticSeverityItems" value="0x012a" />
<!-- Analyze and Code Cleanup menu IDs -->
<IDSymbol name="cmdidAnalysisScopeSubMenu" value="0x0130" />
<IDSymbol name="cmdidAnalysisScopeDefault" value="0x0131" />
<IDSymbol name="cmdidAnalysisScopeCurrentFile" value="0x0132" />
<IDSymbol name="cmdidAnalysisScopeOpenFiles" value="0x0133" />
<IDSymbol name="cmdidAnalysisScopeEntireSolution" value="0x0134" />
<IDSymbol name="grpAnalysisScope" value="0x0135" />
<IDSymbol name="grpAnalysisScopeItems" value="0x0136" />
<IDSymbol name="cmdidGoToImplementation" value="0x0200" />
<IDSymbol name="cmdidRunCodeAnalysisForProject" value="0x0201" />
<IDSymbol name="cmdidRemoveUnusedReferences" value="0x202" />
<IDSymbol name="cmdidshowValueTracking" value="0x0203" />
<IDSymbol name="cmdidSyncNamespaces" value="0x204" />
</GuidSymbol>
<GuidSymbol name="guidEditorCommands" value="{160961B3-909D-4B28-9353-A1BEF587B4A6}">
<IDSymbol name="IDG_CTX_CODECLEANUP_CONFIGURE_SOLUTION" value="0x0028" />
</GuidSymbol>
<GuidSymbol name="guidCSharpInteractiveCommandSet" value="{1492db0a-85a2-4e43-bf0d-ce55b89a8cc6}">
<IDSymbol name="IDG_INTERACTIVE_PROJECT" value="0x0100" />
<IDSymbol name="cmdidCSharpInteractiveToolWindow" value="0x0001" />
<IDSymbol name="cmdidResetInteractiveFromProject" value="0x0002"/>
</GuidSymbol>
<GuidSymbol name="guidVisualBasicInteractiveCommandSet" value="{93DF185E-D75B-4FDB-9D47-E90F111971C5}">
<IDSymbol name="IDG_INTERACTIVE_PROJECT" value="0x100" />
<IDSymbol name="cmdidVisualBasicInteractiveToolWindow" value="0x0001" />
<IDSymbol name="cmdidResetInteractiveFromProject" value="0x0002"/>
</GuidSymbol>
<!--guidReferenceContext is aka: ShellMainMenu_guid -->
<GuidSymbol name="guidReferenceContext" value="{D309F791-903F-11D0-9EFC-00A0C911004F}">
<IDSymbol name="cmdAddReferenceGroup" value="0x450" />
</GuidSymbol>
</Symbols>
</CommandTable>
| <?xml version="1.0" encoding="utf-8"?>
<CommandTable xmlns="http://schemas.microsoft.com/VisualStudio/2005-10-18/CommandTable" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<Extern href="stdidcmd.h"/>
<Extern href="vsshlids.h"/>
<Include href="KnownImageIds.vsct"/>
<Commands package="guidRoslynPkgId">
<Groups>
<Group guid="guidRoslynGrpId" id="IDG_ROSLYN_HIDDEN_COMMANDS" priority="0x0000">
<Parent guid="guidSHLMainMenu" id="IDM_VS_MENU_EDIT" />
</Group>
<Group guid="guidCSharpGrpId" id="IDG_CSHARP_CODEGEN" priority="0x0000">
<Parent guid="guidStdEditor" id="IDM_VS_EDITOR_INTELLISENSE_MENU"/>
</Group>
<!-- Analyzer commands in Solution Explorer -->
<Group guid="guidRoslynGrpId" id="grpAnalyzerFolderContextMenu" priority="0x000">
<Parent guid="guidRoslynGrpId" id="cmdidAnalyzerFolderContextMenu"/>
</Group>
<Group guid="guidRoslynGrpId" id="grpErrorListContextMenu" priority="0x0A01">
<Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_ERRORLIST"/>
</Group>
<Group guid="guidRoslynGrpId" id="grpAddSuppressions" priority="0x0001">
<Parent guid="guidRoslynGrpId" id="cmdidAddSuppressionsContextMenu"/>
</Group>
<Group guid="guidSHLMainMenu" id="IDG_VS_CTXT_PROJWIN_SCOPE" priority="0x001">
<Parent guid="guidRoslynGrpId" id="cmdidAnalyzerFolderContextMenu"/>
</Group>
<Group guid="guidRoslynGrpId" id="grpAnalyzerRemove" priority="0x000">
<Parent guid="guidRoslynGrpId" id="cmdidAnalyzerContextMenu"/>
</Group>
<Group guid="guidSHLMainMenu" id="IDG_VS_CTXT_PROJWIN_SCOPE" priority="0x001">
<Parent guid="guidRoslynGrpId" id="cmdidAnalyzerContextMenu"/>
</Group>
<Group guid="guidRoslynGrpId" id="grpAnalyzerProperties" priority="0x002">
<Parent guid="guidRoslynGrpId" id="cmdidAnalyzerContextMenu"/>
</Group>
<Group guid="guidRoslynGrpId" id="grpDiagnosticSeverity" priority="0x000">
<Parent guid="guidRoslynGrpId" id="cmdidDiagnosticContextMenu"/>
</Group>
<Group guid="guidRoslynGrpId" id="grpDiagnosticSeverityItems" priority="0x000">
<Parent guid="guidRoslynGrpId" id="cmdidSetSeveritySubMenu"/>
</Group>
<Group guid="guidRoslynGrpId" id="grpAnalysisScopeItems" priority="0x000">
<Parent guid="guidRoslynGrpId" id="cmdidAnalysisScopeSubMenu"/>
</Group>
<Group guid="guidRoslynGrpId" id="grpErrorListDiagnosticSeverityItems" priority="0x000">
<Parent guid="guidRoslynGrpId" id="cmdidErrorListSetSeveritySubMenu"/>
</Group>
<Group guid="guidRoslynGrpId" id="grpDiagnosticProperties" priority="0x002">
<Parent guid="guidRoslynGrpId" id="cmdidDiagnosticContextMenu"/>
</Group>
<Group guid="guidRoslynGrpId" id="grpSetActiveRuleSet">
</Group>
</Groups>
<Buttons>
<!-- Organize context sub-menu -->
<Button guid="guidCSharpGrpId" id="cmdidContextOrganizeRemoveAndSort" priority="0x0400" type="Button">
<Parent guid="guidCSharpGrpId" id="IDG_CSHARP_CODEGEN"/>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>TextChanges</CommandFlag>
<Strings>
<ButtonText>Remove &and Sort</ButtonText>
<CanonicalName>RemoveAndSort</CanonicalName>
<LocCanonicalName>RemoveAndSort</LocCanonicalName>
</Strings>
</Button>
<!-- Organize top-level sub-menu -->
<Button guid="guidCSharpGrpId" id="cmdidCSharpOrganizeSortUsings" priority="0x0300" type="Button">
<Parent guid="guidCSharpGrpId" id="IDG_CSHARP_CODEGEN"/>
<Icon guid="ImageCatalogGuid" id="SortByNamespace"/>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>TextChanges</CommandFlag>
<CommandFlag>IconIsMoniker</CommandFlag>
<Strings>
<ButtonText>Sort &Usings</ButtonText>
<CanonicalName>SortUsings</CanonicalName>
<LocCanonicalName>SortUsings</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidCSharpGrpId" id="cmdidCSharpOrganizeRemoveAndSort" priority="0x0400" type="Button">
<Parent guid="guidSHLMainMenu" id="IDG_VS_CODEWIN_LANGUAGE"/>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>TextChanges</CommandFlag>
<Strings>
<ButtonText>Remove &and Sort</ButtonText>
<CanonicalName>RemoveAndSort</CanonicalName>
<LocCanonicalName>RemoveAndSort</LocCanonicalName>
</Strings>
</Button>
<!-- <project context menu> | Add | Analyzer... -->
<Button guid="guidRoslynGrpId" id="cmdidProjectContextAddAnalyzer" priority="0x0400" type="Button">
<Parent guid="guidSHLMainMenu" id="IDG_VS_CTXT_PROJECT_ADD_REFERENCES" />
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<Strings>
<ButtonText>&Analyzer...</ButtonText>
<CanonicalName>AddAnalyzer</CanonicalName>
<LocCanonicalName>AddAnalyzer</LocCanonicalName>
</Strings>
</Button>
<!-- Project | Add Analyzer... -->
<Button guid="guidRoslynGrpId" id="cmdidProjectAddAnalyzer" priority="0x0296" type="Button">
<Parent guid="guidSHLMainMenu" id="IDG_VS_PROJ_OPTIONS" />
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<Strings>
<ButtonText>Add &Analyzer...</ButtonText>
<CanonicalName>AddAnalyzer</CanonicalName>
<LocCanonicalName>AddAnalyzer</LocCanonicalName>
</Strings>
</Button>
<!-- <References node context menu> | Add Analyzer -->
<Button guid="guidRoslynGrpId" id="cmdidReferencesContextAddAnalyzer" priority="0x1100" type="Button">
<Parent guid="guidSHLMainMenu" id="IDG_VS_CTXT_REFROOT_ADD" />
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<Strings>
<ButtonText>Add &Analyzer...</ButtonText>
<CanonicalName>AddAnalyzer</CanonicalName>
<LocCanonicalName>AddAnalyzer</LocCanonicalName>
</Strings>
</Button>
<!-- Analyzer buttons in Solution Explorer -->
<Button guid="guidRoslynGrpId" id="cmdidAddAnalyzer" priority="100" type="Button">
<Parent guid="guidRoslynGrpId" id="grpAnalyzerFolderContextMenu" />
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<Strings>
<ButtonText>Add &Analyzer...</ButtonText>
<CanonicalName>AddAnalyzer</CanonicalName>
<LocCanonicalName>AddAnalyzer</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidRemoveAnalyzer" priority="100" type="Button">
<Parent guid="guidRoslynGrpId" id="grpAnalyzerRemove" />
<Strings>
<ButtonText>&Remove</ButtonText>
<CanonicalName>RemoveAnalyzer</CanonicalName>
<LocCanonicalName>RemoveAnalyzer</LocCanonicalName>
<CommandName>RemoveAnalyzer</CommandName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidOpenRuleSet" priority="200" type="Button">
<Parent guid="guidRoslynGrpId" id="grpAnalyzerFolderContextMenu" />
<Strings>
<ButtonText>&Open Active Rule Set</ButtonText>
<CanonicalName>OpenActiveRuleSet</CanonicalName>
<LocCanonicalName>OpenActiveRuleSet</LocCanonicalName>
<CommandName>OpenActiveRuleSet</CommandName>
</Strings>
</Button>
<!-- Buttons to set severity of diagnostics in analyzers node and error list -->
<Button guid="guidRoslynGrpId" id="cmdidSetSeverityDefault" priority="100" type="Button">
<Parent guid="guidRoslynGrpId" id="grpDiagnosticSeverityItems" />
<Strings>
<ButtonText>&Default</ButtonText>
<CanonicalName>Default</CanonicalName>
<LocCanonicalName>Default</LocCanonicalName>
<CommandName>SetSeverityDefault</CommandName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidErrorListSetSeverityDefault" priority="100" type="Button">
<Parent guid="guidRoslynGrpId" id="grpErrorListDiagnosticSeverityItems" />
<Strings>
<ButtonText>&Default</ButtonText>
<CanonicalName>Default</CanonicalName>
<LocCanonicalName>Default</LocCanonicalName>
<CommandName>ErrorListSetSeverityDefault</CommandName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidSetSeverityError" priority="200" type="Button">
<Parent guid="guidRoslynGrpId" id="grpDiagnosticSeverityItems" />
<Strings>
<ButtonText>&Error</ButtonText>
<CanonicalName>Error</CanonicalName>
<LocCanonicalName>Error</LocCanonicalName>
<CommandName>SetSeverityError</CommandName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidErrorListSetSeverityError" priority="200" type="Button">
<Parent guid="guidRoslynGrpId" id="grpErrorListDiagnosticSeverityItems" />
<Strings>
<ButtonText>&Error</ButtonText>
<CanonicalName>Error</CanonicalName>
<LocCanonicalName>Error</LocCanonicalName>
<CommandName>ErrorListSetSeverityError</CommandName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidSetSeverityWarning" priority="300" type="Button">
<Parent guid="guidRoslynGrpId" id="grpDiagnosticSeverityItems" />
<Strings>
<ButtonText>&Warning</ButtonText>
<CanonicalName>Warning</CanonicalName>
<LocCanonicalName>Warning</LocCanonicalName>
<CommandName>SetSeverityWarning</CommandName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidErrorListSetSeverityWarning" priority="300" type="Button">
<Parent guid="guidRoslynGrpId" id="grpErrorListDiagnosticSeverityItems" />
<Strings>
<ButtonText>&Warning</ButtonText>
<CanonicalName>Warning</CanonicalName>
<LocCanonicalName>Warning</LocCanonicalName>
<CommandName>ErrorListSetSeverityWarning</CommandName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidSetSeverityInfo" priority="400" type="Button">
<Parent guid="guidRoslynGrpId" id="grpDiagnosticSeverityItems" />
<Strings>
<ButtonText>&Suggestion</ButtonText>
<CanonicalName>Suggestion</CanonicalName>
<LocCanonicalName>Suggestion</LocCanonicalName>
<CommandName>SetSeverityInfo</CommandName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidErrorListSetSeverityInfo" priority="400" type="Button">
<Parent guid="guidRoslynGrpId" id="grpErrorListDiagnosticSeverityItems" />
<Strings>
<ButtonText>&Suggestion</ButtonText>
<CanonicalName>Suggestion</CanonicalName>
<LocCanonicalName>Suggestion</LocCanonicalName>
<CommandName>ErrorListSetSeverityInfo</CommandName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidSetSeverityHidden" priority="500" type="Button">
<Parent guid="guidRoslynGrpId" id="grpDiagnosticSeverityItems" />
<Strings>
<ButtonText>&Silent</ButtonText>
<CanonicalName>Silent</CanonicalName>
<LocCanonicalName>Silent</LocCanonicalName>
<CommandName>SetSeverityHidden</CommandName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidErrorListSetSeverityHidden" priority="500" type="Button">
<Parent guid="guidRoslynGrpId" id="grpErrorListDiagnosticSeverityItems" />
<Strings>
<ButtonText>&Silent</ButtonText>
<CanonicalName>Silent</CanonicalName>
<LocCanonicalName>Silent</LocCanonicalName>
<CommandName>ErrorListSetSeverityHidden</CommandName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidSetSeverityNone" priority="600" type="Button">
<Parent guid="guidRoslynGrpId" id="grpDiagnosticSeverityItems" />
<Strings>
<ButtonText>&None</ButtonText>
<CanonicalName>None</CanonicalName>
<LocCanonicalName>None</LocCanonicalName>
<CommandName>SetSeverityNone</CommandName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidErrorListSetSeverityNone" priority="600" type="Button">
<Parent guid="guidRoslynGrpId" id="grpErrorListDiagnosticSeverityItems" />
<Strings>
<ButtonText>&None</ButtonText>
<CanonicalName>None</CanonicalName>
<LocCanonicalName>None</LocCanonicalName>
<CommandName>ErrorListSetSeverityNone</CommandName>
</Strings>
</Button>
<!-- Buttons to set analysis scope for solution -->
<Button guid="guidRoslynGrpId" id="cmdidAnalysisScopeDefault" priority="100" type="Button">
<Parent guid="guidRoslynGrpId" id="grpAnalysisScopeItems" />
<CommandFlag>DefaultDisabled</CommandFlag>
<CommandFlag>TextChanges</CommandFlag>
<Strings>
<ButtonText>&Default</ButtonText>
<CanonicalName>Default</CanonicalName>
<LocCanonicalName>Default</LocCanonicalName>
<CommandName>AnalysisScopeDefault</CommandName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidAnalysisScopeCurrentFile" priority="200" type="Button">
<Parent guid="guidRoslynGrpId" id="grpAnalysisScopeItems" />
<CommandFlag>DefaultDisabled</CommandFlag>
<Strings>
<ButtonText>&Current Document</ButtonText>
<CanonicalName>Current Document</CanonicalName>
<LocCanonicalName>Current Document</LocCanonicalName>
<CommandName>AnalysisScopeCurrentDocument</CommandName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidAnalysisScopeOpenFiles" priority="300" type="Button">
<Parent guid="guidRoslynGrpId" id="grpAnalysisScopeItems" />
<CommandFlag>DefaultDisabled</CommandFlag>
<Strings>
<ButtonText>&Open Documents</ButtonText>
<CanonicalName>Open Documents</CanonicalName>
<LocCanonicalName>Open Documents</LocCanonicalName>
<CommandName>AnalysisScopeOpenDocuments</CommandName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidAnalysisScopeEntireSolution" priority="400" type="Button">
<Parent guid="guidRoslynGrpId" id="grpAnalysisScopeItems" />
<CommandFlag>DefaultDisabled</CommandFlag>
<Strings>
<ButtonText>&Entire Solution</ButtonText>
<CanonicalName>Entire Solution</CanonicalName>
<LocCanonicalName>Entire Solution</LocCanonicalName>
<CommandName>AnalysisScopeEntireSolution</CommandName>
</Strings>
</Button>
<!-- Button to open the diagnostic help link -->
<Button guid="guidRoslynGrpId" id="cmdidOpenDiagnosticHelpLink" priority="100" type="Button">
<Parent guid="guidRoslynGrpId" id="grpDiagnosticProperties" />
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<Strings>
<ButtonText>&View Help...</ButtonText>
<CanonicalName>ViewHelp</CanonicalName>
<LocCanonicalName>ViewHelp</LocCanonicalName>
<CommandName>ViewHelp</CommandName>
</Strings>
</Button>
<!-- Button to set the active rule set -->
<Button guid="guidRoslynGrpId" id="cmdidSetActiveRuleSet" priority="100" type="Button">
<Parent guid="guidRoslynGrpId" id="grpSetActiveRuleSet" />
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<Strings>
<ButtonText>&Set as Active Rule Set</ButtonText>
<CanonicalName>SetAsActiveRuleSet</CanonicalName>
<LocCanonicalName>SetAsActiveRuleSet</LocCanonicalName>
<CommandName>SetAsActiveRuleSet</CommandName>
</Strings>
</Button>
<!-- Commands in the error list context menu to add/remove suppressions -->
<Button guid="guidRoslynGrpId" id="cmdidRemoveSuppressions" priority="0xf002" type="Button">
<Parent guid="guidRoslynGrpId" id="grpErrorListContextMenu"/>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>TextChanges</CommandFlag>
<Strings>
<ButtonText>Remove& Suppression(s)</ButtonText>
<CanonicalName>RemoveSuppressions</CanonicalName>
<LocCanonicalName>RemoveSuppressions</LocCanonicalName>
<CommandName>RemoveSuppressions</CommandName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidAddSuppressionsInSource" priority="0x0100" type="Button">
<Parent guid="guidRoslynGrpId" id="grpAddSuppressions"/>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultDisabled</CommandFlag>
<Strings>
<ButtonText>In &Source</ButtonText>
<CanonicalName>AddSuppressionsInSource</CanonicalName>
<LocCanonicalName>AddSuppressionsInSource</LocCanonicalName>
<CommandName>AddSuppressionsInSource</CommandName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidAddSuppressionsInSuppressionFile" priority="0x0101" type="Button">
<Parent guid="guidRoslynGrpId" id="grpAddSuppressions"/>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultDisabled</CommandFlag>
<Strings>
<ButtonText>In& Suppression File</ButtonText>
<CanonicalName>AddSuppressionsInSuppressionFile</CanonicalName>
<LocCanonicalName>AddSuppressionsInSuppressionFile</LocCanonicalName>
<CommandName>AddSuppressionsInSuppressionFile</CommandName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidGoToImplementation" priority="0x0200" type="Button">
<Parent guid="guidSHLMainMenu" id="IDG_VS_EDIT_GOTO"/>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>CommandWellOnly</CommandFlag>
<Strings>
<ButtonText>Go To Implementation</ButtonText>
<CanonicalName>GoToImplementation</CanonicalName>
<LocCanonicalName>GoToImplementation</LocCanonicalName>
<CommandName>Go To Implementation</CommandName>
</Strings>
</Button>
<!-- Interactive context menu in solution explorer. -->
<Button guid="guidCSharpInteractiveCommandSet" id="cmdidResetInteractiveFromProject" priority="0x0100" type="Button">
<Parent guid="guidCSharpInteractiveCommandSet" id="IDG_INTERACTIVE_PROJECT"/>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<Strings>
<ButtonText>Initialize Interactive with Project</ButtonText>
<CanonicalName>ResetC#InteractiveFromProject</CanonicalName>
<LocCanonicalName>ResetC#InteractiveFromProject</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidVisualBasicInteractiveCommandSet" id="cmdidResetInteractiveFromProject" priority="0x0100" type="Button">
<Parent guid="guidVisualBasicInteractiveCommandSet" id="IDG_INTERACTIVE_PROJECT"/>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<Strings>
<ButtonText>Reset Visual Basic Interactive from Project</ButtonText>
<CanonicalName>ResetVisualBasicInteractiveFromProject</CanonicalName>
<LocCanonicalName>ResetVisualBasicInteractiveFromProject</LocCanonicalName>
</Strings>
</Button>
<!-- Run code analysis commands -->
<!-- "Run Code Analysis on <%ProjectName%>" command for Top level "Build" and "Analyze" menus.
"ECMD_RUNFXCOPSEL" is actually defined in stdidcmd.h, we're just referencing it here -->
<Button guid="guidVSStd2K" id="ECMD_RUNFXCOPSEL" priority="0x0000" type="Button">
<CommandFlag>TextChanges</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>DefaultDisabled</CommandFlag>
<Strings>
<ButtonText>Run Code &Analysis on Selection</ButtonText>
</Strings>
</Button>
<!-- "Run Code Analysis" command for Solution Explorer "Analyze and Code Cleanup" context menu for project node -->
<Button guid="guidRoslynGrpId" id="cmdidRunCodeAnalysisForProject" priority="0x0000" type="Button">
<Parent guid="guidSHLMainMenu" id="IDG_VS_CTXT_PROJECT_ANALYZE_GENERAL"/>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<Strings>
<ButtonText>Run C&ode Analysis</ButtonText>
<CanonicalName>RunCodeAnalysisForProject</CanonicalName>
<LocCanonicalName>RunCodeAnalysisForProject</LocCanonicalName>
<CommandName>RunCodeAnalysisForProject</CommandName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidRemoveUnusedReferences" priority="0x0300" type="Button">
<Parent guid="guidReferenceContext" id="cmdAddReferenceGroup"/>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>DefaultDisabled</CommandFlag>
<Strings>
<ButtonText>Remove Unused References...</ButtonText>
<CommandName>RemoveUnusedReferences</CommandName>
<CanonicalName>RemoveUnusedReferences</CanonicalName>
<LocCanonicalName>RemoveUnusedReferences</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidSyncNamespaces" priority="0x0301" type="Button">
<Parent guid="guidReferenceContext" id="cmdAddReferenceGroup"/>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>DefaultDisabled</CommandFlag>
<Strings>
<ButtonText>Sync &Namespaces</ButtonText>
<CommandName>SyncNamespaces</CommandName>
<CanonicalName>SyncNamespaces</CanonicalName>
<LocCanonicalName>SyncNamespaces</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidRoslynGrpId" id="cmdidshowValueTracking" priority="0x0203" type="Button">
<Parent guid="guidSHLMainMenu" id="IDG_VS_EDIT_GOTO"/>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>CommandWellOnly</CommandFlag>
<Strings>
<ButtonText>Track Value Source</ButtonText>
<CommandName>ShowValueTrackingCommandName</CommandName>
<CanonicalName>ShowValueTracking</CanonicalName>
<LocCanonicalName>ViewEditorConfigSettings</LocCanonicalName>
</Strings>
</Button>
</Buttons>
<Menus>
<Menu guid="guidRoslynGrpId" id="cmdidAnalyzerContextMenu" priority="100" type="Context">
<Parent guid="guidSHLMainMenu" id="IDG_VS_CTXT_SOLNEXPL_ALL" />
<Strings>
<ButtonText>Analyzer</ButtonText>
<CanonicalName>Analyzer</CanonicalName>
<LocCanonicalName>Analyzer</LocCanonicalName>
</Strings>
</Menu>
<Menu guid="guidRoslynGrpId" id="cmdidAnalyzerFolderContextMenu" priority="100" type="Context">
<Parent guid="guidSHLMainMenu" id="IDG_VS_CTXT_SOLNEXPL_ALL" />
<Strings>
<ButtonText>Analyzers</ButtonText>
<CanonicalName>Analyzers</CanonicalName>
<LocCanonicalName>Analyzers</LocCanonicalName>
</Strings>
</Menu>
<Menu guid="guidRoslynGrpId" id="cmdidDiagnosticContextMenu" priority="100" type="Context">
<Parent guid="guidSHLMainMenu" id="IDG_VS_CTXT_SOLNEXPL_ALL" />
<Strings>
<ButtonText>Diagnostic</ButtonText>
<CanonicalName>Diagnostic</CanonicalName>
<LocCanonicalName>Diagnostic</LocCanonicalName>
</Strings>
</Menu>
<Menu guid="guidRoslynGrpId" id="cmdidSetSeveritySubMenu" priority="50" type="Menu">
<Parent guid="guidRoslynGrpId" id="grpDiagnosticSeverity" />
<Strings>
<ButtonText>Set severity</ButtonText>
<CommandName>Set severity</CommandName>
<CanonicalName>Set severity</CanonicalName>
<LocCanonicalName>Set severity</LocCanonicalName>
</Strings>
</Menu>
<Menu guid="guidRoslynGrpId" id="cmdidAnalysisScopeSubMenu" priority="0x510" type="Menu">
<Parent guid="guidEditorCommands" id="IDG_CTX_CODECLEANUP_CONFIGURE_SOLUTION" />
<Strings>
<ButtonText>Set Analysis Scope</ButtonText>
<CommandName>Set Analysis Scope</CommandName>
<CanonicalName>Set Analysis Scope</CanonicalName>
<LocCanonicalName>SetAnalysisScope</LocCanonicalName>
</Strings>
</Menu>
<!-- Error list context menu items for Suppressions. -->
<Menu guid="guidRoslynGrpId" id="cmdidAddSuppressionsContextMenu" priority="0xf002" type="Menu">
<Parent guid="guidRoslynGrpId" id="grpErrorListContextMenu"/>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>TextChanges</CommandFlag>
<Strings>
<ButtonText>S&uppress</ButtonText>
<CanonicalName>S&uppress</CanonicalName>
<LocCanonicalName>S&uppress</LocCanonicalName>
<CommandName>S&uppress</CommandName>
</Strings>
</Menu>
<!-- Error list context menu items for Set severity. -->
<Menu guid="guidRoslynGrpId" id="cmdidErrorListSetSeveritySubMenu" priority="0xf003" type="Menu">
<Parent guid="guidRoslynGrpId" id="grpErrorListContextMenu"/>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>TextChanges</CommandFlag>
<Strings>
<ButtonText>Set severity</ButtonText>
<CommandName>Set severity</CommandName>
<CanonicalName>Set severity</CanonicalName>
<LocCanonicalName>Set severity</LocCanonicalName>
</Strings>
</Menu>
</Menus>
</Commands>
<CommandPlacements>
<CommandPlacement guid="guidVSStd2K" id="ECMD_INSERTCOMMENT" priority="0x0900">
<Parent guid="guidSHLMainMenu" id="IDG_VS_CODEWIN_SNIPPETS" />
</CommandPlacement>
<!-- Analyzer node entries -->
<CommandPlacement guid="guidVSStd97" id="cmdidPropSheetOrProperties" priority="200">
<Parent guid="guidRoslynGrpId" id="grpAnalyzerProperties" />
</CommandPlacement>
<!-- Diagnostic node entries -->
<CommandPlacement guid="guidVSStd97" id="cmdidPropSheetOrProperties" priority="200">
<Parent guid="guidRoslynGrpId" id="grpDiagnosticProperties" />
</CommandPlacement>
<!-- "Set as Active Rule Set" entries -->
<CommandPlacement guid="guidRoslynGrpId" id="grpSetActiveRuleSet" priority="0x0200">
<Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_ITEMNODE"/>
</CommandPlacement>
<CommandPlacement guid="guidRoslynGrpId" id="grpSetActiveRuleSet" priority="0x0200">
<Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_WEBITEMNODE"/>
</CommandPlacement>
<CommandPlacement guid="guidRoslynGrpId" id="cmdidGoToImplementation" priority="0x0200">
<Parent guid="guidSHLMainMenu" id="IDG_VS_CODEWIN_NAVIGATETOLOCATION"/>
</CommandPlacement>
<CommandPlacement guid="guidRoslynGrpId" id="cmdidRemoveUnusedReferences" priority="0xF200">
<Parent guid="guidSHLMainMenu" id="IDG_VS_CTXT_PROJECT_ADD" />
</CommandPlacement>
<CommandPlacement guid="guidRoslynGrpId" id="cmdidRemoveUnusedReferences" priority="0xF200">
<Parent guid="guidSHLMainMenu" id="IDG_VS_CTXT_REFROOT_ADD" />
</CommandPlacement>
<CommandPlacement guid="guidRoslynGrpId" id="cmdidSyncNamespaces" priority="0xF200">
<Parent guid="guidSHLMainMenu" id="IDG_VS_CTXT_PROJECT_ADD" />
</CommandPlacement>
<CommandPlacement guid="guidRoslynGrpId" id="cmdidSyncNamespaces" priority="0xF200">
<Parent guid="guidSHLMainMenu" id="IDG_VS_CTXT_SOLUTION_ADD" />
</CommandPlacement>
<CommandPlacement guid="guidRoslynGrpId" id="cmdidshowValueTracking" priority="0xF200">
<Parent guid="guidSHLMainMenu" id="IDG_VS_CODEWIN_NAVIGATETOLOCATION"/>
</CommandPlacement>
</CommandPlacements>
<KeyBindings>
<KeyBinding guid="guidRoslynGrpId" id="cmdidGoToImplementation" mod1="Control" key1="VK_F12" editor="guidCSharpEditorFactory" />
<KeyBinding guid="guidRoslynGrpId" id="cmdidGoToImplementation" mod1="Control" key1="VK_F12" editor="guidCSharpCodePageEditorFactory" />
<KeyBinding guid="guidRoslynGrpId" id="cmdidGoToImplementation" mod1="Control" key1="VK_F12" editor="guidVisualBasicEditorFactory" />
<KeyBinding guid="guidRoslynGrpId" id="cmdidGoToImplementation" mod1="Control" key1="VK_F12" editor="guidVisualBasicCodePageEditorFactory" />
<KeyBinding guid="guidCSharpGrpId" id="cmdidCSharpOrganizeRemoveAndSort" mod1="Control" key1="R" key2="G" editor="guidVSStd97" />
<KeyBinding guid="guidCSharpGrpId" id="cmdidCSharpOrganizeRemoveAndSort" mod1="Control" key1="R" mod2="Control" key2="G" editor="guidVSStd97" />
</KeyBindings>
<UsedCommands>
<UsedCommand guid="guidVSStd2K" id="ECMD_INSERTCOMMENT" />
<UsedCommand guid="guidVSStd2K" id="ECMD_RUNFXCOPSEL"/>
</UsedCommands>
<Symbols>
<GuidSymbol name="guidRoslynPkgId" value="{6cf2e545-6109-4730-8883-cf43d7aec3e1}" />
<GuidSymbol name="guidCSharpEditorFactory" value="{a6c744a8-0e4a-4fc6-886a-064283054674}" />
<GuidSymbol name="guidCSharpCodePageEditorFactory" value="{08467b34-b90f-4d91-bdca-eb8c8cf3033a}" />
<GuidSymbol name="guidVisualBasicEditorFactory" value="{2c015c70-c72c-11d0-88c3-00a0c9110049}" />
<GuidSymbol name="guidVisualBasicCodePageEditorFactory" value="{6c33e1aa-1401-4536-ab67-0e21e6e569da}" />
<GuidSymbol name ="guidCSharpGrpId" value ="{5d7e7f65-a63f-46ee-84f1-990b2cab23f9}">
<IDSymbol name="IDG_CSHARP_CODEGEN" value="0x3490"/>
<IDSymbol name="cmdidContextOrganizeRemoveAndSort" value="0x1913"/>
<IDSymbol name="cmdidCSharpOrganizeSortUsings" value="0x1922"/>
<IDSymbol name="cmdidCSharpOrganizeRemoveAndSort" value="0x1923"/>
</GuidSymbol>
<GuidSymbol name="guidRoslynGrpId" value="{b61e1a20-8c13-49a9-a727-a0ec091647dd}">
<IDSymbol name="IDG_ROSLYN_HIDDEN_COMMANDS" value="0x3002" />
<!-- Analyzers node context menu IDs -->
<IDSymbol name="cmdidAnalyzerContextMenu" value="0x0103" />
<IDSymbol name="grpAnalyzerProperties" value="0x0104" />
<IDSymbol name="grpAnalyzerRemove" value="0x0105" />
<IDSymbol name="cmdidAddAnalyzer" value="0x0106" />
<IDSymbol name="cmdidAnalyzerFolderContextMenu" value="0x0107" />
<IDSymbol name="grpAnalyzerFolderContextMenu" value="0x0108" />
<IDSymbol name="cmdidRemoveAnalyzer" value="0x0109" />
<IDSymbol name="cmdidOpenRuleSet" value="0x010a" />
<IDSymbol name="cmdidProjectAddAnalyzer" value="0x010b" />
<IDSymbol name="cmdidProjectContextAddAnalyzer" value="0x010c" />
<IDSymbol name="cmdidReferencesContextAddAnalyzer" value="0x010d" />
<IDSymbol name="cmdidDiagnosticContextMenu" value="0x010e" />
<IDSymbol name="grpDiagnosticSeverity" value="0x010f" />
<IDSymbol name="cmdidSetSeverityError" value="0x0110" />
<IDSymbol name="cmdidSetSeverityWarning" value="0x0111" />
<IDSymbol name="cmdidSetSeverityInfo" value="0x0112" />
<IDSymbol name="cmdidSetSeverityHidden" value="0x0113" />
<IDSymbol name="cmdidSetSeverityNone" value="0x0114" />
<IDSymbol name="grpDiagnosticProperties" value="0x0115" />
<IDSymbol name="cmdidOpenDiagnosticHelpLink" value="0x0116" />
<IDSymbol name="grpSetActiveRuleSet" value="0x0117" />
<IDSymbol name="cmdidSetActiveRuleSet" value="0x0118" />
<IDSymbol name="cmdidSetSeveritySubMenu" value="0x0119" />
<IDSymbol name="grpDiagnosticSeverityItems" value="0x011a" />
<IDSymbol name="cmdidSetSeverityDefault" value="0x011b" />
<!-- Error List context menu IDs -->
<IDSymbol name="grpErrorListContextMenu" value="0x011c" />
<IDSymbol name="cmdidAddSuppressionsContextMenu" value="0x011d" />
<IDSymbol name="grpAddSuppressions" value="0x011e" />
<IDSymbol name="cmdidAddSuppressionsInSource" value="0x011f" />
<IDSymbol name="cmdidAddSuppressionsInSuppressionFile" value="0x0120" />
<IDSymbol name="cmdidRemoveSuppressions" value="0x0121" />
<IDSymbol name="cmdidErrorListSetSeveritySubMenu" value="0x0122" />
<IDSymbol name="grpErrorListDiagnosticSeverity" value="0x0123" />
<IDSymbol name="cmdidErrorListSetSeverityError" value="0x0124" />
<IDSymbol name="cmdidErrorListSetSeverityWarning" value="0x0125" />
<IDSymbol name="cmdidErrorListSetSeverityInfo" value="0x0126" />
<IDSymbol name="cmdidErrorListSetSeverityHidden" value="0x0127" />
<IDSymbol name="cmdidErrorListSetSeverityNone" value="0x0128" />
<IDSymbol name="cmdidErrorListSetSeverityDefault" value="0x0129" />
<IDSymbol name="grpErrorListDiagnosticSeverityItems" value="0x012a" />
<!-- Analyze and Code Cleanup menu IDs -->
<IDSymbol name="cmdidAnalysisScopeSubMenu" value="0x0130" />
<IDSymbol name="cmdidAnalysisScopeDefault" value="0x0131" />
<IDSymbol name="cmdidAnalysisScopeCurrentFile" value="0x0132" />
<IDSymbol name="cmdidAnalysisScopeOpenFiles" value="0x0133" />
<IDSymbol name="cmdidAnalysisScopeEntireSolution" value="0x0134" />
<IDSymbol name="grpAnalysisScope" value="0x0135" />
<IDSymbol name="grpAnalysisScopeItems" value="0x0136" />
<IDSymbol name="cmdidGoToImplementation" value="0x0200" />
<IDSymbol name="cmdidRunCodeAnalysisForProject" value="0x0201" />
<IDSymbol name="cmdidRemoveUnusedReferences" value="0x202" />
<IDSymbol name="cmdidshowValueTracking" value="0x0203" />
<IDSymbol name="cmdidSyncNamespaces" value="0x204" />
</GuidSymbol>
<GuidSymbol name="guidEditorCommands" value="{160961B3-909D-4B28-9353-A1BEF587B4A6}">
<IDSymbol name="IDG_CTX_CODECLEANUP_CONFIGURE_SOLUTION" value="0x0028" />
</GuidSymbol>
<GuidSymbol name="guidCSharpInteractiveCommandSet" value="{1492db0a-85a2-4e43-bf0d-ce55b89a8cc6}">
<IDSymbol name="IDG_INTERACTIVE_PROJECT" value="0x0100" />
<IDSymbol name="cmdidCSharpInteractiveToolWindow" value="0x0001" />
<IDSymbol name="cmdidResetInteractiveFromProject" value="0x0002"/>
</GuidSymbol>
<GuidSymbol name="guidVisualBasicInteractiveCommandSet" value="{93DF185E-D75B-4FDB-9D47-E90F111971C5}">
<IDSymbol name="IDG_INTERACTIVE_PROJECT" value="0x100" />
<IDSymbol name="cmdidVisualBasicInteractiveToolWindow" value="0x0001" />
<IDSymbol name="cmdidResetInteractiveFromProject" value="0x0002"/>
</GuidSymbol>
<!--guidReferenceContext is aka: ShellMainMenu_guid -->
<GuidSymbol name="guidReferenceContext" value="{D309F791-903F-11D0-9EFC-00A0C911004F}">
<IDSymbol name="cmdAddReferenceGroup" value="0x450" />
</GuidSymbol>
</Symbols>
</CommandTable>
| 1 |
dotnet/roslyn | 56,030 | Remove RemoveUnusedReferences command hotkey | Resolves https://github.com/dotnet/roslyn/issues/56028 | JoeRobich | "2021-08-31T17:18:07Z" | "2021-08-31T18:42:08Z" | e01c311bd91e6290eefe9be9eeef76c64b08b2d5 | 2be2c34f110e7ce2f4cfd8e4b1f8153603087679 | Remove RemoveUnusedReferences command hotkey. Resolves https://github.com/dotnet/roslyn/issues/56028 | ./src/VisualStudio/Core/Def/xlf/Commands.vsct.cs.xlf | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="cs" original="../Commands.vsct">
<body>
<trans-unit id="ECMD_RUNFXCOPSEL|ButtonText">
<source>Run Code &Analysis on Selection</source>
<target state="translated">&Spustit analýzu kódu na výběr</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|ButtonText">
<source>&Current Document</source>
<target state="new">&Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|CommandName">
<source>AnalysisScopeCurrentDocument</source>
<target state="new">AnalysisScopeCurrentDocument</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|LocCanonicalName">
<source>Current Document</source>
<target state="new">Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|CommandName">
<source>AnalysisScopeDefault</source>
<target state="new">AnalysisScopeDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|ButtonText">
<source>&Entire Solution</source>
<target state="new">&Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|CommandName">
<source>AnalysisScopeEntireSolution</source>
<target state="new">AnalysisScopeEntireSolution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|LocCanonicalName">
<source>Entire Solution</source>
<target state="new">Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|ButtonText">
<source>&Open Documents</source>
<target state="new">&Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|CommandName">
<source>AnalysisScopeOpenDocuments</source>
<target state="new">AnalysisScopeOpenDocuments</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|LocCanonicalName">
<source>Open Documents</source>
<target state="new">Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|ButtonText">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|CommandName">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|LocCanonicalName">
<source>SetAnalysisScope</source>
<target state="new">SetAnalysisScope</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|ButtonText">
<source>Sort &Usings</source>
<target state="translated">Seřadit direktivy &using</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|LocCanonicalName">
<source>SortUsings</source>
<target state="translated">SortUsings</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">Odebrat &a seřadit</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">Odebrat &a seřadit</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|CommandName">
<source>ErrorListSetSeverityDefault</source>
<target state="new">ErrorListSetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|ButtonText">
<source>&Error</source>
<target state="new">&Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|CommandName">
<source>ErrorListSetSeverityError</source>
<target state="new">ErrorListSetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="new">Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="new">&Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|CommandName">
<source>ErrorListSetSeverityHidden</source>
<target state="new">ErrorListSetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="new">Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="new">&Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|CommandName">
<source>ErrorListSetSeverityInfo</source>
<target state="new">ErrorListSetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="new">Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|ButtonText">
<source>&None</source>
<target state="new">&None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|CommandName">
<source>ErrorListSetSeverityNone</source>
<target state="new">ErrorListSetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="new">None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="new">&Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|CommandName">
<source>ErrorListSetSeverityWarning</source>
<target state="new">ErrorListSetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="new">Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|ButtonText">
<source>&Analyzer...</source>
<target state="translated">&Analyzátor...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Přidat &analyzátor...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Přidat &analyzátor...</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Přidat &analyzátor...</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|ButtonText">
<source>&Remove</source>
<target state="translated">O&debrat</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|LocCanonicalName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|CommandName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|ButtonText">
<source>&Open Active Rule Set</source>
<target state="translated">&Otevřít aktivní sadu pravidel</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|LocCanonicalName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|CommandName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|ButtonText">
<source>Remove &Unused References...</source>
<target state="translated">Odebrat nepo&užívané odkazy...</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|CommandName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|LocCanonicalName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|ButtonText">
<source>Run C&ode Analysis</source>
<target state="translated">Spustit &analýzu kódu</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|CommandName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|LocCanonicalName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="translated">&Výchozí</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="translated">Výchozí</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|CommandName">
<source>SetSeverityDefault</source>
<target state="translated">SetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|ButtonText">
<source>&Error</source>
<target state="translated">&Chyba</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="translated">Chyba</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|CommandName">
<source>SetSeverityError</source>
<target state="translated">SetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="translated">&Upozornění</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="translated">Upozornění</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|CommandName">
<source>SetSeverityWarning</source>
<target state="translated">SetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="translated">&Návrh</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="translated">Návrh</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|CommandName">
<source>SetSeverityInfo</source>
<target state="translated">SetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="translated">&Tichý</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="translated">Tichý</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|CommandName">
<source>SetSeverityHidden</source>
<target state="translated">SetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|ButtonText">
<source>&None</source>
<target state="translated">Žád&ná</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="translated">žádné</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|CommandName">
<source>SetSeverityNone</source>
<target state="translated">SetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|ButtonText">
<source>&View Help...</source>
<target state="translated">&Zobrazit nápovědu...</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|LocCanonicalName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|CommandName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|ButtonText">
<source>&Set as Active Rule Set</source>
<target state="translated">Nas&tavit jako aktivní sadu pravidel</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|LocCanonicalName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|CommandName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|ButtonText">
<source>Remove& Suppression(s)</source>
<target state="translated">Odebrat& potlačení</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|LocCanonicalName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|CommandName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|ButtonText">
<source>In &Source</source>
<target state="translated">Ve &zdroji</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|LocCanonicalName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|CommandName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|ButtonText">
<source>In& Suppression File</source>
<target state="translated">V& souboru potlačení</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|LocCanonicalName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|CommandName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|ButtonText">
<source>Go To Implementation</source>
<target state="translated">Přejít na implementaci</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|LocCanonicalName">
<source>GoToImplementation</source>
<target state="translated">GoToImplementation</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|CommandName">
<source>Go To Implementation</source>
<target state="translated">Přejít na implementaci</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|ButtonText">
<source>Sync &Namespaces</source>
<target state="new">Sync &Namespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|CommandName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|LocCanonicalName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|ButtonText">
<source>Track Value Source</source>
<target state="new">Track Value Source</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|CommandName">
<source>ShowValueTrackingCommandName</source>
<target state="new">ShowValueTrackingCommandName</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|LocCanonicalName">
<source>ViewEditorConfigSettings</source>
<target state="new">ViewEditorConfigSettings</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Initialize Interactive with Project</source>
<target state="translated">Inicializovat Interactive přes projekt</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetC#InteractiveFromProject</source>
<target state="translated">ResetC#InteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Reset Visual Basic Interactive from Project</source>
<target state="translated">Resetovat Visual Basic Interactive z projektu</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetVisualBasicInteractiveFromProject</source>
<target state="translated">ResetVisualBasicInteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|ButtonText">
<source>Analyzer</source>
<target state="translated">Analyzátor</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|LocCanonicalName">
<source>Analyzer</source>
<target state="translated">Analyzátor</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|ButtonText">
<source>Analyzers</source>
<target state="translated">Analyzátory</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|LocCanonicalName">
<source>Analyzers</source>
<target state="translated">Analyzátory</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|ButtonText">
<source>Diagnostic</source>
<target state="translated">Diagnostický</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|LocCanonicalName">
<source>Diagnostic</source>
<target state="translated">Diagnostický</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="translated">Nastavit závažnost</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="translated">Nastavit závažnost</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="translated">Nastavit závažnost</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|ButtonText">
<source>S&uppress</source>
<target state="translated">&Potlačit</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|LocCanonicalName">
<source>S&uppress</source>
<target state="translated">&Potlačit</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|CommandName">
<source>S&uppress</source>
<target state="translated">&Potlačit</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="cs" original="../Commands.vsct">
<body>
<trans-unit id="ECMD_RUNFXCOPSEL|ButtonText">
<source>Run Code &Analysis on Selection</source>
<target state="translated">&Spustit analýzu kódu na výběr</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|ButtonText">
<source>&Current Document</source>
<target state="new">&Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|CommandName">
<source>AnalysisScopeCurrentDocument</source>
<target state="new">AnalysisScopeCurrentDocument</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|LocCanonicalName">
<source>Current Document</source>
<target state="new">Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|CommandName">
<source>AnalysisScopeDefault</source>
<target state="new">AnalysisScopeDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|ButtonText">
<source>&Entire Solution</source>
<target state="new">&Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|CommandName">
<source>AnalysisScopeEntireSolution</source>
<target state="new">AnalysisScopeEntireSolution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|LocCanonicalName">
<source>Entire Solution</source>
<target state="new">Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|ButtonText">
<source>&Open Documents</source>
<target state="new">&Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|CommandName">
<source>AnalysisScopeOpenDocuments</source>
<target state="new">AnalysisScopeOpenDocuments</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|LocCanonicalName">
<source>Open Documents</source>
<target state="new">Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|ButtonText">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|CommandName">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|LocCanonicalName">
<source>SetAnalysisScope</source>
<target state="new">SetAnalysisScope</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|ButtonText">
<source>Sort &Usings</source>
<target state="translated">Seřadit direktivy &using</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|LocCanonicalName">
<source>SortUsings</source>
<target state="translated">SortUsings</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">Odebrat &a seřadit</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">Odebrat &a seřadit</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|CommandName">
<source>ErrorListSetSeverityDefault</source>
<target state="new">ErrorListSetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|ButtonText">
<source>&Error</source>
<target state="new">&Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|CommandName">
<source>ErrorListSetSeverityError</source>
<target state="new">ErrorListSetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="new">Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="new">&Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|CommandName">
<source>ErrorListSetSeverityHidden</source>
<target state="new">ErrorListSetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="new">Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="new">&Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|CommandName">
<source>ErrorListSetSeverityInfo</source>
<target state="new">ErrorListSetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="new">Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|ButtonText">
<source>&None</source>
<target state="new">&None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|CommandName">
<source>ErrorListSetSeverityNone</source>
<target state="new">ErrorListSetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="new">None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="new">&Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|CommandName">
<source>ErrorListSetSeverityWarning</source>
<target state="new">ErrorListSetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="new">Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|ButtonText">
<source>&Analyzer...</source>
<target state="translated">&Analyzátor...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Přidat &analyzátor...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Přidat &analyzátor...</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Přidat &analyzátor...</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|ButtonText">
<source>&Remove</source>
<target state="translated">O&debrat</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|LocCanonicalName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|CommandName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|ButtonText">
<source>&Open Active Rule Set</source>
<target state="translated">&Otevřít aktivní sadu pravidel</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|LocCanonicalName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|CommandName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|ButtonText">
<source>Remove Unused References...</source>
<target state="translated">Odebrat nepo&užívané odkazy...</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|CommandName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|LocCanonicalName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|ButtonText">
<source>Run C&ode Analysis</source>
<target state="translated">Spustit &analýzu kódu</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|CommandName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|LocCanonicalName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="translated">&Výchozí</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="translated">Výchozí</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|CommandName">
<source>SetSeverityDefault</source>
<target state="translated">SetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|ButtonText">
<source>&Error</source>
<target state="translated">&Chyba</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="translated">Chyba</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|CommandName">
<source>SetSeverityError</source>
<target state="translated">SetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="translated">&Upozornění</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="translated">Upozornění</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|CommandName">
<source>SetSeverityWarning</source>
<target state="translated">SetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="translated">&Návrh</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="translated">Návrh</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|CommandName">
<source>SetSeverityInfo</source>
<target state="translated">SetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="translated">&Tichý</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="translated">Tichý</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|CommandName">
<source>SetSeverityHidden</source>
<target state="translated">SetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|ButtonText">
<source>&None</source>
<target state="translated">Žád&ná</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="translated">žádné</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|CommandName">
<source>SetSeverityNone</source>
<target state="translated">SetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|ButtonText">
<source>&View Help...</source>
<target state="translated">&Zobrazit nápovědu...</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|LocCanonicalName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|CommandName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|ButtonText">
<source>&Set as Active Rule Set</source>
<target state="translated">Nas&tavit jako aktivní sadu pravidel</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|LocCanonicalName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|CommandName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|ButtonText">
<source>Remove& Suppression(s)</source>
<target state="translated">Odebrat& potlačení</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|LocCanonicalName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|CommandName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|ButtonText">
<source>In &Source</source>
<target state="translated">Ve &zdroji</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|LocCanonicalName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|CommandName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|ButtonText">
<source>In& Suppression File</source>
<target state="translated">V& souboru potlačení</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|LocCanonicalName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|CommandName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|ButtonText">
<source>Go To Implementation</source>
<target state="translated">Přejít na implementaci</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|LocCanonicalName">
<source>GoToImplementation</source>
<target state="translated">GoToImplementation</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|CommandName">
<source>Go To Implementation</source>
<target state="translated">Přejít na implementaci</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|ButtonText">
<source>Sync &Namespaces</source>
<target state="new">Sync &Namespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|CommandName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|LocCanonicalName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|ButtonText">
<source>Track Value Source</source>
<target state="new">Track Value Source</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|CommandName">
<source>ShowValueTrackingCommandName</source>
<target state="new">ShowValueTrackingCommandName</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|LocCanonicalName">
<source>ViewEditorConfigSettings</source>
<target state="new">ViewEditorConfigSettings</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Initialize Interactive with Project</source>
<target state="translated">Inicializovat Interactive přes projekt</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetC#InteractiveFromProject</source>
<target state="translated">ResetC#InteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Reset Visual Basic Interactive from Project</source>
<target state="translated">Resetovat Visual Basic Interactive z projektu</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetVisualBasicInteractiveFromProject</source>
<target state="translated">ResetVisualBasicInteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|ButtonText">
<source>Analyzer</source>
<target state="translated">Analyzátor</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|LocCanonicalName">
<source>Analyzer</source>
<target state="translated">Analyzátor</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|ButtonText">
<source>Analyzers</source>
<target state="translated">Analyzátory</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|LocCanonicalName">
<source>Analyzers</source>
<target state="translated">Analyzátory</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|ButtonText">
<source>Diagnostic</source>
<target state="translated">Diagnostický</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|LocCanonicalName">
<source>Diagnostic</source>
<target state="translated">Diagnostický</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="translated">Nastavit závažnost</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="translated">Nastavit závažnost</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="translated">Nastavit závažnost</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|ButtonText">
<source>S&uppress</source>
<target state="translated">&Potlačit</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|LocCanonicalName">
<source>S&uppress</source>
<target state="translated">&Potlačit</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|CommandName">
<source>S&uppress</source>
<target state="translated">&Potlačit</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | 1 |
dotnet/roslyn | 56,030 | Remove RemoveUnusedReferences command hotkey | Resolves https://github.com/dotnet/roslyn/issues/56028 | JoeRobich | "2021-08-31T17:18:07Z" | "2021-08-31T18:42:08Z" | e01c311bd91e6290eefe9be9eeef76c64b08b2d5 | 2be2c34f110e7ce2f4cfd8e4b1f8153603087679 | Remove RemoveUnusedReferences command hotkey. Resolves https://github.com/dotnet/roslyn/issues/56028 | ./src/VisualStudio/Core/Def/xlf/Commands.vsct.de.xlf | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="de" original="../Commands.vsct">
<body>
<trans-unit id="ECMD_RUNFXCOPSEL|ButtonText">
<source>Run Code &Analysis on Selection</source>
<target state="translated">Code &Analysis für Auswahl ausführen</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|ButtonText">
<source>&Current Document</source>
<target state="new">&Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|CommandName">
<source>AnalysisScopeCurrentDocument</source>
<target state="new">AnalysisScopeCurrentDocument</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|LocCanonicalName">
<source>Current Document</source>
<target state="new">Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|CommandName">
<source>AnalysisScopeDefault</source>
<target state="new">AnalysisScopeDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|ButtonText">
<source>&Entire Solution</source>
<target state="new">&Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|CommandName">
<source>AnalysisScopeEntireSolution</source>
<target state="new">AnalysisScopeEntireSolution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|LocCanonicalName">
<source>Entire Solution</source>
<target state="new">Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|ButtonText">
<source>&Open Documents</source>
<target state="new">&Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|CommandName">
<source>AnalysisScopeOpenDocuments</source>
<target state="new">AnalysisScopeOpenDocuments</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|LocCanonicalName">
<source>Open Documents</source>
<target state="new">Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|ButtonText">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|CommandName">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|LocCanonicalName">
<source>SetAnalysisScope</source>
<target state="new">SetAnalysisScope</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|ButtonText">
<source>Sort &Usings</source>
<target state="translated">&Using-Anweisungen sortieren</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|LocCanonicalName">
<source>SortUsings</source>
<target state="translated">SortUsings</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">Entfernen und sortieren</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">Entfernen &und sortieren</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|CommandName">
<source>ErrorListSetSeverityDefault</source>
<target state="new">ErrorListSetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|ButtonText">
<source>&Error</source>
<target state="new">&Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|CommandName">
<source>ErrorListSetSeverityError</source>
<target state="new">ErrorListSetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="new">Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="new">&Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|CommandName">
<source>ErrorListSetSeverityHidden</source>
<target state="new">ErrorListSetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="new">Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="new">&Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|CommandName">
<source>ErrorListSetSeverityInfo</source>
<target state="new">ErrorListSetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="new">Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|ButtonText">
<source>&None</source>
<target state="new">&None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|CommandName">
<source>ErrorListSetSeverityNone</source>
<target state="new">ErrorListSetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="new">None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="new">&Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|CommandName">
<source>ErrorListSetSeverityWarning</source>
<target state="new">ErrorListSetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="new">Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|ButtonText">
<source>&Analyzer...</source>
<target state="translated">&Analysetool...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">&Analysetool hinzufügen...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">&Analysetool hinzufügen...</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">&Analysetool hinzufügen...</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|ButtonText">
<source>&Remove</source>
<target state="translated">&Entfernen</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|LocCanonicalName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|CommandName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|ButtonText">
<source>&Open Active Rule Set</source>
<target state="translated">Aktiven Regelsatz &öffnen</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|LocCanonicalName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|CommandName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|ButtonText">
<source>Remove &Unused References...</source>
<target state="translated">&Nicht verwendete Verweise entfernen...</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|CommandName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|LocCanonicalName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|ButtonText">
<source>Run C&ode Analysis</source>
<target state="translated">C&ode Analysis ausführen</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|CommandName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|LocCanonicalName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="translated">&Standard</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="translated">Standard</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|CommandName">
<source>SetSeverityDefault</source>
<target state="translated">SetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|ButtonText">
<source>&Error</source>
<target state="translated">&Fehler</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="translated">Fehler</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|CommandName">
<source>SetSeverityError</source>
<target state="translated">SetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="translated">&Warnung</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="translated">Warnung</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|CommandName">
<source>SetSeverityWarning</source>
<target state="translated">SetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="translated">&Vorschlag</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="translated">Vorschlag</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|CommandName">
<source>SetSeverityInfo</source>
<target state="translated">SetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="translated">&Ohne Protokollierung</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="translated">Ohne Protokollierung</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|CommandName">
<source>SetSeverityHidden</source>
<target state="translated">SetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|ButtonText">
<source>&None</source>
<target state="translated">&Keine</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="translated">NONE</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|CommandName">
<source>SetSeverityNone</source>
<target state="translated">SetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|ButtonText">
<source>&View Help...</source>
<target state="translated">&Hilfe anzeigen...</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|LocCanonicalName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|CommandName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|ButtonText">
<source>&Set as Active Rule Set</source>
<target state="translated">Als aktiven Regelsatz &festlegen</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|LocCanonicalName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|CommandName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|ButtonText">
<source>Remove& Suppression(s)</source>
<target state="translated">&Unterdrückung(en) entfernen</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|LocCanonicalName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|CommandName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|ButtonText">
<source>In &Source</source>
<target state="translated">In &Quelle</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|LocCanonicalName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|CommandName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|ButtonText">
<source>In& Suppression File</source>
<target state="translated">In& Unterdrückungsdatei</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|LocCanonicalName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|CommandName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|ButtonText">
<source>Go To Implementation</source>
<target state="translated">Zur Implementierung wechseln</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|LocCanonicalName">
<source>GoToImplementation</source>
<target state="translated">GoToImplementation</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|CommandName">
<source>Go To Implementation</source>
<target state="translated">Zur Implementierung wechseln</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|ButtonText">
<source>Sync &Namespaces</source>
<target state="new">Sync &Namespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|CommandName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|LocCanonicalName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|ButtonText">
<source>Track Value Source</source>
<target state="new">Track Value Source</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|CommandName">
<source>ShowValueTrackingCommandName</source>
<target state="new">ShowValueTrackingCommandName</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|LocCanonicalName">
<source>ViewEditorConfigSettings</source>
<target state="new">ViewEditorConfigSettings</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Initialize Interactive with Project</source>
<target state="translated">Interaktiv mit dem Projekt initialisieren</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetC#InteractiveFromProject</source>
<target state="translated">ResetC#InteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Reset Visual Basic Interactive from Project</source>
<target state="translated">Visual Basic interaktiv aus dem Projekt zurücksetzen</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetVisualBasicInteractiveFromProject</source>
<target state="translated">ResetVisualBasicInteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|ButtonText">
<source>Analyzer</source>
<target state="translated">Analysetool</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|LocCanonicalName">
<source>Analyzer</source>
<target state="translated">Analysetool</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|ButtonText">
<source>Analyzers</source>
<target state="translated">Analyse</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|LocCanonicalName">
<source>Analyzers</source>
<target state="translated">Analyse</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|ButtonText">
<source>Diagnostic</source>
<target state="translated">Diagnose</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|LocCanonicalName">
<source>Diagnostic</source>
<target state="translated">Diagnose</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="translated">Schweregrad festlegen</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="translated">Schweregrad festlegen</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="translated">Schweregrad festlegen</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|ButtonText">
<source>S&uppress</source>
<target state="translated">&Unterdrücken</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|LocCanonicalName">
<source>S&uppress</source>
<target state="translated">&Unterdrücken</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|CommandName">
<source>S&uppress</source>
<target state="translated">&Unterdrücken</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="de" original="../Commands.vsct">
<body>
<trans-unit id="ECMD_RUNFXCOPSEL|ButtonText">
<source>Run Code &Analysis on Selection</source>
<target state="translated">Code &Analysis für Auswahl ausführen</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|ButtonText">
<source>&Current Document</source>
<target state="new">&Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|CommandName">
<source>AnalysisScopeCurrentDocument</source>
<target state="new">AnalysisScopeCurrentDocument</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|LocCanonicalName">
<source>Current Document</source>
<target state="new">Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|CommandName">
<source>AnalysisScopeDefault</source>
<target state="new">AnalysisScopeDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|ButtonText">
<source>&Entire Solution</source>
<target state="new">&Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|CommandName">
<source>AnalysisScopeEntireSolution</source>
<target state="new">AnalysisScopeEntireSolution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|LocCanonicalName">
<source>Entire Solution</source>
<target state="new">Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|ButtonText">
<source>&Open Documents</source>
<target state="new">&Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|CommandName">
<source>AnalysisScopeOpenDocuments</source>
<target state="new">AnalysisScopeOpenDocuments</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|LocCanonicalName">
<source>Open Documents</source>
<target state="new">Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|ButtonText">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|CommandName">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|LocCanonicalName">
<source>SetAnalysisScope</source>
<target state="new">SetAnalysisScope</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|ButtonText">
<source>Sort &Usings</source>
<target state="translated">&Using-Anweisungen sortieren</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|LocCanonicalName">
<source>SortUsings</source>
<target state="translated">SortUsings</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">Entfernen und sortieren</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">Entfernen &und sortieren</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|CommandName">
<source>ErrorListSetSeverityDefault</source>
<target state="new">ErrorListSetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|ButtonText">
<source>&Error</source>
<target state="new">&Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|CommandName">
<source>ErrorListSetSeverityError</source>
<target state="new">ErrorListSetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="new">Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="new">&Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|CommandName">
<source>ErrorListSetSeverityHidden</source>
<target state="new">ErrorListSetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="new">Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="new">&Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|CommandName">
<source>ErrorListSetSeverityInfo</source>
<target state="new">ErrorListSetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="new">Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|ButtonText">
<source>&None</source>
<target state="new">&None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|CommandName">
<source>ErrorListSetSeverityNone</source>
<target state="new">ErrorListSetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="new">None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="new">&Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|CommandName">
<source>ErrorListSetSeverityWarning</source>
<target state="new">ErrorListSetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="new">Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|ButtonText">
<source>&Analyzer...</source>
<target state="translated">&Analysetool...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">&Analysetool hinzufügen...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">&Analysetool hinzufügen...</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">&Analysetool hinzufügen...</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|ButtonText">
<source>&Remove</source>
<target state="translated">&Entfernen</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|LocCanonicalName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|CommandName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|ButtonText">
<source>&Open Active Rule Set</source>
<target state="translated">Aktiven Regelsatz &öffnen</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|LocCanonicalName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|CommandName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|ButtonText">
<source>Remove Unused References...</source>
<target state="translated">&Nicht verwendete Verweise entfernen...</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|CommandName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|LocCanonicalName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|ButtonText">
<source>Run C&ode Analysis</source>
<target state="translated">C&ode Analysis ausführen</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|CommandName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|LocCanonicalName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="translated">&Standard</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="translated">Standard</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|CommandName">
<source>SetSeverityDefault</source>
<target state="translated">SetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|ButtonText">
<source>&Error</source>
<target state="translated">&Fehler</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="translated">Fehler</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|CommandName">
<source>SetSeverityError</source>
<target state="translated">SetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="translated">&Warnung</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="translated">Warnung</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|CommandName">
<source>SetSeverityWarning</source>
<target state="translated">SetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="translated">&Vorschlag</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="translated">Vorschlag</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|CommandName">
<source>SetSeverityInfo</source>
<target state="translated">SetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="translated">&Ohne Protokollierung</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="translated">Ohne Protokollierung</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|CommandName">
<source>SetSeverityHidden</source>
<target state="translated">SetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|ButtonText">
<source>&None</source>
<target state="translated">&Keine</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="translated">NONE</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|CommandName">
<source>SetSeverityNone</source>
<target state="translated">SetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|ButtonText">
<source>&View Help...</source>
<target state="translated">&Hilfe anzeigen...</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|LocCanonicalName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|CommandName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|ButtonText">
<source>&Set as Active Rule Set</source>
<target state="translated">Als aktiven Regelsatz &festlegen</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|LocCanonicalName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|CommandName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|ButtonText">
<source>Remove& Suppression(s)</source>
<target state="translated">&Unterdrückung(en) entfernen</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|LocCanonicalName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|CommandName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|ButtonText">
<source>In &Source</source>
<target state="translated">In &Quelle</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|LocCanonicalName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|CommandName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|ButtonText">
<source>In& Suppression File</source>
<target state="translated">In& Unterdrückungsdatei</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|LocCanonicalName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|CommandName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|ButtonText">
<source>Go To Implementation</source>
<target state="translated">Zur Implementierung wechseln</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|LocCanonicalName">
<source>GoToImplementation</source>
<target state="translated">GoToImplementation</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|CommandName">
<source>Go To Implementation</source>
<target state="translated">Zur Implementierung wechseln</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|ButtonText">
<source>Sync &Namespaces</source>
<target state="new">Sync &Namespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|CommandName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|LocCanonicalName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|ButtonText">
<source>Track Value Source</source>
<target state="new">Track Value Source</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|CommandName">
<source>ShowValueTrackingCommandName</source>
<target state="new">ShowValueTrackingCommandName</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|LocCanonicalName">
<source>ViewEditorConfigSettings</source>
<target state="new">ViewEditorConfigSettings</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Initialize Interactive with Project</source>
<target state="translated">Interaktiv mit dem Projekt initialisieren</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetC#InteractiveFromProject</source>
<target state="translated">ResetC#InteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Reset Visual Basic Interactive from Project</source>
<target state="translated">Visual Basic interaktiv aus dem Projekt zurücksetzen</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetVisualBasicInteractiveFromProject</source>
<target state="translated">ResetVisualBasicInteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|ButtonText">
<source>Analyzer</source>
<target state="translated">Analysetool</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|LocCanonicalName">
<source>Analyzer</source>
<target state="translated">Analysetool</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|ButtonText">
<source>Analyzers</source>
<target state="translated">Analyse</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|LocCanonicalName">
<source>Analyzers</source>
<target state="translated">Analyse</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|ButtonText">
<source>Diagnostic</source>
<target state="translated">Diagnose</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|LocCanonicalName">
<source>Diagnostic</source>
<target state="translated">Diagnose</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="translated">Schweregrad festlegen</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="translated">Schweregrad festlegen</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="translated">Schweregrad festlegen</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|ButtonText">
<source>S&uppress</source>
<target state="translated">&Unterdrücken</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|LocCanonicalName">
<source>S&uppress</source>
<target state="translated">&Unterdrücken</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|CommandName">
<source>S&uppress</source>
<target state="translated">&Unterdrücken</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | 1 |
dotnet/roslyn | 56,030 | Remove RemoveUnusedReferences command hotkey | Resolves https://github.com/dotnet/roslyn/issues/56028 | JoeRobich | "2021-08-31T17:18:07Z" | "2021-08-31T18:42:08Z" | e01c311bd91e6290eefe9be9eeef76c64b08b2d5 | 2be2c34f110e7ce2f4cfd8e4b1f8153603087679 | Remove RemoveUnusedReferences command hotkey. Resolves https://github.com/dotnet/roslyn/issues/56028 | ./src/VisualStudio/Core/Def/xlf/Commands.vsct.es.xlf | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="es" original="../Commands.vsct">
<body>
<trans-unit id="ECMD_RUNFXCOPSEL|ButtonText">
<source>Run Code &Analysis on Selection</source>
<target state="translated">Ejecutar &análisis de código en la selección</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|ButtonText">
<source>&Current Document</source>
<target state="new">&Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|CommandName">
<source>AnalysisScopeCurrentDocument</source>
<target state="new">AnalysisScopeCurrentDocument</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|LocCanonicalName">
<source>Current Document</source>
<target state="new">Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|CommandName">
<source>AnalysisScopeDefault</source>
<target state="new">AnalysisScopeDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|ButtonText">
<source>&Entire Solution</source>
<target state="new">&Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|CommandName">
<source>AnalysisScopeEntireSolution</source>
<target state="new">AnalysisScopeEntireSolution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|LocCanonicalName">
<source>Entire Solution</source>
<target state="new">Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|ButtonText">
<source>&Open Documents</source>
<target state="new">&Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|CommandName">
<source>AnalysisScopeOpenDocuments</source>
<target state="new">AnalysisScopeOpenDocuments</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|LocCanonicalName">
<source>Open Documents</source>
<target state="new">Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|ButtonText">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|CommandName">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|LocCanonicalName">
<source>SetAnalysisScope</source>
<target state="new">SetAnalysisScope</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|ButtonText">
<source>Sort &Usings</source>
<target state="translated">Ordenar instrucciones &Using</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|LocCanonicalName">
<source>SortUsings</source>
<target state="translated">SortUsings</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">&Quitar y ordenar</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">&Quitar y ordenar</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|CommandName">
<source>ErrorListSetSeverityDefault</source>
<target state="new">ErrorListSetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|ButtonText">
<source>&Error</source>
<target state="new">&Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|CommandName">
<source>ErrorListSetSeverityError</source>
<target state="new">ErrorListSetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="new">Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="new">&Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|CommandName">
<source>ErrorListSetSeverityHidden</source>
<target state="new">ErrorListSetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="new">Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="new">&Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|CommandName">
<source>ErrorListSetSeverityInfo</source>
<target state="new">ErrorListSetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="new">Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|ButtonText">
<source>&None</source>
<target state="new">&None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|CommandName">
<source>ErrorListSetSeverityNone</source>
<target state="new">ErrorListSetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="new">None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="new">&Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|CommandName">
<source>ErrorListSetSeverityWarning</source>
<target state="new">ErrorListSetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="new">Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|ButtonText">
<source>&Analyzer...</source>
<target state="translated">&Analizador...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Agregar &analizador...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Agregar &analizador...</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Agregar &analizador...</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|ButtonText">
<source>&Remove</source>
<target state="translated">&Quitar</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|LocCanonicalName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|CommandName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|ButtonText">
<source>&Open Active Rule Set</source>
<target state="translated">Abrir conjunto de regla&s activo</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|LocCanonicalName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|CommandName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|ButtonText">
<source>Remove &Unused References...</source>
<target state="translated">&Quitar referencias sin usar...</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|CommandName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|LocCanonicalName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|ButtonText">
<source>Run C&ode Analysis</source>
<target state="translated">E&jecutar análisis de código</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|CommandName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|LocCanonicalName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="translated">Pre&determinado</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="translated">Predeterminado</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|CommandName">
<source>SetSeverityDefault</source>
<target state="translated">SetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|ButtonText">
<source>&Error</source>
<target state="translated">&Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="translated">Fehler</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|CommandName">
<source>SetSeverityError</source>
<target state="translated">SetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="translated">Ad&vertencia</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="translated">Advertencia</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|CommandName">
<source>SetSeverityWarning</source>
<target state="translated">SetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="translated">S&ugerencia</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="translated">Sugerencia</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|CommandName">
<source>SetSeverityInfo</source>
<target state="translated">SetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="translated">&Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="translated">Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|CommandName">
<source>SetSeverityHidden</source>
<target state="translated">SetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|ButtonText">
<source>&None</source>
<target state="translated">Ning&uno</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="translated">NONE</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|CommandName">
<source>SetSeverityNone</source>
<target state="translated">SetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|ButtonText">
<source>&View Help...</source>
<target state="translated">&Ver la ayuda...</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|LocCanonicalName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|CommandName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|ButtonText">
<source>&Set as Active Rule Set</source>
<target state="translated">&Configurar como conjunto de reglas activo</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|LocCanonicalName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|CommandName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|ButtonText">
<source>Remove& Suppression(s)</source>
<target state="translated">Quitar& supresiones</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|LocCanonicalName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|CommandName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|ButtonText">
<source>In &Source</source>
<target state="translated">En &origen</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|LocCanonicalName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|CommandName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|ButtonText">
<source>In& Suppression File</source>
<target state="translated">En& archivo de supresión</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|LocCanonicalName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|CommandName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|ButtonText">
<source>Go To Implementation</source>
<target state="translated">Ir a implementación</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|LocCanonicalName">
<source>GoToImplementation</source>
<target state="translated">GoToImplementation</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|CommandName">
<source>Go To Implementation</source>
<target state="translated">Ir a la implementación</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|ButtonText">
<source>Sync &Namespaces</source>
<target state="new">Sync &Namespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|CommandName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|LocCanonicalName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|ButtonText">
<source>Track Value Source</source>
<target state="new">Track Value Source</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|CommandName">
<source>ShowValueTrackingCommandName</source>
<target state="new">ShowValueTrackingCommandName</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|LocCanonicalName">
<source>ViewEditorConfigSettings</source>
<target state="new">ViewEditorConfigSettings</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Initialize Interactive with Project</source>
<target state="translated">Inicializar el elemento interactivo con el proyecto</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetC#InteractiveFromProject</source>
<target state="translated">ResetC#InteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Reset Visual Basic Interactive from Project</source>
<target state="translated">Restablecer el elemento interactivo de Visual Basic a partir del proyecto</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetVisualBasicInteractiveFromProject</source>
<target state="translated">ResetVisualBasicInteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|ButtonText">
<source>Analyzer</source>
<target state="translated">Analizador</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|LocCanonicalName">
<source>Analyzer</source>
<target state="translated">Analizador</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|ButtonText">
<source>Analyzers</source>
<target state="translated">Analizadores</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|LocCanonicalName">
<source>Analyzers</source>
<target state="translated">Analizadores</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|ButtonText">
<source>Diagnostic</source>
<target state="translated">Diagnóstico</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|LocCanonicalName">
<source>Diagnostic</source>
<target state="translated">Diagnóstico</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="translated">Configurar gravedad</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="translated">Configurar gravedad</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="translated">Configurar gravedad</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|ButtonText">
<source>S&uppress</source>
<target state="translated">S&uprimir</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|LocCanonicalName">
<source>S&uppress</source>
<target state="translated">S&uprimir</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|CommandName">
<source>S&uppress</source>
<target state="translated">S&uprimir</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="es" original="../Commands.vsct">
<body>
<trans-unit id="ECMD_RUNFXCOPSEL|ButtonText">
<source>Run Code &Analysis on Selection</source>
<target state="translated">Ejecutar &análisis de código en la selección</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|ButtonText">
<source>&Current Document</source>
<target state="new">&Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|CommandName">
<source>AnalysisScopeCurrentDocument</source>
<target state="new">AnalysisScopeCurrentDocument</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|LocCanonicalName">
<source>Current Document</source>
<target state="new">Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|CommandName">
<source>AnalysisScopeDefault</source>
<target state="new">AnalysisScopeDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|ButtonText">
<source>&Entire Solution</source>
<target state="new">&Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|CommandName">
<source>AnalysisScopeEntireSolution</source>
<target state="new">AnalysisScopeEntireSolution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|LocCanonicalName">
<source>Entire Solution</source>
<target state="new">Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|ButtonText">
<source>&Open Documents</source>
<target state="new">&Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|CommandName">
<source>AnalysisScopeOpenDocuments</source>
<target state="new">AnalysisScopeOpenDocuments</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|LocCanonicalName">
<source>Open Documents</source>
<target state="new">Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|ButtonText">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|CommandName">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|LocCanonicalName">
<source>SetAnalysisScope</source>
<target state="new">SetAnalysisScope</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|ButtonText">
<source>Sort &Usings</source>
<target state="translated">Ordenar instrucciones &Using</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|LocCanonicalName">
<source>SortUsings</source>
<target state="translated">SortUsings</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">&Quitar y ordenar</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">&Quitar y ordenar</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|CommandName">
<source>ErrorListSetSeverityDefault</source>
<target state="new">ErrorListSetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|ButtonText">
<source>&Error</source>
<target state="new">&Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|CommandName">
<source>ErrorListSetSeverityError</source>
<target state="new">ErrorListSetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="new">Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="new">&Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|CommandName">
<source>ErrorListSetSeverityHidden</source>
<target state="new">ErrorListSetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="new">Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="new">&Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|CommandName">
<source>ErrorListSetSeverityInfo</source>
<target state="new">ErrorListSetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="new">Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|ButtonText">
<source>&None</source>
<target state="new">&None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|CommandName">
<source>ErrorListSetSeverityNone</source>
<target state="new">ErrorListSetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="new">None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="new">&Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|CommandName">
<source>ErrorListSetSeverityWarning</source>
<target state="new">ErrorListSetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="new">Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|ButtonText">
<source>&Analyzer...</source>
<target state="translated">&Analizador...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Agregar &analizador...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Agregar &analizador...</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Agregar &analizador...</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|ButtonText">
<source>&Remove</source>
<target state="translated">&Quitar</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|LocCanonicalName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|CommandName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|ButtonText">
<source>&Open Active Rule Set</source>
<target state="translated">Abrir conjunto de regla&s activo</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|LocCanonicalName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|CommandName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|ButtonText">
<source>Remove Unused References...</source>
<target state="translated">&Quitar referencias sin usar...</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|CommandName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|LocCanonicalName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|ButtonText">
<source>Run C&ode Analysis</source>
<target state="translated">E&jecutar análisis de código</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|CommandName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|LocCanonicalName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="translated">Pre&determinado</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="translated">Predeterminado</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|CommandName">
<source>SetSeverityDefault</source>
<target state="translated">SetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|ButtonText">
<source>&Error</source>
<target state="translated">&Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="translated">Fehler</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|CommandName">
<source>SetSeverityError</source>
<target state="translated">SetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="translated">Ad&vertencia</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="translated">Advertencia</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|CommandName">
<source>SetSeverityWarning</source>
<target state="translated">SetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="translated">S&ugerencia</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="translated">Sugerencia</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|CommandName">
<source>SetSeverityInfo</source>
<target state="translated">SetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="translated">&Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="translated">Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|CommandName">
<source>SetSeverityHidden</source>
<target state="translated">SetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|ButtonText">
<source>&None</source>
<target state="translated">Ning&uno</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="translated">NONE</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|CommandName">
<source>SetSeverityNone</source>
<target state="translated">SetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|ButtonText">
<source>&View Help...</source>
<target state="translated">&Ver la ayuda...</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|LocCanonicalName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|CommandName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|ButtonText">
<source>&Set as Active Rule Set</source>
<target state="translated">&Configurar como conjunto de reglas activo</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|LocCanonicalName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|CommandName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|ButtonText">
<source>Remove& Suppression(s)</source>
<target state="translated">Quitar& supresiones</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|LocCanonicalName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|CommandName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|ButtonText">
<source>In &Source</source>
<target state="translated">En &origen</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|LocCanonicalName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|CommandName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|ButtonText">
<source>In& Suppression File</source>
<target state="translated">En& archivo de supresión</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|LocCanonicalName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|CommandName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|ButtonText">
<source>Go To Implementation</source>
<target state="translated">Ir a implementación</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|LocCanonicalName">
<source>GoToImplementation</source>
<target state="translated">GoToImplementation</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|CommandName">
<source>Go To Implementation</source>
<target state="translated">Ir a la implementación</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|ButtonText">
<source>Sync &Namespaces</source>
<target state="new">Sync &Namespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|CommandName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|LocCanonicalName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|ButtonText">
<source>Track Value Source</source>
<target state="new">Track Value Source</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|CommandName">
<source>ShowValueTrackingCommandName</source>
<target state="new">ShowValueTrackingCommandName</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|LocCanonicalName">
<source>ViewEditorConfigSettings</source>
<target state="new">ViewEditorConfigSettings</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Initialize Interactive with Project</source>
<target state="translated">Inicializar el elemento interactivo con el proyecto</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetC#InteractiveFromProject</source>
<target state="translated">ResetC#InteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Reset Visual Basic Interactive from Project</source>
<target state="translated">Restablecer el elemento interactivo de Visual Basic a partir del proyecto</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetVisualBasicInteractiveFromProject</source>
<target state="translated">ResetVisualBasicInteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|ButtonText">
<source>Analyzer</source>
<target state="translated">Analizador</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|LocCanonicalName">
<source>Analyzer</source>
<target state="translated">Analizador</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|ButtonText">
<source>Analyzers</source>
<target state="translated">Analizadores</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|LocCanonicalName">
<source>Analyzers</source>
<target state="translated">Analizadores</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|ButtonText">
<source>Diagnostic</source>
<target state="translated">Diagnóstico</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|LocCanonicalName">
<source>Diagnostic</source>
<target state="translated">Diagnóstico</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="translated">Configurar gravedad</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="translated">Configurar gravedad</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="translated">Configurar gravedad</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|ButtonText">
<source>S&uppress</source>
<target state="translated">S&uprimir</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|LocCanonicalName">
<source>S&uppress</source>
<target state="translated">S&uprimir</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|CommandName">
<source>S&uppress</source>
<target state="translated">S&uprimir</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | 1 |
dotnet/roslyn | 56,030 | Remove RemoveUnusedReferences command hotkey | Resolves https://github.com/dotnet/roslyn/issues/56028 | JoeRobich | "2021-08-31T17:18:07Z" | "2021-08-31T18:42:08Z" | e01c311bd91e6290eefe9be9eeef76c64b08b2d5 | 2be2c34f110e7ce2f4cfd8e4b1f8153603087679 | Remove RemoveUnusedReferences command hotkey. Resolves https://github.com/dotnet/roslyn/issues/56028 | ./src/VisualStudio/Core/Def/xlf/Commands.vsct.fr.xlf | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="fr" original="../Commands.vsct">
<body>
<trans-unit id="ECMD_RUNFXCOPSEL|ButtonText">
<source>Run Code &Analysis on Selection</source>
<target state="translated">Exécuter l'&analyse du code durant la sélection</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|ButtonText">
<source>&Current Document</source>
<target state="new">&Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|CommandName">
<source>AnalysisScopeCurrentDocument</source>
<target state="new">AnalysisScopeCurrentDocument</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|LocCanonicalName">
<source>Current Document</source>
<target state="new">Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|CommandName">
<source>AnalysisScopeDefault</source>
<target state="new">AnalysisScopeDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|ButtonText">
<source>&Entire Solution</source>
<target state="new">&Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|CommandName">
<source>AnalysisScopeEntireSolution</source>
<target state="new">AnalysisScopeEntireSolution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|LocCanonicalName">
<source>Entire Solution</source>
<target state="new">Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|ButtonText">
<source>&Open Documents</source>
<target state="new">&Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|CommandName">
<source>AnalysisScopeOpenDocuments</source>
<target state="new">AnalysisScopeOpenDocuments</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|LocCanonicalName">
<source>Open Documents</source>
<target state="new">Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|ButtonText">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|CommandName">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|LocCanonicalName">
<source>SetAnalysisScope</source>
<target state="new">SetAnalysisScope</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|ButtonText">
<source>Sort &Usings</source>
<target state="translated">Trier les &using</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|LocCanonicalName">
<source>SortUsings</source>
<target state="translated">SortUsings</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">Supprimer &et trier</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">Supprimer &et trier</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|CommandName">
<source>ErrorListSetSeverityDefault</source>
<target state="new">ErrorListSetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|ButtonText">
<source>&Error</source>
<target state="new">&Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|CommandName">
<source>ErrorListSetSeverityError</source>
<target state="new">ErrorListSetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="new">Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="new">&Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|CommandName">
<source>ErrorListSetSeverityHidden</source>
<target state="new">ErrorListSetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="new">Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="new">&Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|CommandName">
<source>ErrorListSetSeverityInfo</source>
<target state="new">ErrorListSetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="new">Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|ButtonText">
<source>&None</source>
<target state="new">&None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|CommandName">
<source>ErrorListSetSeverityNone</source>
<target state="new">ErrorListSetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="new">None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="new">&Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|CommandName">
<source>ErrorListSetSeverityWarning</source>
<target state="new">ErrorListSetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="new">Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|ButtonText">
<source>&Analyzer...</source>
<target state="translated">&Analyseur...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Ajouter l'&analyseur...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Ajouter l'&analyseur...</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Ajouter l'&analyseur...</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|ButtonText">
<source>&Remove</source>
<target state="translated">Supp&rimer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|LocCanonicalName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|CommandName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|ButtonText">
<source>&Open Active Rule Set</source>
<target state="translated">&Ouvrir l'ensemble de règles actif</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|LocCanonicalName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|CommandName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|ButtonText">
<source>Remove &Unused References...</source>
<target state="translated">&Supprimer les références inutilisées...</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|CommandName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|LocCanonicalName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|ButtonText">
<source>Run C&ode Analysis</source>
<target state="translated">Exécuter l'analyse du c&ode</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|CommandName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|LocCanonicalName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="translated">Par &défaut</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="translated">Par défaut</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|CommandName">
<source>SetSeverityDefault</source>
<target state="translated">SetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|ButtonText">
<source>&Error</source>
<target state="translated">&Erreur</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="translated">Erreur</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|CommandName">
<source>SetSeverityError</source>
<target state="translated">SetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="translated">A&vertissement</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="translated">Avertissement</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|CommandName">
<source>SetSeverityWarning</source>
<target state="translated">SetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="translated">&Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="translated">Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|CommandName">
<source>SetSeverityInfo</source>
<target state="translated">SetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="translated">&Silencieux</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="translated">Silencieux</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|CommandName">
<source>SetSeverityHidden</source>
<target state="translated">SetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|ButtonText">
<source>&None</source>
<target state="translated">&Aucune</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="translated">Aucun(e)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|CommandName">
<source>SetSeverityNone</source>
<target state="translated">SetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|ButtonText">
<source>&View Help...</source>
<target state="translated">&Afficher l'aide...</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|LocCanonicalName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|CommandName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|ButtonText">
<source>&Set as Active Rule Set</source>
<target state="translated">&Définir comme ensemble de règles actif</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|LocCanonicalName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|CommandName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|ButtonText">
<source>Remove& Suppression(s)</source>
<target state="translated">Retirer& la ou les suppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|LocCanonicalName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|CommandName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|ButtonText">
<source>In &Source</source>
<target state="translated">Dans la &source</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|LocCanonicalName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|CommandName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|ButtonText">
<source>In& Suppression File</source>
<target state="translated">Dans& le fichier de suppression</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|LocCanonicalName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|CommandName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|ButtonText">
<source>Go To Implementation</source>
<target state="translated">Accéder à l'implémentation</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|LocCanonicalName">
<source>GoToImplementation</source>
<target state="translated">GoToImplementation</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|CommandName">
<source>Go To Implementation</source>
<target state="translated">Accéder à l'implémentation</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|ButtonText">
<source>Sync &Namespaces</source>
<target state="new">Sync &Namespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|CommandName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|LocCanonicalName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|ButtonText">
<source>Track Value Source</source>
<target state="new">Track Value Source</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|CommandName">
<source>ShowValueTrackingCommandName</source>
<target state="new">ShowValueTrackingCommandName</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|LocCanonicalName">
<source>ViewEditorConfigSettings</source>
<target state="new">ViewEditorConfigSettings</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Initialize Interactive with Project</source>
<target state="translated">Initialiser Interactive avec le projet</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetC#InteractiveFromProject</source>
<target state="translated">ResetC#InteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Reset Visual Basic Interactive from Project</source>
<target state="translated">Réinitialiser Visual Basic Interactive à partir du projet</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetVisualBasicInteractiveFromProject</source>
<target state="translated">ResetVisualBasicInteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|ButtonText">
<source>Analyzer</source>
<target state="translated">Analyseur</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|LocCanonicalName">
<source>Analyzer</source>
<target state="translated">Analyseur</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|ButtonText">
<source>Analyzers</source>
<target state="translated">Analyseurs</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|LocCanonicalName">
<source>Analyzers</source>
<target state="translated">Analyseurs</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|ButtonText">
<source>Diagnostic</source>
<target state="translated">Diagnostic</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|LocCanonicalName">
<source>Diagnostic</source>
<target state="translated">Diagnostic</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="translated">Définir la gravité</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="translated">Définir la gravité</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="translated">Définir la gravité</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|ButtonText">
<source>S&uppress</source>
<target state="translated">S&upprimer</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|LocCanonicalName">
<source>S&uppress</source>
<target state="translated">S&upprimer</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|CommandName">
<source>S&uppress</source>
<target state="translated">S&upprimer</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="fr" original="../Commands.vsct">
<body>
<trans-unit id="ECMD_RUNFXCOPSEL|ButtonText">
<source>Run Code &Analysis on Selection</source>
<target state="translated">Exécuter l'&analyse du code durant la sélection</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|ButtonText">
<source>&Current Document</source>
<target state="new">&Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|CommandName">
<source>AnalysisScopeCurrentDocument</source>
<target state="new">AnalysisScopeCurrentDocument</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|LocCanonicalName">
<source>Current Document</source>
<target state="new">Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|CommandName">
<source>AnalysisScopeDefault</source>
<target state="new">AnalysisScopeDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|ButtonText">
<source>&Entire Solution</source>
<target state="new">&Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|CommandName">
<source>AnalysisScopeEntireSolution</source>
<target state="new">AnalysisScopeEntireSolution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|LocCanonicalName">
<source>Entire Solution</source>
<target state="new">Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|ButtonText">
<source>&Open Documents</source>
<target state="new">&Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|CommandName">
<source>AnalysisScopeOpenDocuments</source>
<target state="new">AnalysisScopeOpenDocuments</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|LocCanonicalName">
<source>Open Documents</source>
<target state="new">Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|ButtonText">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|CommandName">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|LocCanonicalName">
<source>SetAnalysisScope</source>
<target state="new">SetAnalysisScope</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|ButtonText">
<source>Sort &Usings</source>
<target state="translated">Trier les &using</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|LocCanonicalName">
<source>SortUsings</source>
<target state="translated">SortUsings</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">Supprimer &et trier</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">Supprimer &et trier</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|CommandName">
<source>ErrorListSetSeverityDefault</source>
<target state="new">ErrorListSetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|ButtonText">
<source>&Error</source>
<target state="new">&Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|CommandName">
<source>ErrorListSetSeverityError</source>
<target state="new">ErrorListSetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="new">Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="new">&Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|CommandName">
<source>ErrorListSetSeverityHidden</source>
<target state="new">ErrorListSetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="new">Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="new">&Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|CommandName">
<source>ErrorListSetSeverityInfo</source>
<target state="new">ErrorListSetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="new">Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|ButtonText">
<source>&None</source>
<target state="new">&None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|CommandName">
<source>ErrorListSetSeverityNone</source>
<target state="new">ErrorListSetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="new">None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="new">&Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|CommandName">
<source>ErrorListSetSeverityWarning</source>
<target state="new">ErrorListSetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="new">Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|ButtonText">
<source>&Analyzer...</source>
<target state="translated">&Analyseur...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Ajouter l'&analyseur...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Ajouter l'&analyseur...</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Ajouter l'&analyseur...</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|ButtonText">
<source>&Remove</source>
<target state="translated">Supp&rimer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|LocCanonicalName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|CommandName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|ButtonText">
<source>&Open Active Rule Set</source>
<target state="translated">&Ouvrir l'ensemble de règles actif</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|LocCanonicalName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|CommandName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|ButtonText">
<source>Remove Unused References...</source>
<target state="translated">&Supprimer les références inutilisées...</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|CommandName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|LocCanonicalName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|ButtonText">
<source>Run C&ode Analysis</source>
<target state="translated">Exécuter l'analyse du c&ode</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|CommandName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|LocCanonicalName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="translated">Par &défaut</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="translated">Par défaut</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|CommandName">
<source>SetSeverityDefault</source>
<target state="translated">SetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|ButtonText">
<source>&Error</source>
<target state="translated">&Erreur</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="translated">Erreur</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|CommandName">
<source>SetSeverityError</source>
<target state="translated">SetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="translated">A&vertissement</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="translated">Avertissement</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|CommandName">
<source>SetSeverityWarning</source>
<target state="translated">SetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="translated">&Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="translated">Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|CommandName">
<source>SetSeverityInfo</source>
<target state="translated">SetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="translated">&Silencieux</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="translated">Silencieux</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|CommandName">
<source>SetSeverityHidden</source>
<target state="translated">SetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|ButtonText">
<source>&None</source>
<target state="translated">&Aucune</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="translated">Aucun(e)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|CommandName">
<source>SetSeverityNone</source>
<target state="translated">SetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|ButtonText">
<source>&View Help...</source>
<target state="translated">&Afficher l'aide...</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|LocCanonicalName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|CommandName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|ButtonText">
<source>&Set as Active Rule Set</source>
<target state="translated">&Définir comme ensemble de règles actif</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|LocCanonicalName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|CommandName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|ButtonText">
<source>Remove& Suppression(s)</source>
<target state="translated">Retirer& la ou les suppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|LocCanonicalName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|CommandName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|ButtonText">
<source>In &Source</source>
<target state="translated">Dans la &source</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|LocCanonicalName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|CommandName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|ButtonText">
<source>In& Suppression File</source>
<target state="translated">Dans& le fichier de suppression</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|LocCanonicalName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|CommandName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|ButtonText">
<source>Go To Implementation</source>
<target state="translated">Accéder à l'implémentation</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|LocCanonicalName">
<source>GoToImplementation</source>
<target state="translated">GoToImplementation</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|CommandName">
<source>Go To Implementation</source>
<target state="translated">Accéder à l'implémentation</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|ButtonText">
<source>Sync &Namespaces</source>
<target state="new">Sync &Namespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|CommandName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|LocCanonicalName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|ButtonText">
<source>Track Value Source</source>
<target state="new">Track Value Source</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|CommandName">
<source>ShowValueTrackingCommandName</source>
<target state="new">ShowValueTrackingCommandName</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|LocCanonicalName">
<source>ViewEditorConfigSettings</source>
<target state="new">ViewEditorConfigSettings</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Initialize Interactive with Project</source>
<target state="translated">Initialiser Interactive avec le projet</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetC#InteractiveFromProject</source>
<target state="translated">ResetC#InteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Reset Visual Basic Interactive from Project</source>
<target state="translated">Réinitialiser Visual Basic Interactive à partir du projet</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetVisualBasicInteractiveFromProject</source>
<target state="translated">ResetVisualBasicInteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|ButtonText">
<source>Analyzer</source>
<target state="translated">Analyseur</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|LocCanonicalName">
<source>Analyzer</source>
<target state="translated">Analyseur</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|ButtonText">
<source>Analyzers</source>
<target state="translated">Analyseurs</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|LocCanonicalName">
<source>Analyzers</source>
<target state="translated">Analyseurs</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|ButtonText">
<source>Diagnostic</source>
<target state="translated">Diagnostic</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|LocCanonicalName">
<source>Diagnostic</source>
<target state="translated">Diagnostic</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="translated">Définir la gravité</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="translated">Définir la gravité</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="translated">Définir la gravité</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|ButtonText">
<source>S&uppress</source>
<target state="translated">S&upprimer</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|LocCanonicalName">
<source>S&uppress</source>
<target state="translated">S&upprimer</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|CommandName">
<source>S&uppress</source>
<target state="translated">S&upprimer</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | 1 |
dotnet/roslyn | 56,030 | Remove RemoveUnusedReferences command hotkey | Resolves https://github.com/dotnet/roslyn/issues/56028 | JoeRobich | "2021-08-31T17:18:07Z" | "2021-08-31T18:42:08Z" | e01c311bd91e6290eefe9be9eeef76c64b08b2d5 | 2be2c34f110e7ce2f4cfd8e4b1f8153603087679 | Remove RemoveUnusedReferences command hotkey. Resolves https://github.com/dotnet/roslyn/issues/56028 | ./src/VisualStudio/Core/Def/xlf/Commands.vsct.it.xlf | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="it" original="../Commands.vsct">
<body>
<trans-unit id="ECMD_RUNFXCOPSEL|ButtonText">
<source>Run Code &Analysis on Selection</source>
<target state="translated">Esegui Code &Analysis sulla selezione</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|ButtonText">
<source>&Current Document</source>
<target state="new">&Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|CommandName">
<source>AnalysisScopeCurrentDocument</source>
<target state="new">AnalysisScopeCurrentDocument</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|LocCanonicalName">
<source>Current Document</source>
<target state="new">Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|CommandName">
<source>AnalysisScopeDefault</source>
<target state="new">AnalysisScopeDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|ButtonText">
<source>&Entire Solution</source>
<target state="new">&Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|CommandName">
<source>AnalysisScopeEntireSolution</source>
<target state="new">AnalysisScopeEntireSolution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|LocCanonicalName">
<source>Entire Solution</source>
<target state="new">Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|ButtonText">
<source>&Open Documents</source>
<target state="new">&Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|CommandName">
<source>AnalysisScopeOpenDocuments</source>
<target state="new">AnalysisScopeOpenDocuments</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|LocCanonicalName">
<source>Open Documents</source>
<target state="new">Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|ButtonText">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|CommandName">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|LocCanonicalName">
<source>SetAnalysisScope</source>
<target state="new">SetAnalysisScope</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|ButtonText">
<source>Sort &Usings</source>
<target state="translated">Ordina &using</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|LocCanonicalName">
<source>SortUsings</source>
<target state="translated">SortUsings</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">Ri&muovi e ordina</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">Ri&muovi e ordina</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|CommandName">
<source>ErrorListSetSeverityDefault</source>
<target state="new">ErrorListSetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|ButtonText">
<source>&Error</source>
<target state="new">&Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|CommandName">
<source>ErrorListSetSeverityError</source>
<target state="new">ErrorListSetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="new">Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="new">&Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|CommandName">
<source>ErrorListSetSeverityHidden</source>
<target state="new">ErrorListSetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="new">Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="new">&Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|CommandName">
<source>ErrorListSetSeverityInfo</source>
<target state="new">ErrorListSetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="new">Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|ButtonText">
<source>&None</source>
<target state="new">&None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|CommandName">
<source>ErrorListSetSeverityNone</source>
<target state="new">ErrorListSetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="new">None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="new">&Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|CommandName">
<source>ErrorListSetSeverityWarning</source>
<target state="new">ErrorListSetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="new">Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|ButtonText">
<source>&Analyzer...</source>
<target state="translated">&Analizzatore...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Aggiungi &analizzatore...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Aggiungi &analizzatore...</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Aggiungi &analizzatore...</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|ButtonText">
<source>&Remove</source>
<target state="translated">&Rimuovi</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|LocCanonicalName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|CommandName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|ButtonText">
<source>&Open Active Rule Set</source>
<target state="translated">&Apri set di regole attivo</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|LocCanonicalName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|CommandName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|ButtonText">
<source>Remove &Unused References...</source>
<target state="translated">Rim&uovi riferimenti inutilizzati...</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|CommandName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|LocCanonicalName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|ButtonText">
<source>Run C&ode Analysis</source>
<target state="translated">Esegui C&ode Analysis</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|CommandName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|LocCanonicalName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="translated">Pre&definito</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="translated">Predefinito</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|CommandName">
<source>SetSeverityDefault</source>
<target state="translated">SetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|ButtonText">
<source>&Error</source>
<target state="translated">&Errore</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="translated">Errore</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|CommandName">
<source>SetSeverityError</source>
<target state="translated">SetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="translated">A&vviso</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="translated">Avviso</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|CommandName">
<source>SetSeverityWarning</source>
<target state="translated">SetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="translated">&Suggerimento</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="translated">Suggerimento</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|CommandName">
<source>SetSeverityInfo</source>
<target state="translated">SetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="translated">&Invisibile</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="translated">Invisibile</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|CommandName">
<source>SetSeverityHidden</source>
<target state="translated">SetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|ButtonText">
<source>&None</source>
<target state="translated">&Nessuna</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="translated">Nessuno</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|CommandName">
<source>SetSeverityNone</source>
<target state="translated">SetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|ButtonText">
<source>&View Help...</source>
<target state="translated">Visualizza &Guida...</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|LocCanonicalName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|CommandName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|ButtonText">
<source>&Set as Active Rule Set</source>
<target state="translated">&Imposta come set di regole attivo</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|LocCanonicalName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|CommandName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|ButtonText">
<source>Remove& Suppression(s)</source>
<target state="translated">Rim&uovi le eliminazioni</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|LocCanonicalName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|CommandName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|ButtonText">
<source>In &Source</source>
<target state="translated">&Nell'origine</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|LocCanonicalName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|CommandName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|ButtonText">
<source>In& Suppression File</source>
<target state="translated">Nel file di &eliminazione</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|LocCanonicalName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|CommandName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|ButtonText">
<source>Go To Implementation</source>
<target state="translated">Vai all'implementazione</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|LocCanonicalName">
<source>GoToImplementation</source>
<target state="translated">GoToImplementation</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|CommandName">
<source>Go To Implementation</source>
<target state="translated">Vai all'implementazione</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|ButtonText">
<source>Sync &Namespaces</source>
<target state="new">Sync &Namespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|CommandName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|LocCanonicalName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|ButtonText">
<source>Track Value Source</source>
<target state="new">Track Value Source</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|CommandName">
<source>ShowValueTrackingCommandName</source>
<target state="new">ShowValueTrackingCommandName</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|LocCanonicalName">
<source>ViewEditorConfigSettings</source>
<target state="new">ViewEditorConfigSettings</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Initialize Interactive with Project</source>
<target state="translated">Inizializza Interactive con il progetto</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetC#InteractiveFromProject</source>
<target state="translated">ResetC#InteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Reset Visual Basic Interactive from Project</source>
<target state="translated">Reimposta Visual Basic Interactive dal progetto</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetVisualBasicInteractiveFromProject</source>
<target state="translated">ResetVisualBasicInteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|ButtonText">
<source>Analyzer</source>
<target state="translated">Analizzatore</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|LocCanonicalName">
<source>Analyzer</source>
<target state="translated">Analizzatore</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|ButtonText">
<source>Analyzers</source>
<target state="translated">Analizzatori</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|LocCanonicalName">
<source>Analyzers</source>
<target state="translated">Analizzatori</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|ButtonText">
<source>Diagnostic</source>
<target state="translated">Diagnostica</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|LocCanonicalName">
<source>Diagnostic</source>
<target state="translated">Diagnostica</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="translated">Imposta gravità</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="translated">Imposta gravità</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="translated">Imposta gravità</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|ButtonText">
<source>S&uppress</source>
<target state="translated">&Elimina</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|LocCanonicalName">
<source>S&uppress</source>
<target state="translated">&Elimina</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|CommandName">
<source>S&uppress</source>
<target state="translated">&Elimina</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="it" original="../Commands.vsct">
<body>
<trans-unit id="ECMD_RUNFXCOPSEL|ButtonText">
<source>Run Code &Analysis on Selection</source>
<target state="translated">Esegui Code &Analysis sulla selezione</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|ButtonText">
<source>&Current Document</source>
<target state="new">&Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|CommandName">
<source>AnalysisScopeCurrentDocument</source>
<target state="new">AnalysisScopeCurrentDocument</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|LocCanonicalName">
<source>Current Document</source>
<target state="new">Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|CommandName">
<source>AnalysisScopeDefault</source>
<target state="new">AnalysisScopeDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|ButtonText">
<source>&Entire Solution</source>
<target state="new">&Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|CommandName">
<source>AnalysisScopeEntireSolution</source>
<target state="new">AnalysisScopeEntireSolution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|LocCanonicalName">
<source>Entire Solution</source>
<target state="new">Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|ButtonText">
<source>&Open Documents</source>
<target state="new">&Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|CommandName">
<source>AnalysisScopeOpenDocuments</source>
<target state="new">AnalysisScopeOpenDocuments</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|LocCanonicalName">
<source>Open Documents</source>
<target state="new">Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|ButtonText">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|CommandName">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|LocCanonicalName">
<source>SetAnalysisScope</source>
<target state="new">SetAnalysisScope</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|ButtonText">
<source>Sort &Usings</source>
<target state="translated">Ordina &using</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|LocCanonicalName">
<source>SortUsings</source>
<target state="translated">SortUsings</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">Ri&muovi e ordina</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">Ri&muovi e ordina</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|CommandName">
<source>ErrorListSetSeverityDefault</source>
<target state="new">ErrorListSetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|ButtonText">
<source>&Error</source>
<target state="new">&Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|CommandName">
<source>ErrorListSetSeverityError</source>
<target state="new">ErrorListSetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="new">Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="new">&Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|CommandName">
<source>ErrorListSetSeverityHidden</source>
<target state="new">ErrorListSetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="new">Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="new">&Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|CommandName">
<source>ErrorListSetSeverityInfo</source>
<target state="new">ErrorListSetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="new">Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|ButtonText">
<source>&None</source>
<target state="new">&None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|CommandName">
<source>ErrorListSetSeverityNone</source>
<target state="new">ErrorListSetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="new">None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="new">&Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|CommandName">
<source>ErrorListSetSeverityWarning</source>
<target state="new">ErrorListSetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="new">Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|ButtonText">
<source>&Analyzer...</source>
<target state="translated">&Analizzatore...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Aggiungi &analizzatore...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Aggiungi &analizzatore...</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Aggiungi &analizzatore...</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|ButtonText">
<source>&Remove</source>
<target state="translated">&Rimuovi</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|LocCanonicalName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|CommandName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|ButtonText">
<source>&Open Active Rule Set</source>
<target state="translated">&Apri set di regole attivo</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|LocCanonicalName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|CommandName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|ButtonText">
<source>Remove Unused References...</source>
<target state="translated">Rim&uovi riferimenti inutilizzati...</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|CommandName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|LocCanonicalName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|ButtonText">
<source>Run C&ode Analysis</source>
<target state="translated">Esegui C&ode Analysis</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|CommandName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|LocCanonicalName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="translated">Pre&definito</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="translated">Predefinito</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|CommandName">
<source>SetSeverityDefault</source>
<target state="translated">SetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|ButtonText">
<source>&Error</source>
<target state="translated">&Errore</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="translated">Errore</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|CommandName">
<source>SetSeverityError</source>
<target state="translated">SetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="translated">A&vviso</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="translated">Avviso</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|CommandName">
<source>SetSeverityWarning</source>
<target state="translated">SetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="translated">&Suggerimento</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="translated">Suggerimento</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|CommandName">
<source>SetSeverityInfo</source>
<target state="translated">SetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="translated">&Invisibile</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="translated">Invisibile</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|CommandName">
<source>SetSeverityHidden</source>
<target state="translated">SetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|ButtonText">
<source>&None</source>
<target state="translated">&Nessuna</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="translated">Nessuno</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|CommandName">
<source>SetSeverityNone</source>
<target state="translated">SetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|ButtonText">
<source>&View Help...</source>
<target state="translated">Visualizza &Guida...</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|LocCanonicalName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|CommandName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|ButtonText">
<source>&Set as Active Rule Set</source>
<target state="translated">&Imposta come set di regole attivo</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|LocCanonicalName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|CommandName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|ButtonText">
<source>Remove& Suppression(s)</source>
<target state="translated">Rim&uovi le eliminazioni</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|LocCanonicalName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|CommandName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|ButtonText">
<source>In &Source</source>
<target state="translated">&Nell'origine</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|LocCanonicalName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|CommandName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|ButtonText">
<source>In& Suppression File</source>
<target state="translated">Nel file di &eliminazione</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|LocCanonicalName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|CommandName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|ButtonText">
<source>Go To Implementation</source>
<target state="translated">Vai all'implementazione</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|LocCanonicalName">
<source>GoToImplementation</source>
<target state="translated">GoToImplementation</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|CommandName">
<source>Go To Implementation</source>
<target state="translated">Vai all'implementazione</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|ButtonText">
<source>Sync &Namespaces</source>
<target state="new">Sync &Namespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|CommandName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|LocCanonicalName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|ButtonText">
<source>Track Value Source</source>
<target state="new">Track Value Source</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|CommandName">
<source>ShowValueTrackingCommandName</source>
<target state="new">ShowValueTrackingCommandName</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|LocCanonicalName">
<source>ViewEditorConfigSettings</source>
<target state="new">ViewEditorConfigSettings</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Initialize Interactive with Project</source>
<target state="translated">Inizializza Interactive con il progetto</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetC#InteractiveFromProject</source>
<target state="translated">ResetC#InteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Reset Visual Basic Interactive from Project</source>
<target state="translated">Reimposta Visual Basic Interactive dal progetto</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetVisualBasicInteractiveFromProject</source>
<target state="translated">ResetVisualBasicInteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|ButtonText">
<source>Analyzer</source>
<target state="translated">Analizzatore</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|LocCanonicalName">
<source>Analyzer</source>
<target state="translated">Analizzatore</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|ButtonText">
<source>Analyzers</source>
<target state="translated">Analizzatori</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|LocCanonicalName">
<source>Analyzers</source>
<target state="translated">Analizzatori</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|ButtonText">
<source>Diagnostic</source>
<target state="translated">Diagnostica</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|LocCanonicalName">
<source>Diagnostic</source>
<target state="translated">Diagnostica</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="translated">Imposta gravità</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="translated">Imposta gravità</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="translated">Imposta gravità</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|ButtonText">
<source>S&uppress</source>
<target state="translated">&Elimina</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|LocCanonicalName">
<source>S&uppress</source>
<target state="translated">&Elimina</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|CommandName">
<source>S&uppress</source>
<target state="translated">&Elimina</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | 1 |
dotnet/roslyn | 56,030 | Remove RemoveUnusedReferences command hotkey | Resolves https://github.com/dotnet/roslyn/issues/56028 | JoeRobich | "2021-08-31T17:18:07Z" | "2021-08-31T18:42:08Z" | e01c311bd91e6290eefe9be9eeef76c64b08b2d5 | 2be2c34f110e7ce2f4cfd8e4b1f8153603087679 | Remove RemoveUnusedReferences command hotkey. Resolves https://github.com/dotnet/roslyn/issues/56028 | ./src/VisualStudio/Core/Def/xlf/Commands.vsct.ja.xlf | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="ja" original="../Commands.vsct">
<body>
<trans-unit id="ECMD_RUNFXCOPSEL|ButtonText">
<source>Run Code &Analysis on Selection</source>
<target state="translated">選択範囲でコード分析を実行(&A)</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|ButtonText">
<source>&Current Document</source>
<target state="new">&Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|CommandName">
<source>AnalysisScopeCurrentDocument</source>
<target state="new">AnalysisScopeCurrentDocument</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|LocCanonicalName">
<source>Current Document</source>
<target state="new">Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|CommandName">
<source>AnalysisScopeDefault</source>
<target state="new">AnalysisScopeDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|ButtonText">
<source>&Entire Solution</source>
<target state="new">&Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|CommandName">
<source>AnalysisScopeEntireSolution</source>
<target state="new">AnalysisScopeEntireSolution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|LocCanonicalName">
<source>Entire Solution</source>
<target state="new">Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|ButtonText">
<source>&Open Documents</source>
<target state="new">&Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|CommandName">
<source>AnalysisScopeOpenDocuments</source>
<target state="new">AnalysisScopeOpenDocuments</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|LocCanonicalName">
<source>Open Documents</source>
<target state="new">Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|ButtonText">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|CommandName">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|LocCanonicalName">
<source>SetAnalysisScope</source>
<target state="new">SetAnalysisScope</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|ButtonText">
<source>Sort &Usings</source>
<target state="translated">using の並べ替え(&U)</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|LocCanonicalName">
<source>SortUsings</source>
<target state="translated">SortUsings</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">削除および並べ替え(&A)</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">削除および並べ替え(&A)</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|CommandName">
<source>ErrorListSetSeverityDefault</source>
<target state="new">ErrorListSetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|ButtonText">
<source>&Error</source>
<target state="new">&Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|CommandName">
<source>ErrorListSetSeverityError</source>
<target state="new">ErrorListSetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="new">Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="new">&Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|CommandName">
<source>ErrorListSetSeverityHidden</source>
<target state="new">ErrorListSetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="new">Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="new">&Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|CommandName">
<source>ErrorListSetSeverityInfo</source>
<target state="new">ErrorListSetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="new">Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|ButtonText">
<source>&None</source>
<target state="new">&None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|CommandName">
<source>ErrorListSetSeverityNone</source>
<target state="new">ErrorListSetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="new">None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="new">&Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|CommandName">
<source>ErrorListSetSeverityWarning</source>
<target state="new">ErrorListSetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="new">Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|ButtonText">
<source>&Analyzer...</source>
<target state="translated">アナライザー(&A)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">アナライザーの追加(&A)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">アナライザーの追加(&A)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">アナライザーの追加(&A)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|ButtonText">
<source>&Remove</source>
<target state="translated">削除(&R)</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|LocCanonicalName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|CommandName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|ButtonText">
<source>&Open Active Rule Set</source>
<target state="translated">アクティブなルール セットを開く(&O)</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|LocCanonicalName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|CommandName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|ButtonText">
<source>Remove &Unused References...</source>
<target state="translated">未使用の参照を削除する(&U)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|CommandName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|LocCanonicalName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|ButtonText">
<source>Run C&ode Analysis</source>
<target state="translated">コード分析の実行(&O)</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|CommandName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|LocCanonicalName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="translated">既定(&D)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="translated">既定</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|CommandName">
<source>SetSeverityDefault</source>
<target state="translated">SetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|ButtonText">
<source>&Error</source>
<target state="translated">エラー(&E)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="translated">エラー</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|CommandName">
<source>SetSeverityError</source>
<target state="translated">SetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="translated">警告(&W)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="translated">警告</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|CommandName">
<source>SetSeverityWarning</source>
<target state="translated">SetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="translated">提案事項(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="translated">提案事項</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|CommandName">
<source>SetSeverityInfo</source>
<target state="translated">SetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="translated">サイレント(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="translated">サイレント</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|CommandName">
<source>SetSeverityHidden</source>
<target state="translated">SetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|ButtonText">
<source>&None</source>
<target state="translated">なし(&N)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="translated">なし</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|CommandName">
<source>SetSeverityNone</source>
<target state="translated">SetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|ButtonText">
<source>&View Help...</source>
<target state="translated">ヘルプの表示(&V)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|LocCanonicalName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|CommandName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|ButtonText">
<source>&Set as Active Rule Set</source>
<target state="translated">アクティブなルール セットとして設定(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|LocCanonicalName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|CommandName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|ButtonText">
<source>Remove& Suppression(s)</source>
<target state="translated">抑制の削除(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|LocCanonicalName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|CommandName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|ButtonText">
<source>In &Source</source>
<target state="translated">ソース内(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|LocCanonicalName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|CommandName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|ButtonText">
<source>In& Suppression File</source>
<target state="translated">抑制ファイル内(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|LocCanonicalName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|CommandName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|ButtonText">
<source>Go To Implementation</source>
<target state="translated">実装に移動</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|LocCanonicalName">
<source>GoToImplementation</source>
<target state="translated">GoToImplementation</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|CommandName">
<source>Go To Implementation</source>
<target state="translated">実装に移動</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|ButtonText">
<source>Sync &Namespaces</source>
<target state="new">Sync &Namespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|CommandName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|LocCanonicalName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|ButtonText">
<source>Track Value Source</source>
<target state="new">Track Value Source</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|CommandName">
<source>ShowValueTrackingCommandName</source>
<target state="new">ShowValueTrackingCommandName</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|LocCanonicalName">
<source>ViewEditorConfigSettings</source>
<target state="new">ViewEditorConfigSettings</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Initialize Interactive with Project</source>
<target state="translated">プロジェクトでインタラクティブを初期化</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetC#InteractiveFromProject</source>
<target state="translated">ResetC#InteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Reset Visual Basic Interactive from Project</source>
<target state="translated">プロジェクトから対話的に Visual Basic をリセットする</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetVisualBasicInteractiveFromProject</source>
<target state="translated">ResetVisualBasicInteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|ButtonText">
<source>Analyzer</source>
<target state="translated">アナライザー</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|LocCanonicalName">
<source>Analyzer</source>
<target state="translated">アナライザー</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|ButtonText">
<source>Analyzers</source>
<target state="translated">アナライザー</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|LocCanonicalName">
<source>Analyzers</source>
<target state="translated">アナライザー</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|ButtonText">
<source>Diagnostic</source>
<target state="translated">診断</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|LocCanonicalName">
<source>Diagnostic</source>
<target state="translated">診断</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="translated">重要度の設定</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="translated">重要度の設定</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="translated">重要度の設定</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|ButtonText">
<source>S&uppress</source>
<target state="translated">抑制(&U)</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|LocCanonicalName">
<source>S&uppress</source>
<target state="translated">抑制(&U)</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|CommandName">
<source>S&uppress</source>
<target state="translated">抑制(&U)</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="ja" original="../Commands.vsct">
<body>
<trans-unit id="ECMD_RUNFXCOPSEL|ButtonText">
<source>Run Code &Analysis on Selection</source>
<target state="translated">選択範囲でコード分析を実行(&A)</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|ButtonText">
<source>&Current Document</source>
<target state="new">&Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|CommandName">
<source>AnalysisScopeCurrentDocument</source>
<target state="new">AnalysisScopeCurrentDocument</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|LocCanonicalName">
<source>Current Document</source>
<target state="new">Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|CommandName">
<source>AnalysisScopeDefault</source>
<target state="new">AnalysisScopeDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|ButtonText">
<source>&Entire Solution</source>
<target state="new">&Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|CommandName">
<source>AnalysisScopeEntireSolution</source>
<target state="new">AnalysisScopeEntireSolution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|LocCanonicalName">
<source>Entire Solution</source>
<target state="new">Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|ButtonText">
<source>&Open Documents</source>
<target state="new">&Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|CommandName">
<source>AnalysisScopeOpenDocuments</source>
<target state="new">AnalysisScopeOpenDocuments</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|LocCanonicalName">
<source>Open Documents</source>
<target state="new">Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|ButtonText">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|CommandName">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|LocCanonicalName">
<source>SetAnalysisScope</source>
<target state="new">SetAnalysisScope</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|ButtonText">
<source>Sort &Usings</source>
<target state="translated">using の並べ替え(&U)</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|LocCanonicalName">
<source>SortUsings</source>
<target state="translated">SortUsings</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">削除および並べ替え(&A)</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">削除および並べ替え(&A)</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|CommandName">
<source>ErrorListSetSeverityDefault</source>
<target state="new">ErrorListSetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|ButtonText">
<source>&Error</source>
<target state="new">&Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|CommandName">
<source>ErrorListSetSeverityError</source>
<target state="new">ErrorListSetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="new">Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="new">&Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|CommandName">
<source>ErrorListSetSeverityHidden</source>
<target state="new">ErrorListSetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="new">Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="new">&Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|CommandName">
<source>ErrorListSetSeverityInfo</source>
<target state="new">ErrorListSetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="new">Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|ButtonText">
<source>&None</source>
<target state="new">&None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|CommandName">
<source>ErrorListSetSeverityNone</source>
<target state="new">ErrorListSetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="new">None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="new">&Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|CommandName">
<source>ErrorListSetSeverityWarning</source>
<target state="new">ErrorListSetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="new">Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|ButtonText">
<source>&Analyzer...</source>
<target state="translated">アナライザー(&A)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">アナライザーの追加(&A)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">アナライザーの追加(&A)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">アナライザーの追加(&A)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|ButtonText">
<source>&Remove</source>
<target state="translated">削除(&R)</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|LocCanonicalName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|CommandName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|ButtonText">
<source>&Open Active Rule Set</source>
<target state="translated">アクティブなルール セットを開く(&O)</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|LocCanonicalName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|CommandName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|ButtonText">
<source>Remove Unused References...</source>
<target state="translated">未使用の参照を削除する(&U)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|CommandName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|LocCanonicalName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|ButtonText">
<source>Run C&ode Analysis</source>
<target state="translated">コード分析の実行(&O)</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|CommandName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|LocCanonicalName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="translated">既定(&D)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="translated">既定</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|CommandName">
<source>SetSeverityDefault</source>
<target state="translated">SetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|ButtonText">
<source>&Error</source>
<target state="translated">エラー(&E)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="translated">エラー</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|CommandName">
<source>SetSeverityError</source>
<target state="translated">SetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="translated">警告(&W)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="translated">警告</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|CommandName">
<source>SetSeverityWarning</source>
<target state="translated">SetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="translated">提案事項(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="translated">提案事項</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|CommandName">
<source>SetSeverityInfo</source>
<target state="translated">SetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="translated">サイレント(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="translated">サイレント</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|CommandName">
<source>SetSeverityHidden</source>
<target state="translated">SetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|ButtonText">
<source>&None</source>
<target state="translated">なし(&N)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="translated">なし</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|CommandName">
<source>SetSeverityNone</source>
<target state="translated">SetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|ButtonText">
<source>&View Help...</source>
<target state="translated">ヘルプの表示(&V)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|LocCanonicalName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|CommandName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|ButtonText">
<source>&Set as Active Rule Set</source>
<target state="translated">アクティブなルール セットとして設定(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|LocCanonicalName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|CommandName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|ButtonText">
<source>Remove& Suppression(s)</source>
<target state="translated">抑制の削除(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|LocCanonicalName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|CommandName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|ButtonText">
<source>In &Source</source>
<target state="translated">ソース内(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|LocCanonicalName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|CommandName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|ButtonText">
<source>In& Suppression File</source>
<target state="translated">抑制ファイル内(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|LocCanonicalName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|CommandName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|ButtonText">
<source>Go To Implementation</source>
<target state="translated">実装に移動</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|LocCanonicalName">
<source>GoToImplementation</source>
<target state="translated">GoToImplementation</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|CommandName">
<source>Go To Implementation</source>
<target state="translated">実装に移動</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|ButtonText">
<source>Sync &Namespaces</source>
<target state="new">Sync &Namespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|CommandName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|LocCanonicalName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|ButtonText">
<source>Track Value Source</source>
<target state="new">Track Value Source</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|CommandName">
<source>ShowValueTrackingCommandName</source>
<target state="new">ShowValueTrackingCommandName</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|LocCanonicalName">
<source>ViewEditorConfigSettings</source>
<target state="new">ViewEditorConfigSettings</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Initialize Interactive with Project</source>
<target state="translated">プロジェクトでインタラクティブを初期化</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetC#InteractiveFromProject</source>
<target state="translated">ResetC#InteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Reset Visual Basic Interactive from Project</source>
<target state="translated">プロジェクトから対話的に Visual Basic をリセットする</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetVisualBasicInteractiveFromProject</source>
<target state="translated">ResetVisualBasicInteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|ButtonText">
<source>Analyzer</source>
<target state="translated">アナライザー</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|LocCanonicalName">
<source>Analyzer</source>
<target state="translated">アナライザー</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|ButtonText">
<source>Analyzers</source>
<target state="translated">アナライザー</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|LocCanonicalName">
<source>Analyzers</source>
<target state="translated">アナライザー</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|ButtonText">
<source>Diagnostic</source>
<target state="translated">診断</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|LocCanonicalName">
<source>Diagnostic</source>
<target state="translated">診断</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="translated">重要度の設定</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="translated">重要度の設定</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="translated">重要度の設定</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|ButtonText">
<source>S&uppress</source>
<target state="translated">抑制(&U)</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|LocCanonicalName">
<source>S&uppress</source>
<target state="translated">抑制(&U)</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|CommandName">
<source>S&uppress</source>
<target state="translated">抑制(&U)</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | 1 |
dotnet/roslyn | 56,030 | Remove RemoveUnusedReferences command hotkey | Resolves https://github.com/dotnet/roslyn/issues/56028 | JoeRobich | "2021-08-31T17:18:07Z" | "2021-08-31T18:42:08Z" | e01c311bd91e6290eefe9be9eeef76c64b08b2d5 | 2be2c34f110e7ce2f4cfd8e4b1f8153603087679 | Remove RemoveUnusedReferences command hotkey. Resolves https://github.com/dotnet/roslyn/issues/56028 | ./src/VisualStudio/Core/Def/xlf/Commands.vsct.ko.xlf | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="ko" original="../Commands.vsct">
<body>
<trans-unit id="ECMD_RUNFXCOPSEL|ButtonText">
<source>Run Code &Analysis on Selection</source>
<target state="translated">선택 영역에 대해 코드 분석 실행(&A)</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|ButtonText">
<source>&Current Document</source>
<target state="new">&Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|CommandName">
<source>AnalysisScopeCurrentDocument</source>
<target state="new">AnalysisScopeCurrentDocument</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|LocCanonicalName">
<source>Current Document</source>
<target state="new">Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|CommandName">
<source>AnalysisScopeDefault</source>
<target state="new">AnalysisScopeDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|ButtonText">
<source>&Entire Solution</source>
<target state="new">&Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|CommandName">
<source>AnalysisScopeEntireSolution</source>
<target state="new">AnalysisScopeEntireSolution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|LocCanonicalName">
<source>Entire Solution</source>
<target state="new">Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|ButtonText">
<source>&Open Documents</source>
<target state="new">&Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|CommandName">
<source>AnalysisScopeOpenDocuments</source>
<target state="new">AnalysisScopeOpenDocuments</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|LocCanonicalName">
<source>Open Documents</source>
<target state="new">Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|ButtonText">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|CommandName">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|LocCanonicalName">
<source>SetAnalysisScope</source>
<target state="new">SetAnalysisScope</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|ButtonText">
<source>Sort &Usings</source>
<target state="translated">Using 정렬(&U)</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|LocCanonicalName">
<source>SortUsings</source>
<target state="translated">SortUsings</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">제거 및 정렬(&A)</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">제거 및 정렬(&A)</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|CommandName">
<source>ErrorListSetSeverityDefault</source>
<target state="new">ErrorListSetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|ButtonText">
<source>&Error</source>
<target state="new">&Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|CommandName">
<source>ErrorListSetSeverityError</source>
<target state="new">ErrorListSetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="new">Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="new">&Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|CommandName">
<source>ErrorListSetSeverityHidden</source>
<target state="new">ErrorListSetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="new">Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="new">&Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|CommandName">
<source>ErrorListSetSeverityInfo</source>
<target state="new">ErrorListSetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="new">Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|ButtonText">
<source>&None</source>
<target state="new">&None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|CommandName">
<source>ErrorListSetSeverityNone</source>
<target state="new">ErrorListSetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="new">None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="new">&Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|CommandName">
<source>ErrorListSetSeverityWarning</source>
<target state="new">ErrorListSetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="new">Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|ButtonText">
<source>&Analyzer...</source>
<target state="translated">분석기(&A)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">분석기 추가(&A)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">분석기 추가(&A)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">분석기 추가(&A)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|ButtonText">
<source>&Remove</source>
<target state="translated">제거(&R)</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|LocCanonicalName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|CommandName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|ButtonText">
<source>&Open Active Rule Set</source>
<target state="translated">활성 규칙 집합 열기(&O)</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|LocCanonicalName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|CommandName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|ButtonText">
<source>Remove &Unused References...</source>
<target state="translated">사용하지 않는 참조 제거(&U)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|CommandName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|LocCanonicalName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|ButtonText">
<source>Run C&ode Analysis</source>
<target state="translated">코드 분석 실행(&O)</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|CommandName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|LocCanonicalName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="translated">기본값(&D)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="translated">기본값</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|CommandName">
<source>SetSeverityDefault</source>
<target state="translated">SetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|ButtonText">
<source>&Error</source>
<target state="translated">오류(&E)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="translated">오류</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|CommandName">
<source>SetSeverityError</source>
<target state="translated">SetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="translated">경고(&W)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="translated">경고</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|CommandName">
<source>SetSeverityWarning</source>
<target state="translated">SetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="translated">제안(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="translated">제안</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|CommandName">
<source>SetSeverityInfo</source>
<target state="translated">SetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="translated">자동(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="translated">자동</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|CommandName">
<source>SetSeverityHidden</source>
<target state="translated">SetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|ButtonText">
<source>&None</source>
<target state="translated">없음(&N)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="translated">None</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|CommandName">
<source>SetSeverityNone</source>
<target state="translated">SetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|ButtonText">
<source>&View Help...</source>
<target state="translated">도움말 보기(&V)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|LocCanonicalName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|CommandName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|ButtonText">
<source>&Set as Active Rule Set</source>
<target state="translated">활성 규칙 집합으로 설정(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|LocCanonicalName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|CommandName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|ButtonText">
<source>Remove& Suppression(s)</source>
<target state="translated">비표시 오류(Suppression) 제거(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|LocCanonicalName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|CommandName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|ButtonText">
<source>In &Source</source>
<target state="translated">소스(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|LocCanonicalName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|CommandName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|ButtonText">
<source>In& Suppression File</source>
<target state="translated">비표시 오류(Suppression) 파일(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|LocCanonicalName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|CommandName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|ButtonText">
<source>Go To Implementation</source>
<target state="translated">구현으로 이동</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|LocCanonicalName">
<source>GoToImplementation</source>
<target state="translated">GoToImplementation</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|CommandName">
<source>Go To Implementation</source>
<target state="translated">구현으로 이동</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|ButtonText">
<source>Sync &Namespaces</source>
<target state="new">Sync &Namespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|CommandName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|LocCanonicalName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|ButtonText">
<source>Track Value Source</source>
<target state="new">Track Value Source</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|CommandName">
<source>ShowValueTrackingCommandName</source>
<target state="new">ShowValueTrackingCommandName</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|LocCanonicalName">
<source>ViewEditorConfigSettings</source>
<target state="new">ViewEditorConfigSettings</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Initialize Interactive with Project</source>
<target state="translated">프로젝트에서 Interactive 초기화</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetC#InteractiveFromProject</source>
<target state="translated">ResetC#InteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Reset Visual Basic Interactive from Project</source>
<target state="translated">프로젝트에서 Visual Basic Interactive 다시 설정</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetVisualBasicInteractiveFromProject</source>
<target state="translated">ResetVisualBasicInteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|ButtonText">
<source>Analyzer</source>
<target state="translated">분석기</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|LocCanonicalName">
<source>Analyzer</source>
<target state="translated">분석기</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|ButtonText">
<source>Analyzers</source>
<target state="translated">분석기</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|LocCanonicalName">
<source>Analyzers</source>
<target state="translated">분석기</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|ButtonText">
<source>Diagnostic</source>
<target state="translated">진단</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|LocCanonicalName">
<source>Diagnostic</source>
<target state="translated">진단</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="translated">심각도 설정</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="translated">심각도 설정</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="translated">심각도 설정</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|ButtonText">
<source>S&uppress</source>
<target state="translated">표시하지 않음(&U)</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|LocCanonicalName">
<source>S&uppress</source>
<target state="translated">표시하지 않음(&U)</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|CommandName">
<source>S&uppress</source>
<target state="translated">표시하지 않음(&U)</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="ko" original="../Commands.vsct">
<body>
<trans-unit id="ECMD_RUNFXCOPSEL|ButtonText">
<source>Run Code &Analysis on Selection</source>
<target state="translated">선택 영역에 대해 코드 분석 실행(&A)</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|ButtonText">
<source>&Current Document</source>
<target state="new">&Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|CommandName">
<source>AnalysisScopeCurrentDocument</source>
<target state="new">AnalysisScopeCurrentDocument</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|LocCanonicalName">
<source>Current Document</source>
<target state="new">Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|CommandName">
<source>AnalysisScopeDefault</source>
<target state="new">AnalysisScopeDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|ButtonText">
<source>&Entire Solution</source>
<target state="new">&Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|CommandName">
<source>AnalysisScopeEntireSolution</source>
<target state="new">AnalysisScopeEntireSolution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|LocCanonicalName">
<source>Entire Solution</source>
<target state="new">Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|ButtonText">
<source>&Open Documents</source>
<target state="new">&Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|CommandName">
<source>AnalysisScopeOpenDocuments</source>
<target state="new">AnalysisScopeOpenDocuments</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|LocCanonicalName">
<source>Open Documents</source>
<target state="new">Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|ButtonText">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|CommandName">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|LocCanonicalName">
<source>SetAnalysisScope</source>
<target state="new">SetAnalysisScope</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|ButtonText">
<source>Sort &Usings</source>
<target state="translated">Using 정렬(&U)</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|LocCanonicalName">
<source>SortUsings</source>
<target state="translated">SortUsings</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">제거 및 정렬(&A)</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">제거 및 정렬(&A)</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|CommandName">
<source>ErrorListSetSeverityDefault</source>
<target state="new">ErrorListSetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|ButtonText">
<source>&Error</source>
<target state="new">&Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|CommandName">
<source>ErrorListSetSeverityError</source>
<target state="new">ErrorListSetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="new">Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="new">&Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|CommandName">
<source>ErrorListSetSeverityHidden</source>
<target state="new">ErrorListSetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="new">Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="new">&Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|CommandName">
<source>ErrorListSetSeverityInfo</source>
<target state="new">ErrorListSetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="new">Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|ButtonText">
<source>&None</source>
<target state="new">&None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|CommandName">
<source>ErrorListSetSeverityNone</source>
<target state="new">ErrorListSetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="new">None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="new">&Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|CommandName">
<source>ErrorListSetSeverityWarning</source>
<target state="new">ErrorListSetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="new">Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|ButtonText">
<source>&Analyzer...</source>
<target state="translated">분석기(&A)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">분석기 추가(&A)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">분석기 추가(&A)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">분석기 추가(&A)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|ButtonText">
<source>&Remove</source>
<target state="translated">제거(&R)</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|LocCanonicalName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|CommandName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|ButtonText">
<source>&Open Active Rule Set</source>
<target state="translated">활성 규칙 집합 열기(&O)</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|LocCanonicalName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|CommandName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|ButtonText">
<source>Remove Unused References...</source>
<target state="translated">사용하지 않는 참조 제거(&U)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|CommandName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|LocCanonicalName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|ButtonText">
<source>Run C&ode Analysis</source>
<target state="translated">코드 분석 실행(&O)</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|CommandName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|LocCanonicalName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="translated">기본값(&D)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="translated">기본값</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|CommandName">
<source>SetSeverityDefault</source>
<target state="translated">SetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|ButtonText">
<source>&Error</source>
<target state="translated">오류(&E)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="translated">오류</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|CommandName">
<source>SetSeverityError</source>
<target state="translated">SetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="translated">경고(&W)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="translated">경고</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|CommandName">
<source>SetSeverityWarning</source>
<target state="translated">SetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="translated">제안(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="translated">제안</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|CommandName">
<source>SetSeverityInfo</source>
<target state="translated">SetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="translated">자동(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="translated">자동</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|CommandName">
<source>SetSeverityHidden</source>
<target state="translated">SetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|ButtonText">
<source>&None</source>
<target state="translated">없음(&N)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="translated">None</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|CommandName">
<source>SetSeverityNone</source>
<target state="translated">SetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|ButtonText">
<source>&View Help...</source>
<target state="translated">도움말 보기(&V)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|LocCanonicalName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|CommandName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|ButtonText">
<source>&Set as Active Rule Set</source>
<target state="translated">활성 규칙 집합으로 설정(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|LocCanonicalName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|CommandName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|ButtonText">
<source>Remove& Suppression(s)</source>
<target state="translated">비표시 오류(Suppression) 제거(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|LocCanonicalName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|CommandName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|ButtonText">
<source>In &Source</source>
<target state="translated">소스(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|LocCanonicalName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|CommandName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|ButtonText">
<source>In& Suppression File</source>
<target state="translated">비표시 오류(Suppression) 파일(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|LocCanonicalName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|CommandName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|ButtonText">
<source>Go To Implementation</source>
<target state="translated">구현으로 이동</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|LocCanonicalName">
<source>GoToImplementation</source>
<target state="translated">GoToImplementation</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|CommandName">
<source>Go To Implementation</source>
<target state="translated">구현으로 이동</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|ButtonText">
<source>Sync &Namespaces</source>
<target state="new">Sync &Namespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|CommandName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|LocCanonicalName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|ButtonText">
<source>Track Value Source</source>
<target state="new">Track Value Source</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|CommandName">
<source>ShowValueTrackingCommandName</source>
<target state="new">ShowValueTrackingCommandName</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|LocCanonicalName">
<source>ViewEditorConfigSettings</source>
<target state="new">ViewEditorConfigSettings</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Initialize Interactive with Project</source>
<target state="translated">프로젝트에서 Interactive 초기화</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetC#InteractiveFromProject</source>
<target state="translated">ResetC#InteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Reset Visual Basic Interactive from Project</source>
<target state="translated">프로젝트에서 Visual Basic Interactive 다시 설정</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetVisualBasicInteractiveFromProject</source>
<target state="translated">ResetVisualBasicInteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|ButtonText">
<source>Analyzer</source>
<target state="translated">분석기</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|LocCanonicalName">
<source>Analyzer</source>
<target state="translated">분석기</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|ButtonText">
<source>Analyzers</source>
<target state="translated">분석기</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|LocCanonicalName">
<source>Analyzers</source>
<target state="translated">분석기</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|ButtonText">
<source>Diagnostic</source>
<target state="translated">진단</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|LocCanonicalName">
<source>Diagnostic</source>
<target state="translated">진단</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="translated">심각도 설정</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="translated">심각도 설정</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="translated">심각도 설정</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|ButtonText">
<source>S&uppress</source>
<target state="translated">표시하지 않음(&U)</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|LocCanonicalName">
<source>S&uppress</source>
<target state="translated">표시하지 않음(&U)</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|CommandName">
<source>S&uppress</source>
<target state="translated">표시하지 않음(&U)</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | 1 |
dotnet/roslyn | 56,030 | Remove RemoveUnusedReferences command hotkey | Resolves https://github.com/dotnet/roslyn/issues/56028 | JoeRobich | "2021-08-31T17:18:07Z" | "2021-08-31T18:42:08Z" | e01c311bd91e6290eefe9be9eeef76c64b08b2d5 | 2be2c34f110e7ce2f4cfd8e4b1f8153603087679 | Remove RemoveUnusedReferences command hotkey. Resolves https://github.com/dotnet/roslyn/issues/56028 | ./src/VisualStudio/Core/Def/xlf/Commands.vsct.pl.xlf | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="pl" original="../Commands.vsct">
<body>
<trans-unit id="ECMD_RUNFXCOPSEL|ButtonText">
<source>Run Code &Analysis on Selection</source>
<target state="translated">&Uruchom analizę kodu dla zaznaczenia</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|ButtonText">
<source>&Current Document</source>
<target state="new">&Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|CommandName">
<source>AnalysisScopeCurrentDocument</source>
<target state="new">AnalysisScopeCurrentDocument</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|LocCanonicalName">
<source>Current Document</source>
<target state="new">Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|CommandName">
<source>AnalysisScopeDefault</source>
<target state="new">AnalysisScopeDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|ButtonText">
<source>&Entire Solution</source>
<target state="new">&Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|CommandName">
<source>AnalysisScopeEntireSolution</source>
<target state="new">AnalysisScopeEntireSolution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|LocCanonicalName">
<source>Entire Solution</source>
<target state="new">Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|ButtonText">
<source>&Open Documents</source>
<target state="new">&Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|CommandName">
<source>AnalysisScopeOpenDocuments</source>
<target state="new">AnalysisScopeOpenDocuments</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|LocCanonicalName">
<source>Open Documents</source>
<target state="new">Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|ButtonText">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|CommandName">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|LocCanonicalName">
<source>SetAnalysisScope</source>
<target state="new">SetAnalysisScope</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|ButtonText">
<source>Sort &Usings</source>
<target state="translated">Sortuj &użycia</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|LocCanonicalName">
<source>SortUsings</source>
<target state="translated">SortUsings</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">Usuń &i sortuj</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">Usuń &i sortuj</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|CommandName">
<source>ErrorListSetSeverityDefault</source>
<target state="new">ErrorListSetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|ButtonText">
<source>&Error</source>
<target state="new">&Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|CommandName">
<source>ErrorListSetSeverityError</source>
<target state="new">ErrorListSetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="new">Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="new">&Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|CommandName">
<source>ErrorListSetSeverityHidden</source>
<target state="new">ErrorListSetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="new">Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="new">&Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|CommandName">
<source>ErrorListSetSeverityInfo</source>
<target state="new">ErrorListSetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="new">Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|ButtonText">
<source>&None</source>
<target state="new">&None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|CommandName">
<source>ErrorListSetSeverityNone</source>
<target state="new">ErrorListSetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="new">None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="new">&Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|CommandName">
<source>ErrorListSetSeverityWarning</source>
<target state="new">ErrorListSetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="new">Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|ButtonText">
<source>&Analyzer...</source>
<target state="translated">&Analizator...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Dodaj &analizator...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Dodaj &analizator...</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Dodaj &analizator...</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|ButtonText">
<source>&Remove</source>
<target state="translated">&Usuń</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|LocCanonicalName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|CommandName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|ButtonText">
<source>&Open Active Rule Set</source>
<target state="translated">&Otwórz aktywny zestaw reguł</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|LocCanonicalName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|CommandName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|ButtonText">
<source>Remove &Unused References...</source>
<target state="translated">&Usuń nieużywane odwołania...</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|CommandName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|LocCanonicalName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|ButtonText">
<source>Run C&ode Analysis</source>
<target state="translated">Uru&chom analizę kodu</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|CommandName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|LocCanonicalName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="translated">&Domyślny</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="translated">Domyślny</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|CommandName">
<source>SetSeverityDefault</source>
<target state="translated">SetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|ButtonText">
<source>&Error</source>
<target state="translated">&Błąd</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="translated">Błąd</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|CommandName">
<source>SetSeverityError</source>
<target state="translated">SetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="translated">&Ostrzeżenie</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="translated">Ostrzeżenie</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|CommandName">
<source>SetSeverityWarning</source>
<target state="translated">SetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="translated">&Sugestia</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="translated">Sugestia</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|CommandName">
<source>SetSeverityInfo</source>
<target state="translated">SetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="translated">&Dyskretne</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="translated">Dyskretne</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|CommandName">
<source>SetSeverityHidden</source>
<target state="translated">SetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|ButtonText">
<source>&None</source>
<target state="translated">&Brak</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="translated">brak</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|CommandName">
<source>SetSeverityNone</source>
<target state="translated">SetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|ButtonText">
<source>&View Help...</source>
<target state="translated">&Pokaż pomoc...</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|LocCanonicalName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|CommandName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|ButtonText">
<source>&Set as Active Rule Set</source>
<target state="translated">&Ustaw jako aktywny zestaw reguł</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|LocCanonicalName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|CommandName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|ButtonText">
<source>Remove& Suppression(s)</source>
<target state="translated">Usuń &pominięcia</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|LocCanonicalName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|CommandName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|ButtonText">
<source>In &Source</source>
<target state="translated">W źró&dle</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|LocCanonicalName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|CommandName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|ButtonText">
<source>In& Suppression File</source>
<target state="translated">W pli&ku pominięć</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|LocCanonicalName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|CommandName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|ButtonText">
<source>Go To Implementation</source>
<target state="translated">Przejdź do implementacji</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|LocCanonicalName">
<source>GoToImplementation</source>
<target state="translated">GoToImplementation</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|CommandName">
<source>Go To Implementation</source>
<target state="translated">Przejdź do implementacji</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|ButtonText">
<source>Sync &Namespaces</source>
<target state="new">Sync &Namespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|CommandName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|LocCanonicalName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|ButtonText">
<source>Track Value Source</source>
<target state="new">Track Value Source</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|CommandName">
<source>ShowValueTrackingCommandName</source>
<target state="new">ShowValueTrackingCommandName</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|LocCanonicalName">
<source>ViewEditorConfigSettings</source>
<target state="new">ViewEditorConfigSettings</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Initialize Interactive with Project</source>
<target state="translated">Inicjuj środowisko interaktywne z projektem</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetC#InteractiveFromProject</source>
<target state="translated">ResetC#InteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Reset Visual Basic Interactive from Project</source>
<target state="translated">Resetuj środowisko interaktywne z projektu programu Visual Basic</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetVisualBasicInteractiveFromProject</source>
<target state="translated">ResetVisualBasicInteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|ButtonText">
<source>Analyzer</source>
<target state="translated">Analizator</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|LocCanonicalName">
<source>Analyzer</source>
<target state="translated">Analizator</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|ButtonText">
<source>Analyzers</source>
<target state="translated">Analizatory</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|LocCanonicalName">
<source>Analyzers</source>
<target state="translated">Analizatory</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|ButtonText">
<source>Diagnostic</source>
<target state="translated">Diagnostyka</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|LocCanonicalName">
<source>Diagnostic</source>
<target state="translated">Diagnostyka</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="translated">Ustaw ważność</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="translated">Ustaw ważność</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="translated">Ustaw ważność</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|ButtonText">
<source>S&uppress</source>
<target state="translated">P&omiń</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|LocCanonicalName">
<source>S&uppress</source>
<target state="translated">P&omiń</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|CommandName">
<source>S&uppress</source>
<target state="translated">P&omiń</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="pl" original="../Commands.vsct">
<body>
<trans-unit id="ECMD_RUNFXCOPSEL|ButtonText">
<source>Run Code &Analysis on Selection</source>
<target state="translated">&Uruchom analizę kodu dla zaznaczenia</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|ButtonText">
<source>&Current Document</source>
<target state="new">&Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|CommandName">
<source>AnalysisScopeCurrentDocument</source>
<target state="new">AnalysisScopeCurrentDocument</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|LocCanonicalName">
<source>Current Document</source>
<target state="new">Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|CommandName">
<source>AnalysisScopeDefault</source>
<target state="new">AnalysisScopeDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|ButtonText">
<source>&Entire Solution</source>
<target state="new">&Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|CommandName">
<source>AnalysisScopeEntireSolution</source>
<target state="new">AnalysisScopeEntireSolution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|LocCanonicalName">
<source>Entire Solution</source>
<target state="new">Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|ButtonText">
<source>&Open Documents</source>
<target state="new">&Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|CommandName">
<source>AnalysisScopeOpenDocuments</source>
<target state="new">AnalysisScopeOpenDocuments</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|LocCanonicalName">
<source>Open Documents</source>
<target state="new">Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|ButtonText">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|CommandName">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|LocCanonicalName">
<source>SetAnalysisScope</source>
<target state="new">SetAnalysisScope</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|ButtonText">
<source>Sort &Usings</source>
<target state="translated">Sortuj &użycia</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|LocCanonicalName">
<source>SortUsings</source>
<target state="translated">SortUsings</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">Usuń &i sortuj</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">Usuń &i sortuj</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|CommandName">
<source>ErrorListSetSeverityDefault</source>
<target state="new">ErrorListSetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|ButtonText">
<source>&Error</source>
<target state="new">&Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|CommandName">
<source>ErrorListSetSeverityError</source>
<target state="new">ErrorListSetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="new">Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="new">&Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|CommandName">
<source>ErrorListSetSeverityHidden</source>
<target state="new">ErrorListSetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="new">Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="new">&Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|CommandName">
<source>ErrorListSetSeverityInfo</source>
<target state="new">ErrorListSetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="new">Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|ButtonText">
<source>&None</source>
<target state="new">&None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|CommandName">
<source>ErrorListSetSeverityNone</source>
<target state="new">ErrorListSetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="new">None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="new">&Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|CommandName">
<source>ErrorListSetSeverityWarning</source>
<target state="new">ErrorListSetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="new">Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|ButtonText">
<source>&Analyzer...</source>
<target state="translated">&Analizator...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Dodaj &analizator...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Dodaj &analizator...</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Dodaj &analizator...</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|ButtonText">
<source>&Remove</source>
<target state="translated">&Usuń</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|LocCanonicalName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|CommandName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|ButtonText">
<source>&Open Active Rule Set</source>
<target state="translated">&Otwórz aktywny zestaw reguł</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|LocCanonicalName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|CommandName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|ButtonText">
<source>Remove Unused References...</source>
<target state="translated">&Usuń nieużywane odwołania...</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|CommandName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|LocCanonicalName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|ButtonText">
<source>Run C&ode Analysis</source>
<target state="translated">Uru&chom analizę kodu</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|CommandName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|LocCanonicalName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="translated">&Domyślny</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="translated">Domyślny</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|CommandName">
<source>SetSeverityDefault</source>
<target state="translated">SetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|ButtonText">
<source>&Error</source>
<target state="translated">&Błąd</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="translated">Błąd</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|CommandName">
<source>SetSeverityError</source>
<target state="translated">SetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="translated">&Ostrzeżenie</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="translated">Ostrzeżenie</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|CommandName">
<source>SetSeverityWarning</source>
<target state="translated">SetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="translated">&Sugestia</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="translated">Sugestia</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|CommandName">
<source>SetSeverityInfo</source>
<target state="translated">SetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="translated">&Dyskretne</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="translated">Dyskretne</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|CommandName">
<source>SetSeverityHidden</source>
<target state="translated">SetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|ButtonText">
<source>&None</source>
<target state="translated">&Brak</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="translated">brak</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|CommandName">
<source>SetSeverityNone</source>
<target state="translated">SetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|ButtonText">
<source>&View Help...</source>
<target state="translated">&Pokaż pomoc...</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|LocCanonicalName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|CommandName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|ButtonText">
<source>&Set as Active Rule Set</source>
<target state="translated">&Ustaw jako aktywny zestaw reguł</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|LocCanonicalName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|CommandName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|ButtonText">
<source>Remove& Suppression(s)</source>
<target state="translated">Usuń &pominięcia</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|LocCanonicalName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|CommandName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|ButtonText">
<source>In &Source</source>
<target state="translated">W źró&dle</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|LocCanonicalName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|CommandName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|ButtonText">
<source>In& Suppression File</source>
<target state="translated">W pli&ku pominięć</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|LocCanonicalName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|CommandName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|ButtonText">
<source>Go To Implementation</source>
<target state="translated">Przejdź do implementacji</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|LocCanonicalName">
<source>GoToImplementation</source>
<target state="translated">GoToImplementation</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|CommandName">
<source>Go To Implementation</source>
<target state="translated">Przejdź do implementacji</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|ButtonText">
<source>Sync &Namespaces</source>
<target state="new">Sync &Namespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|CommandName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|LocCanonicalName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|ButtonText">
<source>Track Value Source</source>
<target state="new">Track Value Source</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|CommandName">
<source>ShowValueTrackingCommandName</source>
<target state="new">ShowValueTrackingCommandName</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|LocCanonicalName">
<source>ViewEditorConfigSettings</source>
<target state="new">ViewEditorConfigSettings</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Initialize Interactive with Project</source>
<target state="translated">Inicjuj środowisko interaktywne z projektem</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetC#InteractiveFromProject</source>
<target state="translated">ResetC#InteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Reset Visual Basic Interactive from Project</source>
<target state="translated">Resetuj środowisko interaktywne z projektu programu Visual Basic</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetVisualBasicInteractiveFromProject</source>
<target state="translated">ResetVisualBasicInteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|ButtonText">
<source>Analyzer</source>
<target state="translated">Analizator</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|LocCanonicalName">
<source>Analyzer</source>
<target state="translated">Analizator</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|ButtonText">
<source>Analyzers</source>
<target state="translated">Analizatory</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|LocCanonicalName">
<source>Analyzers</source>
<target state="translated">Analizatory</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|ButtonText">
<source>Diagnostic</source>
<target state="translated">Diagnostyka</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|LocCanonicalName">
<source>Diagnostic</source>
<target state="translated">Diagnostyka</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="translated">Ustaw ważność</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="translated">Ustaw ważność</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="translated">Ustaw ważność</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|ButtonText">
<source>S&uppress</source>
<target state="translated">P&omiń</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|LocCanonicalName">
<source>S&uppress</source>
<target state="translated">P&omiń</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|CommandName">
<source>S&uppress</source>
<target state="translated">P&omiń</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | 1 |
dotnet/roslyn | 56,030 | Remove RemoveUnusedReferences command hotkey | Resolves https://github.com/dotnet/roslyn/issues/56028 | JoeRobich | "2021-08-31T17:18:07Z" | "2021-08-31T18:42:08Z" | e01c311bd91e6290eefe9be9eeef76c64b08b2d5 | 2be2c34f110e7ce2f4cfd8e4b1f8153603087679 | Remove RemoveUnusedReferences command hotkey. Resolves https://github.com/dotnet/roslyn/issues/56028 | ./src/VisualStudio/Core/Def/xlf/Commands.vsct.pt-BR.xlf | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="pt-BR" original="../Commands.vsct">
<body>
<trans-unit id="ECMD_RUNFXCOPSEL|ButtonText">
<source>Run Code &Analysis on Selection</source>
<target state="translated">Executar &Análise de Código na Seleção</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|ButtonText">
<source>&Current Document</source>
<target state="new">&Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|CommandName">
<source>AnalysisScopeCurrentDocument</source>
<target state="new">AnalysisScopeCurrentDocument</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|LocCanonicalName">
<source>Current Document</source>
<target state="new">Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|CommandName">
<source>AnalysisScopeDefault</source>
<target state="new">AnalysisScopeDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|ButtonText">
<source>&Entire Solution</source>
<target state="new">&Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|CommandName">
<source>AnalysisScopeEntireSolution</source>
<target state="new">AnalysisScopeEntireSolution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|LocCanonicalName">
<source>Entire Solution</source>
<target state="new">Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|ButtonText">
<source>&Open Documents</source>
<target state="new">&Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|CommandName">
<source>AnalysisScopeOpenDocuments</source>
<target state="new">AnalysisScopeOpenDocuments</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|LocCanonicalName">
<source>Open Documents</source>
<target state="new">Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|ButtonText">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|CommandName">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|LocCanonicalName">
<source>SetAnalysisScope</source>
<target state="new">SetAnalysisScope</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|ButtonText">
<source>Sort &Usings</source>
<target state="translated">Classificar &Usos</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|LocCanonicalName">
<source>SortUsings</source>
<target state="translated">SortUsings</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">Remover &e Classificar</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">Remover &e Classificar</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|CommandName">
<source>ErrorListSetSeverityDefault</source>
<target state="new">ErrorListSetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|ButtonText">
<source>&Error</source>
<target state="new">&Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|CommandName">
<source>ErrorListSetSeverityError</source>
<target state="new">ErrorListSetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="new">Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="new">&Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|CommandName">
<source>ErrorListSetSeverityHidden</source>
<target state="new">ErrorListSetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="new">Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="new">&Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|CommandName">
<source>ErrorListSetSeverityInfo</source>
<target state="new">ErrorListSetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="new">Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|ButtonText">
<source>&None</source>
<target state="new">&None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|CommandName">
<source>ErrorListSetSeverityNone</source>
<target state="new">ErrorListSetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="new">None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="new">&Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|CommandName">
<source>ErrorListSetSeverityWarning</source>
<target state="new">ErrorListSetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="new">Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|ButtonText">
<source>&Analyzer...</source>
<target state="translated">&Analisador...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Adicionar &Analisador...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Adicionar &Analisador...</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Adicionar &Analisador...</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|ButtonText">
<source>&Remove</source>
<target state="translated">&Remover</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|LocCanonicalName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|CommandName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|ButtonText">
<source>&Open Active Rule Set</source>
<target state="translated">&Abrir Conjunto de Regras Ativo</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|LocCanonicalName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|CommandName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|ButtonText">
<source>Remove &Unused References...</source>
<target state="translated">Remover as Referências Não &Usadas...</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|CommandName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|LocCanonicalName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|ButtonText">
<source>Run C&ode Analysis</source>
<target state="translated">Executar Análise de Códig&o</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|CommandName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|LocCanonicalName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="translated">&Padrão</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="translated">Padrão</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|CommandName">
<source>SetSeverityDefault</source>
<target state="translated">SetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|ButtonText">
<source>&Error</source>
<target state="translated">&Erro</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="translated">Erro</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|CommandName">
<source>SetSeverityError</source>
<target state="translated">SetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="translated">&Aviso</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="translated">Aviso</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|CommandName">
<source>SetSeverityWarning</source>
<target state="translated">SetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="translated">&Sugestão</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="translated">Sugestão</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|CommandName">
<source>SetSeverityInfo</source>
<target state="translated">SetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="translated">&Silencioso</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="translated">Silencioso</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|CommandName">
<source>SetSeverityHidden</source>
<target state="translated">SetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|ButtonText">
<source>&None</source>
<target state="translated">&Nenhuma</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="translated">NENHUM</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|CommandName">
<source>SetSeverityNone</source>
<target state="translated">SetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|ButtonText">
<source>&View Help...</source>
<target state="translated">&Exibir Ajuda...</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|LocCanonicalName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|CommandName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|ButtonText">
<source>&Set as Active Rule Set</source>
<target state="translated">&Definir como Conjunto de Regras Ativo</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|LocCanonicalName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|CommandName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|ButtonText">
<source>Remove& Suppression(s)</source>
<target state="translated">Remover& Supressões</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|LocCanonicalName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|CommandName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|ButtonText">
<source>In &Source</source>
<target state="translated">&No Código-Fonte</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|LocCanonicalName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|CommandName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|ButtonText">
<source>In& Suppression File</source>
<target state="translated">No& Arquivo de Supressão</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|LocCanonicalName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|CommandName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|ButtonText">
<source>Go To Implementation</source>
<target state="translated">Ir Para Implementação</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|LocCanonicalName">
<source>GoToImplementation</source>
<target state="translated">GoToImplementation</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|CommandName">
<source>Go To Implementation</source>
<target state="translated">Ir para Implementação</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|ButtonText">
<source>Sync &Namespaces</source>
<target state="new">Sync &Namespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|CommandName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|LocCanonicalName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|ButtonText">
<source>Track Value Source</source>
<target state="new">Track Value Source</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|CommandName">
<source>ShowValueTrackingCommandName</source>
<target state="new">ShowValueTrackingCommandName</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|LocCanonicalName">
<source>ViewEditorConfigSettings</source>
<target state="new">ViewEditorConfigSettings</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Initialize Interactive with Project</source>
<target state="translated">Inicializar Interativo com o Projeto</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetC#InteractiveFromProject</source>
<target state="translated">ResetC#InteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Reset Visual Basic Interactive from Project</source>
<target state="translated">Redefinir Interativo do Visual Basic do Projeto</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetVisualBasicInteractiveFromProject</source>
<target state="translated">ResetVisualBasicInteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|ButtonText">
<source>Analyzer</source>
<target state="translated">Analisador</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|LocCanonicalName">
<source>Analyzer</source>
<target state="translated">Analisador</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|ButtonText">
<source>Analyzers</source>
<target state="translated">Analisadores</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|LocCanonicalName">
<source>Analyzers</source>
<target state="translated">Analisadores</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|ButtonText">
<source>Diagnostic</source>
<target state="translated">Diagnóstico</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|LocCanonicalName">
<source>Diagnostic</source>
<target state="translated">Diagnóstico</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="translated">Definir a severidade</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="translated">Definir a severidade</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="translated">Definir a severidade</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|ButtonText">
<source>S&uppress</source>
<target state="translated">S&uprimir</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|LocCanonicalName">
<source>S&uppress</source>
<target state="translated">S&uprimir</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|CommandName">
<source>S&uppress</source>
<target state="translated">S&uprimir</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="pt-BR" original="../Commands.vsct">
<body>
<trans-unit id="ECMD_RUNFXCOPSEL|ButtonText">
<source>Run Code &Analysis on Selection</source>
<target state="translated">Executar &Análise de Código na Seleção</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|ButtonText">
<source>&Current Document</source>
<target state="new">&Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|CommandName">
<source>AnalysisScopeCurrentDocument</source>
<target state="new">AnalysisScopeCurrentDocument</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|LocCanonicalName">
<source>Current Document</source>
<target state="new">Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|CommandName">
<source>AnalysisScopeDefault</source>
<target state="new">AnalysisScopeDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|ButtonText">
<source>&Entire Solution</source>
<target state="new">&Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|CommandName">
<source>AnalysisScopeEntireSolution</source>
<target state="new">AnalysisScopeEntireSolution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|LocCanonicalName">
<source>Entire Solution</source>
<target state="new">Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|ButtonText">
<source>&Open Documents</source>
<target state="new">&Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|CommandName">
<source>AnalysisScopeOpenDocuments</source>
<target state="new">AnalysisScopeOpenDocuments</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|LocCanonicalName">
<source>Open Documents</source>
<target state="new">Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|ButtonText">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|CommandName">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|LocCanonicalName">
<source>SetAnalysisScope</source>
<target state="new">SetAnalysisScope</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|ButtonText">
<source>Sort &Usings</source>
<target state="translated">Classificar &Usos</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|LocCanonicalName">
<source>SortUsings</source>
<target state="translated">SortUsings</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">Remover &e Classificar</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">Remover &e Classificar</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|CommandName">
<source>ErrorListSetSeverityDefault</source>
<target state="new">ErrorListSetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|ButtonText">
<source>&Error</source>
<target state="new">&Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|CommandName">
<source>ErrorListSetSeverityError</source>
<target state="new">ErrorListSetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="new">Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="new">&Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|CommandName">
<source>ErrorListSetSeverityHidden</source>
<target state="new">ErrorListSetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="new">Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="new">&Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|CommandName">
<source>ErrorListSetSeverityInfo</source>
<target state="new">ErrorListSetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="new">Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|ButtonText">
<source>&None</source>
<target state="new">&None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|CommandName">
<source>ErrorListSetSeverityNone</source>
<target state="new">ErrorListSetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="new">None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="new">&Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|CommandName">
<source>ErrorListSetSeverityWarning</source>
<target state="new">ErrorListSetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="new">Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|ButtonText">
<source>&Analyzer...</source>
<target state="translated">&Analisador...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Adicionar &Analisador...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Adicionar &Analisador...</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Adicionar &Analisador...</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|ButtonText">
<source>&Remove</source>
<target state="translated">&Remover</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|LocCanonicalName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|CommandName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|ButtonText">
<source>&Open Active Rule Set</source>
<target state="translated">&Abrir Conjunto de Regras Ativo</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|LocCanonicalName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|CommandName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|ButtonText">
<source>Remove Unused References...</source>
<target state="translated">Remover as Referências Não &Usadas...</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|CommandName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|LocCanonicalName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|ButtonText">
<source>Run C&ode Analysis</source>
<target state="translated">Executar Análise de Códig&o</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|CommandName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|LocCanonicalName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="translated">&Padrão</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="translated">Padrão</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|CommandName">
<source>SetSeverityDefault</source>
<target state="translated">SetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|ButtonText">
<source>&Error</source>
<target state="translated">&Erro</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="translated">Erro</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|CommandName">
<source>SetSeverityError</source>
<target state="translated">SetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="translated">&Aviso</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="translated">Aviso</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|CommandName">
<source>SetSeverityWarning</source>
<target state="translated">SetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="translated">&Sugestão</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="translated">Sugestão</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|CommandName">
<source>SetSeverityInfo</source>
<target state="translated">SetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="translated">&Silencioso</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="translated">Silencioso</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|CommandName">
<source>SetSeverityHidden</source>
<target state="translated">SetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|ButtonText">
<source>&None</source>
<target state="translated">&Nenhuma</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="translated">NENHUM</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|CommandName">
<source>SetSeverityNone</source>
<target state="translated">SetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|ButtonText">
<source>&View Help...</source>
<target state="translated">&Exibir Ajuda...</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|LocCanonicalName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|CommandName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|ButtonText">
<source>&Set as Active Rule Set</source>
<target state="translated">&Definir como Conjunto de Regras Ativo</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|LocCanonicalName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|CommandName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|ButtonText">
<source>Remove& Suppression(s)</source>
<target state="translated">Remover& Supressões</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|LocCanonicalName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|CommandName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|ButtonText">
<source>In &Source</source>
<target state="translated">&No Código-Fonte</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|LocCanonicalName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|CommandName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|ButtonText">
<source>In& Suppression File</source>
<target state="translated">No& Arquivo de Supressão</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|LocCanonicalName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|CommandName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|ButtonText">
<source>Go To Implementation</source>
<target state="translated">Ir Para Implementação</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|LocCanonicalName">
<source>GoToImplementation</source>
<target state="translated">GoToImplementation</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|CommandName">
<source>Go To Implementation</source>
<target state="translated">Ir para Implementação</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|ButtonText">
<source>Sync &Namespaces</source>
<target state="new">Sync &Namespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|CommandName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|LocCanonicalName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|ButtonText">
<source>Track Value Source</source>
<target state="new">Track Value Source</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|CommandName">
<source>ShowValueTrackingCommandName</source>
<target state="new">ShowValueTrackingCommandName</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|LocCanonicalName">
<source>ViewEditorConfigSettings</source>
<target state="new">ViewEditorConfigSettings</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Initialize Interactive with Project</source>
<target state="translated">Inicializar Interativo com o Projeto</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetC#InteractiveFromProject</source>
<target state="translated">ResetC#InteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Reset Visual Basic Interactive from Project</source>
<target state="translated">Redefinir Interativo do Visual Basic do Projeto</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetVisualBasicInteractiveFromProject</source>
<target state="translated">ResetVisualBasicInteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|ButtonText">
<source>Analyzer</source>
<target state="translated">Analisador</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|LocCanonicalName">
<source>Analyzer</source>
<target state="translated">Analisador</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|ButtonText">
<source>Analyzers</source>
<target state="translated">Analisadores</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|LocCanonicalName">
<source>Analyzers</source>
<target state="translated">Analisadores</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|ButtonText">
<source>Diagnostic</source>
<target state="translated">Diagnóstico</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|LocCanonicalName">
<source>Diagnostic</source>
<target state="translated">Diagnóstico</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="translated">Definir a severidade</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="translated">Definir a severidade</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="translated">Definir a severidade</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|ButtonText">
<source>S&uppress</source>
<target state="translated">S&uprimir</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|LocCanonicalName">
<source>S&uppress</source>
<target state="translated">S&uprimir</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|CommandName">
<source>S&uppress</source>
<target state="translated">S&uprimir</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | 1 |
dotnet/roslyn | 56,030 | Remove RemoveUnusedReferences command hotkey | Resolves https://github.com/dotnet/roslyn/issues/56028 | JoeRobich | "2021-08-31T17:18:07Z" | "2021-08-31T18:42:08Z" | e01c311bd91e6290eefe9be9eeef76c64b08b2d5 | 2be2c34f110e7ce2f4cfd8e4b1f8153603087679 | Remove RemoveUnusedReferences command hotkey. Resolves https://github.com/dotnet/roslyn/issues/56028 | ./src/VisualStudio/Core/Def/xlf/Commands.vsct.ru.xlf | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="ru" original="../Commands.vsct">
<body>
<trans-unit id="ECMD_RUNFXCOPSEL|ButtonText">
<source>Run Code &Analysis on Selection</source>
<target state="translated">Выполнить &анализ кода в выделенном фрагменте</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|ButtonText">
<source>&Current Document</source>
<target state="new">&Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|CommandName">
<source>AnalysisScopeCurrentDocument</source>
<target state="new">AnalysisScopeCurrentDocument</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|LocCanonicalName">
<source>Current Document</source>
<target state="new">Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|CommandName">
<source>AnalysisScopeDefault</source>
<target state="new">AnalysisScopeDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|ButtonText">
<source>&Entire Solution</source>
<target state="new">&Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|CommandName">
<source>AnalysisScopeEntireSolution</source>
<target state="new">AnalysisScopeEntireSolution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|LocCanonicalName">
<source>Entire Solution</source>
<target state="new">Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|ButtonText">
<source>&Open Documents</source>
<target state="new">&Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|CommandName">
<source>AnalysisScopeOpenDocuments</source>
<target state="new">AnalysisScopeOpenDocuments</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|LocCanonicalName">
<source>Open Documents</source>
<target state="new">Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|ButtonText">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|CommandName">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|LocCanonicalName">
<source>SetAnalysisScope</source>
<target state="new">SetAnalysisScope</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|ButtonText">
<source>Sort &Usings</source>
<target state="translated">Сортировать д&ирективы using</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|LocCanonicalName">
<source>SortUsings</source>
<target state="translated">SortUsings</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">Удалить &и упорядочить</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">Удалить &и упорядочить</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|CommandName">
<source>ErrorListSetSeverityDefault</source>
<target state="new">ErrorListSetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|ButtonText">
<source>&Error</source>
<target state="new">&Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|CommandName">
<source>ErrorListSetSeverityError</source>
<target state="new">ErrorListSetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="new">Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="new">&Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|CommandName">
<source>ErrorListSetSeverityHidden</source>
<target state="new">ErrorListSetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="new">Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="new">&Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|CommandName">
<source>ErrorListSetSeverityInfo</source>
<target state="new">ErrorListSetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="new">Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|ButtonText">
<source>&None</source>
<target state="new">&None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|CommandName">
<source>ErrorListSetSeverityNone</source>
<target state="new">ErrorListSetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="new">None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="new">&Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|CommandName">
<source>ErrorListSetSeverityWarning</source>
<target state="new">ErrorListSetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="new">Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|ButtonText">
<source>&Analyzer...</source>
<target state="translated">&Анализатор...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Добавить &анализатор...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Добавить &анализатор...</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Добавить &анализатор...</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|ButtonText">
<source>&Remove</source>
<target state="translated">&Удалить</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|LocCanonicalName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|CommandName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|ButtonText">
<source>&Open Active Rule Set</source>
<target state="translated">&Открыть активный набор правил</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|LocCanonicalName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|CommandName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|ButtonText">
<source>Remove &Unused References...</source>
<target state="translated">&Удалить неиспользуемые ссылки…</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|CommandName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|LocCanonicalName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|ButtonText">
<source>Run C&ode Analysis</source>
<target state="translated">&Запустить анализ кода</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|CommandName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|LocCanonicalName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="translated">&По умолчанию</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="translated">По умолчанию</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|CommandName">
<source>SetSeverityDefault</source>
<target state="translated">SetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|ButtonText">
<source>&Error</source>
<target state="translated">&Ошибка</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="translated">Ошибка</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|CommandName">
<source>SetSeverityError</source>
<target state="translated">SetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="translated">&Предупреждение</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="translated">Предупреждение</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|CommandName">
<source>SetSeverityWarning</source>
<target state="translated">SetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="translated">Рекоменд&ация</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="translated">Рекомендация</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|CommandName">
<source>SetSeverityInfo</source>
<target state="translated">SetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="translated">&Автоматически</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="translated">Автоматически</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|CommandName">
<source>SetSeverityHidden</source>
<target state="translated">SetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|ButtonText">
<source>&None</source>
<target state="translated">&Нет</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="translated">NONE</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|CommandName">
<source>SetSeverityNone</source>
<target state="translated">SetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|ButtonText">
<source>&View Help...</source>
<target state="translated">&Перейти в справку...</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|LocCanonicalName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|CommandName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|ButtonText">
<source>&Set as Active Rule Set</source>
<target state="translated">&Установить как активный набор правил</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|LocCanonicalName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|CommandName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|ButtonText">
<source>Remove& Suppression(s)</source>
<target state="translated">Удалит&ь подавления</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|LocCanonicalName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|CommandName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|ButtonText">
<source>In &Source</source>
<target state="translated">В &источнике</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|LocCanonicalName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|CommandName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|ButtonText">
<source>In& Suppression File</source>
<target state="translated">В файле &блокируемых предупреждений</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|LocCanonicalName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|CommandName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|ButtonText">
<source>Go To Implementation</source>
<target state="translated">Перейти к реализации</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|LocCanonicalName">
<source>GoToImplementation</source>
<target state="translated">GoToImplementation</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|CommandName">
<source>Go To Implementation</source>
<target state="translated">Перейти к реализации</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|ButtonText">
<source>Sync &Namespaces</source>
<target state="new">Sync &Namespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|CommandName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|LocCanonicalName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|ButtonText">
<source>Track Value Source</source>
<target state="new">Track Value Source</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|CommandName">
<source>ShowValueTrackingCommandName</source>
<target state="new">ShowValueTrackingCommandName</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|LocCanonicalName">
<source>ViewEditorConfigSettings</source>
<target state="new">ViewEditorConfigSettings</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Initialize Interactive with Project</source>
<target state="translated">Инициализировать интерактивное окно с проектом</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetC#InteractiveFromProject</source>
<target state="translated">ResetC#InteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Reset Visual Basic Interactive from Project</source>
<target state="translated">Сбросить интерактивное окно Visual Basic из проекта</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetVisualBasicInteractiveFromProject</source>
<target state="translated">ResetVisualBasicInteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|ButtonText">
<source>Analyzer</source>
<target state="translated">Анализатор</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|LocCanonicalName">
<source>Analyzer</source>
<target state="translated">Анализатор</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|ButtonText">
<source>Analyzers</source>
<target state="translated">Анализаторы</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|LocCanonicalName">
<source>Analyzers</source>
<target state="translated">Анализаторы</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|ButtonText">
<source>Diagnostic</source>
<target state="translated">Диагностика</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|LocCanonicalName">
<source>Diagnostic</source>
<target state="translated">Диагностика</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="translated">Задать серьезность</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="translated">Задать серьезность</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="translated">Задать серьезность</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|ButtonText">
<source>S&uppress</source>
<target state="translated">&Подавить</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|LocCanonicalName">
<source>S&uppress</source>
<target state="translated">&Подавить</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|CommandName">
<source>S&uppress</source>
<target state="translated">&Подавить</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="ru" original="../Commands.vsct">
<body>
<trans-unit id="ECMD_RUNFXCOPSEL|ButtonText">
<source>Run Code &Analysis on Selection</source>
<target state="translated">Выполнить &анализ кода в выделенном фрагменте</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|ButtonText">
<source>&Current Document</source>
<target state="new">&Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|CommandName">
<source>AnalysisScopeCurrentDocument</source>
<target state="new">AnalysisScopeCurrentDocument</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|LocCanonicalName">
<source>Current Document</source>
<target state="new">Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|CommandName">
<source>AnalysisScopeDefault</source>
<target state="new">AnalysisScopeDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|ButtonText">
<source>&Entire Solution</source>
<target state="new">&Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|CommandName">
<source>AnalysisScopeEntireSolution</source>
<target state="new">AnalysisScopeEntireSolution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|LocCanonicalName">
<source>Entire Solution</source>
<target state="new">Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|ButtonText">
<source>&Open Documents</source>
<target state="new">&Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|CommandName">
<source>AnalysisScopeOpenDocuments</source>
<target state="new">AnalysisScopeOpenDocuments</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|LocCanonicalName">
<source>Open Documents</source>
<target state="new">Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|ButtonText">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|CommandName">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|LocCanonicalName">
<source>SetAnalysisScope</source>
<target state="new">SetAnalysisScope</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|ButtonText">
<source>Sort &Usings</source>
<target state="translated">Сортировать д&ирективы using</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|LocCanonicalName">
<source>SortUsings</source>
<target state="translated">SortUsings</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">Удалить &и упорядочить</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">Удалить &и упорядочить</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|CommandName">
<source>ErrorListSetSeverityDefault</source>
<target state="new">ErrorListSetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|ButtonText">
<source>&Error</source>
<target state="new">&Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|CommandName">
<source>ErrorListSetSeverityError</source>
<target state="new">ErrorListSetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="new">Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="new">&Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|CommandName">
<source>ErrorListSetSeverityHidden</source>
<target state="new">ErrorListSetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="new">Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="new">&Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|CommandName">
<source>ErrorListSetSeverityInfo</source>
<target state="new">ErrorListSetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="new">Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|ButtonText">
<source>&None</source>
<target state="new">&None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|CommandName">
<source>ErrorListSetSeverityNone</source>
<target state="new">ErrorListSetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="new">None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="new">&Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|CommandName">
<source>ErrorListSetSeverityWarning</source>
<target state="new">ErrorListSetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="new">Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|ButtonText">
<source>&Analyzer...</source>
<target state="translated">&Анализатор...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Добавить &анализатор...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Добавить &анализатор...</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Добавить &анализатор...</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|ButtonText">
<source>&Remove</source>
<target state="translated">&Удалить</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|LocCanonicalName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|CommandName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|ButtonText">
<source>&Open Active Rule Set</source>
<target state="translated">&Открыть активный набор правил</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|LocCanonicalName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|CommandName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|ButtonText">
<source>Remove Unused References...</source>
<target state="translated">&Удалить неиспользуемые ссылки…</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|CommandName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|LocCanonicalName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|ButtonText">
<source>Run C&ode Analysis</source>
<target state="translated">&Запустить анализ кода</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|CommandName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|LocCanonicalName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="translated">&По умолчанию</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="translated">По умолчанию</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|CommandName">
<source>SetSeverityDefault</source>
<target state="translated">SetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|ButtonText">
<source>&Error</source>
<target state="translated">&Ошибка</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="translated">Ошибка</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|CommandName">
<source>SetSeverityError</source>
<target state="translated">SetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="translated">&Предупреждение</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="translated">Предупреждение</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|CommandName">
<source>SetSeverityWarning</source>
<target state="translated">SetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="translated">Рекоменд&ация</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="translated">Рекомендация</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|CommandName">
<source>SetSeverityInfo</source>
<target state="translated">SetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="translated">&Автоматически</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="translated">Автоматически</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|CommandName">
<source>SetSeverityHidden</source>
<target state="translated">SetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|ButtonText">
<source>&None</source>
<target state="translated">&Нет</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="translated">NONE</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|CommandName">
<source>SetSeverityNone</source>
<target state="translated">SetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|ButtonText">
<source>&View Help...</source>
<target state="translated">&Перейти в справку...</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|LocCanonicalName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|CommandName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|ButtonText">
<source>&Set as Active Rule Set</source>
<target state="translated">&Установить как активный набор правил</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|LocCanonicalName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|CommandName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|ButtonText">
<source>Remove& Suppression(s)</source>
<target state="translated">Удалит&ь подавления</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|LocCanonicalName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|CommandName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|ButtonText">
<source>In &Source</source>
<target state="translated">В &источнике</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|LocCanonicalName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|CommandName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|ButtonText">
<source>In& Suppression File</source>
<target state="translated">В файле &блокируемых предупреждений</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|LocCanonicalName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|CommandName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|ButtonText">
<source>Go To Implementation</source>
<target state="translated">Перейти к реализации</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|LocCanonicalName">
<source>GoToImplementation</source>
<target state="translated">GoToImplementation</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|CommandName">
<source>Go To Implementation</source>
<target state="translated">Перейти к реализации</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|ButtonText">
<source>Sync &Namespaces</source>
<target state="new">Sync &Namespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|CommandName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|LocCanonicalName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|ButtonText">
<source>Track Value Source</source>
<target state="new">Track Value Source</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|CommandName">
<source>ShowValueTrackingCommandName</source>
<target state="new">ShowValueTrackingCommandName</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|LocCanonicalName">
<source>ViewEditorConfigSettings</source>
<target state="new">ViewEditorConfigSettings</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Initialize Interactive with Project</source>
<target state="translated">Инициализировать интерактивное окно с проектом</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetC#InteractiveFromProject</source>
<target state="translated">ResetC#InteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Reset Visual Basic Interactive from Project</source>
<target state="translated">Сбросить интерактивное окно Visual Basic из проекта</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetVisualBasicInteractiveFromProject</source>
<target state="translated">ResetVisualBasicInteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|ButtonText">
<source>Analyzer</source>
<target state="translated">Анализатор</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|LocCanonicalName">
<source>Analyzer</source>
<target state="translated">Анализатор</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|ButtonText">
<source>Analyzers</source>
<target state="translated">Анализаторы</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|LocCanonicalName">
<source>Analyzers</source>
<target state="translated">Анализаторы</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|ButtonText">
<source>Diagnostic</source>
<target state="translated">Диагностика</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|LocCanonicalName">
<source>Diagnostic</source>
<target state="translated">Диагностика</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="translated">Задать серьезность</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="translated">Задать серьезность</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="translated">Задать серьезность</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|ButtonText">
<source>S&uppress</source>
<target state="translated">&Подавить</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|LocCanonicalName">
<source>S&uppress</source>
<target state="translated">&Подавить</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|CommandName">
<source>S&uppress</source>
<target state="translated">&Подавить</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | 1 |
dotnet/roslyn | 56,030 | Remove RemoveUnusedReferences command hotkey | Resolves https://github.com/dotnet/roslyn/issues/56028 | JoeRobich | "2021-08-31T17:18:07Z" | "2021-08-31T18:42:08Z" | e01c311bd91e6290eefe9be9eeef76c64b08b2d5 | 2be2c34f110e7ce2f4cfd8e4b1f8153603087679 | Remove RemoveUnusedReferences command hotkey. Resolves https://github.com/dotnet/roslyn/issues/56028 | ./src/VisualStudio/Core/Def/xlf/Commands.vsct.tr.xlf | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="tr" original="../Commands.vsct">
<body>
<trans-unit id="ECMD_RUNFXCOPSEL|ButtonText">
<source>Run Code &Analysis on Selection</source>
<target state="translated">Kod &Analizini Seçim Üzerinde Çalıştır</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|ButtonText">
<source>&Current Document</source>
<target state="new">&Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|CommandName">
<source>AnalysisScopeCurrentDocument</source>
<target state="new">AnalysisScopeCurrentDocument</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|LocCanonicalName">
<source>Current Document</source>
<target state="new">Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|CommandName">
<source>AnalysisScopeDefault</source>
<target state="new">AnalysisScopeDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|ButtonText">
<source>&Entire Solution</source>
<target state="new">&Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|CommandName">
<source>AnalysisScopeEntireSolution</source>
<target state="new">AnalysisScopeEntireSolution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|LocCanonicalName">
<source>Entire Solution</source>
<target state="new">Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|ButtonText">
<source>&Open Documents</source>
<target state="new">&Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|CommandName">
<source>AnalysisScopeOpenDocuments</source>
<target state="new">AnalysisScopeOpenDocuments</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|LocCanonicalName">
<source>Open Documents</source>
<target state="new">Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|ButtonText">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|CommandName">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|LocCanonicalName">
<source>SetAnalysisScope</source>
<target state="new">SetAnalysisScope</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|ButtonText">
<source>Sort &Usings</source>
<target state="translated">&Using’leri Sırala</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|LocCanonicalName">
<source>SortUsings</source>
<target state="translated">SortUsings</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">Kaldır &ve Sırala</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">Kaldır &ve Sırala</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|CommandName">
<source>ErrorListSetSeverityDefault</source>
<target state="new">ErrorListSetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|ButtonText">
<source>&Error</source>
<target state="new">&Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|CommandName">
<source>ErrorListSetSeverityError</source>
<target state="new">ErrorListSetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="new">Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="new">&Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|CommandName">
<source>ErrorListSetSeverityHidden</source>
<target state="new">ErrorListSetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="new">Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="new">&Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|CommandName">
<source>ErrorListSetSeverityInfo</source>
<target state="new">ErrorListSetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="new">Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|ButtonText">
<source>&None</source>
<target state="new">&None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|CommandName">
<source>ErrorListSetSeverityNone</source>
<target state="new">ErrorListSetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="new">None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="new">&Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|CommandName">
<source>ErrorListSetSeverityWarning</source>
<target state="new">ErrorListSetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="new">Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|ButtonText">
<source>&Analyzer...</source>
<target state="translated">Çözü&mleyici...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Çözümleyici &Ekle...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Çözümleyici &Ekle...</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Çözümleyici &Ekle...</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|ButtonText">
<source>&Remove</source>
<target state="translated">&Kaldır</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|LocCanonicalName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|CommandName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|ButtonText">
<source>&Open Active Rule Set</source>
<target state="translated">Etkin Kural Kümesini &Aç</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|LocCanonicalName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|CommandName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|ButtonText">
<source>Remove &Unused References...</source>
<target state="translated">&Kullanılmayan Başvuruları Kaldır...</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|CommandName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|LocCanonicalName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|ButtonText">
<source>Run C&ode Analysis</source>
<target state="translated">K&od Analizini Çalıştır</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|CommandName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|LocCanonicalName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="translated">&Varsayılan</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="translated">Varsayılan</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|CommandName">
<source>SetSeverityDefault</source>
<target state="translated">SetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|ButtonText">
<source>&Error</source>
<target state="translated">&Hata</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="translated">Hata</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|CommandName">
<source>SetSeverityError</source>
<target state="translated">SetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="translated">&Uyarı</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="translated">Uyarı</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|CommandName">
<source>SetSeverityWarning</source>
<target state="translated">SetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="translated">Ö&neri</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="translated">Öneri</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|CommandName">
<source>SetSeverityInfo</source>
<target state="translated">SetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="translated">&Sessiz</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="translated">Sessiz</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|CommandName">
<source>SetSeverityHidden</source>
<target state="translated">SetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|ButtonText">
<source>&None</source>
<target state="translated">&Hiçbiri</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="translated">yok</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|CommandName">
<source>SetSeverityNone</source>
<target state="translated">SetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|ButtonText">
<source>&View Help...</source>
<target state="translated">Yardımı &Görüntüle...</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|LocCanonicalName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|CommandName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|ButtonText">
<source>&Set as Active Rule Set</source>
<target state="translated">Etkin Kural Kümesi Olarak &Ayarla</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|LocCanonicalName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|CommandName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|ButtonText">
<source>Remove& Suppression(s)</source>
<target state="translated">Gizlemeleri &Kaldır</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|LocCanonicalName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|CommandName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|ButtonText">
<source>In &Source</source>
<target state="translated">&Kaynakta</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|LocCanonicalName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|CommandName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|ButtonText">
<source>In& Suppression File</source>
<target state="translated">Gi&zleme Dosyasında</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|LocCanonicalName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|CommandName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|ButtonText">
<source>Go To Implementation</source>
<target state="translated">Uygulamaya Git</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|LocCanonicalName">
<source>GoToImplementation</source>
<target state="translated">GoToImplementation</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|CommandName">
<source>Go To Implementation</source>
<target state="translated">Uygulamaya Git</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|ButtonText">
<source>Sync &Namespaces</source>
<target state="new">Sync &Namespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|CommandName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|LocCanonicalName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|ButtonText">
<source>Track Value Source</source>
<target state="new">Track Value Source</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|CommandName">
<source>ShowValueTrackingCommandName</source>
<target state="new">ShowValueTrackingCommandName</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|LocCanonicalName">
<source>ViewEditorConfigSettings</source>
<target state="new">ViewEditorConfigSettings</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Initialize Interactive with Project</source>
<target state="translated">Projeyi Etkileşimli Pencerede Başlat</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetC#InteractiveFromProject</source>
<target state="translated">ResetC#InteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Reset Visual Basic Interactive from Project</source>
<target state="translated">Visual Basic Etkileşimli Penceresini Projeden Sıfırla</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetVisualBasicInteractiveFromProject</source>
<target state="translated">ResetVisualBasicInteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|ButtonText">
<source>Analyzer</source>
<target state="translated">Çözümleyici</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|LocCanonicalName">
<source>Analyzer</source>
<target state="translated">Çözümleyici</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|ButtonText">
<source>Analyzers</source>
<target state="translated">Çözümleyiciler</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|LocCanonicalName">
<source>Analyzers</source>
<target state="translated">Çözümleyiciler</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|ButtonText">
<source>Diagnostic</source>
<target state="translated">Tanılama</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|LocCanonicalName">
<source>Diagnostic</source>
<target state="translated">Tanılama</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="translated">Önem derecesini ayarla</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="translated">Önem derecesini ayarla</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="translated">Önem derecesini ayarla</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|ButtonText">
<source>S&uppress</source>
<target state="translated">&Gizle</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|LocCanonicalName">
<source>S&uppress</source>
<target state="translated">&Gizle</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|CommandName">
<source>S&uppress</source>
<target state="translated">&Gizle</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="tr" original="../Commands.vsct">
<body>
<trans-unit id="ECMD_RUNFXCOPSEL|ButtonText">
<source>Run Code &Analysis on Selection</source>
<target state="translated">Kod &Analizini Seçim Üzerinde Çalıştır</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|ButtonText">
<source>&Current Document</source>
<target state="new">&Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|CommandName">
<source>AnalysisScopeCurrentDocument</source>
<target state="new">AnalysisScopeCurrentDocument</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|LocCanonicalName">
<source>Current Document</source>
<target state="new">Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|CommandName">
<source>AnalysisScopeDefault</source>
<target state="new">AnalysisScopeDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|ButtonText">
<source>&Entire Solution</source>
<target state="new">&Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|CommandName">
<source>AnalysisScopeEntireSolution</source>
<target state="new">AnalysisScopeEntireSolution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|LocCanonicalName">
<source>Entire Solution</source>
<target state="new">Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|ButtonText">
<source>&Open Documents</source>
<target state="new">&Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|CommandName">
<source>AnalysisScopeOpenDocuments</source>
<target state="new">AnalysisScopeOpenDocuments</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|LocCanonicalName">
<source>Open Documents</source>
<target state="new">Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|ButtonText">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|CommandName">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|LocCanonicalName">
<source>SetAnalysisScope</source>
<target state="new">SetAnalysisScope</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|ButtonText">
<source>Sort &Usings</source>
<target state="translated">&Using’leri Sırala</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|LocCanonicalName">
<source>SortUsings</source>
<target state="translated">SortUsings</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">Kaldır &ve Sırala</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">Kaldır &ve Sırala</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|CommandName">
<source>ErrorListSetSeverityDefault</source>
<target state="new">ErrorListSetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|ButtonText">
<source>&Error</source>
<target state="new">&Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|CommandName">
<source>ErrorListSetSeverityError</source>
<target state="new">ErrorListSetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="new">Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="new">&Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|CommandName">
<source>ErrorListSetSeverityHidden</source>
<target state="new">ErrorListSetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="new">Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="new">&Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|CommandName">
<source>ErrorListSetSeverityInfo</source>
<target state="new">ErrorListSetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="new">Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|ButtonText">
<source>&None</source>
<target state="new">&None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|CommandName">
<source>ErrorListSetSeverityNone</source>
<target state="new">ErrorListSetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="new">None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="new">&Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|CommandName">
<source>ErrorListSetSeverityWarning</source>
<target state="new">ErrorListSetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="new">Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|ButtonText">
<source>&Analyzer...</source>
<target state="translated">Çözü&mleyici...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Çözümleyici &Ekle...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Çözümleyici &Ekle...</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">Çözümleyici &Ekle...</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|ButtonText">
<source>&Remove</source>
<target state="translated">&Kaldır</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|LocCanonicalName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|CommandName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|ButtonText">
<source>&Open Active Rule Set</source>
<target state="translated">Etkin Kural Kümesini &Aç</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|LocCanonicalName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|CommandName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|ButtonText">
<source>Remove Unused References...</source>
<target state="translated">&Kullanılmayan Başvuruları Kaldır...</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|CommandName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|LocCanonicalName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|ButtonText">
<source>Run C&ode Analysis</source>
<target state="translated">K&od Analizini Çalıştır</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|CommandName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|LocCanonicalName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="translated">&Varsayılan</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="translated">Varsayılan</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|CommandName">
<source>SetSeverityDefault</source>
<target state="translated">SetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|ButtonText">
<source>&Error</source>
<target state="translated">&Hata</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="translated">Hata</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|CommandName">
<source>SetSeverityError</source>
<target state="translated">SetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="translated">&Uyarı</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="translated">Uyarı</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|CommandName">
<source>SetSeverityWarning</source>
<target state="translated">SetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="translated">Ö&neri</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="translated">Öneri</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|CommandName">
<source>SetSeverityInfo</source>
<target state="translated">SetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="translated">&Sessiz</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="translated">Sessiz</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|CommandName">
<source>SetSeverityHidden</source>
<target state="translated">SetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|ButtonText">
<source>&None</source>
<target state="translated">&Hiçbiri</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="translated">yok</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|CommandName">
<source>SetSeverityNone</source>
<target state="translated">SetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|ButtonText">
<source>&View Help...</source>
<target state="translated">Yardımı &Görüntüle...</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|LocCanonicalName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|CommandName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|ButtonText">
<source>&Set as Active Rule Set</source>
<target state="translated">Etkin Kural Kümesi Olarak &Ayarla</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|LocCanonicalName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|CommandName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|ButtonText">
<source>Remove& Suppression(s)</source>
<target state="translated">Gizlemeleri &Kaldır</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|LocCanonicalName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|CommandName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|ButtonText">
<source>In &Source</source>
<target state="translated">&Kaynakta</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|LocCanonicalName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|CommandName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|ButtonText">
<source>In& Suppression File</source>
<target state="translated">Gi&zleme Dosyasında</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|LocCanonicalName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|CommandName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|ButtonText">
<source>Go To Implementation</source>
<target state="translated">Uygulamaya Git</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|LocCanonicalName">
<source>GoToImplementation</source>
<target state="translated">GoToImplementation</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|CommandName">
<source>Go To Implementation</source>
<target state="translated">Uygulamaya Git</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|ButtonText">
<source>Sync &Namespaces</source>
<target state="new">Sync &Namespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|CommandName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|LocCanonicalName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|ButtonText">
<source>Track Value Source</source>
<target state="new">Track Value Source</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|CommandName">
<source>ShowValueTrackingCommandName</source>
<target state="new">ShowValueTrackingCommandName</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|LocCanonicalName">
<source>ViewEditorConfigSettings</source>
<target state="new">ViewEditorConfigSettings</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Initialize Interactive with Project</source>
<target state="translated">Projeyi Etkileşimli Pencerede Başlat</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetC#InteractiveFromProject</source>
<target state="translated">ResetC#InteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Reset Visual Basic Interactive from Project</source>
<target state="translated">Visual Basic Etkileşimli Penceresini Projeden Sıfırla</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetVisualBasicInteractiveFromProject</source>
<target state="translated">ResetVisualBasicInteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|ButtonText">
<source>Analyzer</source>
<target state="translated">Çözümleyici</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|LocCanonicalName">
<source>Analyzer</source>
<target state="translated">Çözümleyici</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|ButtonText">
<source>Analyzers</source>
<target state="translated">Çözümleyiciler</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|LocCanonicalName">
<source>Analyzers</source>
<target state="translated">Çözümleyiciler</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|ButtonText">
<source>Diagnostic</source>
<target state="translated">Tanılama</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|LocCanonicalName">
<source>Diagnostic</source>
<target state="translated">Tanılama</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="translated">Önem derecesini ayarla</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="translated">Önem derecesini ayarla</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="translated">Önem derecesini ayarla</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|ButtonText">
<source>S&uppress</source>
<target state="translated">&Gizle</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|LocCanonicalName">
<source>S&uppress</source>
<target state="translated">&Gizle</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|CommandName">
<source>S&uppress</source>
<target state="translated">&Gizle</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | 1 |
dotnet/roslyn | 56,030 | Remove RemoveUnusedReferences command hotkey | Resolves https://github.com/dotnet/roslyn/issues/56028 | JoeRobich | "2021-08-31T17:18:07Z" | "2021-08-31T18:42:08Z" | e01c311bd91e6290eefe9be9eeef76c64b08b2d5 | 2be2c34f110e7ce2f4cfd8e4b1f8153603087679 | Remove RemoveUnusedReferences command hotkey. Resolves https://github.com/dotnet/roslyn/issues/56028 | ./src/VisualStudio/Core/Def/xlf/Commands.vsct.zh-Hans.xlf | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="zh-Hans" original="../Commands.vsct">
<body>
<trans-unit id="ECMD_RUNFXCOPSEL|ButtonText">
<source>Run Code &Analysis on Selection</source>
<target state="translated">对选定内容运行代码分析(&A)</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|ButtonText">
<source>&Current Document</source>
<target state="new">&Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|CommandName">
<source>AnalysisScopeCurrentDocument</source>
<target state="new">AnalysisScopeCurrentDocument</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|LocCanonicalName">
<source>Current Document</source>
<target state="new">Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|CommandName">
<source>AnalysisScopeDefault</source>
<target state="new">AnalysisScopeDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|ButtonText">
<source>&Entire Solution</source>
<target state="new">&Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|CommandName">
<source>AnalysisScopeEntireSolution</source>
<target state="new">AnalysisScopeEntireSolution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|LocCanonicalName">
<source>Entire Solution</source>
<target state="new">Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|ButtonText">
<source>&Open Documents</source>
<target state="new">&Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|CommandName">
<source>AnalysisScopeOpenDocuments</source>
<target state="new">AnalysisScopeOpenDocuments</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|LocCanonicalName">
<source>Open Documents</source>
<target state="new">Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|ButtonText">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|CommandName">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|LocCanonicalName">
<source>SetAnalysisScope</source>
<target state="new">SetAnalysisScope</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|ButtonText">
<source>Sort &Usings</source>
<target state="translated">对 using 排序(&U)</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|LocCanonicalName">
<source>SortUsings</source>
<target state="translated">SortUsings</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">删除和排序(&A)</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">删除和排序(&A)</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|CommandName">
<source>ErrorListSetSeverityDefault</source>
<target state="new">ErrorListSetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|ButtonText">
<source>&Error</source>
<target state="new">&Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|CommandName">
<source>ErrorListSetSeverityError</source>
<target state="new">ErrorListSetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="new">Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="new">&Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|CommandName">
<source>ErrorListSetSeverityHidden</source>
<target state="new">ErrorListSetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="new">Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="new">&Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|CommandName">
<source>ErrorListSetSeverityInfo</source>
<target state="new">ErrorListSetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="new">Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|ButtonText">
<source>&None</source>
<target state="new">&None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|CommandName">
<source>ErrorListSetSeverityNone</source>
<target state="new">ErrorListSetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="new">None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="new">&Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|CommandName">
<source>ErrorListSetSeverityWarning</source>
<target state="new">ErrorListSetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="new">Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|ButtonText">
<source>&Analyzer...</source>
<target state="translated">分析器(&A)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">添加分析器(&A)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">添加分析器(&A)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">添加分析器(&A)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|ButtonText">
<source>&Remove</source>
<target state="translated">删除(&R)</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|LocCanonicalName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|CommandName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|ButtonText">
<source>&Open Active Rule Set</source>
<target state="translated">打开活动规则集(&O)</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|LocCanonicalName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|CommandName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|ButtonText">
<source>Remove &Unused References...</source>
<target state="translated">删除未使用的引用(&U)…</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|CommandName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|LocCanonicalName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|ButtonText">
<source>Run C&ode Analysis</source>
<target state="translated">运行代码分析(&O)</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|CommandName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|LocCanonicalName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="translated">默认值(&D)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="translated">默认值</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|CommandName">
<source>SetSeverityDefault</source>
<target state="translated">SetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|ButtonText">
<source>&Error</source>
<target state="translated">错误(&E)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="translated">错误</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|CommandName">
<source>SetSeverityError</source>
<target state="translated">SetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="translated">警告(&W)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="translated">警告</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|CommandName">
<source>SetSeverityWarning</source>
<target state="translated">SetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="translated">建议(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="translated">建议</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|CommandName">
<source>SetSeverityInfo</source>
<target state="translated">SetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="translated">静音(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="translated">静音</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|CommandName">
<source>SetSeverityHidden</source>
<target state="translated">SetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|ButtonText">
<source>&None</source>
<target state="translated">无(&N)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="translated">无</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|CommandName">
<source>SetSeverityNone</source>
<target state="translated">SetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|ButtonText">
<source>&View Help...</source>
<target state="translated">查看帮助(&V)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|LocCanonicalName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|CommandName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|ButtonText">
<source>&Set as Active Rule Set</source>
<target state="translated">设置为活动规则集(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|LocCanonicalName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|CommandName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|ButtonText">
<source>Remove& Suppression(s)</source>
<target state="translated">删除禁止显示(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|LocCanonicalName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|CommandName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|ButtonText">
<source>In &Source</source>
<target state="translated">在源中(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|LocCanonicalName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|CommandName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|ButtonText">
<source>In& Suppression File</source>
<target state="translated">在禁止显示文件中(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|LocCanonicalName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|CommandName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|ButtonText">
<source>Go To Implementation</source>
<target state="translated">转到实现</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|LocCanonicalName">
<source>GoToImplementation</source>
<target state="translated">GoToImplementation</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|CommandName">
<source>Go To Implementation</source>
<target state="translated">转到实现</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|ButtonText">
<source>Sync &Namespaces</source>
<target state="new">Sync &Namespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|CommandName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|LocCanonicalName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|ButtonText">
<source>Track Value Source</source>
<target state="new">Track Value Source</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|CommandName">
<source>ShowValueTrackingCommandName</source>
<target state="new">ShowValueTrackingCommandName</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|LocCanonicalName">
<source>ViewEditorConfigSettings</source>
<target state="new">ViewEditorConfigSettings</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Initialize Interactive with Project</source>
<target state="translated">对交互窗口进行项目初始化</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetC#InteractiveFromProject</source>
<target state="translated">ResetC#InteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Reset Visual Basic Interactive from Project</source>
<target state="translated">从项目重置 Visual Basic 交互</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetVisualBasicInteractiveFromProject</source>
<target state="translated">ResetVisualBasicInteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|ButtonText">
<source>Analyzer</source>
<target state="translated">分析器</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|LocCanonicalName">
<source>Analyzer</source>
<target state="translated">分析器</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|ButtonText">
<source>Analyzers</source>
<target state="translated">分析器</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|LocCanonicalName">
<source>Analyzers</source>
<target state="translated">分析器</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|ButtonText">
<source>Diagnostic</source>
<target state="translated">诊断</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|LocCanonicalName">
<source>Diagnostic</source>
<target state="translated">诊断</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="translated">设置严重性</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="translated">设置严重性</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="translated">设置严重性</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|ButtonText">
<source>S&uppress</source>
<target state="translated">取消(&U)</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|LocCanonicalName">
<source>S&uppress</source>
<target state="translated">取消(&U)</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|CommandName">
<source>S&uppress</source>
<target state="translated">取消(&U)</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="zh-Hans" original="../Commands.vsct">
<body>
<trans-unit id="ECMD_RUNFXCOPSEL|ButtonText">
<source>Run Code &Analysis on Selection</source>
<target state="translated">对选定内容运行代码分析(&A)</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|ButtonText">
<source>&Current Document</source>
<target state="new">&Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|CommandName">
<source>AnalysisScopeCurrentDocument</source>
<target state="new">AnalysisScopeCurrentDocument</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|LocCanonicalName">
<source>Current Document</source>
<target state="new">Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|CommandName">
<source>AnalysisScopeDefault</source>
<target state="new">AnalysisScopeDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|ButtonText">
<source>&Entire Solution</source>
<target state="new">&Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|CommandName">
<source>AnalysisScopeEntireSolution</source>
<target state="new">AnalysisScopeEntireSolution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|LocCanonicalName">
<source>Entire Solution</source>
<target state="new">Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|ButtonText">
<source>&Open Documents</source>
<target state="new">&Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|CommandName">
<source>AnalysisScopeOpenDocuments</source>
<target state="new">AnalysisScopeOpenDocuments</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|LocCanonicalName">
<source>Open Documents</source>
<target state="new">Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|ButtonText">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|CommandName">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|LocCanonicalName">
<source>SetAnalysisScope</source>
<target state="new">SetAnalysisScope</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|ButtonText">
<source>Sort &Usings</source>
<target state="translated">对 using 排序(&U)</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|LocCanonicalName">
<source>SortUsings</source>
<target state="translated">SortUsings</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">删除和排序(&A)</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">删除和排序(&A)</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|CommandName">
<source>ErrorListSetSeverityDefault</source>
<target state="new">ErrorListSetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|ButtonText">
<source>&Error</source>
<target state="new">&Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|CommandName">
<source>ErrorListSetSeverityError</source>
<target state="new">ErrorListSetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="new">Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="new">&Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|CommandName">
<source>ErrorListSetSeverityHidden</source>
<target state="new">ErrorListSetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="new">Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="new">&Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|CommandName">
<source>ErrorListSetSeverityInfo</source>
<target state="new">ErrorListSetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="new">Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|ButtonText">
<source>&None</source>
<target state="new">&None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|CommandName">
<source>ErrorListSetSeverityNone</source>
<target state="new">ErrorListSetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="new">None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="new">&Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|CommandName">
<source>ErrorListSetSeverityWarning</source>
<target state="new">ErrorListSetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="new">Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|ButtonText">
<source>&Analyzer...</source>
<target state="translated">分析器(&A)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">添加分析器(&A)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">添加分析器(&A)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">添加分析器(&A)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|ButtonText">
<source>&Remove</source>
<target state="translated">删除(&R)</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|LocCanonicalName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|CommandName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|ButtonText">
<source>&Open Active Rule Set</source>
<target state="translated">打开活动规则集(&O)</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|LocCanonicalName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|CommandName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|ButtonText">
<source>Remove Unused References...</source>
<target state="translated">删除未使用的引用(&U)…</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|CommandName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|LocCanonicalName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|ButtonText">
<source>Run C&ode Analysis</source>
<target state="translated">运行代码分析(&O)</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|CommandName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|LocCanonicalName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="translated">默认值(&D)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="translated">默认值</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|CommandName">
<source>SetSeverityDefault</source>
<target state="translated">SetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|ButtonText">
<source>&Error</source>
<target state="translated">错误(&E)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="translated">错误</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|CommandName">
<source>SetSeverityError</source>
<target state="translated">SetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="translated">警告(&W)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="translated">警告</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|CommandName">
<source>SetSeverityWarning</source>
<target state="translated">SetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="translated">建议(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="translated">建议</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|CommandName">
<source>SetSeverityInfo</source>
<target state="translated">SetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="translated">静音(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="translated">静音</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|CommandName">
<source>SetSeverityHidden</source>
<target state="translated">SetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|ButtonText">
<source>&None</source>
<target state="translated">无(&N)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="translated">无</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|CommandName">
<source>SetSeverityNone</source>
<target state="translated">SetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|ButtonText">
<source>&View Help...</source>
<target state="translated">查看帮助(&V)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|LocCanonicalName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|CommandName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|ButtonText">
<source>&Set as Active Rule Set</source>
<target state="translated">设置为活动规则集(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|LocCanonicalName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|CommandName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|ButtonText">
<source>Remove& Suppression(s)</source>
<target state="translated">删除禁止显示(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|LocCanonicalName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|CommandName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|ButtonText">
<source>In &Source</source>
<target state="translated">在源中(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|LocCanonicalName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|CommandName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|ButtonText">
<source>In& Suppression File</source>
<target state="translated">在禁止显示文件中(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|LocCanonicalName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|CommandName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|ButtonText">
<source>Go To Implementation</source>
<target state="translated">转到实现</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|LocCanonicalName">
<source>GoToImplementation</source>
<target state="translated">GoToImplementation</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|CommandName">
<source>Go To Implementation</source>
<target state="translated">转到实现</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|ButtonText">
<source>Sync &Namespaces</source>
<target state="new">Sync &Namespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|CommandName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|LocCanonicalName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|ButtonText">
<source>Track Value Source</source>
<target state="new">Track Value Source</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|CommandName">
<source>ShowValueTrackingCommandName</source>
<target state="new">ShowValueTrackingCommandName</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|LocCanonicalName">
<source>ViewEditorConfigSettings</source>
<target state="new">ViewEditorConfigSettings</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Initialize Interactive with Project</source>
<target state="translated">对交互窗口进行项目初始化</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetC#InteractiveFromProject</source>
<target state="translated">ResetC#InteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Reset Visual Basic Interactive from Project</source>
<target state="translated">从项目重置 Visual Basic 交互</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetVisualBasicInteractiveFromProject</source>
<target state="translated">ResetVisualBasicInteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|ButtonText">
<source>Analyzer</source>
<target state="translated">分析器</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|LocCanonicalName">
<source>Analyzer</source>
<target state="translated">分析器</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|ButtonText">
<source>Analyzers</source>
<target state="translated">分析器</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|LocCanonicalName">
<source>Analyzers</source>
<target state="translated">分析器</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|ButtonText">
<source>Diagnostic</source>
<target state="translated">诊断</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|LocCanonicalName">
<source>Diagnostic</source>
<target state="translated">诊断</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="translated">设置严重性</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="translated">设置严重性</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="translated">设置严重性</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|ButtonText">
<source>S&uppress</source>
<target state="translated">取消(&U)</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|LocCanonicalName">
<source>S&uppress</source>
<target state="translated">取消(&U)</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|CommandName">
<source>S&uppress</source>
<target state="translated">取消(&U)</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | 1 |
dotnet/roslyn | 56,030 | Remove RemoveUnusedReferences command hotkey | Resolves https://github.com/dotnet/roslyn/issues/56028 | JoeRobich | "2021-08-31T17:18:07Z" | "2021-08-31T18:42:08Z" | e01c311bd91e6290eefe9be9eeef76c64b08b2d5 | 2be2c34f110e7ce2f4cfd8e4b1f8153603087679 | Remove RemoveUnusedReferences command hotkey. Resolves https://github.com/dotnet/roslyn/issues/56028 | ./src/VisualStudio/Core/Def/xlf/Commands.vsct.zh-Hant.xlf | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="zh-Hant" original="../Commands.vsct">
<body>
<trans-unit id="ECMD_RUNFXCOPSEL|ButtonText">
<source>Run Code &Analysis on Selection</source>
<target state="translated">針對選取範圍執行程式碼分析(&A)</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|ButtonText">
<source>&Current Document</source>
<target state="new">&Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|CommandName">
<source>AnalysisScopeCurrentDocument</source>
<target state="new">AnalysisScopeCurrentDocument</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|LocCanonicalName">
<source>Current Document</source>
<target state="new">Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|CommandName">
<source>AnalysisScopeDefault</source>
<target state="new">AnalysisScopeDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|ButtonText">
<source>&Entire Solution</source>
<target state="new">&Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|CommandName">
<source>AnalysisScopeEntireSolution</source>
<target state="new">AnalysisScopeEntireSolution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|LocCanonicalName">
<source>Entire Solution</source>
<target state="new">Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|ButtonText">
<source>&Open Documents</source>
<target state="new">&Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|CommandName">
<source>AnalysisScopeOpenDocuments</source>
<target state="new">AnalysisScopeOpenDocuments</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|LocCanonicalName">
<source>Open Documents</source>
<target state="new">Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|ButtonText">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|CommandName">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|LocCanonicalName">
<source>SetAnalysisScope</source>
<target state="new">SetAnalysisScope</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|ButtonText">
<source>Sort &Usings</source>
<target state="translated">排序 Using(&U)</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|LocCanonicalName">
<source>SortUsings</source>
<target state="translated">SortUsings</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">移除和排序(&A)</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">移除和排序(&A)</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|CommandName">
<source>ErrorListSetSeverityDefault</source>
<target state="new">ErrorListSetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|ButtonText">
<source>&Error</source>
<target state="new">&Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|CommandName">
<source>ErrorListSetSeverityError</source>
<target state="new">ErrorListSetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="new">Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="new">&Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|CommandName">
<source>ErrorListSetSeverityHidden</source>
<target state="new">ErrorListSetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="new">Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="new">&Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|CommandName">
<source>ErrorListSetSeverityInfo</source>
<target state="new">ErrorListSetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="new">Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|ButtonText">
<source>&None</source>
<target state="new">&None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|CommandName">
<source>ErrorListSetSeverityNone</source>
<target state="new">ErrorListSetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="new">None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="new">&Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|CommandName">
<source>ErrorListSetSeverityWarning</source>
<target state="new">ErrorListSetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="new">Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|ButtonText">
<source>&Analyzer...</source>
<target state="translated">分析器(&A)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">新增分析器(&A)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">新增分析器(&A)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">新增分析器(&A)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|ButtonText">
<source>&Remove</source>
<target state="translated">移除(&R)</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|LocCanonicalName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|CommandName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|ButtonText">
<source>&Open Active Rule Set</source>
<target state="translated">開啟使用中的規則集合(&O)</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|LocCanonicalName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|CommandName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|ButtonText">
<source>Remove &Unused References...</source>
<target state="translated">移除未使用的參考(&U)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|CommandName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|LocCanonicalName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|ButtonText">
<source>Run C&ode Analysis</source>
<target state="translated">執行程式碼分析(&O)</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|CommandName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|LocCanonicalName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="translated">預設(&D)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="translated">預設</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|CommandName">
<source>SetSeverityDefault</source>
<target state="translated">SetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|ButtonText">
<source>&Error</source>
<target state="translated">錯誤(&E)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="translated">錯誤</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|CommandName">
<source>SetSeverityError</source>
<target state="translated">SetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="translated">警告(&W)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="translated">警告</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|CommandName">
<source>SetSeverityWarning</source>
<target state="translated">SetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="translated">建議(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="translated">建議</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|CommandName">
<source>SetSeverityInfo</source>
<target state="translated">SetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="translated">隱藏(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="translated">隱藏</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|CommandName">
<source>SetSeverityHidden</source>
<target state="translated">SetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|ButtonText">
<source>&None</source>
<target state="translated">無(&N)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="translated">無</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|CommandName">
<source>SetSeverityNone</source>
<target state="translated">SetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|ButtonText">
<source>&View Help...</source>
<target state="translated">檢視說明(&V)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|LocCanonicalName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|CommandName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|ButtonText">
<source>&Set as Active Rule Set</source>
<target state="translated">設為使用中的規則集合(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|LocCanonicalName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|CommandName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|ButtonText">
<source>Remove& Suppression(s)</source>
<target state="translated">移除隱藏項目(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|LocCanonicalName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|CommandName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|ButtonText">
<source>In &Source</source>
<target state="translated">在原始程式檔中(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|LocCanonicalName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|CommandName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|ButtonText">
<source>In& Suppression File</source>
<target state="translated">在隱藏項目檔中(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|LocCanonicalName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|CommandName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|ButtonText">
<source>Go To Implementation</source>
<target state="translated">前往實作</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|LocCanonicalName">
<source>GoToImplementation</source>
<target state="translated">GoToImplementation</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|CommandName">
<source>Go To Implementation</source>
<target state="translated">前往實作</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|ButtonText">
<source>Sync &Namespaces</source>
<target state="new">Sync &Namespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|CommandName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|LocCanonicalName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|ButtonText">
<source>Track Value Source</source>
<target state="new">Track Value Source</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|CommandName">
<source>ShowValueTrackingCommandName</source>
<target state="new">ShowValueTrackingCommandName</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|LocCanonicalName">
<source>ViewEditorConfigSettings</source>
<target state="new">ViewEditorConfigSettings</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Initialize Interactive with Project</source>
<target state="translated">使用專案將 Interactive 初始化</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetC#InteractiveFromProject</source>
<target state="translated">ResetC#InteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Reset Visual Basic Interactive from Project</source>
<target state="translated">從專案重設 Visual Basic Interactive</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetVisualBasicInteractiveFromProject</source>
<target state="translated">ResetVisualBasicInteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|ButtonText">
<source>Analyzer</source>
<target state="translated">分析器</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|LocCanonicalName">
<source>Analyzer</source>
<target state="translated">分析器</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|ButtonText">
<source>Analyzers</source>
<target state="translated">分析器</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|LocCanonicalName">
<source>Analyzers</source>
<target state="translated">分析器</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|ButtonText">
<source>Diagnostic</source>
<target state="translated">診斷</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|LocCanonicalName">
<source>Diagnostic</source>
<target state="translated">診斷</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="translated">設定嚴重性</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="translated">設定嚴重性</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="translated">設定嚴重性</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|ButtonText">
<source>S&uppress</source>
<target state="translated">隱藏(&U)</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|LocCanonicalName">
<source>S&uppress</source>
<target state="translated">隱藏(&U)</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|CommandName">
<source>S&uppress</source>
<target state="translated">隱藏(&U)</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="zh-Hant" original="../Commands.vsct">
<body>
<trans-unit id="ECMD_RUNFXCOPSEL|ButtonText">
<source>Run Code &Analysis on Selection</source>
<target state="translated">針對選取範圍執行程式碼分析(&A)</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|ButtonText">
<source>&Current Document</source>
<target state="new">&Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|CommandName">
<source>AnalysisScopeCurrentDocument</source>
<target state="new">AnalysisScopeCurrentDocument</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeCurrentFile|LocCanonicalName">
<source>Current Document</source>
<target state="new">Current Document</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|CommandName">
<source>AnalysisScopeDefault</source>
<target state="new">AnalysisScopeDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|ButtonText">
<source>&Entire Solution</source>
<target state="new">&Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|CommandName">
<source>AnalysisScopeEntireSolution</source>
<target state="new">AnalysisScopeEntireSolution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeEntireSolution|LocCanonicalName">
<source>Entire Solution</source>
<target state="new">Entire Solution</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|ButtonText">
<source>&Open Documents</source>
<target state="new">&Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|CommandName">
<source>AnalysisScopeOpenDocuments</source>
<target state="new">AnalysisScopeOpenDocuments</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeOpenFiles|LocCanonicalName">
<source>Open Documents</source>
<target state="new">Open Documents</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|ButtonText">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|CommandName">
<source>Set Analysis Scope</source>
<target state="new">Set Analysis Scope</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalysisScopeSubMenu|LocCanonicalName">
<source>SetAnalysisScope</source>
<target state="new">SetAnalysisScope</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|ButtonText">
<source>Sort &Usings</source>
<target state="translated">排序 Using(&U)</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeSortUsings|LocCanonicalName">
<source>SortUsings</source>
<target state="translated">SortUsings</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">移除和排序(&A)</target>
<note />
</trans-unit>
<trans-unit id="cmdidContextOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|ButtonText">
<source>Remove &and Sort</source>
<target state="translated">移除和排序(&A)</target>
<note />
</trans-unit>
<trans-unit id="cmdidCSharpOrganizeRemoveAndSort|LocCanonicalName">
<source>RemoveAndSort</source>
<target state="translated">RemoveAndSort</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="new">&Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|CommandName">
<source>ErrorListSetSeverityDefault</source>
<target state="new">ErrorListSetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="new">Default</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|ButtonText">
<source>&Error</source>
<target state="new">&Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|CommandName">
<source>ErrorListSetSeverityError</source>
<target state="new">ErrorListSetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="new">Error</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="new">&Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|CommandName">
<source>ErrorListSetSeverityHidden</source>
<target state="new">ErrorListSetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="new">Silent</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="new">&Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|CommandName">
<source>ErrorListSetSeverityInfo</source>
<target state="new">ErrorListSetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="new">Suggestion</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|ButtonText">
<source>&None</source>
<target state="new">&None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|CommandName">
<source>ErrorListSetSeverityNone</source>
<target state="new">ErrorListSetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="new">None</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="new">Set severity</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="new">&Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|CommandName">
<source>ErrorListSetSeverityWarning</source>
<target state="new">ErrorListSetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidErrorListSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="new">Warning</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|ButtonText">
<source>&Analyzer...</source>
<target state="translated">分析器(&A)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">新增分析器(&A)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidProjectAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">新增分析器(&A)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidReferencesContextAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|ButtonText">
<source>Add &Analyzer...</source>
<target state="translated">新增分析器(&A)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddAnalyzer|LocCanonicalName">
<source>AddAnalyzer</source>
<target state="translated">AddAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|ButtonText">
<source>&Remove</source>
<target state="translated">移除(&R)</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|LocCanonicalName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveAnalyzer|CommandName">
<source>RemoveAnalyzer</source>
<target state="translated">RemoveAnalyzer</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|ButtonText">
<source>&Open Active Rule Set</source>
<target state="translated">開啟使用中的規則集合(&O)</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|LocCanonicalName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenRuleSet|CommandName">
<source>OpenActiveRuleSet</source>
<target state="translated">OpenActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|ButtonText">
<source>Remove Unused References...</source>
<target state="translated">移除未使用的參考(&U)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|CommandName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveUnusedReferences|LocCanonicalName">
<source>RemoveUnusedReferences</source>
<target state="translated">RemoveUnusedReferences</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|ButtonText">
<source>Run C&ode Analysis</source>
<target state="translated">執行程式碼分析(&O)</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|CommandName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidRunCodeAnalysisForProject|LocCanonicalName">
<source>RunCodeAnalysisForProject</source>
<target state="translated">RunCodeAnalysisForProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|ButtonText">
<source>&Default</source>
<target state="translated">預設(&D)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|LocCanonicalName">
<source>Default</source>
<target state="translated">預設</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityDefault|CommandName">
<source>SetSeverityDefault</source>
<target state="translated">SetSeverityDefault</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|ButtonText">
<source>&Error</source>
<target state="translated">錯誤(&E)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|LocCanonicalName">
<source>Error</source>
<target state="translated">錯誤</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityError|CommandName">
<source>SetSeverityError</source>
<target state="translated">SetSeverityError</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|ButtonText">
<source>&Warning</source>
<target state="translated">警告(&W)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|LocCanonicalName">
<source>Warning</source>
<target state="translated">警告</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityWarning|CommandName">
<source>SetSeverityWarning</source>
<target state="translated">SetSeverityWarning</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|ButtonText">
<source>&Suggestion</source>
<target state="translated">建議(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|LocCanonicalName">
<source>Suggestion</source>
<target state="translated">建議</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityInfo|CommandName">
<source>SetSeverityInfo</source>
<target state="translated">SetSeverityInfo</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|ButtonText">
<source>&Silent</source>
<target state="translated">隱藏(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|LocCanonicalName">
<source>Silent</source>
<target state="translated">隱藏</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityHidden|CommandName">
<source>SetSeverityHidden</source>
<target state="translated">SetSeverityHidden</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|ButtonText">
<source>&None</source>
<target state="translated">無(&N)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|LocCanonicalName">
<source>None</source>
<target state="translated">無</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeverityNone|CommandName">
<source>SetSeverityNone</source>
<target state="translated">SetSeverityNone</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|ButtonText">
<source>&View Help...</source>
<target state="translated">檢視說明(&V)...</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|LocCanonicalName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidOpenDiagnosticHelpLink|CommandName">
<source>ViewHelp</source>
<target state="translated">ViewHelp</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|ButtonText">
<source>&Set as Active Rule Set</source>
<target state="translated">設為使用中的規則集合(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|LocCanonicalName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetActiveRuleSet|CommandName">
<source>SetAsActiveRuleSet</source>
<target state="translated">SetAsActiveRuleSet</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|ButtonText">
<source>Remove& Suppression(s)</source>
<target state="translated">移除隱藏項目(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|LocCanonicalName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidRemoveSuppressions|CommandName">
<source>RemoveSuppressions</source>
<target state="translated">RemoveSuppressions</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|ButtonText">
<source>In &Source</source>
<target state="translated">在原始程式檔中(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|LocCanonicalName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSource|CommandName">
<source>AddSuppressionsInSource</source>
<target state="translated">AddSuppressionsInSource</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|ButtonText">
<source>In& Suppression File</source>
<target state="translated">在隱藏項目檔中(&S)</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|LocCanonicalName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsInSuppressionFile|CommandName">
<source>AddSuppressionsInSuppressionFile</source>
<target state="translated">AddSuppressionsInSuppressionFile</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|ButtonText">
<source>Go To Implementation</source>
<target state="translated">前往實作</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|LocCanonicalName">
<source>GoToImplementation</source>
<target state="translated">GoToImplementation</target>
<note />
</trans-unit>
<trans-unit id="cmdidGoToImplementation|CommandName">
<source>Go To Implementation</source>
<target state="translated">前往實作</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|ButtonText">
<source>Sync &Namespaces</source>
<target state="new">Sync &Namespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|CommandName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidSyncNamespaces|LocCanonicalName">
<source>SyncNamespaces</source>
<target state="new">SyncNamespaces</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|ButtonText">
<source>Track Value Source</source>
<target state="new">Track Value Source</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|CommandName">
<source>ShowValueTrackingCommandName</source>
<target state="new">ShowValueTrackingCommandName</target>
<note />
</trans-unit>
<trans-unit id="cmdidshowValueTracking|LocCanonicalName">
<source>ViewEditorConfigSettings</source>
<target state="new">ViewEditorConfigSettings</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Initialize Interactive with Project</source>
<target state="translated">使用專案將 Interactive 初始化</target>
<note />
</trans-unit>
<trans-unit id="guidCSharpInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetC#InteractiveFromProject</source>
<target state="translated">ResetC#InteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|ButtonText">
<source>Reset Visual Basic Interactive from Project</source>
<target state="translated">從專案重設 Visual Basic Interactive</target>
<note />
</trans-unit>
<trans-unit id="guidVisualBasicInteractiveCommandSet|cmdidResetInteractiveFromProject|LocCanonicalName">
<source>ResetVisualBasicInteractiveFromProject</source>
<target state="translated">ResetVisualBasicInteractiveFromProject</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|ButtonText">
<source>Analyzer</source>
<target state="translated">分析器</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerContextMenu|LocCanonicalName">
<source>Analyzer</source>
<target state="translated">分析器</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|ButtonText">
<source>Analyzers</source>
<target state="translated">分析器</target>
<note />
</trans-unit>
<trans-unit id="cmdidAnalyzerFolderContextMenu|LocCanonicalName">
<source>Analyzers</source>
<target state="translated">分析器</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|ButtonText">
<source>Diagnostic</source>
<target state="translated">診斷</target>
<note />
</trans-unit>
<trans-unit id="cmdidDiagnosticContextMenu|LocCanonicalName">
<source>Diagnostic</source>
<target state="translated">診斷</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|ButtonText">
<source>Set severity</source>
<target state="translated">設定嚴重性</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|CommandName">
<source>Set severity</source>
<target state="translated">設定嚴重性</target>
<note />
</trans-unit>
<trans-unit id="cmdidSetSeveritySubMenu|LocCanonicalName">
<source>Set severity</source>
<target state="translated">設定嚴重性</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|ButtonText">
<source>S&uppress</source>
<target state="translated">隱藏(&U)</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|LocCanonicalName">
<source>S&uppress</source>
<target state="translated">隱藏(&U)</target>
<note />
</trans-unit>
<trans-unit id="cmdidAddSuppressionsContextMenu|CommandName">
<source>S&uppress</source>
<target state="translated">隱藏(&U)</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | 1 |
dotnet/roslyn | 56,030 | Remove RemoveUnusedReferences command hotkey | Resolves https://github.com/dotnet/roslyn/issues/56028 | JoeRobich | "2021-08-31T17:18:07Z" | "2021-08-31T18:42:08Z" | e01c311bd91e6290eefe9be9eeef76c64b08b2d5 | 2be2c34f110e7ce2f4cfd8e4b1f8153603087679 | Remove RemoveUnusedReferences command hotkey. Resolves https://github.com/dotnet/roslyn/issues/56028 | ./src/Analyzers/CSharp/Analyzers/xlf/CSharpAnalyzersResources.ja.xlf | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="ja" original="../CSharpAnalyzersResources.resx">
<body>
<trans-unit id="Add_braces">
<source>Add braces</source>
<target state="translated">波かっこを追加します</target>
<note />
</trans-unit>
<trans-unit id="Add_braces_to_0_statement">
<source>Add braces to '{0}' statement.</source>
<target state="translated">'{0}' ステートメントに波かっこを追加します。</target>
<note />
</trans-unit>
<trans-unit id="Blank_line_not_allowed_after_constructor_initializer_colon">
<source>Blank line not allowed after constructor initializer colon</source>
<target state="translated">コンストラクター初期化子のコロンの後に空白行を使用することはできません</target>
<note />
</trans-unit>
<trans-unit id="Consecutive_braces_must_not_have_a_blank_between_them">
<source>Consecutive braces must not have blank line between them</source>
<target state="translated">連続する中かっこの間に空白行を含めることはできません</target>
<note />
</trans-unit>
<trans-unit id="Convert_switch_statement_to_expression">
<source>Convert switch statement to expression</source>
<target state="translated">switch ステートメントを式に変換します</target>
<note />
</trans-unit>
<trans-unit id="Convert_to_block_scoped_namespace">
<source>Convert to block scoped namespace</source>
<target state="new">Convert to block scoped namespace</target>
<note>{Locked="namespace"} "namespace" is a C# keyword and should not be localized.</note>
</trans-unit>
<trans-unit id="Convert_to_file_scoped_namespace">
<source>Convert to file-scoped namespace</source>
<target state="new">Convert to file-scoped namespace</target>
<note>{Locked="namespace"} "namespace" is a C# keyword and should not be localized.</note>
</trans-unit>
<trans-unit id="Deconstruct_variable_declaration">
<source>Deconstruct variable declaration</source>
<target state="translated">変数の宣言を分解</target>
<note />
</trans-unit>
<trans-unit id="Delegate_invocation_can_be_simplified">
<source>Delegate invocation can be simplified.</source>
<target state="translated">デリゲート呼び出しを簡素化できます。</target>
<note />
</trans-unit>
<trans-unit id="Discard_can_be_removed">
<source>Discard can be removed</source>
<target state="translated">ディスカードは削除できます</target>
<note />
</trans-unit>
<trans-unit id="Embedded_statements_must_be_on_their_own_line">
<source>Embedded statements must be on their own line</source>
<target state="translated">埋め込みステートメントは独自の行に配置する必要があります</target>
<note />
</trans-unit>
<trans-unit id="Indexing_can_be_simplified">
<source>Indexing can be simplified</source>
<target state="translated">インデックスの作成を簡素化することができます</target>
<note />
</trans-unit>
<trans-unit id="Inline_variable_declaration">
<source>Inline variable declaration</source>
<target state="translated">インライン変数宣言</target>
<note />
</trans-unit>
<trans-unit id="Misplaced_using_directive">
<source>Misplaced using directive</source>
<target state="translated">using ディレクティブが正しく配置されていません</target>
<note>{Locked="using"} "using" is a C# keyword and should not be localized.</note>
</trans-unit>
<trans-unit id="Move_misplaced_using_directives">
<source>Move misplaced using directives</source>
<target state="translated">誤って配置された using ディレクティブを移動します</target>
<note>{Locked="using"} "using" is a C# keyword and should not be localized.</note>
</trans-unit>
<trans-unit id="Make_readonly_fields_writable">
<source>Make readonly fields writable</source>
<target state="translated">readonly フィールドを書き込み可能にします</target>
<note>{Locked="readonly"} "readonly" is C# keyword and should not be localized.</note>
</trans-unit>
<trans-unit id="Local_function_can_be_made_static">
<source>Local function can be made static</source>
<target state="translated">ローカル関数を静的にすることができます</target>
<note />
</trans-unit>
<trans-unit id="Make_local_function_static">
<source>Make local function 'static'</source>
<target state="translated">ローカル関数を 'static' にします</target>
<note />
</trans-unit>
<trans-unit id="Negate_expression_changes_semantics">
<source>Negate expression (changes semantics)</source>
<target state="translated">式の無効化 (セマンティクスを変更)</target>
<note />
</trans-unit>
<trans-unit id="Null_check_can_be_clarified">
<source>Null check can be clarified</source>
<target state="new">Null check can be clarified</target>
<note />
</trans-unit>
<trans-unit id="Prefer_null_check_over_type_check">
<source>Prefer 'null' check over type check</source>
<target state="new">Prefer 'null' check over type check</target>
<note />
</trans-unit>
<trans-unit id="Remove_operator_preserves_semantics">
<source>Remove operator (preserves semantics)</source>
<target state="translated">演算子の削除 (セマンティクスを保持)</target>
<note />
</trans-unit>
<trans-unit id="Remove_suppression_operators">
<source>Remove suppression operators</source>
<target state="translated">抑制演算子の削除</target>
<note />
</trans-unit>
<trans-unit id="Remove_unnecessary_suppression_operator">
<source>Remove unnecessary suppression operator</source>
<target state="translated">不要な抑制演算子を削除します</target>
<note />
</trans-unit>
<trans-unit id="Remove_unnessary_discard">
<source>Remove unnecessary discard</source>
<target state="translated">不要なディスカードを削除</target>
<note />
</trans-unit>
<trans-unit id="Simplify_default_expression">
<source>Simplify 'default' expression</source>
<target state="translated">default' 式を単純化する</target>
<note />
</trans-unit>
<trans-unit id="Struct_contains_assignment_to_this_outside_of_constructor_Make_readonly_fields_writable">
<source>Struct contains assignment to 'this' outside of constructor. Make readonly fields writable.</source>
<target state="translated">Struct に、コンストラクター外部の 'this' に対する代入が含まれています。読み取り専用フィールドを書き込み可能にしてください。</target>
<note>{Locked="Struct"}{Locked="this"} these are C#/VB keywords and should not be localized.</note>
</trans-unit>
<trans-unit id="Suppression_operator_has_no_effect_and_can_be_misinterpreted">
<source>Suppression operator has no effect and can be misinterpreted</source>
<target state="translated">抑制演算子は効果がなく、誤って解釈される可能性があります</target>
<note />
</trans-unit>
<trans-unit id="Unreachable_code_detected">
<source>Unreachable code detected</source>
<target state="translated">到達できないコードが検出されました</target>
<note />
</trans-unit>
<trans-unit id="Use_block_body_for_accessors">
<source>Use block body for accessors</source>
<target state="translated">アクセサーにブロック本体を使用する</target>
<note />
</trans-unit>
<trans-unit id="Use_block_body_for_constructors">
<source>Use block body for constructors</source>
<target state="translated">コンストラクターにブロック本体を使用する</target>
<note />
</trans-unit>
<trans-unit id="Use_block_body_for_indexers">
<source>Use block body for indexers</source>
<target state="translated">インデクサーにブロック本体を使用する</target>
<note />
</trans-unit>
<trans-unit id="Use_block_body_for_local_functions">
<source>Use block body for local functions</source>
<target state="translated">ローカル関数にブロック本体を使用します</target>
<note />
</trans-unit>
<trans-unit id="Use_block_body_for_methods">
<source>Use block body for methods</source>
<target state="translated">メソッドにブロック本体を使用する</target>
<note />
</trans-unit>
<trans-unit id="Use_block_body_for_operators">
<source>Use block body for operators</source>
<target state="translated">オペレーターにブロック本体を使用する</target>
<note />
</trans-unit>
<trans-unit id="Use_block_body_for_properties">
<source>Use block body for properties</source>
<target state="translated">プロパティにブロック本体を使用する</target>
<note />
</trans-unit>
<trans-unit id="Use_explicit_type">
<source>Use explicit type</source>
<target state="translated">明示的な型の使用</target>
<note />
</trans-unit>
<trans-unit id="Use_explicit_type_instead_of_var">
<source>Use explicit type instead of 'var'</source>
<target state="translated">var' ではなく明示的な型を使用します</target>
<note />
</trans-unit>
<trans-unit id="Use_expression_body_for_accessors">
<source>Use expression body for accessors</source>
<target state="translated">アクセサーに式本体を使用する</target>
<note />
</trans-unit>
<trans-unit id="Use_expression_body_for_constructors">
<source>Use expression body for constructors</source>
<target state="translated">コンストラクターに式本体を使用する</target>
<note />
</trans-unit>
<trans-unit id="Use_expression_body_for_indexers">
<source>Use expression body for indexers</source>
<target state="translated">インデクサーに式本体を使用する</target>
<note />
</trans-unit>
<trans-unit id="Use_expression_body_for_local_functions">
<source>Use expression body for local functions</source>
<target state="translated">ローカル関数に式本体を使用します</target>
<note />
</trans-unit>
<trans-unit id="Use_expression_body_for_methods">
<source>Use expression body for methods</source>
<target state="translated">メソッドに式本体を使用する</target>
<note />
</trans-unit>
<trans-unit id="Use_expression_body_for_operators">
<source>Use expression body for operators</source>
<target state="translated">オペレーターに式本体を使用する</target>
<note />
</trans-unit>
<trans-unit id="Use_expression_body_for_properties">
<source>Use expression body for properties</source>
<target state="translated">プロパティに式本体を使用する</target>
<note />
</trans-unit>
<trans-unit id="Use_implicit_type">
<source>Use implicit type</source>
<target state="translated">暗黙的な型の使用</target>
<note />
</trans-unit>
<trans-unit id="Use_index_operator">
<source>Use index operator</source>
<target state="translated">インデックス演算子を使用</target>
<note />
</trans-unit>
<trans-unit id="Use_is_null_check">
<source>Use 'is null' check</source>
<target state="translated">is null' チェックを使用します</target>
<note />
</trans-unit>
<trans-unit id="Use_local_function">
<source>Use local function</source>
<target state="translated">ローカル関数を使用します</target>
<note />
</trans-unit>
<trans-unit id="Use_new">
<source>Use 'new(...)'</source>
<target state="translated">'new(...)' を使用する</target>
<note>{Locked="new(...)"} This is a C# construct and should not be localized.</note>
</trans-unit>
<trans-unit id="Use_pattern_matching">
<source>Use pattern matching</source>
<target state="translated">パターン マッチングを使用します</target>
<note />
</trans-unit>
<trans-unit id="Use_pattern_matching_may_change_code_meaning">
<source>Use pattern matching (may change code meaning)</source>
<target state="new">Use pattern matching (may change code meaning)</target>
<note />
</trans-unit>
<trans-unit id="Use_range_operator">
<source>Use range operator</source>
<target state="translated">範囲演算子を使用</target>
<note />
</trans-unit>
<trans-unit id="Use_simple_using_statement">
<source>Use simple 'using' statement</source>
<target state="translated">単純な 'using' ステートメントを使用する</target>
<note />
</trans-unit>
<trans-unit id="Use_switch_expression">
<source>Use 'switch' expression</source>
<target state="translated">'switch' 式を使用します</target>
<note />
</trans-unit>
<trans-unit id="Using_directives_must_be_placed_inside_of_a_namespace_declaration">
<source>Using directives must be placed inside of a namespace declaration</source>
<target state="translated">using ディレクティブを namespace 宣言の中に配置する必要があります</target>
<note>{Locked="using"} "using" is a C# keyword and should not be localized. {Locked="namespace"} "namespace" is a C# keyword and should not be localized.</note>
</trans-unit>
<trans-unit id="Using_directives_must_be_placed_outside_of_a_namespace_declaration">
<source>Using directives must be placed outside of a namespace declaration</source>
<target state="translated">using ディレクティブを namespace 宣言の外に配置する必要があります</target>
<note>{Locked="using"} "using" is a C# keyword and should not be localized. {Locked="namespace"} "namespace" is a C# keyword and should not be localized.</note>
</trans-unit>
<trans-unit id="Variable_declaration_can_be_deconstructed">
<source>Variable declaration can be deconstructed</source>
<target state="translated">変数の宣言を分解できます</target>
<note />
</trans-unit>
<trans-unit id="Variable_declaration_can_be_inlined">
<source>Variable declaration can be inlined</source>
<target state="translated">変数の宣言をインライン化できます</target>
<note />
</trans-unit>
<trans-unit id="Warning_colon_Moving_using_directives_may_change_code_meaning">
<source>Warning: Moving using directives may change code meaning.</source>
<target state="translated">警告: using ディレクティブを移動すると、コードの意味が変わる可能性があります。</target>
<note>{Locked="using"} "using" is a C# keyword and should not be localized.</note>
</trans-unit>
<trans-unit id="_0_can_be_simplified">
<source>{0} can be simplified</source>
<target state="translated">{0} を簡素化できます</target>
<note />
</trans-unit>
<trans-unit id="default_expression_can_be_simplified">
<source>'default' expression can be simplified</source>
<target state="translated">'default' 式を簡素化できます</target>
<note />
</trans-unit>
<trans-unit id="if_statement_can_be_simplified">
<source>'if' statement can be simplified</source>
<target state="translated">'if' ステートメントは簡素化できます</target>
<note />
</trans-unit>
<trans-unit id="new_expression_can_be_simplified">
<source>'new' expression can be simplified</source>
<target state="translated">'new' 式を簡素化できます</target>
<note />
</trans-unit>
<trans-unit id="typeof_can_be_converted_ to_nameof">
<source>'typeof' can be converted to 'nameof'</source>
<target state="translated">'typeof' を 'nameof' に変換できます</target>
<note />
</trans-unit>
<trans-unit id="use_var_instead_of_explicit_type">
<source>use 'var' instead of explicit type</source>
<target state="translated">明示的な型ではなく 'var' を使用します</target>
<note />
</trans-unit>
<trans-unit id="Using_directive_is_unnecessary">
<source>Using directive is unnecessary.</source>
<target state="translated">Using ディレクティブは必要ありません。</target>
<note />
</trans-unit>
<trans-unit id="using_statement_can_be_simplified">
<source>'using' statement can be simplified</source>
<target state="translated">'using' ステートメントは簡素化できます</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="ja" original="../CSharpAnalyzersResources.resx">
<body>
<trans-unit id="Add_braces">
<source>Add braces</source>
<target state="translated">波かっこを追加します</target>
<note />
</trans-unit>
<trans-unit id="Add_braces_to_0_statement">
<source>Add braces to '{0}' statement.</source>
<target state="translated">'{0}' ステートメントに波かっこを追加します。</target>
<note />
</trans-unit>
<trans-unit id="Blank_line_not_allowed_after_constructor_initializer_colon">
<source>Blank line not allowed after constructor initializer colon</source>
<target state="translated">コンストラクター初期化子のコロンの後に空白行を使用することはできません</target>
<note />
</trans-unit>
<trans-unit id="Consecutive_braces_must_not_have_a_blank_between_them">
<source>Consecutive braces must not have blank line between them</source>
<target state="translated">連続する中かっこの間に空白行を含めることはできません</target>
<note />
</trans-unit>
<trans-unit id="Convert_switch_statement_to_expression">
<source>Convert switch statement to expression</source>
<target state="translated">switch ステートメントを式に変換します</target>
<note />
</trans-unit>
<trans-unit id="Convert_to_block_scoped_namespace">
<source>Convert to block scoped namespace</source>
<target state="new">Convert to block scoped namespace</target>
<note>{Locked="namespace"} "namespace" is a C# keyword and should not be localized.</note>
</trans-unit>
<trans-unit id="Convert_to_file_scoped_namespace">
<source>Convert to file-scoped namespace</source>
<target state="new">Convert to file-scoped namespace</target>
<note>{Locked="namespace"} "namespace" is a C# keyword and should not be localized.</note>
</trans-unit>
<trans-unit id="Deconstruct_variable_declaration">
<source>Deconstruct variable declaration</source>
<target state="translated">変数の宣言を分解</target>
<note />
</trans-unit>
<trans-unit id="Delegate_invocation_can_be_simplified">
<source>Delegate invocation can be simplified.</source>
<target state="translated">デリゲート呼び出しを簡素化できます。</target>
<note />
</trans-unit>
<trans-unit id="Discard_can_be_removed">
<source>Discard can be removed</source>
<target state="translated">ディスカードは削除できます</target>
<note />
</trans-unit>
<trans-unit id="Embedded_statements_must_be_on_their_own_line">
<source>Embedded statements must be on their own line</source>
<target state="translated">埋め込みステートメントは独自の行に配置する必要があります</target>
<note />
</trans-unit>
<trans-unit id="Indexing_can_be_simplified">
<source>Indexing can be simplified</source>
<target state="translated">インデックスの作成を簡素化することができます</target>
<note />
</trans-unit>
<trans-unit id="Inline_variable_declaration">
<source>Inline variable declaration</source>
<target state="translated">インライン変数宣言</target>
<note />
</trans-unit>
<trans-unit id="Misplaced_using_directive">
<source>Misplaced using directive</source>
<target state="translated">using ディレクティブが正しく配置されていません</target>
<note>{Locked="using"} "using" is a C# keyword and should not be localized.</note>
</trans-unit>
<trans-unit id="Move_misplaced_using_directives">
<source>Move misplaced using directives</source>
<target state="translated">誤って配置された using ディレクティブを移動します</target>
<note>{Locked="using"} "using" is a C# keyword and should not be localized.</note>
</trans-unit>
<trans-unit id="Make_readonly_fields_writable">
<source>Make readonly fields writable</source>
<target state="translated">readonly フィールドを書き込み可能にします</target>
<note>{Locked="readonly"} "readonly" is C# keyword and should not be localized.</note>
</trans-unit>
<trans-unit id="Local_function_can_be_made_static">
<source>Local function can be made static</source>
<target state="translated">ローカル関数を静的にすることができます</target>
<note />
</trans-unit>
<trans-unit id="Make_local_function_static">
<source>Make local function 'static'</source>
<target state="translated">ローカル関数を 'static' にします</target>
<note />
</trans-unit>
<trans-unit id="Negate_expression_changes_semantics">
<source>Negate expression (changes semantics)</source>
<target state="translated">式の無効化 (セマンティクスを変更)</target>
<note />
</trans-unit>
<trans-unit id="Null_check_can_be_clarified">
<source>Null check can be clarified</source>
<target state="new">Null check can be clarified</target>
<note />
</trans-unit>
<trans-unit id="Prefer_null_check_over_type_check">
<source>Prefer 'null' check over type check</source>
<target state="new">Prefer 'null' check over type check</target>
<note />
</trans-unit>
<trans-unit id="Remove_operator_preserves_semantics">
<source>Remove operator (preserves semantics)</source>
<target state="translated">演算子の削除 (セマンティクスを保持)</target>
<note />
</trans-unit>
<trans-unit id="Remove_suppression_operators">
<source>Remove suppression operators</source>
<target state="translated">抑制演算子の削除</target>
<note />
</trans-unit>
<trans-unit id="Remove_unnecessary_suppression_operator">
<source>Remove unnecessary suppression operator</source>
<target state="translated">不要な抑制演算子を削除します</target>
<note />
</trans-unit>
<trans-unit id="Remove_unnessary_discard">
<source>Remove unnecessary discard</source>
<target state="translated">不要なディスカードを削除</target>
<note />
</trans-unit>
<trans-unit id="Simplify_default_expression">
<source>Simplify 'default' expression</source>
<target state="translated">default' 式を単純化する</target>
<note />
</trans-unit>
<trans-unit id="Struct_contains_assignment_to_this_outside_of_constructor_Make_readonly_fields_writable">
<source>Struct contains assignment to 'this' outside of constructor. Make readonly fields writable.</source>
<target state="translated">Struct に、コンストラクター外部の 'this' に対する代入が含まれています。読み取り専用フィールドを書き込み可能にしてください。</target>
<note>{Locked="Struct"}{Locked="this"} these are C#/VB keywords and should not be localized.</note>
</trans-unit>
<trans-unit id="Suppression_operator_has_no_effect_and_can_be_misinterpreted">
<source>Suppression operator has no effect and can be misinterpreted</source>
<target state="translated">抑制演算子は効果がなく、誤って解釈される可能性があります</target>
<note />
</trans-unit>
<trans-unit id="Unreachable_code_detected">
<source>Unreachable code detected</source>
<target state="translated">到達できないコードが検出されました</target>
<note />
</trans-unit>
<trans-unit id="Use_block_body_for_accessors">
<source>Use block body for accessors</source>
<target state="translated">アクセサーにブロック本体を使用する</target>
<note />
</trans-unit>
<trans-unit id="Use_block_body_for_constructors">
<source>Use block body for constructors</source>
<target state="translated">コンストラクターにブロック本体を使用する</target>
<note />
</trans-unit>
<trans-unit id="Use_block_body_for_indexers">
<source>Use block body for indexers</source>
<target state="translated">インデクサーにブロック本体を使用する</target>
<note />
</trans-unit>
<trans-unit id="Use_block_body_for_local_functions">
<source>Use block body for local functions</source>
<target state="translated">ローカル関数にブロック本体を使用します</target>
<note />
</trans-unit>
<trans-unit id="Use_block_body_for_methods">
<source>Use block body for methods</source>
<target state="translated">メソッドにブロック本体を使用する</target>
<note />
</trans-unit>
<trans-unit id="Use_block_body_for_operators">
<source>Use block body for operators</source>
<target state="translated">オペレーターにブロック本体を使用する</target>
<note />
</trans-unit>
<trans-unit id="Use_block_body_for_properties">
<source>Use block body for properties</source>
<target state="translated">プロパティにブロック本体を使用する</target>
<note />
</trans-unit>
<trans-unit id="Use_explicit_type">
<source>Use explicit type</source>
<target state="translated">明示的な型の使用</target>
<note />
</trans-unit>
<trans-unit id="Use_explicit_type_instead_of_var">
<source>Use explicit type instead of 'var'</source>
<target state="translated">var' ではなく明示的な型を使用します</target>
<note />
</trans-unit>
<trans-unit id="Use_expression_body_for_accessors">
<source>Use expression body for accessors</source>
<target state="translated">アクセサーに式本体を使用する</target>
<note />
</trans-unit>
<trans-unit id="Use_expression_body_for_constructors">
<source>Use expression body for constructors</source>
<target state="translated">コンストラクターに式本体を使用する</target>
<note />
</trans-unit>
<trans-unit id="Use_expression_body_for_indexers">
<source>Use expression body for indexers</source>
<target state="translated">インデクサーに式本体を使用する</target>
<note />
</trans-unit>
<trans-unit id="Use_expression_body_for_local_functions">
<source>Use expression body for local functions</source>
<target state="translated">ローカル関数に式本体を使用します</target>
<note />
</trans-unit>
<trans-unit id="Use_expression_body_for_methods">
<source>Use expression body for methods</source>
<target state="translated">メソッドに式本体を使用する</target>
<note />
</trans-unit>
<trans-unit id="Use_expression_body_for_operators">
<source>Use expression body for operators</source>
<target state="translated">オペレーターに式本体を使用する</target>
<note />
</trans-unit>
<trans-unit id="Use_expression_body_for_properties">
<source>Use expression body for properties</source>
<target state="translated">プロパティに式本体を使用する</target>
<note />
</trans-unit>
<trans-unit id="Use_implicit_type">
<source>Use implicit type</source>
<target state="translated">暗黙的な型の使用</target>
<note />
</trans-unit>
<trans-unit id="Use_index_operator">
<source>Use index operator</source>
<target state="translated">インデックス演算子を使用</target>
<note />
</trans-unit>
<trans-unit id="Use_is_null_check">
<source>Use 'is null' check</source>
<target state="translated">is null' チェックを使用します</target>
<note />
</trans-unit>
<trans-unit id="Use_local_function">
<source>Use local function</source>
<target state="translated">ローカル関数を使用します</target>
<note />
</trans-unit>
<trans-unit id="Use_new">
<source>Use 'new(...)'</source>
<target state="translated">'new(...)' を使用する</target>
<note>{Locked="new(...)"} This is a C# construct and should not be localized.</note>
</trans-unit>
<trans-unit id="Use_pattern_matching">
<source>Use pattern matching</source>
<target state="translated">パターン マッチングを使用します</target>
<note />
</trans-unit>
<trans-unit id="Use_pattern_matching_may_change_code_meaning">
<source>Use pattern matching (may change code meaning)</source>
<target state="new">Use pattern matching (may change code meaning)</target>
<note />
</trans-unit>
<trans-unit id="Use_range_operator">
<source>Use range operator</source>
<target state="translated">範囲演算子を使用</target>
<note />
</trans-unit>
<trans-unit id="Use_simple_using_statement">
<source>Use simple 'using' statement</source>
<target state="translated">単純な 'using' ステートメントを使用する</target>
<note />
</trans-unit>
<trans-unit id="Use_switch_expression">
<source>Use 'switch' expression</source>
<target state="translated">'switch' 式を使用します</target>
<note />
</trans-unit>
<trans-unit id="Using_directives_must_be_placed_inside_of_a_namespace_declaration">
<source>Using directives must be placed inside of a namespace declaration</source>
<target state="translated">using ディレクティブを namespace 宣言の中に配置する必要があります</target>
<note>{Locked="using"} "using" is a C# keyword and should not be localized. {Locked="namespace"} "namespace" is a C# keyword and should not be localized.</note>
</trans-unit>
<trans-unit id="Using_directives_must_be_placed_outside_of_a_namespace_declaration">
<source>Using directives must be placed outside of a namespace declaration</source>
<target state="translated">using ディレクティブを namespace 宣言の外に配置する必要があります</target>
<note>{Locked="using"} "using" is a C# keyword and should not be localized. {Locked="namespace"} "namespace" is a C# keyword and should not be localized.</note>
</trans-unit>
<trans-unit id="Variable_declaration_can_be_deconstructed">
<source>Variable declaration can be deconstructed</source>
<target state="translated">変数の宣言を分解できます</target>
<note />
</trans-unit>
<trans-unit id="Variable_declaration_can_be_inlined">
<source>Variable declaration can be inlined</source>
<target state="translated">変数の宣言をインライン化できます</target>
<note />
</trans-unit>
<trans-unit id="Warning_colon_Moving_using_directives_may_change_code_meaning">
<source>Warning: Moving using directives may change code meaning.</source>
<target state="translated">警告: using ディレクティブを移動すると、コードの意味が変わる可能性があります。</target>
<note>{Locked="using"} "using" is a C# keyword and should not be localized.</note>
</trans-unit>
<trans-unit id="_0_can_be_simplified">
<source>{0} can be simplified</source>
<target state="translated">{0} を簡素化できます</target>
<note />
</trans-unit>
<trans-unit id="default_expression_can_be_simplified">
<source>'default' expression can be simplified</source>
<target state="translated">'default' 式を簡素化できます</target>
<note />
</trans-unit>
<trans-unit id="if_statement_can_be_simplified">
<source>'if' statement can be simplified</source>
<target state="translated">'if' ステートメントは簡素化できます</target>
<note />
</trans-unit>
<trans-unit id="new_expression_can_be_simplified">
<source>'new' expression can be simplified</source>
<target state="translated">'new' 式を簡素化できます</target>
<note />
</trans-unit>
<trans-unit id="typeof_can_be_converted_ to_nameof">
<source>'typeof' can be converted to 'nameof'</source>
<target state="translated">'typeof' を 'nameof' に変換できます</target>
<note />
</trans-unit>
<trans-unit id="use_var_instead_of_explicit_type">
<source>use 'var' instead of explicit type</source>
<target state="translated">明示的な型ではなく 'var' を使用します</target>
<note />
</trans-unit>
<trans-unit id="Using_directive_is_unnecessary">
<source>Using directive is unnecessary.</source>
<target state="translated">Using ディレクティブは必要ありません。</target>
<note />
</trans-unit>
<trans-unit id="using_statement_can_be_simplified">
<source>'using' statement can be simplified</source>
<target state="translated">'using' ステートメントは簡素化できます</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | -1 |
dotnet/roslyn | 56,030 | Remove RemoveUnusedReferences command hotkey | Resolves https://github.com/dotnet/roslyn/issues/56028 | JoeRobich | "2021-08-31T17:18:07Z" | "2021-08-31T18:42:08Z" | e01c311bd91e6290eefe9be9eeef76c64b08b2d5 | 2be2c34f110e7ce2f4cfd8e4b1f8153603087679 | Remove RemoveUnusedReferences command hotkey. Resolves https://github.com/dotnet/roslyn/issues/56028 | ./src/Compilers/CSharp/Portable/xlf/CSharpResources.cs.xlf | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="cs" original="../CSharpResources.resx">
<body>
<trans-unit id="CallingConventionTypeIsInvalid">
<source>Cannot use '{0}' as a calling convention modifier.</source>
<target state="translated">{0} se nedá použít jako modifikátor konvence volání.</target>
<note />
</trans-unit>
<trans-unit id="CallingConventionTypesRequireUnmanaged">
<source>Passing '{0}' is not valid unless '{1}' is 'SignatureCallingConvention.Unmanaged'.</source>
<target state="translated">Pokud {1} není SignatureCallingConvention.Unmanaged, předání hodnoty {0} není platné.</target>
<note />
</trans-unit>
<trans-unit id="CannotCreateConstructedFromConstructed">
<source>Cannot create constructed generic type from another constructed generic type.</source>
<target state="translated">Konstruovaný obecný typ nejde vytvořit z jiného konstruovaného obecného typu.</target>
<note />
</trans-unit>
<trans-unit id="CannotCreateConstructedFromNongeneric">
<source>Cannot create constructed generic type from non-generic type.</source>
<target state="translated">Konstruovaný obecný typ nejde vytvořit z jiného než obecného typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AbstractConversionNotInvolvingContainedType">
<source>User-defined conversion in an interface must convert to or from a type parameter on the enclosing type constrained to the enclosing type</source>
<target state="new">User-defined conversion in an interface must convert to or from a type parameter on the enclosing type constrained to the enclosing type</target>
<note />
</trans-unit>
<trans-unit id="ERR_AbstractEventHasAccessors">
<source>'{0}': abstract event cannot use event accessor syntax</source>
<target state="translated">{0}: abstraktní událost nemůže používat syntaxi přístupového objektu události.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AddressOfMethodGroupInExpressionTree">
<source>'&' on method groups cannot be used in expression trees</source>
<target state="translated">& pro skupiny metod se nedá použít ve stromech výrazů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AddressOfToNonFunctionPointer">
<source>Cannot convert &method group '{0}' to non-function pointer type '{1}'.</source>
<target state="translated">Skupina &method {0} se nedá převést na typ ukazatele, který neukazuje na funkci ({1}).</target>
<note />
</trans-unit>
<trans-unit id="ERR_AltInterpolatedVerbatimStringsNotAvailable">
<source>To use '@$' instead of '$@' for an interpolated verbatim string, please use language version '{0}' or greater.</source>
<target state="translated">Pokud chcete pro interpolovaný doslovný řetězec použít @$ místo $@, použijte verzi jazyka {0} nebo vyšší.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AmbigBinaryOpsOnDefault">
<source>Operator '{0}' is ambiguous on operands '{1}' and '{2}'</source>
<target state="translated">Operátor {0} je na operandech {1} a {2} nejednoznačný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AmbigBinaryOpsOnUnconstrainedDefault">
<source>Operator '{0}' cannot be applied to 'default' and operand of type '{1}' because it is a type parameter that is not known to be a reference type</source>
<target state="translated">Operátor {0} nejde použít pro default a operand typu {1}, protože se jedná o parametr typu, který není znám jako odkazový typ.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AnnotationDisallowedInObjectCreation">
<source>Cannot use a nullable reference type in object creation.</source>
<target state="translated">K vytvoření objektu nejde použít typ odkazu s možnou hodnotou null.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ArgumentNameInITuplePattern">
<source>Element names are not permitted when pattern-matching via 'System.Runtime.CompilerServices.ITuple'.</source>
<target state="translated">Názvy elementů nejsou povolené při porovnávání vzorů přes System.Runtime.CompilerServices.ITuple.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AsNullableType">
<source>It is not legal to use nullable reference type '{0}?' in an as expression; use the underlying type '{0}' instead.</source>
<target state="translated">Ve výrazu as se nepovoluje použití typu odkazu s možnou hodnotou null {0}?; místo toho použijte základní typ {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AssignmentInitOnly">
<source>Init-only property or indexer '{0}' can only be assigned in an object initializer, or on 'this' or 'base' in an instance constructor or an 'init' accessor.</source>
<target state="translated">Vlastnost jenom pro inicializaci nebo indexer {0} se dá přiřadit jenom k inicializátoru objektu, pomocí klíčového slova this nebo base v konstruktoru instance nebo k přístupovému objektu init.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AttrDependentTypeNotAllowed">
<source>Type '{0}' cannot be used in this context because it cannot be represented in metadata.</source>
<target state="new">Type '{0}' cannot be used in this context because it cannot be represented in metadata.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AttrTypeArgCannotBeTypeVar">
<source>'{0}': an attribute type argument cannot use type parameters</source>
<target state="new">'{0}': an attribute type argument cannot use type parameters</target>
<note />
</trans-unit>
<trans-unit id="ERR_AttributeNotOnEventAccessor">
<source>Attribute '{0}' is not valid on event accessors. It is only valid on '{1}' declarations.</source>
<target state="translated">Atribut {0} není platný pro přístupové objekty události. Je platný jenom pro deklarace {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AttributesRequireParenthesizedLambdaExpression">
<source>Attributes on lambda expressions require a parenthesized parameter list.</source>
<target state="new">Attributes on lambda expressions require a parenthesized parameter list.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AutoPropertyWithSetterCantBeReadOnly">
<source>Auto-implemented property '{0}' cannot be marked 'readonly' because it has a 'set' accessor.</source>
<target state="translated">Automaticky implementovanou vlastnost {0} nelze označit modifikátorem readonly, protože má přístupový objekt set.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AutoSetterCantBeReadOnly">
<source>Auto-implemented 'set' accessor '{0}' cannot be marked 'readonly'.</source>
<target state="translated">Automaticky implementovaný přístupový objekt set {0} nelze označit modifikátorem readonly.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AwaitForEachMissingMember">
<source>Asynchronous foreach statement cannot operate on variables of type '{0}' because '{0}' does not contain a suitable public instance or extension definition for '{1}'</source>
<target state="translated">Asynchronní příkaz foreach nejde použít pro proměnné typu {0}, protože {0} neobsahuje vhodnou veřejnou definici instance nebo rozšíření pro {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AwaitForEachMissingMemberWrongAsync">
<source>Asynchronous foreach statement cannot operate on variables of type '{0}' because '{0}' does not contain a public instance or extension definition for '{1}'. Did you mean 'foreach' rather than 'await foreach'?</source>
<target state="translated">Asynchronní příkaz foreach nejde použít pro proměnné typu {0}, protože {0} neobsahuje veřejnou definici instance nebo rozšíření pro {1}. Měli jste v úmyslu foreach místo await foreach?</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAbstractBinaryOperatorSignature">
<source>One of the parameters of a binary operator must be the containing type, or its type parameter constrained to it.</source>
<target state="new">One of the parameters of a binary operator must be the containing type, or its type parameter constrained to it.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAbstractIncDecRetType">
<source>The return type for ++ or -- operator must either match the parameter type, or be derived from the parameter type, or be the containing type's type parameter constrained to it unless the parameter type is a different type parameter.</source>
<target state="new">The return type for ++ or -- operator must either match the parameter type, or be derived from the parameter type, or be the containing type's type parameter constrained to it unless the parameter type is a different type parameter.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAbstractIncDecSignature">
<source>The parameter type for ++ or -- operator must be the containing type, or its type parameter constrained to it.</source>
<target state="new">The parameter type for ++ or -- operator must be the containing type, or its type parameter constrained to it.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAbstractShiftOperatorSignature">
<source>The first operand of an overloaded shift operator must have the same type as the containing type or its type parameter constrained to it, and the type of the second operand must be int</source>
<target state="new">The first operand of an overloaded shift operator must have the same type as the containing type or its type parameter constrained to it, and the type of the second operand must be int</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAbstractStaticMemberAccess">
<source>A static abstract interface member can be accessed only on a type parameter.</source>
<target state="new">A static abstract interface member can be accessed only on a type parameter.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAbstractUnaryOperatorSignature">
<source>The parameter of a unary operator must be the containing type, or its type parameter constrained to it.</source>
<target state="new">The parameter of a unary operator must be the containing type, or its type parameter constrained to it.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadCallerArgumentExpressionParamWithoutDefaultValue">
<source>The CallerArgumentExpressionAttribute may only be applied to parameters with default values</source>
<target state="new">The CallerArgumentExpressionAttribute may only be applied to parameters with default values</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadDynamicAwaitForEach">
<source>Cannot use a collection of dynamic type in an asynchronous foreach</source>
<target state="translated">V asynchronním příkazu foreach nejde použít kolekce dynamického typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadFieldTypeInRecord">
<source>The type '{0}' may not be used for a field of a record.</source>
<target state="translated">Typ {0} se nedá použít pro pole záznamu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadFuncPointerArgCount">
<source>Function pointer '{0}' does not take {1} arguments</source>
<target state="translated">Ukazatel na funkci {0} nepřijímá tento počet argumentů: {1}</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadFuncPointerParamModifier">
<source>'{0}' cannot be used as a modifier on a function pointer parameter.</source>
<target state="translated">{0} se nedá použít jako modifikátor v parametru ukazatele na funkci.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadInheritanceFromRecord">
<source>Only records may inherit from records.</source>
<target state="translated">Ze záznamů můžou dědit jenom záznamy.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadInitAccessor">
<source>The 'init' accessor is not valid on static members</source>
<target state="translated">Přístupový objekt init není platný pro statické členy.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadNullableContextOption">
<source>Invalid option '{0}' for /nullable; must be 'disable', 'enable', 'warnings' or 'annotations'</source>
<target state="translated">Neplatná možnost {0} pro /nullable. Je třeba použít disable, enable, warnings nebo annotations.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadNullableTypeof">
<source>The typeof operator cannot be used on a nullable reference type</source>
<target state="translated">Operátor typeof nejde použít na typ odkazů s možnou hodnotou null.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadOpOnNullOrDefaultOrNew">
<source>Operator '{0}' cannot be applied to operand '{1}'</source>
<target state="translated">Operátor {0} nejde použít pro operand {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadPatternExpression">
<source>Invalid operand for pattern match; value required, but found '{0}'.</source>
<target state="translated">Neplatný operand pro porovnávací vzorek. Vyžaduje se hodnota, ale nalezeno: {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadRecordBase">
<source>Records may only inherit from object or another record</source>
<target state="translated">Záznamy můžou dědit jenom z objektu nebo jiného záznamu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadRecordMemberForPositionalParameter">
<source>Record member '{0}' must be a readable instance property or field of type '{1}' to match positional parameter '{2}'.</source>
<target state="needs-review-translation">Člen záznamu {0} musí být čitelná vlastnost instance typu {1}, která se bude shodovat s pozičním parametrem {2}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadSwitchValue">
<source>Command-line syntax error: '{0}' is not a valid value for the '{1}' option. The value must be of the form '{2}'.</source>
<target state="translated">Chyba syntaxe příkazového řádku: {0} není platná hodnota možnosti {1}. Hodnota musí mít tvar {2}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BuilderAttributeDisallowed">
<source>The AsyncMethodBuilder attribute is disallowed on anonymous methods without an explicit return type.</source>
<target state="new">The AsyncMethodBuilder attribute is disallowed on anonymous methods without an explicit return type.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CannotClone">
<source>The receiver type '{0}' is not a valid record type and is not a struct type.</source>
<target state="new">The receiver type '{0}' is not a valid record type and is not a struct type.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CannotConvertAddressOfToDelegate">
<source>Cannot convert &method group '{0}' to delegate type '{0}'.</source>
<target state="translated">Skupina &metody {0} se nedá převést na typ delegáta {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CannotInferDelegateType">
<source>The delegate type could not be inferred.</source>
<target state="new">The delegate type could not be inferred.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CannotSpecifyManagedWithUnmanagedSpecifiers">
<source>'managed' calling convention cannot be combined with unmanaged calling convention specifiers.</source>
<target state="translated">Konvence volání managed se nedá kombinovat se specifikátory konvence nespravovaného volání.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CannotUseFunctionPointerAsFixedLocal">
<source>The type of a local declared in a fixed statement cannot be a function pointer type.</source>
<target state="translated">Lokální proměnná deklarovaná v příkazu fixed nemůže být typu ukazatel na funkci.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CannotUseManagedTypeInUnmanagedCallersOnly">
<source>Cannot use '{0}' as a {1} type on a method attributed with 'UnmanagedCallersOnly'.</source>
<target state="translated">V metodě, která má atribut UnmanagedCallersOnly, se nedá jako typ {1} použít {0}.</target>
<note>1 is the localized word for 'parameter' or 'return'. UnmanagedCallersOnly is not localizable.</note>
</trans-unit>
<trans-unit id="ERR_CannotUseReducedExtensionMethodInAddressOf">
<source>Cannot use an extension method with a receiver as the target of a '&' operator.</source>
<target state="translated">Rozšiřující metoda, kde jako cíl je nastavený příjemce, se nedá použít jako cíl operátoru &.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CannotUseSelfAsInterpolatedStringHandlerArgument">
<source>InterpolatedStringHandlerArgumentAttribute arguments cannot refer to the parameter the attribute is used on.</source>
<target state="new">InterpolatedStringHandlerArgumentAttribute arguments cannot refer to the parameter the attribute is used on.</target>
<note>InterpolatedStringHandlerArgumentAttribute is a type name and should not be translated.</note>
</trans-unit>
<trans-unit id="ERR_CantChangeInitOnlyOnOverride">
<source>'{0}' must match by init-only of overridden member '{1}'</source>
<target state="translated">{0} musí odpovídat vlastnosti jenom pro inicializaci přepsaného člena {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantConvAnonMethReturnType">
<source>Cannot convert {0} to type '{1}' because the return type does not match the delegate return type</source>
<target state="new">Cannot convert {0} to type '{1}' because the return type does not match the delegate return type</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantUseInOrOutInArglist">
<source>__arglist cannot have an argument passed by 'in' or 'out'</source>
<target state="translated">__arglist nemůže mít argument předávaný pomocí in nebo out</target>
<note />
</trans-unit>
<trans-unit id="ERR_CloneDisallowedInRecord">
<source>Members named 'Clone' are disallowed in records.</source>
<target state="translated">Členy s názvem Clone se v záznamech nepovolují.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CloseUnimplementedInterfaceMemberNotStatic">
<source>'{0}' does not implement static interface member '{1}'. '{2}' cannot implement the interface member because it is not static.</source>
<target state="new">'{0}' does not implement static interface member '{1}'. '{2}' cannot implement the interface member because it is not static.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CloseUnimplementedInterfaceMemberWrongInitOnly">
<source>'{0}' does not implement interface member '{1}'. '{2}' cannot implement '{1}'.</source>
<target state="translated">{0} neimplementuje člen rozhraní {1}. {2} nemůže implementovat {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConWithUnmanagedCon">
<source>Type parameter '{1}' has the 'unmanaged' constraint so '{1}' cannot be used as a constraint for '{0}'</source>
<target state="translated">Parametr typu {1} má omezení unmanaged, takže není možné používat {1} jako omezení pro {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConditionalOnLocalFunction">
<source>Local function '{0}' must be 'static' in order to use the Conditional attribute</source>
<target state="translated">Aby bylo možné používat atribut Conditional, musí být místní funkce {0} static.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConstantPatternVsOpenType">
<source>An expression of type '{0}' cannot be handled by a pattern of type '{1}'. Please use language version '{2}' or greater to match an open type with a constant pattern.</source>
<target state="translated">Výraz typu {0} nelze zpracovat vzorem typu {1}. Použijte prosím verzi jazyka {2} nebo vyšší, aby odpovídala otevřenému typu se vzorem konstanty.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CopyConstructorMustInvokeBaseCopyConstructor">
<source>A copy constructor in a record must call a copy constructor of the base, or a parameterless object constructor if the record inherits from object.</source>
<target state="translated">Kopírovací konstruktor v záznamu musí volat kopírovací konstruktor základní třídy, případně konstruktor objektu bez parametrů, pokud záznam dědí z objektu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CopyConstructorWrongAccessibility">
<source>A copy constructor '{0}' must be public or protected because the record is not sealed.</source>
<target state="translated">Kopírovací konstruktor {0} musí být veřejný nebo chráněný, protože záznam není zapečetěný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DeconstructParameterNameMismatch">
<source>The name '{0}' does not match the corresponding 'Deconstruct' parameter '{1}'.</source>
<target state="translated">Název {0} neodpovídá příslušnému parametru Deconstruct {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DefaultConstraintOverrideOnly">
<source>The 'default' constraint is valid on override and explicit interface implementation methods only.</source>
<target state="translated">Omezení default je platné jen v přepsaných metodách a metodách explicitní implementace rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DefaultInterfaceImplementationInNoPIAType">
<source>Type '{0}' cannot be embedded because it has a non-abstract member. Consider setting the 'Embed Interop Types' property to false.</source>
<target state="translated">Typ {0} nemůže být vložený, protože má neabstraktní člen. Zvažte nastavení vlastnosti Vložit typy spolupráce na hodnotu false.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DefaultLiteralNoTargetType">
<source>There is no target type for the default literal.</source>
<target state="translated">Není k dispozici žádný cílový typ pro výchozí literál.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DefaultPattern">
<source>A default literal 'default' is not valid as a pattern. Use another literal (e.g. '0' or 'null') as appropriate. To match everything, use a discard pattern '_'.</source>
<target state="translated">Výchozí literál default není platný jako vzor. Podle potřeby použijte jiný literál (například 0 nebo null). Pokud chcete, aby odpovídalo vše, použijte vzor discard „_“.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DesignatorBeneathPatternCombinator">
<source>A variable may not be declared within a 'not' or 'or' pattern.</source>
<target state="translated">Proměnná se nedá deklarovat ve vzoru not nebo or.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DiscardPatternInSwitchStatement">
<source>The discard pattern is not permitted as a case label in a switch statement. Use 'case var _:' for a discard pattern, or 'case @_:' for a constant named '_'.</source>
<target state="translated">Tento vzor discard není povolený jako návěstí příkazu case v příkazu switch. Použijte „case var _:“ pro vzor discard nebo „case @_:“ pro konstantu s názvem „_“.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DoesNotOverrideBaseEqualityContract">
<source>'{0}' does not override expected property from '{1}'.</source>
<target state="translated">{0} nepřepisuje očekávanou vlastnost z {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DoesNotOverrideBaseMethod">
<source>'{0}' does not override expected method from '{1}'.</source>
<target state="translated">{0} nepřepisuje očekávanou metodu z {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DoesNotOverrideMethodFromObject">
<source>'{0}' does not override expected method from 'object'.</source>
<target state="translated">{0} nepřepisuje očekávanou metodu z object.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DupReturnTypeMod">
<source>A return type can only have one '{0}' modifier.</source>
<target state="translated">Návratový typ může mít jen jeden modifikátor {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateExplicitImpl">
<source>'{0}' is explicitly implemented more than once.</source>
<target state="translated">Položka {0} je explicitně implementována více než jednou.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateInterfaceWithDifferencesInBaseList">
<source>'{0}' is already listed in the interface list on type '{2}' as '{1}'.</source>
<target state="translated">{0} je již uvedeno v seznamu rozhraní u typu {2} jako {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateNullSuppression">
<source>Duplicate null suppression operator ('!')</source>
<target state="translated">Duplicitní operátor potlačení hodnoty null (!)</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicatePropertyReadOnlyMods">
<source>Cannot specify 'readonly' modifiers on both accessors of property or indexer '{0}'. Instead, put a 'readonly' modifier on the property itself.</source>
<target state="translated">Pro přístupové objekty vlastnosti i indexeru {0} nelze zadat modifikátory readonly. Místo toho zadejte modifikátor readonly jenom pro vlastnost.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ElseCannotStartStatement">
<source>'else' cannot start a statement.</source>
<target state="translated">Příkaz nemůže začínat na else.</target>
<note />
</trans-unit>
<trans-unit id="ERR_EntryPointCannotBeUnmanagedCallersOnly">
<source>Application entry points cannot be attributed with 'UnmanagedCallersOnly'.</source>
<target state="translated">Vstupní body aplikací nemůžou mít atribut UnmanagedCallersOnly.</target>
<note>UnmanagedCallersOnly is not localizable.</note>
</trans-unit>
<trans-unit id="ERR_EqualityContractRequiresGetter">
<source>Record equality contract property '{0}' must have a get accessor.</source>
<target state="translated">Vlastnost kontraktu rovnosti záznamu {0} musí mít přístupový objekt get.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExplicitImplementationOfOperatorsMustBeStatic">
<source>Explicit implementation of a user-defined operator '{0}' must be declared static</source>
<target state="new">Explicit implementation of a user-defined operator '{0}' must be declared static</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExplicitNullableAttribute">
<source>Explicit application of 'System.Runtime.CompilerServices.NullableAttribute' is not allowed.</source>
<target state="translated">Explicitní použití System.Runtime.CompilerServices.NullableAttribute není povolené.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExplicitPropertyMismatchInitOnly">
<source>Accessors '{0}' and '{1}' should both be init-only or neither</source>
<target state="translated">Přístupové objekty {0} a {1} by měly být buď oba jenom pro inicializaci, nebo ani jeden.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExprCannotBeFixed">
<source>The given expression cannot be used in a fixed statement</source>
<target state="translated">Daný výraz nelze použít v příkazu fixed.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeCantContainNullCoalescingAssignment">
<source>An expression tree may not contain a null coalescing assignment</source>
<target state="translated">Strom výrazu nesmí obsahovat přiřazení představující sloučení s hodnotou null.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeCantContainRefStruct">
<source>Expression tree cannot contain value of ref struct or restricted type '{0}'.</source>
<target state="translated">Strom výrazu nemůže obsahovat hodnotu struktury REF ani zakázaný typ {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsAbstractStaticMemberAccess">
<source>An expression tree may not contain an access of static abstract interface member</source>
<target state="new">An expression tree may not contain an access of static abstract interface member</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsFromEndIndexExpression">
<source>An expression tree may not contain a from-end index ('^') expression.</source>
<target state="translated">Strom výrazů nesmí obsahovat výraz indexu od-do (^).</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsInterpolatedStringHandlerConversion">
<source>An expression tree may not contain an interpolated string handler conversion.</source>
<target state="new">An expression tree may not contain an interpolated string handler conversion.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsPatternIndexOrRangeIndexer">
<source>An expression tree may not contain a pattern System.Index or System.Range indexer access</source>
<target state="translated">Strom výrazů možná neobsahuje vzor přístupu indexeru System.Index nebo System.Range.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsRangeExpression">
<source>An expression tree may not contain a range ('..') expression.</source>
<target state="translated">Strom výrazů nesmí obsahovat výraz rozsahu (..).</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsSwitchExpression">
<source>An expression tree may not contain a switch expression.</source>
<target state="translated">Strom výrazů nesmí obsahovat výraz switch.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsTupleBinOp">
<source>An expression tree may not contain a tuple == or != operator</source>
<target state="translated">Strom výrazů nesmí obsahovat operátor řazené kolekce členů == nebo !=.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsWithExpression">
<source>An expression tree may not contain a with-expression.</source>
<target state="translated">Strom výrazů nesmí obsahovat výraz with.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExternEventInitializer">
<source>'{0}': extern event cannot have initializer</source>
<target state="translated">{0}: Externí událost nemůže mít inicializátor.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FeatureInPreview">
<source>The feature '{0}' is currently in Preview and *unsupported*. To use Preview features, use the 'preview' language version.</source>
<target state="translated">Funkce {0} je aktuálně ve verzi Preview a je *nepodporovaná*. Pokud chcete používat funkce Preview, použijte jazykovou verzi preview.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FeatureIsExperimental">
<source>Feature '{0}' is experimental and unsupported; use '/features:{1}' to enable.</source>
<target state="translated">Funkce {0} je zkušební, a proto není podporovaná. K aktivaci použijte /features:{1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FeatureNotAvailableInVersion10">
<source>Feature '{0}' is not available in C# 10.0. Please use language version {1} or greater.</source>
<target state="new">Feature '{0}' is not available in C# 10.0. Please use language version {1} or greater.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FeatureNotAvailableInVersion8">
<source>Feature '{0}' is not available in C# 8.0. Please use language version {1} or greater.</source>
<target state="translated">Funkce {0} není v C# 8.0 dostupná. Použijte prosím jazykovou verzi {1} nebo větší.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FeatureNotAvailableInVersion8_0">
<source>Feature '{0}' is not available in C# 8.0. Please use language version {1} or greater.</source>
<target state="translated">Funkce {0} není v C# 8.0 dostupná. Použijte prosím jazykovou verzi {1} nebo větší.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FeatureNotAvailableInVersion9">
<source>Feature '{0}' is not available in C# 9.0. Please use language version {1} or greater.</source>
<target state="translated">Funkce {0} není v C# 9.0 dostupná. Použijte prosím jazykovou verzi {1} nebo větší.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FieldLikeEventCantBeReadOnly">
<source>Field-like event '{0}' cannot be 'readonly'.</source>
<target state="translated">Událost podobná poli {0} nemůže mít modifikátor readonly.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FileScopedAndNormalNamespace">
<source>Source file can not contain both file-scoped and normal namespace declarations.</source>
<target state="new">Source file can not contain both file-scoped and normal namespace declarations.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FileScopedNamespaceNotBeforeAllMembers">
<source>File-scoped namespace must precede all other members in a file.</source>
<target state="new">File-scoped namespace must precede all other members in a file.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ForEachMissingMemberWrongAsync">
<source>foreach statement cannot operate on variables of type '{0}' because '{0}' does not contain a public instance or extension definition for '{1}'. Did you mean 'await foreach' rather than 'foreach'?</source>
<target state="translated">Příkaz foreach nejde použít pro proměnné typu {0}, protože {0} neobsahuje veřejnou definici instance nebo rozšíření pro {1}. Měli jste v úmyslu await foreach místo foreach?</target>
<note />
</trans-unit>
<trans-unit id="ERR_FuncPtrMethMustBeStatic">
<source>Cannot create a function pointer for '{0}' because it is not a static method</source>
<target state="translated">Pro {0} se nedá vytvořit ukazatel na funkci, protože to není statická metoda.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FuncPtrRefMismatch">
<source>Ref mismatch between '{0}' and function pointer '{1}'</source>
<target state="translated">Mezi {0} a ukazatelem na funkci {1} se neshoduje odkaz.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FunctionPointerTypesInAttributeNotSupported">
<source>Using a function pointer type in a 'typeof' in an attribute is not supported.</source>
<target state="needs-review-translation">V typeof v atributu se nepodporuje používání typu ukazatele funkce.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FunctionPointersCannotBeCalledWithNamedArguments">
<source>A function pointer cannot be called with named arguments.</source>
<target state="translated">Ukazatel na funkci se nedá zavolat s pojmenovanými argumenty.</target>
<note />
</trans-unit>
<trans-unit id="ERR_GenericConstraintNotSatisfiedInterfaceWithStaticAbstractMembers">
<source>The interface '{3}' cannot be used as type parameter '{2}' in the generic type or method '{0}'. The constraint interface '{1}' or its base interface has static abstract members.</source>
<target state="new">The interface '{3}' cannot be used as type parameter '{2}' in the generic type or method '{0}'. The constraint interface '{1}' or its base interface has static abstract members.</target>
<note />
</trans-unit>
<trans-unit id="ERR_GlobalUsingInNamespace">
<source>A global using directive cannot be used in a namespace declaration.</source>
<target state="new">A global using directive cannot be used in a namespace declaration.</target>
<note />
</trans-unit>
<trans-unit id="ERR_GlobalUsingOutOfOrder">
<source>A global using directive must precede all non-global using directives.</source>
<target state="new">A global using directive must precede all non-global using directives.</target>
<note />
</trans-unit>
<trans-unit id="ERR_GoToBackwardJumpOverUsingVar">
<source>A goto cannot jump to a location before a using declaration within the same block.</source>
<target state="translated">Příkaz goto nemůže přejít na místo před deklarací using ve stejném bloku.</target>
<note />
</trans-unit>
<trans-unit id="ERR_GoToForwardJumpOverUsingVar">
<source>A goto cannot jump to a location after a using declaration.</source>
<target state="translated">Příkaz goto nemůže přejít na místo za deklarací using.</target>
<note />
</trans-unit>
<trans-unit id="ERR_HiddenPositionalMember">
<source>The positional member '{0}' found corresponding to this parameter is hidden.</source>
<target state="translated">Poziční člen {0}, který odpovídá tomuto parametru je skrytý.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IllegalSuppression">
<source>The suppression operator is not allowed in this context</source>
<target state="translated">Operátor potlačení není v tomto kontextu povolený.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImplicitIndexIndexerWithName">
<source>Invocation of implicit Index Indexer cannot name the argument.</source>
<target state="translated">Volání implicitního indexeru indexů nemůže pojmenovat argument.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImplicitObjectCreationIllegalTargetType">
<source>The type '{0}' may not be used as the target type of new()</source>
<target state="translated">Typ {0} se nedá použít jako cílový typ příkazu new().</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImplicitObjectCreationNoTargetType">
<source>There is no target type for '{0}'</source>
<target state="translated">Není k dispozici žádný cílový typ pro {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImplicitObjectCreationNotValid">
<source>Use of new() is not valid in this context</source>
<target state="translated">Použití new() není v tomto kontextu platné</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImplicitRangeIndexerWithName">
<source>Invocation of implicit Range Indexer cannot name the argument.</source>
<target state="translated">Volání implicitního indexeru rozsahů nemůže pojmenovat argument.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InDynamicMethodArg">
<source>Arguments with 'in' modifier cannot be used in dynamically dispatched expressions.</source>
<target state="translated">Argumenty s modifikátorem in se nedají použít v dynamicky volaných výrazech.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InheritingFromRecordWithSealedToString">
<source>Inheriting from a record with a sealed 'Object.ToString' is not supported in C# {0}. Please use language version '{1}' or greater.</source>
<target state="translated">Dědění ze záznamu se zapečetěným objektem Object.ToString se v jazyce C# {0} nepodporuje. Použijte prosím jazykovou verzi {1} nebo vyšší.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InitCannotBeReadonly">
<source>'init' accessors cannot be marked 'readonly'. Mark '{0}' readonly instead.</source>
<target state="translated">Přístupové objekty init se nedají označit jako jen pro čtení. Místo toho označte jako jen pro čtení {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InstancePropertyInitializerInInterface">
<source>Instance properties in interfaces cannot have initializers.</source>
<target state="translated">Vlastnosti instance v rozhraních nemůžou mít inicializátory.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InterfaceImplementedByUnmanagedCallersOnlyMethod">
<source>'UnmanagedCallersOnly' method '{0}' cannot implement interface member '{1}' in type '{2}'</source>
<target state="new">'UnmanagedCallersOnly' method '{0}' cannot implement interface member '{1}' in type '{2}'</target>
<note>UnmanagedCallersOnly is not localizable.</note>
</trans-unit>
<trans-unit id="ERR_InterfaceImplementedImplicitlyByVariadic">
<source>'{0}' cannot implement interface member '{1}' in type '{2}' because it has an __arglist parameter</source>
<target state="translated">{0} nemůže implementovat člen rozhraní {1} v typu {2}, protože má parametr __arglist.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InternalError">
<source>Internal error in the C# compiler.</source>
<target state="translated">Vnitřní chyba v kompilátoru jazyka C#</target>
<note />
</trans-unit>
<trans-unit id="ERR_InterpolatedStringHandlerArgumentAttributeMalformed">
<source>The InterpolatedStringHandlerArgumentAttribute applied to parameter '{0}' is malformed and cannot be interpreted. Construct an instance of '{1}' manually.</source>
<target state="new">The InterpolatedStringHandlerArgumentAttribute applied to parameter '{0}' is malformed and cannot be interpreted. Construct an instance of '{1}' manually.</target>
<note>InterpolatedStringHandlerArgumentAttribute is a type name and should not be translated.</note>
</trans-unit>
<trans-unit id="ERR_InterpolatedStringHandlerArgumentLocatedAfterInterpolatedString">
<source>Parameter '{0}' is an argument to the interpolated string handler conversion on parameter '{1}', but the corresponding argument is specified after the interpolated string expression. Reorder the arguments to move '{0}' before '{1}'.</source>
<target state="new">Parameter '{0}' is an argument to the interpolated string handler conversion on parameter '{1}', but the corresponding argument is specified after the interpolated string expression. Reorder the arguments to move '{0}' before '{1}'.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InterpolatedStringHandlerArgumentOptionalNotSpecified">
<source>Parameter '{0}' is not explicitly provided, but is used as an argument to the interpolated string handler conversion on parameter '{1}'. Specify the value of '{0}' before '{1}'.</source>
<target state="new">Parameter '{0}' is not explicitly provided, but is used as an argument to the interpolated string handler conversion on parameter '{1}'. Specify the value of '{0}' before '{1}'.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InterpolatedStringHandlerCreationCannotUseDynamic">
<source>An interpolated string handler construction cannot use dynamic. Manually construct an instance of '{0}'.</source>
<target state="new">An interpolated string handler construction cannot use dynamic. Manually construct an instance of '{0}'.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InterpolatedStringHandlerMethodReturnInconsistent">
<source>Interpolated string handler method '{0}' has inconsistent return type. Expected to return '{1}'.</source>
<target state="new">Interpolated string handler method '{0}' has inconsistent return type. Expected to return '{1}'.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InterpolatedStringHandlerMethodReturnMalformed">
<source>Interpolated string handler method '{0}' is malformed. It does not return 'void' or 'bool'.</source>
<target state="new">Interpolated string handler method '{0}' is malformed. It does not return 'void' or 'bool'.</target>
<note>void and bool are keywords</note>
</trans-unit>
<trans-unit id="ERR_InvalidFuncPointerReturnTypeModifier">
<source>'{0}' is not a valid function pointer return type modifier. Valid modifiers are 'ref' and 'ref readonly'.</source>
<target state="translated">{0} není platný modifikátor návratového typu ukazatele na funkci. Platné modifikátory jsou ref a ref readonly.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidFunctionPointerCallingConvention">
<source>'{0}' is not a valid calling convention specifier for a function pointer.</source>
<target state="translated">{0} není platný specifikátor konvence volání pro ukazatel na funkci.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidHashAlgorithmName">
<source>Invalid hash algorithm name: '{0}'</source>
<target state="translated">Neplatný název algoritmu hash: {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidInterpolatedStringHandlerArgumentName">
<source>'{0}' is not a valid parameter name from '{1}'.</source>
<target state="new">'{0}' is not a valid parameter name from '{1}'.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidModifierForLanguageVersion">
<source>The modifier '{0}' is not valid for this item in C# {1}. Please use language version '{2}' or greater.</source>
<target state="translated">Modifikátor {0} není platný pro tuto položku v jazyce C# {1}. Použijte prosím verzi jazyka {2} nebo vyšší.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidNameInSubpattern">
<source>Identifier or a simple member access expected.</source>
<target state="new">Identifier or a simple member access expected.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidObjectCreation">
<source>Invalid object creation</source>
<target state="translated">Vytvoření neplatného objektu</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidPropertyReadOnlyMods">
<source>Cannot specify 'readonly' modifiers on both property or indexer '{0}' and its accessor. Remove one of them.</source>
<target state="translated">Pro vlastnost nebo indexer {0} i jejich přístupový objekt nelze zadat modifikátory readonly. Odeberte jeden z nich.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidStackAllocArray">
<source>"Invalid rank specifier: expected ']'</source>
<target state="translated">Specifikátor rozsahu je neplatný. Očekávala se pravá hranatá závorka ].</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidUnmanagedCallersOnlyCallConv">
<source>'{0}' is not a valid calling convention type for 'UnmanagedCallersOnly'.</source>
<target state="translated">{0} není platný typ konvence volání pro UnmanagedCallersOnly.</target>
<note>UnmanagedCallersOnly is not localizable.</note>
</trans-unit>
<trans-unit id="ERR_InvalidWithReceiverType">
<source>The receiver of a `with` expression must have a non-void type.</source>
<target state="translated">Příjemce výrazu with musí mít neprázdný typ.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IsNullableType">
<source>It is not legal to use nullable reference type '{0}?' in an is-type expression; use the underlying type '{0}' instead.</source>
<target state="translated">Ve výrazu is-type se nepovoluje použití typu odkazu s možnou hodnotou null {0}?; místo toho použijte základní typ {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IsPatternImpossible">
<source>An expression of type '{0}' can never match the provided pattern.</source>
<target state="translated">Výraz typu {0} nesmí nikdy odpovídat poskytnutému vzoru.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IteratorMustBeAsync">
<source>Method '{0}' with an iterator block must be 'async' to return '{1}'</source>
<target state="translated">Metoda {0} s blokem iterátoru musí být asynchronní, aby vrátila {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_LineSpanDirectiveEndLessThanStart">
<source>The #line directive end position must be greater than or equal to the start position</source>
<target state="new">The #line directive end position must be greater than or equal to the start position</target>
<note />
</trans-unit>
<trans-unit id="ERR_LineSpanDirectiveInvalidValue">
<source>The #line directive value is missing or out of range</source>
<target state="new">The #line directive value is missing or out of range</target>
<note />
</trans-unit>
<trans-unit id="ERR_MethFuncPtrMismatch">
<source>No overload for '{0}' matches function pointer '{1}'</source>
<target state="translated">Žádná přetížená metoda {0} neodpovídá ukazateli na funkci {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MissingAddressOf">
<source>Cannot convert method group to function pointer (Are you missing a '&'?)</source>
<target state="translated">Skupina metod se nedá převést na ukazatel na funkci (nechybí &)?</target>
<note />
</trans-unit>
<trans-unit id="ERR_MissingPattern">
<source>Pattern missing</source>
<target state="translated">Chybějící vzor</target>
<note />
</trans-unit>
<trans-unit id="ERR_ModuleInitializerCannotBeUnmanagedCallersOnly">
<source>Module initializer cannot be attributed with 'UnmanagedCallersOnly'.</source>
<target state="translated">Inicializátor modulu nemůže mít atribut UnmanagedCallersOnly.</target>
<note>UnmanagedCallersOnly is not localizable.</note>
</trans-unit>
<trans-unit id="ERR_ModuleInitializerMethodAndContainingTypesMustNotBeGeneric">
<source>Module initializer method '{0}' must not be generic and must not be contained in a generic type</source>
<target state="translated">Inicializační metoda modulu {0} nemůže být obecná a nesmí obsahovat obecný typ.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ModuleInitializerMethodMustBeAccessibleOutsideTopLevelType">
<source>Module initializer method '{0}' must be accessible at the module level</source>
<target state="translated">Inicializační metoda modulu {0} musí být přístupná na úrovni modulu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ModuleInitializerMethodMustBeOrdinary">
<source>A module initializer must be an ordinary member method</source>
<target state="translated">Inicializátor modulu musí být běžná členská metoda.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ModuleInitializerMethodMustBeStaticParameterlessVoid">
<source>Module initializer method '{0}' must be static, must have no parameters, and must return 'void'</source>
<target state="translated">Inicializační metoda modulu {0} musí být statická, nesmí mít žádné parametry a musí vracet void.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MultipleAnalyzerConfigsInSameDir">
<source>Multiple analyzer config files cannot be in the same directory ('{0}').</source>
<target state="translated">Ve stejném adresáři nemůže být více konfiguračních souborů analyzátoru ({0}).</target>
<note />
</trans-unit>
<trans-unit id="ERR_MultipleEnumeratorCancellationAttributes">
<source>The attribute [EnumeratorCancellation] cannot be used on multiple parameters</source>
<target state="translated">Atribut [EnumeratorCancellation] nejde použít na víc parametrů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MultipleFileScopedNamespace">
<source>Source file can only contain one file-scoped namespace declaration.</source>
<target state="new">Source file can only contain one file-scoped namespace declaration.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MultipleRecordParameterLists">
<source>Only a single record partial declaration may have a parameter list</source>
<target state="translated">Seznam parametrů může mít jenom částečná deklarace jednoho záznamu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NewBoundWithUnmanaged">
<source>The 'new()' constraint cannot be used with the 'unmanaged' constraint</source>
<target state="translated">Omezení new() nejde používat s omezením unmanaged.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NewlinesAreNotAllowedInsideANonVerbatimInterpolatedString">
<source>Newlines are not allowed inside a non-verbatim interpolated string</source>
<target state="new">Newlines are not allowed inside a non-verbatim interpolated string</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoConvToIAsyncDispWrongAsync">
<source>'{0}': type used in an asynchronous using statement must be implicitly convertible to 'System.IAsyncDisposable' or implement a suitable 'DisposeAsync' method. Did you mean 'using' rather than 'await using'?</source>
<target state="translated">{0}: typ použitý v asynchronním příkazu using musí být implicitně převoditelný na System.IAsyncDisposable nebo musí implementovat odpovídající metodu DisposeAsync. Měli jste v úmyslu použít using nebo await using?</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoConvToIDispWrongAsync">
<source>'{0}': type used in a using statement must be implicitly convertible to 'System.IDisposable'. Did you mean 'await using' rather than 'using'?</source>
<target state="translated">{0}: Typ použitý v příkazu using musí být implicitně převoditelný na System.IDisposable. Neměli jste v úmyslu použít await using místo using?</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoConversionForCallerArgumentExpressionParam">
<source>CallerArgumentExpressionAttribute cannot be applied because there are no standard conversions from type '{0}' to type '{1}'</source>
<target state="new">CallerArgumentExpressionAttribute cannot be applied because there are no standard conversions from type '{0}' to type '{1}'</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoCopyConstructorInBaseType">
<source>No accessible copy constructor found in base type '{0}'.</source>
<target state="translated">V základním typu {0} se nenašel žádný přístupný kopírovací konstruktor.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoImplicitConvTargetTypedConditional">
<source>Conditional expression is not valid in language version {0} because a common type was not found between '{1}' and '{2}'. To use a target-typed conversion, upgrade to language version {3} or greater.</source>
<target state="new">Conditional expression is not valid in language version {0} because a common type was not found between '{1}' and '{2}'. To use a target-typed conversion, upgrade to language version {3} or greater.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoOutputDirectory">
<source>Output directory could not be determined</source>
<target state="translated">Nepovedlo se určit výstupní adresář.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NonPrivateAPIInRecord">
<source>Record member '{0}' must be private.</source>
<target state="translated">Člen záznamu {0} musí být privátní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NonProtectedAPIInRecord">
<source>Record member '{0}' must be protected.</source>
<target state="translated">Člen záznamu {0} musí být chráněný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NonPublicAPIInRecord">
<source>Record member '{0}' must be public.</source>
<target state="translated">Člen záznamu {0} musí být veřejný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NonPublicParameterlessStructConstructor">
<source>The parameterless struct constructor must be 'public'.</source>
<target state="new">The parameterless struct constructor must be 'public'.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NotInstanceInvalidInterpolatedStringHandlerArgumentName">
<source>'{0}' is not an instance method, the receiver cannot be an interpolated string handler argument.</source>
<target state="new">'{0}' is not an instance method, the receiver cannot be an interpolated string handler argument.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NotOverridableAPIInRecord">
<source>'{0}' must allow overriding because the containing record is not sealed.</source>
<target state="translated">{0} musí povolovat přepisování, protože obsahující záznam není zapečetěný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NullInvalidInterpolatedStringHandlerArgumentName">
<source>null is not a valid parameter name. To get access to the receiver of an instance method, use the empty string as the parameter name.</source>
<target state="new">null is not a valid parameter name. To get access to the receiver of an instance method, use the empty string as the parameter name.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NullableDirectiveQualifierExpected">
<source>Expected 'enable', 'disable', or 'restore'</source>
<target state="translated">Očekávala se hodnota enable, disable nebo restore.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NullableDirectiveTargetExpected">
<source>Expected 'warnings', 'annotations', or end of directive</source>
<target state="translated">Očekávala se možnost warnings nebo annotations nebo konec direktivy.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NullableOptionNotAvailable">
<source>Invalid '{0}' value: '{1}' for C# {2}. Please use language version '{3}' or greater.</source>
<target state="translated">Neplatná hodnota {0}: {1} pro jazyk C# {2}. Použijte prosím verzi jazyka {3} nebo vyšší.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NullableUnconstrainedTypeParameter">
<source>A nullable type parameter must be known to be a value type or non-nullable reference type unless language version '{0}' or greater is used. Consider changing the language version or adding a 'class', 'struct', or type constraint.</source>
<target state="translated">Pokud se nepoužívá verze jazyka {0} nebo novější, musí být pro parametr typu s možnou hodnotou null známo, že má typ hodnoty nebo typ odkazu, který není možné nastavit na null. Zvažte možnost změnit verzi jazyka nebo přidat class, struct nebo omezení typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OmittedTypeArgument">
<source>Omitting the type argument is not allowed in the current context</source>
<target state="translated">V aktuálním kontextu se vynechání argumentu typu nepodporuje.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OutVariableCannotBeByRef">
<source>An out variable cannot be declared as a ref local</source>
<target state="translated">Výstupní proměnná nemůže být deklarovaná jako lokální proměnná podle odkazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OverrideDefaultConstraintNotSatisfied">
<source>Method '{0}' specifies a 'default' constraint for type parameter '{1}', but corresponding type parameter '{2}' of overridden or explicitly implemented method '{3}' is constrained to a reference type or a value type.</source>
<target state="translated">Metoda {0} určuje omezení default pro parametr typu {1}, ale odpovídající parametr typu {2} přepsané nebo explicitně implementované metody {3} není omezený na typ odkazu nebo hodnoty.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OverrideRefConstraintNotSatisfied">
<source>Method '{0}' specifies a 'class' constraint for type parameter '{1}', but corresponding type parameter '{2}' of overridden or explicitly implemented method '{3}' is not a reference type.</source>
<target state="translated">Metoda {0} určuje omezení class pro parametr typu {1}, ale odpovídající parametr typu {2} přepsané nebo explicitně implementované metody {3} není odkazový typ.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OverrideValConstraintNotSatisfied">
<source>Method '{0}' specifies a 'struct' constraint for type parameter '{1}', but corresponding type parameter '{2}' of overridden or explicitly implemented method '{3}' is not a non-nullable value type.</source>
<target state="translated">Metoda {0} určuje omezení struct pro parametr typu {1}, ale odpovídající parametr typu {2} přepsané nebo explicitně implementované metody {3} není typ, který nemůže mít hodnotu null.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodAccessibilityDifference">
<source>Both partial method declarations must have identical accessibility modifiers.</source>
<target state="translated">Obě deklarace částečných metod musí mít shodné modifikátory přístupnosti.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodExtendedModDifference">
<source>Both partial method declarations must have identical combinations of 'virtual', 'override', 'sealed', and 'new' modifiers.</source>
<target state="translated">Obě deklarace částečných metod musí mít shodné kombinace modifikátorů virtual, override, sealed a new.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodReadOnlyDifference">
<source>Both partial method declarations must be readonly or neither may be readonly</source>
<target state="translated">Obě deklarace částečné metody musí mít modifikátor readonly, nebo nesmí mít modifikátor readonly žádná z nich.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodRefReturnDifference">
<source>Partial method declarations must have matching ref return values.</source>
<target state="translated">Deklarace částečných metod musí mít odpovídající referenční návratové hodnoty.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodReturnTypeDifference">
<source>Both partial method declarations must have the same return type.</source>
<target state="translated">Obě deklarace částečných metod musí mít stejný návratový typ.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodWithAccessibilityModsMustHaveImplementation">
<source>Partial method '{0}' must have an implementation part because it has accessibility modifiers.</source>
<target state="translated">Částečná metoda {0} musí mít implementační část, protože má modifikátory přístupnosti.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodWithExtendedModMustHaveAccessMods">
<source>Partial method '{0}' must have accessibility modifiers because it has a 'virtual', 'override', 'sealed', 'new', or 'extern' modifier.</source>
<target state="translated">Částečná metoda {0} musí mít modifikátory přístupnosti, protože má modifikátor virtual, override, sealed, new nebo extern.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodWithNonVoidReturnMustHaveAccessMods">
<source>Partial method '{0}' must have accessibility modifiers because it has a non-void return type.</source>
<target state="translated">Částečná metoda {0} musí mít modifikátory přístupnosti, protože má návratový typ jiný než void.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodWithOutParamMustHaveAccessMods">
<source>Partial method '{0}' must have accessibility modifiers because it has 'out' parameters.</source>
<target state="translated">Částečná metoda {0} musí mít modifikátory přístupnosti, protože má parametry out.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PointerTypeInPatternMatching">
<source>Pattern-matching is not permitted for pointer types.</source>
<target state="translated">Porovnávání vzorů není povolené pro typy ukazatelů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PossibleAsyncIteratorWithoutYield">
<source>The body of an async-iterator method must contain a 'yield' statement.</source>
<target state="translated">Tělo metody async-iterator musí obsahovat příkaz yield.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PossibleAsyncIteratorWithoutYieldOrAwait">
<source>The body of an async-iterator method must contain a 'yield' statement. Consider removing 'async' from the method declaration or adding a 'yield' statement.</source>
<target state="translated">Tělo metody async-iterator musí obsahovat příkaz yield. Zvažte odebrání položky async z deklarace metody nebo přidání příkazu yield.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PropertyPatternNameMissing">
<source>A property subpattern requires a reference to the property or field to be matched, e.g. '{{ Name: {0} }}'</source>
<target state="translated">Dílčí vzor vlastnosti vyžaduje odkaz na vlastnost nebo pole k přiřazení, např. „{{ Name: {0} }}“.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ReAbstractionInNoPIAType">
<source>Type '{0}' cannot be embedded because it has a re-abstraction of a member from base interface. Consider setting the 'Embed Interop Types' property to false.</source>
<target state="translated">Typ {0} nemůže být vložený, protože má reabstrakci člena ze základního rozhraní. Zvažte nastavení vlastnosti Vložit typy spolupráce na hodnotu false.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ReadOnlyModMissingAccessor">
<source>'{0}': 'readonly' can only be used on accessors if the property or indexer has both a get and a set accessor</source>
<target state="translated">{0}: U přístupových objektů se modifikátor readonly může použít jenom v případě, že vlastnost nebo indexer má přístupový objekt get i set.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RecordAmbigCtor">
<source>The primary constructor conflicts with the synthesized copy constructor.</source>
<target state="translated">Primární konstruktor je v konfliktu se syntetizovaně zkopírovaným konstruktorem.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefAssignNarrower">
<source>Cannot ref-assign '{1}' to '{0}' because '{1}' has a narrower escape scope than '{0}'.</source>
<target state="translated">Přiřazení odkazu {1} k {0} nelze provést, protože {1} má užší řídicí obor než {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefLocalOrParamExpected">
<source>The left-hand side of a ref assignment must be a ref local or parameter.</source>
<target state="translated">Levá strana přiřazení odkazu musí být lokální proměnná nebo parametr odkazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RelationalPatternWithNaN">
<source>Relational patterns may not be used for a floating-point NaN.</source>
<target state="translated">Relační vzory se nedají použít pro hodnotu Není číslo s plovoucí desetinnou čárkou.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RuntimeDoesNotSupportCovariantPropertiesOfClasses">
<source>'{0}': Target runtime doesn't support covariant types in overrides. Type must be '{2}' to match overridden member '{1}'</source>
<target state="translated">{0}: Cílový modul runtime nepodporuje v přepisech kovariantní typy. Typ musí být {2}, aby odpovídal přepsanému členu {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RuntimeDoesNotSupportCovariantReturnsOfClasses">
<source>'{0}': Target runtime doesn't support covariant return types in overrides. Return type must be '{2}' to match overridden member '{1}'</source>
<target state="translated">{0}: Cílový modul runtime nepodporuje v přepisech kovariantní návratové typy. Návratový typ musí být {2}, aby odpovídal přepsanému členu {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember">
<source>Target runtime doesn't support 'protected', 'protected internal', or 'private protected' accessibility for a member of an interface.</source>
<target state="translated">Cílový modul runtime nepodporuje pro člena rozhraní přístupnost na úrovni Protected, Protected internal nebo Private protected.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfaces">
<source>Target runtime doesn't support static abstract members in interfaces.</source>
<target state="new">Target runtime doesn't support static abstract members in interfaces.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember">
<source>'{0}' cannot implement interface member '{1}' in type '{2}' because the target runtime doesn't support static abstract members in interfaces.</source>
<target state="new">'{0}' cannot implement interface member '{1}' in type '{2}' because the target runtime doesn't support static abstract members in interfaces.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RuntimeDoesNotSupportUnmanagedDefaultCallConv">
<source>The target runtime doesn't support extensible or runtime-environment default calling conventions.</source>
<target state="translated">Cílový modul runtime nepodporuje rozšiřitelné konvence volání ani konvence volání výchozí pro prostředí modulu runtime.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SealedAPIInRecord">
<source>'{0}' cannot be sealed because containing record is not sealed.</source>
<target state="translated">Typ {0} nemůže být zapečetěný, protože není zapečetěný obsahující záznam.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SignatureMismatchInRecord">
<source>Record member '{0}' must return '{1}'.</source>
<target state="translated">Člen záznamu {0} musí vracet {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SimpleProgramDisallowsMainType">
<source>Cannot specify /main if there is a compilation unit with top-level statements.</source>
<target state="translated">Pokud existuje jednotka kompilace s příkazy nejvyšší úrovně, nedá se zadat /main.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SimpleProgramIsEmpty">
<source>At least one top-level statement must be non-empty.</source>
<target state="new">At least one top-level statement must be non-empty.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SimpleProgramLocalIsReferencedOutsideOfTopLevelStatement">
<source>Cannot use local variable or local function '{0}' declared in a top-level statement in this context.</source>
<target state="translated">Místní proměnná nebo místní funkce {0} deklarovaná v příkazu nejvyšší úrovně v tomto kontextu se nedá použít.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SimpleProgramMultipleUnitsWithTopLevelStatements">
<source>Only one compilation unit can have top-level statements.</source>
<target state="translated">Příkazy nejvyšší úrovně může mít jen jedna jednotka kompilace.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SimpleProgramNotAnExecutable">
<source>Program using top-level statements must be an executable.</source>
<target state="translated">Program, který používá příkazy nejvyšší úrovně, musí být spustitelný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SingleElementPositionalPatternRequiresDisambiguation">
<source>A single-element deconstruct pattern requires some other syntax for disambiguation. It is recommended to add a discard designator '_' after the close paren ')'.</source>
<target state="translated">Vzor deconstruct s jedním elementem vyžaduje určitou další syntaxi pro zajištění jednoznačnosti. Doporučuje se přidat označení discard „_“ za koncovou závorku „)“.</target>
<note />
</trans-unit>
<trans-unit id="ERR_StaticAPIInRecord">
<source>Record member '{0}' may not be static.</source>
<target state="translated">Člen záznamu {0} nemůže být statický.</target>
<note />
</trans-unit>
<trans-unit id="ERR_StaticAnonymousFunctionCannotCaptureThis">
<source>A static anonymous function cannot contain a reference to 'this' or 'base'.</source>
<target state="translated">Statická anonymní funkce nemůže obsahovat odkaz na this nebo base.</target>
<note />
</trans-unit>
<trans-unit id="ERR_StaticAnonymousFunctionCannotCaptureVariable">
<source>A static anonymous function cannot contain a reference to '{0}'.</source>
<target state="translated">Statická anonymní funkce nemůže obsahovat odkaz na {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_StaticLocalFunctionCannotCaptureThis">
<source>A static local function cannot contain a reference to 'this' or 'base'.</source>
<target state="translated">Statická lokální funkce nesmí obsahovat odkaz na this nebo base.</target>
<note />
</trans-unit>
<trans-unit id="ERR_StaticLocalFunctionCannotCaptureVariable">
<source>A static local function cannot contain a reference to '{0}'.</source>
<target state="translated">Statická lokální funkce nesmí obsahovat odkaz na {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_StaticMemberCantBeReadOnly">
<source>Static member '{0}' cannot be marked 'readonly'.</source>
<target state="translated">Statický člen {0} se nedá označit modifikátorem readonly.</target>
<note />
</trans-unit>
<trans-unit id="ERR_StdInOptionProvidedButConsoleInputIsNotRedirected">
<source>stdin argument '-' is specified, but input has not been redirected from the standard input stream.</source>
<target state="translated">Zadal se argument stdin -, ale vstup se nepřesměroval na stream standardního vstupu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SwitchArmSubsumed">
<source>The pattern is unreachable. It has already been handled by a previous arm of the switch expression or it is impossible to match.</source>
<target state="translated">Vzor není dostupný. Už se zpracoval v jiné části výrazu switch nebo není možné pro něj najít shodu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SwitchCaseSubsumed">
<source>The switch case is unreachable. It has already been handled by a previous case or it is impossible to match.</source>
<target state="translated">Případ příkazu switch není dostupný. Už se zpracoval v jiném případu nebo není možné pro něj najít shodu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SwitchExpressionNoBestType">
<source>No best type was found for the switch expression.</source>
<target state="translated">Pro výraz switch se nenašel žádný optimální typ.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SwitchGoverningExpressionRequiresParens">
<source>Parentheses are required around the switch governing expression.</source>
<target state="translated">Řídící výraz switch je nutné uzavřít do závorek.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TopLevelStatementAfterNamespaceOrType">
<source>Top-level statements must precede namespace and type declarations.</source>
<target state="translated">Příkazy nejvyšší úrovně se musí nacházet před obory názvů a deklaracemi typů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TripleDotNotAllowed">
<source>Unexpected character sequence '...'</source>
<target state="translated">Neočekáváná posloupnost znaků ...</target>
<note />
</trans-unit>
<trans-unit id="ERR_TupleElementNameMismatch">
<source>The name '{0}' does not identify tuple element '{1}'.</source>
<target state="translated">Název {0} neidentifikuje element tuple {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TupleSizesMismatchForBinOps">
<source>Tuple types used as operands of an == or != operator must have matching cardinalities. But this operator has tuple types of cardinality {0} on the left and {1} on the right.</source>
<target state="translated">Typy řazené kolekce členů, které se používají jako operandy operátoru == nebo !=, musí mít odpovídající kardinality. U tohoto operátoru je ale kardinalita typů řazené kolekce členů vlevo {0} a vpravo {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TypeConstraintsMustBeUniqueAndFirst">
<source>The 'class', 'struct', 'unmanaged', 'notnull', and 'default' constraints cannot be combined or duplicated, and must be specified first in the constraints list.</source>
<target state="translated">Omezení class, struct, unmanaged, notnull a default se nedají kombinovat ani použít více než jednou a v seznamu omezení se musí zadat jako první.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TypeIsNotAnInterpolatedStringHandlerType">
<source>'{0}' is not an interpolated string handler type.</source>
<target state="new">'{0}' is not an interpolated string handler type.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TypeMustBePublic">
<source>Type '{0}' must be public to be used as a calling convention.</source>
<target state="translated">Aby se typ {0} dal použít jako konvence volání, musí být veřejný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnmanagedCallersOnlyMethodsCannotBeCalledDirectly">
<source>'{0}' is attributed with 'UnmanagedCallersOnly' and cannot be called directly. Obtain a function pointer to this method.</source>
<target state="translated">{0} má atribut UnmanagedCallersOnly a nedá se volat napřímo. Pro tuto metodu získejte ukazatel na funkci.</target>
<note>UnmanagedCallersOnly is not localizable.</note>
</trans-unit>
<trans-unit id="ERR_UnmanagedCallersOnlyMethodsCannotBeConvertedToDelegate">
<source>'{0}' is attributed with 'UnmanagedCallersOnly' and cannot be converted to a delegate type. Obtain a function pointer to this method.</source>
<target state="translated">{0} má atribut UnmanagedCallersOnly a nedá se převést na typ delegáta. Pro tuto metodu získejte ukazatel na funkci.</target>
<note>UnmanagedCallersOnly is not localizable.</note>
</trans-unit>
<trans-unit id="ERR_WrongArityAsyncReturn">
<source>A generic task-like return type was expected, but the type '{0}' found in 'AsyncMethodBuilder' attribute was not suitable. It must be an unbound generic type of arity one, and its containing type (if any) must be non-generic.</source>
<target state="new">A generic task-like return type was expected, but the type '{0}' found in 'AsyncMethodBuilder' attribute was not suitable. It must be an unbound generic type of arity one, and its containing type (if any) must be non-generic.</target>
<note />
</trans-unit>
<trans-unit id="HDN_DuplicateWithGlobalUsing">
<source>The using directive for '{0}' appeared previously as global using</source>
<target state="new">The using directive for '{0}' appeared previously as global using</target>
<note />
</trans-unit>
<trans-unit id="HDN_DuplicateWithGlobalUsing_Title">
<source>The using directive appeared previously as global using</source>
<target state="new">The using directive appeared previously as global using</target>
<note />
</trans-unit>
<trans-unit id="IDS_AsyncMethodBuilderOverride">
<source>async method builder override</source>
<target state="new">async method builder override</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureCovariantReturnsForOverrides">
<source>covariant returns</source>
<target state="translated">kovariantní návratové hodnoty</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureDiscards">
<source>discards</source>
<target state="translated">discards</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureExtendedPropertyPatterns">
<source>extended property patterns</source>
<target state="new">extended property patterns</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureFileScopedNamespace">
<source>file-scoped namespace</source>
<target state="new">file-scoped namespace</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureGenericAttributes">
<source>generic attributes</source>
<target state="new">generic attributes</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureGlobalUsing">
<source>global using directive</source>
<target state="new">global using directive</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureImplicitObjectCreation">
<source>target-typed object creation</source>
<target state="translated">Vytvoření objektu s cílovým typem</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureImprovedInterpolatedStrings">
<source>interpolated string handlers</source>
<target state="new">interpolated string handlers</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureInferredDelegateType">
<source>inferred delegate type</source>
<target state="new">inferred delegate type</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureLambdaAttributes">
<source>lambda attributes</source>
<target state="new">lambda attributes</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureLambdaReturnType">
<source>lambda return type</source>
<target state="new">lambda return type</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureLineSpanDirective">
<source>line span directive</source>
<target state="new">line span directive</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureParameterlessStructConstructors">
<source>parameterless struct constructors</source>
<target state="new">parameterless struct constructors</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeaturePositionalFieldsInRecords">
<source>positional fields in records</source>
<target state="new">positional fields in records</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureRecordStructs">
<source>record structs</source>
<target state="new">record structs</target>
<note>'record structs' is not localizable.</note>
</trans-unit>
<trans-unit id="IDS_FeatureSealedToStringInRecord">
<source>sealed ToString in record</source>
<target state="translated">zapečetěný ToString v záznamu</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureStructFieldInitializers">
<source>struct field initializers</source>
<target state="new">struct field initializers</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureWithOnAnonymousTypes">
<source>with on anonymous types</source>
<target state="new">with on anonymous types</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureStaticAbstractMembersInInterfaces">
<source>static abstract members in interfaces</source>
<target state="new">static abstract members in interfaces</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureWithOnStructs">
<source>with on structs</source>
<target state="new">with on structs</target>
<note />
</trans-unit>
<trans-unit id="WRN_AnalyzerReferencesFramework">
<source>The assembly '{0}' containing type '{1}' references .NET Framework, which is not supported.</source>
<target state="translated">Sestavení {0}, které obsahuje typ {1}, se odkazuje na architekturu .NET Framework, což se nepodporuje.</target>
<note>{1} is the type that was loaded, {0} is the containing assembly.</note>
</trans-unit>
<trans-unit id="WRN_AnalyzerReferencesFramework_Title">
<source>The loaded assembly references .NET Framework, which is not supported.</source>
<target state="translated">Načtené sestavení se odkazuje na architekturu .NET Framework, což se nepodporuje</target>
<note />
</trans-unit>
<trans-unit id="WRN_AttrDependentTypeNotAllowed">
<source>Type '{0}' cannot be used in this context because it cannot be represented in metadata.</source>
<target state="new">Type '{0}' cannot be used in this context because it cannot be represented in metadata.</target>
<note />
</trans-unit>
<trans-unit id="WRN_AttrDependentTypeNotAllowed_Title">
<source>Type cannot be used in this context because it cannot be represented in metadata.</source>
<target state="new">Type cannot be used in this context because it cannot be represented in metadata.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerArgumentExpressionAttributeHasInvalidParameterName">
<source>The CallerArgumentExpressionAttribute applied to parameter '{0}' will have no effect. It is applied with an invalid parameter name.</source>
<target state="new">The CallerArgumentExpressionAttribute applied to parameter '{0}' will have no effect. It is applied with an invalid parameter name.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerArgumentExpressionAttributeHasInvalidParameterName_Title">
<source>The CallerArgumentExpressionAttribute is applied with an invalid parameter name.</source>
<target state="new">The CallerArgumentExpressionAttribute is applied with an invalid parameter name.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerArgumentExpressionAttributeSelfReferential">
<source>The CallerArgumentExpressionAttribute applied to parameter '{0}' will have no effect because it's self-referential.</source>
<target state="new">The CallerArgumentExpressionAttribute applied to parameter '{0}' will have no effect because it's self-referential.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerArgumentExpressionAttributeSelfReferential_Title">
<source>The CallerArgumentExpressionAttribute applied to parameter will have no effect because it's self-refential.</source>
<target state="new">The CallerArgumentExpressionAttribute applied to parameter will have no effect because it's self-refential.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerArgumentExpressionParamForUnconsumedLocation">
<source>The CallerArgumentExpressionAttribute applied to parameter '{0}' will have no effect because it applies to a member that is used in contexts that do not allow optional arguments</source>
<target state="new">The CallerArgumentExpressionAttribute applied to parameter '{0}' will have no effect because it applies to a member that is used in contexts that do not allow optional arguments</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerArgumentExpressionParamForUnconsumedLocation_Title">
<source>The CallerArgumentExpressionAttribute will have no effect because it applies to a member that is used in contexts that do not allow optional arguments</source>
<target state="new">The CallerArgumentExpressionAttribute will have no effect because it applies to a member that is used in contexts that do not allow optional arguments</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerFilePathPreferredOverCallerArgumentExpression">
<source>The CallerArgumentExpressionAttribute applied to parameter '{0}' will have no effect. It is overridden by the CallerFilePathAttribute.</source>
<target state="new">The CallerArgumentExpressionAttribute applied to parameter '{0}' will have no effect. It is overridden by the CallerFilePathAttribute.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerFilePathPreferredOverCallerArgumentExpression_Title">
<source>The CallerArgumentExpressionAttribute will have no effect; it is overridden by the CallerFilePathAttribute</source>
<target state="new">The CallerArgumentExpressionAttribute will have no effect; it is overridden by the CallerFilePathAttribute</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerLineNumberPreferredOverCallerArgumentExpression">
<source>The CallerArgumentExpressionAttribute applied to parameter '{0}' will have no effect. It is overridden by the CallerLineNumberAttribute.</source>
<target state="new">The CallerArgumentExpressionAttribute applied to parameter '{0}' will have no effect. It is overridden by the CallerLineNumberAttribute.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerLineNumberPreferredOverCallerArgumentExpression_Title">
<source>The CallerArgumentExpressionAttribute will have no effect; it is overridden by the CallerLineNumberAttribute</source>
<target state="new">The CallerArgumentExpressionAttribute will have no effect; it is overridden by the CallerLineNumberAttribute</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerMemberNamePreferredOverCallerArgumentExpression">
<source>The CallerArgumentExpressionAttribute applied to parameter '{0}' will have no effect. It is overridden by the CallerMemberNameAttribute.</source>
<target state="new">The CallerArgumentExpressionAttribute applied to parameter '{0}' will have no effect. It is overridden by the CallerMemberNameAttribute.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerMemberNamePreferredOverCallerArgumentExpression_Title">
<source>The CallerArgumentExpressionAttribute will have no effect; it is overridden by the CallerMemberNameAttribute</source>
<target state="new">The CallerArgumentExpressionAttribute will have no effect; it is overridden by the CallerMemberNameAttribute</target>
<note />
</trans-unit>
<trans-unit id="WRN_DoNotCompareFunctionPointers">
<source>Comparison of function pointers might yield an unexpected result, since pointers to the same function may be distinct.</source>
<target state="translated">Porovnání ukazatelů funkcí může přinést neočekávaný výsledek, protože ukazatele na stejnou funkci můžou být rozdílné.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DoNotCompareFunctionPointers_Title">
<source>Do not compare function pointer values</source>
<target state="translated">Neporovnávat hodnoty ukazatelů funkcí</target>
<note />
</trans-unit>
<trans-unit id="WRN_InterpolatedStringHandlerArgumentAttributeIgnoredOnLambdaParameters">
<source>InterpolatedStringHandlerArgument has no effect when applied to lambda parameters and will be ignored at the call site.</source>
<target state="new">InterpolatedStringHandlerArgument has no effect when applied to lambda parameters and will be ignored at the call site.</target>
<note />
</trans-unit>
<trans-unit id="WRN_InterpolatedStringHandlerArgumentAttributeIgnoredOnLambdaParameters_Title">
<source>InterpolatedStringHandlerArgument has no effect when applied to lambda parameters and will be ignored at the call site.</source>
<target state="new">InterpolatedStringHandlerArgument has no effect when applied to lambda parameters and will be ignored at the call site.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ParameterNotNullIfNotNull">
<source>Parameter '{0}' must have a non-null value when exiting because parameter '{1}' is non-null.</source>
<target state="translated">Parametr {0} musí mít při ukončení hodnotu jinou než null, protože parametr {1} není null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ParameterNotNullIfNotNull_Title">
<source>Parameter must have a non-null value when exiting because parameter referenced by NotNullIfNotNull is non-null.</source>
<target state="translated">Parametr musí mít při ukončení hodnotu jinou než null, protože parametr, na který se odkazuje NotNullIfNotNull není null</target>
<note />
</trans-unit>
<trans-unit id="WRN_ParameterOccursAfterInterpolatedStringHandlerParameter">
<source>Parameter {0} occurs after {1} in the parameter list, but is used as an argument for interpolated string handler conversions. This will require the caller to reorder parameters with named arguments at the call site. Consider putting the interpolated string handler parameter after all arguments involved.</source>
<target state="new">Parameter {0} occurs after {1} in the parameter list, but is used as an argument for interpolated string handler conversions. This will require the caller to reorder parameters with named arguments at the call site. Consider putting the interpolated string handler parameter after all arguments involved.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ParameterOccursAfterInterpolatedStringHandlerParameter_Title">
<source>Parameter to interpolated string handler conversion occurs after handler parameter</source>
<target state="new">Parameter to interpolated string handler conversion occurs after handler parameter</target>
<note />
</trans-unit>
<trans-unit id="WRN_RecordEqualsWithoutGetHashCode">
<source>'{0}' defines 'Equals' but not 'GetHashCode'</source>
<target state="translated">{0} definuje Equals, ale ne GetHashCode.</target>
<note>'GetHashCode' and 'Equals' are not localizable.</note>
</trans-unit>
<trans-unit id="WRN_RecordEqualsWithoutGetHashCode_Title">
<source>Record defines 'Equals' but not 'GetHashCode'.</source>
<target state="translated">Záznam definuje Equals, ale ne GetHashCode</target>
<note>'GetHashCode' and 'Equals' are not localizable.</note>
</trans-unit>
<trans-unit id="IDS_FeatureMixedDeclarationsAndExpressionsInDeconstruction">
<source>Mixed declarations and expressions in deconstruction</source>
<target state="translated">Smíšené deklarace a výrazy v dekonstrukci</target>
<note />
</trans-unit>
<trans-unit id="WRN_PartialMethodTypeDifference">
<source>Partial method declarations '{0}' and '{1}' have signature differences.</source>
<target state="new">Partial method declarations '{0}' and '{1}' have signature differences.</target>
<note />
</trans-unit>
<trans-unit id="WRN_PartialMethodTypeDifference_Title">
<source>Partial method declarations have signature differences.</source>
<target state="new">Partial method declarations have signature differences.</target>
<note />
</trans-unit>
<trans-unit id="WRN_RecordNamedDisallowed">
<source>Types and aliases should not be named 'record'.</source>
<target state="translated">Typy a aliasy by neměly mít název record.</target>
<note />
</trans-unit>
<trans-unit id="WRN_RecordNamedDisallowed_Title">
<source>Types and aliases should not be named 'record'.</source>
<target state="translated">Typy a aliasy by neměly mít název record</target>
<note />
</trans-unit>
<trans-unit id="WRN_ReturnNotNullIfNotNull">
<source>Return value must be non-null because parameter '{0}' is non-null.</source>
<target state="translated">Návratová hodnota musí být jiná než null, protože parametr {0} není null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ReturnNotNullIfNotNull_Title">
<source>Return value must be non-null because parameter is non-null.</source>
<target state="translated">Návratová hodnota musí být jiná než null, protože parametr není null</target>
<note />
</trans-unit>
<trans-unit id="WRN_SwitchExpressionNotExhaustiveWithUnnamedEnumValue">
<source>The switch expression does not handle some values of its input type (it is not exhaustive) involving an unnamed enum value. For example, the pattern '{0}' is not covered.</source>
<target state="translated">Výraz switch nezachycuje některé hodnoty vstupního typu (není úplný) včetně nepojmenované hodnoty výčtu. Nezachycuje například vzor {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_SwitchExpressionNotExhaustiveWithUnnamedEnumValue_Title">
<source>The switch expression does not handle some values of its input type (it is not exhaustive) involving an unnamed enum value.</source>
<target state="translated">Výraz switch nezachycuje některé hodnoty vstupního typu (není úplný) včetně nepojmenované hodnoty výčtu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_SyncAndAsyncEntryPoints">
<source>Method '{0}' will not be used as an entry point because a synchronous entry point '{1}' was found.</source>
<target state="translated">Metoda {0} se nepoužije jako vstupní bod, protože se našel synchronní vstupní bod {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TypeNotFound">
<source>Type '{0}' is not defined.</source>
<target state="translated">Typ {0} není definovaný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnexpectedArgumentList">
<source>Unexpected argument list.</source>
<target state="translated">Neočekávaný seznam argumentů</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnexpectedOrMissingConstructorInitializerInRecord">
<source>A constructor declared in a record with parameter list must have 'this' constructor initializer.</source>
<target state="translated">Konstruktor deklarovaný v záznamu se seznamem parametrů musí mít inicializátor konstruktoru this.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnexpectedVarianceStaticMember">
<source>Invalid variance: The type parameter '{1}' must be {3} valid on '{0}' unless language version '{4}' or greater is used. '{1}' is {2}.</source>
<target state="translated">Neplatná odchylka: Parametr typu {1} musí být {3} platný v {0}, pokud není použita verze jazyka {4} nebo vyšší. {1} je {2}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnmanagedBoundWithClass">
<source>'{0}': cannot specify both a constraint class and the 'unmanaged' constraint</source>
<target state="translated">{0}: Nejde zadat třídu omezení a zároveň omezení unmanaged.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnmanagedCallersOnlyMethodOrTypeCannotBeGeneric">
<source>Methods attributed with 'UnmanagedCallersOnly' cannot have generic type parameters and cannot be declared in a generic type.</source>
<target state="translated">Metody, které mají atribut UnmanagedCallersOnly, nemůžou mít obecné typy parametrů a nedají se deklarovat v obecném typu.</target>
<note>UnmanagedCallersOnly is not localizable.</note>
</trans-unit>
<trans-unit id="ERR_UnmanagedCallersOnlyRequiresStatic">
<source>'UnmanagedCallersOnly' can only be applied to ordinary static non-abstract methods or static local functions.</source>
<target state="needs-review-translation">UnmanagedCallersOnly se dá použít jen pro běžné statické metody nebo statické místní funkce.</target>
<note>UnmanagedCallersOnly is not localizable.</note>
</trans-unit>
<trans-unit id="ERR_UnmanagedConstraintNotSatisfied">
<source>The type '{2}' must be a non-nullable value type, along with all fields at any level of nesting, in order to use it as parameter '{1}' in the generic type or method '{0}'</source>
<target state="translated">Typ {2} musí být typ, který nemůže mít hodnotu null, ani nesmí v žádné úrovni vnoření obsahovat pole, které by ji povolovalo, aby se dal použít jako parametr {1} v obecném typu nebo metodě {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnsupportedCallingConvention">
<source>The calling convention of '{0}' is not supported by the language.</source>
<target state="translated">Jazyk nepodporuje konvenci volání {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnsupportedTypeForRelationalPattern">
<source>Relational patterns may not be used for a value of type '{0}'.</source>
<target state="translated">Relační vzory se nedají používat pro hodnotu typu {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UsingVarInSwitchCase">
<source>A using variable cannot be used directly within a switch section (consider using braces). </source>
<target state="translated">Proměnnou using není možné v sekci switch použít přímo (zvažte použití složených závorek). </target>
<note />
</trans-unit>
<trans-unit id="ERR_VarMayNotBindToType">
<source>The syntax 'var' for a pattern is not permitted to refer to a type, but '{0}' is in scope here.</source>
<target state="translated">U syntaxe var pro vzor se nepovoluje odkazování na typ, ale {0} je tady v rámci rozsahu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_VarianceInterfaceNesting">
<source>Enums, classes, and structures cannot be declared in an interface that has an 'in' or 'out' type parameter.</source>
<target state="translated">Výčty, třídy a struktury není možné deklarovat v rozhraní, které má parametr typu in/out.</target>
<note />
</trans-unit>
<trans-unit id="ERR_WrongFuncPtrCallingConvention">
<source>Calling convention of '{0}' is not compatible with '{1}'.</source>
<target state="translated">Konvence volání pro {0} není kompatibilní s {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_WrongNumberOfSubpatterns">
<source>Matching the tuple type '{0}' requires '{1}' subpatterns, but '{2}' subpatterns are present.</source>
<target state="translated">Přiřazení k řazené kolekci členů typu {0} vyžaduje dílčí vzory {1}, ale k dispozici jsou dílčí vzory {2}.</target>
<note />
</trans-unit>
<trans-unit id="FTL_InvalidInputFileName">
<source>File name '{0}' is empty, contains invalid characters, has a drive specification without an absolute path, or is too long</source>
<target state="translated">Název souboru {0} je prázdný, obsahuje neplatné znaky, má specifikaci jednotky bez absolutní cesty nebo je moc dlouhý.</target>
<note />
</trans-unit>
<trans-unit id="IDS_AddressOfMethodGroup">
<source>&method group</source>
<target state="translated">skupina &metod</target>
<note />
</trans-unit>
<trans-unit id="IDS_CSCHelp">
<source>
Visual C# Compiler Options
- OUTPUT FILES -
-out:<file> Specify output file name (default: base name of
file with main class or first file)
-target:exe Build a console executable (default) (Short
form: -t:exe)
-target:winexe Build a Windows executable (Short form:
-t:winexe)
-target:library Build a library (Short form: -t:library)
-target:module Build a module that can be added to another
assembly (Short form: -t:module)
-target:appcontainerexe Build an Appcontainer executable (Short form:
-t:appcontainerexe)
-target:winmdobj Build a Windows Runtime intermediate file that
is consumed by WinMDExp (Short form: -t:winmdobj)
-doc:<file> XML Documentation file to generate
-refout:<file> Reference assembly output to generate
-platform:<string> Limit which platforms this code can run on: x86,
Itanium, x64, arm, arm64, anycpu32bitpreferred, or
anycpu. The default is anycpu.
- INPUT FILES -
-recurse:<wildcard> Include all files in the current directory and
subdirectories according to the wildcard
specifications
-reference:<alias>=<file> Reference metadata from the specified assembly
file using the given alias (Short form: -r)
-reference:<file list> Reference metadata from the specified assembly
files (Short form: -r)
-addmodule:<file list> Link the specified modules into this assembly
-link:<file list> Embed metadata from the specified interop
assembly files (Short form: -l)
-analyzer:<file list> Run the analyzers from this assembly
(Short form: -a)
-additionalfile:<file list> Additional files that don't directly affect code
generation but may be used by analyzers for producing
errors or warnings.
-embed Embed all source files in the PDB.
-embed:<file list> Embed specific files in the PDB.
- RESOURCES -
-win32res:<file> Specify a Win32 resource file (.res)
-win32icon:<file> Use this icon for the output
-win32manifest:<file> Specify a Win32 manifest file (.xml)
-nowin32manifest Do not include the default Win32 manifest
-resource:<resinfo> Embed the specified resource (Short form: -res)
-linkresource:<resinfo> Link the specified resource to this assembly
(Short form: -linkres) Where the resinfo format
is <file>[,<string name>[,public|private]]
- CODE GENERATION -
-debug[+|-] Emit debugging information
-debug:{full|pdbonly|portable|embedded}
Specify debugging type ('full' is default,
'portable' is a cross-platform format,
'embedded' is a cross-platform format embedded into
the target .dll or .exe)
-optimize[+|-] Enable optimizations (Short form: -o)
-deterministic Produce a deterministic assembly
(including module version GUID and timestamp)
-refonly Produce a reference assembly in place of the main output
-instrument:TestCoverage Produce an assembly instrumented to collect
coverage information
-sourcelink:<file> Source link info to embed into PDB.
- ERRORS AND WARNINGS -
-warnaserror[+|-] Report all warnings as errors
-warnaserror[+|-]:<warn list> Report specific warnings as errors
(use "nullable" for all nullability warnings)
-warn:<n> Set warning level (0 or higher) (Short form: -w)
-nowarn:<warn list> Disable specific warning messages
(use "nullable" for all nullability warnings)
-ruleset:<file> Specify a ruleset file that disables specific
diagnostics.
-errorlog:<file>[,version=<sarif_version>]
Specify a file to log all compiler and analyzer
diagnostics.
sarif_version:{1|2|2.1} Default is 1. 2 and 2.1
both mean SARIF version 2.1.0.
-reportanalyzer Report additional analyzer information, such as
execution time.
-skipanalyzers[+|-] Skip execution of diagnostic analyzers.
- LANGUAGE -
-checked[+|-] Generate overflow checks
-unsafe[+|-] Allow 'unsafe' code
-define:<symbol list> Define conditional compilation symbol(s) (Short
form: -d)
-langversion:? Display the allowed values for language version
-langversion:<string> Specify language version such as
`latest` (latest version, including minor versions),
`default` (same as `latest`),
`latestmajor` (latest version, excluding minor versions),
`preview` (latest version, including features in unsupported preview),
or specific versions like `6` or `7.1`
-nullable[+|-] Specify nullable context option enable|disable.
-nullable:{enable|disable|warnings|annotations}
Specify nullable context option enable|disable|warnings|annotations.
- SECURITY -
-delaysign[+|-] Delay-sign the assembly using only the public
portion of the strong name key
-publicsign[+|-] Public-sign the assembly using only the public
portion of the strong name key
-keyfile:<file> Specify a strong name key file
-keycontainer:<string> Specify a strong name key container
-highentropyva[+|-] Enable high-entropy ASLR
- MISCELLANEOUS -
@<file> Read response file for more options
-help Display this usage message (Short form: -?)
-nologo Suppress compiler copyright message
-noconfig Do not auto include CSC.RSP file
-parallel[+|-] Concurrent build.
-version Display the compiler version number and exit.
- ADVANCED -
-baseaddress:<address> Base address for the library to be built
-checksumalgorithm:<alg> Specify algorithm for calculating source file
checksum stored in PDB. Supported values are:
SHA1 or SHA256 (default).
-codepage:<n> Specify the codepage to use when opening source
files
-utf8output Output compiler messages in UTF-8 encoding
-main:<type> Specify the type that contains the entry point
(ignore all other possible entry points) (Short
form: -m)
-fullpaths Compiler generates fully qualified paths
-filealign:<n> Specify the alignment used for output file
sections
-pathmap:<K1>=<V1>,<K2>=<V2>,...
Specify a mapping for source path names output by
the compiler.
-pdb:<file> Specify debug information file name (default:
output file name with .pdb extension)
-errorendlocation Output line and column of the end location of
each error
-preferreduilang Specify the preferred output language name.
-nosdkpath Disable searching the default SDK path for standard library assemblies.
-nostdlib[+|-] Do not reference standard library (mscorlib.dll)
-subsystemversion:<string> Specify subsystem version of this assembly
-lib:<file list> Specify additional directories to search in for
references
-errorreport:<string> Specify how to handle internal compiler errors:
prompt, send, queue, or none. The default is
queue.
-appconfig:<file> Specify an application configuration file
containing assembly binding settings
-moduleassemblyname:<string> Name of the assembly which this module will be
a part of
-modulename:<string> Specify the name of the source module
-generatedfilesout:<dir> Place files generated during compilation in the
specified directory.
</source>
<target state="translated">
Parametry kompilátoru Visual C#
- VÝSTUPNÍ SOUBORY -
-out:<file> Určuje název výstupního souboru (výchozí: základní název
souboru s hlavní třídou nebo prvního souboru)
-target:exe Vytvoří spustitelný soubor konzoly (výchozí). (Krátký
formát: -t:exe)
-target:winexe Vytvoří spustitelný soubor systému Windows. (Krátký formát:
-t:winexe)
-target:library Vytvoří knihovnu. (Krátký formát: -t:library)
-target:module Vytvoří modul, který se dá přidat do jiného
sestavení. (Krátký formát: -t:module)
-target:appcontainerexe Sestaví spustitelný soubor kontejneru Appcontainer. (Krátký formát:
-t:appcontainerexe)
-target:winmdobj Sestaví pomocný soubor modulu Windows Runtime, který
využívá knihovna WinMDExp. (Krátký formát: -t:winmdobj)
-doc:<file> Soubor dokumentace XML, který má být vygenerován
-refout:<file> Výstup referenčního sestavení, který má být vygenerován
-platform:<string> Omezuje platformy, na kterých lze tento kód spustit: x86,
Itanium, x64, arm, arm64, anycpu32bitpreferred nebo
anycpu. Výchozí nastavení je anycpu.
- VSTUPNÍ SOUBORY -
-recurse:<wildcard> Zahrne všechny soubory v aktuálním adresáři
a jeho podadresářích podle zadaného
zástupného znaku.
-reference:<alias>=<file> Odkazuje na metadata ze zadaného souboru sestavení
pomocí daného aliasu. (Krátký formát: -r)
-reference:<file list> Odkazuje na metadata ze zadaných souborů
sestavení (Krátký formát: -r)
-addmodule:<file list> Připojí zadané moduly k tomuto sestavení.
-link:<file list> Vloží metadata ze zadaných souborů
sestavení spolupráce (Krátký formát: -l)
-analyzer:<file list> Spustí analyzátory z tohoto sestavení.
(Krátký formát: -a)
-additionalfile:<file list> Další soubory, které přímo neovlivňují generování
kódu, ale analyzátory můžou jejich pomocí
produkovat chyby nebo upozornění.
-embed Vloží všechny zdrojové soubory do PDB.
-embed:<file list> Vloží konkrétní soubory do PDB.
- PROSTŘEDKY -
-win32res:<file> Určuje soubor prostředků Win32 (.res).
-win32icon:<file> Použije pro výstup zadanou ikonu.
-win32manifest:<file> Určuje soubor manifestu Win32 (.xml).
-nowin32manifest Nezahrne výchozí manifest Win32.
-resource:<resinfo> Vloží zadaný prostředek. (Krátký formát: -res)
-linkresource:<resinfo> Propojí zadaný prostředek s tímto sestavením.
(Krátký formát: -linkres) Prostředek má formát
is <file>[,<string name>[,public|private]].
- GENEROVÁNÍ KÓDU -
-debug[+|-] Generuje ladicí informace.
-debug:{full|pdbonly|portable|embedded}
Určuje typ ladění (výchozí je možnost full,
portable je formát napříč platformami,
embedded je formát napříč platformami vložený do
cílového souboru .dll nebo .exe).
-optimize[+|-] Povolí optimalizace. (Krátký formát: -o)
-deterministic Vytvoří deterministické sestavení
(včetně GUID verze modulu a časového razítka).
-refonly Vytvoří referenční sestavení na místě hlavního výstupu.
-instrument:TestCoverage Vytvoří sestavení instrumentované ke shromažďování
informací o pokrytí.
-sourcelink:<file> Informace o zdrojovém odkazu vkládané do souboru PDB..
- CHYBY A UPOZORNĚNÍ -
-warnaserror[+|-] Hlásí všechna upozornění jako chyby.
-warnaserror[+|-]:<warn list> Hlásí zadaná upozornění jako chyby.
(Pro všechna upozornění na možnost použití hodnoty null použijte nullable.)
-warn:<n> Nastaví úroveň pro upozornění (0 a více). (Krátký formát: -w)
-nowarn:<warn list> Zakáže zadaná upozornění.
(Pro všechna upozornění na možnost použití hodnoty null použijte nullable.)
-ruleset:<file> Určuje soubor sady pravidel, která zakazuje
specifickou diagnostiku.
-errorlog:<file>[,version=<sarif_version>]
Určuje soubor pro protokolování veškeré
diagnostiky kompilátoru a analyzátoru.
verze_sarif:{1|2|2.1} Výchozí jsou 1. 2 a 2.1.
Obojí znamená SARIF verze 2.1.0.
-reportanalyzer Hlásí další informace analyzátoru, např.
dobu spuštění.
-skipanalyzers[+|-] Přeskočí spouštění diagnostických analyzátorů.
- JAZYK -
-checked[+|-] Generuje kontroly přetečení.
-unsafe[+|-] Povoluje nezabezpečený kód.
-define:<symbol list> Definuje symboly podmíněné kompilace. (Krátký
formát: -d)
-langversion:? Zobrazuje povolené hodnoty pro verzi jazyka.
-langversion:<string> Určuje verzi jazyka, například:
latest (poslední verze včetně podverzí),
default (stejné jako latest),
latestmajor (poslední verze bez podverzí),
preview (poslední verze včetně funkcí v nepodporované verzi preview)
nebo konkrétní verze, například 6 nebo 7.1.
-nullable[+|-] Určuje pro kontext s hodnotou null možnosti enable|disable.
-nullable:{enable|disable|warnings|annotations}
Určuje pro kontext s hodnotou null možnosti enable|disable|warnings|annotations.
- ZABEZPEČENÍ -
-delaysign[+|-] Vytvoří zpožděný podpis sestavení s využitím
jenom veřejné části klíče silného názvu.
-publicsign[+|-] Vytvoří veřejný podpis sestavení s využitím jenom veřejné
části klíče silného názvu.
-keyfile:<file> Určuje soubor klíče se silným názvem.
-keycontainer:<string> Určuje kontejner klíče se silným názvem.
-highentropyva[+|-] Povolí ASLR s vysokou entropií.
- RŮZNÉ -
@<file> Načte další možnosti ze souboru odpovědí.
-help Zobrazí tuto zprávu o použití. (Krátký formát: -?)
-nologo Potlačí zprávu o autorských právech kompilátoru.
-noconfig Nezahrnuje automaticky soubor CSC.RSP.
-parallel[+|-] Souběžné sestavení.
-version Zobrazí číslo verze kompilátoru a ukončí se.
- POKROČILÉ -
-baseaddress:<address> Základní adresa pro knihovnu, která se má sestavit.
-checksumalgorithm:<alg> Určuje algoritmus pro výpočet kontrolního součtu
zdrojového souboru uloženého v PDB. Podporované hodnoty:
SHA1 nebo SHA256 (výchozí).
-codepage:<n> Určuje znakovou stránku, která se má použít
při otevírání zdrojových souborů.
-utf8output Určuje výstup zpráv kompilátoru v kódování UTF-8.
-main:<typ> Určuje typ obsahující vstupní bod
(ignoruje všechny ostatní potenciální vstupní body). (Krátký
formát: -m)
-fullpaths Kompilátor generuje úplné cesty.
-filealign:<n> Určuje zarovnání použité pro oddíly výstupního
souboru.
-pathmap:<K1>=<V1>,<K2>=<V2>,...
Určuje mapování pro výstup zdrojových názvů cest
kompilátorem.
-pdb:<file> Určuje název souboru ladicích informací (výchozí:
název výstupního souboru s příponou .pdb).
-errorendlocation Vypíše řádek a sloupec koncového umístění
jednotlivých chyb.
-preferreduilang Určuje název upřednostňovaného výstupního jazyka.
-nosdkpath Zakazuje hledání cesty k výchozí sadě SDK pro sestavení standardních knihoven.
-nostdlib[+|-] Neodkazuje na standardní knihovnu (mscorlib.dll).
-subsystemversion:<string> Určuje verzi subsystému tohoto sestavení.
-lib:<file list> Určuje další adresáře, ve kterých se mají
hledat reference.
-errorreport:<řetězec> Určuje způsob zpracování interních chyb kompilátoru:
prompt, send, queue nebo none. Výchozí možnost je
queue (zařadit do fronty).
-appconfig:<file> Určuje konfigurační soubor aplikace,
který obsahuje nastavení vazby sestavení.
-moduleassemblyname:<string> Určuje název sestavení, jehož součástí bude
tento modul.
-modulename:<string> Určuje název zdrojového modulu.
-generatedfilesout:<dir> Umístí soubory vygenerované během kompilace
do zadaného adresáře.
</target>
<note>Visual C# Compiler Options</note>
</trans-unit>
<trans-unit id="IDS_DefaultInterfaceImplementation">
<source>default interface implementation</source>
<target state="translated">implementace výchozího rozhraní</target>
<note />
</trans-unit>
<trans-unit id="IDS_Disposable">
<source>disposable</source>
<target state="translated">jednoúčelové</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureAltInterpolatedVerbatimStrings">
<source>alternative interpolated verbatim strings</source>
<target state="translated">alternativní interpolované doslovné řetězce</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureAndPattern">
<source>and pattern</source>
<target state="translated">vzor and</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureAsyncUsing">
<source>asynchronous using</source>
<target state="translated">asynchronní příkaz using</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureCoalesceAssignmentExpression">
<source>coalescing assignment</source>
<target state="translated">slučovací přiřazení</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureConstantInterpolatedStrings">
<source>constant interpolated strings</source>
<target state="translated">konstantní interpolované řetězce</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureDefaultTypeParameterConstraint">
<source>default type parameter constraints</source>
<target state="translated">výchozí omezení parametru typu</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureDelegateGenericTypeConstraint">
<source>delegate generic type constraints</source>
<target state="translated">delegovat obecná omezení typu</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureEnumGenericTypeConstraint">
<source>enum generic type constraints</source>
<target state="translated">výčet obecných omezení typu</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureExpressionVariablesInQueriesAndInitializers">
<source>declaration of expression variables in member initializers and queries</source>
<target state="translated">deklarace proměnných výrazu v inicializátorech členů a dotazech</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureExtendedPartialMethods">
<source>extended partial methods</source>
<target state="translated">rozšířené částečné metody</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureExtensibleFixedStatement">
<source>extensible fixed statement</source>
<target state="translated">rozšiřitelný příkaz fixed</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureExtensionGetAsyncEnumerator">
<source>extension GetAsyncEnumerator</source>
<target state="translated">rozšíření GetAsyncEnumerator</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureExtensionGetEnumerator">
<source>extension GetEnumerator</source>
<target state="translated">rozšíření GetEnumerator</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureExternLocalFunctions">
<source>extern local functions</source>
<target state="translated">externí místní funkce</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureFunctionPointers">
<source>function pointers</source>
<target state="translated">ukazatele na funkci</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureIndexOperator">
<source>index operator</source>
<target state="translated">operátor indexu</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureIndexingMovableFixedBuffers">
<source>indexing movable fixed buffers</source>
<target state="translated">indexování mobilních vyrovnávacích pamětí pevné velikosti</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureInitOnlySetters">
<source>init-only setters</source>
<target state="translated">metody setter jenom pro inicializaci</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureLocalFunctionAttributes">
<source>local function attributes</source>
<target state="translated">atributy místních funkcí</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureLambdaDiscardParameters">
<source>lambda discard parameters</source>
<target state="translated">lambda – zahodit parametry</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureMemberNotNull">
<source>MemberNotNull attribute</source>
<target state="translated">Atribut MemberNotNull</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureModuleInitializers">
<source>module initializers</source>
<target state="translated">inicializátory modulů</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureNameShadowingInNestedFunctions">
<source>name shadowing in nested functions</source>
<target state="translated">skrývání názvů ve vnořených funkcích</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureNativeInt">
<source>native-sized integers</source>
<target state="translated">Celá čísla s nativní velikostí</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureNestedStackalloc">
<source>stackalloc in nested expressions</source>
<target state="translated">stackalloc ve vnořených výrazech</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureNotNullGenericTypeConstraint">
<source>notnull generic type constraint</source>
<target state="translated">omezení obecného typu notnull</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureNotPattern">
<source>not pattern</source>
<target state="translated">vzor not</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureNullPointerConstantPattern">
<source>null pointer constant pattern</source>
<target state="translated">konstantní vzor nulového ukazatele</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureNullableReferenceTypes">
<source>nullable reference types</source>
<target state="translated">typy odkazů s možnou hodnotou null</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureObsoleteOnPropertyAccessor">
<source>obsolete on property accessor</source>
<target state="translated">zastaralé u přístupového objektu vlastnosti</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureOrPattern">
<source>or pattern</source>
<target state="translated">vzor or</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureParenthesizedPattern">
<source>parenthesized pattern</source>
<target state="translated">vzor se závorkami</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeaturePragmaWarningEnable">
<source>warning action enable</source>
<target state="translated">akce upozornění enable</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureRangeOperator">
<source>range operator</source>
<target state="translated">operátor rozsahu</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureReadOnlyMembers">
<source>readonly members</source>
<target state="translated">členové s modifikátorem readonly</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureRecords">
<source>records</source>
<target state="translated">záznamy</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureRecursivePatterns">
<source>recursive patterns</source>
<target state="translated">rekurzivní vzory</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureRefConditional">
<source>ref conditional expression</source>
<target state="translated">referenční podmínka</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureRefFor">
<source>ref for-loop variables</source>
<target state="translated">Proměnné smyčky for odkazu</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureRefForEach">
<source>ref foreach iteration variables</source>
<target state="translated">Iterační proměnné foreach odkazu</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureRefReassignment">
<source>ref reassignment</source>
<target state="translated">Opětovné přiřazení odkazu</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureRelationalPattern">
<source>relational pattern</source>
<target state="translated">relační vzor</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureStackAllocInitializer">
<source>stackalloc initializer</source>
<target state="translated">inicializátor výrazu stackalloc</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureStaticAnonymousFunction">
<source>static anonymous function</source>
<target state="translated">statická anonymní funkce</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureStaticLocalFunctions">
<source>static local functions</source>
<target state="translated">statické místní funkce</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureSwitchExpression">
<source><switch expression></source>
<target state="translated"><výraz přepínače></target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureTargetTypedConditional">
<source>target-typed conditional expression</source>
<target state="translated">podmíněný výraz s typem cíle</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureTupleEquality">
<source>tuple equality</source>
<target state="translated">rovnost řazené kolekce členů</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureTypePattern">
<source>type pattern</source>
<target state="translated">vzor typu</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureUnconstrainedTypeParameterInNullCoalescingOperator">
<source>unconstrained type parameters in null coalescing operator</source>
<target state="translated">parametry neomezeného typu v operátoru sloučení s hodnotou null</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureUnmanagedConstructedTypes">
<source>unmanaged constructed types</source>
<target state="translated">nespravované konstruované typy</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureUnmanagedGenericTypeConstraint">
<source>unmanaged generic type constraints</source>
<target state="translated">nespravovaná obecná omezení typu</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureUsingDeclarations">
<source>using declarations</source>
<target state="translated">deklarace using</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureVarianceSafetyForStaticInterfaceMembers">
<source>variance safety for static interface members</source>
<target state="translated">zabezpečení odchylky pro statické členy rozhraní</target>
<note />
</trans-unit>
<trans-unit id="IDS_NULL">
<source><null></source>
<target state="translated"><null></target>
<note />
</trans-unit>
<trans-unit id="IDS_OverrideWithConstraints">
<source>constraints for override and explicit interface implementation methods</source>
<target state="translated">omezení pro metody přepsání a explicitní implementace rozhraní</target>
<note />
</trans-unit>
<trans-unit id="IDS_Parameter">
<source>parameter</source>
<target state="translated">parametr</target>
<note />
</trans-unit>
<trans-unit id="IDS_Return">
<source>return</source>
<target state="translated">návratový</target>
<note />
</trans-unit>
<trans-unit id="IDS_ThrowExpression">
<source><throw expression></source>
<target state="translated"><výraz throw></target>
<note />
</trans-unit>
<trans-unit id="IDS_RELATEDERROR">
<source>(Location of symbol related to previous error)</source>
<target state="translated">(Umístění symbolu vzhledem k předchozí chybě)</target>
<note />
</trans-unit>
<trans-unit id="IDS_RELATEDWARNING">
<source>(Location of symbol related to previous warning)</source>
<target state="translated">(Umístění symbolu vzhledem k předchozímu upozornění)</target>
<note />
</trans-unit>
<trans-unit id="IDS_TopLevelStatements">
<source>top-level statements</source>
<target state="translated">příkazy nejvyšší úrovně</target>
<note />
</trans-unit>
<trans-unit id="IDS_XMLIGNORED">
<source><!-- Badly formed XML comment ignored for member "{0}" --></source>
<target state="translated"><!-- Badly formed XML comment ignored for member "{0}" --></target>
<note />
</trans-unit>
<trans-unit id="IDS_XMLIGNORED2">
<source> Badly formed XML file "{0}" cannot be included </source>
<target state="translated"> Chybně vytvořený soubor XML {0} nejde zahrnout. </target>
<note />
</trans-unit>
<trans-unit id="IDS_XMLFAILEDINCLUDE">
<source> Failed to insert some or all of included XML </source>
<target state="translated"> Vložení části nebo veškerého zahrnutého kódu XML se nezdařilo. </target>
<note />
</trans-unit>
<trans-unit id="IDS_XMLBADINCLUDE">
<source> Include tag is invalid </source>
<target state="translated"> Značka Include je neplatná. </target>
<note />
</trans-unit>
<trans-unit id="IDS_XMLNOINCLUDE">
<source> No matching elements were found for the following include tag </source>
<target state="translated"> Pro následující značku include se nenašly žádné vyhovující prvky. </target>
<note />
</trans-unit>
<trans-unit id="IDS_XMLMISSINGINCLUDEFILE">
<source>Missing file attribute</source>
<target state="translated">Atribut souboru se nenašel.</target>
<note />
</trans-unit>
<trans-unit id="IDS_XMLMISSINGINCLUDEPATH">
<source>Missing path attribute</source>
<target state="translated">Atribut cesty se nenašel.</target>
<note />
</trans-unit>
<trans-unit id="IDS_GlobalNamespace">
<source><global namespace></source>
<target state="translated"><globální obor názvů></target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureGenerics">
<source>generics</source>
<target state="translated">obecné</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureAnonDelegates">
<source>anonymous methods</source>
<target state="translated">anonymní metody</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureModuleAttrLoc">
<source>module as an attribute target specifier</source>
<target state="translated">modul jako cílový specifikátor atributů</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureGlobalNamespace">
<source>namespace alias qualifier</source>
<target state="translated">kvalifikátor aliasu oboru názvů</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureFixedBuffer">
<source>fixed size buffers</source>
<target state="translated">vyrovnávací paměti pevné velikosti</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeaturePragma">
<source>#pragma</source>
<target state="translated">#pragma</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureStaticClasses">
<source>static classes</source>
<target state="translated">statické třídy</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureReadOnlyStructs">
<source>readonly structs</source>
<target state="translated">struktury jen pro čtení</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeaturePartialTypes">
<source>partial types</source>
<target state="translated">částečné typy</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureAsync">
<source>async function</source>
<target state="translated">asynchronní funkce</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureSwitchOnBool">
<source>switch on boolean type</source>
<target state="translated">přepínač založený na typu boolean</target>
<note />
</trans-unit>
<trans-unit id="IDS_MethodGroup">
<source>method group</source>
<target state="translated">skupina metod</target>
<note />
</trans-unit>
<trans-unit id="IDS_AnonMethod">
<source>anonymous method</source>
<target state="translated">anonymní metoda</target>
<note />
</trans-unit>
<trans-unit id="IDS_Lambda">
<source>lambda expression</source>
<target state="translated">výraz lambda</target>
<note />
</trans-unit>
<trans-unit id="IDS_Collection">
<source>collection</source>
<target state="translated">kolekce</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeaturePropertyAccessorMods">
<source>access modifiers on properties</source>
<target state="translated">modifikátory přístupu pro vlastnosti</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureExternAlias">
<source>extern alias</source>
<target state="translated">externí alias</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureIterators">
<source>iterators</source>
<target state="translated">iterátory</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureDefault">
<source>default operator</source>
<target state="translated">výchozí operátor</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureDefaultLiteral">
<source>default literal</source>
<target state="translated">výchozí literál</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeaturePrivateProtected">
<source>private protected</source>
<target state="translated">private protected</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureNullable">
<source>nullable types</source>
<target state="translated">typy s povolenou hodnotou null</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeaturePatternMatching">
<source>pattern matching</source>
<target state="translated">porovnávání vzorů</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureExpressionBodiedAccessor">
<source>expression body property accessor</source>
<target state="translated">přístupový objekt vlastnosti textu výrazu</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureExpressionBodiedDeOrConstructor">
<source>expression body constructor and destructor</source>
<target state="translated">konstruktor a destruktor textu výrazu</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureThrowExpression">
<source>throw expression</source>
<target state="translated">výraz throw</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureImplicitArray">
<source>implicitly typed array</source>
<target state="translated">implicitně typované pole</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureImplicitLocal">
<source>implicitly typed local variable</source>
<target state="translated">implicitně typovaná lokální proměnná</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureAnonymousTypes">
<source>anonymous types</source>
<target state="translated">anonymní typy</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureAutoImplementedProperties">
<source>automatically implemented properties</source>
<target state="translated">automaticky implementované vlastnosti</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureReadonlyAutoImplementedProperties">
<source>readonly automatically implemented properties</source>
<target state="translated">automaticky implementované vlastnosti jen pro čtení</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureObjectInitializer">
<source>object initializer</source>
<target state="translated">inicializátor objektu</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureCollectionInitializer">
<source>collection initializer</source>
<target state="translated">inicializátor kolekce</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureQueryExpression">
<source>query expression</source>
<target state="translated">výraz dotazu</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureExtensionMethod">
<source>extension method</source>
<target state="translated">metoda rozšíření</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeaturePartialMethod">
<source>partial method</source>
<target state="translated">částečná metoda</target>
<note />
</trans-unit>
<trans-unit id="IDS_SK_METHOD">
<source>method</source>
<target state="translated">metoda</target>
<note />
</trans-unit>
<trans-unit id="IDS_SK_TYPE">
<source>type</source>
<target state="translated">typ</target>
<note />
</trans-unit>
<trans-unit id="IDS_SK_NAMESPACE">
<source>namespace</source>
<target state="translated">obor názvů</target>
<note />
</trans-unit>
<trans-unit id="IDS_SK_FIELD">
<source>field</source>
<target state="translated">pole</target>
<note />
</trans-unit>
<trans-unit id="IDS_SK_PROPERTY">
<source>property</source>
<target state="translated">vlastnost</target>
<note />
</trans-unit>
<trans-unit id="IDS_SK_UNKNOWN">
<source>element</source>
<target state="translated">element</target>
<note />
</trans-unit>
<trans-unit id="IDS_SK_VARIABLE">
<source>variable</source>
<target state="translated">proměnná</target>
<note />
</trans-unit>
<trans-unit id="IDS_SK_LABEL">
<source>label</source>
<target state="translated">popisek</target>
<note />
</trans-unit>
<trans-unit id="IDS_SK_EVENT">
<source>event</source>
<target state="translated">událost</target>
<note />
</trans-unit>
<trans-unit id="IDS_SK_TYVAR">
<source>type parameter</source>
<target state="translated">parametr typu</target>
<note />
</trans-unit>
<trans-unit id="IDS_SK_ALIAS">
<source>using alias</source>
<target state="translated">alias using</target>
<note />
</trans-unit>
<trans-unit id="IDS_SK_EXTERNALIAS">
<source>extern alias</source>
<target state="translated">externí alias</target>
<note />
</trans-unit>
<trans-unit id="IDS_SK_CONSTRUCTOR">
<source>constructor</source>
<target state="translated">konstruktor</target>
<note />
</trans-unit>
<trans-unit id="IDS_FOREACHLOCAL">
<source>foreach iteration variable</source>
<target state="translated">iterační proměnná foreach</target>
<note />
</trans-unit>
<trans-unit id="IDS_FIXEDLOCAL">
<source>fixed variable</source>
<target state="translated">pevná proměnná</target>
<note />
</trans-unit>
<trans-unit id="IDS_USINGLOCAL">
<source>using variable</source>
<target state="translated">proměnná using</target>
<note />
</trans-unit>
<trans-unit id="IDS_Contravariant">
<source>contravariant</source>
<target state="translated">kontravariant</target>
<note />
</trans-unit>
<trans-unit id="IDS_Contravariantly">
<source>contravariantly</source>
<target state="translated">kontravariantně</target>
<note />
</trans-unit>
<trans-unit id="IDS_Covariant">
<source>covariant</source>
<target state="translated">kovariant</target>
<note />
</trans-unit>
<trans-unit id="IDS_Covariantly">
<source>covariantly</source>
<target state="translated">kovariantně</target>
<note />
</trans-unit>
<trans-unit id="IDS_Invariantly">
<source>invariantly</source>
<target state="translated">invariantně</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureDynamic">
<source>dynamic</source>
<target state="translated">dynamický</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureNamedArgument">
<source>named argument</source>
<target state="translated">pojmenovaný argument</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureOptionalParameter">
<source>optional parameter</source>
<target state="translated">volitelný parametr</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureExceptionFilter">
<source>exception filter</source>
<target state="translated">filtr výjimky</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureTypeVariance">
<source>type variance</source>
<target state="translated">odchylka typu</target>
<note />
</trans-unit>
<trans-unit id="NotSameNumberParameterTypesAndRefKinds">
<source>Given {0} parameter types and {1} parameter ref kinds. These arrays must have the same length.</source>
<target state="translated">Předal se určitý počet parametrů ({0}) a jiný počet druhů odkazů na parametry ({1}). Tato pole musí být stejně velká.</target>
<note />
</trans-unit>
<trans-unit id="OutIsNotValidForReturn">
<source>'RefKind.Out' is not a valid ref kind for a return type.</source>
<target state="translated">RefKind.Out není platný druh odkazu pro návratový typ.</target>
<note />
</trans-unit>
<trans-unit id="SyntaxTreeNotFound">
<source>SyntaxTree is not part of the compilation</source>
<target state="translated">SyntaxTree není součástí kompilace.</target>
<note />
</trans-unit>
<trans-unit id="SyntaxTreeNotFoundToRemove">
<source>SyntaxTree is not part of the compilation, so it cannot be removed</source>
<target state="translated">SyntaxTree není součástí kompilace, takže se nedá odebrat.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CaseConstantNamedUnderscore">
<source>The name '_' refers to the constant, not the discard pattern. Use 'var _' to discard the value, or '@_' to refer to a constant by that name.</source>
<target state="translated">Název „_“ odkazuje na konstantu, ne na vzor discard. Zadáním „var _“ hodnotu zahodíte a zadáním „@_“ nastavíte pod tímto názvem odkaz na konstantu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CaseConstantNamedUnderscore_Title">
<source>Do not use '_' for a case constant.</source>
<target state="translated">Nepoužívejte „_“ jako konstantu case.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ConstOutOfRangeChecked">
<source>Constant value '{0}' may overflow '{1}' at runtime (use 'unchecked' syntax to override)</source>
<target state="translated">Konstantní hodnota {0} může při běhu přetéct {1} (pro přepis použijte syntaxi unchecked).</target>
<note />
</trans-unit>
<trans-unit id="WRN_ConstOutOfRangeChecked_Title">
<source>Constant value may overflow at runtime (use 'unchecked' syntax to override)</source>
<target state="translated">Konstantní hodnota může při běhu přetéct (pro přepis použijte syntaxi unchecked)</target>
<note />
</trans-unit>
<trans-unit id="WRN_ConvertingNullableToNonNullable">
<source>Converting null literal or possible null value to non-nullable type.</source>
<target state="translated">Literál s hodnotou null nebo s možnou hodnotou null se převádí na typ, který nemůže mít hodnotu null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ConvertingNullableToNonNullable_Title">
<source>Converting null literal or possible null value to non-nullable type.</source>
<target state="translated">Literál s hodnotou null nebo s možnou hodnotou null se převádí na typ, který nemůže mít hodnotu null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DisallowNullAttributeForbidsMaybeNullAssignment">
<source>A possible null value may not be used for a type marked with [NotNull] or [DisallowNull]</source>
<target state="translated">Možnou hodnotu null není možné použít pro typ označený jako [NotNull] nebo [DisallowNull].</target>
<note />
</trans-unit>
<trans-unit id="WRN_DisallowNullAttributeForbidsMaybeNullAssignment_Title">
<source>A possible null value may not be used for a type marked with [NotNull] or [DisallowNull]</source>
<target state="translated">Možnou hodnotu null není možné použít pro typ označený jako [NotNull] nebo [DisallowNull].</target>
<note />
</trans-unit>
<trans-unit id="WRN_DoesNotReturnMismatch">
<source>Method '{0}' lacks `[DoesNotReturn]` annotation to match implemented or overridden member.</source>
<target state="translated">Metodě {0} chybí poznámka [DoesNotReturn], která by odpovídala implementovanému nebo přepsanému členu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DoesNotReturnMismatch_Title">
<source>Method lacks `[DoesNotReturn]` annotation to match implemented or overridden member.</source>
<target state="translated">Metodě chybí poznámka [DoesNotReturn], která by odpovídala implementovanému nebo přepsanému členu</target>
<note />
</trans-unit>
<trans-unit id="WRN_DuplicateInterfaceWithNullabilityMismatchInBaseList">
<source>'{0}' is already listed in the interface list on type '{1}' with different nullability of reference types.</source>
<target state="translated">Položka {0} je už uvedená v seznamu rozhraní u typu {1} s různou možností použití hodnoty null u typů odkazů.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DuplicateInterfaceWithNullabilityMismatchInBaseList_Title">
<source>Interface is already listed in the interface list with different nullability of reference types.</source>
<target state="translated">Rozhraní je už uvedené v seznamu rozhraní s různou možností použití hodnoty null u typů odkazů.</target>
<note />
</trans-unit>
<trans-unit id="WRN_GeneratorFailedDuringGeneration">
<source>Generator '{0}' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. Exception was of type '{1}' with message '{2}'</source>
<target state="translated">Generátor {0} nemohl vygenerovat zdroj. V důsledku toho může docházet k chybám kompilace a generátor nebude přispívat na výstup. Výjimka měla typ {1} se zprávou {2}.</target>
<note>{0} is the name of the generator that failed. {1} is the type of exception that was thrown {2} is the message in the exception</note>
</trans-unit>
<trans-unit id="WRN_GeneratorFailedDuringGeneration_Description">
<source>Generator threw the following exception:
'{0}'.</source>
<target state="translated">Generátor vyvolal následující výjimku:
{0}.</target>
<note>{0} is the string representation of the exception that was thrown.</note>
</trans-unit>
<trans-unit id="WRN_GeneratorFailedDuringGeneration_Title">
<source>Generator failed to generate source.</source>
<target state="translated">Generátoru se nepovedlo vygenerovat zdroj</target>
<note />
</trans-unit>
<trans-unit id="WRN_GeneratorFailedDuringInitialization">
<source>Generator '{0}' failed to initialize. It will not contribute to the output and compilation errors may occur as a result. Exception was of type '{1}' with message '{2}'</source>
<target state="translated">Generátor {0} se nepovedlo inicializovat. V důsledku toho může docházet k chybám kompilace a generátor nebude přispívat na výstup. Výjimka měla typ {1} se zprávou {2}.</target>
<note>{0} is the name of the generator that failed. {1} is the type of exception that was thrown {2} is the message in the exception</note>
</trans-unit>
<trans-unit id="WRN_GeneratorFailedDuringInitialization_Description">
<source>Generator threw the following exception:
'{0}'.</source>
<target state="translated">Generátor vyvolal následující výjimku:
{0}.</target>
<note>{0} is the string representation of the exception that was thrown.</note>
</trans-unit>
<trans-unit id="WRN_GeneratorFailedDuringInitialization_Title">
<source>Generator failed to initialize.</source>
<target state="translated">Generátor se nepovedlo inicializovat</target>
<note />
</trans-unit>
<trans-unit id="WRN_GivenExpressionAlwaysMatchesConstant">
<source>The given expression always matches the provided constant.</source>
<target state="translated">Daný výraz vždy odpovídá zadané konstantě.</target>
<note />
</trans-unit>
<trans-unit id="WRN_GivenExpressionAlwaysMatchesConstant_Title">
<source>The given expression always matches the provided constant.</source>
<target state="translated">Daný výraz vždy odpovídá zadané konstantě.</target>
<note />
</trans-unit>
<trans-unit id="WRN_GivenExpressionAlwaysMatchesPattern">
<source>The given expression always matches the provided pattern.</source>
<target state="translated">Daný výraz vždy odpovídá zadanému vzoru.</target>
<note />
</trans-unit>
<trans-unit id="WRN_GivenExpressionAlwaysMatchesPattern_Title">
<source>The given expression always matches the provided pattern.</source>
<target state="translated">Daný výraz vždy odpovídá zadanému vzoru.</target>
<note />
</trans-unit>
<trans-unit id="WRN_GivenExpressionNeverMatchesPattern">
<source>The given expression never matches the provided pattern.</source>
<target state="translated">Daný výraz nikdy neodpovídá zadané konstantě.</target>
<note />
</trans-unit>
<trans-unit id="WRN_GivenExpressionNeverMatchesPattern_Title">
<source>The given expression never matches the provided pattern.</source>
<target state="translated">Daný výraz nikdy neodpovídá zadané konstantě.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ImplicitCopyInReadOnlyMember">
<source>Call to non-readonly member '{0}' from a 'readonly' member results in an implicit copy of '{1}'.</source>
<target state="translated">Volání člena {0}, který nemá modifikátor readonly, ze člena s modifikátorem readonly má za následek implicitní kopii {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ImplicitCopyInReadOnlyMember_Title">
<source>Call to non-readonly member from a 'readonly' member results in an implicit copy.</source>
<target state="translated">Volání člena, který nemá modifikátor readonly, ze člena s modifikátorem readonly má za následek implicitní kopii.</target>
<note />
</trans-unit>
<trans-unit id="WRN_IsPatternAlways">
<source>An expression of type '{0}' always matches the provided pattern.</source>
<target state="translated">Výraz typu {0} vždy odpovídá poskytnutému vzoru.</target>
<note />
</trans-unit>
<trans-unit id="WRN_IsPatternAlways_Title">
<source>The input always matches the provided pattern.</source>
<target state="translated">Vstup vždy odpovídá zadanému vzoru</target>
<note />
</trans-unit>
<trans-unit id="WRN_IsTypeNamedUnderscore">
<source>The name '_' refers to the type '{0}', not the discard pattern. Use '@_' for the type, or 'var _' to discard.</source>
<target state="translated">Název „_“ odkazuje na typ {0}, ne vzor discard. Použijte „@_“ pro tento typ nebo „var _“ pro zahození.</target>
<note />
</trans-unit>
<trans-unit id="WRN_IsTypeNamedUnderscore_Title">
<source>Do not use '_' to refer to the type in an is-type expression.</source>
<target state="translated">Nepoužívejte „_“ jako odkaz na typ ve výrazu is-type.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MemberNotNull">
<source>Member '{0}' must have a non-null value when exiting.</source>
<target state="translated">Člen {0} musí mít při ukončení hodnotu jinou než null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MemberNotNullBadMember">
<source>Member '{0}' cannot be used in this attribute.</source>
<target state="translated">Člen {0} se v tomto atributu nedá použít.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MemberNotNullBadMember_Title">
<source>Member cannot be used in this attribute.</source>
<target state="translated">Člen se v tomto atributu nedá použít.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MemberNotNullWhen">
<source>Member '{0}' must have a non-null value when exiting with '{1}'.</source>
<target state="translated">Člen {0} musí mít při ukončení s návratovou hodnotou {1} hodnotu jinou než null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MemberNotNullWhen_Title">
<source>Member must have a non-null value when exiting in some condition.</source>
<target state="translated">Člen musí mít při ukončení za určité podmínky hodnotu jinou než null</target>
<note />
</trans-unit>
<trans-unit id="WRN_MemberNotNull_Title">
<source>Member must have a non-null value when exiting.</source>
<target state="translated">Člen musí mít při ukončení hodnotu jinou než null</target>
<note />
</trans-unit>
<trans-unit id="WRN_MissingNonNullTypesContextForAnnotation">
<source>The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.</source>
<target state="translated">Poznámka u typů odkazů s možnou hodnotou null by se měla v kódu používat jenom v kontextu poznámek #nullable.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MissingNonNullTypesContextForAnnotationInGeneratedCode">
<source>The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. Auto-generated code requires an explicit '#nullable' directive in source.</source>
<target state="translated">Poznámka pro typy odkazů s možnou hodnotou null by se měla používat jenom v kódu v rámci kontextu poznámek #nullable. Automaticky vygenerovaný kód vyžaduje explicitní direktivu #nullable ve zdroji.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MissingNonNullTypesContextForAnnotationInGeneratedCode_Title">
<source>The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. Auto-generated code requires an explicit '#nullable' directive in source.</source>
<target state="translated">Poznámka pro typy odkazů s možnou hodnotou null by se měla používat jenom v kódu v rámci kontextu poznámek #nullable. Automaticky vygenerovaný kód vyžaduje explicitní direktivu #nullable ve zdroji.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MissingNonNullTypesContextForAnnotation_Title">
<source>The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.</source>
<target state="translated">Poznámka u typů odkazů s možnou hodnotou null by se měla v kódu používat jenom v kontextu poznámek #nullable.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullAsNonNullable">
<source>Cannot convert null literal to non-nullable reference type.</source>
<target state="translated">Literál null nejde převést na odkazový typ, který nemůže mít hodnotu null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullAsNonNullable_Title">
<source>Cannot convert null literal to non-nullable reference type.</source>
<target state="translated">Literál null nejde převést na odkazový typ, který nemůže mít hodnotu null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullReferenceArgument">
<source>Possible null reference argument for parameter '{0}' in '{1}'.</source>
<target state="translated">V parametru {0} v {1} může být argument s odkazem null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullReferenceArgument_Title">
<source>Possible null reference argument.</source>
<target state="translated">Může jít o argument s odkazem null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullReferenceAssignment">
<source>Possible null reference assignment.</source>
<target state="translated">Může jít o přiřazení s odkazem null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullReferenceAssignment_Title">
<source>Possible null reference assignment.</source>
<target state="translated">Může jít o přiřazení s odkazem null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullReferenceInitializer">
<source>Object or collection initializer implicitly dereferences possibly null member '{0}'.</source>
<target state="translated">Inicializátor objektu nebo kolekce implicitně přistupuje přes ukazatel ke členovi {0}, který může být null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullReferenceInitializer_Title">
<source>Object or collection initializer implicitly dereferences possibly null member.</source>
<target state="translated">Inicializátor objektu nebo kolekce implicitně přistupuje přes ukazatel ke členovi, který může být null</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullReferenceReceiver">
<source>Dereference of a possibly null reference.</source>
<target state="translated">Přístup přes ukazatel k možnému odkazu s hodnotou null</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullReferenceReceiver_Title">
<source>Dereference of a possibly null reference.</source>
<target state="translated">Přístup přes ukazatel k možnému odkazu s hodnotou null</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullReferenceReturn">
<source>Possible null reference return.</source>
<target state="translated">Může jít o vrácený odkaz null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullReferenceReturn_Title">
<source>Possible null reference return.</source>
<target state="translated">Může jít o vrácený odkaz null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInArgument">
<source>Argument of type '{0}' cannot be used for parameter '{2}' of type '{1}' in '{3}' due to differences in the nullability of reference types.</source>
<target state="translated">Argument typu {0} nejde použít pro parametr {2} typu {1} v {3} z důvodu rozdílů v možnostech použití hodnoty null u odkazových typů.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInArgumentForOutput">
<source>Argument of type '{0}' cannot be used as an output of type '{1}' for parameter '{2}' in '{3}' due to differences in the nullability of reference types.</source>
<target state="translated">Argument typu {0} nejde použít jako výstup typu {1} pro parametr {2} v {3} z důvodu rozdílů v možnostech použití hodnoty null u odkazových typů.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInArgumentForOutput_Title">
<source>Argument cannot be used as an output for parameter due to differences in the nullability of reference types.</source>
<target state="translated">Argument nejde použít jako výstup pro parametr z důvodu rozdílů v možnostech použití hodnoty null u odkazových typů.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInArgument_Title">
<source>Argument cannot be used for parameter due to differences in the nullability of reference types.</source>
<target state="translated">Argument nejde použít pro parametr z důvodu rozdílů v možnostech použití hodnoty null u odkazových typů.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInAssignment">
<source>Nullability of reference types in value of type '{0}' doesn't match target type '{1}'.</source>
<target state="translated">Typ odkazu s možnou hodnotou null v hodnotě typu {0} neodpovídá cílovému typu {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInAssignment_Title">
<source>Nullability of reference types in value doesn't match target type.</source>
<target state="translated">Typ odkazu s možnou hodnotou null v hodnotě neodpovídá cílovému typu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInConstraintsOnImplicitImplementation">
<source>Nullability in constraints for type parameter '{0}' of method '{1}' doesn't match the constraints for type parameter '{2}' of interface method '{3}'. Consider using an explicit interface implementation instead.</source>
<target state="translated">Možná hodnota null v omezení parametru typu {0} metody {1} neodpovídá omezením parametru typu {2} metody rozhraní {3}. Zkuste raději použít explicitní implementaci rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInConstraintsOnImplicitImplementation_Title">
<source>Nullability in constraints for type parameter doesn't match the constraints for type parameter in implicitly implemented interface method'.</source>
<target state="translated">Možná hodnota null v omezeních parametru typu neodpovídá omezením parametru typu v implicitně implementované metodě rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInConstraintsOnPartialImplementation">
<source>Partial method declarations of '{0}' have inconsistent nullability in constraints for type parameter '{1}'</source>
<target state="translated">Částečné deklarace metod {0} mají nekonzistentní možnost použití hodnoty null v omezeních parametru typu {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInConstraintsOnPartialImplementation_Title">
<source>Partial method declarations have inconsistent nullability in constraints for type parameter</source>
<target state="translated">Částečné deklarace metod mají nekonzistentní možnost použití hodnoty null v omezeních parametru typu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInExplicitlyImplementedInterface">
<source>Nullability of reference types in explicit interface specifier doesn't match interface implemented by the type.</source>
<target state="translated">Možnost použití hodnoty null u typů odkazů v explicitním specifikátoru rozhraní neodpovídá rozhraní implementovanému podle tohoto typu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInExplicitlyImplementedInterface_Title">
<source>Nullability of reference types in explicit interface specifier doesn't match interface implemented by the type.</source>
<target state="translated">Možnost použití hodnoty null u typů odkazů v explicitním specifikátoru rozhraní neodpovídá rozhraní implementovanému podle tohoto typu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInInterfaceImplementedByBase">
<source>'{0}' does not implement interface member '{1}'. Nullability of reference types in interface implemented by the base type doesn't match.</source>
<target state="translated">{0} neimplementuje člen rozhraní {1}. Možnost použití hodnoty null u typů odkazů v rozhraní implementovaném podle základního typu se neshoduje.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInInterfaceImplementedByBase_Title">
<source>Type does not implement interface member. Nullability of reference types in interface implemented by the base type doesn't match.</source>
<target state="translated">Typ neimplementuje člen rozhraní. Možnost použití hodnoty null u typů odkazů v rozhraní implementovaném podle základního typu se neshoduje.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOfTargetDelegate">
<source>Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match the target delegate '{2}' (possibly because of nullability attributes).</source>
<target state="translated">Typy odkazů s možnou hodnotou null v typu parametru {0} z {1} neodpovídají cílovému delegátu {2} (pravděpodobně kvůli atributům možnosti použití hodnoty null).</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOfTargetDelegate_Title">
<source>Nullability of reference types in type of parameter doesn't match the target delegate (possibly because of nullability attributes).</source>
<target state="translated">Typy odkazů s možnou hodnotou null v typu parametru neodpovídají cílovému delegátu (pravděpodobně kvůli atributům možnosti použití hodnoty null)</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOnExplicitImplementation">
<source>Nullability of reference types in type of parameter '{0}' doesn't match implemented member '{1}'.</source>
<target state="translated">Typ odkazu s možnou hodnotou null v typu parametru {0} neodpovídá implementovanému členu {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOnExplicitImplementation_Title">
<source>Nullability of reference types in type of parameter doesn't match implemented member.</source>
<target state="translated">Typ odkazu s možnou hodnotou null v typu parametru neodpovídá implementovanému členu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOnImplicitImplementation">
<source>Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match implicitly implemented member '{2}'.</source>
<target state="translated">Typ odkazu s možnou hodnotou null v typu parametru {0} z {1} neodpovídá implicitně implementovanému členu {2}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOnImplicitImplementation_Title">
<source>Nullability of reference types in type of parameter doesn't match implicitly implemented member.</source>
<target state="translated">Typ odkazu s možnou hodnotou null v typu parametru neodpovídá implicitně implementovanému členu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOnOverride">
<source>Nullability of reference types in type of parameter '{0}' doesn't match overridden member.</source>
<target state="translated">Typ odkazu s možnou hodnotou null v typu parametru {0} neodpovídá přepsanému členu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOnOverride_Title">
<source>Nullability of reference types in type of parameter doesn't match overridden member.</source>
<target state="translated">Typ odkazu s možnou hodnotou null v typu parametru neodpovídá přepsanému členu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOnPartial">
<source>Nullability of reference types in type of parameter '{0}' doesn't match partial method declaration.</source>
<target state="translated">Typ odkazu s možnou hodnotou null v typu parametru {0} neodpovídá deklaraci částečné metody.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOnPartial_Title">
<source>Nullability of reference types in type of parameter doesn't match partial method declaration.</source>
<target state="translated">Typ odkazu s možnou hodnotou null v typu parametru neodpovídá deklaraci částečné metody.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOfTargetDelegate">
<source>Nullability of reference types in return type of '{0}' doesn't match the target delegate '{1}' (possibly because of nullability attributes).</source>
<target state="translated">Typy odkazů s možnou hodnotou null v návratovém typu {0} neodpovídají cílovému delegátu {1} (pravděpodobně kvůli atributům možnosti použití hodnoty null).</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOfTargetDelegate_Title">
<source>Nullability of reference types in return type doesn't match the target delegate (possibly because of nullability attributes).</source>
<target state="translated">Typy odkazů s možnou hodnotou null v návratovém typu neodpovídají cílovému delegátu (pravděpodobně kvůli atributům možnosti použití hodnoty null)</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOnExplicitImplementation">
<source>Nullability of reference types in return type doesn't match implemented member '{0}'.</source>
<target state="translated">Typ odkazu s možnou hodnotou null ve vráceném typu neodpovídá implementovanému členu {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOnExplicitImplementation_Title">
<source>Nullability of reference types in return type doesn't match implemented member.</source>
<target state="translated">Typ odkazu s možnou hodnotou null ve vráceném typu neodpovídá implementovanému členu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOnImplicitImplementation">
<source>Nullability of reference types in return type of '{0}' doesn't match implicitly implemented member '{1}'.</source>
<target state="translated">Typ odkazu s možnou hodnotou null v návratovém typu {0} neodpovídá implicitně implementovanému členu {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOnImplicitImplementation_Title">
<source>Nullability of reference types in return type doesn't match implicitly implemented member.</source>
<target state="translated">Typ odkazu s možnou hodnotou null ve vráceném typu neodpovídá implicitně implementovanému členu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOnOverride">
<source>Nullability of reference types in return type doesn't match overridden member.</source>
<target state="translated">Typ odkazu s možnou hodnotou null ve vráceném typu neodpovídá přepsanému členu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOnOverride_Title">
<source>Nullability of reference types in return type doesn't match overridden member.</source>
<target state="translated">Typ odkazu s možnou hodnotou null ve vráceném typu neodpovídá přepsanému členu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOnPartial">
<source>Nullability of reference types in return type doesn't match partial method declaration.</source>
<target state="translated">Typ odkazu s možnou hodnotou null v návratovém typu neodpovídá deklaraci částečné metody.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOnPartial_Title">
<source>Nullability of reference types in return type doesn't match partial method declaration.</source>
<target state="translated">Typ odkazu s možnou hodnotou null v návratovém typu neodpovídá deklaraci částečné metody</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInTypeOnExplicitImplementation">
<source>Nullability of reference types in type doesn't match implemented member '{0}'.</source>
<target state="translated">Typ odkazu s možnou hodnotou null v typu neodpovídá implementovanému členu {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInTypeOnExplicitImplementation_Title">
<source>Nullability of reference types in type doesn't match implemented member.</source>
<target state="translated">Typ odkazu s možnou hodnotou null v typu neodpovídá implementovanému členu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInTypeOnImplicitImplementation">
<source>Nullability of reference types in type of '{0}' doesn't match implicitly implemented member '{1}'.</source>
<target state="translated">Typ odkazu s možnou hodnotou null v typu {0} neodpovídá implicitně implementovanému členu {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInTypeOnImplicitImplementation_Title">
<source>Nullability of reference types in type doesn't match implicitly implemented member.</source>
<target state="translated">Typ odkazu s možnou hodnotou null v typu neodpovídá implicitně implementovanému členu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInTypeOnOverride">
<source>Nullability of reference types in type doesn't match overridden member.</source>
<target state="translated">Typ odkazu s možnou hodnotou null v typu neodpovídá přepsanému členu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInTypeOnOverride_Title">
<source>Nullability of reference types in type doesn't match overridden member.</source>
<target state="translated">Typ odkazu s možnou hodnotou null v typu neodpovídá přepsanému členu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInTypeParameterConstraint">
<source>The type '{3}' cannot be used as type parameter '{2}' in the generic type or method '{0}'. Nullability of type argument '{3}' doesn't match constraint type '{1}'.</source>
<target state="translated">Typ {3} nejde použít jako parametr typu {2} v obecném typu nebo metodě {0}. Typ argumentu {3} s možnou hodnotou null neodpovídá typu omezení {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInTypeParameterConstraint_Title">
<source>The type cannot be used as type parameter in the generic type or method. Nullability of type argument doesn't match constraint type.</source>
<target state="translated">Typ nejde použít jako parametr typu v obecném typu nebo metodě. Typ argumentu s možnou hodnotou null neodpovídá typu omezení.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInTypeParameterNotNullConstraint">
<source>The type '{2}' cannot be used as type parameter '{1}' in the generic type or method '{0}'. Nullability of type argument '{2}' doesn't match 'notnull' constraint.</source>
<target state="translated">Typ {2} nejde použít jako parametr typu {1} v obecném typu nebo metodě {0}. Argument typu {2} s možnou hodnotou null neodpovídá omezení notnull.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInTypeParameterNotNullConstraint_Title">
<source>The type cannot be used as type parameter in the generic type or method. Nullability of type argument doesn't match 'notnull' constraint.</source>
<target state="translated">Typ nejde použít jako parametr typu v obecném typu nebo metodě. Argument typu s možnou hodnotou null neodpovídá omezení notnull.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInTypeParameterReferenceTypeConstraint">
<source>The type '{2}' cannot be used as type parameter '{1}' in the generic type or method '{0}'. Nullability of type argument '{2}' doesn't match 'class' constraint.</source>
<target state="translated">Typ {2} nejde použít jako parametr typu {1} v obecném typu nebo metodě {0}. Typ argumentu {2} s možnou hodnotou null neodpovídá omezení třídy.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInTypeParameterReferenceTypeConstraint_Title">
<source>The type cannot be used as type parameter in the generic type or method. Nullability of type argument doesn't match 'class' constraint.</source>
<target state="translated">Typ nejde použít jako parametr typu v obecném typu nebo metodě. Typ argumentu s možnou hodnotou null neodpovídá omezení třídy.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullableValueTypeMayBeNull">
<source>Nullable value type may be null.</source>
<target state="translated">Typ hodnoty, která připouští hodnotu null, nemůže být null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullableValueTypeMayBeNull_Title">
<source>Nullable value type may be null.</source>
<target state="translated">Typ hodnoty, která připouští hodnotu null, nemůže být null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ParamUnassigned">
<source>The out parameter '{0}' must be assigned to before control leaves the current method</source>
<target state="translated">Parametr out {0} se musí přiřadit ještě předtím, než aktuální metoda předá řízení.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ParamUnassigned_Title">
<source>An out parameter must be assigned to before control leaves the method</source>
<target state="translated">Parametr out se musí přiřadit ještě předtím, než metoda předá řízení</target>
<note />
</trans-unit>
<trans-unit id="WRN_ParameterConditionallyDisallowsNull">
<source>Parameter '{0}' must have a non-null value when exiting with '{1}'.</source>
<target state="translated">Parametr {0} musí mít při ukončení s návratovou hodnotou {1} hodnotu jinou než null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ParameterConditionallyDisallowsNull_Title">
<source>Parameter must have a non-null value when exiting in some condition.</source>
<target state="translated">Parametr musí mít při ukončení za určité podmínky hodnotu jinou než null</target>
<note />
</trans-unit>
<trans-unit id="WRN_ParameterDisallowsNull">
<source>Parameter '{0}' must have a non-null value when exiting.</source>
<target state="translated">Parametr {0} musí mít při ukončení hodnotu jinou než null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ParameterDisallowsNull_Title">
<source>Parameter must have a non-null value when exiting.</source>
<target state="translated">Parametr musí mít při ukončení hodnotu jinou než null</target>
<note />
</trans-unit>
<trans-unit id="WRN_ParameterIsStaticClass">
<source>'{0}': static types cannot be used as parameters</source>
<target state="translated">{0}: Statické typy nejde používat jako parametry.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ParameterIsStaticClass_Title">
<source>Static types cannot be used as parameters</source>
<target state="translated">Statické typy se nedají používat jako parametry</target>
<note />
</trans-unit>
<trans-unit id="WRN_PrecedenceInversion">
<source>Operator '{0}' cannot be used here due to precedence. Use parentheses to disambiguate.</source>
<target state="translated">Operátor {0} se tady nedá použít kvůli prioritám. Odstraňte nejednoznačnost pomocí závorek.</target>
<note />
</trans-unit>
<trans-unit id="WRN_PrecedenceInversion_Title">
<source>Operator cannot be used here due to precedence.</source>
<target state="translated">Operátor se tady nedá použít kvůli prioritám</target>
<note />
</trans-unit>
<trans-unit id="WRN_PatternNotPublicOrNotInstance">
<source>'{0}' does not implement the '{1}' pattern. '{2}' is not a public instance or extension method.</source>
<target state="translated">{0} neimplementuje vzor {1}. {2} není veřejná metoda instance nebo rozšíření.</target>
<note />
</trans-unit>
<trans-unit id="WRN_PatternNotPublicOrNotInstance_Title">
<source>Type does not implement the collection pattern; member is is not a public instance or extension method.</source>
<target state="translated">Typ neimplementuje vzor kolekce. Člen není veřejná metoda instance nebo rozšíření</target>
<note />
</trans-unit>
<trans-unit id="WRN_ReturnTypeIsStaticClass">
<source>'{0}': static types cannot be used as return types</source>
<target state="translated">{0}: Statické typy nejde používat jako typy vracených hodnot.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ReturnTypeIsStaticClass_Title">
<source>Static types cannot be used as return types</source>
<target state="translated">Statické typy se nedají používat jako typy vracených hodnot</target>
<note />
</trans-unit>
<trans-unit id="WRN_ShouldNotReturn">
<source>A method marked [DoesNotReturn] should not return.</source>
<target state="translated">Metoda označená jako [DoesNotReturn] by neměla vracet hodnotu</target>
<note />
</trans-unit>
<trans-unit id="WRN_ShouldNotReturn_Title">
<source>A method marked [DoesNotReturn] should not return.</source>
<target state="translated">Metoda označená jako [DoesNotReturn] by se neměla ukončit standardním způsobem</target>
<note />
</trans-unit>
<trans-unit id="WRN_StaticInAsOrIs">
<source>The second operand of an 'is' or 'as' operator may not be static type '{0}'</source>
<target state="translated">Druhý operand operátoru is nebo as nesmí být statického typu {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_StaticInAsOrIs_Title">
<source>The second operand of an 'is' or 'as' operator may not be a static type</source>
<target state="translated">Druhý operand operátoru is nebo as nesmí být statického typu</target>
<note />
</trans-unit>
<trans-unit id="WRN_SwitchExpressionNotExhaustive">
<source>The switch expression does not handle all possible values of its input type (it is not exhaustive). For example, the pattern '{0}' is not covered.</source>
<target state="translated">Výraz switch nezachycuje všechny možné hodnoty vstupního typu (není úplný). Nezachycuje například vzor {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_SwitchExpressionNotExhaustiveForNull">
<source>The switch expression does not handle some null inputs (it is not exhaustive). For example, the pattern '{0}' is not covered.</source>
<target state="translated">Výraz switch nezachycuje všechny některé vstupy null (není úplný). Nezachycuje například vzor {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_SwitchExpressionNotExhaustiveForNullWithWhen">
<source>The switch expression does not handle some null inputs (it is not exhaustive). For example, the pattern '{0}' is not covered. However, a pattern with a 'when' clause might successfully match this value.</source>
<target state="translated">Výraz switch nezpracovává některé vstupy null (není úplný). Například vzor {0} není vyřešený. Vzor s klauzulí when však může této hodnotě úspěšně odpovídat.</target>
<note />
</trans-unit>
<trans-unit id="WRN_SwitchExpressionNotExhaustiveForNullWithWhen_Title">
<source>The switch expression does not handle some null inputs.</source>
<target state="translated">Výraz switch nezpracovává některé vstupy s hodnotou null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_SwitchExpressionNotExhaustiveForNull_Title">
<source>The switch expression does not handle some null inputs.</source>
<target state="translated">Výraz switch nezpracovává některé vstupy s hodnotou null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_SwitchExpressionNotExhaustiveWithWhen">
<source>The switch expression does not handle all possible values of its input type (it is not exhaustive). For example, the pattern '{0}' is not covered. However, a pattern with a 'when' clause might successfully match this value.</source>
<target state="translated">Výraz switch nezpracovává všechny možné hodnoty typu svého vstupu (není úplný). Například vzor {0} není vyřešený. Vzor s klauzulí when však může této hodnotě úspěšně odpovídat.</target>
<note />
</trans-unit>
<trans-unit id="WRN_SwitchExpressionNotExhaustiveWithWhen_Title">
<source>The switch expression does not handle all possible values of its input type (it is not exhaustive).</source>
<target state="translated">Výraz switch nezpracovává všechny možné hodnoty svého vstupního typu (není úplný).</target>
<note />
</trans-unit>
<trans-unit id="WRN_SwitchExpressionNotExhaustive_Title">
<source>The switch expression does not handle all possible values of its input type (it is not exhaustive).</source>
<target state="translated">Výraz switch nezpracovává všechny možné hodnoty svého vstupního typu (není úplný)</target>
<note />
</trans-unit>
<trans-unit id="WRN_ThrowPossibleNull">
<source>Thrown value may be null.</source>
<target state="translated">Vyvolaná hodnota může být null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ThrowPossibleNull_Title">
<source>Thrown value may be null.</source>
<target state="translated">Vyvolaná hodnota může být null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation">
<source>Nullability of reference types in type of parameter '{0}' doesn't match implemented member '{1}' (possibly because of nullability attributes).</source>
<target state="translated">Typ odkazu s možnou hodnotou null v typu parametru {0} neodpovídá implementovanému členu {1} (pravděpodobně kvůli atributům možnosti použití hodnoty null).</target>
<note />
</trans-unit>
<trans-unit id="WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation_Title">
<source>Nullability of reference types in type of parameter doesn't match implemented member (possibly because of nullability attributes).</source>
<target state="translated">Typ odkazu s možnou hodnotou null v typu parametru neodpovídá implementovanému členu (pravděpodobně kvůli atributům možnosti použití hodnoty null)</target>
<note />
</trans-unit>
<trans-unit id="WRN_TopLevelNullabilityMismatchInParameterTypeOnImplicitImplementation">
<source>Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match implicitly implemented member '{2}' (possibly because of nullability attributes).</source>
<target state="translated">Typ odkazu s možnou hodnotou null v typu parametru {0} z {1} neodpovídá implicitně implementovanému členu {2} (pravděpodobně kvůli atributům možnosti použití hodnoty null).</target>
<note />
</trans-unit>
<trans-unit id="WRN_TopLevelNullabilityMismatchInParameterTypeOnImplicitImplementation_Title">
<source>Nullability of reference types in type of parameter doesn't match implicitly implemented member (possibly because of nullability attributes).</source>
<target state="translated">Typ odkazu s možnou hodnotou null v typu parametru neodpovídá implicitně implementovanému členu (pravděpodobně kvůli atributům možnosti použití hodnoty null)</target>
<note />
</trans-unit>
<trans-unit id="WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride">
<source>Nullability of type of parameter '{0}' doesn't match overridden member (possibly because of nullability attributes).</source>
<target state="translated">Možnost použití hodnoty null u typu parametru {0} neodpovídá přepsanému členu (pravděpodobně kvůli atributům možnosti použití hodnoty null).</target>
<note />
</trans-unit>
<trans-unit id="WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride_Title">
<source>Nullability of type of parameter doesn't match overridden member (possibly because of nullability attributes).</source>
<target state="translated">Možnost použití hodnoty null u typu parametru neodpovídá přepsanému členu (pravděpodobně kvůli atributům možnosti použití hodnoty null)</target>
<note />
</trans-unit>
<trans-unit id="WRN_TopLevelNullabilityMismatchInReturnTypeOnExplicitImplementation">
<source>Nullability of reference types in return type doesn't match implemented member '{0}' (possibly because of nullability attributes).</source>
<target state="translated">Typ odkazu s možnou hodnotou null ve vráceném typu neodpovídá implementovanému členu {0} (pravděpodobně kvůli atributům možnosti použití hodnoty null).</target>
<note />
</trans-unit>
<trans-unit id="WRN_TopLevelNullabilityMismatchInReturnTypeOnExplicitImplementation_Title">
<source>Nullability of reference types in return type doesn't match implemented member (possibly because of nullability attributes).</source>
<target state="translated">Typ odkazu s možnou hodnotou null v návratovém typu neodpovídá implementovanému členu (pravděpodobně kvůli atributům možnosti použití hodnoty null)</target>
<note />
</trans-unit>
<trans-unit id="WRN_TopLevelNullabilityMismatchInReturnTypeOnImplicitImplementation">
<source>Nullability of reference types in return type of '{0}' doesn't match implicitly implemented member '{1}' (possibly because of nullability attributes).</source>
<target state="translated">Typ odkazu s možnou hodnotou null v návratovém typu {0} neodpovídá implicitně implementovanému členu {1} (pravděpodobně kvůli atributům možnosti použití hodnoty null).</target>
<note />
</trans-unit>
<trans-unit id="WRN_TopLevelNullabilityMismatchInReturnTypeOnImplicitImplementation_Title">
<source>Nullability of reference types in return type doesn't match implicitly implemented member (possibly because of nullability attributes).</source>
<target state="translated">Typ odkazu s možnou hodnotou null v návratovém typu neodpovídá implicitně implementovanému členu (pravděpodobně kvůli atributům možnosti použití hodnoty null)</target>
<note />
</trans-unit>
<trans-unit id="WRN_TopLevelNullabilityMismatchInReturnTypeOnOverride">
<source>Nullability of return type doesn't match overridden member (possibly because of nullability attributes).</source>
<target state="translated">Možnost použití hodnoty null u návratového typu neodpovídá přepsanému členu (pravděpodobně kvůli atributům možnosti použití hodnoty null)</target>
<note />
</trans-unit>
<trans-unit id="WRN_TopLevelNullabilityMismatchInReturnTypeOnOverride_Title">
<source>Nullability of return type doesn't match overridden member (possibly because of nullability attributes).</source>
<target state="translated">Možnost použití hodnoty null u návratového typu neodpovídá přepsanému členu (pravděpodobně kvůli atributům možnosti použití hodnoty null)</target>
<note />
</trans-unit>
<trans-unit id="WRN_TupleBinopLiteralNameMismatch">
<source>The tuple element name '{0}' is ignored because a different name or no name is specified on the other side of the tuple == or != operator.</source>
<target state="translated">Název elementu řazené kolekce členů {0} se ignoruje, protože na druhé straně operátoru == nebo != řazené kolekce členů je určený jiný nebo žádný název.</target>
<note />
</trans-unit>
<trans-unit id="WRN_TupleBinopLiteralNameMismatch_Title">
<source>The tuple element name is ignored because a different name or no name is specified on the other side of the tuple == or != operator.</source>
<target state="translated">Název elementu řazené kolekce členů se ignoruje, protože na druhé straně operátoru == nebo != řazené kolekce členů je určený jiný nebo žádný název.</target>
<note />
</trans-unit>
<trans-unit id="WRN_TypeParameterSameAsOuterMethodTypeParameter">
<source>Type parameter '{0}' has the same name as the type parameter from outer method '{1}'</source>
<target state="translated">Parametr typu {0} má stejný název jako parametr typu z vnější metody {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_TypeParameterSameAsOuterMethodTypeParameter_Title">
<source>Type parameter has the same type as the type parameter from outer method.</source>
<target state="translated">Parametr typu má stejný typ jako parametr typu z vnější metody.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnassignedThis">
<source>Field '{0}' must be fully assigned before control is returned to the caller</source>
<target state="translated">Před předáním řízení volající proceduře musí být pole {0} plně přiřazené.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnassignedThisAutoProperty">
<source>Auto-implemented property '{0}' must be fully assigned before control is returned to the caller.</source>
<target state="translated">Před vrácením řízení volajícímu modulu musí být plně přiřazená automaticky implementovaná vlastnost {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnassignedThisAutoProperty_Title">
<source>An auto-implemented property must be fully assigned before control is returned to the caller.</source>
<target state="translated">Před vrácením řízení volajícímu se musí plně přiřadit automaticky implementovaná vlastnost</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnassignedThis_Title">
<source>Fields of a struct must be fully assigned in a constructor before control is returned to the caller</source>
<target state="translated">Před vrácením řízení volajícímu se musí v konstruktoru plně přiřadit pole struktury</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnboxPossibleNull">
<source>Unboxing a possibly null value.</source>
<target state="translated">Rozbalení možné hodnoty null</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnboxPossibleNull_Title">
<source>Unboxing a possibly null value.</source>
<target state="translated">Rozbalení možné hodnoty null</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnconsumedEnumeratorCancellationAttributeUsage">
<source>The EnumeratorCancellationAttribute applied to parameter '{0}' will have no effect. The attribute is only effective on a parameter of type CancellationToken in an async-iterator method returning IAsyncEnumerable</source>
<target state="translated">EnumeratorCancellationAttribute, který se používá u parametru {0}, nebude mít žádný účinek. Tento atribut je platný jenom u parametru typu CancellationToken v metodě async-iterator, která vrací IAsyncEnumerable.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnconsumedEnumeratorCancellationAttributeUsage_Title">
<source>The EnumeratorCancellationAttribute will have no effect. The attribute is only effective on a parameter of type CancellationToken in an async-iterator method returning IAsyncEnumerable</source>
<target state="translated">EnumeratorCancellationAttribute nebude mít žádný účinek. Tento atribut je platný jenom u parametru typu CancellationToken v metodě async-iterator, která vrací IAsyncEnumerable.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UndecoratedCancellationTokenParameter">
<source>Async-iterator '{0}' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed</source>
<target state="translated">Asynchronní iterátor {0} má jeden nebo více parametrů typu CancellationToken, ale žádný z nich není dekorovaný atributem EnumeratorCancellation, takže parametr tokenu zrušení z vygenerovaného výrazu IAsyncEnumerable<>.GetAsyncEnumerator se nespotřebuje.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UndecoratedCancellationTokenParameter_Title">
<source>Async-iterator member has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed</source>
<target state="translated">Člen asynchronního iterátoru má jeden nebo více parametrů typu CancellationToken, ale žádný z nich není dekorovaný atributem EnumeratorCancellation, takže parametr tokenu zrušení z vygenerovaného výrazu IAsyncEnumerable<>.GetAsyncEnumerator se nespotřebuje.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UninitializedNonNullableField">
<source>Non-nullable {0} '{1}' must contain a non-null value when exiting constructor. Consider declaring the {0} as nullable.</source>
<target state="translated">Proměnná {0} {1}, která nemůže být null, musí při ukončování konstruktoru obsahovat hodnotu, která není null. Zvažte možnost deklarovat {0} jako proměnnou s možnou hodnotou null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UninitializedNonNullableField_Title">
<source>Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.</source>
<target state="translated">Pole, které nemůže být null, musí při ukončování konstruktoru obsahovat hodnotu, která není null. Zvažte možnost deklarovat ho jako pole s možnou hodnotou null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnreadRecordParameter">
<source>Parameter '{0}' is unread. Did you forget to use it to initialize the property with that name?</source>
<target state="translated">Parametr {0} se nepřečetl. Nezapomněli jste ho použít k inicializaci vlastnosti s daným názvem?</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnreadRecordParameter_Title">
<source>Parameter is unread. Did you forget to use it to initialize the property with that name?</source>
<target state="translated">Parametr se nepřečetl. Nezapomněli jste ho použít k inicializaci vlastnosti s daným názvem?</target>
<note />
</trans-unit>
<trans-unit id="WRN_UseDefViolation">
<source>Use of unassigned local variable '{0}'</source>
<target state="translated">Použila se nepřiřazená lokální proměnná {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UseDefViolationField">
<source>Use of possibly unassigned field '{0}'</source>
<target state="translated">Použila se možná nepřiřazené pole {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UseDefViolationField_Title">
<source>Use of possibly unassigned field</source>
<target state="translated">Použilo se pravděpodobně nepřiřazené pole</target>
<note />
</trans-unit>
<trans-unit id="WRN_UseDefViolationOut">
<source>Use of unassigned out parameter '{0}'</source>
<target state="translated">Použil se nepřiřazený parametr out {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UseDefViolationOut_Title">
<source>Use of unassigned out parameter</source>
<target state="translated">Použil se nepřiřazený parametr out</target>
<note />
</trans-unit>
<trans-unit id="WRN_UseDefViolationProperty">
<source>Use of possibly unassigned auto-implemented property '{0}'</source>
<target state="translated">Použití pravděpodobně nepřiřazené automaticky implementované vlastnosti {0}</target>
<note />
</trans-unit>
<trans-unit id="WRN_UseDefViolationProperty_Title">
<source>Use of possibly unassigned auto-implemented property</source>
<target state="translated">Použily se pravděpodobně nepřiřazené automaticky implementované vlastnosti</target>
<note />
</trans-unit>
<trans-unit id="WRN_UseDefViolationThis">
<source>The 'this' object cannot be used before all of its fields have been assigned</source>
<target state="translated">Objekt this se nedá použít, dokud se nepřiřadí všechna jeho pole.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UseDefViolationThis_Title">
<source>The 'this' object cannot be used in a constructor before all of its fields have been assigned</source>
<target state="translated">Objekt this se v konstruktoru nedá použít, dokud se nepřiřadí všechna jeho pole</target>
<note />
</trans-unit>
<trans-unit id="WRN_UseDefViolation_Title">
<source>Use of unassigned local variable</source>
<target state="translated">Použila se nepřiřazená lokální proměnná</target>
<note />
</trans-unit>
<trans-unit id="XML_InvalidToken">
<source>The character(s) '{0}' cannot be used at this location.</source>
<target state="translated">Znaky {0} se na tomto místě nedají použít.</target>
<note />
</trans-unit>
<trans-unit id="XML_IncorrectComment">
<source>Incorrect syntax was used in a comment.</source>
<target state="translated">V komentáři se používá nesprávná syntaxe.</target>
<note />
</trans-unit>
<trans-unit id="XML_InvalidCharEntity">
<source>An invalid character was found inside an entity reference.</source>
<target state="translated">Uvnitř odkazu na entitu se našel neplatný znak.</target>
<note />
</trans-unit>
<trans-unit id="XML_ExpectedEndOfTag">
<source>Expected '>' or '/>' to close tag '{0}'.</source>
<target state="translated">Očekával se řetězec > nebo /> uzavírající značku {0}.</target>
<note />
</trans-unit>
<trans-unit id="XML_ExpectedIdentifier">
<source>An identifier was expected.</source>
<target state="translated">Očekával se identifikátor.</target>
<note />
</trans-unit>
<trans-unit id="XML_InvalidUnicodeChar">
<source>Invalid unicode character.</source>
<target state="translated">Neplatný znak unicode</target>
<note />
</trans-unit>
<trans-unit id="XML_InvalidWhitespace">
<source>Whitespace is not allowed at this location.</source>
<target state="translated">Prázdný znak není v tomto místě povolený.</target>
<note />
</trans-unit>
<trans-unit id="XML_LessThanInAttributeValue">
<source>The character '<' cannot be used in an attribute value.</source>
<target state="translated">Znak < se nedá použít v hodnotě atributu.</target>
<note />
</trans-unit>
<trans-unit id="XML_MissingEqualsAttribute">
<source>Missing equals sign between attribute and attribute value.</source>
<target state="translated">Mezi atributem a jeho hodnotou chybí znaménko rovná se.</target>
<note />
</trans-unit>
<trans-unit id="XML_RefUndefinedEntity_1">
<source>Reference to undefined entity '{0}'.</source>
<target state="translated">Odkaz na nedefinovanou entitu {0}</target>
<note />
</trans-unit>
<trans-unit id="XML_StringLiteralNoStartQuote">
<source>A string literal was expected, but no opening quotation mark was found.</source>
<target state="translated">Očekával se řetězcový literál, ale nenašly se úvodní uvozovky.</target>
<note />
</trans-unit>
<trans-unit id="XML_StringLiteralNoEndQuote">
<source>Missing closing quotation mark for string literal.</source>
<target state="translated">U řetězcového literálu chybí koncové uvozovky.</target>
<note />
</trans-unit>
<trans-unit id="XML_StringLiteralNonAsciiQuote">
<source>Non-ASCII quotations marks may not be used around string literals.</source>
<target state="translated">U řetězcových literálů se nesmí používat jiné uvozovky než ASCII.</target>
<note />
</trans-unit>
<trans-unit id="XML_EndTagNotExpected">
<source>End tag was not expected at this location.</source>
<target state="translated">Na tomto místě se neočekávala koncová značka.</target>
<note />
</trans-unit>
<trans-unit id="XML_ElementTypeMatch">
<source>End tag '{0}' does not match the start tag '{1}'.</source>
<target state="translated">Koncová značka {0} neodpovídá počáteční značce {1}.</target>
<note />
</trans-unit>
<trans-unit id="XML_EndTagExpected">
<source>Expected an end tag for element '{0}'.</source>
<target state="translated">Očekávala se koncová značka pro element {0}.</target>
<note />
</trans-unit>
<trans-unit id="XML_WhitespaceMissing">
<source>Required white space was missing.</source>
<target state="translated">Chybí požadovaná mezera.</target>
<note />
</trans-unit>
<trans-unit id="XML_ExpectedEndOfXml">
<source>Unexpected character at this location.</source>
<target state="translated">Neočekávaný znak na tomto místě</target>
<note />
</trans-unit>
<trans-unit id="XML_CDataEndTagNotAllowed">
<source>The literal string ']]>' is not allowed in element content.</source>
<target state="translated">V obsahu elementu není povolený řetězec literálu ]]>.</target>
<note />
</trans-unit>
<trans-unit id="XML_DuplicateAttribute">
<source>Duplicate '{0}' attribute</source>
<target state="translated">Duplicitní atribut {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoMetadataFile">
<source>Metadata file '{0}' could not be found</source>
<target state="translated">Soubor metadat {0} se nenašel.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MetadataReferencesNotSupported">
<source>Metadata references are not supported.</source>
<target state="translated">Odkazy v metadatech se nepodporují.</target>
<note />
</trans-unit>
<trans-unit id="FTL_MetadataCantOpenFile">
<source>Metadata file '{0}' could not be opened -- {1}</source>
<target state="translated">Soubor metadat {0} nešel otevřít -- {1}</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoTypeDef">
<source>The type '{0}' is defined in an assembly that is not referenced. You must add a reference to assembly '{1}'.</source>
<target state="translated">Typ {0} je definovaný jako sestavení, na které se neodkazuje. Je nutné přidat odkaz na sestavení {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoTypeDefFromModule">
<source>The type '{0}' is defined in a module that has not been added. You must add the module '{1}'.</source>
<target state="translated">Typ {0} je definovaný v modulu, který jste nepřidali. Musíte přidat modul {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OutputWriteFailed">
<source>Could not write to output file '{0}' -- '{1}'</source>
<target state="translated">Do výstupního souboru {0} nejde zapisovat -- {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MultipleEntryPoints">
<source>Program has more than one entry point defined. Compile with /main to specify the type that contains the entry point.</source>
<target state="translated">Program má definovaný víc než jeden vstupní bod. V kompilaci použijte /main určující typ, který vstupní bod obsahuje.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadBinaryOps">
<source>Operator '{0}' cannot be applied to operands of type '{1}' and '{2}'</source>
<target state="translated">Operátor {0} nejde použít na operandy typu {1} a {2}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IntDivByZero">
<source>Division by constant zero</source>
<target state="translated">Dělení nulovou konstantou</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadIndexLHS">
<source>Cannot apply indexing with [] to an expression of type '{0}'</source>
<target state="translated">Ve výrazu typu {0} nejde použít indexování pomocí hranatých závorek ([]).</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadIndexCount">
<source>Wrong number of indices inside []; expected {0}</source>
<target state="translated">Špatné číslo indexu uvnitř []; očekává se {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadUnaryOp">
<source>Operator '{0}' cannot be applied to operand of type '{1}'</source>
<target state="translated">Operátor {0} nejde použít na operand typu {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ThisInStaticMeth">
<source>Keyword 'this' is not valid in a static property, static method, or static field initializer</source>
<target state="translated">Klíčové slovo this není platné ve statické vlastnosti, ve statické metodě ani ve statickém inicializátoru pole.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ThisInBadContext">
<source>Keyword 'this' is not available in the current context</source>
<target state="translated">Klíčové slovo this není v aktuálním kontextu k dispozici.</target>
<note />
</trans-unit>
<trans-unit id="WRN_InvalidMainSig">
<source>'{0}' has the wrong signature to be an entry point</source>
<target state="translated">{0} nemá správný podpis, takže nemůže být vstupním bodem.</target>
<note />
</trans-unit>
<trans-unit id="WRN_InvalidMainSig_Title">
<source>Method has the wrong signature to be an entry point</source>
<target state="translated">Metoda nemá správný podpis, takže nemůže být vstupním bodem.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoImplicitConv">
<source>Cannot implicitly convert type '{0}' to '{1}'</source>
<target state="translated">Typ {0} nejde implicitně převést na typ {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoExplicitConv">
<source>Cannot convert type '{0}' to '{1}'</source>
<target state="translated">Typ {0} nejde převést na typ {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConstOutOfRange">
<source>Constant value '{0}' cannot be converted to a '{1}'</source>
<target state="translated">Konstantní hodnotu {0} nejde převést na typ {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AmbigBinaryOps">
<source>Operator '{0}' is ambiguous on operands of type '{1}' and '{2}'</source>
<target state="translated">Operátor {0} je nejednoznačný na operandech typu {1} a {2}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AmbigUnaryOp">
<source>Operator '{0}' is ambiguous on an operand of type '{1}'</source>
<target state="translated">Operátor {0} je nejednoznačný na operandu typu {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InAttrOnOutParam">
<source>An out parameter cannot have the In attribute</source>
<target state="translated">Parametr out nemůže obsahovat atribut In.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ValueCantBeNull">
<source>Cannot convert null to '{0}' because it is a non-nullable value type</source>
<target state="translated">Hodnotu null nejde převést na typ {0}, protože se jedná o typ, který nemůže mít hodnotu null.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoExplicitBuiltinConv">
<source>Cannot convert type '{0}' to '{1}' via a reference conversion, boxing conversion, unboxing conversion, wrapping conversion, or null type conversion</source>
<target state="translated">Typ {0} nejde převést na {1} prostřednictvím převodu odkazu, převodu zabalení, převodu rozbalení, převodu obálky nebo převodu s hodnotou null.</target>
<note />
</trans-unit>
<trans-unit id="FTL_DebugEmitFailure">
<source>Unexpected error writing debug information -- '{0}'</source>
<target state="translated">Neočekávaná chyba při zápisu ladicích informací -- {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadVisReturnType">
<source>Inconsistent accessibility: return type '{1}' is less accessible than method '{0}'</source>
<target state="translated">Nekonzistentní dostupnost: Typ vrácené hodnoty {1} je míň dostupný než metoda {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadVisParamType">
<source>Inconsistent accessibility: parameter type '{1}' is less accessible than method '{0}'</source>
<target state="translated">Nekonzistentní dostupnost: Typ parametru {1} je míň dostupný než metoda {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadVisFieldType">
<source>Inconsistent accessibility: field type '{1}' is less accessible than field '{0}'</source>
<target state="translated">Nekonzistentní dostupnost: Typ pole {1} je míň dostupný než pole {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadVisPropertyType">
<source>Inconsistent accessibility: property type '{1}' is less accessible than property '{0}'</source>
<target state="translated">Nekonzistentní dostupnost: Typ vlastnosti {1} je míň dostupný než vlastnost {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadVisIndexerReturn">
<source>Inconsistent accessibility: indexer return type '{1}' is less accessible than indexer '{0}'</source>
<target state="translated">Nekonzistentní dostupnost: Typ vrácené hodnoty indexeru {1} je méně dostupný než indexer {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadVisIndexerParam">
<source>Inconsistent accessibility: parameter type '{1}' is less accessible than indexer '{0}'</source>
<target state="translated">Nekonzistentní dostupnost: Typ parametru {1} je míň dostupný než indexer {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadVisOpReturn">
<source>Inconsistent accessibility: return type '{1}' is less accessible than operator '{0}'</source>
<target state="translated">Nekonzistentní dostupnost: Typ vrácené hodnoty {1} je míň dostupný než operátor {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadVisOpParam">
<source>Inconsistent accessibility: parameter type '{1}' is less accessible than operator '{0}'</source>
<target state="translated">Nekonzistentní dostupnost: Typ parametru {1} je míň dostupný než operátor {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadVisDelegateReturn">
<source>Inconsistent accessibility: return type '{1}' is less accessible than delegate '{0}'</source>
<target state="translated">Nekonzistentní dostupnost: Typ vrácené hodnoty {1} je míň dostupný než delegát {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadVisDelegateParam">
<source>Inconsistent accessibility: parameter type '{1}' is less accessible than delegate '{0}'</source>
<target state="translated">Nekonzistentní dostupnost: Typ parametru {1} je míň dostupný než delegát {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadVisBaseClass">
<source>Inconsistent accessibility: base class '{1}' is less accessible than class '{0}'</source>
<target state="translated">Nekonzistentní dostupnost: Základní třída {1} je míň dostupná než třída {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadVisBaseInterface">
<source>Inconsistent accessibility: base interface '{1}' is less accessible than interface '{0}'</source>
<target state="translated">Nekonzistentní dostupnost: Základní rozhraní {1} je míň dostupné než rozhraní {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_EventNeedsBothAccessors">
<source>'{0}': event property must have both add and remove accessors</source>
<target state="translated">{0}: Vlastnost události musí obsahovat přistupující objekty add i remove.</target>
<note />
</trans-unit>
<trans-unit id="ERR_EventNotDelegate">
<source>'{0}': event must be of a delegate type</source>
<target state="translated">{0}: Událost musí být typu delegát.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnreferencedEvent">
<source>The event '{0}' is never used</source>
<target state="translated">Událost {0} se nikdy nepoužívá.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnreferencedEvent_Title">
<source>Event is never used</source>
<target state="translated">Událost se nikdy nepoužívá.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InterfaceEventInitializer">
<source>'{0}': instance event in interface cannot have initializer</source>
<target state="translated">{0}: Událost instance v rozhraní nemůže mít inicializátor.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadEventUsage">
<source>The event '{0}' can only appear on the left hand side of += or -= (except when used from within the type '{1}')</source>
<target state="translated">Událost {0} se může zobrazovat jenom na levé straně výrazu += nebo -= (s výjimkou případu, kdy se používá z typu {1}).</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExplicitEventFieldImpl">
<source>An explicit interface implementation of an event must use event accessor syntax</source>
<target state="translated">Explicitní implementace rozhraní události musí používat syntaxi přistupujícího objektu události.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantOverrideNonEvent">
<source>'{0}': cannot override; '{1}' is not an event</source>
<target state="translated">{0}: Nejde přepsat; {1} není událost.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AddRemoveMustHaveBody">
<source>An add or remove accessor must have a body</source>
<target state="translated">Přistupující objekty add a remove musí mít tělo.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AbstractEventInitializer">
<source>'{0}': abstract event cannot have initializer</source>
<target state="translated">{0}: Abstraktní událost nemůže mít inicializátor.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ReservedAssemblyName">
<source>The assembly name '{0}' is reserved and cannot be used as a reference in an interactive session</source>
<target state="translated">Název sestavení {0} je rezervovaný a nedá se použít jako odkaz v interaktivní relaci.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ReservedEnumerator">
<source>The enumerator name '{0}' is reserved and cannot be used</source>
<target state="translated">Název čítače výčtu {0} je rezervovaný a nedá se použít.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AsMustHaveReferenceType">
<source>The as operator must be used with a reference type or nullable type ('{0}' is a non-nullable value type)</source>
<target state="translated">Operátor as je třeba použít s typem odkazu nebo s typem připouštějícím hodnotu null ({0} je typ hodnoty, který nepřipouští hodnotu null).</target>
<note />
</trans-unit>
<trans-unit id="WRN_LowercaseEllSuffix">
<source>The 'l' suffix is easily confused with the digit '1' -- use 'L' for clarity</source>
<target state="translated">Přípona l je snadno zaměnitelná s číslicí 1. V zájmu větší srozumitelnosti použijte písmeno L.</target>
<note />
</trans-unit>
<trans-unit id="WRN_LowercaseEllSuffix_Title">
<source>The 'l' suffix is easily confused with the digit '1'</source>
<target state="translated">Přípona l je snadno zaměnitelná s číslicí 1.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadEventUsageNoField">
<source>The event '{0}' can only appear on the left hand side of += or -=</source>
<target state="translated">Událost {0} se může zobrazovat jenom na levé straně výrazu += nebo -=.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConstraintOnlyAllowedOnGenericDecl">
<source>Constraints are not allowed on non-generic declarations</source>
<target state="translated">U neobecných deklarací nejsou povolená omezení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TypeParamMustBeIdentifier">
<source>Type parameter declaration must be an identifier not a type</source>
<target state="translated">Deklarace parametru typů musí být identifikátor, ne typ.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MemberReserved">
<source>Type '{1}' already reserves a member called '{0}' with the same parameter types</source>
<target state="translated">Typ {1} už rezervuje člen s názvem {0} se stejnými typy parametrů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateParamName">
<source>The parameter name '{0}' is a duplicate</source>
<target state="translated">Název parametru {0} je duplicitní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateNameInNS">
<source>The namespace '{1}' already contains a definition for '{0}'</source>
<target state="translated">Obor názvů {1} už obsahuje definici pro {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateNameInClass">
<source>The type '{0}' already contains a definition for '{1}'</source>
<target state="translated">Typ {0} už obsahuje definici pro {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NameNotInContext">
<source>The name '{0}' does not exist in the current context</source>
<target state="translated">Název {0} v aktuálním kontextu neexistuje.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NameNotInContextPossibleMissingReference">
<source>The name '{0}' does not exist in the current context (are you missing a reference to assembly '{1}'?)</source>
<target state="translated">Název {0} v aktuálním kontextu neexistuje. (Nechybí odkaz na sestavení {1}?)</target>
<note />
</trans-unit>
<trans-unit id="ERR_AmbigContext">
<source>'{0}' is an ambiguous reference between '{1}' and '{2}'</source>
<target state="translated">{0} je nejednoznačný odkaz mezi {1} a {2}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DuplicateUsing">
<source>The using directive for '{0}' appeared previously in this namespace</source>
<target state="translated">Direktiva using pro {0} se objevila už dřív v tomto oboru názvů.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DuplicateUsing_Title">
<source>Using directive appeared previously in this namespace</source>
<target state="translated">Direktiva Using se už v tomto oboru názvů objevila dříve.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadMemberFlag">
<source>The modifier '{0}' is not valid for this item</source>
<target state="translated">Modifikátor {0} není pro tuto položku platný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadMemberProtection">
<source>More than one protection modifier</source>
<target state="translated">Víc než jeden modifikátor ochrany</target>
<note />
</trans-unit>
<trans-unit id="WRN_NewRequired">
<source>'{0}' hides inherited member '{1}'. Use the new keyword if hiding was intended.</source>
<target state="translated">{0} skryje zděděný člen {1}. Pokud je skrytí úmyslné, použijte klíčové slovo new.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NewRequired_Title">
<source>Member hides inherited member; missing new keyword</source>
<target state="translated">Člen skrývá zděděný člen. Chybí klíčové slovo new.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NewRequired_Description">
<source>A variable was declared with the same name as a variable in a base type. However, the new keyword was not used. This warning informs you that you should use new; the variable is declared as if new had been used in the declaration.</source>
<target state="translated">Proměnná se deklarovala se stejným názvem jako proměnná v základním typu. Klíčové slovo new se ale nepoužilo. Toto varování vás informuje, že byste měli použít new; proměnná je deklarovaná, jako by se v deklaraci používalo new.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NewNotRequired">
<source>The member '{0}' does not hide an accessible member. The new keyword is not required.</source>
<target state="translated">Člen {0} neskrývá přístupný člen. Klíčové slovo new se nevyžaduje.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NewNotRequired_Title">
<source>Member does not hide an inherited member; new keyword is not required</source>
<target state="translated">Člen neskrývá zděděný člen. Klíčové slovo new se nevyžaduje.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CircConstValue">
<source>The evaluation of the constant value for '{0}' involves a circular definition</source>
<target state="translated">Vyhodnocení konstantní hodnoty pro {0} zahrnuje cyklickou definici.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MemberAlreadyExists">
<source>Type '{1}' already defines a member called '{0}' with the same parameter types</source>
<target state="translated">Typ {1} už definuje člen s názvem {0} se stejnými typy parametrů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_StaticNotVirtual">
<source>A static member cannot be marked as '{0}'</source>
<target state="needs-review-translation">Statický člen {0} nemůže být označený klíčovými slovy override, virtual nebo abstract.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OverrideNotNew">
<source>A member '{0}' marked as override cannot be marked as new or virtual</source>
<target state="translated">Člen {0} označený jako override nejde označit jako new nebo virtual.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NewOrOverrideExpected">
<source>'{0}' hides inherited member '{1}'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.</source>
<target state="translated">'Člen {0} skryje zděděný člen {1}. Pokud má aktuální člen tuto implementaci přepsat, přidejte klíčové slovo override. Jinak přidejte klíčové slovo new.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NewOrOverrideExpected_Title">
<source>Member hides inherited member; missing override keyword</source>
<target state="translated">Člen skrývá zděděný člen. Chybí klíčové slovo override.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OverrideNotExpected">
<source>'{0}': no suitable method found to override</source>
<target state="translated">{0}: Nenašla se vhodná metoda k přepsání.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NamespaceUnexpected">
<source>A namespace cannot directly contain members such as fields, methods or statements</source>
<target state="needs-review-translation">Obor názvů nemůže přímo obsahovat členy, jako jsou pole a metody.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoSuchMember">
<source>'{0}' does not contain a definition for '{1}'</source>
<target state="translated">{0} neobsahuje definici pro {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadSKknown">
<source>'{0}' is a {1} but is used like a {2}</source>
<target state="translated">{0} je {1}, ale používá se jako {2}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadSKunknown">
<source>'{0}' is a {1}, which is not valid in the given context</source>
<target state="translated">{0} je {1}, což není platné v daném kontextu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ObjectRequired">
<source>An object reference is required for the non-static field, method, or property '{0}'</source>
<target state="translated">Pro nestatické pole, metodu nebo vlastnost {0} se vyžaduje odkaz na objekt.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AmbigCall">
<source>The call is ambiguous between the following methods or properties: '{0}' and '{1}'</source>
<target state="translated">Volání je nejednoznačné mezi následujícími metodami nebo vlastnostmi: {0} a {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAccess">
<source>'{0}' is inaccessible due to its protection level</source>
<target state="translated">'Typ {0} je vzhledem k úrovni ochrany nepřístupný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MethDelegateMismatch">
<source>No overload for '{0}' matches delegate '{1}'</source>
<target state="translated">Žádná přetížená metoda {0} neodpovídá delegátovi {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RetObjectRequired">
<source>An object of a type convertible to '{0}' is required</source>
<target state="translated">Vyžaduje se objekt typu, který se dá převést na {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RetNoObjectRequired">
<source>Since '{0}' returns void, a return keyword must not be followed by an object expression</source>
<target state="translated">Protože {0} vrací void, nesmí za klíčovým slovem return následovat výraz objektu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_LocalDuplicate">
<source>A local variable or function named '{0}' is already defined in this scope</source>
<target state="translated">Lokální proměnná nebo funkce s názvem {0} je už v tomto oboru definovaná.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AssgLvalueExpected">
<source>The left-hand side of an assignment must be a variable, property or indexer</source>
<target state="translated">Levou stranou přiřazení musí být proměnná, vlastnost nebo indexer.</target>
<note />
</trans-unit>
<trans-unit id="ERR_StaticConstParam">
<source>'{0}': a static constructor must be parameterless</source>
<target state="translated">{0}: Statický konstruktor musí být bez parametrů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NotConstantExpression">
<source>The expression being assigned to '{0}' must be constant</source>
<target state="translated">Výraz přiřazovaný proměnné {0} musí být konstantou.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NotNullConstRefField">
<source>'{0}' is of type '{1}'. A const field of a reference type other than string can only be initialized with null.</source>
<target state="translated">{0} je typu {1}. Pole const s jiným než řetězcovým typem odkazu jde inicializovat jenom hodnotou null.</target>
<note />
</trans-unit>
<trans-unit id="ERR_LocalIllegallyOverrides">
<source>A local or parameter named '{0}' cannot be declared in this scope because that name is used in an enclosing local scope to define a local or parameter</source>
<target state="translated">Místní proměnná nebo parametr s názvem {0} se nedá deklarovat v tomto oboru, protože se tento název používá v uzavírajícím místním oboru pro definování místní proměnné nebo parametru.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadUsingNamespace">
<source>A 'using namespace' directive can only be applied to namespaces; '{0}' is a type not a namespace. Consider a 'using static' directive instead</source>
<target state="translated">Direktivu using namespace jde uplatnit jenom u oborů názvů; {0} je typ, ne obor názvů. Zkuste radši použít direktivu using static.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadUsingType">
<source>A 'using static' directive can only be applied to types; '{0}' is a namespace not a type. Consider a 'using namespace' directive instead</source>
<target state="translated">Direktiva using static se dá použít jenom u typů; {0} je obor názvů, ne typ. Zkuste radši použít direktivu using namespace.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoAliasHere">
<source>A 'using static' directive cannot be used to declare an alias</source>
<target state="translated">Direktiva using static se nedá použít k deklarování aliasu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoBreakOrCont">
<source>No enclosing loop out of which to break or continue</source>
<target state="translated">Příkazy break a continue nejsou uvedené ve smyčce.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateLabel">
<source>The label '{0}' is a duplicate</source>
<target state="translated">Návěstí {0} je duplicitní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoConstructors">
<source>The type '{0}' has no constructors defined</source>
<target state="translated">Pro typ {0} nejsou definované žádné konstruktory.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoNewAbstract">
<source>Cannot create an instance of the abstract type or interface '{0}'</source>
<target state="translated">Nejde vytvořit instanci abstraktního typu nebo rozhraní {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConstValueRequired">
<source>A const field requires a value to be provided</source>
<target state="translated">Pole const vyžaduje zadání hodnoty.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CircularBase">
<source>Circular base type dependency involving '{0}' and '{1}'</source>
<target state="translated">Prvky {0} a {1} jsou součástí cyklické závislosti základního typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadDelegateConstructor">
<source>The delegate '{0}' does not have a valid constructor</source>
<target state="translated">Delegát {0} nemá platný konstruktor.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MethodNameExpected">
<source>Method name expected</source>
<target state="translated">Očekává se název metody.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConstantExpected">
<source>A constant value is expected</source>
<target state="translated">Očekává se konstantní hodnota.</target>
<note />
</trans-unit>
<trans-unit id="ERR_V6SwitchGoverningTypeValueExpected">
<source>A switch expression or case label must be a bool, char, string, integral, enum, or corresponding nullable type in C# 6 and earlier.</source>
<target state="translated">Výraz switch nebo popisek větve musí být bool, char, string, integral, enum nebo odpovídající typ s možnou hodnotou null v jazyce C# 6 nebo starším.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IntegralTypeValueExpected">
<source>A value of an integral type expected</source>
<target state="translated">Očekává se hodnota integrálního typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateCaseLabel">
<source>The switch statement contains multiple cases with the label value '{0}'</source>
<target state="translated">Příkaz switch obsahuje víc případů s hodnotou návěstí {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidGotoCase">
<source>A goto case is only valid inside a switch statement</source>
<target state="translated">Příkaz goto case je platný jenom uvnitř příkazu switch.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PropertyLacksGet">
<source>The property or indexer '{0}' cannot be used in this context because it lacks the get accessor</source>
<target state="translated">Vlastnost nebo indexer {0} nejde v tomto kontextu použít, protože neobsahuje přistupující objekt get.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadExceptionType">
<source>The type caught or thrown must be derived from System.Exception</source>
<target state="translated">Zachycený nebo vyvolaný typ musí být odvozený od třídy System.Exception.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadEmptyThrow">
<source>A throw statement with no arguments is not allowed outside of a catch clause</source>
<target state="translated">Příkaz throw bez argumentů není povolený vně klauzule catch.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadFinallyLeave">
<source>Control cannot leave the body of a finally clause</source>
<target state="translated">Řízení nemůže opustit tělo klauzule finally.</target>
<note />
</trans-unit>
<trans-unit id="ERR_LabelShadow">
<source>The label '{0}' shadows another label by the same name in a contained scope</source>
<target state="translated">Návěstí {0} stíní v obsaženém oboru jiné návěstí se stejným názvem.</target>
<note />
</trans-unit>
<trans-unit id="ERR_LabelNotFound">
<source>No such label '{0}' within the scope of the goto statement</source>
<target state="translated">V rozsahu příkazu goto není žádné takové návěstí {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnreachableCatch">
<source>A previous catch clause already catches all exceptions of this or of a super type ('{0}')</source>
<target state="translated">Předchozí klauzule catch už zachytává všechny výjimky vyvolávané tímto typem nebo nadtypem ({0}).</target>
<note />
</trans-unit>
<trans-unit id="WRN_FilterIsConstantTrue">
<source>Filter expression is a constant 'true', consider removing the filter</source>
<target state="translated">Výraz filtru je konstantní hodnota true. Zvažte odebrání filtru.</target>
<note />
</trans-unit>
<trans-unit id="WRN_FilterIsConstantTrue_Title">
<source>Filter expression is a constant 'true'</source>
<target state="translated">Výraz filtru je konstantní hodnota true.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ReturnExpected">
<source>'{0}': not all code paths return a value</source>
<target state="translated">{0}: Ne všechny cesty kódu vrací hodnotu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnreachableCode">
<source>Unreachable code detected</source>
<target state="translated">Byl zjištěn nedosažitelný kód.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnreachableCode_Title">
<source>Unreachable code detected</source>
<target state="translated">Byl zjištěn nedosažitelný kód.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SwitchFallThrough">
<source>Control cannot fall through from one case label ('{0}') to another</source>
<target state="translated">Řízení se nedá předat z jednoho návěstí příkazu case ({0}) do jiného.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnreferencedLabel">
<source>This label has not been referenced</source>
<target state="translated">Na tuto jmenovku se neodkazuje.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnreferencedLabel_Title">
<source>This label has not been referenced</source>
<target state="translated">Na tuto jmenovku se neodkazuje.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UseDefViolation">
<source>Use of unassigned local variable '{0}'</source>
<target state="translated">Použila se nepřiřazená lokální proměnná {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnreferencedVar">
<source>The variable '{0}' is declared but never used</source>
<target state="translated">Proměnná {0} je deklarovaná, ale nikdy se nepoužívá.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnreferencedVar_Title">
<source>Variable is declared but never used</source>
<target state="translated">Proměnná je deklarovaná, ale nikdy se nepoužívá.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnreferencedField">
<source>The field '{0}' is never used</source>
<target state="translated">Pole {0} se nikdy nepoužívá.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnreferencedField_Title">
<source>Field is never used</source>
<target state="translated">Pole se nikdy nepoužívá.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UseDefViolationField">
<source>Use of possibly unassigned field '{0}'</source>
<target state="translated">Použila se možná nepřiřazené pole {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UseDefViolationProperty">
<source>Use of possibly unassigned auto-implemented property '{0}'</source>
<target state="translated">Použití pravděpodobně nepřiřazené automaticky implementované vlastnosti {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnassignedThis">
<source>Field '{0}' must be fully assigned before control is returned to the caller</source>
<target state="translated">Před předáním řízení volající proceduře musí být pole {0} plně přiřazené.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AmbigQM">
<source>Type of conditional expression cannot be determined because '{0}' and '{1}' implicitly convert to one another</source>
<target state="translated">Typ podmíněného výrazu nejde určit, protože {0} a {1} se implicitně převádějí jeden na druhého.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidQM">
<source>Type of conditional expression cannot be determined because there is no implicit conversion between '{0}' and '{1}'</source>
<target state="translated">Nejde zjistit typ podmíněného výrazu, protože mezi typy {0} a {1} nedochází k implicitnímu převodu</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoBaseClass">
<source>A base class is required for a 'base' reference</source>
<target state="translated">Pro odkaz base se vyžaduje základní typ.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BaseIllegal">
<source>Use of keyword 'base' is not valid in this context</source>
<target state="translated">Použití klíčového slova base není v tomto kontextu platné.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ObjectProhibited">
<source>Member '{0}' cannot be accessed with an instance reference; qualify it with a type name instead</source>
<target state="translated">K členovi {0} nejde přistupovat pomocí odkazu na instanci. Namísto toho použijte kvalifikaci pomocí názvu typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ParamUnassigned">
<source>The out parameter '{0}' must be assigned to before control leaves the current method</source>
<target state="translated">Parametr out {0} se musí přiřadit ještě předtím, než aktuální metoda předá řízení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidArray">
<source>Invalid rank specifier: expected ',' or ']'</source>
<target state="translated">Specifikátor rozsahu je neplatný. Očekávala se čárka (,) nebo pravá hranatá závorka ].</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExternHasBody">
<source>'{0}' cannot be extern and declare a body</source>
<target state="translated">{0} nemůže být extern a deklarovat tělo.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExternHasConstructorInitializer">
<source>'{0}' cannot be extern and have a constructor initializer</source>
<target state="translated">{0} nemůže být extern a mít inicializátor konstruktoru.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AbstractAndExtern">
<source>'{0}' cannot be both extern and abstract</source>
<target state="translated">{0} nemůže být extern i abstract.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAttributeParamType">
<source>Attribute constructor parameter '{0}' has type '{1}', which is not a valid attribute parameter type</source>
<target state="translated">Parametr {0} konstruktoru atributu má typ {1}, což není platný typ pro parametr atributu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAttributeArgument">
<source>An attribute argument must be a constant expression, typeof expression or array creation expression of an attribute parameter type</source>
<target state="translated">Argumentem atributu musí být konstantní výraz, výraz typeof nebo výraz vytvoření pole s typem parametru atributu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAttributeParamDefaultArgument">
<source>Attribute constructor parameter '{0}' is optional, but no default parameter value was specified.</source>
<target state="translated">Parametr {0} konstruktoru atributu je nepovinný, ale nebyla zadaná žádná výchozí hodnota parametru.</target>
<note />
</trans-unit>
<trans-unit id="WRN_IsAlwaysTrue">
<source>The given expression is always of the provided ('{0}') type</source>
<target state="translated">Tento výraz je vždy zadaného typu ({0}).</target>
<note />
</trans-unit>
<trans-unit id="WRN_IsAlwaysTrue_Title">
<source>'is' expression's given expression is always of the provided type</source>
<target state="translated">'Daný výraz is je vždycky zadaného typu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_IsAlwaysFalse">
<source>The given expression is never of the provided ('{0}') type</source>
<target state="translated">Tento výraz nikdy není zadaného typu ({0}).</target>
<note />
</trans-unit>
<trans-unit id="WRN_IsAlwaysFalse_Title">
<source>'is' expression's given expression is never of the provided type</source>
<target state="translated">'Daný výraz is není nikdy zadaného typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_LockNeedsReference">
<source>'{0}' is not a reference type as required by the lock statement</source>
<target state="translated">{0} není typu odkaz, jak vyžaduje příkaz lock</target>
<note />
</trans-unit>
<trans-unit id="ERR_NullNotValid">
<source>Use of null is not valid in this context</source>
<target state="translated">Použití hodnoty NULL není v tomto kontextu platné.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DefaultLiteralNotValid">
<source>Use of default literal is not valid in this context</source>
<target state="translated">Použití výchozího literálu není v tomto kontextu platné.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UseDefViolationThis">
<source>The 'this' object cannot be used before all of its fields have been assigned</source>
<target state="translated">Objekt this se nedá použít, dokud se nepřiřadí všechna jeho pole.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ArgsInvalid">
<source>The __arglist construct is valid only within a variable argument method</source>
<target state="translated">Konstrukce __arglist je platná jenom v rámci metody s proměnnými argumenty.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PtrExpected">
<source>The * or -> operator must be applied to a pointer</source>
<target state="translated">Operátor * nebo -> musí být použitý u ukazatele.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PtrIndexSingle">
<source>A pointer must be indexed by only one value</source>
<target state="translated">Ukazatel může být indexován jenom jednou hodnotou.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ByRefNonAgileField">
<source>Using '{0}' as a ref or out value or taking its address may cause a runtime exception because it is a field of a marshal-by-reference class</source>
<target state="translated">Použití prvku {0} jako hodnoty Ref nebo Out nebo převzetí jeho adresy může způsobit výjimku při běhu, protože se jedná o pole třídy marshal-by-reference.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ByRefNonAgileField_Title">
<source>Using a field of a marshal-by-reference class as a ref or out value or taking its address may cause a runtime exception</source>
<target state="translated">Použití pole třídy marshal-by-reference jako hodnoty Ref nebo Out nebo převzetí jeho adresy může způsobit běhovou výjimku.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AssgReadonlyStatic">
<source>A static readonly field cannot be assigned to (except in a static constructor or a variable initializer)</source>
<target state="translated">Do statického pole určeného jen pro čtení nejde přiřazovat (kromě případu, kdy se nachází uvnitř statického konstruktoru nebo inicializátoru proměnné).</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReadonlyStatic">
<source>A static readonly field cannot be used as a ref or out value (except in a static constructor)</source>
<target state="translated">Statické pole určené jen pro čtení nejde použít jako hodnotu Ref nebo Out (kromě případu, kdy se nachází uvnitř statického konstruktoru).</target>
<note />
</trans-unit>
<trans-unit id="ERR_AssgReadonlyProp">
<source>Property or indexer '{0}' cannot be assigned to -- it is read only</source>
<target state="translated">Vlastnost nebo indexer {0} nejde přiřadit – je jen pro čtení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IllegalStatement">
<source>Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement</source>
<target state="translated">Jako příkaz jde použít jenom objektové výrazy přiřazení, volání, zvýšení nebo snížení hodnoty nebo výrazy obsahující operátor new.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadGetEnumerator">
<source>foreach requires that the return type '{0}' of '{1}' must have a suitable public 'MoveNext' method and public 'Current' property</source>
<target state="translated">Příkaz foreach vyžaduje, aby typ vracených hodnot {0} pro {1} měl vhodnou veřejnou metodu MoveNext a veřejnou vlastnost Current.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TooManyLocals">
<source>Only 65534 locals, including those generated by the compiler, are allowed</source>
<target state="translated">Je povolených jenom 65 534 lokálních proměnných, včetně těch, které generuje kompilátor.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AbstractBaseCall">
<source>Cannot call an abstract base member: '{0}'</source>
<target state="translated">Nejde volat abstraktní základní člen: {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefProperty">
<source>A property or indexer may not be passed as an out or ref parameter</source>
<target state="translated">Vlastnost nebo indexer nejde předat jako parametr ref nebo out.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ManagedAddr">
<source>Cannot take the address of, get the size of, or declare a pointer to a managed type ('{0}')</source>
<target state="translated">Nejde převzít adresu proměnné spravovaného typu ({0}), získat její velikost nebo deklarovat ukazatel na ni.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadFixedInitType">
<source>The type of a local declared in a fixed statement must be a pointer type</source>
<target state="translated">Lokální proměnná deklarovaná v příkazu fixed musí být typu ukazatel.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FixedMustInit">
<source>You must provide an initializer in a fixed or using statement declaration</source>
<target state="translated">V deklaracích příkazů fixed a using je nutné zadat inicializátor.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidAddrOp">
<source>Cannot take the address of the given expression</source>
<target state="translated">Nejde převzít adresu daného výrazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FixedNeeded">
<source>You can only take the address of an unfixed expression inside of a fixed statement initializer</source>
<target state="translated">Adresu volného výrazu jde převzít jenom uvnitř inicializátoru příkazu fixed.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FixedNotNeeded">
<source>You cannot use the fixed statement to take the address of an already fixed expression</source>
<target state="translated">K převzetí adresy výrazu, který je už nastavený jako pevný, nejde použít příkaz fixed.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnsafeNeeded">
<source>Pointers and fixed size buffers may only be used in an unsafe context</source>
<target state="translated">Ukazatele a vyrovnávací paměti pevné velikosti jde použít jenom v nezabezpečeném kontextu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OpTFRetType">
<source>The return type of operator True or False must be bool</source>
<target state="translated">Vrácená hodnota operátorů True a False musí být typu bool.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OperatorNeedsMatch">
<source>The operator '{0}' requires a matching operator '{1}' to also be defined</source>
<target state="translated">Operátor {0} vyžaduje, aby byl definovaný i odpovídající operátor {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadBoolOp">
<source>In order to be applicable as a short circuit operator a user-defined logical operator ('{0}') must have the same return type and parameter types</source>
<target state="translated">Pokud má být uživatelem definovaný logický operátor ({0}) použitelný jako operátor zkráceného vyhodnocení, musí vracet hodnotu stejného typu a mít stejné typy parametrů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MustHaveOpTF">
<source>In order for '{0}' to be applicable as a short circuit operator, its declaring type '{1}' must define operator true and operator false</source>
<target state="translated">Aby byl {0} použitelný jako operátor zkráceného vyhodnocení, musí jeho deklarující typ {1} definovat operátor true a operátor false.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnreferencedVarAssg">
<source>The variable '{0}' is assigned but its value is never used</source>
<target state="translated">Proměnná {0} má přiřazenou hodnotu, ale nikdy se nepoužívá.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnreferencedVarAssg_Title">
<source>Variable is assigned but its value is never used</source>
<target state="translated">Proměnná má přiřazenou hodnotu, ale nikdy se nepoužívá.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CheckedOverflow">
<source>The operation overflows at compile time in checked mode</source>
<target state="translated">Během kompilace v režimu kontroly došlo k přetečení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConstOutOfRangeChecked">
<source>Constant value '{0}' cannot be converted to a '{1}' (use 'unchecked' syntax to override)</source>
<target state="translated">Konstantní hodnotu {0} nejde převést na typ {1} (k přepsání jde použít syntaxi unchecked).</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadVarargs">
<source>A method with vararg cannot be generic, be in a generic type, or have a params parameter</source>
<target state="translated">Metoda s parametrem vararg nemůže být obecná, být obecného typu nebo mít pole parametr params.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ParamsMustBeArray">
<source>The params parameter must be a single dimensional array</source>
<target state="translated">Parametr params musí být jednorozměrné pole.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IllegalArglist">
<source>An __arglist expression may only appear inside of a call or new expression</source>
<target state="translated">Výraz __arglist může být jedině uvnitř volání nebo výrazu new.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IllegalUnsafe">
<source>Unsafe code may only appear if compiling with /unsafe</source>
<target state="translated">Nebezpečný kód může vzniknout jenom při kompilaci s přepínačem /unsafe.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AmbigMember">
<source>Ambiguity between '{0}' and '{1}'</source>
<target state="translated">Došlo k nejednoznačnosti mezi metodami nebo vlastnostmi {0} a {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadForeachDecl">
<source>Type and identifier are both required in a foreach statement</source>
<target state="translated">V příkazu foreach se vyžaduje typ i identifikátor.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ParamsLast">
<source>A params parameter must be the last parameter in a formal parameter list</source>
<target state="translated">Parametr params musí být posledním parametrem v seznamu formálních parametrů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SizeofUnsafe">
<source>'{0}' does not have a predefined size, therefore sizeof can only be used in an unsafe context</source>
<target state="translated">{0} nemá předdefinovanou velikost. Operátor sizeof jde proto použít jenom v nezabezpečeném kontextu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DottedTypeNameNotFoundInNS">
<source>The type or namespace name '{0}' does not exist in the namespace '{1}' (are you missing an assembly reference?)</source>
<target state="translated">Typ nebo název oboru názvů {0} neexistuje v oboru názvů {1}. (Nechybí odkaz na sestavení?)</target>
<note />
</trans-unit>
<trans-unit id="ERR_FieldInitRefNonstatic">
<source>A field initializer cannot reference the non-static field, method, or property '{0}'</source>
<target state="translated">Inicializátor pole nemůže odkazovat na nestatické pole, metodu nebo vlastnost {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SealedNonOverride">
<source>'{0}' cannot be sealed because it is not an override</source>
<target state="translated">{0} nejde zapečetit, protože to není přepis.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantOverrideSealed">
<source>'{0}': cannot override inherited member '{1}' because it is sealed</source>
<target state="translated">{0}: Nejde přepsat zděděný člen {1}, protože je zapečetěný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_VoidError">
<source>The operation in question is undefined on void pointers</source>
<target state="translated">Příslušná operace není definovaná pro ukazatele typu void.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConditionalOnOverride">
<source>The Conditional attribute is not valid on '{0}' because it is an override method</source>
<target state="translated">Atribut Conditional není pro {0} platný, protože je to metoda override.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PointerInAsOrIs">
<source>Neither 'is' nor 'as' is valid on pointer types</source>
<target state="translated">Klíčová slova is a as nejsou platná pro ukazatele.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CallingFinalizeDeprecated">
<source>Destructors and object.Finalize cannot be called directly. Consider calling IDisposable.Dispose if available.</source>
<target state="translated">Destruktory a metodu object.Finalize nejde volat přímo. Zvažte možnost volání metody IDisposable.Dispose, pokud je k dispozici.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SingleTypeNameNotFound">
<source>The type or namespace name '{0}' could not be found (are you missing a using directive or an assembly reference?)</source>
<target state="translated">Typ nebo název oboru názvů {0} se nenašel. (Nechybí direktiva using nebo odkaz na sestavení?)</target>
<note />
</trans-unit>
<trans-unit id="ERR_NegativeStackAllocSize">
<source>Cannot use a negative size with stackalloc</source>
<target state="translated">Ve výrazu stackalloc nejde použít zápornou velikost.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NegativeArraySize">
<source>Cannot create an array with a negative size</source>
<target state="translated">Nejde vytvořit pole se zápornou velikostí.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OverrideFinalizeDeprecated">
<source>Do not override object.Finalize. Instead, provide a destructor.</source>
<target state="translated">Nepřepisujte metodu object.Finalize. Raději použijte destruktor.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CallingBaseFinalizeDeprecated">
<source>Do not directly call your base type Finalize method. It is called automatically from your destructor.</source>
<target state="translated">Nevolejte přímo metodu Finalize základního typu. Tuto metodu volá automaticky destruktor.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NegativeArrayIndex">
<source>Indexing an array with a negative index (array indices always start at zero)</source>
<target state="translated">Došlo k indexování pole záporným indexem (indexy polí vždy začínají hodnotou 0).</target>
<note />
</trans-unit>
<trans-unit id="WRN_NegativeArrayIndex_Title">
<source>Indexing an array with a negative index</source>
<target state="translated">Došlo k indexování pole záporným indexem.</target>
<note />
</trans-unit>
<trans-unit id="WRN_BadRefCompareLeft">
<source>Possible unintended reference comparison; to get a value comparison, cast the left hand side to type '{0}'</source>
<target state="translated">Možná došlo k neúmyslnému porovnání ukazatelů; chcete-li porovnat hodnoty, přetypujte levou stranu na typ {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_BadRefCompareLeft_Title">
<source>Possible unintended reference comparison; left hand side needs cast</source>
<target state="translated">Pravděpodobně došlo k neúmyslnému porovnání odkazů. Je třeba přetypovat levou stranu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_BadRefCompareRight">
<source>Possible unintended reference comparison; to get a value comparison, cast the right hand side to type '{0}'</source>
<target state="translated">Možná došlo k neúmyslnému porovnání ukazatelů; chcete-li porovnat hodnoty, přetypujte pravou stranu na typ {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_BadRefCompareRight_Title">
<source>Possible unintended reference comparison; right hand side needs cast</source>
<target state="translated">Pravděpodobně došlo k neúmyslnému porovnání odkazů. Je třeba přetypovat pravou stranu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadCastInFixed">
<source>The right hand side of a fixed statement assignment may not be a cast expression</source>
<target state="translated">Pravá strana přiřazení příkazu fixed nemůže být výrazem přetypování.</target>
<note />
</trans-unit>
<trans-unit id="ERR_StackallocInCatchFinally">
<source>stackalloc may not be used in a catch or finally block</source>
<target state="translated">Výraz stackalloc nejde použít v bloku catch nebo finally.</target>
<note />
</trans-unit>
<trans-unit id="ERR_VarargsLast">
<source>An __arglist parameter must be the last parameter in a formal parameter list</source>
<target state="translated">Parametr __arglist musí být posledním parametrem v seznamu formálních parametrů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MissingPartial">
<source>Missing partial modifier on declaration of type '{0}'; another partial declaration of this type exists</source>
<target state="translated">Chybí částečný modifikátor deklarace typu {0}; existuje jiná částečná deklarace tohoto typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialTypeKindConflict">
<source>Partial declarations of '{0}' must be all classes, all record classes, all structs, all record structs, or all interfaces</source>
<target state="needs-review-translation">Částečné deklarace {0} musí být jen třídy, jen záznamy, jen struktury, nebo jen rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialModifierConflict">
<source>Partial declarations of '{0}' have conflicting accessibility modifiers</source>
<target state="translated">Částečné deklarace {0} mají konfliktní modifikátory dostupnosti.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMultipleBases">
<source>Partial declarations of '{0}' must not specify different base classes</source>
<target state="translated">Částečné deklarace {0} nesmí určovat různé základní třídy.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialWrongTypeParams">
<source>Partial declarations of '{0}' must have the same type parameter names in the same order</source>
<target state="translated">Částečné deklarace {0} musí mít stejné názvy parametrů typů ve stejném pořadí.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialWrongConstraints">
<source>Partial declarations of '{0}' have inconsistent constraints for type parameter '{1}'</source>
<target state="translated">Částečné deklarace {0} mají nekonzistentní omezení parametru typu {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoImplicitConvCast">
<source>Cannot implicitly convert type '{0}' to '{1}'. An explicit conversion exists (are you missing a cast?)</source>
<target state="translated">Typ {0} nejde implicitně převést na typ {1}. Existuje explicitní převod. (Nechybí výraz přetypování?)</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMisplaced">
<source>The 'partial' modifier can only appear immediately before 'class', 'record', 'struct', 'interface', or a method return type.</source>
<target state="translated">Modifikátor partial se může objevit jen bezprostředně před klíčovými slovy class, record, struct, interface nebo návratovým typem metody.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImportedCircularBase">
<source>Imported type '{0}' is invalid. It contains a circular base type dependency.</source>
<target state="translated">Importovaný typ {0} je neplatný. Obsahuje cyklickou závislost základních typů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UseDefViolationOut">
<source>Use of unassigned out parameter '{0}'</source>
<target state="translated">Použil se nepřiřazený parametr out {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ArraySizeInDeclaration">
<source>Array size cannot be specified in a variable declaration (try initializing with a 'new' expression)</source>
<target state="translated">Velikost pole nejde určit v deklaraci proměnné (zkuste inicializaci pomocí výrazu new).</target>
<note />
</trans-unit>
<trans-unit id="ERR_InaccessibleGetter">
<source>The property or indexer '{0}' cannot be used in this context because the get accessor is inaccessible</source>
<target state="translated">Vlastnost nebo indexer {0} nejde v tomto kontextu použít, protože přistupující objekt get není dostupný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InaccessibleSetter">
<source>The property or indexer '{0}' cannot be used in this context because the set accessor is inaccessible</source>
<target state="translated">Vlastnost nebo indexer {0} nejde v tomto kontextu použít, protože přistupující objekt jet není dostupný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidPropertyAccessMod">
<source>The accessibility modifier of the '{0}' accessor must be more restrictive than the property or indexer '{1}'</source>
<target state="translated">Modifikátor dostupnosti přistupujícího objektu {0} musí být více omezující než vlastnost nebo indexer {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicatePropertyAccessMods">
<source>Cannot specify accessibility modifiers for both accessors of the property or indexer '{0}'</source>
<target state="translated">Nejde zadat modifikátory dostupnosti pro přistupující objekty jak vlastnosti, tak i indexer {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AccessModMissingAccessor">
<source>'{0}': accessibility modifiers on accessors may only be used if the property or indexer has both a get and a set accessor</source>
<target state="translated">{0}: Modifikátory přístupnosti u přistupujících objektů se můžou používat, jenom pokud vlastnost nebo indexeru má přistupující objekt get i set.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnimplementedInterfaceAccessor">
<source>'{0}' does not implement interface member '{1}'. '{2}' is not public.</source>
<target state="translated">{0} neimplementuje člen rozhraní {1}. {2} není veřejný.</target>
<note />
</trans-unit>
<trans-unit id="WRN_PatternIsAmbiguous">
<source>'{0}' does not implement the '{1}' pattern. '{2}' is ambiguous with '{3}'.</source>
<target state="translated">{0} neimplementuje vzorek {1}. {2} je nejednoznačný vzhledem k: {3}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_PatternIsAmbiguous_Title">
<source>Type does not implement the collection pattern; members are ambiguous</source>
<target state="translated">Typ neimplementuje vzorek kolekce. Členové nejsou jednoznační.</target>
<note />
</trans-unit>
<trans-unit id="WRN_PatternBadSignature">
<source>'{0}' does not implement the '{1}' pattern. '{2}' has the wrong signature.</source>
<target state="translated">{0} neimplementuje vzorek {1}. {2} nemá správný podpis.</target>
<note />
</trans-unit>
<trans-unit id="WRN_PatternBadSignature_Title">
<source>Type does not implement the collection pattern; member has the wrong signature</source>
<target state="translated">Typ neimplementuje vzorek kolekce. Člen nemá správný podpis.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FriendRefNotEqualToThis">
<source>Friend access was granted by '{0}', but the public key of the output assembly ('{1}') does not match that specified by the InternalsVisibleTo attribute in the granting assembly.</source>
<target state="translated">Sestavení {0} udělilo přístup typu Friend, ale veřejný klíč výstupního sestavení ({1}) neodpovídá klíči určenému atributem InternalsVisibleTo v udělujícím sestavení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FriendRefSigningMismatch">
<source>Friend access was granted by '{0}', but the strong name signing state of the output assembly does not match that of the granting assembly.</source>
<target state="translated">Sestavení {0} udělilo přístup typu Friend, ale stav podepsání silného názvu u výstupního sestavení neodpovídá stavu udělujícího sestavení.</target>
<note />
</trans-unit>
<trans-unit id="WRN_SequentialOnPartialClass">
<source>There is no defined ordering between fields in multiple declarations of partial struct '{0}'. To specify an ordering, all instance fields must be in the same declaration.</source>
<target state="translated">Mezi poli více deklarací částečné třídy nebo struktury {0} není žádné definované řazení. Pokud chcete zadat řazení, musí být všechna pole instancí ve stejné deklaraci.</target>
<note />
</trans-unit>
<trans-unit id="WRN_SequentialOnPartialClass_Title">
<source>There is no defined ordering between fields in multiple declarations of partial struct</source>
<target state="translated">Není nadefinované řazení mezi poli ve více deklaracích částečné struktury.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadConstType">
<source>The type '{0}' cannot be declared const</source>
<target state="translated">Typ {0} nemůže být deklarovaný jako const.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoNewTyvar">
<source>Cannot create an instance of the variable type '{0}' because it does not have the new() constraint</source>
<target state="translated">Nejde vytvořit instanci proměnné typu {0}, protože nemá omezení new().</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadArity">
<source>Using the generic {1} '{0}' requires {2} type arguments</source>
<target state="translated">Použití obecného prvku {1} {0} vyžaduje tento počet argumentů typů: {2}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadTypeArgument">
<source>The type '{0}' may not be used as a type argument</source>
<target state="translated">Typ {0} nejde použít jako argument typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TypeArgsNotAllowed">
<source>The {1} '{0}' cannot be used with type arguments</source>
<target state="translated">{1} {0} nejde použít s argumenty typů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_HasNoTypeVars">
<source>The non-generic {1} '{0}' cannot be used with type arguments</source>
<target state="translated">Neobecnou možnost {1} {0} nejde použít s argumenty typů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NewConstraintNotSatisfied">
<source>'{2}' must be a non-abstract type with a public parameterless constructor in order to use it as parameter '{1}' in the generic type or method '{0}'</source>
<target state="translated">'Objekt {2} musí být neabstraktního typu s veřejným konstruktorem bez parametrů, jinak jej nejde použít jako parametr {1} v obecném typu nebo metodě {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_GenericConstraintNotSatisfiedRefType">
<source>The type '{3}' cannot be used as type parameter '{2}' in the generic type or method '{0}'. There is no implicit reference conversion from '{3}' to '{1}'.</source>
<target state="translated">Typ {3} nejde použít jako parametr typu {2} v obecném typu nebo metodě {0}. Neexistuje žádný implicitní převod odkazu z {3} na {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_GenericConstraintNotSatisfiedNullableEnum">
<source>The type '{3}' cannot be used as type parameter '{2}' in the generic type or method '{0}'. The nullable type '{3}' does not satisfy the constraint of '{1}'.</source>
<target state="translated">Typ {3} nejde použít jako parametr typu {2} v obecném typu nebo metodě {0}. Typ {3} s možnou hodnotou null nevyhovuje omezení {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_GenericConstraintNotSatisfiedNullableInterface">
<source>The type '{3}' cannot be used as type parameter '{2}' in the generic type or method '{0}'. The nullable type '{3}' does not satisfy the constraint of '{1}'. Nullable types can not satisfy any interface constraints.</source>
<target state="translated">Typ {3} nejde použít jako parametr typu {2} v obecném typu nebo metodě {0}. Typ {3} s možnou hodnotou null nevyhovuje omezení {1}. Typy s možnou hodnotou null nemůžou vyhovět žádným omezením rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_GenericConstraintNotSatisfiedTyVar">
<source>The type '{3}' cannot be used as type parameter '{2}' in the generic type or method '{0}'. There is no boxing conversion or type parameter conversion from '{3}' to '{1}'.</source>
<target state="translated">Typ {3} nejde použít jako parametr typu {2} v obecném typu nebo metodě {0}. Neexistuje žádný převod na uzavřené určení ani převod typu parametru z {3} na {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_GenericConstraintNotSatisfiedValType">
<source>The type '{3}' cannot be used as type parameter '{2}' in the generic type or method '{0}'. There is no boxing conversion from '{3}' to '{1}'.</source>
<target state="translated">Typ {3} nejde použít jako parametr typu {2} v obecném typu nebo metodě {0}. Neexistuje žádný převod na uzavřené určení z {3} na {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateGeneratedName">
<source>The parameter name '{0}' conflicts with an automatically-generated parameter name</source>
<target state="translated">Název parametru {0} je v konfliktu s automaticky generovaným názvem parametru.</target>
<note />
</trans-unit>
<trans-unit id="ERR_GlobalSingleTypeNameNotFound">
<source>The type or namespace name '{0}' could not be found in the global namespace (are you missing an assembly reference?)</source>
<target state="translated">Typ nebo název oboru názvů {0} se nenašel v globálním oboru názvů. (Nechybí odkaz na sestavení?)</target>
<note />
</trans-unit>
<trans-unit id="ERR_NewBoundMustBeLast">
<source>The new() constraint must be the last constraint specified</source>
<target state="translated">Omezení new() musí být poslední zadané omezení.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MainCantBeGeneric">
<source>'{0}': an entry point cannot be generic or in a generic type</source>
<target state="translated">{0}: Vstupní bod nemůže být obecný nebo v obecném typu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MainCantBeGeneric_Title">
<source>An entry point cannot be generic or in a generic type</source>
<target state="translated">Vstupní bod nemůže být obecný nebo v obecném typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TypeVarCantBeNull">
<source>Cannot convert null to type parameter '{0}' because it could be a non-nullable value type. Consider using 'default({0})' instead.</source>
<target state="translated">Hodnotu Null nejde převést na parametr typu {0}, protože by se mohlo jednat o typ, který nemůže mít hodnotu null. Zvažte možnost použití výrazu default({0}).</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateBound">
<source>Duplicate constraint '{0}' for type parameter '{1}'</source>
<target state="translated">Duplicitní omezení {0} pro parametru typu {1}</target>
<note />
</trans-unit>
<trans-unit id="ERR_ClassBoundNotFirst">
<source>The class type constraint '{0}' must come before any other constraints</source>
<target state="translated">Omezení typu třídy {0} musí předcházet všem dalším omezením.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadRetType">
<source>'{1} {0}' has the wrong return type</source>
<target state="translated">{1} {0} má nesprávný návratový typ.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DelegateRefMismatch">
<source>Ref mismatch between '{0}' and delegate '{1}'</source>
<target state="translated">Mezi {0} a delegátem {1} se neshoduje odkaz.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateConstraintClause">
<source>A constraint clause has already been specified for type parameter '{0}'. All of the constraints for a type parameter must be specified in a single where clause.</source>
<target state="translated">Klauzule omezení už byla přidaná pro parametr typu {0}. Všechna omezení pro parametr typu musí být zadaná v jediné klauzuli where.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantInferMethTypeArgs">
<source>The type arguments for method '{0}' cannot be inferred from the usage. Try specifying the type arguments explicitly.</source>
<target state="translated">Argumenty typu pro metodu {0} nejde stanovit z použití. Zadejte argumenty typu explicitně.</target>
<note />
</trans-unit>
<trans-unit id="ERR_LocalSameNameAsTypeParam">
<source>'{0}': a parameter, local variable, or local function cannot have the same name as a method type parameter</source>
<target state="translated">{0}: Parametr, místní proměnná nebo místní funkce nemůžou mít stejný název jako parametr typů metod.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AsWithTypeVar">
<source>The type parameter '{0}' cannot be used with the 'as' operator because it does not have a class type constraint nor a 'class' constraint</source>
<target state="translated">Parametr typu {0} nejde používat s operátorem as, protože nemá omezení typu třída ani omezení class.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnreferencedFieldAssg">
<source>The field '{0}' is assigned but its value is never used</source>
<target state="translated">Pole {0} má přiřazenou hodnotu, ale nikdy se nepoužívá.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnreferencedFieldAssg_Title">
<source>Field is assigned but its value is never used</source>
<target state="translated">Pole má přiřazenou hodnotu, ale nikdy se nepoužívá.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadIndexerNameAttr">
<source>The '{0}' attribute is valid only on an indexer that is not an explicit interface member declaration</source>
<target state="translated">Atribut {0} je platný jenom pro indexer, který nepředstavuje explicitní deklaraci člena rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AttrArgWithTypeVars">
<source>'{0}': an attribute argument cannot use type parameters</source>
<target state="translated">{0}: Argument atributu nemůže používat parametry typů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NewTyvarWithArgs">
<source>'{0}': cannot provide arguments when creating an instance of a variable type</source>
<target state="translated">{0}: Při vytváření instance typu proměnné nejde zadat argumenty.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AbstractSealedStatic">
<source>'{0}': an abstract type cannot be sealed or static</source>
<target state="translated">{0}: Abstraktní typ nemůže být sealed ani static.</target>
<note />
</trans-unit>
<trans-unit id="WRN_AmbiguousXMLReference">
<source>Ambiguous reference in cref attribute: '{0}'. Assuming '{1}', but could have also matched other overloads including '{2}'.</source>
<target state="translated">Nejednoznačný odkaz v atributu cref: {0}. Předpokládá se {1}, ale mohla se najít shoda s dalšími přetíženími, včetně {2}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_AmbiguousXMLReference_Title">
<source>Ambiguous reference in cref attribute</source>
<target state="translated">Nejednoznačný odkaz v atributu cref</target>
<note />
</trans-unit>
<trans-unit id="WRN_VolatileByRef">
<source>'{0}': a reference to a volatile field will not be treated as volatile</source>
<target state="translated">{0}: Odkaz na pole s modifikátorem volatile se nezpracuje jako volatile.</target>
<note />
</trans-unit>
<trans-unit id="WRN_VolatileByRef_Title">
<source>A reference to a volatile field will not be treated as volatile</source>
<target state="translated">Odkaz na pole s modifikátorem volatile se nezpracuje jako volatile.</target>
<note />
</trans-unit>
<trans-unit id="WRN_VolatileByRef_Description">
<source>A volatile field should not normally be used as a ref or out value, since it will not be treated as volatile. There are exceptions to this, such as when calling an interlocked API.</source>
<target state="translated">Pole s modifikátorem volatile by se normálně mělo používat jako hodnota Ref nebo Out, protože se s ním nebude zacházet jako s nestálým. Pro toto pravidlo platí výjimky, například při volání propojeného API.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ComImportWithImpl">
<source>Since '{1}' has the ComImport attribute, '{0}' must be extern or abstract</source>
<target state="translated">Protože {1} má atribut ComImport, {0} musí být externí nebo abstraktní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ComImportWithBase">
<source>'{0}': a class with the ComImport attribute cannot specify a base class</source>
<target state="translated">{0}: Třída s atributem ComImport nemůže určovat základní třídu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImplBadConstraints">
<source>The constraints for type parameter '{0}' of method '{1}' must match the constraints for type parameter '{2}' of interface method '{3}'. Consider using an explicit interface implementation instead.</source>
<target state="translated">Omezení pro parametr typu {0} metody {1} se musí shodovat s omezeními u parametru typu {2} metody rozhraní {3}. Místo toho zvažte použití explicitní implementace rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImplBadTupleNames">
<source>The tuple element names in the signature of method '{0}' must match the tuple element names of interface method '{1}' (including on the return type).</source>
<target state="translated">Názvy prvků řazené kolekce členů v signatuře metody {0} se musí shodovat s názvy prvků řazené kolekce členů metody rozhraní {1} (a zároveň u návratového typu).</target>
<note />
</trans-unit>
<trans-unit id="ERR_DottedTypeNameNotFoundInAgg">
<source>The type name '{0}' does not exist in the type '{1}'</source>
<target state="translated">Název typu {0} neexistuje v typu {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MethGrpToNonDel">
<source>Cannot convert method group '{0}' to non-delegate type '{1}'. Did you intend to invoke the method?</source>
<target state="translated">Nejde převést skupinu metod {0} na nedelegující typ {1}. Chtěli jste volat tuto metodu?</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadExternAlias">
<source>The extern alias '{0}' was not specified in a /reference option</source>
<target state="translated">Externí alias {0} nebyl zadaný jako možnost /reference.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ColColWithTypeAlias">
<source>Cannot use alias '{0}' with '::' since the alias references a type. Use '.' instead.</source>
<target state="translated">Zápis aliasu {0} se dvěma dvojtečkami (::) nejde použít, protože alias odkazuje na typ. Místo toho použijte zápis s tečkou (.).</target>
<note />
</trans-unit>
<trans-unit id="ERR_AliasNotFound">
<source>Alias '{0}' not found</source>
<target state="translated">Alias {0} se nenašel.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SameFullNameAggAgg">
<source>The type '{1}' exists in both '{0}' and '{2}'</source>
<target state="translated">Typ {1} existuje v {0} i {2}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SameFullNameNsAgg">
<source>The namespace '{1}' in '{0}' conflicts with the type '{3}' in '{2}'</source>
<target state="translated">Obor názvů {1} v {0} je v konfliktu s typem {3} v {2}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_SameFullNameThisNsAgg">
<source>The namespace '{1}' in '{0}' conflicts with the imported type '{3}' in '{2}'. Using the namespace defined in '{0}'.</source>
<target state="translated">Obor názvů {1} v {0} je v konfliktu s importovaným typem {3} v {2}. Použije se obor názvů definovaný v {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_SameFullNameThisNsAgg_Title">
<source>Namespace conflicts with imported type</source>
<target state="translated">Obor názvů je v konfliktu s importovaným typem.</target>
<note />
</trans-unit>
<trans-unit id="WRN_SameFullNameThisAggAgg">
<source>The type '{1}' in '{0}' conflicts with the imported type '{3}' in '{2}'. Using the type defined in '{0}'.</source>
<target state="translated">Typ {1} v {0} je v konfliktu s importovaným typem {3} v {2}. Použije se typ definovaný v {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_SameFullNameThisAggAgg_Title">
<source>Type conflicts with imported type</source>
<target state="translated">Typ je v konfliktu s importovaným typem.</target>
<note />
</trans-unit>
<trans-unit id="WRN_SameFullNameThisAggNs">
<source>The type '{1}' in '{0}' conflicts with the imported namespace '{3}' in '{2}'. Using the type defined in '{0}'.</source>
<target state="translated">Typ {1} v {0} je v konfliktu s importovaným oborem názvů {3} v {2}. Použije se typ definovaný v {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_SameFullNameThisAggNs_Title">
<source>Type conflicts with imported namespace</source>
<target state="translated">Typ je v konfliktu s importovaným oborem názvů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SameFullNameThisAggThisNs">
<source>The type '{1}' in '{0}' conflicts with the namespace '{3}' in '{2}'</source>
<target state="translated">Typ {1} v {0} je v konfliktu s oborem názvů {3} v {2}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExternAfterElements">
<source>An extern alias declaration must precede all other elements defined in the namespace</source>
<target state="translated">Deklarace externího aliasu musí předcházet všem ostatním prvkům definovaným v oboru názvů.</target>
<note />
</trans-unit>
<trans-unit id="WRN_GlobalAliasDefn">
<source>Defining an alias named 'global' is ill-advised since 'global::' always references the global namespace and not an alias</source>
<target state="translated">Definování aliasu s názvem global se nedoporučuje, protože global:: vždycky odkazuje na globální obor názvů, ne na alias.</target>
<note />
</trans-unit>
<trans-unit id="WRN_GlobalAliasDefn_Title">
<source>Defining an alias named 'global' is ill-advised</source>
<target state="translated">Definování aliasu s názvem global se nedoporučuje.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SealedStaticClass">
<source>'{0}': a type cannot be both static and sealed</source>
<target state="translated">{0}: Typ nemůže být zároveň statický i zapečetěný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PrivateAbstractAccessor">
<source>'{0}': abstract properties cannot have private accessors</source>
<target state="translated">{0}: Abstraktní vlastnosti nemůžou mít privátní přistupující objekty.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ValueExpected">
<source>Syntax error; value expected</source>
<target state="translated">Chyba syntaxe: Očekávala se hodnota.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnboxNotLValue">
<source>Cannot modify the result of an unboxing conversion</source>
<target state="translated">Nejde změnit výsledek unboxingového převodu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AnonMethGrpInForEach">
<source>Foreach cannot operate on a '{0}'. Did you intend to invoke the '{0}'?</source>
<target state="translated">Příkaz foreach nejde použít pro {0}. Měli jste v úmyslu vyvolat {0}?</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadIncDecRetType">
<source>The return type for ++ or -- operator must match the parameter type or be derived from the parameter type</source>
<target state="translated">Typ vrácené hodnoty operátorů ++ a -- musí odpovídat danému typu parametru nebo z něho musí být odvozený.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefValBoundWithClass">
<source>'{0}': cannot specify both a constraint class and the 'class' or 'struct' constraint</source>
<target state="translated">{0}: Nejde zadat třídu omezení a zároveň omezení class nebo struct.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NewBoundWithVal">
<source>The 'new()' constraint cannot be used with the 'struct' constraint</source>
<target state="translated">Omezení new() nejde používat s omezením struct.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefConstraintNotSatisfied">
<source>The type '{2}' must be a reference type in order to use it as parameter '{1}' in the generic type or method '{0}'</source>
<target state="translated">Typ {2} musí být typ odkazu, aby ho bylo možné používat jako parametr {1} v obecném typu nebo metodě {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ValConstraintNotSatisfied">
<source>The type '{2}' must be a non-nullable value type in order to use it as parameter '{1}' in the generic type or method '{0}'</source>
<target state="translated">Typ {2} musí být typ, který nemůže mít hodnotu null, aby ho bylo možné používat jako parametr {1} v obecném typu nebo metodě {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CircularConstraint">
<source>Circular constraint dependency involving '{0}' and '{1}'</source>
<target state="translated">Cyklická závislost omezení zahrnující {0} a {1}</target>
<note />
</trans-unit>
<trans-unit id="ERR_BaseConstraintConflict">
<source>Type parameter '{0}' inherits conflicting constraints '{1}' and '{2}'</source>
<target state="translated">Parametr typu {0} dědí konfliktní omezení {1} a {2}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConWithValCon">
<source>Type parameter '{1}' has the 'struct' constraint so '{1}' cannot be used as a constraint for '{0}'</source>
<target state="translated">Parametr typu {1} má omezení struct, takže není možné používat {1} jako omezení pro {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AmbigUDConv">
<source>Ambiguous user defined conversions '{0}' and '{1}' when converting from '{2}' to '{3}'</source>
<target state="translated">Při převodu typu {2} na typ {3} došlo k uživatelem definovaným nejednoznačným převodům typu {0} na typ {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_AlwaysNull">
<source>The result of the expression is always 'null' of type '{0}'</source>
<target state="translated">Výsledek výrazu je vždy hodnota null typu {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_AlwaysNull_Title">
<source>The result of the expression is always 'null'</source>
<target state="translated">Výsledek výrazu je vždycky null.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturnThis">
<source>Cannot return 'this' by reference.</source>
<target state="translated">Nejde vrátit this pomocí odkazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AttributeCtorInParameter">
<source>Cannot use attribute constructor '{0}' because it has 'in' parameters.</source>
<target state="translated">Nejde použít konstruktor atributu {0}, protože má parametry in.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OverrideWithConstraints">
<source>Constraints for override and explicit interface implementation methods are inherited from the base method, so they cannot be specified directly, except for either a 'class', or a 'struct' constraint.</source>
<target state="translated">Omezení pro metody přepsání a explicitní implementace rozhraní se dědí ze základní metody, nejde je tedy zadat přímo, s výjimkou omezení class nebo struct.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AmbigOverride">
<source>The inherited members '{0}' and '{1}' have the same signature in type '{2}', so they cannot be overridden</source>
<target state="translated">Zděděné členy {0} a {1} mají stejný podpis v typu {2}, takže je nejde přepsat.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DecConstError">
<source>Evaluation of the decimal constant expression failed</source>
<target state="translated">Vyhodnocování výrazu desítkové konstanty se nepovedlo.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CmpAlwaysFalse">
<source>Comparing with null of type '{0}' always produces 'false'</source>
<target state="translated">Výsledkem porovnání s hodnotou null typu {0} je vždycky false.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CmpAlwaysFalse_Title">
<source>Comparing with null of struct type always produces 'false'</source>
<target state="translated">Výsledkem porovnání s typem struct je vždycky false.</target>
<note />
</trans-unit>
<trans-unit id="WRN_FinalizeMethod">
<source>Introducing a 'Finalize' method can interfere with destructor invocation. Did you intend to declare a destructor?</source>
<target state="translated">Zavedení metody Finalize může vést k potížím s voláním destruktoru. Měli jste v úmyslu deklarovat destruktor?</target>
<note />
</trans-unit>
<trans-unit id="WRN_FinalizeMethod_Title">
<source>Introducing a 'Finalize' method can interfere with destructor invocation</source>
<target state="translated">Zavedení metody Finalize se může rušit s vyvoláním destruktoru.</target>
<note />
</trans-unit>
<trans-unit id="WRN_FinalizeMethod_Description">
<source>This warning occurs when you create a class with a method whose signature is public virtual void Finalize.
If such a class is used as a base class and if the deriving class defines a destructor, the destructor will override the base class Finalize method, not Finalize.</source>
<target state="translated">Toto varování se objeví, pokud vytvoříte třídu s metodou, jejíž podpis je veřejný virtuální void Finalize.
Pokud se taková třída používá jako základní třída a pokud odvozující třída definuje destruktor, přepíše tento destruktor metodu Finalize základní třídy, ne samotné Finalize.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExplicitImplParams">
<source>'{0}' should not have a params parameter since '{1}' does not</source>
<target state="translated">'Pro {0} by neměl být nastavený parametr params, protože {1} ho nemá.</target>
<note />
</trans-unit>
<trans-unit id="WRN_GotoCaseShouldConvert">
<source>The 'goto case' value is not implicitly convertible to type '{0}'</source>
<target state="translated">Hodnotu goto case nejde implicitně převést na typ {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_GotoCaseShouldConvert_Title">
<source>The 'goto case' value is not implicitly convertible to the switch type</source>
<target state="translated">Hodnotu goto case nejde implicitně převést na typ přepínače.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MethodImplementingAccessor">
<source>Method '{0}' cannot implement interface accessor '{1}' for type '{2}'. Use an explicit interface implementation.</source>
<target state="translated">Metoda {0} nemůže implementovat přistupující objekt rozhraní {1} pro typ {2}. Použijte explicitní implementaci rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NubExprIsConstBool">
<source>The result of the expression is always '{0}' since a value of type '{1}' is never equal to 'null' of type '{2}'</source>
<target state="translated">Výsledek výrazu je vždycky {0}, protože hodnota typu {1} se nikdy nerovná hodnotě null typu {2}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NubExprIsConstBool_Title">
<source>The result of the expression is always the same since a value of this type is never equal to 'null'</source>
<target state="translated">Výsledek výrazu je vždycky stejný, protože hodnota tohoto typu se nikdy nerovná hodnotě null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NubExprIsConstBool2">
<source>The result of the expression is always '{0}' since a value of type '{1}' is never equal to 'null' of type '{2}'</source>
<target state="translated">Výsledek výrazu je vždycky {0}, protože hodnota typu {1} se nikdy nerovná hodnotě null typu {2}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NubExprIsConstBool2_Title">
<source>The result of the expression is always the same since a value of this type is never equal to 'null'</source>
<target state="translated">Výsledek výrazu je vždycky stejný, protože hodnota tohoto typu se nikdy nerovná hodnotě null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ExplicitImplCollision">
<source>Explicit interface implementation '{0}' matches more than one interface member. Which interface member is actually chosen is implementation-dependent. Consider using a non-explicit implementation instead.</source>
<target state="translated">Explicitní implementace rozhraní {0} odpovídá víc než jednomu členovi rozhraní. Konkrétní výběr člena rozhraní závisí na implementaci. Zvažte možnost použití neexplicitní implementace.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ExplicitImplCollision_Title">
<source>Explicit interface implementation matches more than one interface member</source>
<target state="translated">Explicitní implementace rozhraní se shoduje s víc než jedním členem rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AbstractHasBody">
<source>'{0}' cannot declare a body because it is marked abstract</source>
<target state="translated">{0} nemůže deklarovat tělo, protože je označené jako abstraktní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConcreteMissingBody">
<source>'{0}' must declare a body because it is not marked abstract, extern, or partial</source>
<target state="translated">{0} musí deklarovat tělo, protože je označené jako abstraktní, externí nebo částečné.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AbstractAndSealed">
<source>'{0}' cannot be both abstract and sealed</source>
<target state="translated">{0} nemůže být extern i sealed.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AbstractNotVirtual">
<source>The abstract {0} '{1}' cannot be marked virtual</source>
<target state="translated">Abstraktní {0} {1} nelze označit jako virtuální.</target>
<note />
</trans-unit>
<trans-unit id="ERR_StaticConstant">
<source>The constant '{0}' cannot be marked static</source>
<target state="translated">Konstanta {0} nemůže být označená jako statická.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantOverrideNonFunction">
<source>'{0}': cannot override because '{1}' is not a function</source>
<target state="translated">{0}: Nejde přepsat, protože {1} není funkce.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantOverrideNonVirtual">
<source>'{0}': cannot override inherited member '{1}' because it is not marked virtual, abstract, or override</source>
<target state="translated">{0}: Nejde přepsat zděděný člen {1}, protože není označený jako virtuální, abstraktní nebo přepis.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantChangeAccessOnOverride">
<source>'{0}': cannot change access modifiers when overriding '{1}' inherited member '{2}'</source>
<target state="translated">{0}: Při přepsání {1} zděděného členu {2} nejde měnit modifikátory přístupu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantChangeTupleNamesOnOverride">
<source>'{0}': cannot change tuple element names when overriding inherited member '{1}'</source>
<target state="translated">{0}: při přepisu zděděného člena {1} nelze změnit prvek řazené kolekce členů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantChangeReturnTypeOnOverride">
<source>'{0}': return type must be '{2}' to match overridden member '{1}'</source>
<target state="translated">{0}: Návratový typ musí být {2}, aby odpovídal přepsanému členu {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantDeriveFromSealedType">
<source>'{0}': cannot derive from sealed type '{1}'</source>
<target state="translated">{0}: Nejde odvozovat ze zapečetěného typu {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AbstractInConcreteClass">
<source>'{0}' is abstract but it is contained in non-abstract type '{1}'</source>
<target state="translated">{0} je abstraktní, ale je obsažená v neabstraktním typu {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_StaticConstructorWithExplicitConstructorCall">
<source>'{0}': static constructor cannot have an explicit 'this' or 'base' constructor call</source>
<target state="translated">{0}: Statický konstruktor nemůže používat explicitní volání konstruktoru this nebo base.</target>
<note />
</trans-unit>
<trans-unit id="ERR_StaticConstructorWithAccessModifiers">
<source>'{0}': access modifiers are not allowed on static constructors</source>
<target state="translated">{0}: Modifikátory přístupu nejsou povolené pro statické konstruktory.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RecursiveConstructorCall">
<source>Constructor '{0}' cannot call itself</source>
<target state="translated">Konstruktor {0} nemůže volat sám sebe.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IndirectRecursiveConstructorCall">
<source>Constructor '{0}' cannot call itself through another constructor</source>
<target state="translated">Konstruktor {0} nemůže volat sám sebe přes jiný konstruktor.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ObjectCallingBaseConstructor">
<source>'{0}' has no base class and cannot call a base constructor</source>
<target state="translated">{0} nemá žádnou základní třídu a nemůže volat konstruktor base.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PredefinedTypeNotFound">
<source>Predefined type '{0}' is not defined or imported</source>
<target state="translated">Předdefinovaný typ {0} není definovaný ani importovaný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PredefinedValueTupleTypeNotFound">
<source>Predefined type '{0}' is not defined or imported</source>
<target state="translated">Předdefinovaný typ {0} není definovaný ani importovaný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PredefinedValueTupleTypeAmbiguous3">
<source>Predefined type '{0}' is declared in multiple referenced assemblies: '{1}' and '{2}'</source>
<target state="translated">Předdefinovaný typ {0} je deklarovaný v několika odkazovaných sestaveních: {1} a {2}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_StructWithBaseConstructorCall">
<source>'{0}': structs cannot call base class constructors</source>
<target state="translated">{0}: Struktury nemůžou volat konstruktor základní třídy.</target>
<note />
</trans-unit>
<trans-unit id="ERR_StructLayoutCycle">
<source>Struct member '{0}' of type '{1}' causes a cycle in the struct layout</source>
<target state="translated">Člen struktury {0} typu {1} způsobuje cyklus v rozložení struktury.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InterfacesCantContainFields">
<source>Interfaces cannot contain instance fields</source>
<target state="translated">Rozhraní nemůžou obsahovat pole instance.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InterfacesCantContainConstructors">
<source>Interfaces cannot contain instance constructors</source>
<target state="translated">Rozhraní nemůžou obsahovat konstruktory instance.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NonInterfaceInInterfaceList">
<source>Type '{0}' in interface list is not an interface</source>
<target state="translated">Typ {0} v seznamu rozhraní není rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateInterfaceInBaseList">
<source>'{0}' is already listed in interface list</source>
<target state="translated">{0} je už uvedené v seznamu rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateInterfaceWithTupleNamesInBaseList">
<source>'{0}' is already listed in the interface list on type '{2}' with different tuple element names, as '{1}'.</source>
<target state="translated">{0} je již uvedeno v seznamu rozhraní u typu {2} s jinými názvy prvků řazené kolekce členů jako {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CycleInInterfaceInheritance">
<source>Inherited interface '{1}' causes a cycle in the interface hierarchy of '{0}'</source>
<target state="translated">Zděděné rozhraní {1} způsobuje cyklus v hierarchii rozhraní {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_HidingAbstractMethod">
<source>'{0}' hides inherited abstract member '{1}'</source>
<target state="translated">{0} skryje zděděný abstraktní člen {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnimplementedAbstractMethod">
<source>'{0}' does not implement inherited abstract member '{1}'</source>
<target state="translated">{0} neimplementuje zděděný abstraktní člen {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnimplementedInterfaceMember">
<source>'{0}' does not implement interface member '{1}'</source>
<target state="translated">{0} neimplementuje člen rozhraní {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ObjectCantHaveBases">
<source>The class System.Object cannot have a base class or implement an interface</source>
<target state="translated">Třída System.Object nemůže mít základní třídu ani nemůže implementovat rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExplicitInterfaceImplementationNotInterface">
<source>'{0}' in explicit interface declaration is not an interface</source>
<target state="translated">{0} v explicitní deklaraci rozhraní není rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InterfaceMemberNotFound">
<source>'{0}' in explicit interface declaration is not found among members of the interface that can be implemented</source>
<target state="translated">{0} v explicitní deklaraci rozhraní se nenašel mezi členy rozhraní, které se dají implementovat.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ClassDoesntImplementInterface">
<source>'{0}': containing type does not implement interface '{1}'</source>
<target state="translated">{0}: Nadřazený typ neimplementuje rozhraní {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExplicitInterfaceImplementationInNonClassOrStruct">
<source>'{0}': explicit interface declaration can only be declared in a class, record, struct or interface</source>
<target state="translated">{0}: Explicitní deklaraci rozhraní se dá použít jen ve třídě, záznamu, struktuře nebo rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MemberNameSameAsType">
<source>'{0}': member names cannot be the same as their enclosing type</source>
<target state="translated">{0}: Názvy členů nemůžou být stejné jako názvy jejich nadřazených typů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_EnumeratorOverflow">
<source>'{0}': the enumerator value is too large to fit in its type</source>
<target state="translated">{0}: Hodnota výčtu je pro příslušný typ moc velká.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantOverrideNonProperty">
<source>'{0}': cannot override because '{1}' is not a property</source>
<target state="translated">{0}: Nejde přepsat, protože {1} není vlastnost.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoGetToOverride">
<source>'{0}': cannot override because '{1}' does not have an overridable get accessor</source>
<target state="translated">{0}: Nejde přepsat, protože {1} neobsahuje přepsatelný přistupující objekt get.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoSetToOverride">
<source>'{0}': cannot override because '{1}' does not have an overridable set accessor</source>
<target state="translated">{0}: Nejde přepsat, protože {1} neobsahuje přepsatelný přistupující objekt set.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PropertyCantHaveVoidType">
<source>'{0}': property or indexer cannot have void type</source>
<target state="translated">{0}: Vlastnost nebo indexer nemůže být typu void.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PropertyWithNoAccessors">
<source>'{0}': property or indexer must have at least one accessor</source>
<target state="translated">{0}: Vlastnost nebo indexer musí obsahovat aspoň jeden přistupující objekt.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NewVirtualInSealed">
<source>'{0}' is a new virtual member in sealed type '{1}'</source>
<target state="translated">{0} je nový virtuální člen v zapečetěném typu {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExplicitPropertyAddingAccessor">
<source>'{0}' adds an accessor not found in interface member '{1}'</source>
<target state="translated">{0} přidává přistupující objekt, který se nenašel v členu rozhraní {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExplicitPropertyMissingAccessor">
<source>Explicit interface implementation '{0}' is missing accessor '{1}'</source>
<target state="translated">V explicitní implementaci rozhraní {0} chybí přistupující objekt {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConversionWithInterface">
<source>'{0}': user-defined conversions to or from an interface are not allowed</source>
<target state="translated">{0}: Uživatelem definované převody na rozhraní nebo z něho nejsou povolené.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConversionWithBase">
<source>'{0}': user-defined conversions to or from a base type are not allowed</source>
<target state="translated">{0}: Uživatelem definované převody na základní typ nebo z něj nejsou povolené.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConversionWithDerived">
<source>'{0}': user-defined conversions to or from a derived type are not allowed</source>
<target state="translated">{0}: Uživatelem definované převody na odvozený typ nebo z něj nejsou povolené.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IdentityConversion">
<source>User-defined operator cannot convert a type to itself</source>
<target state="needs-review-translation">Uživatelem definovaný operátor nemůže převzít objekt nadřazeného typu a převést jej na objekt nadřazeného typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConversionNotInvolvingContainedType">
<source>User-defined conversion must convert to or from the enclosing type</source>
<target state="translated">Uživatelem definovaný převod musí převádět na nadřazený typ nebo z nadřazeného typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateConversionInClass">
<source>Duplicate user-defined conversion in type '{0}'</source>
<target state="translated">Duplicitní uživatelem definovaný převod v typu {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_OperatorsMustBeStatic">
<source>User-defined operator '{0}' must be declared static and public</source>
<target state="translated">Uživatelem definovaný operátor {0} musí být deklarovaný jako static a public.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadIncDecSignature">
<source>The parameter type for ++ or -- operator must be the containing type</source>
<target state="translated">Typ parametru operátorů ++ a -- musí být nadřazeného typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadUnaryOperatorSignature">
<source>The parameter of a unary operator must be the containing type</source>
<target state="translated">Parametr unárního operátoru musí být nadřazeného typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadBinaryOperatorSignature">
<source>One of the parameters of a binary operator must be the containing type</source>
<target state="translated">Jeden z parametrů binárního operátoru musí být nadřazeného typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadShiftOperatorSignature">
<source>The first operand of an overloaded shift operator must have the same type as the containing type, and the type of the second operand must be int</source>
<target state="translated">První operand přetěžovaného operátoru shift musí být stejného typu jako obsahující typ a druhý operand musí být typu int.</target>
<note />
</trans-unit>
<trans-unit id="ERR_EnumsCantContainDefaultConstructor">
<source>Enums cannot contain explicit parameterless constructors</source>
<target state="translated">Výčty nemůžou obsahovat explicitní konstruktory bez parametrů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantOverrideBogusMethod">
<source>'{0}': cannot override '{1}' because it is not supported by the language</source>
<target state="translated">{0} nemůže přepsat {1}, protože ho tento jazyk nepodporuje.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BindToBogus">
<source>'{0}' is not supported by the language</source>
<target state="translated">{0} není tímto jazykem podporovaný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantCallSpecialMethod">
<source>'{0}': cannot explicitly call operator or accessor</source>
<target state="translated">{0}: Nejde explicitně volat operátor nebo přistupující objekt.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadTypeReference">
<source>'{0}': cannot reference a type through an expression; try '{1}' instead</source>
<target state="translated">{0}: Nemůže odkazovat na typ prostřednictvím výrazu. Místo toho zkuste {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadDestructorName">
<source>Name of destructor must match name of type</source>
<target state="translated">Název destruktoru musí odpovídat názvu typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OnlyClassesCanContainDestructors">
<source>Only class types can contain destructors</source>
<target state="translated">Destruktor může být obsažený jenom v typu třída.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConflictAliasAndMember">
<source>Namespace '{1}' contains a definition conflicting with alias '{0}'</source>
<target state="translated">Obor názvů {1} obsahuje definici, která je v konfliktu s aliasem {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConflictingAliasAndDefinition">
<source>Alias '{0}' conflicts with {1} definition</source>
<target state="translated">Alias {0} je v konfliktu s definicí {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConditionalOnSpecialMethod">
<source>The Conditional attribute is not valid on '{0}' because it is a constructor, destructor, operator, lambda expression, or explicit interface implementation</source>
<target state="needs-review-translation">Atribut Conditional není pro {0} platný, protože je to konstruktor, destruktor, operátor nebo explicitní implementace rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConditionalMustReturnVoid">
<source>The Conditional attribute is not valid on '{0}' because its return type is not void</source>
<target state="translated">Atribut Conditional není pro {0} platný, protože jeho návratový kód není void.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateAttribute">
<source>Duplicate '{0}' attribute</source>
<target state="translated">Duplicitní atribut {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateAttributeInNetModule">
<source>Duplicate '{0}' attribute in '{1}'</source>
<target state="translated">Duplicitní atribut {0} v {1}</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConditionalOnInterfaceMethod">
<source>The Conditional attribute is not valid on interface members</source>
<target state="translated">Pro členy rozhraní je atribut Conditional neplatný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OperatorCantReturnVoid">
<source>User-defined operators cannot return void</source>
<target state="translated">Operátory definované uživatelem nemůžou vracet typ void.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadDynamicConversion">
<source>'{0}': user-defined conversions to or from the dynamic type are not allowed</source>
<target state="translated">{0}: Uživatelsky definované převody na dynamický typ nebo z dynamického typu nejsou povolené.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidAttributeArgument">
<source>Invalid value for argument to '{0}' attribute</source>
<target state="translated">Neplatná hodnota pro argument u atributu {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_ParameterNotValidForType">
<source>Parameter not valid for the specified unmanaged type.</source>
<target state="translated">Parametr není platný pro zadaný nespravovaný typ.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AttributeParameterRequired1">
<source>Attribute parameter '{0}' must be specified.</source>
<target state="translated">Parametr atributu {0} musí být zadaný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AttributeParameterRequired2">
<source>Attribute parameter '{0}' or '{1}' must be specified.</source>
<target state="translated">Parametr atributu {0} nebo {1} musí být zadaný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MarshalUnmanagedTypeNotValidForFields">
<source>Unmanaged type '{0}' not valid for fields.</source>
<target state="translated">Nespravovaný typ {0} není platný pro pole.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MarshalUnmanagedTypeOnlyValidForFields">
<source>Unmanaged type '{0}' is only valid for fields.</source>
<target state="translated">Nespravovaný typ {0} je platný jenom pro pole.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AttributeOnBadSymbolType">
<source>Attribute '{0}' is not valid on this declaration type. It is only valid on '{1}' declarations.</source>
<target state="translated">Atribut {0} není platný pro deklaraci tohoto typu. Je platný jenom pro deklarace {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FloatOverflow">
<source>Floating-point constant is outside the range of type '{0}'</source>
<target state="translated">Konstanta s pohyblivou řádovou čárkou je mimo rozsah typu {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ComImportWithoutUuidAttribute">
<source>The Guid attribute must be specified with the ComImport attribute</source>
<target state="translated">Atribut Guid musí být zadaný současně s atributem ComImport.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidNamedArgument">
<source>Invalid value for named attribute argument '{0}'</source>
<target state="translated">Neplatná hodnota argumentu {0} pojmenovaného atributu</target>
<note />
</trans-unit>
<trans-unit id="ERR_DllImportOnInvalidMethod">
<source>The DllImport attribute must be specified on a method marked 'static' and 'extern'</source>
<target state="translated">Pro metodu s deklarací static a extern musí být zadaný atribut DllImport.</target>
<note />
</trans-unit>
<trans-unit id="ERR_EncUpdateFailedMissingAttribute">
<source>Cannot update '{0}'; attribute '{1}' is missing.</source>
<target state="translated">Nelze aktualizovat {0}; chybí atribut {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DllImportOnGenericMethod">
<source>The DllImport attribute cannot be applied to a method that is generic or contained in a generic method or type.</source>
<target state="translated">Atribut DllImport se nedá použít u metody, která je obecná nebo obsažená v obecné metodě nebo typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FieldCantBeRefAny">
<source>Field or property cannot be of type '{0}'</source>
<target state="translated">Pole nebo vlastnost nemůže být typu {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FieldAutoPropCantBeByRefLike">
<source>Field or auto-implemented property cannot be of type '{0}' unless it is an instance member of a ref struct.</source>
<target state="translated">Vlastnost pole nebo automaticky implementovaná vlastnost nemůže být typu {0}, pokud není členem instance struktury REF.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ArrayElementCantBeRefAny">
<source>Array elements cannot be of type '{0}'</source>
<target state="translated">Prvky pole nemůžou být typu {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DeprecatedSymbol">
<source>'{0}' is obsolete</source>
<target state="translated">'Prvek {0} je zastaralý.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DeprecatedSymbol_Title">
<source>Type or member is obsolete</source>
<target state="translated">Typ nebo člen je zastaralý.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NotAnAttributeClass">
<source>'{0}' is not an attribute class</source>
<target state="translated">{0} není třída atributu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadNamedAttributeArgument">
<source>'{0}' is not a valid named attribute argument. Named attribute arguments must be fields which are not readonly, static, or const, or read-write properties which are public and not static.</source>
<target state="translated">{0} není platný argument pojmenovaného atributu. Argumenty pojmenovaného atributu musí být pole, pro která nebyla použitá deklarace readonly, static ani const, nebo vlastnosti pro čtení i zápis, které jsou veřejné a nejsou statické.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DeprecatedSymbolStr">
<source>'{0}' is obsolete: '{1}'</source>
<target state="translated">{0} je zastaralá: {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DeprecatedSymbolStr_Title">
<source>Type or member is obsolete</source>
<target state="translated">Typ nebo člen je zastaralý.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DeprecatedSymbolStr">
<source>'{0}' is obsolete: '{1}'</source>
<target state="translated">{0} je zastaralá: {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IndexerCantHaveVoidType">
<source>Indexers cannot have void type</source>
<target state="translated">Indexer nemůže být typu void.</target>
<note />
</trans-unit>
<trans-unit id="ERR_VirtualPrivate">
<source>'{0}': virtual or abstract members cannot be private</source>
<target state="translated">{0}: Virtuální nebo abstraktní členy nemůžou být privátní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ArrayInitToNonArrayType">
<source>Can only use array initializer expressions to assign to array types. Try using a new expression instead.</source>
<target state="translated">Výrazy inicializátoru pole jde používat jenom pro přiřazení k typům pole. Zkuste použít výraz new.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ArrayInitInBadPlace">
<source>Array initializers can only be used in a variable or field initializer. Try using a new expression instead.</source>
<target state="translated">Inicializátory pole jde používat jenom v inicializátoru pole nebo proměnné. Zkuste použít výraz new.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MissingStructOffset">
<source>'{0}': instance field in types marked with StructLayout(LayoutKind.Explicit) must have a FieldOffset attribute</source>
<target state="translated">{0}: Typy polí instance označené deklarací StructLayout(LayoutKind.Explicit) musí mít atribut FieldOffset.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ExternMethodNoImplementation">
<source>Method, operator, or accessor '{0}' is marked external and has no attributes on it. Consider adding a DllImport attribute to specify the external implementation.</source>
<target state="translated">Metoda, operátor nebo přistupující objekt {0} je označený jako externí a nemá žádné atributy. Zvažte možnost přidání atributu DllImport k určení externí implementace.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ExternMethodNoImplementation_Title">
<source>Method, operator, or accessor is marked external and has no attributes on it</source>
<target state="translated">Metoda, operátor nebo přistupující objekt používá deklaraci external a nemá žádné atributy.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ProtectedInSealed">
<source>'{0}': new protected member declared in sealed type</source>
<target state="translated">{0}: V zapečetěném typu je deklarovaný nový chráněný člen.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ProtectedInSealed_Title">
<source>New protected member declared in sealed type</source>
<target state="translated">V zapečetěném typu je deklarovaný nový chráněný člen</target>
<note />
</trans-unit>
<trans-unit id="ERR_InterfaceImplementedByConditional">
<source>Conditional member '{0}' cannot implement interface member '{1}' in type '{2}'</source>
<target state="translated">Podmíněný člen {0} nemůže implementovat člen rozhraní {1} v typu {2}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IllegalRefParam">
<source>ref and out are not valid in this context</source>
<target state="translated">Atributy ref a out nejsou v tomto kontextu platné.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadArgumentToAttribute">
<source>The argument to the '{0}' attribute must be a valid identifier</source>
<target state="translated">Argument atributu {0} musí být platný identifikátor.</target>
<note />
</trans-unit>
<trans-unit id="ERR_StructOffsetOnBadStruct">
<source>The FieldOffset attribute can only be placed on members of types marked with the StructLayout(LayoutKind.Explicit)</source>
<target state="translated">Atribut FieldOffset jde použít jenom pro členy typů s deklarací StructLayout(LayoutKind.Explicit).</target>
<note />
</trans-unit>
<trans-unit id="ERR_StructOffsetOnBadField">
<source>The FieldOffset attribute is not allowed on static or const fields</source>
<target state="translated">Atribut FieldOffset není povolený pro pole typu static nebo const.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AttributeUsageOnNonAttributeClass">
<source>Attribute '{0}' is only valid on classes derived from System.Attribute</source>
<target state="translated">Atribut {0} je platný jenom pro třídy odvozené od třídy System.Attribute.</target>
<note />
</trans-unit>
<trans-unit id="WRN_PossibleMistakenNullStatement">
<source>Possible mistaken empty statement</source>
<target state="translated">Možná chybný prázdný příkaz</target>
<note />
</trans-unit>
<trans-unit id="WRN_PossibleMistakenNullStatement_Title">
<source>Possible mistaken empty statement</source>
<target state="translated">Možná chybný prázdný příkaz</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateNamedAttributeArgument">
<source>'{0}' duplicate named attribute argument</source>
<target state="translated">'Duplicitní argument pojmenovaného atributu {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_DeriveFromEnumOrValueType">
<source>'{0}' cannot derive from special class '{1}'</source>
<target state="translated">{0} se nemůže odvozovat ze speciální třídy {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DefaultMemberOnIndexedType">
<source>Cannot specify the DefaultMember attribute on a type containing an indexer</source>
<target state="translated">Atribut DefaultMember nejde zadat pro typ obsahující indexer.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BogusType">
<source>'{0}' is a type not supported by the language</source>
<target state="translated">'Typ {0} není tímto jazykem podporovaný.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnassignedInternalField">
<source>Field '{0}' is never assigned to, and will always have its default value {1}</source>
<target state="translated">Do pole {0} se nikdy nic nepřiřadí. Bude mít vždy výchozí hodnotu {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnassignedInternalField_Title">
<source>Field is never assigned to, and will always have its default value</source>
<target state="translated">Do pole se nikdy nic nepřiřadí. Bude mít vždycky výchozí hodnotu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CStyleArray">
<source>Bad array declarator: To declare a managed array the rank specifier precedes the variable's identifier. To declare a fixed size buffer field, use the fixed keyword before the field type.</source>
<target state="translated">Chybný deklarátor pole. Při deklaraci spravovaného pole musí být specifikátor rozměru uvedený před identifikátorem proměnné. Při deklaraci pole vyrovnávací paměti pevné velikosti uveďte před typem pole klíčové slovo fixed.</target>
<note />
</trans-unit>
<trans-unit id="WRN_VacuousIntegralComp">
<source>Comparison to integral constant is useless; the constant is outside the range of type '{0}'</source>
<target state="translated">Porovnání s integrální konstantou je zbytečné; hodnota konstanty je mimo rozsah typu {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_VacuousIntegralComp_Title">
<source>Comparison to integral constant is useless; the constant is outside the range of the type</source>
<target state="translated">Porovnání s integrální konstantou je zbytečné; hodnota konstanty je mimo rozsah typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AbstractAttributeClass">
<source>Cannot apply attribute class '{0}' because it is abstract</source>
<target state="translated">Nejde použít třídu atributů {0}, protože je abstraktní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadNamedAttributeArgumentType">
<source>'{0}' is not a valid named attribute argument because it is not a valid attribute parameter type</source>
<target state="translated">{0} není platný argument pojmenovaného atributu, protože se nejedná o platný typ parametru atributu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MissingPredefinedMember">
<source>Missing compiler required member '{0}.{1}'</source>
<target state="translated">Požadovaný člen {0}.{1} kompilátoru se nenašel.</target>
<note />
</trans-unit>
<trans-unit id="WRN_AttributeLocationOnBadDeclaration">
<source>'{0}' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are '{1}'. All attributes in this block will be ignored.</source>
<target state="translated">{0} není platné umístění atributu pro tuto deklaraci. Platnými umístěními atributů pro tuto deklaraci jsou {1}. Všechny atributy v tomto bloku se budou ignorovat.</target>
<note />
</trans-unit>
<trans-unit id="WRN_AttributeLocationOnBadDeclaration_Title">
<source>Not a valid attribute location for this declaration</source>
<target state="translated">Není platné umístění atributu pro tuto deklaraci.</target>
<note />
</trans-unit>
<trans-unit id="WRN_InvalidAttributeLocation">
<source>'{0}' is not a recognized attribute location. Valid attribute locations for this declaration are '{1}'. All attributes in this block will be ignored.</source>
<target state="translated">{0} není známé umístění atributu. Platná umístění atributu pro tuto deklaraci jsou {1}. Všechny atributy v tomto bloku se budou ignorovat.</target>
<note />
</trans-unit>
<trans-unit id="WRN_InvalidAttributeLocation_Title">
<source>Not a recognized attribute location</source>
<target state="translated">Není rozpoznané umístění atributu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_EqualsWithoutGetHashCode">
<source>'{0}' overrides Object.Equals(object o) but does not override Object.GetHashCode()</source>
<target state="translated">{0} přepisuje Object.Equals(object o), ale nepřepisuje Object.GetHashCode().</target>
<note />
</trans-unit>
<trans-unit id="WRN_EqualsWithoutGetHashCode_Title">
<source>Type overrides Object.Equals(object o) but does not override Object.GetHashCode()</source>
<target state="translated">Typ přepisuje Object.Equals(object o), ale nepřepisuje Object.GetHashCode().</target>
<note />
</trans-unit>
<trans-unit id="WRN_EqualityOpWithoutEquals">
<source>'{0}' defines operator == or operator != but does not override Object.Equals(object o)</source>
<target state="translated">{0} definuje operátor == nebo !=, ale nepřepisuje funkci Object.Equals(object o).</target>
<note />
</trans-unit>
<trans-unit id="WRN_EqualityOpWithoutEquals_Title">
<source>Type defines operator == or operator != but does not override Object.Equals(object o)</source>
<target state="translated">Typ definuje operátor == nebo !=, ale nepřepisuje funkci Object.Equals(object o).</target>
<note />
</trans-unit>
<trans-unit id="WRN_EqualityOpWithoutGetHashCode">
<source>'{0}' defines operator == or operator != but does not override Object.GetHashCode()</source>
<target state="translated">{0} definuje operátor == nebo !=, ale nepřepisuje funkci Object.GetHashCode().</target>
<note />
</trans-unit>
<trans-unit id="WRN_EqualityOpWithoutGetHashCode_Title">
<source>Type defines operator == or operator != but does not override Object.GetHashCode()</source>
<target state="translated">Typ definuje operátor == nebo !=, ale nepřepisuje funkci Object.GetHashCode().</target>
<note />
</trans-unit>
<trans-unit id="ERR_OutAttrOnRefParam">
<source>Cannot specify the Out attribute on a ref parameter without also specifying the In attribute.</source>
<target state="translated">Nejde specifikovat atribut Out pro referenční parametr, když není současně specifikovaný atribut In.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OverloadRefKind">
<source>'{0}' cannot define an overloaded {1} that differs only on parameter modifiers '{2}' and '{3}'</source>
<target state="translated">{0} nemůže definovat přetíženou {1}, která se liší jenom v modifikátorech parametrů {2} a {3}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_LiteralDoubleCast">
<source>Literal of type double cannot be implicitly converted to type '{1}'; use an '{0}' suffix to create a literal of this type</source>
<target state="translated">Literály typu double nejde implicitně převést na typ {1}. Chcete-li vytvořit literál tohoto typu, použijte předponu {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_IncorrectBooleanAssg">
<source>Assignment in conditional expression is always constant; did you mean to use == instead of = ?</source>
<target state="translated">Přiřazení je v podmíněných výrazech vždy konstantní. Nechtěli jste spíše použít operátor == místo operátoru = ?</target>
<note />
</trans-unit>
<trans-unit id="WRN_IncorrectBooleanAssg_Title">
<source>Assignment in conditional expression is always constant</source>
<target state="translated">Přiřazení je v podmíněných výrazech vždycky konstantní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ProtectedInStruct">
<source>'{0}': new protected member declared in struct</source>
<target state="translated">{0}: Ve struktuře je deklarovaný nový chráněný člen.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InconsistentIndexerNames">
<source>Two indexers have different names; the IndexerName attribute must be used with the same name on every indexer within a type</source>
<target state="translated">Dva indexery mají stejný název. Atribut IndexerName musí být v rámci jednoho typu použitý se stejným názvem pro každý indexer.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ComImportWithUserCtor">
<source>A class with the ComImport attribute cannot have a user-defined constructor</source>
<target state="translated">Třída s atributem ComImport nemůže mít konstruktor definovaný uživatelem.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FieldCantHaveVoidType">
<source>Field cannot have void type</source>
<target state="translated">Pole nemůže být typu void.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NonObsoleteOverridingObsolete">
<source>Member '{0}' overrides obsolete member '{1}'. Add the Obsolete attribute to '{0}'.</source>
<target state="translated">Člen {0} přepisuje zastaralý člen {1}. Přidejte ke členu {0} atribut Obsolete.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NonObsoleteOverridingObsolete_Title">
<source>Member overrides obsolete member</source>
<target state="translated">Člen přepisuje nezastaralý člen.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SystemVoid">
<source>System.Void cannot be used from C# -- use typeof(void) to get the void type object</source>
<target state="translated">Nejde použít konstrukci System.Void jazyka C#. Objekt typu void získáte pomocí syntaxe typeof(void).</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExplicitParamArray">
<source>Do not use 'System.ParamArrayAttribute'. Use the 'params' keyword instead.</source>
<target state="translated">Nepoužívejte atribut System.ParamArrayAttribute. Použijte místo něj klíčové slovo params.</target>
<note />
</trans-unit>
<trans-unit id="WRN_BitwiseOrSignExtend">
<source>Bitwise-or operator used on a sign-extended operand; consider casting to a smaller unsigned type first</source>
<target state="translated">Logický bitový operátor or se použil pro operand s rozšířeným podpisem. Zvažte nejprve možnost přetypování na menší nepodepsaný typ.</target>
<note />
</trans-unit>
<trans-unit id="WRN_BitwiseOrSignExtend_Title">
<source>Bitwise-or operator used on a sign-extended operand</source>
<target state="translated">Bitový operátor or byl použitý pro operand s rozšířeným podpisem.</target>
<note />
</trans-unit>
<trans-unit id="WRN_BitwiseOrSignExtend_Description">
<source>The compiler implicitly widened and sign-extended a variable, and then used the resulting value in a bitwise OR operation. This can result in unexpected behavior.</source>
<target state="translated">Kompilátor implicitně rozšířil proměnnou a doplnil k ní podpis. Výslednou hodnotu pak použil v bitovém porovnání NEBO operaci. Výsledkem může být neočekávané chování.</target>
<note />
</trans-unit>
<trans-unit id="ERR_VolatileStruct">
<source>'{0}': a volatile field cannot be of the type '{1}'</source>
<target state="translated">{0}: Pole s modifikátorem volatile nemůže být {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_VolatileAndReadonly">
<source>'{0}': a field cannot be both volatile and readonly</source>
<target state="translated">{0}: U pole nejde použít současně volatile i readonly.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AbstractField">
<source>The modifier 'abstract' is not valid on fields. Try using a property instead.</source>
<target state="translated">Modifikátor abstract není pro pole platný. Místo něho zkuste použít vlastnost.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BogusExplicitImpl">
<source>'{0}' cannot implement '{1}' because it is not supported by the language</source>
<target state="translated">{0} nemůže implementovat {1}, protože ho tento jazyk nepodporuje.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExplicitMethodImplAccessor">
<source>'{0}' explicit method implementation cannot implement '{1}' because it is an accessor</source>
<target state="translated">'Explicitní implementace metody {0} nemůže implementovat {1}, protože se jedná o přistupující objekt.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CoClassWithoutComImport">
<source>'{0}' interface marked with 'CoClassAttribute' not marked with 'ComImportAttribute'</source>
<target state="translated">'Rozhraní {0} s deklarací CoClassAttribute neobsahuje deklaraci ComImportAttribute.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CoClassWithoutComImport_Title">
<source>Interface marked with 'CoClassAttribute' not marked with 'ComImportAttribute'</source>
<target state="translated">Rozhraní s deklarací CoClassAttribute neobsahuje deklaraci ComImportAttribute.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConditionalWithOutParam">
<source>Conditional member '{0}' cannot have an out parameter</source>
<target state="translated">Podmíněný člen {0} nemůže mít parametr out.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AccessorImplementingMethod">
<source>Accessor '{0}' cannot implement interface member '{1}' for type '{2}'. Use an explicit interface implementation.</source>
<target state="translated">Přistupující objekt {0} nemůže implementovat člen rozhraní {1} pro typ {2}. Použijte explicitní implementaci rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AliasQualAsExpression">
<source>The namespace alias qualifier '::' always resolves to a type or namespace so is illegal here. Consider using '.' instead.</source>
<target state="translated">Kvalifikátor aliasu oboru názvů (::) se vždycky vyhodnotí jako typ nebo obor názvů, takže je tady neplatný. Místo něho zvažte použití kvalifikátoru . (tečka).</target>
<note />
</trans-unit>
<trans-unit id="ERR_DerivingFromATyVar">
<source>Cannot derive from '{0}' because it is a type parameter</source>
<target state="translated">Nejde odvozovat z parametru {0}, protože je to parametr typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateTypeParameter">
<source>Duplicate type parameter '{0}'</source>
<target state="translated">Duplicitní parametr typu {0}</target>
<note />
</trans-unit>
<trans-unit id="WRN_TypeParameterSameAsOuterTypeParameter">
<source>Type parameter '{0}' has the same name as the type parameter from outer type '{1}'</source>
<target state="translated">Parametr typu {0} má stejný název jako parametr typu z vnějšího typu {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_TypeParameterSameAsOuterTypeParameter_Title">
<source>Type parameter has the same name as the type parameter from outer type</source>
<target state="translated">Parametr typu má stejný název jako parametr typu z vnějšího typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TypeVariableSameAsParent">
<source>Type parameter '{0}' has the same name as the containing type, or method</source>
<target state="translated">Parametr typu {0} má stejný název jako nadřazený typ nebo metoda.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnifyingInterfaceInstantiations">
<source>'{0}' cannot implement both '{1}' and '{2}' because they may unify for some type parameter substitutions</source>
<target state="translated">{0} nemůže implementovat {1} a zároveň {2}, protože u některých náhrad parametrů typu může dojít k jejich sjednocení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TyVarNotFoundInConstraint">
<source>'{1}' does not define type parameter '{0}'</source>
<target state="translated">{1} nedefinuje parametr typu {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadBoundType">
<source>'{0}' is not a valid constraint. A type used as a constraint must be an interface, a non-sealed class or a type parameter.</source>
<target state="translated">{0} není platné omezení. Typ použitý jako omezení musí být rozhraní, nezapečetěná třída nebo parametr typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SpecialTypeAsBound">
<source>Constraint cannot be special class '{0}'</source>
<target state="translated">Omezení nemůže být speciální třída {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadVisBound">
<source>Inconsistent accessibility: constraint type '{1}' is less accessible than '{0}'</source>
<target state="translated">Nekonzistentní dostupnost: Typ omezení {1} je míň dostupný než {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_LookupInTypeVariable">
<source>Cannot do member lookup in '{0}' because it is a type parameter</source>
<target state="translated">Nejde vyhledávat člena v {0}, protože se jedná o parametr typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadConstraintType">
<source>Invalid constraint type. A type used as a constraint must be an interface, a non-sealed class or a type parameter.</source>
<target state="translated">Neplatný typ omezení. Typ použitý jako omezení musí být rozhraní, nezapečetěná třída nebo parametr typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InstanceMemberInStaticClass">
<source>'{0}': cannot declare instance members in a static class</source>
<target state="translated">{0}: Nejde deklarovat členy instance ve statické třídě.</target>
<note />
</trans-unit>
<trans-unit id="ERR_StaticBaseClass">
<source>'{1}': cannot derive from static class '{0}'</source>
<target state="translated">{1}: Nejde odvodit ze statické třídy {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConstructorInStaticClass">
<source>Static classes cannot have instance constructors</source>
<target state="translated">Statické třídy nemůžou mít konstruktory instancí.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DestructorInStaticClass">
<source>Static classes cannot contain destructors</source>
<target state="translated">Statické třídy nemůžou obsahovat destruktory.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InstantiatingStaticClass">
<source>Cannot create an instance of the static class '{0}'</source>
<target state="translated">Nejde vytvořit instanci statické třídy {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_StaticDerivedFromNonObject">
<source>Static class '{0}' cannot derive from type '{1}'. Static classes must derive from object.</source>
<target state="translated">Statická třída {0} se nemůže odvozovat z typu {1}. Tyto třídy se musí odvozovat z objektu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_StaticClassInterfaceImpl">
<source>'{0}': static classes cannot implement interfaces</source>
<target state="translated">{0}: Statické třídy nemůžou implementovat rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefStructInterfaceImpl">
<source>'{0}': ref structs cannot implement interfaces</source>
<target state="translated">{0}: Struktury REF nemůžou implementovat rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OperatorInStaticClass">
<source>'{0}': static classes cannot contain user-defined operators</source>
<target state="translated">{0}: Statické třídy nemůžou obsahovat operátory definované uživatelem.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConvertToStaticClass">
<source>Cannot convert to static type '{0}'</source>
<target state="translated">Nejde převést na statický typ {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConstraintIsStaticClass">
<source>'{0}': static classes cannot be used as constraints</source>
<target state="translated">{0}: Statické třídy nejde používat jako omezení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_GenericArgIsStaticClass">
<source>'{0}': static types cannot be used as type arguments</source>
<target state="translated">{0}: Statické typy nejde používat jako argumenty typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ArrayOfStaticClass">
<source>'{0}': array elements cannot be of static type</source>
<target state="translated">{0}: Prvky pole nemůžou být statického typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IndexerInStaticClass">
<source>'{0}': cannot declare indexers in a static class</source>
<target state="translated">{0}: Nejde deklarovat indexery ve statické třídě.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ParameterIsStaticClass">
<source>'{0}': static types cannot be used as parameters</source>
<target state="translated">{0}: Statické typy nejde používat jako parametry.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ReturnTypeIsStaticClass">
<source>'{0}': static types cannot be used as return types</source>
<target state="translated">{0}: Statické typy nejde používat jako typy vracených hodnot.</target>
<note />
</trans-unit>
<trans-unit id="ERR_VarDeclIsStaticClass">
<source>Cannot declare a variable of static type '{0}'</source>
<target state="translated">Nejde deklarovat proměnnou statického typu {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadEmptyThrowInFinally">
<source>A throw statement with no arguments is not allowed in a finally clause that is nested inside the nearest enclosing catch clause</source>
<target state="translated">Příkaz throw bez argumentů není povolený v klauzuli finally, která je vnořená do nejbližší uzavírající klauzule catch.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidSpecifier">
<source>'{0}' is not a valid format specifier</source>
<target state="translated">{0} není platným specifikátorem formátu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_AssignmentToLockOrDispose">
<source>Possibly incorrect assignment to local '{0}' which is the argument to a using or lock statement. The Dispose call or unlocking will happen on the original value of the local.</source>
<target state="translated">Možná existuje nesprávné přiřazení místní proměnné {0}, která je argumentem příkazu using nebo lock. Volání Dispose nebo odemknutí se provede u původní hodnoty místní proměnné.</target>
<note />
</trans-unit>
<trans-unit id="WRN_AssignmentToLockOrDispose_Title">
<source>Possibly incorrect assignment to local which is the argument to a using or lock statement</source>
<target state="translated">Pravděpodobně nesprávné přiřazení místní hodnotě, která je argumentem příkazu using nebo lock</target>
<note />
</trans-unit>
<trans-unit id="ERR_ForwardedTypeInThisAssembly">
<source>Type '{0}' is defined in this assembly, but a type forwarder is specified for it</source>
<target state="translated">V tomto sestavení je definovaný typ {0}, je ale pro něj zadané předávání typů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ForwardedTypeIsNested">
<source>Cannot forward type '{0}' because it is a nested type of '{1}'</source>
<target state="translated">Nejde předat typ {0}, protože se jedná o vnořený typ {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CycleInTypeForwarder">
<source>The type forwarder for type '{0}' in assembly '{1}' causes a cycle</source>
<target state="translated">Předávání typů pro typ {0} v sestavení {1} způsobuje zacyklení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AssemblyNameOnNonModule">
<source>The /moduleassemblyname option may only be specified when building a target type of 'module'</source>
<target state="translated">Parametr /moduleassemblyname jde zadat jenom při vytváření typu cíle module.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidAssemblyName">
<source>Assembly reference '{0}' is invalid and cannot be resolved</source>
<target state="translated">Odkaz na sestavení {0} je neplatný a nedá se vyhodnotit.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidFwdType">
<source>Invalid type specified as an argument for TypeForwardedTo attribute</source>
<target state="translated">Neplatný typ zadaný jako argument atributu TypeForwardedTo</target>
<note />
</trans-unit>
<trans-unit id="ERR_CloseUnimplementedInterfaceMemberStatic">
<source>'{0}' does not implement instance interface member '{1}'. '{2}' cannot implement the interface member because it is static.</source>
<target state="needs-review-translation">{0} neimplementuje člen rozhraní {1}. {2} nemůže implementovat člen rozhraní, protože je statické.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CloseUnimplementedInterfaceMemberNotPublic">
<source>'{0}' does not implement interface member '{1}'. '{2}' cannot implement an interface member because it is not public.</source>
<target state="translated">{0} neimplementuje člen rozhraní {1}. {2} nemůže implementovat člen rozhraní, protože není veřejné.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CloseUnimplementedInterfaceMemberWrongReturnType">
<source>'{0}' does not implement interface member '{1}'. '{2}' cannot implement '{1}' because it does not have the matching return type of '{3}'.</source>
<target state="translated">{0} neimplementuje člen rozhraní {1}. {2} nemůže implementovat člen {1}, protože nemá odpovídající návratový typ {3}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateTypeForwarder">
<source>'{0}' duplicate TypeForwardedToAttribute</source>
<target state="translated">'Duplicitní TypeForwardedToAttribute {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpectedSelectOrGroup">
<source>A query body must end with a select clause or a group clause</source>
<target state="translated">Za tělem dotazu musí následovat klauzule select nebo group.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpectedContextualKeywordOn">
<source>Expected contextual keyword 'on'</source>
<target state="translated">Očekávalo se kontextové klíčové slovo on.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpectedContextualKeywordEquals">
<source>Expected contextual keyword 'equals'</source>
<target state="translated">Očekávalo se kontextové klíčové slovo equals.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpectedContextualKeywordBy">
<source>Expected contextual keyword 'by'</source>
<target state="translated">Očekávalo se kontextové klíčové slovo by.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidAnonymousTypeMemberDeclarator">
<source>Invalid anonymous type member declarator. Anonymous type members must be declared with a member assignment, simple name or member access.</source>
<target state="translated">Neplatný deklarátor členu anonymního typu. Členy anonymního typu musí být deklarované přiřazením členu, prostým názvem nebo přístupem k členu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidInitializerElementInitializer">
<source>Invalid initializer member declarator</source>
<target state="translated">Neplatný deklarátor členu inicializátoru</target>
<note />
</trans-unit>
<trans-unit id="ERR_InconsistentLambdaParameterUsage">
<source>Inconsistent lambda parameter usage; parameter types must be all explicit or all implicit</source>
<target state="translated">Nekonzistentní použití parametru lambda. Typy parametrů musí být buď všechny explicitní, nebo všechny implicitní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodInvalidModifier">
<source>A partial method cannot have the 'abstract' modifier</source>
<target state="translated">Částečná metoda nemůže mít modifikátor abstract.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodOnlyInPartialClass">
<source>A partial method must be declared within a partial type</source>
<target state="translated">Částečná metoda musí být deklarovaná uvnitř částečného typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodNotExplicit">
<source>A partial method may not explicitly implement an interface method</source>
<target state="translated">Částečná metoda nesmí explicitně implementovat metodu rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodExtensionDifference">
<source>Both partial method declarations must be extension methods or neither may be an extension method</source>
<target state="translated">Obě deklarace částečné metody musí deklarovat metody rozšíření, nebo nesmí metodu rozšíření deklarovat žádná z nich.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodOnlyOneLatent">
<source>A partial method may not have multiple defining declarations</source>
<target state="translated">Částečná metoda nesmí mít víc definujících deklarací.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodOnlyOneActual">
<source>A partial method may not have multiple implementing declarations</source>
<target state="translated">Částečná metoda nesmí mít víc implementujících deklarací.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodParamsDifference">
<source>Both partial method declarations must use a params parameter or neither may use a params parameter</source>
<target state="translated">Obě deklarace částečné metody musí používat parametr params nebo ho nepoužívat.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodMustHaveLatent">
<source>No defining declaration found for implementing declaration of partial method '{0}'</source>
<target state="translated">Nenašla se žádná definující deklarace pro implementující deklaraci částečné metody {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodInconsistentTupleNames">
<source>Both partial method declarations, '{0}' and '{1}', must use the same tuple element names.</source>
<target state="translated">V deklaracích metod, {0} a {1} se musí používat stejné názvy prvků řazené kolekce členů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodInconsistentConstraints">
<source>Partial method declarations of '{0}' have inconsistent constraints for type parameter '{1}'</source>
<target state="translated">Částečné deklarace metod {0} mají nekonzistentní omezení parametru typu {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodToDelegate">
<source>Cannot create delegate from method '{0}' because it is a partial method without an implementing declaration</source>
<target state="translated">Nejde vytvořit delegáta z metody {0}, protože se jedná o částečnou metodu bez implementující deklarace.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodStaticDifference">
<source>Both partial method declarations must be static or neither may be static</source>
<target state="translated">Obě deklarace částečné metody musí být statické, nebo nesmí být statická žádná z nich.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodUnsafeDifference">
<source>Both partial method declarations must be unsafe or neither may be unsafe</source>
<target state="translated">Obě deklarace částečné metody musí být nezabezpečené, nebo nesmí být nezabezpečená žádná z nich.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodInExpressionTree">
<source>Partial methods with only a defining declaration or removed conditional methods cannot be used in expression trees</source>
<target state="translated">Ve stromech výrazů nejde používat částečné metody, pro které existuje jenom definující deklarace, nebo odebrané podmíněné metody.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ObsoleteOverridingNonObsolete">
<source>Obsolete member '{0}' overrides non-obsolete member '{1}'</source>
<target state="translated">Zastaralý člen {0} potlačuje nezastaralý člen {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ObsoleteOverridingNonObsolete_Title">
<source>Obsolete member overrides non-obsolete member</source>
<target state="translated">Zastaralý člen přepisuje nezastaralý člen.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DebugFullNameTooLong">
<source>The fully qualified name for '{0}' is too long for debug information. Compile without '/debug' option.</source>
<target state="translated">Plně kvalifikovaný název {0} je moc dlouhý pro vygenerování ladicích informací. Z kompilace vyřaďte možnost /debug.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DebugFullNameTooLong_Title">
<source>Fully qualified name is too long for debug information</source>
<target state="translated">Plně kvalifikovaný název je pro ladicí informace moc dlouhý.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImplicitlyTypedVariableAssignedBadValue">
<source>Cannot assign {0} to an implicitly-typed variable</source>
<target state="translated">{0} nejde přiřadit k proměnné s implicitním typem.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImplicitlyTypedVariableWithNoInitializer">
<source>Implicitly-typed variables must be initialized</source>
<target state="translated">Proměnné s implicitním typem musí být inicializované.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImplicitlyTypedVariableMultipleDeclarator">
<source>Implicitly-typed variables cannot have multiple declarators</source>
<target state="translated">Proměnné s implicitním typem nemůžou mít víc deklarátorů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImplicitlyTypedVariableAssignedArrayInitializer">
<source>Cannot initialize an implicitly-typed variable with an array initializer</source>
<target state="translated">Proměnnou s implicitním typem nejde inicializovat inicializátorem pole.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImplicitlyTypedLocalCannotBeFixed">
<source>Implicitly-typed local variables cannot be fixed</source>
<target state="translated">Lokální proměnné s implicitním typem nemůžou být pevné.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImplicitlyTypedVariableCannotBeConst">
<source>Implicitly-typed variables cannot be constant</source>
<target state="translated">Proměnné s implicitním typem nemůžou být konstanty.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ExternCtorNoImplementation">
<source>Constructor '{0}' is marked external</source>
<target state="translated">Konstruktor {0} je označený jako externí.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ExternCtorNoImplementation_Title">
<source>Constructor is marked external</source>
<target state="translated">Konstruktor je označený jako externí.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TypeVarNotFound">
<source>The contextual keyword 'var' may only appear within a local variable declaration or in script code</source>
<target state="translated">Kontextové klíčové slovo var se může objevit pouze v rámci deklarace lokální proměnné nebo v kódu skriptu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImplicitlyTypedArrayNoBestType">
<source>No best type found for implicitly-typed array</source>
<target state="translated">Nebyl nalezen optimální typ pro implicitně typované pole.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AnonymousTypePropertyAssignedBadValue">
<source>Cannot assign '{0}' to anonymous type property</source>
<target state="translated">{0} nejde přiřadit k anonymní vlastnosti typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsBaseAccess">
<source>An expression tree may not contain a base access</source>
<target state="translated">Strom výrazu nesmí obsahovat základní přístup.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsAssignment">
<source>An expression tree may not contain an assignment operator</source>
<target state="translated">Strom výrazu nesmí obsahovat operátor přiřazení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AnonymousTypeDuplicatePropertyName">
<source>An anonymous type cannot have multiple properties with the same name</source>
<target state="translated">Anonymní typ nemůže mít více vlastností se stejným názvem.</target>
<note />
</trans-unit>
<trans-unit id="ERR_StatementLambdaToExpressionTree">
<source>A lambda expression with a statement body cannot be converted to an expression tree</source>
<target state="translated">Výraz lambda s tělem příkazu nejde převést na strom výrazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeMustHaveDelegate">
<source>Cannot convert lambda to an expression tree whose type argument '{0}' is not a delegate type</source>
<target state="translated">Výraz lambda nejde převést na strom výrazu, jehož argument typu {0} neurčuje delegovaný typ.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AnonymousTypeNotAvailable">
<source>Cannot use anonymous type in a constant expression</source>
<target state="translated">V konstantním výrazu nejde použít anonymní typ.</target>
<note />
</trans-unit>
<trans-unit id="ERR_LambdaInIsAs">
<source>The first operand of an 'is' or 'as' operator may not be a lambda expression, anonymous method, or method group.</source>
<target state="translated">Prvním operandem operátoru is nebo as nesmí být výraz lambda, anonymní metoda ani skupina metod.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TypelessTupleInAs">
<source>The first operand of an 'as' operator may not be a tuple literal without a natural type.</source>
<target state="translated">První operand operátoru as nesmí být literál řazené kolekce členů bez přirozeného typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsMultiDimensionalArrayInitializer">
<source>An expression tree may not contain a multidimensional array initializer</source>
<target state="translated">Strom výrazu nesmí obsahovat inicializátor vícedimenzionálního pole.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MissingArgument">
<source>Argument missing</source>
<target state="translated">Chybí argument.</target>
<note />
</trans-unit>
<trans-unit id="ERR_VariableUsedBeforeDeclaration">
<source>Cannot use local variable '{0}' before it is declared</source>
<target state="translated">Lokální proměnnou {0} nejde použít dřív, než je deklarovaná.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RecursivelyTypedVariable">
<source>Type of '{0}' cannot be inferred since its initializer directly or indirectly refers to the definition.</source>
<target state="translated">Typ pro {0} nejde odvodit, protože jeho inicializátor přímo nebo nepřímo odkazuje na definici.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnassignedThisAutoProperty">
<source>Auto-implemented property '{0}' must be fully assigned before control is returned to the caller.</source>
<target state="translated">Před vrácením řízení volajícímu modulu musí být plně přiřazená automaticky implementovaná vlastnost {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_VariableUsedBeforeDeclarationAndHidesField">
<source>Cannot use local variable '{0}' before it is declared. The declaration of the local variable hides the field '{1}'.</source>
<target state="translated">Lokální proměnnou {0} nejde použít dřív, než je deklarovaná. Deklarace lokální proměnné skryje pole {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsBadCoalesce">
<source>An expression tree lambda may not contain a coalescing operator with a null or default literal left-hand side</source>
<target state="translated">Strom výrazu lambda nesmí obsahovat operátor sloučení, na jehož levé straně stojí literál s hodnotou Null nebo výchozí literál.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IdentifierExpected">
<source>Identifier expected</source>
<target state="translated">Očekával se identifikátor.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SemicolonExpected">
<source>; expected</source>
<target state="translated">Očekával se středník (;).</target>
<note />
</trans-unit>
<trans-unit id="ERR_SyntaxError">
<source>Syntax error, '{0}' expected</source>
<target state="translated">Chyba syntaxe; očekávána hodnota: {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateModifier">
<source>Duplicate '{0}' modifier</source>
<target state="translated">Duplicitní modifikátor {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateAccessor">
<source>Property accessor already defined</source>
<target state="translated">Přistupující objekt vlastnosti je už definovaný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IntegralTypeExpected">
<source>Type byte, sbyte, short, ushort, int, uint, long, or ulong expected</source>
<target state="translated">Očekával se typ byte, sbyte, short, ushort, int, uint, long nebo ulong.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IllegalEscape">
<source>Unrecognized escape sequence</source>
<target state="translated">Nerozpoznaná řídicí sekvence</target>
<note />
</trans-unit>
<trans-unit id="ERR_NewlineInConst">
<source>Newline in constant</source>
<target state="translated">Konstanta obsahuje znak nového řádku.</target>
<note />
</trans-unit>
<trans-unit id="ERR_EmptyCharConst">
<source>Empty character literal</source>
<target state="translated">Prázdný znakový literál</target>
<note />
</trans-unit>
<trans-unit id="ERR_TooManyCharsInConst">
<source>Too many characters in character literal</source>
<target state="translated">Příliš moc znaků ve znakovém literálu</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidNumber">
<source>Invalid number</source>
<target state="translated">Neplatné číslo</target>
<note />
</trans-unit>
<trans-unit id="ERR_GetOrSetExpected">
<source>A get or set accessor expected</source>
<target state="translated">Očekával se přistupující objekt get nebo set.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ClassTypeExpected">
<source>An object, string, or class type expected</source>
<target state="translated">Očekával se typ object, string nebo class.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NamedArgumentExpected">
<source>Named attribute argument expected</source>
<target state="translated">Očekával se argument pojmenovaného atributu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TooManyCatches">
<source>Catch clauses cannot follow the general catch clause of a try statement</source>
<target state="translated">Klauzule catch nemůžou následovat za obecnou klauzulí catch příkazu try.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ThisOrBaseExpected">
<source>Keyword 'this' or 'base' expected</source>
<target state="translated">Očekávalo se klíčové slovo this nebo base.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OvlUnaryOperatorExpected">
<source>Overloadable unary operator expected</source>
<target state="translated">Očekával se přetěžovatelný unární operátor.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OvlBinaryOperatorExpected">
<source>Overloadable binary operator expected</source>
<target state="translated">Očekával se přetěžovatelný binární operátor.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IntOverflow">
<source>Integral constant is too large</source>
<target state="translated">Integrální konstanta je moc velká.</target>
<note />
</trans-unit>
<trans-unit id="ERR_EOFExpected">
<source>Type or namespace definition, or end-of-file expected</source>
<target state="translated">Očekávala se definice typu nebo oboru názvů, nebo konec souboru.</target>
<note />
</trans-unit>
<trans-unit id="ERR_GlobalDefinitionOrStatementExpected">
<source>Member definition, statement, or end-of-file expected</source>
<target state="translated">Očekává se definice člena, příkaz nebo konec souboru.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadEmbeddedStmt">
<source>Embedded statement cannot be a declaration or labeled statement</source>
<target state="translated">Vloženým příkazem nemůže být deklarace ani příkaz s návěstím.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PPDirectiveExpected">
<source>Preprocessor directive expected</source>
<target state="translated">Očekávala se direktiva preprocesoru.</target>
<note />
</trans-unit>
<trans-unit id="ERR_EndOfPPLineExpected">
<source>Single-line comment or end-of-line expected</source>
<target state="translated">Očekával se jednořádkový komentář nebo konec řádku.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CloseParenExpected">
<source>) expected</source>
<target state="translated">Očekává se ).</target>
<note />
</trans-unit>
<trans-unit id="ERR_EndifDirectiveExpected">
<source>#endif directive expected</source>
<target state="translated">Očekávala se direktiva #endif.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnexpectedDirective">
<source>Unexpected preprocessor directive</source>
<target state="translated">Neočekávaná direktiva preprocesoru</target>
<note />
</trans-unit>
<trans-unit id="ERR_ErrorDirective">
<source>#error: '{0}'</source>
<target state="translated">#error: {0}</target>
<note />
</trans-unit>
<trans-unit id="WRN_WarningDirective">
<source>#warning: '{0}'</source>
<target state="translated">#warning: {0}</target>
<note />
</trans-unit>
<trans-unit id="WRN_WarningDirective_Title">
<source>#warning directive</source>
<target state="translated">Direktiva #warning</target>
<note />
</trans-unit>
<trans-unit id="ERR_TypeExpected">
<source>Type expected</source>
<target state="translated">Očekával se typ.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PPDefFollowsToken">
<source>Cannot define/undefine preprocessor symbols after first token in file</source>
<target state="translated">Po prvním tokenu v souboru nejde definovat symboly preprocesoru ani rušit jejich definice.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PPReferenceFollowsToken">
<source>Cannot use #r after first token in file</source>
<target state="translated">Nejde použít #r po prvním tokenu v souboru.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OpenEndedComment">
<source>End-of-file found, '*/' expected</source>
<target state="translated">Našel se konec souboru. Očekával se řetězec */.</target>
<note />
</trans-unit>
<trans-unit id="ERR_Merge_conflict_marker_encountered">
<source>Merge conflict marker encountered</source>
<target state="translated">Byla zjištěna značka konfliktu sloučení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoRefOutWhenRefOnly">
<source>Do not use refout when using refonly.</source>
<target state="translated">Když používáte refonly, nepoužívejte refout.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoNetModuleOutputWhenRefOutOrRefOnly">
<source>Cannot compile net modules when using /refout or /refonly.</source>
<target state="translated">Když se používá přepínač /refout nebo /refonly, nejde zkompilovat síťové moduly.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OvlOperatorExpected">
<source>Overloadable operator expected</source>
<target state="translated">Očekával se přetěžovatelný operátor.</target>
<note />
</trans-unit>
<trans-unit id="ERR_EndRegionDirectiveExpected">
<source>#endregion directive expected</source>
<target state="translated">Očekávala se direktiva #endregion.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnterminatedStringLit">
<source>Unterminated string literal</source>
<target state="translated">Neukončený řetězcový literál</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadDirectivePlacement">
<source>Preprocessor directives must appear as the first non-whitespace character on a line</source>
<target state="translated">Direktivy preprocesoru musí být uvedené jako první neprázdné znaky na řádku.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IdentifierExpectedKW">
<source>Identifier expected; '{1}' is a keyword</source>
<target state="translated">Očekával se identifikátor; {1} je klíčové slovo.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SemiOrLBraceExpected">
<source>{ or ; expected</source>
<target state="translated">Očekávala se levá složená závorka ({) nebo středník (;).</target>
<note />
</trans-unit>
<trans-unit id="ERR_MultiTypeInDeclaration">
<source>Cannot use more than one type in a for, using, fixed, or declaration statement</source>
<target state="translated">V příkazu deklarace for, using, fixed nebo or nejde použít více než jeden typ.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AddOrRemoveExpected">
<source>An add or remove accessor expected</source>
<target state="translated">Očekával se přistupující objekt add nebo remove.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnexpectedCharacter">
<source>Unexpected character '{0}'</source>
<target state="translated">Neočekávaný znak {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnexpectedToken">
<source>Unexpected token '{0}'</source>
<target state="translated">Neočekávaný token {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_ProtectedInStatic">
<source>'{0}': static classes cannot contain protected members</source>
<target state="translated">{0}: Statické třídy nemůžou obsahovat chráněné členy.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnreachableGeneralCatch">
<source>A previous catch clause already catches all exceptions. All non-exceptions thrown will be wrapped in a System.Runtime.CompilerServices.RuntimeWrappedException.</source>
<target state="translated">Předchozí klauzule catch už zachycuje všechny výjimky. Všechny vyvolané události, které nejsou výjimkami, budou zahrnuty do obálky třídy System.Runtime.CompilerServices.RuntimeWrappedException.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnreachableGeneralCatch_Title">
<source>A previous catch clause already catches all exceptions</source>
<target state="translated">Předchozí klauzule catch už zachytává všechny výjimky.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnreachableGeneralCatch_Description">
<source>This warning is caused when a catch() block has no specified exception type after a catch (System.Exception e) block. The warning advises that the catch() block will not catch any exceptions.
A catch() block after a catch (System.Exception e) block can catch non-CLS exceptions if the RuntimeCompatibilityAttribute is set to false in the AssemblyInfo.cs file: [assembly: RuntimeCompatibilityAttribute(WrapNonExceptionThrows = false)]. If this attribute is not set explicitly to false, all thrown non-CLS exceptions are wrapped as Exceptions and the catch (System.Exception e) block catches them.</source>
<target state="translated">Toto varování způsobuje, když blok catch() nemá žádný zadaný typ výjimky po bloku catch (System.Exception e). Varování informuje, že blok catch() nezachytí žádné výjimky.
Blok catch() po bloku catch (System.Exception e) může zachytit výjimky, které nesouvisí se specifikací CLS, pokud je RuntimeCompatibilityAttribute nastavený na false v souboru AssemblyInfo.cs: [assembly: RuntimeCompatibilityAttribute(WrapNonExceptionThrows = false)]. Pokud tento atribut není nastavený explicitně na false, všechny výjimky, které nesouvisí se specifikací CLS, se dostanou do balíčku Exceptions a blok catch (System.Exception e) je zachytí.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IncrementLvalueExpected">
<source>The operand of an increment or decrement operator must be a variable, property or indexer</source>
<target state="translated">Operandem operátoru přičtení nebo odečtení musí být proměnná, vlastnost nebo indexer.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoSuchMemberOrExtension">
<source>'{0}' does not contain a definition for '{1}' and no accessible extension method '{1}' accepting a first argument of type '{0}' could be found (are you missing a using directive or an assembly reference?)</source>
<target state="translated">{0} neobsahuje definici pro {1} a nenašla se žádná dostupná metoda rozšíření {1}, která by přijímala první argument typu {0}. (Nechybí direktiva using nebo odkaz na sestavení?)</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoSuchMemberOrExtensionNeedUsing">
<source>'{0}' does not contain a definition for '{1}' and no extension method '{1}' accepting a first argument of type '{0}' could be found (are you missing a using directive for '{2}'?)</source>
<target state="translated">{0} neobsahuje definici pro {1} a nenašla se žádná metoda rozšíření {1}, která by přijímala první argument typu {0}. (Nechybí direktiva using pro {2}?)</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadThisParam">
<source>Method '{0}' has a parameter modifier 'this' which is not on the first parameter</source>
<target state="translated">Metoda {0} má modifikátor parametru this, který není na prvním parametru.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadParameterModifiers">
<source> The parameter modifier '{0}' cannot be used with '{1}'</source>
<target state="translated"> Modifikátor parametru {0} nejde použít s modifikátorem {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadTypeforThis">
<source>The first parameter of an extension method cannot be of type '{0}'</source>
<target state="translated">První parametr metody rozšíření nesmí být typu {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadParamModThis">
<source>A parameter array cannot be used with 'this' modifier on an extension method</source>
<target state="translated">V metodě rozšíření nejde použít pole parametrů s modifikátorem this.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadExtensionMeth">
<source>Extension method must be static</source>
<target state="translated">Metoda rozšíření musí být statická.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadExtensionAgg">
<source>Extension method must be defined in a non-generic static class</source>
<target state="translated">Metoda rozšíření musí být definovaná v neobecné statické třídě.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DupParamMod">
<source>A parameter can only have one '{0}' modifier</source>
<target state="translated">Parametr může mít jenom jeden modifikátor {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExtensionMethodsDecl">
<source>Extension methods must be defined in a top level static class; {0} is a nested class</source>
<target state="translated">Metody rozšíření musí být definované ve statické třídě nejvyšší úrovně; {0} je vnořená třída.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExtensionAttrNotFound">
<source>Cannot define a new extension method because the compiler required type '{0}' cannot be found. Are you missing a reference to System.Core.dll?</source>
<target state="translated">Nejde definovat novou metodu rozšíření, protože se nenašel vyžadovaný typ kompilátoru {0}. Nechybí odkaz na System.Core.dll?</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExplicitExtension">
<source>Do not use 'System.Runtime.CompilerServices.ExtensionAttribute'. Use the 'this' keyword instead.</source>
<target state="translated">Nepoužívejte System.Runtime.CompilerServices.ExtensionAttribute. Místo toho použijte klíčové slovo this.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExplicitDynamicAttr">
<source>Do not use 'System.Runtime.CompilerServices.DynamicAttribute'. Use the 'dynamic' keyword instead.</source>
<target state="translated">Nepoužívejte System.Runtime.CompilerServices.DynamicAttribute. Místo toho použijte klíčové slovo dynamic.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoDynamicPhantomOnBaseCtor">
<source>The constructor call needs to be dynamically dispatched, but cannot be because it is part of a constructor initializer. Consider casting the dynamic arguments.</source>
<target state="translated">Volání konstruktoru je nutné volat dynamicky, což ale není možné, protože je součástí inicializátoru konstruktoru. Zvažte použití dynamických argumentů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ValueTypeExtDelegate">
<source>Extension method '{0}' defined on value type '{1}' cannot be used to create delegates</source>
<target state="translated">Metoda rozšíření {0} definovaná v hodnotovém typu {1} se nedá použít k vytváření delegátů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadArgCount">
<source>No overload for method '{0}' takes {1} arguments</source>
<target state="translated">Žádné přetížení pro metodu {0} nepřevezme tento počet argumentů: {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadArgType">
<source>Argument {0}: cannot convert from '{1}' to '{2}'</source>
<target state="translated">Argument {0}: Nejde převést z {1} na {2}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoSourceFile">
<source>Source file '{0}' could not be opened -- {1}</source>
<target state="translated">Zdrojový soubor {0} nešel otevřít -- {1}</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantRefResource">
<source>Cannot link resource files when building a module</source>
<target state="translated">Při sestavování modulu nejde propojit soubory prostředků.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ResourceNotUnique">
<source>Resource identifier '{0}' has already been used in this assembly</source>
<target state="translated">Identifikátor prostředku {0} se už v tomto sestavení používá.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ResourceFileNameNotUnique">
<source>Each linked resource and module must have a unique filename. Filename '{0}' is specified more than once in this assembly</source>
<target state="translated">Každý propojený prostředek a modul musí mít jedinečný název souboru, ale {0} se v tomto sestavení objevuje víc než jednou.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImportNonAssembly">
<source>The referenced file '{0}' is not an assembly</source>
<target state="translated">Odkazovaný soubor {0} není sestavení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefLvalueExpected">
<source>A ref or out value must be an assignable variable</source>
<target state="translated">Hodnotou Ref nebo Out musí být proměnná s možností přiřazení hodnoty.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BaseInStaticMeth">
<source>Keyword 'base' is not available in a static method</source>
<target state="translated">Klíčové slovo base není k dispozici uvnitř statické metody.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BaseInBadContext">
<source>Keyword 'base' is not available in the current context</source>
<target state="translated">Klíčové slovo base není k dispozici v aktuálním kontextu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RbraceExpected">
<source>} expected</source>
<target state="translated">Očekával se znak }.</target>
<note />
</trans-unit>
<trans-unit id="ERR_LbraceExpected">
<source>{ expected</source>
<target state="translated">Očekával se znak {.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InExpected">
<source>'in' expected</source>
<target state="translated">'Očekávalo se klíčové slovo in.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidPreprocExpr">
<source>Invalid preprocessor expression</source>
<target state="translated">Neplatný výraz preprocesoru</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidMemberDecl">
<source>Invalid token '{0}' in class, record, struct, or interface member declaration</source>
<target state="translated">Neplatný token {0} v deklaraci člena rozhraní, třídy, záznamu nebo struktury</target>
<note />
</trans-unit>
<trans-unit id="ERR_MemberNeedsType">
<source>Method must have a return type</source>
<target state="translated">Metoda musí mít typ vrácené hodnoty.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadBaseType">
<source>Invalid base type</source>
<target state="translated">Neplatný základní typ</target>
<note />
</trans-unit>
<trans-unit id="WRN_EmptySwitch">
<source>Empty switch block</source>
<target state="translated">Prázdný blok switch</target>
<note />
</trans-unit>
<trans-unit id="WRN_EmptySwitch_Title">
<source>Empty switch block</source>
<target state="translated">Prázdný blok switch</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpectedEndTry">
<source>Expected catch or finally</source>
<target state="translated">Očekávalo se klíčové slovo catch nebo finally.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidExprTerm">
<source>Invalid expression term '{0}'</source>
<target state="translated">Neplatný výraz {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadNewExpr">
<source>A new expression requires an argument list or (), [], or {} after type</source>
<target state="translated">Výraz new vyžaduje za typem seznam argumentů nebo (), [] nebo {}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoNamespacePrivate">
<source>Elements defined in a namespace cannot be explicitly declared as private, protected, protected internal, or private protected</source>
<target state="translated">Elementy definované v názvovém prostoru nelze explicitně deklarovat jako private, protected, protected internal nebo private protected.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadVarDecl">
<source>Expected ; or = (cannot specify constructor arguments in declaration)</source>
<target state="translated">Očekával se znak ; nebo = (v deklaraci nejde zadat argumenty konstruktoru).</target>
<note />
</trans-unit>
<trans-unit id="ERR_UsingAfterElements">
<source>A using clause must precede all other elements defined in the namespace except extern alias declarations</source>
<target state="translated">Klauzule using musí předcházet všem ostatním prvkům definovaným v oboru názvů s výjimkou deklarací externích aliasů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadBinOpArgs">
<source>Overloaded binary operator '{0}' takes two parameters</source>
<target state="translated">Přetěžovaný binární operátor {0} používá dva parametry.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadUnOpArgs">
<source>Overloaded unary operator '{0}' takes one parameter</source>
<target state="translated">Přetěžovaný unární operátor {0} převezme jeden parametr.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoVoidParameter">
<source>Invalid parameter type 'void'</source>
<target state="translated">Neplatný typ parametru void</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateAlias">
<source>The using alias '{0}' appeared previously in this namespace</source>
<target state="translated">Alias using {0} se objevil dřív v tomto oboru názvů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadProtectedAccess">
<source>Cannot access protected member '{0}' via a qualifier of type '{1}'; the qualifier must be of type '{2}' (or derived from it)</source>
<target state="translated">K chráněnému členu {0} nejde přistupovat prostřednictvím kvalifikátoru typu {1}. Kvalifikátor musí být typu {2} (nebo musí být od tohoto typu odvozen).</target>
<note />
</trans-unit>
<trans-unit id="ERR_AddModuleAssembly">
<source>'{0}' cannot be added to this assembly because it already is an assembly</source>
<target state="translated">{0} se nemůže přidat do tohoto sestavení, protože už to sestavení je.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BindToBogusProp2">
<source>Property, indexer, or event '{0}' is not supported by the language; try directly calling accessor methods '{1}' or '{2}'</source>
<target state="translated">Vlastnost, indexer nebo událost {0} nejsou tímto jazykem podporované. Zkuste přímo volat metody přistupujícího objektu {1} nebo {2}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BindToBogusProp1">
<source>Property, indexer, or event '{0}' is not supported by the language; try directly calling accessor method '{1}'</source>
<target state="translated">Vlastnost, indexer nebo událost {0} nejsou tímto jazykem podporované. Zkuste přímo volat metodu přistupujícího objektu {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoVoidHere">
<source>Keyword 'void' cannot be used in this context</source>
<target state="translated">Klíčové slovo void nejde v tomto kontextu použít.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IndexerNeedsParam">
<source>Indexers must have at least one parameter</source>
<target state="translated">Indexery musí mít nejmíň jeden parametr.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadArraySyntax">
<source>Array type specifier, [], must appear before parameter name</source>
<target state="translated">Před názvem parametru musí být uvedený specifikátor typu pole [].</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadOperatorSyntax">
<source>Declaration is not valid; use '{0} operator <dest-type> (...' instead</source>
<target state="translated">Deklarace není platná. Místo toho použijte: {0} operátor <dest-type> (...</target>
<note />
</trans-unit>
<trans-unit id="ERR_MainClassNotFound">
<source>Could not find '{0}' specified for Main method</source>
<target state="translated">Prvek {0} zadaný pro metodu Main se nenašel.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MainClassNotClass">
<source>'{0}' specified for Main method must be a non-generic class, record, struct, or interface</source>
<target state="translated">Typ {0} zadaný pro metodu Main musí být neobecná třída, záznam, struktura nebo rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoMainInClass">
<source>'{0}' does not have a suitable static 'Main' method</source>
<target state="translated">{0} nemá vhodnou statickou metodu Main.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MainClassIsImport">
<source>Cannot use '{0}' for Main method because it is imported</source>
<target state="translated">{0} nejde použít pro metodu Main, protože je importovaný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OutputNeedsName">
<source>Outputs without source must have the /out option specified</source>
<target state="translated">U výstupu bez zdroje musí být zadaný přepínač /out.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantHaveWin32ResAndManifest">
<source>Conflicting options specified: Win32 resource file; Win32 manifest</source>
<target state="translated">Jsou zadané konfliktní možnosti: soubor prostředků Win32, manifest Win32.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantHaveWin32ResAndIcon">
<source>Conflicting options specified: Win32 resource file; Win32 icon</source>
<target state="translated">Jsou zadané konfliktní možnosti: soubor prostředků Win32, ikona Win32.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantReadResource">
<source>Error reading resource '{0}' -- '{1}'</source>
<target state="translated">Chyba při čtení prostředku {0} -- {1}</target>
<note />
</trans-unit>
<trans-unit id="ERR_DocFileGen">
<source>Error writing to XML documentation file: {0}</source>
<target state="translated">Chyba při zápisu do souboru dokumentace XML: {0}</target>
<note />
</trans-unit>
<trans-unit id="WRN_XMLParseError">
<source>XML comment has badly formed XML -- '{0}'</source>
<target state="translated">Komentáře XML má chybně vytvořený kód -- {0}</target>
<note />
</trans-unit>
<trans-unit id="WRN_XMLParseError_Title">
<source>XML comment has badly formed XML</source>
<target state="translated">Komentář XML má chybně vytvořený kód.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DuplicateParamTag">
<source>XML comment has a duplicate param tag for '{0}'</source>
<target state="translated">Komentář XML má duplicitní značku param pro {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DuplicateParamTag_Title">
<source>XML comment has a duplicate param tag</source>
<target state="translated">Komentář XML má duplicitní značku param.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnmatchedParamTag">
<source>XML comment has a param tag for '{0}', but there is no parameter by that name</source>
<target state="translated">Komentář XML má značku param pro {0}, ale neexistuje parametr s tímto názvem.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnmatchedParamTag_Title">
<source>XML comment has a param tag, but there is no parameter by that name</source>
<target state="translated">Komentář XML má značku param, ale neexistuje parametr s tímto názvem.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnmatchedParamRefTag">
<source>XML comment on '{1}' has a paramref tag for '{0}', but there is no parameter by that name</source>
<target state="translated">Komentář XML u {1} má značku paramref pro {0}, ale neexistuje parametr s tímto názvem.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnmatchedParamRefTag_Title">
<source>XML comment has a paramref tag, but there is no parameter by that name</source>
<target state="translated">Komentář XML má značku paramref, ale neexistuje parametr s tímto názvem.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MissingParamTag">
<source>Parameter '{0}' has no matching param tag in the XML comment for '{1}' (but other parameters do)</source>
<target state="translated">Parametr {0} nemá žádnou odpovídající značku param v komentáři XML pro {1} (ale jiné parametry ano).</target>
<note />
</trans-unit>
<trans-unit id="WRN_MissingParamTag_Title">
<source>Parameter has no matching param tag in the XML comment (but other parameters do)</source>
<target state="translated">Parametr nemá odpovídající značku param v komentáři XML (na rozdíl od jiných parametrů).</target>
<note />
</trans-unit>
<trans-unit id="WRN_BadXMLRef">
<source>XML comment has cref attribute '{0}' that could not be resolved</source>
<target state="translated">Komentář XML má atribut cref {0}, který se nedal vyřešit.</target>
<note />
</trans-unit>
<trans-unit id="WRN_BadXMLRef_Title">
<source>XML comment has cref attribute that could not be resolved</source>
<target state="translated">Komentář XML má atribut cref, který se nedal vyřešit.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadStackAllocExpr">
<source>A stackalloc expression requires [] after type</source>
<target state="translated">Výraz stackalloc vyžaduje, aby za typem byly závorky [].</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidLineNumber">
<source>The line number specified for #line directive is missing or invalid</source>
<target state="translated">Číslo řádku zadané v direktivě #line se nenašlo nebo je neplatné.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MissingPPFile">
<source>Quoted file name, single-line comment or end-of-line expected</source>
<target state="translated">Očekával se citovaný název souboru, jednořádkový komentář nebo konec řádku.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpectedPPFile">
<source>Quoted file name expected</source>
<target state="translated">Očekával se citovaný název souboru.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ReferenceDirectiveOnlyAllowedInScripts">
<source>#r is only allowed in scripts</source>
<target state="translated">#r je povolený jenom ve skriptech.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ForEachMissingMember">
<source>foreach statement cannot operate on variables of type '{0}' because '{0}' does not contain a public instance or extension definition for '{1}'</source>
<target state="translated">Příkaz foreach nejde použít pro proměnné typu {0}, protože {0} neobsahuje veřejnou definici instance nebo rozšíření pro {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_BadXMLRefParamType">
<source>Invalid type for parameter {0} in XML comment cref attribute: '{1}'</source>
<target state="translated">Neplatný typ pro parametr {0} v atributu cref komentáře XML: {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_BadXMLRefParamType_Title">
<source>Invalid type for parameter in XML comment cref attribute</source>
<target state="translated">Neplatný typ pro parametr v atributu cref komentáře XML.</target>
<note />
</trans-unit>
<trans-unit id="WRN_BadXMLRefReturnType">
<source>Invalid return type in XML comment cref attribute</source>
<target state="translated">Neplatný typ vrácené hodnoty v atributu cref komentáře XML</target>
<note />
</trans-unit>
<trans-unit id="WRN_BadXMLRefReturnType_Title">
<source>Invalid return type in XML comment cref attribute</source>
<target state="translated">Neplatný typ vrácené hodnoty v atributu cref komentáře XML</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadWin32Res">
<source>Error reading Win32 resources -- {0}</source>
<target state="translated">Chyba při čtení prostředků Win32 -- {0}</target>
<note />
</trans-unit>
<trans-unit id="WRN_BadXMLRefSyntax">
<source>XML comment has syntactically incorrect cref attribute '{0}'</source>
<target state="translated">Komentář XML má syntakticky nesprávný atribut cref {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_BadXMLRefSyntax_Title">
<source>XML comment has syntactically incorrect cref attribute</source>
<target state="translated">Komentář XML má syntakticky nesprávný atribut cref.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadModifierLocation">
<source>Member modifier '{0}' must precede the member type and name</source>
<target state="translated">Modifikátor členu {0} musí předcházet jeho názvu a typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MissingArraySize">
<source>Array creation must have array size or array initializer</source>
<target state="translated">Při vytváření pole musí být k dispozici velikost pole nebo inicializátor pole.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnprocessedXMLComment">
<source>XML comment is not placed on a valid language element</source>
<target state="translated">Komentář XML není umístěný v platném prvku jazyka.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnprocessedXMLComment_Title">
<source>XML comment is not placed on a valid language element</source>
<target state="translated">Komentář XML není umístěný v platném prvku jazyka.</target>
<note />
</trans-unit>
<trans-unit id="WRN_FailedInclude">
<source>Unable to include XML fragment '{1}' of file '{0}' -- {2}</source>
<target state="translated">Nejde zahrnout fragment XML {1} ze souboru {0} -- {2}</target>
<note />
</trans-unit>
<trans-unit id="WRN_FailedInclude_Title">
<source>Unable to include XML fragment</source>
<target state="translated">Nejde zahrnout fragment XML.</target>
<note />
</trans-unit>
<trans-unit id="WRN_InvalidInclude">
<source>Invalid XML include element -- {0}</source>
<target state="translated">Neplatný prvek direktivy include XML -- {0}</target>
<note />
</trans-unit>
<trans-unit id="WRN_InvalidInclude_Title">
<source>Invalid XML include element</source>
<target state="translated">Neplatný prvek direktivy include XML</target>
<note />
</trans-unit>
<trans-unit id="WRN_MissingXMLComment">
<source>Missing XML comment for publicly visible type or member '{0}'</source>
<target state="translated">Komentář XML pro veřejně viditelný typ nebo člen {0} se nenašel.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MissingXMLComment_Title">
<source>Missing XML comment for publicly visible type or member</source>
<target state="translated">Komentář XML pro veřejně viditelný typ nebo člen se nenašel.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MissingXMLComment_Description">
<source>The /doc compiler option was specified, but one or more constructs did not have comments.</source>
<target state="translated">Byla zadaná možnost kompilátoru /doc, ale nejmíň jedna konstrukce neměla komentáře.</target>
<note />
</trans-unit>
<trans-unit id="WRN_XMLParseIncludeError">
<source>Badly formed XML in included comments file -- '{0}'</source>
<target state="translated">Chybně vytvořený kód XML v zahrnutém souboru komentáře -- {0}</target>
<note />
</trans-unit>
<trans-unit id="WRN_XMLParseIncludeError_Title">
<source>Badly formed XML in included comments file</source>
<target state="translated">Chybně vytvořený kód XML v zahrnutém souboru komentářů</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadDelArgCount">
<source>Delegate '{0}' does not take {1} arguments</source>
<target state="translated">Delegát {0} nepřevezme tento počet argumentů: {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnexpectedSemicolon">
<source>Semicolon after method or accessor block is not valid</source>
<target state="translated">Středník není platný za metodou nebo blokem přistupujícího objektu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MethodReturnCantBeRefAny">
<source>The return type of a method, delegate, or function pointer cannot be '{0}'</source>
<target state="translated">Návratový typ metody, delegáta nebo ukazatele na funkci nemůže být {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CompileCancelled">
<source>Compilation cancelled by user</source>
<target state="translated">Kompilaci zrušil uživatel.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MethodArgCantBeRefAny">
<source>Cannot make reference to variable of type '{0}'</source>
<target state="translated">Nejde vytvořit odkaz na proměnnou typu {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AssgReadonlyLocal">
<source>Cannot assign to '{0}' because it is read-only</source>
<target state="translated">K položce nejde přiřadit {0}, protože je jen pro čtení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReadonlyLocal">
<source>Cannot use '{0}' as a ref or out value because it is read-only</source>
<target state="translated">{0} nejde použít jako hodnotu Ref nebo Out, protože je jen pro čtení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantUseRequiredAttribute">
<source>The RequiredAttribute attribute is not permitted on C# types</source>
<target state="translated">Atribut RequiredAttribute není povolený pro typy C#.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoModifiersOnAccessor">
<source>Modifiers cannot be placed on event accessor declarations</source>
<target state="translated">Modifikátory nejde umístit do deklarace přistupujícího objektu události.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ParamsCantBeWithModifier">
<source>The params parameter cannot be declared as {0}</source>
<target state="translated">Parametr params nejde deklarovat jako {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ReturnNotLValue">
<source>Cannot modify the return value of '{0}' because it is not a variable</source>
<target state="translated">Vrácenou hodnotu {0} nejde změnit, protože se nejedná o proměnnou.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MissingCoClass">
<source>The managed coclass wrapper class '{0}' for interface '{1}' cannot be found (are you missing an assembly reference?)</source>
<target state="translated">Spravovaná třída obálky coclass {0} pro rozhraní {1} se nedá najít. (Nechybí odkaz na sestavení?)</target>
<note />
</trans-unit>
<trans-unit id="ERR_AmbiguousAttribute">
<source>'{0}' is ambiguous between '{1}' and '{2}'. Either use '@{0}' or explicitly include the 'Attribute' suffix.</source>
<target state="needs-review-translation">{0} je nejednoznačné mezi {1} a {2}; použijte buď @{0}, nebo {0}Attribute.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadArgExtraRef">
<source>Argument {0} may not be passed with the '{1}' keyword</source>
<target state="translated">Argument {0} se nesmí předávat s klíčovým slovem {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CmdOptionConflictsSource">
<source>Option '{0}' overrides attribute '{1}' given in a source file or added module</source>
<target state="translated">Možnost {0} přepíše atribut {1} zadaný ve zdrojovém souboru nebo přidaném modulu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CmdOptionConflictsSource_Title">
<source>Option overrides attribute given in a source file or added module</source>
<target state="translated">Možnost přepíše atribut zadaný ve zdrojovém souboru nebo přidaném modulu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CmdOptionConflictsSource_Description">
<source>This warning occurs if the assembly attributes AssemblyKeyFileAttribute or AssemblyKeyNameAttribute found in source conflict with the /keyfile or /keycontainer command line option or key file name or key container specified in the Project Properties.</source>
<target state="translated">Toto varování se objeví, pokud jsou atributy sestavení AssemblyKeyFileAttribute nebo AssemblyKeyNameAttribute nacházející se ve zdroji v konfliktu s parametrem příkazového řádku /keyfile nebo /keycontainer nebo názvem souboru klíče nebo kontejnerem klíčů zadaným ve vlastnostech projektu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadCompatMode">
<source>Invalid option '{0}' for /langversion. Use '/langversion:?' to list supported values.</source>
<target state="translated">Neplatný parametr {0} pro /langversion. Podporované hodnoty vypíšete pomocí /langversion:?.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DelegateOnConditional">
<source>Cannot create delegate with '{0}' because it or a method it overrides has a Conditional attribute</source>
<target state="translated">Delegáta s {0} nejde vytvořit, protože ten nebo metoda, kterou přepisuje, má atribut Conditional.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantMakeTempFile">
<source>Cannot create temporary file -- {0}</source>
<target state="translated">Nedá se vytvořit dočasný soubor -- {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadArgRef">
<source>Argument {0} must be passed with the '{1}' keyword</source>
<target state="translated">Argument {0} se musí předávat s klíčovým slovem {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_YieldInAnonMeth">
<source>The yield statement cannot be used inside an anonymous method or lambda expression</source>
<target state="translated">Příkaz yield nejde používat uvnitř anonymních metod a výrazů lambda.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ReturnInIterator">
<source>Cannot return a value from an iterator. Use the yield return statement to return a value, or yield break to end the iteration.</source>
<target state="translated">Nejde vrátit hodnotu z iterátoru. K vrácení hodnoty použijte příkaz yield return. K ukončení opakování použijte příkaz yield break.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadIteratorArgType">
<source>Iterators cannot have ref, in or out parameters</source>
<target state="translated">U iterátorů nejde používat parametry ref, in nebo out.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadIteratorReturn">
<source>The body of '{0}' cannot be an iterator block because '{1}' is not an iterator interface type</source>
<target state="translated">Tělo {0} nemůže být blok iterátoru, protože {1} není typ rozhraní iterátoru.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadYieldInFinally">
<source>Cannot yield in the body of a finally clause</source>
<target state="translated">V těle klauzule finally nejde používat příkaz yield.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadYieldInTryOfCatch">
<source>Cannot yield a value in the body of a try block with a catch clause</source>
<target state="translated">V těle bloku try s klauzulí catch nejde uvést hodnotu příkazu yield.</target>
<note />
</trans-unit>
<trans-unit id="ERR_EmptyYield">
<source>Expression expected after yield return</source>
<target state="translated">Po příkazu yield return se očekával výraz.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AnonDelegateCantUse">
<source>Cannot use ref, out, or in parameter '{0}' inside an anonymous method, lambda expression, query expression, or local function</source>
<target state="translated">Parametr ref, out nebo in {0} nejde použít uvnitř anonymní metody, výrazu lambda, výrazu dotazu nebo lokální funkce.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IllegalInnerUnsafe">
<source>Unsafe code may not appear in iterators</source>
<target state="translated">Iterátory nesmí obsahovat nezabezpečený kód.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadYieldInCatch">
<source>Cannot yield a value in the body of a catch clause</source>
<target state="translated">V těle klauzule catch nejde použít hodnotu získanou příkazem yield.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadDelegateLeave">
<source>Control cannot leave the body of an anonymous method or lambda expression</source>
<target state="translated">Ovládací prvek nemůže opustit tělo anonymní metody nebo výrazu lambda.</target>
<note />
</trans-unit>
<trans-unit id="WRN_IllegalPragma">
<source>Unrecognized #pragma directive</source>
<target state="translated">Nerozpoznaná direktiva #pragma</target>
<note />
</trans-unit>
<trans-unit id="WRN_IllegalPragma_Title">
<source>Unrecognized #pragma directive</source>
<target state="translated">Nerozpoznaná direktiva #pragma</target>
<note />
</trans-unit>
<trans-unit id="WRN_IllegalPPWarning">
<source>Expected 'disable' or 'restore'</source>
<target state="translated">Očekávala se hodnota disable nebo restore.</target>
<note />
</trans-unit>
<trans-unit id="WRN_IllegalPPWarning_Title">
<source>Expected 'disable' or 'restore' after #pragma warning</source>
<target state="translated">Po varování #pragma se očekávala hodnota disable nebo restore.</target>
<note />
</trans-unit>
<trans-unit id="WRN_BadRestoreNumber">
<source>Cannot restore warning 'CS{0}' because it was disabled globally</source>
<target state="translated">Nejde obnovit varování CS{0}, protože je globálně zakázané.</target>
<note />
</trans-unit>
<trans-unit id="WRN_BadRestoreNumber_Title">
<source>Cannot restore warning because it was disabled globally</source>
<target state="translated">Nejde obnovit varování, protože bylo globálně zakázané.</target>
<note />
</trans-unit>
<trans-unit id="ERR_VarargsIterator">
<source>__arglist is not allowed in the parameter list of iterators</source>
<target state="translated">Parametr __arglist není povolený v seznamu parametrů iterátorů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnsafeIteratorArgType">
<source>Iterators cannot have unsafe parameters or yield types</source>
<target state="translated">U iterátorů nejde používat nezabezpečené parametry nebo typy yield.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadCoClassSig">
<source>The managed coclass wrapper class signature '{0}' for interface '{1}' is not a valid class name signature</source>
<target state="translated">Podpis spravované třídy obálky coclass {0} pro rozhraní {1} není platný podpis názvu třídy.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MultipleIEnumOfT">
<source>foreach statement cannot operate on variables of type '{0}' because it implements multiple instantiations of '{1}'; try casting to a specific interface instantiation</source>
<target state="translated">Příkaz foreach nejde použít pro proměnné typu {0}, protože implementuje vytváření víc instancí {1}. Zkuste přetypování na konkrétní instanci rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FixedDimsRequired">
<source>A fixed size buffer field must have the array size specifier after the field name</source>
<target state="translated">Pole vyrovnávací paměti s pevnou velikostí musí mít za názvem pole uvedený specifikátor velikosti pole.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FixedNotInStruct">
<source>Fixed size buffer fields may only be members of structs</source>
<target state="translated">Pole vyrovnávací paměti pevné velikosti můžou být jenom členy struktur.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AnonymousReturnExpected">
<source>Not all code paths return a value in {0} of type '{1}'</source>
<target state="translated">Ne všechny cesty kódu vracejí hodnotu v {0} typu {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NonECMAFeature">
<source>Feature '{0}' is not part of the standardized ISO C# language specification, and may not be accepted by other compilers</source>
<target state="translated">Funkce {0} není součástí standardizované specifikace ISO jazyka C# a možná ji nepůjde použít v ostatních kompilátorech</target>
<note />
</trans-unit>
<trans-unit id="WRN_NonECMAFeature_Title">
<source>Feature is not part of the standardized ISO C# language specification, and may not be accepted by other compilers</source>
<target state="translated">Funkce není součástí standardizované specifikace ISO jazyka C# a možná ji nepůjde použít v ostatních kompilátorech</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpectedVerbatimLiteral">
<source>Keyword, identifier, or string expected after verbatim specifier: @</source>
<target state="translated">Po specifikátoru verbatim se očekávalo klíčové slovo, identifikátor nebo řetězec: @</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReadonly">
<source>A readonly field cannot be used as a ref or out value (except in a constructor)</source>
<target state="translated">Pole určené jen pro čtení nejde použít jako hodnotu Ref nebo Out (kromě případu, kdy se nachází uvnitř konstruktoru).</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReadonly2">
<source>Members of readonly field '{0}' cannot be used as a ref or out value (except in a constructor)</source>
<target state="translated">Členy pole jen pro čtení {0} nejde použít jako hodnotu Ref nebo Out (kromě případu, kdy se nachází uvnitř konstruktoru). </target>
<note />
</trans-unit>
<trans-unit id="ERR_AssgReadonly">
<source>A readonly field cannot be assigned to (except in a constructor or init-only setter of the type in which the field is defined or a variable initializer)</source>
<target state="translated">Do pole jen pro čtení není možné přiřazovat hodnoty (kromě případu, kdy je v konstruktoru nebo v metodě setter jen pro inicializaci typu, ve kterém je pole definované, nebo v inicializátoru proměnné).</target>
<note />
</trans-unit>
<trans-unit id="ERR_AssgReadonly2">
<source>Members of readonly field '{0}' cannot be modified (except in a constructor or a variable initializer)</source>
<target state="translated">Členy pole jen pro čtení {0} nejde měnit (kromě případu, kdy se nacházejí uvnitř konstruktoru nebo inicializátoru proměnné).</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReadonlyNotField">
<source>Cannot use {0} '{1}' as a ref or out value because it is a readonly variable</source>
<target state="translated">Nejde použít {0} {1} jako hodnotu ref nebo out, protože je to proměnná jen pro čtení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReadonlyNotField2">
<source>Members of {0} '{1}' cannot be used as a ref or out value because it is a readonly variable</source>
<target state="translated">Členy {0} {1} nejde použít jako hodnotu ref nebo out, protože je to proměnná jen pro čtení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AssignReadonlyNotField">
<source>Cannot assign to {0} '{1}' because it is a readonly variable</source>
<target state="translated">Nejde přiřadit k položce {0} {1}, protože to je proměnná jen pro čtení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AssignReadonlyNotField2">
<source>Cannot assign to a member of {0} '{1}' because it is a readonly variable</source>
<target state="translated">Nejde přiřadit členovi {0} {1}, protože to je proměnná jen pro čtení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturnReadonlyNotField">
<source>Cannot return {0} '{1}' by writable reference because it is a readonly variable</source>
<target state="translated">Nejde vrátit {0} {1} zapisovatelným odkazem, protože to je proměnná jen pro čtení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturnReadonlyNotField2">
<source>Members of {0} '{1}' cannot be returned by writable reference because it is a readonly variable</source>
<target state="translated">Členy {0} {1} nejde vrátit zapisovatelným odkazem, protože to je proměnná jen pro čtení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AssgReadonlyStatic2">
<source>Fields of static readonly field '{0}' cannot be assigned to (except in a static constructor or a variable initializer)</source>
<target state="translated">Pole statických polí jen pro čtení {0} nejde přiřadit (kromě případu, kdy se nacházejí uvnitř statického konstruktoru nebo inicializátoru proměnné).</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReadonlyStatic2">
<source>Fields of static readonly field '{0}' cannot be used as a ref or out value (except in a static constructor)</source>
<target state="translated">Pole statického pole jen pro čtení {0} nejde použít jako hodnotu Ref nebo Out (kromě případu, kdy se nacházejí uvnitř statického konstruktoru).</target>
<note />
</trans-unit>
<trans-unit id="ERR_AssgReadonlyLocal2Cause">
<source>Cannot modify members of '{0}' because it is a '{1}'</source>
<target state="translated">Členy z {0} nejde upravit, protože jde o {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReadonlyLocal2Cause">
<source>Cannot use fields of '{0}' as a ref or out value because it is a '{1}'</source>
<target state="translated">Pole elementu {0} nejde použít jako hodnotu Ref nebo Out, protože je {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AssgReadonlyLocalCause">
<source>Cannot assign to '{0}' because it is a '{1}'</source>
<target state="translated">K položce nejde přiřadit {0}, protože je typu {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReadonlyLocalCause">
<source>Cannot use '{0}' as a ref or out value because it is a '{1}'</source>
<target state="translated">{0} nejde použít jako hodnotu Ref nebo Out, protože je {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ErrorOverride">
<source>{0}. See also error CS{1}.</source>
<target state="translated">{0}. Viz taky chyba CS{1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ErrorOverride_Title">
<source>Warning is overriding an error</source>
<target state="translated">Varování přepisuje chybu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ErrorOverride_Description">
<source>The compiler emits this warning when it overrides an error with a warning. For information about the problem, search for the error code mentioned.</source>
<target state="translated">Kompilátor vydá toto varování, když přepíše chybu varováním. Informace o tomto problému vyhledejte podle uvedeného kódu chyby.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AnonMethToNonDel">
<source>Cannot convert {0} to type '{1}' because it is not a delegate type</source>
<target state="translated">{0} nejde převést na typ {1}, protože to není typ delegáta.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantConvAnonMethParams">
<source>Cannot convert {0} to type '{1}' because the parameter types do not match the delegate parameter types</source>
<target state="translated">{0} nejde převést na typ {1}, protože typy parametrů se neshodují s typy parametrů delegáta.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantConvAnonMethReturns">
<source>Cannot convert {0} to intended delegate type because some of the return types in the block are not implicitly convertible to the delegate return type</source>
<target state="translated">{0} nejde převést na zamýšlený typ delegáta, protože některé z návratových typů v bloku nejsou implicitně převeditelné na návratový typ tohoto delegáta.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAsyncReturnExpression">
<source>Since this is an async method, the return expression must be of type '{0}' rather than 'Task<{0}>'</source>
<target state="translated">Protože se jedná o asynchronní metodu, vrácený výraz musí být typu {0} a ne typu Task<{0}>.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantConvAsyncAnonFuncReturns">
<source>Cannot convert async {0} to delegate type '{1}'. An async {0} may return void, Task or Task<T>, none of which are convertible to '{1}'.</source>
<target state="translated">Asynchronní metodu {0} nejde převést na typ delegáta {1}. Asynchronní metoda {0} může vracet hodnoty typu void, Task nebo Task< T> , z nichž žádnou nejde převést na typ {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IllegalFixedType">
<source>Fixed size buffer type must be one of the following: bool, byte, short, int, long, char, sbyte, ushort, uint, ulong, float or double</source>
<target state="translated">Typ vyrovnávací paměti pevné velikosti musí být následující: bool, byte, short, int, long, char, sbyte, ushort, uint, ulong, float nebo double.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FixedOverflow">
<source>Fixed size buffer of length {0} and type '{1}' is too big</source>
<target state="translated">Vyrovnávací paměť pevné velikosti s délkou {0} a typem {1} je moc velká.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidFixedArraySize">
<source>Fixed size buffers must have a length greater than zero</source>
<target state="translated">Vyrovnávací paměti pevné velikosti mají délku větší než nula.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FixedBufferNotFixed">
<source>You cannot use fixed size buffers contained in unfixed expressions. Try using the fixed statement.</source>
<target state="translated">Vyrovnávací paměti pevné velikosti obsažené ve volném výrazu nejde používat. Použijte příkaz fixed.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AttributeNotOnAccessor">
<source>Attribute '{0}' is not valid on property or event accessors. It is only valid on '{1}' declarations.</source>
<target state="translated">Atribut {0} není platný pro přistupující objekty vlastnosti nebo události. Je platný jenom pro deklarace {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_InvalidSearchPathDir">
<source>Invalid search path '{0}' specified in '{1}' -- '{2}'</source>
<target state="translated">Neplatná vyhledávací cesta {0} zadaná v {1} -- {2}</target>
<note />
</trans-unit>
<trans-unit id="WRN_InvalidSearchPathDir_Title">
<source>Invalid search path specified</source>
<target state="translated">Byla zadaná neplatná vyhledávací cesta.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IllegalVarArgs">
<source>__arglist is not valid in this context</source>
<target state="translated">Klíčové slovo __arglist není v tomto kontextu platné.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IllegalParams">
<source>params is not valid in this context</source>
<target state="translated">Klíčové slovo params není v tomto kontextu platné.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadModifiersOnNamespace">
<source>A namespace declaration cannot have modifiers or attributes</source>
<target state="translated">Deklarace oboru názvů nemůže mít modifikátory ani atributy.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadPlatformType">
<source>Invalid option '{0}' for /platform; must be anycpu, x86, Itanium, arm, arm64 or x64</source>
<target state="translated">Neplatná možnost {0} pro /platform. Musí být anycpu, x86, Itanium, arm, arm64 nebo x64.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ThisStructNotInAnonMeth">
<source>Anonymous methods, lambda expressions, query expressions, and local functions inside structs cannot access instance members of 'this'. Consider copying 'this' to a local variable outside the anonymous method, lambda expression, query expression, or local function and using the local instead.</source>
<target state="translated">Anonymní metody, výrazy lambda, výrazy dotazu a místní funkce uvnitř struktur nemají přístup ke členům instance this. Jako náhradu zkopírujte objekt this do lokální proměnné vně anonymní metody, výrazu lambda, výrazu dotazu nebo místní funkce a použijte tuto lokální proměnnou.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoConvToIDisp">
<source>'{0}': type used in a using statement must be implicitly convertible to 'System.IDisposable'.</source>
<target state="translated">{0}: Typ použitý v příkazu using musí být implicitně převeditelný na System.IDisposable.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadParamRef">
<source>Parameter {0} must be declared with the '{1}' keyword</source>
<target state="translated">Parametr {0} se musí deklarovat s klíčovým slovem {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadParamExtraRef">
<source>Parameter {0} should not be declared with the '{1}' keyword</source>
<target state="translated">Parametr {0} by se neměl deklarovat s klíčovým slovem {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadParamType">
<source>Parameter {0} is declared as type '{1}{2}' but should be '{3}{4}'</source>
<target state="translated">Parametr {0} se deklaruje jako typ {1}{2}, ale mělo by jít o {3}{4}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadExternIdentifier">
<source>Invalid extern alias for '/reference'; '{0}' is not a valid identifier</source>
<target state="translated">Neplatný externí alias pro parametr /reference; {0} je neplatný identifikátor.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AliasMissingFile">
<source>Invalid reference alias option: '{0}=' -- missing filename</source>
<target state="translated">Neplatný parametr aliasu odkazu: {0}= – nenašel se název souboru.</target>
<note />
</trans-unit>
<trans-unit id="ERR_GlobalExternAlias">
<source>You cannot redefine the global extern alias</source>
<target state="translated">Nejde předefinovat globální externí alias.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MissingTypeInSource">
<source>Reference to type '{0}' claims it is defined in this assembly, but it is not defined in source or any added modules</source>
<target state="translated">Odkaz na typ {0} se deklaruje jako definovaný v tomto sestavení, ale není definovaný ve zdroji ani v žádných přidaných modulech.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MissingTypeInAssembly">
<source>Reference to type '{0}' claims it is defined in '{1}', but it could not be found</source>
<target state="translated">Odkaz na typ {0} se deklaruje jako definovaný v rámci {1}, ale nenašel.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MultiplePredefTypes">
<source>The predefined type '{0}' is defined in multiple assemblies in the global alias; using definition from '{1}'</source>
<target state="translated">Předdefinovaný typ {0} je definovaný ve více sestaveních v globálním aliasu; použije se definice z {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MultiplePredefTypes_Title">
<source>Predefined type is defined in multiple assemblies in the global alias</source>
<target state="translated">Předdefinovaný typ je definovaný ve více sestaveních v globálním aliasu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MultiplePredefTypes_Description">
<source>This error occurs when a predefined system type such as System.Int32 is found in two assemblies. One way this can happen is if you are referencing mscorlib or System.Runtime.dll from two different places, such as trying to run two versions of the .NET Framework side-by-side.</source>
<target state="translated">K této chybě dojde, když se předdefinovaný systémový typ, jako je System.Int32, nachází ve dvou sestaveních. Jedna z možností, jak se to může stát, je, že odkazujete na mscorlib nebo System.Runtime.dll, ze dvou různých míst, například při pokusu spustit dvě verze .NET Framework vedle sebe.</target>
<note />
</trans-unit>
<trans-unit id="ERR_LocalCantBeFixedAndHoisted">
<source>Local '{0}' or its members cannot have their address taken and be used inside an anonymous method or lambda expression</source>
<target state="translated">Adresu místní proměnné {0} ani jejích členů nejde vzít a použít uvnitř anonymní metody nebo lambda výrazu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_TooManyLinesForDebugger">
<source>Source file has exceeded the limit of 16,707,565 lines representable in the PDB; debug information will be incorrect</source>
<target state="translated">U zdrojového souboru se překročil limit 16 707 565 řádků, které může soubor PDB obsahovat. Ladicí informace budou nesprávné.</target>
<note />
</trans-unit>
<trans-unit id="WRN_TooManyLinesForDebugger_Title">
<source>Source file has exceeded the limit of 16,707,565 lines representable in the PDB; debug information will be incorrect</source>
<target state="translated">U zdrojového souboru se překročil limit 16 707 565 řádků, které může soubor PDB obsahovat. Ladicí informace budou nesprávné.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantConvAnonMethNoParams">
<source>Cannot convert anonymous method block without a parameter list to delegate type '{0}' because it has one or more out parameters</source>
<target state="translated">Blok anonymní metody bez seznamu parametrů nejde převést na typ delegáta {0}, protože má nejmíň jeden parametr out.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConditionalOnNonAttributeClass">
<source>Attribute '{0}' is only valid on methods or attribute classes</source>
<target state="translated">Atribut {0} je platný jenom pro metody nebo třídy atributů.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallOnNonAgileField">
<source>Accessing a member on '{0}' may cause a runtime exception because it is a field of a marshal-by-reference class</source>
<target state="translated">Přístup ke členovi na {0} může způsobit výjimku za běhu, protože se jedná o pole třídy marshal-by-reference.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallOnNonAgileField_Title">
<source>Accessing a member on a field of a marshal-by-reference class may cause a runtime exception</source>
<target state="translated">Přístup ke členovi v poli třídy marshal-by-reference může způsobit běhovou výjimku.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallOnNonAgileField_Description">
<source>This warning occurs when you try to call a method, property, or indexer on a member of a class that derives from MarshalByRefObject, and the member is a value type. Objects that inherit from MarshalByRefObject are typically intended to be marshaled by reference across an application domain. If any code ever attempts to directly access the value-type member of such an object across an application domain, a runtime exception will occur. To resolve the warning, first copy the member into a local variable and call the method on that variable.</source>
<target state="translated">Toto varování se vyskytne, když se pokusíte volat metodu, vlastnost nebo indexer u členu třídy, která se odvozuje z objektu MarshalByRefObject, a tento člen je typu hodnota. Objekty, které dědí z objektu MarshalByRefObject, jsou obvykle zamýšlené tak, že se budou zařazovat podle odkazů v aplikační doméně. Pokud se nějaký kód někdy pokusí o přímý přístup ke členu typu hodnota takového objektu někde v aplikační doméně, dojde k výjimce běhu modulu runtime. Pokud chcete vyřešit toto varování, zkopírujte nejdřív člen do místní proměnné a pak u ní vyvolejte uvedenou metodu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_BadWarningNumber">
<source>'{0}' is not a valid warning number</source>
<target state="translated">{0} není platné číslo upozornění.</target>
<note />
</trans-unit>
<trans-unit id="WRN_BadWarningNumber_Title">
<source>Not a valid warning number</source>
<target state="translated">Není platné číslo varování.</target>
<note />
</trans-unit>
<trans-unit id="WRN_BadWarningNumber_Description">
<source>A number that was passed to the #pragma warning preprocessor directive was not a valid warning number. Verify that the number represents a warning, not an error.</source>
<target state="translated">Číslo, které bylo předané do direktivy preprocesoru varování #pragma, nepředstavovalo platné číslo varování. Ověřte, že číslo představuje varování, ne chybu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_InvalidNumber">
<source>Invalid number</source>
<target state="translated">Neplatné číslo</target>
<note />
</trans-unit>
<trans-unit id="WRN_InvalidNumber_Title">
<source>Invalid number</source>
<target state="translated">Neplatné číslo</target>
<note />
</trans-unit>
<trans-unit id="WRN_FileNameTooLong">
<source>Invalid filename specified for preprocessor directive. Filename is too long or not a valid filename.</source>
<target state="translated">V direktivě preprocesoru je uvedený neplatný název souboru. Název souboru je moc dlouhý nebo se nejedná o platný název souboru.</target>
<note />
</trans-unit>
<trans-unit id="WRN_FileNameTooLong_Title">
<source>Invalid filename specified for preprocessor directive</source>
<target state="translated">Byl zadaný neplatný název souboru pro direktivu preprocesoru.</target>
<note />
</trans-unit>
<trans-unit id="WRN_IllegalPPChecksum">
<source>Invalid #pragma checksum syntax; should be #pragma checksum "filename" "{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}" "XXXX..."</source>
<target state="translated">Syntaxe #pragma checksum není platná. Správná syntaxe: #pragma checksum "název_souboru" "{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}" "XXXX..."</target>
<note />
</trans-unit>
<trans-unit id="WRN_IllegalPPChecksum_Title">
<source>Invalid #pragma checksum syntax</source>
<target state="translated">Neplatná syntaxe kontrolního součtu #pragma</target>
<note />
</trans-unit>
<trans-unit id="WRN_EndOfPPLineExpected">
<source>Single-line comment or end-of-line expected</source>
<target state="translated">Očekával se jednořádkový komentář nebo konec řádku.</target>
<note />
</trans-unit>
<trans-unit id="WRN_EndOfPPLineExpected_Title">
<source>Single-line comment or end-of-line expected after #pragma directive</source>
<target state="translated">Po direktivě #pragma se očekával jednořádkový komentář nebo konec řádku.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ConflictingChecksum">
<source>Different checksum values given for '{0}'</source>
<target state="translated">Pro {0} jsou zadané různé hodnoty kontrolního součtu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ConflictingChecksum_Title">
<source>Different #pragma checksum values given</source>
<target state="translated">Jsou zadané různé hodnoty kontrolního součtu direktivy #pragma.</target>
<note />
</trans-unit>
<trans-unit id="WRN_InvalidAssemblyName">
<source>Assembly reference '{0}' is invalid and cannot be resolved</source>
<target state="translated">Odkaz na sestavení {0} je neplatný a nedá se vyhodnotit.</target>
<note />
</trans-unit>
<trans-unit id="WRN_InvalidAssemblyName_Title">
<source>Assembly reference is invalid and cannot be resolved</source>
<target state="translated">Odkaz na sestavení je neplatný a nedá se vyhodnotit.</target>
<note />
</trans-unit>
<trans-unit id="WRN_InvalidAssemblyName_Description">
<source>This warning indicates that an attribute, such as InternalsVisibleToAttribute, was not specified correctly.</source>
<target state="translated">Toto varování indikuje, že některý atribut, třeba InternalsVisibleToAttribute, nebyl zadaný správně.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnifyReferenceMajMin">
<source>Assuming assembly reference '{0}' used by '{1}' matches identity '{2}' of '{3}', you may need to supply runtime policy</source>
<target state="translated">Předpokládá se, že odkaz na sestavení {0}, který používá {1}, odpovídá identitě {2} pro {3}. Možná budete muset zadat zásady pro běh.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnifyReferenceMajMin_Title">
<source>Assuming assembly reference matches identity</source>
<target state="translated">Předpokládá se, že odkaz na sestavení odpovídá identitě.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnifyReferenceMajMin_Description">
<source>The two assemblies differ in release and/or version number. For unification to occur, you must specify directives in the application's .config file, and you must provide the correct strong name of an assembly.</source>
<target state="translated">Tato dvě sestavení se liší číslem vydání nebo verze. Aby mohlo proběhnout sjednocení, musíte zadat direktivy v souboru .config aplikace a musíte poskytnout správný silný název sestavení.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnifyReferenceBldRev">
<source>Assuming assembly reference '{0}' used by '{1}' matches identity '{2}' of '{3}', you may need to supply runtime policy</source>
<target state="translated">Předpokládá se, že odkaz na sestavení {0}, který používá {1}, odpovídá identitě {2} pro {3}. Možná budete muset zadat zásady pro běh.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnifyReferenceBldRev_Title">
<source>Assuming assembly reference matches identity</source>
<target state="translated">Předpokládá se, že odkaz na sestavení odpovídá identitě.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnifyReferenceBldRev_Description">
<source>The two assemblies differ in release and/or version number. For unification to occur, you must specify directives in the application's .config file, and you must provide the correct strong name of an assembly.</source>
<target state="translated">Tato dvě sestavení se liší číslem vydání nebo verze. Aby mohlo proběhnout sjednocení, musíte zadat direktivy v souboru .config aplikace a musíte poskytnout správný silný název sestavení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateImport">
<source>Multiple assemblies with equivalent identity have been imported: '{0}' and '{1}'. Remove one of the duplicate references.</source>
<target state="translated">Naimportovalo se víc sestavení s ekvivalentní identitou: {0} a {1}. Odeberte jeden z duplicitních odkazů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateImportSimple">
<source>An assembly with the same simple name '{0}' has already been imported. Try removing one of the references (e.g. '{1}') or sign them to enable side-by-side.</source>
<target state="translated">Už se naimportovalo sestavení se stejným jednoduchým názvem {0}. Zkuste odebrat jeden z odkazů (např. {1}) nebo je podepište, aby mohly fungovat vedle sebe.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AssemblyMatchBadVersion">
<source>Assembly '{0}' with identity '{1}' uses '{2}' which has a higher version than referenced assembly '{3}' with identity '{4}'</source>
<target state="translated">Sestavení {0} s identitou {1} používá {2} s vyšší verzí, než jakou má odkazované sestavení {3} s identitou {4}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FixedNeedsLvalue">
<source>Fixed size buffers can only be accessed through locals or fields</source>
<target state="translated">K vyrovnávacím pamětem s pevnou velikostí jde získat přístup jenom prostřednictvím lokálních proměnných nebo polí.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DuplicateTypeParamTag">
<source>XML comment has a duplicate typeparam tag for '{0}'</source>
<target state="translated">Komentář XML má duplicitní značku typeparam pro {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DuplicateTypeParamTag_Title">
<source>XML comment has a duplicate typeparam tag</source>
<target state="translated">Komentář XML má duplicitní značku typeparam.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnmatchedTypeParamTag">
<source>XML comment has a typeparam tag for '{0}', but there is no type parameter by that name</source>
<target state="translated">Komentář XML má značku typeparam pro {0}, ale neexistuje parametr typu s tímto názvem.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnmatchedTypeParamTag_Title">
<source>XML comment has a typeparam tag, but there is no type parameter by that name</source>
<target state="translated">Komentář XML má značku typeparam, ale neexistuje parametr typu s tímto názvem.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnmatchedTypeParamRefTag">
<source>XML comment on '{1}' has a typeparamref tag for '{0}', but there is no type parameter by that name</source>
<target state="translated">Komentář XML u {1} má značku typeparamref pro {0}, ale neexistuje parametr typu s tímto názvem.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnmatchedTypeParamRefTag_Title">
<source>XML comment has a typeparamref tag, but there is no type parameter by that name</source>
<target state="translated">Komentář XML má značku typeparamref, ale neexistuje parametr typu s tímto názvem.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MissingTypeParamTag">
<source>Type parameter '{0}' has no matching typeparam tag in the XML comment on '{1}' (but other type parameters do)</source>
<target state="translated">Parametr typu {0} nemá žádnou odpovídající značku typeparam v komentáři XML na {1} (ale jiné parametry typu ano).</target>
<note />
</trans-unit>
<trans-unit id="WRN_MissingTypeParamTag_Title">
<source>Type parameter has no matching typeparam tag in the XML comment (but other type parameters do)</source>
<target state="translated">Parametr typu nemá odpovídající značku typeparam v komentáři XML (na rozdíl od jiných parametrů typu).</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantChangeTypeOnOverride">
<source>'{0}': type must be '{2}' to match overridden member '{1}'</source>
<target state="translated">{0}: Typ musí být {2}, aby odpovídal přepsanému členu {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DoNotUseFixedBufferAttr">
<source>Do not use 'System.Runtime.CompilerServices.FixedBuffer' attribute. Use the 'fixed' field modifier instead.</source>
<target state="translated">Nepoužívejte atribut System.Runtime.CompilerServices.FixedBuffer. Místo něj použijte modifikátor pole fixed.</target>
<note />
</trans-unit>
<trans-unit id="WRN_AssignmentToSelf">
<source>Assignment made to same variable; did you mean to assign something else?</source>
<target state="translated">Přiřazení proběhlo u stejné proměnné. Měli jste v úmyslu jiné přiřazení?</target>
<note />
</trans-unit>
<trans-unit id="WRN_AssignmentToSelf_Title">
<source>Assignment made to same variable</source>
<target state="translated">Přiřazení provedené u stejné proměnné</target>
<note />
</trans-unit>
<trans-unit id="WRN_ComparisonToSelf">
<source>Comparison made to same variable; did you mean to compare something else?</source>
<target state="translated">Porovnání proběhlo u stejné proměnné. Měli jste v úmyslu jiné porovnání?</target>
<note />
</trans-unit>
<trans-unit id="WRN_ComparisonToSelf_Title">
<source>Comparison made to same variable</source>
<target state="translated">Porovnání provedené u stejné proměnné</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantOpenWin32Res">
<source>Error opening Win32 resource file '{0}' -- '{1}'</source>
<target state="translated">Chyba při otevírání souboru prostředků Win32 {0} -- {1}</target>
<note />
</trans-unit>
<trans-unit id="WRN_DotOnDefault">
<source>Expression will always cause a System.NullReferenceException because the default value of '{0}' is null</source>
<target state="translated">Výraz způsobí výjimku System.NullReferenceException, protože výchozí hodnota {0} je null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DotOnDefault_Title">
<source>Expression will always cause a System.NullReferenceException because the type's default value is null</source>
<target state="translated">Výraz způsobí výjimku System.NullReferenceException, protože výchozí hodnota pro typ je null.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoMultipleInheritance">
<source>Class '{0}' cannot have multiple base classes: '{1}' and '{2}'</source>
<target state="translated">Třída {0} nemůže mít víc základních tříd: {1} a {2}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BaseClassMustBeFirst">
<source>Base class '{0}' must come before any interfaces</source>
<target state="translated">Základní třída {0} musí předcházet všem rozhraním.</target>
<note />
</trans-unit>
<trans-unit id="WRN_BadXMLRefTypeVar">
<source>XML comment has cref attribute '{0}' that refers to a type parameter</source>
<target state="translated">Komentář XML má atribut cref {0}, který odkazuje na parametr typu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_BadXMLRefTypeVar_Title">
<source>XML comment has cref attribute that refers to a type parameter</source>
<target state="translated">Komentář XML má atribut cref, který odkazuje na parametr typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FriendAssemblyBadArgs">
<source>Friend assembly reference '{0}' is invalid. InternalsVisibleTo declarations cannot have a version, culture, public key token, or processor architecture specified.</source>
<target state="translated">Odkaz na sestavení {0} typu Friend je neplatný. V deklaracích InternalsVisibleTo nesmí být zadaná verze, jazykové prostředí, token veřejného klíče ani architektura procesoru.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FriendAssemblySNReq">
<source>Friend assembly reference '{0}' is invalid. Strong-name signed assemblies must specify a public key in their InternalsVisibleTo declarations.</source>
<target state="translated">Odkaz na sestavení {0} typu Friend je neplatný. V deklaracích InternalsVisibleTo musí být u podepsaných sestavení se silným názvem uvedený veřejný klíč.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DelegateOnNullable">
<source>Cannot bind delegate to '{0}' because it is a member of 'System.Nullable<T>'</source>
<target state="translated">Nejde vytvořit vazbu delegáta s {0}, protože je členem struktury System.Nullable<T>.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadCtorArgCount">
<source>'{0}' does not contain a constructor that takes {1} arguments</source>
<target state="translated">{0} neobsahuje konstruktor, který přebírá tento počet argumentů: {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_GlobalAttributesNotFirst">
<source>Assembly and module attributes must precede all other elements defined in a file except using clauses and extern alias declarations</source>
<target state="translated">Atributy sestavení a modulu musí předcházet přede všemi ostatními prvky definovanými v souboru s výjimkou klauzulí using a deklarací externích aliasů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionExpected">
<source>Expected expression</source>
<target state="translated">Očekával se výraz.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidSubsystemVersion">
<source>Invalid version {0} for /subsystemversion. The version must be 6.02 or greater for ARM or AppContainerExe, and 4.00 or greater otherwise</source>
<target state="translated">Neplatná verze {0} pro /subsystemversion. Verze musí být 6.02 nebo vyšší pro ARM nebo AppContainerExe a 4.00 nebo vyšší v ostatních případech.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InteropMethodWithBody">
<source>Embedded interop method '{0}' contains a body.</source>
<target state="translated">Vložená metoda spolupráce {0} obsahuje tělo.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadWarningLevel">
<source>Warning level must be zero or greater</source>
<target state="translated">Úroveň upozornění musí být nula nebo větší.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadDebugType">
<source>Invalid option '{0}' for /debug; must be 'portable', 'embedded', 'full' or 'pdbonly'</source>
<target state="translated">Neplatný parametr {0} pro /debug; musí být portable, embedded, full nebo pdbonly.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadResourceVis">
<source>Invalid option '{0}'; Resource visibility must be either 'public' or 'private'</source>
<target state="translated">Neplatná možnost {0}. Viditelnost zdroje musí být public nebo private.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DefaultValueTypeMustMatch">
<source>The type of the argument to the DefaultParameterValue attribute must match the parameter type</source>
<target state="translated">Typ argumentu atributu DefaultParameterValue musí odpovídat typu parametru.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DefaultValueBadValueType">
<source>Argument of type '{0}' is not applicable for the DefaultParameterValue attribute</source>
<target state="translated">Argument typu {0} není použitelný pro atribut DefaultParameterValue.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MemberAlreadyInitialized">
<source>Duplicate initialization of member '{0}'</source>
<target state="translated">Duplicitní inicializace členu {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_MemberCannotBeInitialized">
<source>Member '{0}' cannot be initialized. It is not a field or property.</source>
<target state="translated">Člen {0} nejde inicializovat. Nejedná se o pole ani vlastnost.</target>
<note />
</trans-unit>
<trans-unit id="ERR_StaticMemberInObjectInitializer">
<source>Static field or property '{0}' cannot be assigned in an object initializer</source>
<target state="translated">Statické pole nebo vlastnost {0} se nedá přiřadit k inicializátoru objektu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ReadonlyValueTypeInObjectInitializer">
<source>Members of readonly field '{0}' of type '{1}' cannot be assigned with an object initializer because it is of a value type</source>
<target state="translated">Členy vlastnosti {0} typu {1} nejde přiřadit k inicializátoru objektu, protože tento inicializátor je hodnotového typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ValueTypePropertyInObjectInitializer">
<source>Members of property '{0}' of type '{1}' cannot be assigned with an object initializer because it is of a value type</source>
<target state="translated">Členy vlastnosti {0} typu {1} nejde přiřadit k inicializátoru objektu, protože tento inicializátor je hodnotového typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnsafeTypeInObjectCreation">
<source>Unsafe type '{0}' cannot be used in object creation</source>
<target state="translated">K vytvoření objektu nejde použít nezabezpečený typ {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_EmptyElementInitializer">
<source>Element initializer cannot be empty</source>
<target state="translated">Inicializátor prvku nemůže být prázdný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InitializerAddHasWrongSignature">
<source>The best overloaded method match for '{0}' has wrong signature for the initializer element. The initializable Add must be an accessible instance method.</source>
<target state="translated">Odpovídající optimální přetěžovaná metoda pro {0} má nesprávný podpis prvku inicializátoru. Jako inicializovatelná metoda Add se musí používat dostupná instanční metoda.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CollectionInitRequiresIEnumerable">
<source>Cannot initialize type '{0}' with a collection initializer because it does not implement 'System.Collections.IEnumerable'</source>
<target state="translated">Nejde inicializovat typ {0} pomocí inicializátoru kolekce, protože neimplementuje System.Collections.IEnumerable.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantSetWin32Manifest">
<source>Error reading Win32 manifest file '{0}' -- '{1}'</source>
<target state="translated">Chyba při čtení souboru manifestu Win32 {0} -- {1}</target>
<note />
</trans-unit>
<trans-unit id="WRN_CantHaveManifestForModule">
<source>Ignoring /win32manifest for module because it only applies to assemblies</source>
<target state="translated">Přepínač /win32manifest pro modul se bude ignorovat, protože se vztahuje jenom k sestavením.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CantHaveManifestForModule_Title">
<source>Ignoring /win32manifest for module because it only applies to assemblies</source>
<target state="translated">Přepínač /win32manifest pro modul se bude ignorovat, protože se vztahuje jenom k sestavením.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadInstanceArgType">
<source>'{0}' does not contain a definition for '{1}' and the best extension method overload '{2}' requires a receiver of type '{3}'</source>
<target state="translated">{0} neobsahuje definici pro {1} a přetížení optimální metody rozšíření {2} vyžaduje přijímač typu {3}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_QueryDuplicateRangeVariable">
<source>The range variable '{0}' has already been declared</source>
<target state="translated">Proměnná rozsahu {0} je už deklarovaná.</target>
<note />
</trans-unit>
<trans-unit id="ERR_QueryRangeVariableOverrides">
<source>The range variable '{0}' conflicts with a previous declaration of '{0}'</source>
<target state="translated">Proměnná rozsahu {0} je v konfliktu s předchozí deklarací {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_QueryRangeVariableAssignedBadValue">
<source>Cannot assign {0} to a range variable</source>
<target state="translated">{0} nejde přiřadit k proměnné rozsahu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_QueryNoProviderCastable">
<source>Could not find an implementation of the query pattern for source type '{0}'. '{1}' not found. Consider explicitly specifying the type of the range variable '{2}'.</source>
<target state="translated">Nenašla se implementace vzorku dotazu pro typ zdroje {0}. Nenašel se prvek {1}. Zvažte možnost explicitního určení typu proměnné rozsahu {2}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_QueryNoProviderStandard">
<source>Could not find an implementation of the query pattern for source type '{0}'. '{1}' not found. Are you missing required assembly references or a using directive for 'System.Linq'?</source>
<target state="translated">Nenašla se implementace vzorku dotazu pro typ zdroje {0}. Nenašel se prvek {1}. Nechybí odkazy na požadovaná sestavení nebo direktiva using pro System.Linq?</target>
<note />
</trans-unit>
<trans-unit id="ERR_QueryNoProvider">
<source>Could not find an implementation of the query pattern for source type '{0}'. '{1}' not found.</source>
<target state="translated">Nenašla se implementace vzorku dotazu pro typ zdroje {0}. Nenašel se prvek {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_QueryOuterKey">
<source>The name '{0}' is not in scope on the left side of 'equals'. Consider swapping the expressions on either side of 'equals'.</source>
<target state="translated">Název {0} není v oboru levé strany operátoru equals. Zvažte možnost vzájemné záměny výrazů na obou stranách operátoru equals.</target>
<note />
</trans-unit>
<trans-unit id="ERR_QueryInnerKey">
<source>The name '{0}' is not in scope on the right side of 'equals'. Consider swapping the expressions on either side of 'equals'.</source>
<target state="translated">Název {0} není v oboru pravé strany operátoru equals. Zvažte možnost vzájemné záměny výrazů na obou stranách operátoru equals.</target>
<note />
</trans-unit>
<trans-unit id="ERR_QueryOutRefRangeVariable">
<source>Cannot pass the range variable '{0}' as an out or ref parameter</source>
<target state="translated">Proměnnou rozsahu {0} nejde předat jako vnější nebo odkazovaný parametr.</target>
<note />
</trans-unit>
<trans-unit id="ERR_QueryMultipleProviders">
<source>Multiple implementations of the query pattern were found for source type '{0}'. Ambiguous call to '{1}'.</source>
<target state="translated">Našlo se víc implementací vzorku dotazu pro typ zdroje {0}. Nejednoznačné volání funkce {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_QueryTypeInferenceFailedMulti">
<source>The type of one of the expressions in the {0} clause is incorrect. Type inference failed in the call to '{1}'.</source>
<target state="translated">Typ jednoho z výrazů v klauzuli {0} je nesprávný. Nepovedlo se odvození typu při volání funkce {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_QueryTypeInferenceFailed">
<source>The type of the expression in the {0} clause is incorrect. Type inference failed in the call to '{1}'.</source>
<target state="translated">Typ výrazu v klauzuli {0} je nesprávný. Nepovedlo se odvození typu při volání funkce {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_QueryTypeInferenceFailedSelectMany">
<source>An expression of type '{0}' is not allowed in a subsequent from clause in a query expression with source type '{1}'. Type inference failed in the call to '{2}'.</source>
<target state="translated">Není povolené použití výrazu typu {0} v následné klauzuli from ve výrazu dotazu s typem zdroje {1}. Nepovedlo se odvození typu při volání funkce {2}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsPointerOp">
<source>An expression tree may not contain an unsafe pointer operation</source>
<target state="translated">Strom výrazů nesmí obsahovat nezabezpečenou operaci s ukazatelem.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsAnonymousMethod">
<source>An expression tree may not contain an anonymous method expression</source>
<target state="translated">Strom výrazů nesmí obsahovat výraz anonymní metody.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AnonymousMethodToExpressionTree">
<source>An anonymous method expression cannot be converted to an expression tree</source>
<target state="translated">Výraz anonymní metody nejde převést na strom výrazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_QueryRangeVariableReadOnly">
<source>Range variable '{0}' cannot be assigned to -- it is read only</source>
<target state="translated">K proměnné rozsahu {0} nejde přiřazovat – je jenom pro čtení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_QueryRangeVariableSameAsTypeParam">
<source>The range variable '{0}' cannot have the same name as a method type parameter</source>
<target state="translated">Proměnná rozsahu {0} nesmí mít stejný název jako parametr typu metody.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TypeVarNotFoundRangeVariable">
<source>The contextual keyword 'var' cannot be used in a range variable declaration</source>
<target state="translated">V deklaraci proměnné rozsahu nejde použít kontextové klíčové slovo var.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadArgTypesForCollectionAdd">
<source>The best overloaded Add method '{0}' for the collection initializer has some invalid arguments</source>
<target state="translated">Některé argumenty optimální přetěžované metody Add {0} pro inicializátor kolekce jsou neplatné.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ByRefParameterInExpressionTree">
<source>An expression tree lambda may not contain a ref, in or out parameter</source>
<target state="translated">Strom výrazu lambda nesmí obsahovat parametr ref, in nebo out.</target>
<note />
</trans-unit>
<trans-unit id="ERR_VarArgsInExpressionTree">
<source>An expression tree lambda may not contain a method with variable arguments</source>
<target state="translated">Strom výrazu lambda nesmí obsahovat metodu s proměnnými argumenty.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MemGroupInExpressionTree">
<source>An expression tree lambda may not contain a method group</source>
<target state="translated">Strom výrazu lambda nesmí obsahovat skupinu metod.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InitializerAddHasParamModifiers">
<source>The best overloaded method match '{0}' for the collection initializer element cannot be used. Collection initializer 'Add' methods cannot have ref or out parameters.</source>
<target state="translated">Optimální nalezenou přetěžovanou metodu {0} pro element inicializátoru kolekce nejde použít. Metody Add inicializátoru kolekce nemůžou mít parametry Ref nebo Out.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NonInvocableMemberCalled">
<source>Non-invocable member '{0}' cannot be used like a method.</source>
<target state="translated">Nevyvolatelného člena {0} nejde použít jako metodu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MultipleRuntimeImplementationMatches">
<source>Member '{0}' implements interface member '{1}' in type '{2}'. There are multiple matches for the interface member at run-time. It is implementation dependent which method will be called.</source>
<target state="translated">Člen {0} implementuje člen rozhraní {1} v typu {2}. Za běhu existuje pro tohoto člena rozhraní víc shod. Volaná metoda závisí na konkrétní implementaci.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MultipleRuntimeImplementationMatches_Title">
<source>Member implements interface member with multiple matches at run-time</source>
<target state="translated">Člen za běhu implementuje člena rozhraní s více shodami.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MultipleRuntimeImplementationMatches_Description">
<source>This warning can be generated when two interface methods are differentiated only by whether a particular parameter is marked with ref or with out. It is best to change your code to avoid this warning because it is not obvious or guaranteed which method is called at runtime.
Although C# distinguishes between out and ref, the CLR sees them as the same. When deciding which method implements the interface, the CLR just picks one.
Give the compiler some way to differentiate the methods. For example, you can give them different names or provide an additional parameter on one of them.</source>
<target state="translated">Toto varování se může vygenerovat, když jsou dvě metody rozhraní odlišené jenom tím, že určitý parametr je označený jednou jako ref a podruhé jako out. Doporučuje se kód změnit tak, aby k tomuto varování nedocházelo, protože není úplně jasné nebo zaručené, která metoda se má za běhu vyvolat.
Ačkoli C# rozlišuje mezi out a ref, pro CLR je to totéž. Při rozhodování, která metoda má implementovat rozhraní, modul CLR prostě jednu vybere.
Poskytněte kompilátoru nějaký způsob, jak metody rozlišit. Můžete například zadat různé názvy nebo k jedné z nich přidat parametr navíc.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MultipleRuntimeOverrideMatches">
<source>Member '{1}' overrides '{0}'. There are multiple override candidates at run-time. It is implementation dependent which method will be called. Please use a newer runtime.</source>
<target state="translated">Člen {1} přepisuje člen {0}. Za běhu existuje více kandidátů na přepis. Volaná metoda závisí na konkrétní implementaci. Použijte prosím novější modul runtime.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MultipleRuntimeOverrideMatches_Title">
<source>Member overrides base member with multiple override candidates at run-time</source>
<target state="translated">Člen za běhu přepíše základního člena s více kandidáty na přepsání.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ObjectOrCollectionInitializerWithDelegateCreation">
<source>Object and collection initializer expressions may not be applied to a delegate creation expression</source>
<target state="translated">Výrazy inicializátoru objektu a kolekce nejde použít na výraz vytvářející delegáta.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidConstantDeclarationType">
<source>'{0}' is of type '{1}'. The type specified in a constant declaration must be sbyte, byte, short, ushort, int, uint, long, ulong, char, float, double, decimal, bool, string, an enum-type, or a reference-type.</source>
<target state="translated">{0} je typu {1}. V deklaraci konstanty musí být uvedený typ sbyte, byte, short, ushort, int, uint, long, ulong, char, float, double, decimal, bool, string, výčtový typ nebo typ odkazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FileNotFound">
<source>Source file '{0}' could not be found.</source>
<target state="translated">Zdrojový soubor {0} se nenašel.</target>
<note />
</trans-unit>
<trans-unit id="WRN_FileAlreadyIncluded">
<source>Source file '{0}' specified multiple times</source>
<target state="translated">Zdrojový soubor {0} je zadaný několikrát.</target>
<note />
</trans-unit>
<trans-unit id="WRN_FileAlreadyIncluded_Title">
<source>Source file specified multiple times</source>
<target state="translated">Zdrojový soubor je zadaný několikrát.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoFileSpec">
<source>Missing file specification for '{0}' option</source>
<target state="translated">Pro možnost {0} chybí specifikace souboru.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SwitchNeedsString">
<source>Command-line syntax error: Missing '{0}' for '{1}' option</source>
<target state="translated">Chyba syntaxe příkazového řádku: Nenašla se hodnota {0} pro možnost {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadSwitch">
<source>Unrecognized option: '{0}'</source>
<target state="translated">Nerozpoznaná možnost: {0}</target>
<note />
</trans-unit>
<trans-unit id="WRN_NoSources">
<source>No source files specified.</source>
<target state="translated">Nejsou zadané žádné zdrojové soubory.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NoSources_Title">
<source>No source files specified</source>
<target state="translated">Nejsou zadané žádné zdrojové soubory.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpectedSingleScript">
<source>Expected a script (.csx file) but none specified</source>
<target state="translated">Očekával se skript (soubor .csx), žádný ale není zadaný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OpenResponseFile">
<source>Error opening response file '{0}'</source>
<target state="translated">Chyba při otevírání souboru odpovědí {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantOpenFileWrite">
<source>Cannot open '{0}' for writing -- '{1}'</source>
<target state="translated">{0} se nedá otevřít pro zápis -- {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadBaseNumber">
<source>Invalid image base number '{0}'</source>
<target state="translated">Neplatné základní číslo obrázku {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_BinaryFile">
<source>'{0}' is a binary file instead of a text file</source>
<target state="translated">{0} je binární, ne textový soubor.</target>
<note />
</trans-unit>
<trans-unit id="FTL_BadCodepage">
<source>Code page '{0}' is invalid or not installed</source>
<target state="translated">Znaková stránka {0} je neplatná nebo není nainstalovaná.</target>
<note />
</trans-unit>
<trans-unit id="FTL_BadChecksumAlgorithm">
<source>Algorithm '{0}' is not supported</source>
<target state="translated">Algoritmus {0} není podporovaný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoMainOnDLL">
<source>Cannot specify /main if building a module or library</source>
<target state="translated">Při vytváření modulu nebo knihovny nejde použít přepínač /main.</target>
<note />
</trans-unit>
<trans-unit id="FTL_InvalidTarget">
<source>Invalid target type for /target: must specify 'exe', 'winexe', 'library', or 'module'</source>
<target state="translated">Neplatný typ cíle pro parametr /target: Je nutné použít možnost exe, winexe, library nebo module.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NoConfigNotOnCommandLine">
<source>Ignoring /noconfig option because it was specified in a response file</source>
<target state="translated">Přepínač /noconfig se ignoroval, protože byl uvedený v souboru odpovědí.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NoConfigNotOnCommandLine_Title">
<source>Ignoring /noconfig option because it was specified in a response file</source>
<target state="translated">Přepínač /noconfig se ignoroval, protože byl uvedený v souboru odpovědí.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidFileAlignment">
<source>Invalid file section alignment '{0}'</source>
<target state="translated">Neplatný argument výběru souboru {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidOutputName">
<source>Invalid output name: {0}</source>
<target state="translated">Neplatný název výstupu: {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidDebugInformationFormat">
<source>Invalid debug information format: {0}</source>
<target state="translated">Neplatný formát informací o ladění: {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_LegacyObjectIdSyntax">
<source>'id#' syntax is no longer supported. Use '$id' instead.</source>
<target state="translated">'Syntaxe id# už není podporovaná. Použijte místo ní syntaxi $id.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DefineIdentifierRequired">
<source>Invalid name for a preprocessing symbol; '{0}' is not a valid identifier</source>
<target state="translated">Neplatný název pro symbol předzpracování; {0} není platný identifikátor.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DefineIdentifierRequired_Title">
<source>Invalid name for a preprocessing symbol; not a valid identifier</source>
<target state="translated">Neplatný název pro symbol předzpracování; neplatný identifikátor</target>
<note />
</trans-unit>
<trans-unit id="FTL_OutputFileExists">
<source>Cannot create short filename '{0}' when a long filename with the same short filename already exists</source>
<target state="translated">Nejde vytvořit krátký název souboru {0}, protože už existuje dlouhý název souboru se stejným krátkým názvem.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OneAliasPerReference">
<source>A /reference option that declares an extern alias can only have one filename. To specify multiple aliases or filenames, use multiple /reference options.</source>
<target state="translated">Parametr /reference deklarující externí alias může mít jenom jeden název souboru. Pokud chcete zadat víc aliasů nebo názvů souborů, použijte více parametrů /reference.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SwitchNeedsNumber">
<source>Command-line syntax error: Missing ':<number>' for '{0}' option</source>
<target state="translated">Chyba syntaxe příkazového řádku: Nenašla se hodnota :<číslo> parametru {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MissingDebugSwitch">
<source>The /pdb option requires that the /debug option also be used</source>
<target state="translated">Možnost /pdb vyžaduje taky použití možnosti /debug .</target>
<note />
</trans-unit>
<trans-unit id="ERR_ComRefCallInExpressionTree">
<source>An expression tree lambda may not contain a COM call with ref omitted on arguments</source>
<target state="translated">Strom výrazu lambda nesmí obsahovat volání COM, které v argumentech vynechává parametr Ref.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidFormatForGuidForOption">
<source>Command-line syntax error: Invalid Guid format '{0}' for option '{1}'</source>
<target state="translated">Chyba syntaxe příkazového řádku: Neplatný formát GUID {0} pro možnost {1}</target>
<note />
</trans-unit>
<trans-unit id="ERR_MissingGuidForOption">
<source>Command-line syntax error: Missing Guid for option '{1}'</source>
<target state="translated">Chyba syntaxe příkazového řádku: Chybí GUID pro možnost {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_NoVarArgs">
<source>Methods with variable arguments are not CLS-compliant</source>
<target state="translated">Metody s proměnnými argumenty nejsou kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_NoVarArgs_Title">
<source>Methods with variable arguments are not CLS-compliant</source>
<target state="translated">Metody s proměnnými argumenty nejsou kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadArgType">
<source>Argument type '{0}' is not CLS-compliant</source>
<target state="translated">Typ argumentu {0} není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadArgType_Title">
<source>Argument type is not CLS-compliant</source>
<target state="translated">Typ argumentu není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadReturnType">
<source>Return type of '{0}' is not CLS-compliant</source>
<target state="translated">Typ vrácené hodnoty {0} není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadReturnType_Title">
<source>Return type is not CLS-compliant</source>
<target state="translated">Návratový typ není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadFieldPropType">
<source>Type of '{0}' is not CLS-compliant</source>
<target state="translated">Typ {0} není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadFieldPropType_Title">
<source>Type is not CLS-compliant</source>
<target state="translated">Typ není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadFieldPropType_Description">
<source>A public, protected, or protected internal variable must be of a type that is compliant with the Common Language Specification (CLS).</source>
<target state="translated">Veřejná, chráněná nebo interně chráněná proměnná musí být typu, který je kompatibilní se specifikací CLS (Common Language Specification).</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadIdentifierCase">
<source>Identifier '{0}' differing only in case is not CLS-compliant</source>
<target state="translated">Identifikátor {0} lišící se jenom použitím velkých a malých písmen není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadIdentifierCase_Title">
<source>Identifier differing only in case is not CLS-compliant</source>
<target state="translated">Identifikátor lišící se jenom použitím velkých a malých písmen není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_OverloadRefOut">
<source>Overloaded method '{0}' differing only in ref or out, or in array rank, is not CLS-compliant</source>
<target state="translated">Přetěžovaná metoda {0} lišící se jen parametrem ref nebo out nebo rozměrem pole není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_OverloadRefOut_Title">
<source>Overloaded method differing only in ref or out, or in array rank, is not CLS-compliant</source>
<target state="translated">Přetěžovaná metoda lišící se jen parametrem ref nebo out nebo rozměrem pole není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_OverloadUnnamed">
<source>Overloaded method '{0}' differing only by unnamed array types is not CLS-compliant</source>
<target state="translated">Přetěžovaná metoda {0} lišící se jenom nepojmenovanými typy pole není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_OverloadUnnamed_Title">
<source>Overloaded method differing only by unnamed array types is not CLS-compliant</source>
<target state="translated">Přetěžovaná metoda lišící se jenom nepojmenovanými typy pole není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_OverloadUnnamed_Description">
<source>This error occurs if you have an overloaded method that takes a jagged array and the only difference between the method signatures is the element type of the array. To avoid this error, consider using a rectangular array rather than a jagged array; use an additional parameter to disambiguate the function call; rename one or more of the overloaded methods; or, if CLS Compliance is not needed, remove the CLSCompliantAttribute attribute.</source>
<target state="translated">Tato chyba se objeví, pokud máte přetěžovanou metodu, která přebírá vícenásobné pole, a jediný rozdíl mezi signaturami metody je typ elementu tohoto pole. Aby nedošlo k této chybě, zvažte použití pravoúhlého pole namísto vícenásobného, použijte další parametr, aby volání této funkce bylo jednoznačné, přejmenujte nejmíň jednu přetěžovanou metodu nebo (pokud kompatibilita s CLS není nutná) odeberte atribut CLSCompliantAttribute.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadIdentifier">
<source>Identifier '{0}' is not CLS-compliant</source>
<target state="translated">Identifikátor {0} není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadIdentifier_Title">
<source>Identifier is not CLS-compliant</source>
<target state="translated">Identifikátor není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadBase">
<source>'{0}': base type '{1}' is not CLS-compliant</source>
<target state="translated">{0}: Základní typ {1} není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadBase_Title">
<source>Base type is not CLS-compliant</source>
<target state="translated">Základní typ není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadBase_Description">
<source>A base type was marked as not having to be compliant with the Common Language Specification (CLS) in an assembly that was marked as being CLS compliant. Either remove the attribute that specifies the assembly is CLS compliant or remove the attribute that indicates the type is not CLS compliant.</source>
<target state="translated">Základní typ byl označený tak, že nemusí být kompatibilní se specifikací CLS (Common Language Specification) v sestavení, které bylo označené jako kompatibilní s CLS. Buď odeberte atribut, který sestavení určuje jako kompatibilní s CLS, nebo odeberte atribut, který označuje typ jako nekompatibilní s CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadInterfaceMember">
<source>'{0}': CLS-compliant interfaces must have only CLS-compliant members</source>
<target state="translated">{0}: Rozhraní kompatibilní se specifikací CLS musí obsahovat jenom členy kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadInterfaceMember_Title">
<source>CLS-compliant interfaces must have only CLS-compliant members</source>
<target state="translated">Rozhraní kompatibilní se specifikací CLS musí obsahovat jenom členy kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_NoAbstractMembers">
<source>'{0}': only CLS-compliant members can be abstract</source>
<target state="translated">{0}: Jenom členy kompatibilní se specifikací CLS můžou být abstraktní.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_NoAbstractMembers_Title">
<source>Only CLS-compliant members can be abstract</source>
<target state="translated">Jenom členy kompatibilní se specifikací CLS můžou být abstraktní.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_NotOnModules">
<source>You must specify the CLSCompliant attribute on the assembly, not the module, to enable CLS compliance checking</source>
<target state="translated">Pokud chcete povolit kontrolu kompatibility se specifikací CLS, musíte zadat atribut CLSCompliant sestavení, ne modulu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_NotOnModules_Title">
<source>You must specify the CLSCompliant attribute on the assembly, not the module, to enable CLS compliance checking</source>
<target state="translated">Pokud chcete povolit kontrolu kompatibility se specifikací CLS, musíte zadat atribut CLSCompliant sestavení, ne modulu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_ModuleMissingCLS">
<source>Added modules must be marked with the CLSCompliant attribute to match the assembly</source>
<target state="translated">Aby přidávané moduly odpovídaly sestavení, musí být označené atributem CLSCompliant.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_ModuleMissingCLS_Title">
<source>Added modules must be marked with the CLSCompliant attribute to match the assembly</source>
<target state="translated">Aby přidávané moduly odpovídaly sestavení, musí být označené atributem CLSCompliant.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_AssemblyNotCLS">
<source>'{0}' cannot be marked as CLS-compliant because the assembly does not have a CLSCompliant attribute</source>
<target state="translated">{0} nejde označit jako kompatibilní se specifikací CLS, protože sestavení nemá atribut CLSCompliant.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_AssemblyNotCLS_Title">
<source>Type or member cannot be marked as CLS-compliant because the assembly does not have a CLSCompliant attribute</source>
<target state="translated">Typ nebo člen nejde označit jako kompatibilní se specifikací CLS, protože sestavení nemá atribut CLSCompliant.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadAttributeType">
<source>'{0}' has no accessible constructors which use only CLS-compliant types</source>
<target state="translated">{0} nemá žádné přístupné konstruktory, které používají jenom typy kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadAttributeType_Title">
<source>Type has no accessible constructors which use only CLS-compliant types</source>
<target state="translated">Typ nemá žádné přístupné konstruktory, které používají jenom typy kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_ArrayArgumentToAttribute">
<source>Arrays as attribute arguments is not CLS-compliant</source>
<target state="translated">Pole jako argumenty atributu nejsou kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_ArrayArgumentToAttribute_Title">
<source>Arrays as attribute arguments is not CLS-compliant</source>
<target state="translated">Pole jako argumenty atributu nejsou kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_NotOnModules2">
<source>You cannot specify the CLSCompliant attribute on a module that differs from the CLSCompliant attribute on the assembly</source>
<target state="translated">Nejde zadat atribut CLSCompliant u modulu, který se liší od atributu CLSCompliant sestavení.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_NotOnModules2_Title">
<source>You cannot specify the CLSCompliant attribute on a module that differs from the CLSCompliant attribute on the assembly</source>
<target state="translated">Nejde zadat atribut CLSCompliant u modulu, který se liší od atributu CLSCompliant sestavení.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_IllegalTrueInFalse">
<source>'{0}' cannot be marked as CLS-compliant because it is a member of non-CLS-compliant type '{1}'</source>
<target state="translated">{0} nejde označit jako kompatibilní se specifikací CLS, protože se jedná o člen typu {1}, který není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_IllegalTrueInFalse_Title">
<source>Type cannot be marked as CLS-compliant because it is a member of non-CLS-compliant type</source>
<target state="translated">Typ nejde označit jako kompatibilní se specifikací CLS, protože se jedná o člen typu, který není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_MeaninglessOnPrivateType">
<source>CLS compliance checking will not be performed on '{0}' because it is not visible from outside this assembly</source>
<target state="translated">Pro prvek {0} se neprovede kontrola kompatibility se specifikací CLS, protože není viditelný mimo toto sestavení.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_MeaninglessOnPrivateType_Title">
<source>CLS compliance checking will not be performed because it is not visible from outside this assembly</source>
<target state="translated">Kontrola kompatibility se specifikací CLS se neprovede, protože není viditelná zvnějšku tohoto sestavení.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_AssemblyNotCLS2">
<source>'{0}' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute</source>
<target state="translated">{0} nepotřebuje atribut CLSCompliant, protože sestavení nemá atribut CLSCompliant.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_AssemblyNotCLS2_Title">
<source>Type or member does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute</source>
<target state="translated">Typ nebo člen nepotřebuje atribut CLSCompliant, protože sestavení nemá atribut CLSCompliant.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_MeaninglessOnParam">
<source>CLSCompliant attribute has no meaning when applied to parameters. Try putting it on the method instead.</source>
<target state="translated">Atribut CLSCompliant nemá žádný význam při použití u parametrů. Použijte jej místo toho u metody.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_MeaninglessOnParam_Title">
<source>CLSCompliant attribute has no meaning when applied to parameters</source>
<target state="translated">Atribut CLSCompliant nemá žádný význam při použití u parametrů.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_MeaninglessOnReturn">
<source>CLSCompliant attribute has no meaning when applied to return types. Try putting it on the method instead.</source>
<target state="translated">Atribut CLSCompliant nemá žádný význam při použití u typů vrácených hodnot. Použijte jej místo toho u metody.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_MeaninglessOnReturn_Title">
<source>CLSCompliant attribute has no meaning when applied to return types</source>
<target state="translated">Atribut CLSCompliant nemá žádný význam při použití u návratových typů.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadTypeVar">
<source>Constraint type '{0}' is not CLS-compliant</source>
<target state="translated">Typ omezení {0} není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadTypeVar_Title">
<source>Constraint type is not CLS-compliant</source>
<target state="translated">Typ omezení není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_VolatileField">
<source>CLS-compliant field '{0}' cannot be volatile</source>
<target state="translated">Pole kompatibilní se specifikací CLS {0} nemůže být typu volatile.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_VolatileField_Title">
<source>CLS-compliant field cannot be volatile</source>
<target state="translated">Pole kompatibilní se specifikací CLS nemůže být typu volatile.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadInterface">
<source>'{0}' is not CLS-compliant because base interface '{1}' is not CLS-compliant</source>
<target state="translated">{0} není kompatibilní se specifikací CLS, protože základní rozhraní {1} není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadInterface_Title">
<source>Type is not CLS-compliant because base interface is not CLS-compliant</source>
<target state="translated">Typ není kompatibilní se specifikací CLS, protože základní rozhraní není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAwaitArg">
<source>'await' requires that the type {0} have a suitable 'GetAwaiter' method</source>
<target state="translated">'Operátor await vyžaduje, aby typ {0} měl odpovídající metodu GetAwaiter.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAwaitArgIntrinsic">
<source>Cannot await '{0}'</source>
<target state="translated">Operátor await nejde použít pro {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAwaiterPattern">
<source>'await' requires that the return type '{0}' of '{1}.GetAwaiter()' have suitable 'IsCompleted', 'OnCompleted', and 'GetResult' members, and implement 'INotifyCompletion' or 'ICriticalNotifyCompletion'</source>
<target state="translated">'Operátor await vyžaduje, aby návratový typ {0} metody {1}.GetAwaiter() měl odpovídající členy IsCompleted, OnCompleted a GetResult a implementoval rozhraní INotifyCompletion nebo ICriticalNotifyCompletion.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAwaitArg_NeedSystem">
<source>'await' requires that the type '{0}' have a suitable 'GetAwaiter' method. Are you missing a using directive for 'System'?</source>
<target state="translated">'Operátor await vyžaduje, aby typ {0} měl odpovídající metodu GetAwaiter. Chybí vám direktiva using pro položku System?</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAwaitArgVoidCall">
<source>Cannot await 'void'</source>
<target state="translated">Operátor await nejde použít pro void.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAwaitAsIdentifier">
<source>'await' cannot be used as an identifier within an async method or lambda expression</source>
<target state="translated">'Operátor Await nejde použít jako identifikátor v asynchronní metodě nebo výrazu lambda.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DoesntImplementAwaitInterface">
<source>'{0}' does not implement '{1}'</source>
<target state="translated">{0} neimplementuje {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TaskRetNoObjectRequired">
<source>Since '{0}' is an async method that returns 'Task', a return keyword must not be followed by an object expression. Did you intend to return 'Task<T>'?</source>
<target state="translated">Protože metoda {0} je asynchronní a její návratový typ je Task, za klíčovým slovem return nesmí následovat objektový výraz. Měli jste v úmyslu vrátit hodnotu typu Task<T>?</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAsyncReturn">
<source>The return type of an async method must be void, Task, Task<T>, a task-like type, IAsyncEnumerable<T>, or IAsyncEnumerator<T></source>
<target state="translated">Návratový typ asynchronní metody musí být void, Task, Task<T>, typ podobný úloze, IAsyncEnumerable<T> nebo IAsyncEnumerator<T>.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantReturnVoid">
<source>Cannot return an expression of type 'void'</source>
<target state="translated">Nejde vrátit výraz typu void.</target>
<note />
</trans-unit>
<trans-unit id="ERR_VarargsAsync">
<source>__arglist is not allowed in the parameter list of async methods</source>
<target state="translated">Klíčové slovo __arglist není povolené v seznamu parametrů asynchronních metod.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ByRefTypeAndAwait">
<source>'await' cannot be used in an expression containing the type '{0}'</source>
<target state="translated">'Operátor await nejde použít ve výrazu, který obsahuje typ {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnsafeAsyncArgType">
<source>Async methods cannot have unsafe parameters or return types</source>
<target state="translated">Asynchronní metody nemůžou mít návratové typy nebo parametry, které nejsou bezpečné.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAsyncArgType">
<source>Async methods cannot have ref, in or out parameters</source>
<target state="translated">Asynchronní metody nemůžou mít parametry ref, in nebo out.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAwaitWithoutAsync">
<source>The 'await' operator can only be used when contained within a method or lambda expression marked with the 'async' modifier</source>
<target state="translated">Operátor await jde použít, jenom pokud je obsažen v metodě nebo výrazu lambda označeném pomocí modifikátoru async.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAwaitWithoutAsyncLambda">
<source>The 'await' operator can only be used within an async {0}. Consider marking this {0} with the 'async' modifier.</source>
<target state="translated">Operátor await jde použít jenom v asynchronní metodě {0}. Zvažte označení této metody modifikátorem async.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAwaitWithoutAsyncMethod">
<source>The 'await' operator can only be used within an async method. Consider marking this method with the 'async' modifier and changing its return type to 'Task<{0}>'.</source>
<target state="translated">Operátor await jde použít jenom v asynchronních metodách. Zvažte označení této metody modifikátorem async a změnu jejího návratového typu na Task<{0}>.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAwaitWithoutVoidAsyncMethod">
<source>The 'await' operator can only be used within an async method. Consider marking this method with the 'async' modifier and changing its return type to 'Task'.</source>
<target state="translated">Operátor await jde použít jenom v asynchronní metodě. Zvažte označení této metody pomocí modifikátoru async a změnu jejího návratového typu na Task.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAwaitInFinally">
<source>Cannot await in the body of a finally clause</source>
<target state="translated">Nejde použít operátor await v těle klauzule finally.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAwaitInCatch">
<source>Cannot await in a catch clause</source>
<target state="translated">Operátor await nejde použít v klauzuli catch.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAwaitInCatchFilter">
<source>Cannot await in the filter expression of a catch clause</source>
<target state="translated">Nejde použít operátor await ve výrazu filtru klauzule catch.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAwaitInLock">
<source>Cannot await in the body of a lock statement</source>
<target state="translated">Operátor await nejde použít v příkazu lock.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAwaitInStaticVariableInitializer">
<source>The 'await' operator cannot be used in a static script variable initializer.</source>
<target state="translated">Operátor await nejde použít v inicializátoru proměnné statického skriptu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AwaitInUnsafeContext">
<source>Cannot await in an unsafe context</source>
<target state="translated">Operátor await nejde použít v nezabezpečeném kontextu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAsyncLacksBody">
<source>The 'async' modifier can only be used in methods that have a body.</source>
<target state="translated">Modifikátor async se dá použít jenom v metodách, které mají tělo.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadSpecialByRefLocal">
<source>Parameters or locals of type '{0}' cannot be declared in async methods or async lambda expressions.</source>
<target state="translated">Parametry nebo lokální proměnné typu {0} nemůžou být deklarované v asynchronních metodách nebo asynchronních výrazech lambda.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadSpecialByRefIterator">
<source>foreach statement cannot operate on enumerators of type '{0}' in async or iterator methods because '{0}' is a ref struct.</source>
<target state="translated">Výraz foreach nejde použít na enumerátorech typu {0} v asynchronních metodách nebo metodách iterátoru, protože {0} je struktura REF.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SecurityCriticalOrSecuritySafeCriticalOnAsync">
<source>Security attribute '{0}' cannot be applied to an Async method.</source>
<target state="translated">Atribut zabezpečení {0} nejde použít pro metodu Async.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SecurityCriticalOrSecuritySafeCriticalOnAsyncInClassOrStruct">
<source>Async methods are not allowed in an Interface, Class, or Structure which has the 'SecurityCritical' or 'SecuritySafeCritical' attribute.</source>
<target state="translated">Asynchronní metody nejsou povolené v rozhraní, třídě nebo struktuře, které mají atribut SecurityCritical nebo SecuritySafeCritical.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAwaitInQuery">
<source>The 'await' operator may only be used in a query expression within the first collection expression of the initial 'from' clause or within the collection expression of a 'join' clause</source>
<target state="translated">Operátor await jde použít jenom ve výrazu dotazu v rámci první kolekce výrazu počáteční klauzule from nebo v rámci výrazu kolekce klauzule join.</target>
<note />
</trans-unit>
<trans-unit id="WRN_AsyncLacksAwaits">
<source>This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.</source>
<target state="translated">V této asynchronní metodě chybí operátory await a spustí se synchronně. Zvažte použití operátoru await pro čekání na neblokující volání rozhraní API nebo vykonání činnosti vázané na procesor ve vlákně na pozadí pomocí výrazu await Task.Run(...).</target>
<note />
</trans-unit>
<trans-unit id="WRN_AsyncLacksAwaits_Title">
<source>Async method lacks 'await' operators and will run synchronously</source>
<target state="translated">V této asynchronní metodě chybí operátory await a spustí se synchronně.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnobservedAwaitableExpression">
<source>Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.</source>
<target state="translated">Protože se toto volání neočekává, vykonávání aktuální metody pokračuje před dokončením volání. Zvažte použití operátoru await na výsledek volání.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnobservedAwaitableExpression_Title">
<source>Because this call is not awaited, execution of the current method continues before the call is completed</source>
<target state="translated">Protože se toto volání neočekává, vykonávání aktuální metody pokračuje před dokončením volání.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnobservedAwaitableExpression_Description">
<source>The current method calls an async method that returns a Task or a Task<TResult> and doesn't apply the await operator to the result. The call to the async method starts an asynchronous task. However, because no await operator is applied, the program continues without waiting for the task to complete. In most cases, that behavior isn't what you expect. Usually other aspects of the calling method depend on the results of the call or, minimally, the called method is expected to complete before you return from the method that contains the call.
An equally important issue is what happens to exceptions that are raised in the called async method. An exception that's raised in a method that returns a Task or Task<TResult> is stored in the returned task. If you don't await the task or explicitly check for exceptions, the exception is lost. If you await the task, its exception is rethrown.
As a best practice, you should always await the call.
You should consider suppressing the warning only if you're sure that you don't want to wait for the asynchronous call to complete and that the called method won't raise any exceptions. In that case, you can suppress the warning by assigning the task result of the call to a variable.</source>
<target state="translated">Aktuální metoda volá asynchronní metodu, která vrací úlohu nebo úlohu<TResult> a ve výsledku nepoužije operátor await. Volání asynchronní metody spustí asynchronní úlohu. Vzhledem k tomu, že se ale nepoužil žádný operátor await, bude program pokračovat bez čekání na dokončení úlohy. Ve většině případů se nejedná o chování, které byste očekávali. Ostatní aspekty volání metody obvykle závisí na výsledcích volání nebo se aspoň očekává, že se volaná metoda dokončí před vaším návratem z metody obsahující volání.
Stejně důležité je i to, co se stane s výjimkami, ke kterým dojde ve volané asynchronní metodě. Výjimka, ke které dojde v metodě vracející úlohu nebo úlohu<TResult>, se uloží do vrácené úlohy. Pokud úlohu neočekáváte nebo explicitně výjimky nekontrolujete, dojde ke ztrátě výjimky. Pokud úlohu očekáváte, dojde k výjimce znovu.
Nejvhodnějším postupem je volání vždycky očekávat.
Potlačení upozornění zvažte jenom v případě, když určitě nechcete čekat na dokončení asynchronního volání a jste si jistí, že volaná metoda nevyvolá žádné výjimky. V takovém případě můžete upozornění potlačit tak, že výsledek úlohy volání přidružíte proměnné.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SynchronizedAsyncMethod">
<source>'MethodImplOptions.Synchronized' cannot be applied to an async method</source>
<target state="translated">'Možnost MethodImplOptions.Synchronized nejde použít pro asynchronní metodu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoConversionForCallerLineNumberParam">
<source>CallerLineNumberAttribute cannot be applied because there are no standard conversions from type '{0}' to type '{1}'</source>
<target state="translated">CallerLineNumberAttribute nejde použít, protože neexistuje žádný standardní převod z typu {0} na {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoConversionForCallerFilePathParam">
<source>CallerFilePathAttribute cannot be applied because there are no standard conversions from type '{0}' to type '{1}'</source>
<target state="translated">CallerFilePathAttribute nejde použít, protože neexistuje žádný standardní převod z typu {0} na {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoConversionForCallerMemberNameParam">
<source>CallerMemberNameAttribute cannot be applied because there are no standard conversions from type '{0}' to type '{1}'</source>
<target state="translated">CallerMemberNameAttribute nejde použít, protože neexistuje žádný standardní převod z typu {0} na {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadCallerLineNumberParamWithoutDefaultValue">
<source>The CallerLineNumberAttribute may only be applied to parameters with default values</source>
<target state="translated">Atribut CallerLineNumberAttribute jde použít jenom pro parametry s výchozími hodnotami.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadCallerFilePathParamWithoutDefaultValue">
<source>The CallerFilePathAttribute may only be applied to parameters with default values</source>
<target state="translated">Atribut CallerFilePathAttribute jde použít jenom pro parametry s výchozími hodnotami.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadCallerMemberNameParamWithoutDefaultValue">
<source>The CallerMemberNameAttribute may only be applied to parameters with default values</source>
<target state="translated">Atribut CallerMemberNameAttribute jde použít jenom pro parametry s výchozími hodnotami.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerLineNumberParamForUnconsumedLocation">
<source>The CallerLineNumberAttribute applied to parameter '{0}' will have no effect because it applies to a member that is used in contexts that do not allow optional arguments</source>
<target state="translated">CallerLineNumberAttribute použitý u parametru {0} nebude mít žádný účinek, protože se aplikuje u člena, který se používá v kontextech nepovolujících volitelné argumenty.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerLineNumberParamForUnconsumedLocation_Title">
<source>The CallerLineNumberAttribute will have no effect because it applies to a member that is used in contexts that do not allow optional arguments</source>
<target state="translated">CallerLineNumberAttribute nebude mít žádný efekt, protože platí pro člena, který se používá v kontextech nedovolujících nepovinné argumenty.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerFilePathParamForUnconsumedLocation">
<source>The CallerFilePathAttribute applied to parameter '{0}' will have no effect because it applies to a member that is used in contexts that do not allow optional arguments</source>
<target state="translated">CallerFilePathAttribute použitý u parametru {0} nebude mít žádný vliv, protože se vztahuje na člen, který je použitý v kontextech nepovolujících volitelné argumenty.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerFilePathParamForUnconsumedLocation_Title">
<source>The CallerFilePathAttribute will have no effect because it applies to a member that is used in contexts that do not allow optional arguments</source>
<target state="translated">CallerFilePathAttribute nebude mít žádný vliv, protože se vztahuje na člen, který je použitý v kontextech nepovolujících volitelné argumenty.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerMemberNameParamForUnconsumedLocation">
<source>The CallerMemberNameAttribute applied to parameter '{0}' will have no effect because it applies to a member that is used in contexts that do not allow optional arguments</source>
<target state="translated">CallerMemberNameAttribute použitý u parametru {0} nebude mít žádný účinek, protože se aplikuje u člena, který se používá v kontextech nepovolujících volitelné argumenty.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerMemberNameParamForUnconsumedLocation_Title">
<source>The CallerMemberNameAttribute will have no effect because it applies to a member that is used in contexts that do not allow optional arguments</source>
<target state="translated">CallerMemberNameAttribute nebude mít žádný efekt, protože platí pro člena, který se používá v kontextech nedovolujících nepovinné argumenty.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoEntryPoint">
<source>Program does not contain a static 'Main' method suitable for an entry point</source>
<target state="translated">Program neobsahuje statickou metodu Main vhodnou pro vstupní bod.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ArrayInitializerIncorrectLength">
<source>An array initializer of length '{0}' is expected</source>
<target state="translated">Očekává se inicializátor pole s délkou {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ArrayInitializerExpected">
<source>A nested array initializer is expected</source>
<target state="translated">Očekává se inicializátor vnořeného pole.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IllegalVarianceSyntax">
<source>Invalid variance modifier. Only interface and delegate type parameters can be specified as variant.</source>
<target state="translated">Modifikátor odchylky je neplatný. Jako variant můžou být určeny jenom parametry typu delegát nebo rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnexpectedAliasedName">
<source>Unexpected use of an aliased name</source>
<target state="translated">Neočekávané použití názvu v aliasu</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnexpectedGenericName">
<source>Unexpected use of a generic name</source>
<target state="translated">Neočekávané použití obecného názvu</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnexpectedUnboundGenericName">
<source>Unexpected use of an unbound generic name</source>
<target state="translated">Neočekávané použití odvázaného obecného názvu</target>
<note />
</trans-unit>
<trans-unit id="ERR_GlobalStatement">
<source>Expressions and statements can only occur in a method body</source>
<target state="translated">Výrazy a příkazy se můžou vyskytnout jenom v těle metody.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NamedArgumentForArray">
<source>An array access may not have a named argument specifier</source>
<target state="translated">Přístup k poli nemůže mít specifikátor pojmenovaného argumentu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NotYetImplementedInRoslyn">
<source>This language feature ('{0}') is not yet implemented.</source>
<target state="translated">Tato jazyková funkce ({0}) zatím není implementovaná.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DefaultValueNotAllowed">
<source>Default values are not valid in this context.</source>
<target state="translated">Výchozí hodnoty nejsou v tomto kontextu platné.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantOpenIcon">
<source>Error opening icon file {0} -- {1}</source>
<target state="translated">Chyba při otevírání souboru ikony {0} -- {1}</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantOpenWin32Manifest">
<source>Error opening Win32 manifest file {0} -- {1}</source>
<target state="translated">Chyba při otevírání souboru manifestu Win32 {0} -- {1}</target>
<note />
</trans-unit>
<trans-unit id="ERR_ErrorBuildingWin32Resources">
<source>Error building Win32 resources -- {0}</source>
<target state="translated">Chyba při sestavování prostředků Win32 -- {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_DefaultValueBeforeRequiredValue">
<source>Optional parameters must appear after all required parameters</source>
<target state="translated">Volitelné parametry musí následovat po všech povinných parametrech</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExplicitImplCollisionOnRefOut">
<source>Cannot inherit interface '{0}' with the specified type parameters because it causes method '{1}' to contain overloads which differ only on ref and out</source>
<target state="translated">Nejde dědit rozhraní {0} se zadanými parametry typu, protože to způsobuje, že metoda {1} obsahuje víc přetížení, která se liší jen deklaracemi ref a out.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialWrongTypeParamsVariance">
<source>Partial declarations of '{0}' must have the same type parameter names and variance modifiers in the same order</source>
<target state="translated">Částečné deklarace {0} musí obsahovat názvy parametrů stejného typu a modifikátory odchylek ve stejném pořadí.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnexpectedVariance">
<source>Invalid variance: The type parameter '{1}' must be {3} valid on '{0}'. '{1}' is {2}.</source>
<target state="translated">Neplatná odchylka: Parametr typu {1} musí být {3} platný v {0}. {1} je {2}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DeriveFromDynamic">
<source>'{0}': cannot derive from the dynamic type</source>
<target state="translated">{0}: Nejde odvozovat z dynamického typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DeriveFromConstructedDynamic">
<source>'{0}': cannot implement a dynamic interface '{1}'</source>
<target state="translated">{0}: Nemůže implementovat dynamické rozhraní {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DynamicTypeAsBound">
<source>Constraint cannot be the dynamic type</source>
<target state="translated">Omezení nemůže být dynamický typ.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConstructedDynamicTypeAsBound">
<source>Constraint cannot be a dynamic type '{0}'</source>
<target state="translated">Omezení nemůže být dynamický typ {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DynamicRequiredTypesMissing">
<source>One or more types required to compile a dynamic expression cannot be found. Are you missing a reference?</source>
<target state="translated">Jeden nebo více typů požadovaných pro kompilaci dynamického výrazu nejde najít. Nechybí odkaz?</target>
<note />
</trans-unit>
<trans-unit id="ERR_MetadataNameTooLong">
<source>Name '{0}' exceeds the maximum length allowed in metadata.</source>
<target state="translated">Název {0} překračuje maximální délku povolenou v metadatech.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AttributesNotAllowed">
<source>Attributes are not valid in this context.</source>
<target state="translated">Atributy nejsou v tomto kontextu platné.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExternAliasNotAllowed">
<source>'extern alias' is not valid in this context</source>
<target state="translated">'Alias extern není v tomto kontextu platný.</target>
<note />
</trans-unit>
<trans-unit id="WRN_IsDynamicIsConfusing">
<source>Using '{0}' to test compatibility with '{1}' is essentially identical to testing compatibility with '{2}' and will succeed for all non-null values</source>
<target state="translated">Použití operátoru {0} pro testování kompatibility s typem {1} je v podstatě totožné s testováním kompatibility s typem {2} a bude úspěšné pro všechny hodnoty, které nejsou null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_IsDynamicIsConfusing_Title">
<source>Using 'is' to test compatibility with 'dynamic' is essentially identical to testing compatibility with 'Object'</source>
<target state="translated">Použití operátoru is pro testování kompatibility s typem dynamic je v podstatě totožné s testováním kompatibility s typem Object.</target>
<note />
</trans-unit>
<trans-unit id="ERR_YieldNotAllowedInScript">
<source>Cannot use 'yield' in top-level script code</source>
<target state="translated">Příkaz yield se nedá použít v kódu skriptu nejvyšší úrovně.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NamespaceNotAllowedInScript">
<source>Cannot declare namespace in script code</source>
<target state="translated">Obor názvů se nedá deklarovat v kódu skriptu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_GlobalAttributesNotAllowed">
<source>Assembly and module attributes are not allowed in this context</source>
<target state="translated">Atributy sestavení a modulů nejsou v tomto kontextu povolené.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidDelegateType">
<source>Delegate '{0}' has no invoke method or an invoke method with a return type or parameter types that are not supported.</source>
<target state="translated">Delegát {0} nemá žádnou metodu invoke nebo má jeho metoda invoke nepodporovaný návratový typ nebo typy parametrů.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MainIgnored">
<source>The entry point of the program is global code; ignoring '{0}' entry point.</source>
<target state="translated">Vstupním bodem programu je globální kód. Vstupní bod {0} se ignoruje.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MainIgnored_Title">
<source>The entry point of the program is global code; ignoring entry point</source>
<target state="translated">Vstupním bodem programu je globální kód. Vstupní bod se ignoruje</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadVisEventType">
<source>Inconsistent accessibility: event type '{1}' is less accessible than event '{0}'</source>
<target state="translated">Nekonzistentní dostupnost: Typ události {1} je míň dostupný než událost {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NamedArgumentSpecificationBeforeFixedArgument">
<source>Named argument specifications must appear after all fixed arguments have been specified. Please use language version {0} or greater to allow non-trailing named arguments.</source>
<target state="translated">Specifikace pojmenovaných argumentů musí následovat po specifikaci všech pevných argumentů. Pokud chcete povolit pojmenované argumenty, které nejsou na konci, použijte prosím jazyk verze {0} nebo vyšší.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NamedArgumentSpecificationBeforeFixedArgumentInDynamicInvocation">
<source>Named argument specifications must appear after all fixed arguments have been specified in a dynamic invocation.</source>
<target state="translated">Specifikace pojmenovaných argumentů musí následovat po specifikaci všech pevných argumentů v dynamickém vyvolání.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadNamedArgument">
<source>The best overload for '{0}' does not have a parameter named '{1}'</source>
<target state="translated">Nejlepší přetížení pro {0} neobsahuje parametr s názvem {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadNamedArgumentForDelegateInvoke">
<source>The delegate '{0}' does not have a parameter named '{1}'</source>
<target state="translated">Delegát {0} neobsahuje parametr s názvem {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateNamedArgument">
<source>Named argument '{0}' cannot be specified multiple times</source>
<target state="translated">Pojmenovaný argument {0} nejde zadat víckrát.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NamedArgumentUsedInPositional">
<source>Named argument '{0}' specifies a parameter for which a positional argument has already been given</source>
<target state="translated">Pojmenovaný argument {0} určuje parametr, pro který už byl poskytnut poziční argument.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadNonTrailingNamedArgument">
<source>Named argument '{0}' is used out-of-position but is followed by an unnamed argument</source>
<target state="translated">Pojmenovaný argument {0} se používá mimo pozici, je ale následovaný nepojmenovaným argumentem.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DefaultValueUsedWithAttributes">
<source>Cannot specify default parameter value in conjunction with DefaultParameterAttribute or OptionalAttribute</source>
<target state="translated">Nejde zadat výchozí hodnotu parametru v kombinaci s atributy DefaultParameterAttribute nebo OptionalAttribute.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DefaultValueMustBeConstant">
<source>Default parameter value for '{0}' must be a compile-time constant</source>
<target state="translated">Výchozí hodnota parametru pro {0} musí být konstanta definovaná při kompilaci.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefOutDefaultValue">
<source>A ref or out parameter cannot have a default value</source>
<target state="translated">Parametr Ref nebo Uut nemůže mít výchozí hodnotu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DefaultValueForExtensionParameter">
<source>Cannot specify a default value for the 'this' parameter</source>
<target state="translated">Nejde zadat výchozí hodnotu pro parametr this.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DefaultValueForParamsParameter">
<source>Cannot specify a default value for a parameter array</source>
<target state="translated">Nejde zadat výchozí hodnotu pro pole parametrů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoConversionForDefaultParam">
<source>A value of type '{0}' cannot be used as a default parameter because there are no standard conversions to type '{1}'</source>
<target state="translated">Hodnotu typu {0} nejde použít jako výchozí parametr, protože neexistují žádné standardní převody na typ {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoConversionForNubDefaultParam">
<source>A value of type '{0}' cannot be used as default parameter for nullable parameter '{1}' because '{0}' is not a simple type</source>
<target state="translated">Hodnotu typu {0} nejde použít jako výchozí hodnotu parametru {1} s možnou hodnotou null, protože {0} není jednoduchý typ.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NotNullRefDefaultParameter">
<source>'{0}' is of type '{1}'. A default parameter value of a reference type other than string can only be initialized with null</source>
<target state="translated">{0} je typu {1}. Výchozí hodnotu parametru s jiným než řetězcovým typem odkazu jde inicializovat jenom hodnotou null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DefaultValueForUnconsumedLocation">
<source>The default value specified for parameter '{0}' will have no effect because it applies to a member that is used in contexts that do not allow optional arguments</source>
<target state="translated">Výchozí hodnota zadaná pro parametr {0} nebude mít žádný efekt, protože platí pro člen, který se používá v kontextech nedovolujících nepovinné argumenty.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DefaultValueForUnconsumedLocation_Title">
<source>The default value specified will have no effect because it applies to a member that is used in contexts that do not allow optional arguments</source>
<target state="translated">Určená výchozí hodnota nebude mít žádný efekt, protože platí pro člena, který se používá v kontextech nedovolujících nepovinné argumenty.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PublicKeyFileFailure">
<source>Error signing output with public key from file '{0}' -- {1}</source>
<target state="translated">Chyba při podepisování výstupu pomocí veřejného klíče ze souboru {0} -- {1}</target>
<note />
</trans-unit>
<trans-unit id="ERR_PublicKeyContainerFailure">
<source>Error signing output with public key from container '{0}' -- {1}</source>
<target state="translated">Chyba při podepisování výstupu pomocí veřejného klíče z kontejneru {0} -- {1}</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadDynamicTypeof">
<source>The typeof operator cannot be used on the dynamic type</source>
<target state="translated">Operátor typeof nejde použít na tento dynamický typ.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsDynamicOperation">
<source>An expression tree may not contain a dynamic operation</source>
<target state="translated">Strom výrazu nemůže obsahovat dynamickou operaci.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAsyncExpressionTree">
<source>Async lambda expressions cannot be converted to expression trees</source>
<target state="translated">Asynchronní výrazy lambda nejde převést na stromy výrazů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DynamicAttributeMissing">
<source>Cannot define a class or member that utilizes 'dynamic' because the compiler required type '{0}' cannot be found. Are you missing a reference?</source>
<target state="translated">Nejde definovat třídu nebo člen, který používá typ dynamic, protože se nedá najít typ {0} požadovaný kompilátorem. Nechybí odkaz?</target>
<note />
</trans-unit>
<trans-unit id="ERR_CannotPassNullForFriendAssembly">
<source>Cannot pass null for friend assembly name</source>
<target state="translated">Jako název sestavení typu Friend nejde předat hodnotu Null.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SignButNoPrivateKey">
<source>Key file '{0}' is missing the private key needed for signing</source>
<target state="translated">V souboru klíče {0} chybí privátní klíč potřebný k podepsání.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PublicSignButNoKey">
<source>Public signing was specified and requires a public key, but no public key was specified.</source>
<target state="translated">Byl určený veřejný podpis, který vyžaduje veřejný klíč, nebyl ale zadaný žádný veřejný klíč.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PublicSignNetModule">
<source>Public signing is not supported for netmodules.</source>
<target state="translated">Veřejné podepisování netmodulů se nepodporuje.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DelaySignButNoKey">
<source>Delay signing was specified and requires a public key, but no public key was specified</source>
<target state="translated">Je určené zpožděné podepsání, které vyžaduje veřejný klíč, ale není zadaný žádný veřejný klíč.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DelaySignButNoKey_Title">
<source>Delay signing was specified and requires a public key, but no public key was specified</source>
<target state="translated">Je určené zpožděné podepsání, které vyžaduje veřejný klíč, ale není zadaný žádný veřejný klíč.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidVersionFormat">
<source>The specified version string does not conform to the required format - major[.minor[.build[.revision]]]</source>
<target state="translated">Zadaný řetězec verze není v souladu s požadovaným formátem – hlavní_verze[.dílčí_verze[.build[.revize]]].</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidVersionFormatDeterministic">
<source>The specified version string contains wildcards, which are not compatible with determinism. Either remove wildcards from the version string, or disable determinism for this compilation</source>
<target state="translated">Zadaný řetězec verze obsahuje zástupné znaky, které nejsou kompatibilní s determinismem. Odeberte zástupné znaky z řetězce verze nebo pro tuto kompilaci zakažte determinismus.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidVersionFormat2">
<source>The specified version string does not conform to the required format - major.minor.build.revision (without wildcards)</source>
<target state="translated">Zadaný řetězec verze není v souladu s požadovaným formátem – hlavní_verze.dílčí_verze.build.revize (bez zástupných znaků).</target>
<note />
</trans-unit>
<trans-unit id="WRN_InvalidVersionFormat">
<source>The specified version string does not conform to the recommended format - major.minor.build.revision</source>
<target state="translated">Zadaný řetězec verze není v souladu s doporučeným formátem – hlavní_verze.dílčí_verze.build.revize.</target>
<note />
</trans-unit>
<trans-unit id="WRN_InvalidVersionFormat_Title">
<source>The specified version string does not conform to the recommended format - major.minor.build.revision</source>
<target state="translated">Zadaný řetězec verze není v souladu s doporučeným formátem – hlavní_verze.dílčí_verze.build.revize.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidAssemblyCultureForExe">
<source>Executables cannot be satellite assemblies; culture should always be empty</source>
<target state="translated">Spustitelné soubory nemůžou být satelitními sestaveními; jazyková verze by vždy měla být prázdná.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoCorrespondingArgument">
<source>There is no argument given that corresponds to the required formal parameter '{0}' of '{1}'</source>
<target state="translated">Není dán žádný argument, který by odpovídal požadovanému formálnímu parametru {0} v {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnimplementedCommandLineSwitch">
<source>The command line switch '{0}' is not yet implemented and was ignored.</source>
<target state="translated">Přepínač příkazového řádku {0} ještě není implementovaný, a tak se ignoroval.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnimplementedCommandLineSwitch_Title">
<source>Command line switch is not yet implemented</source>
<target state="translated">Přepínač příkazového řádku zatím není implementovaný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ModuleEmitFailure">
<source>Failed to emit module '{0}': {1}</source>
<target state="translated">Nepovedlo se vygenerovat modul {0}: {1}</target>
<note />
</trans-unit>
<trans-unit id="ERR_FixedLocalInLambda">
<source>Cannot use fixed local '{0}' inside an anonymous method, lambda expression, or query expression</source>
<target state="translated">Pevnou lokální proměnnou {0} nejde použít v anonymní metodě, lambda výrazu nebo výrazu dotazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsNamedArgument">
<source>An expression tree may not contain a named argument specification</source>
<target state="translated">Strom výrazu nemůže obsahovat specifikaci pojmenovaného argumentu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsOptionalArgument">
<source>An expression tree may not contain a call or invocation that uses optional arguments</source>
<target state="translated">Strom výrazu nemůže obsahovat volání, které používá nepovinné argumenty.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsIndexedProperty">
<source>An expression tree may not contain an indexed property</source>
<target state="translated">Strom výrazu nemůže obsahovat indexovanou vlastnost.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IndexedPropertyRequiresParams">
<source>Indexed property '{0}' has non-optional arguments which must be provided</source>
<target state="translated">Indexovaná vlastnost {0} má argumenty, které nejsou nepovinné a je třeba je zadat.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IndexedPropertyMustHaveAllOptionalParams">
<source>Indexed property '{0}' must have all arguments optional</source>
<target state="translated">Indexovaná vlastnost {0} musí mít všechny argumenty volitelné.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SpecialByRefInLambda">
<source>Instance of type '{0}' cannot be used inside a nested function, query expression, iterator block or async method</source>
<target state="translated">Instance typu {0} nelze použít uvnitř vnořené funkce, výrazu dotazu, bloku iterátoru nebo asynchronní metody.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SecurityAttributeMissingAction">
<source>First argument to a security attribute must be a valid SecurityAction</source>
<target state="translated">První argument atributu zabezpečení musí být platný SecurityAction.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SecurityAttributeInvalidAction">
<source>Security attribute '{0}' has an invalid SecurityAction value '{1}'</source>
<target state="translated">Atribut zabezpečení {0} má neplatnou hodnotu SecurityAction {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SecurityAttributeInvalidActionAssembly">
<source>SecurityAction value '{0}' is invalid for security attributes applied to an assembly</source>
<target state="translated">Hodnota SecurityAction {0} není platná pro atributy zabezpečení použité u sestavení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SecurityAttributeInvalidActionTypeOrMethod">
<source>SecurityAction value '{0}' is invalid for security attributes applied to a type or a method</source>
<target state="translated">Hodnota SecurityAction {0} není platná pro atributy zabezpečení použité u typu nebo metody.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PrincipalPermissionInvalidAction">
<source>SecurityAction value '{0}' is invalid for PrincipalPermission attribute</source>
<target state="translated">Hodnota SecurityAction {0} není platná pro atribut PrincipalPermission.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FeatureNotValidInExpressionTree">
<source>An expression tree may not contain '{0}'</source>
<target state="translated">Strom výrazu nesmí obsahovat {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PermissionSetAttributeInvalidFile">
<source>Unable to resolve file path '{0}' specified for the named argument '{1}' for PermissionSet attribute</source>
<target state="translated">Nejde vyřešit cestu k souboru {0} zadanému pro pojmenovaný argument {1} pro atribut PermissionSet.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PermissionSetAttributeFileReadError">
<source>Error reading file '{0}' specified for the named argument '{1}' for PermissionSet attribute: '{2}'</source>
<target state="translated">Chyba při čtení souboru {0} zadaného pro pojmenovaný argument {1} pro atribut PermissionSet: {2}</target>
<note />
</trans-unit>
<trans-unit id="ERR_GlobalSingleTypeNameNotFoundFwd">
<source>The type name '{0}' could not be found in the global namespace. This type has been forwarded to assembly '{1}' Consider adding a reference to that assembly.</source>
<target state="translated">Název typu {0} se nepovedlo najít v globálním oboru názvů. Tento typ se předal do sestavení {1}. Zvažte přidání odkazu do tohoto sestavení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DottedTypeNameNotFoundInNSFwd">
<source>The type name '{0}' could not be found in the namespace '{1}'. This type has been forwarded to assembly '{2}' Consider adding a reference to that assembly.</source>
<target state="translated">Název typu {0} se nepovedlo najít v oboru názvů {1}. Tento typ se předal do sestavení {2}. Zvažte přidání odkazu do tohoto sestavení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SingleTypeNameNotFoundFwd">
<source>The type name '{0}' could not be found. This type has been forwarded to assembly '{1}'. Consider adding a reference to that assembly.</source>
<target state="translated">Název typu {0} se nenašel. Typ se předal do sestavení {1}. Zvažte přidání odkazu do tohoto sestavení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AssemblySpecifiedForLinkAndRef">
<source>Assemblies '{0}' and '{1}' refer to the same metadata but only one is a linked reference (specified using /link option); consider removing one of the references.</source>
<target state="translated">Sestavení {0} a {1} odkazují na stejná metadata, ale jenom v jednom případě je to propojený odkaz (zadaný s možností /link). Zvažte odebrání jednoho z odkazů.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DeprecatedCollectionInitAdd">
<source>The best overloaded Add method '{0}' for the collection initializer element is obsolete.</source>
<target state="translated">Optimální přetěžovaná metoda Add {0} pro element inicializátoru kolekce je zastaralá.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DeprecatedCollectionInitAdd_Title">
<source>The best overloaded Add method for the collection initializer element is obsolete</source>
<target state="translated">Optimální přetěžovaná metoda Add pro element inicializátoru kolekce je zastaralá.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DeprecatedCollectionInitAddStr">
<source>The best overloaded Add method '{0}' for the collection initializer element is obsolete. {1}</source>
<target state="translated">Optimální přetěžovaná metoda Add {0} pro element inicializátoru kolekce je zastaralá. {1}</target>
<note />
</trans-unit>
<trans-unit id="WRN_DeprecatedCollectionInitAddStr_Title">
<source>The best overloaded Add method for the collection initializer element is obsolete</source>
<target state="translated">Optimální přetěžovaná metoda Add pro element inicializátoru kolekce je zastaralá.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DeprecatedCollectionInitAddStr">
<source>The best overloaded Add method '{0}' for the collection initializer element is obsolete. {1}</source>
<target state="translated">Optimální přetěžovaná metoda Add {0} pro element inicializátoru kolekce je zastaralá. {1}</target>
<note />
</trans-unit>
<trans-unit id="ERR_SecurityAttributeInvalidTarget">
<source>Security attribute '{0}' is not valid on this declaration type. Security attributes are only valid on assembly, type and method declarations.</source>
<target state="translated">Atribut zabezpečení {0} není platný u tohoto typu deklarace. Atributy zabezpečení jsou platné jenom u deklarací sestavení, typu a metody.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadDynamicMethodArg">
<source>Cannot use an expression of type '{0}' as an argument to a dynamically dispatched operation.</source>
<target state="translated">Nejde použít výraz typu {0} jako argument pro dynamicky volanou operaci.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadDynamicMethodArgLambda">
<source>Cannot use a lambda expression as an argument to a dynamically dispatched operation without first casting it to a delegate or expression tree type.</source>
<target state="translated">Výraz lambda nejde použít jako argument dynamicky volané operace, aniž byste ho nejprve použili na typy delegát nebo strom výrazů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadDynamicMethodArgMemgrp">
<source>Cannot use a method group as an argument to a dynamically dispatched operation. Did you intend to invoke the method?</source>
<target state="translated">Skupinu metod nejde použít jako argument v dynamicky volané operaci. Měli jste v úmyslu tuto metodu vyvolat?</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoDynamicPhantomOnBase">
<source>The call to method '{0}' needs to be dynamically dispatched, but cannot be because it is part of a base access expression. Consider casting the dynamic arguments or eliminating the base access.</source>
<target state="translated">Volání do metody {0} je nutné volat dynamicky, což ale není možné, protože je součástí výrazu základního přístupu. Zvažte přetypování dynamických argumentů nebo eliminaci základního přístupu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadDynamicQuery">
<source>Query expressions over source type 'dynamic' or with a join sequence of type 'dynamic' are not allowed</source>
<target state="translated">Výrazy dotazů se zdrojovým typem dynamic nebo se spojenou sekvencí typu dynamic nejsou povolené.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoDynamicPhantomOnBaseIndexer">
<source>The indexer access needs to be dynamically dispatched, but cannot be because it is part of a base access expression. Consider casting the dynamic arguments or eliminating the base access.</source>
<target state="translated">Přístup indexeru je nutné volat dynamicky, což ale není možné, protože je součástí výrazu základního přístupu. Zvažte použití dynamických argumentů nebo eliminaci základního přístupu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DynamicDispatchToConditionalMethod">
<source>The dynamically dispatched call to method '{0}' may fail at runtime because one or more applicable overloads are conditional methods.</source>
<target state="translated">Dynamicky volané volání do metody {0} se za běhu nemusí zdařit, protože nejmíň jedno použitelné přetížení je podmíněná metoda.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DynamicDispatchToConditionalMethod_Title">
<source>Dynamically dispatched call may fail at runtime because one or more applicable overloads are conditional methods</source>
<target state="translated">Dynamicky volané volání může za běhu selhat, protože nejmíň jedno použitelné přetížení představuje podmíněnou metodu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadArgTypeDynamicExtension">
<source>'{0}' has no applicable method named '{1}' but appears to have an extension method by that name. Extension methods cannot be dynamically dispatched. Consider casting the dynamic arguments or calling the extension method without the extension method syntax.</source>
<target state="translated">{0} nemá žádnou použitelnou metodu s názvem {1}, ale zřejmě má metodu rozšíření s tímto názvem. Metody rozšíření se nedají volat dynamicky. Zvažte použití dynamických argumentů nebo volání metody rozšíření bez syntaxe metody rozšíření.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerFilePathPreferredOverCallerMemberName">
<source>The CallerMemberNameAttribute applied to parameter '{0}' will have no effect. It is overridden by the CallerFilePathAttribute.</source>
<target state="translated">CallerMemberNameAttribute použitý u parametru {0} nebude mít žádný účinek. Přepíše ho CallerFilePathAttribute.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerFilePathPreferredOverCallerMemberName_Title">
<source>The CallerMemberNameAttribute will have no effect; it is overridden by the CallerFilePathAttribute</source>
<target state="translated">CallerMemberNameAttribute nebude mít žádný efekt. Přepisuje ho CallerFilePathAttribute.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerLineNumberPreferredOverCallerMemberName">
<source>The CallerMemberNameAttribute applied to parameter '{0}' will have no effect. It is overridden by the CallerLineNumberAttribute.</source>
<target state="translated">CallerMemberNameAttribute použitý u parametru {0} nebude mít žádný účinek. Přepíše ho CallerLineNumberAttribute.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerLineNumberPreferredOverCallerMemberName_Title">
<source>The CallerMemberNameAttribute will have no effect; it is overridden by the CallerLineNumberAttribute</source>
<target state="translated">CallerMemberNameAttribute nebude mít žádný efekt. Přepisuje ho CallerLineNumberAttribute.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerLineNumberPreferredOverCallerFilePath">
<source>The CallerFilePathAttribute applied to parameter '{0}' will have no effect. It is overridden by the CallerLineNumberAttribute.</source>
<target state="translated">CallerFilePathAttribute použitý u parametru {0} nebude mít žádný účinek. Přepíše ho CallerLineNumberAttribute.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerLineNumberPreferredOverCallerFilePath_Title">
<source>The CallerFilePathAttribute will have no effect; it is overridden by the CallerLineNumberAttribute</source>
<target state="translated">CallerFilePathAttribute nebude mít žádný efekt. Přepisuje ho CallerLineNumberAttribute.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidDynamicCondition">
<source>Expression must be implicitly convertible to Boolean or its type '{0}' must define operator '{1}'.</source>
<target state="translated">Výraz musí být implicitně převeditelný na logickou hodnotu nebo její typ {0} musí definovat operátor {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MixingWinRTEventWithRegular">
<source>'{0}' cannot implement '{1}' because '{2}' is a Windows Runtime event and '{3}' is a regular .NET event.</source>
<target state="translated">{0} nemůže implementovat {1}, protože {2} je událost Windows Runtimu a {3} je normální událost .NET.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CA2000_DisposeObjectsBeforeLosingScope1">
<source>Call System.IDisposable.Dispose() on allocated instance of {0} before all references to it are out of scope.</source>
<target state="translated">Vyvolejte System.IDisposable.Dispose() na přidělenou instanci {0} dřív, než budou všechny odkazy na ni mimo obor.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CA2000_DisposeObjectsBeforeLosingScope1_Title">
<source>Call System.IDisposable.Dispose() on allocated instance before all references to it are out of scope</source>
<target state="translated">Vyvolejte System.IDisposable.Dispose() u přidělené instance, než budou všechny odkazy na ni mimo rozsah.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CA2000_DisposeObjectsBeforeLosingScope2">
<source>Allocated instance of {0} is not disposed along all exception paths. Call System.IDisposable.Dispose() before all references to it are out of scope.</source>
<target state="translated">Přidělená instance {0} se neuvolní v průběhu všech cest výjimky. Vyvolejte System.IDisposable.Dispose() dřív, než budou všechny odkazy na ni mimo obor.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CA2000_DisposeObjectsBeforeLosingScope2_Title">
<source>Allocated instance is not disposed along all exception paths</source>
<target state="translated">Přidělená instance není uvolněná v průběhu všech cest výjimek.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CA2202_DoNotDisposeObjectsMultipleTimes">
<source>Object '{0}' can be disposed more than once.</source>
<target state="translated">Objekt {0} se dá uvolnit víc než jednou.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CA2202_DoNotDisposeObjectsMultipleTimes_Title">
<source>Object can be disposed more than once</source>
<target state="translated">Objekt se dá uvolnit víc než jednou.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NewCoClassOnLink">
<source>Interop type '{0}' cannot be embedded. Use the applicable interface instead.</source>
<target state="translated">Typ spolupráce {0} nemůže být vložený. Místo něho použijte použitelné rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoPIANestedType">
<source>Type '{0}' cannot be embedded because it is a nested type. Consider setting the 'Embed Interop Types' property to false.</source>
<target state="translated">Typ {0} nemůže být vložený, protože je vnořeným typem. Zvažte nastavení vlastnosti Vložit typy spolupráce na false.</target>
<note />
</trans-unit>
<trans-unit id="ERR_GenericsUsedInNoPIAType">
<source>Type '{0}' cannot be embedded because it has a generic argument. Consider setting the 'Embed Interop Types' property to false.</source>
<target state="translated">Typ {0} nemůže být vložený, protože má obecný argument. Zvažte nastavení vlastnosti Vložit typy spolupráce na hodnotu false.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InteropStructContainsMethods">
<source>Embedded interop struct '{0}' can contain only public instance fields.</source>
<target state="translated">Vložená struktura spolupráce {0} může obsahovat jenom veřejné položky instance.</target>
<note />
</trans-unit>
<trans-unit id="ERR_WinRtEventPassedByRef">
<source>A Windows Runtime event may not be passed as an out or ref parameter.</source>
<target state="translated">Událost Windows Runtimu se nesmí předat jako parametr out nebo ref.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MissingMethodOnSourceInterface">
<source>Source interface '{0}' is missing method '{1}' which is required to embed event '{2}'.</source>
<target state="translated">Zdrojovému rozhraní {0} chybí metoda {1}, která se vyžaduje pro vložení události {2}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MissingSourceInterface">
<source>Interface '{0}' has an invalid source interface which is required to embed event '{1}'.</source>
<target state="translated">Rozhraní {0} má neplatné zdrojové rozhraní, které se vyžaduje pro vložení události {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InteropTypeMissingAttribute">
<source>Interop type '{0}' cannot be embedded because it is missing the required '{1}' attribute.</source>
<target state="translated">Typ spolupráce {0} nemůže být vložený, protože postrádá požadovaný atribut {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoPIAAssemblyMissingAttribute">
<source>Cannot embed interop types from assembly '{0}' because it is missing the '{1}' attribute.</source>
<target state="translated">Nejde vložit typy spolupráce pro sestavení {0}, protože postrádá atribut {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoPIAAssemblyMissingAttributes">
<source>Cannot embed interop types from assembly '{0}' because it is missing either the '{1}' attribute or the '{2}' attribute.</source>
<target state="translated">Nejde vložit typy spolupráce ze sestavení {0}, protože postrádá buď atribut {1}, nebo atribut {2}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InteropTypesWithSameNameAndGuid">
<source>Cannot embed interop type '{0}' found in both assembly '{1}' and '{2}'. Consider setting the 'Embed Interop Types' property to false.</source>
<target state="translated">Nejde vložit typ spolupráce {0} nalezený v sestavení {1} i {2}. Zvažte nastavení vlastnosti Vložit typy spolupráce na hodnotu false.</target>
<note />
</trans-unit>
<trans-unit id="ERR_LocalTypeNameClash">
<source>Embedding the interop type '{0}' from assembly '{1}' causes a name clash in the current assembly. Consider setting the 'Embed Interop Types' property to false.</source>
<target state="translated">Vložení typu spolupráce {0} ze sestavení {1} způsobí konflikt názvů v aktuálním sestavení. Zvažte nastavení vlastnosti Vložit typy spolupráce na false.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ReferencedAssemblyReferencesLinkedPIA">
<source>A reference was created to embedded interop assembly '{0}' because of an indirect reference to that assembly created by assembly '{1}'. Consider changing the 'Embed Interop Types' property on either assembly.</source>
<target state="translated">Vytvořil se odkaz na vložené sestavení vzájemné spolupráce {0}, protože existuje nepřímý odkaz na toto sestavení ze sestavení {1}. Zvažte změnu vlastnosti Vložit typy vzájemné spolupráce u obou sestavení.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ReferencedAssemblyReferencesLinkedPIA_Title">
<source>A reference was created to embedded interop assembly because of an indirect assembly reference</source>
<target state="translated">Byl vytvořený odkaz na vložené definiční sestavení z důvodu nepřímého odkazu na toto sestavení.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ReferencedAssemblyReferencesLinkedPIA_Description">
<source>You have added a reference to an assembly using /link (Embed Interop Types property set to True). This instructs the compiler to embed interop type information from that assembly. However, the compiler cannot embed interop type information from that assembly because another assembly that you have referenced also references that assembly using /reference (Embed Interop Types property set to False).
To embed interop type information for both assemblies, use /link for references to each assembly (set the Embed Interop Types property to True).
To remove the warning, you can use /reference instead (set the Embed Interop Types property to False). In this case, a primary interop assembly (PIA) provides interop type information.</source>
<target state="translated">Přidali jste odkaz na sestavení pomocí parametru /link (vlastnost Přibalit definované typy nastavená na True). Tím se kompilátoru dává instrukce, aby vložil informace o typech spolupráce z tohoto sestavení. Kompilátor ale nemůže tyto informace z tohoto sestavení vložit, protože jiné sestavení, na které jste nastavili odkaz, odkazuje taky na toto sestavení, a to pomocí parametru /reference (vlastnost Přibalit definované typy nastavená na False).
Pokud chcete vložit informace o typech spolupráce pro obě sestavení, odkazujte na každé z nich pomocí parametru /link (vlastnost Přibalit definované typy nastavená na True).
Pokud chcete odstranit toto varování, můžete místo toho použít /reference (vlastnost Přibalit definované typy nastavená na False). V tomto případě uvedené informace poskytne primární definiční sestavení (PIA).</target>
<note />
</trans-unit>
<trans-unit id="ERR_GenericsUsedAcrossAssemblies">
<source>Type '{0}' from assembly '{1}' cannot be used across assembly boundaries because it has a generic type argument that is an embedded interop type.</source>
<target state="translated">Typ {0} ze sestavení {1} se nedá použít přes hranice sestavení, protože má argument obecného typu, který je vloženým definičním typem.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoCanonicalView">
<source>Cannot find the interop type that matches the embedded interop type '{0}'. Are you missing an assembly reference?</source>
<target state="translated">Nejde najít typ spolupráce, který odpovídá vloženému typu {0}. Nechybí odkaz na sestavení?</target>
<note />
</trans-unit>
<trans-unit id="ERR_NetModuleNameMismatch">
<source>Module name '{0}' stored in '{1}' must match its filename.</source>
<target state="translated">Název modulu {0} uložený v {1} musí odpovídat svému názvu souboru.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadModuleName">
<source>Invalid module name: {0}</source>
<target state="translated">Neplatný název modulu: {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadCompilationOptionValue">
<source>Invalid '{0}' value: '{1}'.</source>
<target state="translated">Neplatná hodnota {0}: {1}</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAppConfigPath">
<source>AppConfigPath must be absolute.</source>
<target state="translated">AppConfigPath musí být absolutní.</target>
<note />
</trans-unit>
<trans-unit id="WRN_AssemblyAttributeFromModuleIsOverridden">
<source>Attribute '{0}' from module '{1}' will be ignored in favor of the instance appearing in source</source>
<target state="translated">Atribut {0} z modulu {1} se bude ignorovat ve prospěch instance, která se objeví ve zdroji.</target>
<note />
</trans-unit>
<trans-unit id="WRN_AssemblyAttributeFromModuleIsOverridden_Title">
<source>Attribute will be ignored in favor of the instance appearing in source</source>
<target state="translated">Atribut se bude ignorovat ve prospěch instance zobrazené ve zdroji.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CmdOptionConflictsSource">
<source>Attribute '{0}' given in a source file conflicts with option '{1}'.</source>
<target state="translated">Atribut {0} daný ve zdrojovém souboru je v konfliktu s možností {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FixedBufferTooManyDimensions">
<source>A fixed buffer may only have one dimension.</source>
<target state="translated">Pevná vyrovnávací paměť může mít jen jednu dimenzi.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ReferencedAssemblyDoesNotHaveStrongName">
<source>Referenced assembly '{0}' does not have a strong name.</source>
<target state="translated">Odkazované sestavení {0} nemá silný název.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ReferencedAssemblyDoesNotHaveStrongName_Title">
<source>Referenced assembly does not have a strong name</source>
<target state="translated">Odkazované sestavení nemá silný název.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidSignaturePublicKey">
<source>Invalid signature public key specified in AssemblySignatureKeyAttribute.</source>
<target state="translated">V atributu AssemblySignatureKeyAttribute je uvedený neplatný veřejný klíč podpisu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExportedTypeConflictsWithDeclaration">
<source>Type '{0}' exported from module '{1}' conflicts with type declared in primary module of this assembly.</source>
<target state="translated">Typ {0} exportovaný z modulu {1} je v konfliktu s typem deklarovaným v primárním modulu tohoto sestavení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExportedTypesConflict">
<source>Type '{0}' exported from module '{1}' conflicts with type '{2}' exported from module '{3}'.</source>
<target state="translated">Typ {0} exportovaný z modulu {1} je v konfliktu s typem {2} exportovaným z modulu {3}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ForwardedTypeConflictsWithDeclaration">
<source>Forwarded type '{0}' conflicts with type declared in primary module of this assembly.</source>
<target state="translated">Předaný typ {0} je v konfliktu s typem deklarovaným v primárním modulu tohoto sestavení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ForwardedTypesConflict">
<source>Type '{0}' forwarded to assembly '{1}' conflicts with type '{2}' forwarded to assembly '{3}'.</source>
<target state="translated">Typ {0} předaný do sestavení {1} je v konfliktu s typem {2} předaným do sestavení {3}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ForwardedTypeConflictsWithExportedType">
<source>Type '{0}' forwarded to assembly '{1}' conflicts with type '{2}' exported from module '{3}'.</source>
<target state="translated">Typ {0} předaný do sestavení {1} je v konfliktu s typem {2} exportovaným z modulu {3}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_RefCultureMismatch">
<source>Referenced assembly '{0}' has different culture setting of '{1}'.</source>
<target state="translated">Odkazované sestavení {0} má jiné nastavení jazykové verze {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_RefCultureMismatch_Title">
<source>Referenced assembly has different culture setting</source>
<target state="translated">Odkazované sestavení má jiné nastavení jazykové verze.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AgnosticToMachineModule">
<source>Agnostic assembly cannot have a processor specific module '{0}'.</source>
<target state="translated">Agnostické sestavení nemůže mít modul {0} určený pro konkrétní procesor.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConflictingMachineModule">
<source>Assembly and module '{0}' cannot target different processors.</source>
<target state="translated">Sestavení a modul {0} nemůžou mířit na různé procesory.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ConflictingMachineAssembly">
<source>Referenced assembly '{0}' targets a different processor.</source>
<target state="translated">Odkazované sestavení {0} míří na jiný procesor.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ConflictingMachineAssembly_Title">
<source>Referenced assembly targets a different processor</source>
<target state="translated">Odkazované sestavení míří na jiný procesor.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CryptoHashFailed">
<source>Cryptographic failure while creating hashes.</source>
<target state="translated">Při vytváření čísel hash došlo ke kryptografické chybě.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MissingNetModuleReference">
<source>Reference to '{0}' netmodule missing.</source>
<target state="translated">Chybí odkaz na netmodule {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NetModuleNameMustBeUnique">
<source>Module '{0}' is already defined in this assembly. Each module must have a unique filename.</source>
<target state="translated">Modul {0} je už v tomto sestavení definovaný. Každý modul musí mít jedinečný název souboru.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantReadConfigFile">
<source>Cannot read config file '{0}' -- '{1}'</source>
<target state="translated">Nejde přečíst konfigurační soubor {0} -- {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_EncNoPIAReference">
<source>Cannot continue since the edit includes a reference to an embedded type: '{0}'.</source>
<target state="translated">Nedá se pokračovat, protože úprava obsahuje odkaz na vložený typ: {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_EncReferenceToAddedMember">
<source>Member '{0}' added during the current debug session can only be accessed from within its declaring assembly '{1}'.</source>
<target state="translated">Ke členu {0} přidanému během aktuální relace ladění se dá přistupovat jenom z jeho deklarovaného sestavení {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MutuallyExclusiveOptions">
<source>Compilation options '{0}' and '{1}' can't both be specified at the same time.</source>
<target state="translated">Možnosti kompilace {0} a {1} se nedají zadat současně.</target>
<note />
</trans-unit>
<trans-unit id="ERR_LinkedNetmoduleMetadataMustProvideFullPEImage">
<source>Linked netmodule metadata must provide a full PE image: '{0}'.</source>
<target state="translated">Propojená metadata netmodule musí poskytovat plnou image PE: {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadPrefer32OnLib">
<source>/platform:anycpu32bitpreferred can only be used with /t:exe, /t:winexe and /t:appcontainerexe</source>
<target state="translated">Možnost /platform:anycpu32bitpreferred jde použít jenom s možnostmi /t:exe, /t:winexe a /t:appcontainerexe.</target>
<note />
</trans-unit>
<trans-unit id="IDS_PathList">
<source><path list></source>
<target state="translated"><seznam cest></target>
<note />
</trans-unit>
<trans-unit id="IDS_Text">
<source><text></source>
<target state="translated"><text></target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureNullPropagatingOperator">
<source>null propagating operator</source>
<target state="translated">operátor šířící null</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureExpressionBodiedMethod">
<source>expression-bodied method</source>
<target state="translated">metoda s výrazem v těle</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureExpressionBodiedProperty">
<source>expression-bodied property</source>
<target state="translated">vlastnost s výrazem v těle</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureExpressionBodiedIndexer">
<source>expression-bodied indexer</source>
<target state="translated">indexer s výrazem v těle</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureAutoPropertyInitializer">
<source>auto property initializer</source>
<target state="translated">automatický inicializátor vlastnosti</target>
<note />
</trans-unit>
<trans-unit id="IDS_Namespace1">
<source><namespace></source>
<target state="translated"><obor názvů></target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureRefLocalsReturns">
<source>byref locals and returns</source>
<target state="translated">lokální proměnné a vrácení podle odkazu</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureReadOnlyReferences">
<source>readonly references</source>
<target state="translated">odkazy jen pro čtení</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureRefStructs">
<source>ref structs</source>
<target state="translated">struktury REF</target>
<note />
</trans-unit>
<trans-unit id="CompilationC">
<source>Compilation (C#): </source>
<target state="translated">Kompilace (C#): </target>
<note />
</trans-unit>
<trans-unit id="SyntaxNodeIsNotWithinSynt">
<source>Syntax node is not within syntax tree</source>
<target state="translated">Uzel syntaxe není ve stromu syntaxe.</target>
<note />
</trans-unit>
<trans-unit id="LocationMustBeProvided">
<source>Location must be provided in order to provide minimal type qualification.</source>
<target state="translated">Musí být zadané umístění, aby se zajistila minimální kvalifikace typu.</target>
<note />
</trans-unit>
<trans-unit id="SyntaxTreeSemanticModelMust">
<source>SyntaxTreeSemanticModel must be provided in order to provide minimal type qualification.</source>
<target state="translated">Musí být zadaný SyntaxTreeSemanticModel, aby se zajistila minimální kvalifikace typu.</target>
<note />
</trans-unit>
<trans-unit id="CantReferenceCompilationOf">
<source>Can't reference compilation of type '{0}' from {1} compilation.</source>
<target state="translated">Na kompilaci typu {0} nejde odkazovat z kompilace {1}.</target>
<note />
</trans-unit>
<trans-unit id="SyntaxTreeAlreadyPresent">
<source>Syntax tree already present</source>
<target state="translated">Strom syntaxe už je přítomný.</target>
<note />
</trans-unit>
<trans-unit id="SubmissionCanOnlyInclude">
<source>Submission can only include script code.</source>
<target state="translated">Odeslání může zahrnovat jenom kód skriptu.</target>
<note />
</trans-unit>
<trans-unit id="SubmissionCanHaveAtMostOne">
<source>Submission can have at most one syntax tree.</source>
<target state="translated">Odeslání musí mít aspoň jeden strom syntaxe.</target>
<note />
</trans-unit>
<trans-unit id="TreeMustHaveARootNodeWith">
<source>tree must have a root node with SyntaxKind.CompilationUnit</source>
<target state="translated">strom musí mít kořenový uzel s prvkem SyntaxKind.CompilationUnit</target>
<note />
</trans-unit>
<trans-unit id="TypeArgumentCannotBeNull">
<source>Type argument cannot be null</source>
<target state="translated">Argument typu nemůže být null.</target>
<note />
</trans-unit>
<trans-unit id="WrongNumberOfTypeArguments">
<source>Wrong number of type arguments</source>
<target state="translated">Chybný počet argumentů typu</target>
<note />
</trans-unit>
<trans-unit id="NameConflictForName">
<source>Name conflict for name {0}</source>
<target state="translated">Konflikt u názvu {0}</target>
<note />
</trans-unit>
<trans-unit id="LookupOptionsHasInvalidCombo">
<source>LookupOptions has an invalid combination of options</source>
<target state="translated">LookupOptions má neplatnou kombinaci možností.</target>
<note />
</trans-unit>
<trans-unit id="ItemsMustBeNonEmpty">
<source>items: must be non-empty</source>
<target state="translated">Položky: Nesmí být prázdné.</target>
<note />
</trans-unit>
<trans-unit id="UseVerbatimIdentifier">
<source>Use Microsoft.CodeAnalysis.CSharp.SyntaxFactory.Identifier or Microsoft.CodeAnalysis.CSharp.SyntaxFactory.VerbatimIdentifier to create identifier tokens.</source>
<target state="translated">Pomocí Microsoft.CodeAnalysis.CSharp.SyntaxFactory.Identifier nebo Microsoft.CodeAnalysis.CSharp.SyntaxFactory.VerbatimIdentifier můžete vytvořit tokeny identifikátorů.</target>
<note />
</trans-unit>
<trans-unit id="UseLiteralForTokens">
<source>Use Microsoft.CodeAnalysis.CSharp.SyntaxFactory.Literal to create character literal tokens.</source>
<target state="translated">Pomocí Microsoft.CodeAnalysis.CSharp.SyntaxFactory.Literal můžete vytvořit znakové literálové tokeny.</target>
<note />
</trans-unit>
<trans-unit id="UseLiteralForNumeric">
<source>Use Microsoft.CodeAnalysis.CSharp.SyntaxFactory.Literal to create numeric literal tokens.</source>
<target state="translated">Pomocí Microsoft.CodeAnalysis.CSharp.SyntaxFactory.Literal můžete vytvořit numerické literálové tokeny.</target>
<note />
</trans-unit>
<trans-unit id="ThisMethodCanOnlyBeUsedToCreateTokens">
<source>This method can only be used to create tokens - {0} is not a token kind.</source>
<target state="translated">Tato metoda se dá používat jenom k vytváření tokenů – {0} není druh tokenu.</target>
<note />
</trans-unit>
<trans-unit id="GenericParameterDefinition">
<source>Generic parameter is definition when expected to be reference {0}</source>
<target state="translated">Obecný parametr je definice, i když se očekával odkaz {0}.</target>
<note />
</trans-unit>
<trans-unit id="InvalidGetDeclarationNameMultipleDeclarators">
<source>Called GetDeclarationName for a declaration node that can possibly contain multiple variable declarators.</source>
<target state="translated">Proběhlo volání funkce GetDeclarationName kvůli uzlu deklarací, který by mohl obsahovat několik variabilních deklarátorů.</target>
<note />
</trans-unit>
<trans-unit id="TreeNotPartOfCompilation">
<source>tree not part of compilation</source>
<target state="translated">strom není součástí kompilace</target>
<note />
</trans-unit>
<trans-unit id="PositionIsNotWithinSyntax">
<source>Position is not within syntax tree with full span {0}</source>
<target state="translated">Pozice není v rámci stromu syntaxe s plným rozpětím {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_BadUILang">
<source>The language name '{0}' is invalid.</source>
<target state="translated">Název jazyka {0} je neplatný.</target>
<note />
</trans-unit>
<trans-unit id="WRN_BadUILang_Title">
<source>The language name is invalid</source>
<target state="translated">Název jazyka je neplatný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnsupportedTransparentIdentifierAccess">
<source>Transparent identifier member access failed for field '{0}' of '{1}'. Does the data being queried implement the query pattern?</source>
<target state="translated">U pole {0} v {1} selhal přístup pro členy s transparentním identifikátorem. Implementují dotazovaná data vzor dotazu?</target>
<note />
</trans-unit>
<trans-unit id="ERR_ParamDefaultValueDiffersFromAttribute">
<source>The parameter has multiple distinct default values.</source>
<target state="translated">Parametr má víc odlišných výchozích hodnot.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FieldHasMultipleDistinctConstantValues">
<source>The field has multiple distinct constant values.</source>
<target state="translated">Pole má víc odlišných konstantních hodnot.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnqualifiedNestedTypeInCref">
<source>Within cref attributes, nested types of generic types should be qualified.</source>
<target state="translated">V atributech cref by měly být kvalifikované vnořené typy obecných typů.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnqualifiedNestedTypeInCref_Title">
<source>Within cref attributes, nested types of generic types should be qualified</source>
<target state="translated">V atributech cref by měly být kvalifikované vnořené typy obecných typů.</target>
<note />
</trans-unit>
<trans-unit id="NotACSharpSymbol">
<source>Not a C# symbol.</source>
<target state="translated">Nepředstavuje symbol C#.</target>
<note />
</trans-unit>
<trans-unit id="HDN_UnusedUsingDirective">
<source>Unnecessary using directive.</source>
<target state="translated">Nepotřebná direktiva using</target>
<note />
</trans-unit>
<trans-unit id="HDN_UnusedExternAlias">
<source>Unused extern alias.</source>
<target state="translated">Nepoužívaný alias extern</target>
<note />
</trans-unit>
<trans-unit id="ElementsCannotBeNull">
<source>Elements cannot be null.</source>
<target state="translated">Elementy nemůžou mít hodnotu null.</target>
<note />
</trans-unit>
<trans-unit id="IDS_LIB_ENV">
<source>LIB environment variable</source>
<target state="translated">proměnná prostředí LIB</target>
<note />
</trans-unit>
<trans-unit id="IDS_LIB_OPTION">
<source>/LIB option</source>
<target state="translated">parametr /LIB</target>
<note />
</trans-unit>
<trans-unit id="IDS_REFERENCEPATH_OPTION">
<source>/REFERENCEPATH option</source>
<target state="translated">Možnost /REFERENCEPATH</target>
<note />
</trans-unit>
<trans-unit id="IDS_DirectoryDoesNotExist">
<source>directory does not exist</source>
<target state="translated">adresář neexistuje</target>
<note />
</trans-unit>
<trans-unit id="IDS_DirectoryHasInvalidPath">
<source>path is too long or invalid</source>
<target state="translated">cesta je moc dlouhá nebo neplatná.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NoRuntimeMetadataVersion">
<source>No value for RuntimeMetadataVersion found. No assembly containing System.Object was found nor was a value for RuntimeMetadataVersion specified through options.</source>
<target state="translated">Nenašla se žádná hodnota RuntimeMetadataVersion, žádné sestavení obsahující System.Object ani nebyla v možnostech zadaná hodnota pro RuntimeMetadataVersion.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NoRuntimeMetadataVersion_Title">
<source>No value for RuntimeMetadataVersion found</source>
<target state="translated">Nenašla se žádná hodnota pro RuntimeMetadataVersion.</target>
<note />
</trans-unit>
<trans-unit id="WrongSemanticModelType">
<source>Expected a {0} SemanticModel.</source>
<target state="translated">Očekával se SemanticModel {0}.</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureLambda">
<source>lambda expression</source>
<target state="translated">výraz lambda</target>
<note />
</trans-unit>
<trans-unit id="ERR_FeatureNotAvailableInVersion1">
<source>Feature '{0}' is not available in C# 1. Please use language version {1} or greater.</source>
<target state="translated">Funkce {0} není dostupná v jazyce C# 1. Použijte prosím jazyk verze {1} nebo vyšší.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FeatureNotAvailableInVersion2">
<source>Feature '{0}' is not available in C# 2. Please use language version {1} or greater.</source>
<target state="translated">Funkce {0} není dostupná v jazyce C# 2. Použijte prosím jazyk verze {1} nebo vyšší.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FeatureNotAvailableInVersion3">
<source>Feature '{0}' is not available in C# 3. Please use language version {1} or greater.</source>
<target state="translated">Funkce {0} není dostupná v jazyce C# 3. Použijte prosím jazyk verze {1} nebo vyšší.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FeatureNotAvailableInVersion4">
<source>Feature '{0}' is not available in C# 4. Please use language version {1} or greater.</source>
<target state="translated">Funkce {0} není dostupná v jazyce C# 4. Použijte prosím jazyk verze {1} nebo vyšší.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FeatureNotAvailableInVersion5">
<source>Feature '{0}' is not available in C# 5. Please use language version {1} or greater.</source>
<target state="translated">Funkce {0} není dostupná v jazyce C# 5. Použijte prosím jazyk verze {1} nebo vyšší.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FeatureNotAvailableInVersion6">
<source>Feature '{0}' is not available in C# 6. Please use language version {1} or greater.</source>
<target state="translated">Funkce {0} není dostupná v jazyce C# 6. Použijte prosím jazyk verze {1} nebo vyšší.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FeatureNotAvailableInVersion7">
<source>Feature '{0}' is not available in C# 7.0. Please use language version {1} or greater.</source>
<target state="translated">Funkce {0} není dostupná v jazyce C# 7.0. Použijte prosím jazyk verze {1} nebo vyšší.</target>
<note />
</trans-unit>
<trans-unit id="IDS_VersionExperimental">
<source>'experimental'</source>
<target state="translated">'"experimentální"</target>
<note />
</trans-unit>
<trans-unit id="PositionNotWithinTree">
<source>Position must be within span of the syntax tree.</source>
<target state="translated">Pozice musí být v rozpětí stromu syntaxe.</target>
<note />
</trans-unit>
<trans-unit id="SpeculatedSyntaxNodeCannotBelongToCurrentCompilation">
<source>Syntax node to be speculated cannot belong to a syntax tree from the current compilation.</source>
<target state="translated">Uzel syntaxe určený ke spekulaci nemůže patřit do stromu syntaxe z aktuální kompilace.</target>
<note />
</trans-unit>
<trans-unit id="ChainingSpeculativeModelIsNotSupported">
<source>Chaining speculative semantic model is not supported. You should create a speculative model from the non-speculative ParentModel.</source>
<target state="translated">Zřetězení spekulativního sémantického modelu se nepodporuje. Měli byste vytvořit spekulativní model z nespekulativního modelu ParentModel.</target>
<note />
</trans-unit>
<trans-unit id="IDS_ToolName">
<source>Microsoft (R) Visual C# Compiler</source>
<target state="translated">Kompilátor Microsoft (R) Visual C#</target>
<note />
</trans-unit>
<trans-unit id="IDS_LogoLine1">
<source>{0} version {1}</source>
<target state="translated">{0} verze {1}</target>
<note />
</trans-unit>
<trans-unit id="IDS_LogoLine2">
<source>Copyright (C) Microsoft Corporation. All rights reserved.</source>
<target state="translated">Copyright (C) Microsoft Corporation. Všechna práva vyhrazena.</target>
<note />
</trans-unit>
<trans-unit id="IDS_LangVersions">
<source>Supported language versions:</source>
<target state="translated">Podporované jazykové verze:</target>
<note />
</trans-unit>
<trans-unit id="ERR_ComImportWithInitializers">
<source>'{0}': a class with the ComImport attribute cannot specify field initializers.</source>
<target state="translated">{0}: Třída s atributem ComImport nemůže určovat inicializátory polí.</target>
<note />
</trans-unit>
<trans-unit id="WRN_PdbLocalNameTooLong">
<source>Local name '{0}' is too long for PDB. Consider shortening or compiling without /debug.</source>
<target state="translated">Místní název {0} je moc dlouhý pro PDB. Zvažte jeho zkrácení nebo kompilaci bez /debug.</target>
<note />
</trans-unit>
<trans-unit id="WRN_PdbLocalNameTooLong_Title">
<source>Local name is too long for PDB</source>
<target state="translated">Lokální název je moc dlouhý pro PDB.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RetNoObjectRequiredLambda">
<source>Anonymous function converted to a void returning delegate cannot return a value</source>
<target state="translated">Anonymní funkce převedená na void, která vrací delegáta, nemůže vracet hodnotu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TaskRetNoObjectRequiredLambda">
<source>Async lambda expression converted to a 'Task' returning delegate cannot return a value. Did you intend to return 'Task<T>'?</source>
<target state="translated">Asynchronní lambda výraz převedený na Task a vracející delegáta nemůže vrátit hodnotu. Měli jste v úmyslu vrátit Task<T>?</target>
<note />
</trans-unit>
<trans-unit id="WRN_AnalyzerCannotBeCreated">
<source>An instance of analyzer {0} cannot be created from {1} : {2}.</source>
<target state="translated">Instance analyzátoru {0} nejde vytvořit z {1} : {2}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_AnalyzerCannotBeCreated_Title">
<source>An analyzer instance cannot be created</source>
<target state="translated">Nedá se vytvořit instance analyzátoru.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NoAnalyzerInAssembly">
<source>The assembly {0} does not contain any analyzers.</source>
<target state="translated">Sestavení {0} neobsahuje žádné analyzátory.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NoAnalyzerInAssembly_Title">
<source>Assembly does not contain any analyzers</source>
<target state="translated">Sestavení neobsahuje žádné analyzátory.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnableToLoadAnalyzer">
<source>Unable to load Analyzer assembly {0} : {1}</source>
<target state="translated">Nejde načíst sestavení analyzátoru {0} : {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnableToLoadAnalyzer_Title">
<source>Unable to load Analyzer assembly</source>
<target state="translated">Nejde načíst sestavení analyzátoru.</target>
<note />
</trans-unit>
<trans-unit id="INF_UnableToLoadSomeTypesInAnalyzer">
<source>Skipping some types in analyzer assembly {0} due to a ReflectionTypeLoadException : {1}.</source>
<target state="translated">Přeskočí se některé typy v sestavení analyzátoru {0} kvůli výjimce ReflectionTypeLoadException: {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantReadRulesetFile">
<source>Error reading ruleset file {0} - {1}</source>
<target state="translated">Chyba při čtení souboru sady pravidel {0} - {1}</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadPdbData">
<source>Error reading debug information for '{0}'</source>
<target state="translated">Chyba při čtení informací ladění pro {0}</target>
<note />
</trans-unit>
<trans-unit id="IDS_OperationCausedStackOverflow">
<source>Operation caused a stack overflow.</source>
<target state="translated">Operace způsobila přetečení zásobníku.</target>
<note />
</trans-unit>
<trans-unit id="WRN_IdentifierOrNumericLiteralExpected">
<source>Expected identifier or numeric literal.</source>
<target state="translated">Očekával se identifikátor nebo číselný literál.</target>
<note />
</trans-unit>
<trans-unit id="WRN_IdentifierOrNumericLiteralExpected_Title">
<source>Expected identifier or numeric literal</source>
<target state="translated">Očekával se identifikátor nebo číselný literál.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InitializerOnNonAutoProperty">
<source>Only auto-implemented properties can have initializers.</source>
<target state="translated">Jenom automaticky implementované vlastnosti můžou mít inicializátory.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AutoPropertyMustHaveGetAccessor">
<source>Auto-implemented properties must have get accessors.</source>
<target state="translated">Automaticky implementované vlastnosti musí mít přistupující objekty get.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AutoPropertyMustOverrideSet">
<source>Auto-implemented properties must override all accessors of the overridden property.</source>
<target state="translated">Automaticky implementované vlastnosti musí přepsat všechny přistupující objekty přepsané vlastnosti.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InitializerInStructWithoutExplicitConstructor">
<source>Structs without explicit constructors cannot contain members with initializers.</source>
<target state="translated">Struktury bez explicitních konstruktorů nemůžou obsahovat členy s inicializátory.</target>
<note />
</trans-unit>
<trans-unit id="ERR_EncodinglessSyntaxTree">
<source>Cannot emit debug information for a source text without encoding.</source>
<target state="translated">Nejde vygenerovat ladicí informace pro zdrojový text bez kódování.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BlockBodyAndExpressionBody">
<source>Block bodies and expression bodies cannot both be provided.</source>
<target state="translated">Nejde zadat těla bloků i těla výrazů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SwitchFallOut">
<source>Control cannot fall out of switch from final case label ('{0}')</source>
<target state="translated">Řízení nemůže opustit příkaz switch z posledního příkazu case ('{0}')</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnexpectedBoundGenericName">
<source>Type arguments are not allowed in the nameof operator.</source>
<target state="translated">Argumenty typů nejsou v operátoru nameof povoleny.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NullPropagatingOpInExpressionTree">
<source>An expression tree lambda may not contain a null propagating operator.</source>
<target state="translated">Strom výrazu lambda nesmí obsahovat operátor šířící null.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DictionaryInitializerInExpressionTree">
<source>An expression tree lambda may not contain a dictionary initializer.</source>
<target state="translated">Strom výrazu lambda nesmí obsahovat inicializátor slovníku.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExtensionCollectionElementInitializerInExpressionTree">
<source>An extension Add method is not supported for a collection initializer in an expression lambda.</source>
<target state="translated">Rozšiřující metoda Add není pro inicializátor kolekce v lambda výrazu podporovaná.</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureNameof">
<source>nameof operator</source>
<target state="translated">operátor nameof</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureDictionaryInitializer">
<source>dictionary initializer</source>
<target state="translated">inicializátor slovníku</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnclosedExpressionHole">
<source>Missing close delimiter '}' for interpolated expression started with '{'.</source>
<target state="translated">Chybí uzavírací oddělovač } pro interpolovaný výraz začínající na {.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SingleLineCommentInExpressionHole">
<source>A single-line comment may not be used in an interpolated string.</source>
<target state="translated">V interpolovaném řetězci se nemůže používat jednořádkový komentář.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InsufficientStack">
<source>An expression is too long or complex to compile</source>
<target state="translated">Výraz je pro zkompilování moc dlouhý nebo složitý.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionHasNoName">
<source>Expression does not have a name.</source>
<target state="translated">Výraz není pojmenovaný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SubexpressionNotInNameof">
<source>Sub-expression cannot be used in an argument to nameof.</source>
<target state="translated">Dílčí výraz se jako argument nameof nedá použít.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AliasQualifiedNameNotAnExpression">
<source>An alias-qualified name is not an expression.</source>
<target state="translated">Název kvalifikovaný pomocí aliasu není výraz.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NameofMethodGroupWithTypeParameters">
<source>Type parameters are not allowed on a method group as an argument to 'nameof'.</source>
<target state="translated">Parametry typu se u skupiny metod nedají použít jako argument nameof.</target>
<note />
</trans-unit>
<trans-unit id="NoNoneSearchCriteria">
<source>SearchCriteria is expected.</source>
<target state="translated">Očekává se třída SearchCriteria.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidAssemblyCulture">
<source>Assembly culture strings may not contain embedded NUL characters.</source>
<target state="translated">Řetězce jazykové verze sestavení nesmí obsahovat vložené znaky NUL.</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureUsingStatic">
<source>using static</source>
<target state="translated">using static</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureInterpolatedStrings">
<source>interpolated strings</source>
<target state="translated">interpolované řetězce</target>
<note />
</trans-unit>
<trans-unit id="IDS_AwaitInCatchAndFinally">
<source>await in catch blocks and finally blocks</source>
<target state="translated">očekávat v blocích catch a blocích finally</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureBinaryLiteral">
<source>binary literals</source>
<target state="translated">binární literály</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureDigitSeparator">
<source>digit separators</source>
<target state="translated">oddělovače číslic</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureLocalFunctions">
<source>local functions</source>
<target state="translated">místní funkce</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnescapedCurly">
<source>A '{0}' character must be escaped (by doubling) in an interpolated string.</source>
<target state="translated">Znak {0} musí být v interpolovaném řetězci uvozený (zdvojeným znakem).</target>
<note />
</trans-unit>
<trans-unit id="ERR_EscapedCurly">
<source>A '{0}' character may only be escaped by doubling '{0}{0}' in an interpolated string.</source>
<target state="translated">V interpolovaném řetězci může být znak {0} uvozený jenom zdvojeným znakem ({0}{0}).</target>
<note />
</trans-unit>
<trans-unit id="ERR_TrailingWhitespaceInFormatSpecifier">
<source>A format specifier may not contain trailing whitespace.</source>
<target state="translated">Specifikátor formátu nesmí na konci obsahovat mezeru.</target>
<note />
</trans-unit>
<trans-unit id="ERR_EmptyFormatSpecifier">
<source>Empty format specifier.</source>
<target state="translated">Prázdný specifikátor formátu</target>
<note />
</trans-unit>
<trans-unit id="ERR_ErrorInReferencedAssembly">
<source>There is an error in a referenced assembly '{0}'.</source>
<target state="translated">V odkazovaném sestavení {0} je chyba.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionOrDeclarationExpected">
<source>Expression or declaration statement expected.</source>
<target state="translated">Očekával se příkaz s výrazem nebo deklarací.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NameofExtensionMethod">
<source>Extension method groups are not allowed as an argument to 'nameof'.</source>
<target state="translated">Skupiny metod rozšíření nejsou povolené jako argument pro nameof.</target>
<note />
</trans-unit>
<trans-unit id="WRN_AlignmentMagnitude">
<source>Alignment value {0} has a magnitude greater than {1} and may result in a large formatted string.</source>
<target state="translated">Hodnota zarovnání {0} má velikost větší než {1} a jejím výsledkem může být velký formátovaný řetězec.</target>
<note />
</trans-unit>
<trans-unit id="HDN_UnusedExternAlias_Title">
<source>Unused extern alias</source>
<target state="translated">Nepoužívaný externí alias</target>
<note />
</trans-unit>
<trans-unit id="HDN_UnusedUsingDirective_Title">
<source>Unnecessary using directive</source>
<target state="translated">Nepotřebná direktiva using</target>
<note />
</trans-unit>
<trans-unit id="INF_UnableToLoadSomeTypesInAnalyzer_Title">
<source>Skip loading types in analyzer assembly that fail due to a ReflectionTypeLoadException</source>
<target state="translated">Přeskočí načtení typů v sestavení analyzátoru, které selžou kvůli výjimce ReflectionTypeLoadException.</target>
<note />
</trans-unit>
<trans-unit id="WRN_AlignmentMagnitude_Title">
<source>Alignment value has a magnitude that may result in a large formatted string</source>
<target state="translated">Hodnota zarovnání má velikost, jejímž výsledkem může být velký formátovaný řetězec.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConstantStringTooLong">
<source>Length of String constant resulting from concatenation exceeds System.Int32.MaxValue. Try splitting the string into multiple constants.</source>
<target state="translated">Délka konstanty String, která je výsledkem zřetězení, překračuje hodnotu System.Int32.MaxValue. Zkuste rozdělit řetězec na více konstant.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TupleTooFewElements">
<source>Tuple must contain at least two elements.</source>
<target state="translated">Řazená kolekce členů musí obsahovat minimálně dva elementy.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DebugEntryPointNotSourceMethodDefinition">
<source>Debug entry point must be a definition of a method declared in the current compilation.</source>
<target state="translated">Vstupní bod ladění musí být definicí metody deklarované v aktuální kompilaci.</target>
<note />
</trans-unit>
<trans-unit id="ERR_LoadDirectiveOnlyAllowedInScripts">
<source>#load is only allowed in scripts</source>
<target state="translated">#load se povoluje jenom ve skriptech</target>
<note />
</trans-unit>
<trans-unit id="ERR_PPLoadFollowsToken">
<source>Cannot use #load after first token in file</source>
<target state="translated">Za prvním tokenem v souboru se nedá použít #load.</target>
<note />
</trans-unit>
<trans-unit id="CouldNotFindFile">
<source>Could not find file.</source>
<target state="translated">Nepovedlo se najít soubor.</target>
<note>File path referenced in source (#load) could not be resolved.</note>
</trans-unit>
<trans-unit id="SyntaxTreeFromLoadNoRemoveReplace">
<source>SyntaxTree resulted from a #load directive and cannot be removed or replaced directly.</source>
<target state="translated">SyntaxTree je výsledkem direktivy #load a nedá se odebrat nebo nahradit přímo.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SourceFileReferencesNotSupported">
<source>Source file references are not supported.</source>
<target state="translated">Odkazy na zdrojový soubor se nepodporují.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidPathMap">
<source>The pathmap option was incorrectly formatted.</source>
<target state="translated">Možnost pathmap nebyla správně naformátovaná.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidReal">
<source>Invalid real literal.</source>
<target state="translated">Neplatný literál real</target>
<note />
</trans-unit>
<trans-unit id="ERR_AutoPropertyCannotBeRefReturning">
<source>Auto-implemented properties cannot return by reference</source>
<target state="translated">Automaticky implementované vlastnosti nejde vrátit pomocí odkazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefPropertyMustHaveGetAccessor">
<source>Properties which return by reference must have a get accessor</source>
<target state="translated">Vlastnosti, které vracejí pomocí odkazu, musí mít přístupový objekt get.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefPropertyCannotHaveSetAccessor">
<source>Properties which return by reference cannot have set accessors</source>
<target state="translated">Vlastnosti, které vracejí pomocí odkazu, nemůžou mít přístupové objekty set.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantChangeRefReturnOnOverride">
<source>'{0}' must match by reference return of overridden member '{1}'</source>
<target state="translated">{0} musí odpovídat návratu pomocí odkazu přepsaného člena {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MustNotHaveRefReturn">
<source>By-reference returns may only be used in methods that return by reference</source>
<target state="translated">Vrácení podle odkazu se dají používat jenom v metodách, které vracejí pomocí odkazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MustHaveRefReturn">
<source>By-value returns may only be used in methods that return by value</source>
<target state="translated">Vrácení podle hodnoty se dají používat jenom v metodách, které vracejí podle hodnoty.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturnMustHaveIdentityConversion">
<source>The return expression must be of type '{0}' because this method returns by reference</source>
<target state="translated">Návratový výraz musí být typu {0}, protože tato metoda vrací pomocí odkazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CloseUnimplementedInterfaceMemberWrongRefReturn">
<source>'{0}' does not implement interface member '{1}'. '{2}' cannot implement '{1}' because it does not have matching return by reference.</source>
<target state="translated">{0} neimplementuje člena rozhraní {1}. {2} nemůže implementovat {1}, protože nemá odpovídající návrat pomocí odkazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadIteratorReturnRef">
<source>The body of '{0}' cannot be an iterator block because '{0}' returns by reference</source>
<target state="translated">Hlavní část objektu {0} nemůže představovat blok iterátoru, protože {0} se vrací pomocí odkazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadRefReturnExpressionTree">
<source>Lambda expressions that return by reference cannot be converted to expression trees</source>
<target state="translated">Výrazy lambda, které se vrací pomocí odkazu, nejde převést na stromy výrazů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturningCallInExpressionTree">
<source>An expression tree lambda may not contain a call to a method, property, or indexer that returns by reference</source>
<target state="translated">Lambda stromu výrazů nesmí obsahovat volání do metody, vlastnosti nebo indexeru, které vrací pomocí odkazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturnLvalueExpected">
<source>An expression cannot be used in this context because it may not be passed or returned by reference</source>
<target state="translated">Výraz nelze v tomto kontextu použít, protože nesmí být předaný nebo vrácený pomocí odkazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturnNonreturnableLocal">
<source>Cannot return '{0}' by reference because it was initialized to a value that cannot be returned by reference</source>
<target state="translated">{0} nejde vrátit pomocí odkazu, protože bylo inicializované na hodnotu, která nemůže být vrácená pomocí odkazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturnNonreturnableLocal2">
<source>Cannot return by reference a member of '{0}' because it was initialized to a value that cannot be returned by reference</source>
<target state="translated">Člen pro {0} nejde vrátit pomocí odkazu, protože bylo inicializované na hodnotu, která nemůže být vrácená pomocí odkazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturnReadonlyLocal">
<source>Cannot return '{0}' by reference because it is read-only</source>
<target state="translated">{0} nejde vrátit pomocí odkazu, protože je to hodnota jen pro čtení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturnRangeVariable">
<source>Cannot return the range variable '{0}' by reference</source>
<target state="translated">Proměnnou rozsahu {0} nejde vrátit pomocí odkazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturnReadonlyLocalCause">
<source>Cannot return '{0}' by reference because it is a '{1}'</source>
<target state="translated">{0} nejde vrátit pomocí odkazu, protože je to {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturnReadonlyLocal2Cause">
<source>Cannot return fields of '{0}' by reference because it is a '{1}'</source>
<target state="translated">Pole elementu {0} nejde vrátit pomocí odkazu, protože je to {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturnReadonly">
<source>A readonly field cannot be returned by writable reference</source>
<target state="translated">Pole jen pro čtení nejde vrátit zapisovatelným odkazem.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturnReadonlyStatic">
<source>A static readonly field cannot be returned by writable reference</source>
<target state="translated">Statické pole jen pro čtení nejde vrátit zapisovatelným odkazem.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturnReadonly2">
<source>Members of readonly field '{0}' cannot be returned by writable reference</source>
<target state="translated">Členy pole jen pro čtení {0} nejde vrátit zapisovatelným odkazem.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturnReadonlyStatic2">
<source>Fields of static readonly field '{0}' cannot be returned by writable reference</source>
<target state="translated">Pole statického pole jen pro čtení {0} nejdou vrátit zapisovatelným odkazem.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturnParameter">
<source>Cannot return a parameter by reference '{0}' because it is not a ref or out parameter</source>
<target state="translated">Parametr nejde vrátit pomocí odkazu {0}, protože nejde o parametr Ref nebo Out.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturnParameter2">
<source>Cannot return by reference a member of parameter '{0}' because it is not a ref or out parameter</source>
<target state="translated">Člen parametru {0} nejde vrátit pomocí odkazu, protože nejde o parametr ref nebo out.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturnLocal">
<source>Cannot return local '{0}' by reference because it is not a ref local</source>
<target state="translated">Lokální proměnnou {0} nejde vrátit pomocí odkazu, protože nejde o lokální proměnnou podle odkazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturnLocal2">
<source>Cannot return a member of local '{0}' by reference because it is not a ref local</source>
<target state="translated">Člen lokální proměnné {0} nejde vrátit pomocí odkazu, protože nejde o lokální proměnnou podle odkazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturnStructThis">
<source>Struct members cannot return 'this' or other instance members by reference</source>
<target state="translated">Členy struktury nemůžou vracet this nebo jiné členy instance pomocí odkazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_EscapeOther">
<source>Expression cannot be used in this context because it may indirectly expose variables outside of their declaration scope</source>
<target state="translated">V tomto kontextu nejde výraz použít, protože může nepřímo vystavit proměnné mimo jejich rozsah deklarace.</target>
<note />
</trans-unit>
<trans-unit id="ERR_EscapeLocal">
<source>Cannot use local '{0}' in this context because it may expose referenced variables outside of their declaration scope</source>
<target state="translated">V tomto kontextu nejde použít místní {0}, protože může vystavit odkazované proměnné mimo jejich rozsah deklarace.</target>
<note />
</trans-unit>
<trans-unit id="ERR_EscapeCall">
<source>Cannot use a result of '{0}' in this context because it may expose variables referenced by parameter '{1}' outside of their declaration scope</source>
<target state="translated">V tomto kontextu nejde použít výsledek z {0}, protože může vystavit proměnné, na které odkazuje parametr {1}, mimo jejich rozsah deklarace.</target>
<note />
</trans-unit>
<trans-unit id="ERR_EscapeCall2">
<source>Cannot use a member of result of '{0}' in this context because it may expose variables referenced by parameter '{1}' outside of their declaration scope</source>
<target state="translated">V tomto kontextu nejde použít člena výsledku z {0}, protože může vystavit proměnné, na které odkazuje parametr {1}, mimo jejich rozsah deklarace.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CallArgMixing">
<source>This combination of arguments to '{0}' is disallowed because it may expose variables referenced by parameter '{1}' outside of their declaration scope</source>
<target state="translated">Tato kombinace argumentů pro {0} je zakázaná, protože může vystavit proměnné, na které odkazuje parametr {1}, mimo jejich rozsah deklarace.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MismatchedRefEscapeInTernary">
<source>Branches of a ref conditional operator cannot refer to variables with incompatible declaration scopes</source>
<target state="translated">Větve podmíněného operátoru REF nemůžou odkazovat na proměnné s nekompatibilními obory deklarace.</target>
<note />
</trans-unit>
<trans-unit id="ERR_EscapeStackAlloc">
<source>A result of a stackalloc expression of type '{0}' cannot be used in this context because it may be exposed outside of the containing method</source>
<target state="translated">Výsledek výrazu stackalloc typu {0} nejde v tomto kontextu použít, protože může být vystavený mimo obsahující metodu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InitializeByValueVariableWithReference">
<source>Cannot initialize a by-value variable with a reference</source>
<target state="translated">Proměnnou podle hodnoty nejde inicializovat odkazem.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InitializeByReferenceVariableWithValue">
<source>Cannot initialize a by-reference variable with a value</source>
<target state="translated">Proměnnou podle odkazu nejde inicializovat hodnotou.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefAssignmentMustHaveIdentityConversion">
<source>The expression must be of type '{0}' because it is being assigned by reference</source>
<target state="translated">Výraz musí být typu {0}, protože se přiřazuje pomocí odkazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ByReferenceVariableMustBeInitialized">
<source>A declaration of a by-reference variable must have an initializer</source>
<target state="translated">Deklarace proměnné podle odkazu musí mít inicializátor.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AnonDelegateCantUseLocal">
<source>Cannot use ref local '{0}' inside an anonymous method, lambda expression, or query expression</source>
<target state="translated">Místní hodnotu odkazu {0} nejde použít uvnitř anonymní metody, výrazu lambda nebo výrazu dotazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadIteratorLocalType">
<source>Iterators cannot have by-reference locals</source>
<target state="translated">Iterátory nemůžou mít lokální proměnné podle odkazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAsyncLocalType">
<source>Async methods cannot have by-reference locals</source>
<target state="translated">Asynchronní metody nemůžou mít lokální proměnné podle odkazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturningCallAndAwait">
<source>'await' cannot be used in an expression containing a call to '{0}' because it returns by reference</source>
<target state="translated">'Argument await nejde použít ve výrazu obsahujícím volání do {0}, protože se vrací pomocí odkazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefConditionalAndAwait">
<source>'await' cannot be used in an expression containing a ref conditional operator</source>
<target state="translated">'Await nejde použít ve výrazu, který obsahuje podmíněný operátor REF.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefConditionalNeedsTwoRefs">
<source>Both conditional operator values must be ref values or neither may be a ref value</source>
<target state="translated">Obě hodnoty podmíněného operátoru musí být hodnoty ref nebo ani jedna z nich nesmí být hodnota ref.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefConditionalDifferentTypes">
<source>The expression must be of type '{0}' to match the alternative ref value</source>
<target state="translated">Výraz musí být typu {0}, aby odpovídal alternativní hodnotě ref.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsLocalFunction">
<source>An expression tree may not contain a reference to a local function</source>
<target state="translated">Strom výrazů nesmí obsahovat odkaz na místní funkci.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DynamicLocalFunctionParamsParameter">
<source>Cannot pass argument with dynamic type to params parameter '{0}' of local function '{1}'.</source>
<target state="translated">Nejde předat argument dynamického typu s parametrem params {0} místní funkce {1}.</target>
<note />
</trans-unit>
<trans-unit id="SyntaxTreeIsNotASubmission">
<source>Syntax tree should be created from a submission.</source>
<target state="translated">Strom syntaxe by se měl vytvořit z odeslání.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TooManyUserStrings">
<source>Combined length of user strings used by the program exceeds allowed limit. Try to decrease use of string literals.</source>
<target state="translated">Kombinovaná délka uživatelských řetězců, které používá tento program, překročila povolený limit. Zkuste omezit použití řetězcových literálů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PatternNullableType">
<source>It is not legal to use nullable type '{0}?' in a pattern; use the underlying type '{0}' instead.</source>
<target state="translated">Ve vzoru se nepovoluje použití typu s možnou hodnotou null {0}?. Místo toho použijte základní typ {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PeWritingFailure">
<source>An error occurred while writing the output file: {0}.</source>
<target state="translated">Při zápisu výstupního souboru došlo k chybě: {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TupleDuplicateElementName">
<source>Tuple element names must be unique.</source>
<target state="translated">Názvy elementů řazené kolekce členů musí být jedinečné.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TupleReservedElementName">
<source>Tuple element name '{0}' is only allowed at position {1}.</source>
<target state="translated">Název elementu řazené kolekce členů {0} je povolený jenom v pozici {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TupleReservedElementNameAnyPosition">
<source>Tuple element name '{0}' is disallowed at any position.</source>
<target state="translated">Název elementu řazené kolekce členů {0} je zakázaný v jakékoliv pozici.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PredefinedTypeMemberNotFoundInAssembly">
<source>Member '{0}' was not found on type '{1}' from assembly '{2}'.</source>
<target state="translated">Nenašel se člen {0} v typu {1} ze sestavení {2}.</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureTuples">
<source>tuples</source>
<target state="translated">řazené kolekce členů</target>
<note />
</trans-unit>
<trans-unit id="ERR_MissingDeconstruct">
<source>No suitable 'Deconstruct' instance or extension method was found for type '{0}', with {1} out parameters and a void return type.</source>
<target state="translated">Pro typ {0} s výstupními parametry ({1}) a návratovým typem void se nenašla žádná vhodná instance Deconstruct nebo rozšiřující metoda.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DeconstructRequiresExpression">
<source>Deconstruct assignment requires an expression with a type on the right-hand-side.</source>
<target state="translated">Dekonstrukční přiřazení vyžaduje výraz s typem na pravé straně.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SwitchExpressionValueExpected">
<source>The switch expression must be a value; found '{0}'.</source>
<target state="translated">Výraz switch musí být hodnota. Bylo nalezeno: {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PatternWrongType">
<source>An expression of type '{0}' cannot be handled by a pattern of type '{1}'.</source>
<target state="translated">Výraz typu {0} nelze zpracovat vzorem typu {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_AttributeIgnoredWhenPublicSigning">
<source>Attribute '{0}' is ignored when public signing is specified.</source>
<target state="translated">Atribut {0} se ignoruje, když je zadané veřejné podepisování.</target>
<note />
</trans-unit>
<trans-unit id="WRN_AttributeIgnoredWhenPublicSigning_Title">
<source>Attribute is ignored when public signing is specified.</source>
<target state="translated">Atribut se ignoruje, když je zadané veřejné podepisování.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OptionMustBeAbsolutePath">
<source>Option '{0}' must be an absolute path.</source>
<target state="translated">Možnost {0} musí být absolutní cesta.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConversionNotTupleCompatible">
<source>Tuple with {0} elements cannot be converted to type '{1}'.</source>
<target state="translated">Řazená kolekce členů s {0} elementy se nedá převést na typ {1}.</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureOutVar">
<source>out variable declaration</source>
<target state="translated">deklarace externí proměnné</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImplicitlyTypedOutVariableUsedInTheSameArgumentList">
<source>Reference to an implicitly-typed out variable '{0}' is not permitted in the same argument list.</source>
<target state="translated">Odkaz na implicitně typovanou externí proměnnou {0} není povolený ve stejném seznamu argumentů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TypeInferenceFailedForImplicitlyTypedOutVariable">
<source>Cannot infer the type of implicitly-typed out variable '{0}'.</source>
<target state="translated">Nejde odvodit typ implicitně typované externí proměnné {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable">
<source>Cannot infer the type of implicitly-typed deconstruction variable '{0}'.</source>
<target state="translated">Nejde odvodit typ dekonstrukční proměnné {0} s implicitním typem.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DiscardTypeInferenceFailed">
<source>Cannot infer the type of implicitly-typed discard.</source>
<target state="translated">Nejde odvodit typ zahození s implicitním typem.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DeconstructWrongCardinality">
<source>Cannot deconstruct a tuple of '{0}' elements into '{1}' variables.</source>
<target state="translated">Řazenou kolekci členů s {0} prvky nejde dekonstruovat na proměnné {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CannotDeconstructDynamic">
<source>Cannot deconstruct dynamic objects.</source>
<target state="translated">Dynamické objekty nejde dekonstruovat.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DeconstructTooFewElements">
<source>Deconstruction must contain at least two variables.</source>
<target state="translated">Dekonstrukce musí obsahovat aspoň dvě proměnné.</target>
<note />
</trans-unit>
<trans-unit id="WRN_TupleLiteralNameMismatch">
<source>The tuple element name '{0}' is ignored because a different name or no name is specified by the target type '{1}'.</source>
<target state="translated">Název elementu řazené kolekce členů {0} se ignoruje, protože cílovým typem {1} je určený jiný nebo žádný název.</target>
<note />
</trans-unit>
<trans-unit id="WRN_TupleLiteralNameMismatch_Title">
<source>The tuple element name is ignored because a different name or no name is specified by the assignment target.</source>
<target state="translated">Název elementu řazené kolekce členů se ignoruje, protože cílem přiřazení je určený jiný nebo žádný název.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PredefinedValueTupleTypeMustBeStruct">
<source>Predefined type '{0}' must be a struct.</source>
<target state="translated">Předdefinovaný typ {0} musí být struktura.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NewWithTupleTypeSyntax">
<source>'new' cannot be used with tuple type. Use a tuple literal expression instead.</source>
<target state="translated">'new není možné použít s typem řazené kolekce členů. Použijte raději literálový výraz řazené kolekce členů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DeconstructionVarFormDisallowsSpecificType">
<source>Deconstruction 'var (...)' form disallows a specific type for 'var'.</source>
<target state="translated">Forma dekonstrukce var (...) neumožňuje použít pro var konkrétní typ.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TupleElementNamesAttributeMissing">
<source>Cannot define a class or member that utilizes tuples because the compiler required type '{0}' cannot be found. Are you missing a reference?</source>
<target state="translated">Nejde definovat třídu nebo člen, který používá řazenou kolekci členů, protože se nenašel kompilátor požadovaný typem {0}. Chybí vám odkaz?</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExplicitTupleElementNamesAttribute">
<source>Cannot reference 'System.Runtime.CompilerServices.TupleElementNamesAttribute' explicitly. Use the tuple syntax to define tuple names.</source>
<target state="translated">System.Runtime.CompilerServices.TupleElementNamesAttribute nejde odkazovat explicitně. K definici názvů řazené kolekce členů použijte její syntaxi.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsOutVariable">
<source>An expression tree may not contain an out argument variable declaration.</source>
<target state="translated">Strom výrazů nesmí obsahovat deklaraci proměnné argumentu out.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsDiscard">
<source>An expression tree may not contain a discard.</source>
<target state="translated">Strom výrazů nesmí obsahovat zahození.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsIsMatch">
<source>An expression tree may not contain an 'is' pattern-matching operator.</source>
<target state="translated">Strom výrazů nesmí obsahovat operátor odpovídající vzoru is.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsTupleLiteral">
<source>An expression tree may not contain a tuple literal.</source>
<target state="translated">Strom výrazů nesmí obsahovat literál řazené kolekce členů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsTupleConversion">
<source>An expression tree may not contain a tuple conversion.</source>
<target state="translated">Strom výrazů nesmí obsahovat převod řazené kolekce členů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SourceLinkRequiresPdb">
<source>/sourcelink switch is only supported when emitting PDB.</source>
<target state="translated">Přepínač /sourcelink je podporovaný jen při vydávání PDB.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CannotEmbedWithoutPdb">
<source>/embed switch is only supported when emitting a PDB.</source>
<target state="translated">Přepínač /embed je podporovaný jen při vydávání souboru PDB.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidInstrumentationKind">
<source>Invalid instrumentation kind: {0}</source>
<target state="translated">Neplatný typ instrumentace: {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_VarInvocationLvalueReserved">
<source>The syntax 'var (...)' as an lvalue is reserved.</source>
<target state="translated">Syntaxe 'var (...)' jako l-hodnota je vyhrazená.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SemiOrLBraceOrArrowExpected">
<source>{ or ; or => expected</source>
<target state="translated">Očekávaly se znaky { nebo ; nebo =>.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ThrowMisplaced">
<source>A throw expression is not allowed in this context.</source>
<target state="translated">Výraz throw není v tomto kontextu povolený.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DeclarationExpressionNotPermitted">
<source>A declaration is not allowed in this context.</source>
<target state="translated">Deklarace není v tomto kontextu povolená.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MustDeclareForeachIteration">
<source>A foreach loop must declare its iteration variables.</source>
<target state="translated">Smyčka foreach musí deklarovat své proměnné iterace.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TupleElementNamesInDeconstruction">
<source>Tuple element names are not permitted on the left of a deconstruction.</source>
<target state="translated">Na levé straně dekonstrukce nejsou povolené názvy prvků řazené kolekce členů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PossibleBadNegCast">
<source>To cast a negative value, you must enclose the value in parentheses.</source>
<target state="translated">Pokud se má přetypovat záporná hodnota, musí být uzavřená v závorkách.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsThrowExpression">
<source>An expression tree may not contain a throw-expression.</source>
<target state="translated">Strom výrazů nesmí obsahovat výraz throw.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAssemblyName">
<source>Invalid assembly name: {0}</source>
<target state="translated">Neplatný název sestavení: {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAsyncMethodBuilderTaskProperty">
<source>For type '{0}' to be used as an AsyncMethodBuilder for type '{1}', its Task property should return type '{1}' instead of type '{2}'.</source>
<target state="translated">Aby se typ {0} mohl použít jako AsyncMethodBuilder pro typ {1}, měla by jeho vlastnost Task vracet typ {1} místo typu {2}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TypeForwardedToMultipleAssemblies">
<source>Module '{0}' in assembly '{1}' is forwarding the type '{2}' to multiple assemblies: '{3}' and '{4}'.</source>
<target state="translated">Modul {0} v sestavení {1} předává typ {2} několika sestavením: {3} a {4}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PatternDynamicType">
<source>It is not legal to use the type 'dynamic' in a pattern.</source>
<target state="translated">Není povoleno použít typ dynamic ve vzorku.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadDocumentationMode">
<source>Provided documentation mode is unsupported or invalid: '{0}'.</source>
<target state="translated">Zadaný režim dokumentace je nepodporovaný nebo neplatný: {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadSourceCodeKind">
<source>Provided source code kind is unsupported or invalid: '{0}'</source>
<target state="translated">Zadaný druh zdrojového kódu je nepodporovaný nebo neplatný: {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadLanguageVersion">
<source>Provided language version is unsupported or invalid: '{0}'.</source>
<target state="translated">Zadaná verze jazyka je nepodporovaná nebo neplatná: {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidPreprocessingSymbol">
<source>Invalid name for a preprocessing symbol; '{0}' is not a valid identifier</source>
<target state="translated">Neplatný název pro symbol předzpracování; {0} není platný identifikátor.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FeatureNotAvailableInVersion7_1">
<source>Feature '{0}' is not available in C# 7.1. Please use language version {1} or greater.</source>
<target state="translated">Funkce {0} není dostupná v jazyce C# 7.1. Použijte prosím jazyk verze {1} nebo vyšší.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FeatureNotAvailableInVersion7_2">
<source>Feature '{0}' is not available in C# 7.2. Please use language version {1} or greater.</source>
<target state="translated">Funkce {0} není dostupná v jazyce C# 7.2. Použijte prosím jazyk verze {1} nebo vyšší.</target>
<note />
</trans-unit>
<trans-unit id="ERR_LanguageVersionCannotHaveLeadingZeroes">
<source>Specified language version '{0}' cannot have leading zeroes</source>
<target state="translated">Zadaná verze jazyka {0} nemůže obsahovat úvodní nuly.</target>
<note />
</trans-unit>
<trans-unit id="ERR_VoidAssignment">
<source>A value of type 'void' may not be assigned.</source>
<target state="translated">Hodnota typu void se nesmí přiřazovat.</target>
<note />
</trans-unit>
<trans-unit id="WRN_Experimental">
<source>'{0}' is for evaluation purposes only and is subject to change or removal in future updates.</source>
<target state="translated">{0} slouží jen pro účely vyhodnocení a v budoucích aktualizacích může dojít ke změně nebo odebrání.</target>
<note />
</trans-unit>
<trans-unit id="WRN_Experimental_Title">
<source>Type is for evaluation purposes only and is subject to change or removal in future updates.</source>
<target state="translated">Typ slouží jen pro účely vyhodnocení a v budoucích aktualizacích může dojít ke změnám nebo odebrání.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CompilerAndLanguageVersion">
<source>Compiler version: '{0}'. Language version: {1}.</source>
<target state="translated">Verze kompilátoru: {0}. Jazyková verze: {1}</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureAsyncMain">
<source>async main</source>
<target state="translated">Asynchronní funkce main</target>
<note />
</trans-unit>
<trans-unit id="ERR_TupleInferredNamesNotAvailable">
<source>Tuple element name '{0}' is inferred. Please use language version {1} or greater to access an element by its inferred name.</source>
<target state="translated">Název elementu řazené kolekce členů {0} je odvozený. Pokud k elementu chcete získat přístup pomocí jeho odvozeného názvu, použijte prosím jazyk verze {1} nebo vyšší.</target>
<note />
</trans-unit>
<trans-unit id="ERR_VoidInTuple">
<source>A tuple may not contain a value of type 'void'.</source>
<target state="translated">Řazená kolekce členů nemůže obsahovat hodnotu typu void.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NonTaskMainCantBeAsync">
<source>A void or int returning entry point cannot be async</source>
<target state="translated">Vstupní bod, který vrací void nebo int, nemůže být asynchronní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PatternWrongGenericTypeInVersion">
<source>An expression of type '{0}' cannot be handled by a pattern of type '{1}' in C# {2}. Please use language version {3} or greater.</source>
<target state="translated">V C# {2} nelze výraz typu {0} zpracovat vzorem typu {1}. Použijte prosím jazyk verze {3} nebo vyšší.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnreferencedLocalFunction">
<source>The local function '{0}' is declared but never used</source>
<target state="translated">Lokální funkce {0} je deklarovaná, ale vůbec se nepoužívá.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnreferencedLocalFunction_Title">
<source>Local function is declared but never used</source>
<target state="translated">Lokální funkce je deklarovaná, ale vůbec se nepoužívá.</target>
<note />
</trans-unit>
<trans-unit id="ERR_LocalFunctionMissingBody">
<source>Local function '{0}' must declare a body because it is not marked 'static extern'.</source>
<target state="translated">Místní funkce {0} musí deklarovat tělo, protože není označená jako static extern.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidDebugInfo">
<source>Unable to read debug information of method '{0}' (token 0x{1:X8}) from assembly '{2}'</source>
<target state="translated">Informace o ladění metody {0} (token 0x{1:X8}) ze sestavení {2} nelze přečíst.</target>
<note />
</trans-unit>
<trans-unit id="IConversionExpressionIsNotCSharpConversion">
<source>{0} is not a valid C# conversion expression</source>
<target state="translated">Výraz {0} není platným výrazem převodu C#.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DynamicLocalFunctionTypeParameter">
<source>Cannot pass argument with dynamic type to generic local function '{0}' with inferred type arguments.</source>
<target state="translated">Obecné lokální funkci {0} s odvozenými argumenty typu nelze předat argument s dynamickým typem.</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureLeadingDigitSeparator">
<source>leading digit separator</source>
<target state="translated">oddělovač úvodní číslice</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExplicitReservedAttr">
<source>Do not use '{0}'. This is reserved for compiler usage.</source>
<target state="translated">Nepoužívejte {0}. Je vyhrazený pro použití v kompilátoru.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TypeReserved">
<source>The type name '{0}' is reserved to be used by the compiler.</source>
<target state="translated">Název typu {0} je vyhrazený pro použití kompilátorem.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InExtensionMustBeValueType">
<source>The first parameter of the 'in' extension method '{0}' must be a concrete (non-generic) value type.</source>
<target state="translated">Prvním parametrem metody rozšíření in {0} musí být konkrétní (neobecný) typ hodnoty.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FieldsInRoStruct">
<source>Instance fields of readonly structs must be readonly.</source>
<target state="translated">Pole instancí struktur jen pro čtení musí být jen pro čtení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AutoPropsInRoStruct">
<source>Auto-implemented instance properties in readonly structs must be readonly.</source>
<target state="translated">Vlastnosti automaticky implementované instance ve strukturách jen pro čtení musí být jen pro čtení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FieldlikeEventsInRoStruct">
<source>Field-like events are not allowed in readonly structs.</source>
<target state="translated">Události podobné poli nejsou povolené ve strukturách jen pro čtení.</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureRefExtensionMethods">
<source>ref extension methods</source>
<target state="translated">rozšiřující metody REF</target>
<note />
</trans-unit>
<trans-unit id="ERR_StackAllocConversionNotPossible">
<source>Conversion of a stackalloc expression of type '{0}' to type '{1}' is not possible.</source>
<target state="translated">Převod výrazu stackalloc typu {0} na typ {1} není možný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefExtensionMustBeValueTypeOrConstrainedToOne">
<source>The first parameter of a 'ref' extension method '{0}' must be a value type or a generic type constrained to struct.</source>
<target state="translated">První parametr rozšiřující metody ref {0} musí být typem hodnoty nebo obecným typem omezeným na strukturu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OutAttrOnInParam">
<source>An in parameter cannot have the Out attribute.</source>
<target state="translated">Parametr in nemůže obsahovat atribut Out.</target>
<note />
</trans-unit>
<trans-unit id="ICompoundAssignmentOperationIsNotCSharpCompoundAssignment">
<source>{0} is not a valid C# compound assignment operation</source>
<target state="translated">{0} není platná operace složeného přiřazení jazyka C#.</target>
<note />
</trans-unit>
<trans-unit id="WRN_FilterIsConstantFalse">
<source>Filter expression is a constant 'false', consider removing the catch clause</source>
<target state="translated">Výraz filtru je konstantní hodnota false. Zvažte odebrání klauzule catch.</target>
<note />
</trans-unit>
<trans-unit id="WRN_FilterIsConstantFalse_Title">
<source>Filter expression is a constant 'false'</source>
<target state="translated">Výraz filtru je konstantní hodnota false.</target>
<note />
</trans-unit>
<trans-unit id="WRN_FilterIsConstantFalseRedundantTryCatch">
<source>Filter expression is a constant 'false', consider removing the try-catch block</source>
<target state="translated">Výraz filtru je konstantní hodnota false. Zvažte odebrání bloku try-catch.</target>
<note />
</trans-unit>
<trans-unit id="WRN_FilterIsConstantFalseRedundantTryCatch_Title">
<source>Filter expression is a constant 'false'. </source>
<target state="translated">Výraz filtru je konstantní hodnota false. </target>
<note />
</trans-unit>
<trans-unit id="ERR_CantUseVoidInArglist">
<source>__arglist cannot have an argument of void type</source>
<target state="translated">__arglist nemůže mít argument typu void.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConditionalInInterpolation">
<source>A conditional expression cannot be used directly in a string interpolation because the ':' ends the interpolation. Parenthesize the conditional expression.</source>
<target state="translated">Podmíněný výraz se nedá použít přímo v interpolaci řetězce, protože na konci interpolace je dvojtečka. Dejte podmíněný výraz do závorek.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DoNotUseFixedBufferAttrOnProperty">
<source>Do not use 'System.Runtime.CompilerServices.FixedBuffer' attribute on a property</source>
<target state="translated">Nepoužívejte u vlastnosti atribut System.Runtime.CompilerServices.FixedBuffer.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FeatureNotAvailableInVersion7_3">
<source>Feature '{0}' is not available in C# 7.3. Please use language version {1} or greater.</source>
<target state="translated">Funkce {0} není dostupná v jazyce C# 7.3. Použijte prosím jazyk verze {1} nebo vyšší.</target>
<note />
</trans-unit>
<trans-unit id="WRN_AttributesOnBackingFieldsNotAvailable">
<source>Field-targeted attributes on auto-properties are not supported in language version {0}. Please use language version {1} or greater.</source>
<target state="translated">Atributy cílící na pole se u automatických vlastností v jazyku verze {0} nepodporují. Použijte prosím jazyk verze {1} nebo vyšší.</target>
<note />
</trans-unit>
<trans-unit id="WRN_AttributesOnBackingFieldsNotAvailable_Title">
<source>Field-targeted attributes on auto-properties are not supported in this version of the language.</source>
<target state="translated">Atributy cílící na pole se u automatických vlastností v této verzi jazyka nepodporují.</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureAsyncStreams">
<source>async streams</source>
<target state="translated">asynchronní streamy</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoConvToIAsyncDisp">
<source>'{0}': type used in an asynchronous using statement must be implicitly convertible to 'System.IAsyncDisposable' or implement a suitable 'DisposeAsync' method.</source>
<target state="translated">{0}: typ použitý v asynchronním příkazu using musí být implicitně převoditelný na System.IAsyncDisposable nebo musí implementovat odpovídající metodu DisposeAsync.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadGetAsyncEnumerator">
<source>Asynchronous foreach requires that the return type '{0}' of '{1}' must have a suitable public 'MoveNextAsync' method and public 'Current' property</source>
<target state="translated">Asynchronní příkaz foreach vyžaduje, aby návratový typ {0} pro {1} měl vhodnou veřejnou metodu MoveNextAsync a veřejnou vlastnost Current.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MultipleIAsyncEnumOfT">
<source>Asynchronous foreach statement cannot operate on variables of type '{0}' because it implements multiple instantiations of '{1}'; try casting to a specific interface instantiation</source>
<target state="translated">Asynchronní příkaz foreach nejde použít pro proměnné typu {0}, protože implementuje vytváření víc instancí {1}. Zkuste přetypování na konkrétní instanci rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InterfacesCantContainConversionOrEqualityOperators">
<source>Conversion, equality, or inequality operators declared in interfaces must be abstract</source>
<target state="needs-review-translation">Rozhraní nemůžou obsahovat operátory převodu, rovnosti nebo nerovnosti.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RuntimeDoesNotSupportDefaultInterfaceImplementation">
<source>Target runtime doesn't support default interface implementation.</source>
<target state="translated">Cílový modul runtime nepodporuje implementaci výchozího rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RuntimeDoesNotSupportDefaultInterfaceImplementationForMember">
<source>'{0}' cannot implement interface member '{1}' in type '{2}' because the target runtime doesn't support default interface implementation.</source>
<target state="translated">{0} nemůže implementovat člen rozhraní {1} v typu {2}, protože cílový modul runtime nepodporuje implementaci výchozího rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImplicitImplementationOfNonPublicInterfaceMember">
<source>'{0}' does not implement interface member '{1}'. '{2}' cannot implicitly implement a non-public member in C# {3}. Please use language version '{4}' or greater.</source>
<target state="new">'{0}' does not implement interface member '{1}'. '{2}' cannot implicitly implement a non-public member in C# {3}. Please use language version '{4}' or greater.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MostSpecificImplementationIsNotFound">
<source>Interface member '{0}' does not have a most specific implementation. Neither '{1}', nor '{2}' are most specific.</source>
<target state="translated">Člen rozhraní {0} nemá nejvíce specifickou implementaci. {1} ani {2} nejsou nejvíce specifické.</target>
<note />
</trans-unit>
<trans-unit id="ERR_LanguageVersionDoesNotSupportDefaultInterfaceImplementationForMember">
<source>'{0}' cannot implement interface member '{1}' in type '{2}' because feature '{3}' is not available in C# {4}. Please use language version '{5}' or greater.</source>
<target state="translated">{0} nemůže implementovat člen rozhraní {1} v typu {2}, protože funkce {3} není v jazyce C# {4} k dispozici. Použijte prosím verzi jazyka {5} nebo vyšší.</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="cs" original="../CSharpResources.resx">
<body>
<trans-unit id="CallingConventionTypeIsInvalid">
<source>Cannot use '{0}' as a calling convention modifier.</source>
<target state="translated">{0} se nedá použít jako modifikátor konvence volání.</target>
<note />
</trans-unit>
<trans-unit id="CallingConventionTypesRequireUnmanaged">
<source>Passing '{0}' is not valid unless '{1}' is 'SignatureCallingConvention.Unmanaged'.</source>
<target state="translated">Pokud {1} není SignatureCallingConvention.Unmanaged, předání hodnoty {0} není platné.</target>
<note />
</trans-unit>
<trans-unit id="CannotCreateConstructedFromConstructed">
<source>Cannot create constructed generic type from another constructed generic type.</source>
<target state="translated">Konstruovaný obecný typ nejde vytvořit z jiného konstruovaného obecného typu.</target>
<note />
</trans-unit>
<trans-unit id="CannotCreateConstructedFromNongeneric">
<source>Cannot create constructed generic type from non-generic type.</source>
<target state="translated">Konstruovaný obecný typ nejde vytvořit z jiného než obecného typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AbstractConversionNotInvolvingContainedType">
<source>User-defined conversion in an interface must convert to or from a type parameter on the enclosing type constrained to the enclosing type</source>
<target state="new">User-defined conversion in an interface must convert to or from a type parameter on the enclosing type constrained to the enclosing type</target>
<note />
</trans-unit>
<trans-unit id="ERR_AbstractEventHasAccessors">
<source>'{0}': abstract event cannot use event accessor syntax</source>
<target state="translated">{0}: abstraktní událost nemůže používat syntaxi přístupového objektu události.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AddressOfMethodGroupInExpressionTree">
<source>'&' on method groups cannot be used in expression trees</source>
<target state="translated">& pro skupiny metod se nedá použít ve stromech výrazů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AddressOfToNonFunctionPointer">
<source>Cannot convert &method group '{0}' to non-function pointer type '{1}'.</source>
<target state="translated">Skupina &method {0} se nedá převést na typ ukazatele, který neukazuje na funkci ({1}).</target>
<note />
</trans-unit>
<trans-unit id="ERR_AltInterpolatedVerbatimStringsNotAvailable">
<source>To use '@$' instead of '$@' for an interpolated verbatim string, please use language version '{0}' or greater.</source>
<target state="translated">Pokud chcete pro interpolovaný doslovný řetězec použít @$ místo $@, použijte verzi jazyka {0} nebo vyšší.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AmbigBinaryOpsOnDefault">
<source>Operator '{0}' is ambiguous on operands '{1}' and '{2}'</source>
<target state="translated">Operátor {0} je na operandech {1} a {2} nejednoznačný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AmbigBinaryOpsOnUnconstrainedDefault">
<source>Operator '{0}' cannot be applied to 'default' and operand of type '{1}' because it is a type parameter that is not known to be a reference type</source>
<target state="translated">Operátor {0} nejde použít pro default a operand typu {1}, protože se jedná o parametr typu, který není znám jako odkazový typ.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AnnotationDisallowedInObjectCreation">
<source>Cannot use a nullable reference type in object creation.</source>
<target state="translated">K vytvoření objektu nejde použít typ odkazu s možnou hodnotou null.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ArgumentNameInITuplePattern">
<source>Element names are not permitted when pattern-matching via 'System.Runtime.CompilerServices.ITuple'.</source>
<target state="translated">Názvy elementů nejsou povolené při porovnávání vzorů přes System.Runtime.CompilerServices.ITuple.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AsNullableType">
<source>It is not legal to use nullable reference type '{0}?' in an as expression; use the underlying type '{0}' instead.</source>
<target state="translated">Ve výrazu as se nepovoluje použití typu odkazu s možnou hodnotou null {0}?; místo toho použijte základní typ {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AssignmentInitOnly">
<source>Init-only property or indexer '{0}' can only be assigned in an object initializer, or on 'this' or 'base' in an instance constructor or an 'init' accessor.</source>
<target state="translated">Vlastnost jenom pro inicializaci nebo indexer {0} se dá přiřadit jenom k inicializátoru objektu, pomocí klíčového slova this nebo base v konstruktoru instance nebo k přístupovému objektu init.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AttrDependentTypeNotAllowed">
<source>Type '{0}' cannot be used in this context because it cannot be represented in metadata.</source>
<target state="new">Type '{0}' cannot be used in this context because it cannot be represented in metadata.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AttrTypeArgCannotBeTypeVar">
<source>'{0}': an attribute type argument cannot use type parameters</source>
<target state="new">'{0}': an attribute type argument cannot use type parameters</target>
<note />
</trans-unit>
<trans-unit id="ERR_AttributeNotOnEventAccessor">
<source>Attribute '{0}' is not valid on event accessors. It is only valid on '{1}' declarations.</source>
<target state="translated">Atribut {0} není platný pro přístupové objekty události. Je platný jenom pro deklarace {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AttributesRequireParenthesizedLambdaExpression">
<source>Attributes on lambda expressions require a parenthesized parameter list.</source>
<target state="new">Attributes on lambda expressions require a parenthesized parameter list.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AutoPropertyWithSetterCantBeReadOnly">
<source>Auto-implemented property '{0}' cannot be marked 'readonly' because it has a 'set' accessor.</source>
<target state="translated">Automaticky implementovanou vlastnost {0} nelze označit modifikátorem readonly, protože má přístupový objekt set.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AutoSetterCantBeReadOnly">
<source>Auto-implemented 'set' accessor '{0}' cannot be marked 'readonly'.</source>
<target state="translated">Automaticky implementovaný přístupový objekt set {0} nelze označit modifikátorem readonly.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AwaitForEachMissingMember">
<source>Asynchronous foreach statement cannot operate on variables of type '{0}' because '{0}' does not contain a suitable public instance or extension definition for '{1}'</source>
<target state="translated">Asynchronní příkaz foreach nejde použít pro proměnné typu {0}, protože {0} neobsahuje vhodnou veřejnou definici instance nebo rozšíření pro {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AwaitForEachMissingMemberWrongAsync">
<source>Asynchronous foreach statement cannot operate on variables of type '{0}' because '{0}' does not contain a public instance or extension definition for '{1}'. Did you mean 'foreach' rather than 'await foreach'?</source>
<target state="translated">Asynchronní příkaz foreach nejde použít pro proměnné typu {0}, protože {0} neobsahuje veřejnou definici instance nebo rozšíření pro {1}. Měli jste v úmyslu foreach místo await foreach?</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAbstractBinaryOperatorSignature">
<source>One of the parameters of a binary operator must be the containing type, or its type parameter constrained to it.</source>
<target state="new">One of the parameters of a binary operator must be the containing type, or its type parameter constrained to it.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAbstractIncDecRetType">
<source>The return type for ++ or -- operator must either match the parameter type, or be derived from the parameter type, or be the containing type's type parameter constrained to it unless the parameter type is a different type parameter.</source>
<target state="new">The return type for ++ or -- operator must either match the parameter type, or be derived from the parameter type, or be the containing type's type parameter constrained to it unless the parameter type is a different type parameter.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAbstractIncDecSignature">
<source>The parameter type for ++ or -- operator must be the containing type, or its type parameter constrained to it.</source>
<target state="new">The parameter type for ++ or -- operator must be the containing type, or its type parameter constrained to it.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAbstractShiftOperatorSignature">
<source>The first operand of an overloaded shift operator must have the same type as the containing type or its type parameter constrained to it, and the type of the second operand must be int</source>
<target state="new">The first operand of an overloaded shift operator must have the same type as the containing type or its type parameter constrained to it, and the type of the second operand must be int</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAbstractStaticMemberAccess">
<source>A static abstract interface member can be accessed only on a type parameter.</source>
<target state="new">A static abstract interface member can be accessed only on a type parameter.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAbstractUnaryOperatorSignature">
<source>The parameter of a unary operator must be the containing type, or its type parameter constrained to it.</source>
<target state="new">The parameter of a unary operator must be the containing type, or its type parameter constrained to it.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadCallerArgumentExpressionParamWithoutDefaultValue">
<source>The CallerArgumentExpressionAttribute may only be applied to parameters with default values</source>
<target state="new">The CallerArgumentExpressionAttribute may only be applied to parameters with default values</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadDynamicAwaitForEach">
<source>Cannot use a collection of dynamic type in an asynchronous foreach</source>
<target state="translated">V asynchronním příkazu foreach nejde použít kolekce dynamického typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadFieldTypeInRecord">
<source>The type '{0}' may not be used for a field of a record.</source>
<target state="translated">Typ {0} se nedá použít pro pole záznamu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadFuncPointerArgCount">
<source>Function pointer '{0}' does not take {1} arguments</source>
<target state="translated">Ukazatel na funkci {0} nepřijímá tento počet argumentů: {1}</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadFuncPointerParamModifier">
<source>'{0}' cannot be used as a modifier on a function pointer parameter.</source>
<target state="translated">{0} se nedá použít jako modifikátor v parametru ukazatele na funkci.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadInheritanceFromRecord">
<source>Only records may inherit from records.</source>
<target state="translated">Ze záznamů můžou dědit jenom záznamy.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadInitAccessor">
<source>The 'init' accessor is not valid on static members</source>
<target state="translated">Přístupový objekt init není platný pro statické členy.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadNullableContextOption">
<source>Invalid option '{0}' for /nullable; must be 'disable', 'enable', 'warnings' or 'annotations'</source>
<target state="translated">Neplatná možnost {0} pro /nullable. Je třeba použít disable, enable, warnings nebo annotations.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadNullableTypeof">
<source>The typeof operator cannot be used on a nullable reference type</source>
<target state="translated">Operátor typeof nejde použít na typ odkazů s možnou hodnotou null.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadOpOnNullOrDefaultOrNew">
<source>Operator '{0}' cannot be applied to operand '{1}'</source>
<target state="translated">Operátor {0} nejde použít pro operand {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadPatternExpression">
<source>Invalid operand for pattern match; value required, but found '{0}'.</source>
<target state="translated">Neplatný operand pro porovnávací vzorek. Vyžaduje se hodnota, ale nalezeno: {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadRecordBase">
<source>Records may only inherit from object or another record</source>
<target state="translated">Záznamy můžou dědit jenom z objektu nebo jiného záznamu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadRecordMemberForPositionalParameter">
<source>Record member '{0}' must be a readable instance property or field of type '{1}' to match positional parameter '{2}'.</source>
<target state="needs-review-translation">Člen záznamu {0} musí být čitelná vlastnost instance typu {1}, která se bude shodovat s pozičním parametrem {2}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadSwitchValue">
<source>Command-line syntax error: '{0}' is not a valid value for the '{1}' option. The value must be of the form '{2}'.</source>
<target state="translated">Chyba syntaxe příkazového řádku: {0} není platná hodnota možnosti {1}. Hodnota musí mít tvar {2}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BuilderAttributeDisallowed">
<source>The AsyncMethodBuilder attribute is disallowed on anonymous methods without an explicit return type.</source>
<target state="new">The AsyncMethodBuilder attribute is disallowed on anonymous methods without an explicit return type.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CannotClone">
<source>The receiver type '{0}' is not a valid record type and is not a struct type.</source>
<target state="new">The receiver type '{0}' is not a valid record type and is not a struct type.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CannotConvertAddressOfToDelegate">
<source>Cannot convert &method group '{0}' to delegate type '{0}'.</source>
<target state="translated">Skupina &metody {0} se nedá převést na typ delegáta {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CannotInferDelegateType">
<source>The delegate type could not be inferred.</source>
<target state="new">The delegate type could not be inferred.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CannotSpecifyManagedWithUnmanagedSpecifiers">
<source>'managed' calling convention cannot be combined with unmanaged calling convention specifiers.</source>
<target state="translated">Konvence volání managed se nedá kombinovat se specifikátory konvence nespravovaného volání.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CannotUseFunctionPointerAsFixedLocal">
<source>The type of a local declared in a fixed statement cannot be a function pointer type.</source>
<target state="translated">Lokální proměnná deklarovaná v příkazu fixed nemůže být typu ukazatel na funkci.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CannotUseManagedTypeInUnmanagedCallersOnly">
<source>Cannot use '{0}' as a {1} type on a method attributed with 'UnmanagedCallersOnly'.</source>
<target state="translated">V metodě, která má atribut UnmanagedCallersOnly, se nedá jako typ {1} použít {0}.</target>
<note>1 is the localized word for 'parameter' or 'return'. UnmanagedCallersOnly is not localizable.</note>
</trans-unit>
<trans-unit id="ERR_CannotUseReducedExtensionMethodInAddressOf">
<source>Cannot use an extension method with a receiver as the target of a '&' operator.</source>
<target state="translated">Rozšiřující metoda, kde jako cíl je nastavený příjemce, se nedá použít jako cíl operátoru &.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CannotUseSelfAsInterpolatedStringHandlerArgument">
<source>InterpolatedStringHandlerArgumentAttribute arguments cannot refer to the parameter the attribute is used on.</source>
<target state="new">InterpolatedStringHandlerArgumentAttribute arguments cannot refer to the parameter the attribute is used on.</target>
<note>InterpolatedStringHandlerArgumentAttribute is a type name and should not be translated.</note>
</trans-unit>
<trans-unit id="ERR_CantChangeInitOnlyOnOverride">
<source>'{0}' must match by init-only of overridden member '{1}'</source>
<target state="translated">{0} musí odpovídat vlastnosti jenom pro inicializaci přepsaného člena {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantConvAnonMethReturnType">
<source>Cannot convert {0} to type '{1}' because the return type does not match the delegate return type</source>
<target state="new">Cannot convert {0} to type '{1}' because the return type does not match the delegate return type</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantUseInOrOutInArglist">
<source>__arglist cannot have an argument passed by 'in' or 'out'</source>
<target state="translated">__arglist nemůže mít argument předávaný pomocí in nebo out</target>
<note />
</trans-unit>
<trans-unit id="ERR_CloneDisallowedInRecord">
<source>Members named 'Clone' are disallowed in records.</source>
<target state="translated">Členy s názvem Clone se v záznamech nepovolují.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CloseUnimplementedInterfaceMemberNotStatic">
<source>'{0}' does not implement static interface member '{1}'. '{2}' cannot implement the interface member because it is not static.</source>
<target state="new">'{0}' does not implement static interface member '{1}'. '{2}' cannot implement the interface member because it is not static.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CloseUnimplementedInterfaceMemberWrongInitOnly">
<source>'{0}' does not implement interface member '{1}'. '{2}' cannot implement '{1}'.</source>
<target state="translated">{0} neimplementuje člen rozhraní {1}. {2} nemůže implementovat {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConWithUnmanagedCon">
<source>Type parameter '{1}' has the 'unmanaged' constraint so '{1}' cannot be used as a constraint for '{0}'</source>
<target state="translated">Parametr typu {1} má omezení unmanaged, takže není možné používat {1} jako omezení pro {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConditionalOnLocalFunction">
<source>Local function '{0}' must be 'static' in order to use the Conditional attribute</source>
<target state="translated">Aby bylo možné používat atribut Conditional, musí být místní funkce {0} static.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConstantPatternVsOpenType">
<source>An expression of type '{0}' cannot be handled by a pattern of type '{1}'. Please use language version '{2}' or greater to match an open type with a constant pattern.</source>
<target state="translated">Výraz typu {0} nelze zpracovat vzorem typu {1}. Použijte prosím verzi jazyka {2} nebo vyšší, aby odpovídala otevřenému typu se vzorem konstanty.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CopyConstructorMustInvokeBaseCopyConstructor">
<source>A copy constructor in a record must call a copy constructor of the base, or a parameterless object constructor if the record inherits from object.</source>
<target state="translated">Kopírovací konstruktor v záznamu musí volat kopírovací konstruktor základní třídy, případně konstruktor objektu bez parametrů, pokud záznam dědí z objektu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CopyConstructorWrongAccessibility">
<source>A copy constructor '{0}' must be public or protected because the record is not sealed.</source>
<target state="translated">Kopírovací konstruktor {0} musí být veřejný nebo chráněný, protože záznam není zapečetěný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DeconstructParameterNameMismatch">
<source>The name '{0}' does not match the corresponding 'Deconstruct' parameter '{1}'.</source>
<target state="translated">Název {0} neodpovídá příslušnému parametru Deconstruct {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DefaultConstraintOverrideOnly">
<source>The 'default' constraint is valid on override and explicit interface implementation methods only.</source>
<target state="translated">Omezení default je platné jen v přepsaných metodách a metodách explicitní implementace rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DefaultInterfaceImplementationInNoPIAType">
<source>Type '{0}' cannot be embedded because it has a non-abstract member. Consider setting the 'Embed Interop Types' property to false.</source>
<target state="translated">Typ {0} nemůže být vložený, protože má neabstraktní člen. Zvažte nastavení vlastnosti Vložit typy spolupráce na hodnotu false.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DefaultLiteralNoTargetType">
<source>There is no target type for the default literal.</source>
<target state="translated">Není k dispozici žádný cílový typ pro výchozí literál.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DefaultPattern">
<source>A default literal 'default' is not valid as a pattern. Use another literal (e.g. '0' or 'null') as appropriate. To match everything, use a discard pattern '_'.</source>
<target state="translated">Výchozí literál default není platný jako vzor. Podle potřeby použijte jiný literál (například 0 nebo null). Pokud chcete, aby odpovídalo vše, použijte vzor discard „_“.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DesignatorBeneathPatternCombinator">
<source>A variable may not be declared within a 'not' or 'or' pattern.</source>
<target state="translated">Proměnná se nedá deklarovat ve vzoru not nebo or.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DiscardPatternInSwitchStatement">
<source>The discard pattern is not permitted as a case label in a switch statement. Use 'case var _:' for a discard pattern, or 'case @_:' for a constant named '_'.</source>
<target state="translated">Tento vzor discard není povolený jako návěstí příkazu case v příkazu switch. Použijte „case var _:“ pro vzor discard nebo „case @_:“ pro konstantu s názvem „_“.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DoesNotOverrideBaseEqualityContract">
<source>'{0}' does not override expected property from '{1}'.</source>
<target state="translated">{0} nepřepisuje očekávanou vlastnost z {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DoesNotOverrideBaseMethod">
<source>'{0}' does not override expected method from '{1}'.</source>
<target state="translated">{0} nepřepisuje očekávanou metodu z {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DoesNotOverrideMethodFromObject">
<source>'{0}' does not override expected method from 'object'.</source>
<target state="translated">{0} nepřepisuje očekávanou metodu z object.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DupReturnTypeMod">
<source>A return type can only have one '{0}' modifier.</source>
<target state="translated">Návratový typ může mít jen jeden modifikátor {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateExplicitImpl">
<source>'{0}' is explicitly implemented more than once.</source>
<target state="translated">Položka {0} je explicitně implementována více než jednou.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateInterfaceWithDifferencesInBaseList">
<source>'{0}' is already listed in the interface list on type '{2}' as '{1}'.</source>
<target state="translated">{0} je již uvedeno v seznamu rozhraní u typu {2} jako {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateNullSuppression">
<source>Duplicate null suppression operator ('!')</source>
<target state="translated">Duplicitní operátor potlačení hodnoty null (!)</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicatePropertyReadOnlyMods">
<source>Cannot specify 'readonly' modifiers on both accessors of property or indexer '{0}'. Instead, put a 'readonly' modifier on the property itself.</source>
<target state="translated">Pro přístupové objekty vlastnosti i indexeru {0} nelze zadat modifikátory readonly. Místo toho zadejte modifikátor readonly jenom pro vlastnost.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ElseCannotStartStatement">
<source>'else' cannot start a statement.</source>
<target state="translated">Příkaz nemůže začínat na else.</target>
<note />
</trans-unit>
<trans-unit id="ERR_EntryPointCannotBeUnmanagedCallersOnly">
<source>Application entry points cannot be attributed with 'UnmanagedCallersOnly'.</source>
<target state="translated">Vstupní body aplikací nemůžou mít atribut UnmanagedCallersOnly.</target>
<note>UnmanagedCallersOnly is not localizable.</note>
</trans-unit>
<trans-unit id="ERR_EqualityContractRequiresGetter">
<source>Record equality contract property '{0}' must have a get accessor.</source>
<target state="translated">Vlastnost kontraktu rovnosti záznamu {0} musí mít přístupový objekt get.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExplicitImplementationOfOperatorsMustBeStatic">
<source>Explicit implementation of a user-defined operator '{0}' must be declared static</source>
<target state="new">Explicit implementation of a user-defined operator '{0}' must be declared static</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExplicitNullableAttribute">
<source>Explicit application of 'System.Runtime.CompilerServices.NullableAttribute' is not allowed.</source>
<target state="translated">Explicitní použití System.Runtime.CompilerServices.NullableAttribute není povolené.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExplicitPropertyMismatchInitOnly">
<source>Accessors '{0}' and '{1}' should both be init-only or neither</source>
<target state="translated">Přístupové objekty {0} a {1} by měly být buď oba jenom pro inicializaci, nebo ani jeden.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExprCannotBeFixed">
<source>The given expression cannot be used in a fixed statement</source>
<target state="translated">Daný výraz nelze použít v příkazu fixed.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeCantContainNullCoalescingAssignment">
<source>An expression tree may not contain a null coalescing assignment</source>
<target state="translated">Strom výrazu nesmí obsahovat přiřazení představující sloučení s hodnotou null.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeCantContainRefStruct">
<source>Expression tree cannot contain value of ref struct or restricted type '{0}'.</source>
<target state="translated">Strom výrazu nemůže obsahovat hodnotu struktury REF ani zakázaný typ {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsAbstractStaticMemberAccess">
<source>An expression tree may not contain an access of static abstract interface member</source>
<target state="new">An expression tree may not contain an access of static abstract interface member</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsFromEndIndexExpression">
<source>An expression tree may not contain a from-end index ('^') expression.</source>
<target state="translated">Strom výrazů nesmí obsahovat výraz indexu od-do (^).</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsInterpolatedStringHandlerConversion">
<source>An expression tree may not contain an interpolated string handler conversion.</source>
<target state="new">An expression tree may not contain an interpolated string handler conversion.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsPatternIndexOrRangeIndexer">
<source>An expression tree may not contain a pattern System.Index or System.Range indexer access</source>
<target state="translated">Strom výrazů možná neobsahuje vzor přístupu indexeru System.Index nebo System.Range.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsRangeExpression">
<source>An expression tree may not contain a range ('..') expression.</source>
<target state="translated">Strom výrazů nesmí obsahovat výraz rozsahu (..).</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsSwitchExpression">
<source>An expression tree may not contain a switch expression.</source>
<target state="translated">Strom výrazů nesmí obsahovat výraz switch.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsTupleBinOp">
<source>An expression tree may not contain a tuple == or != operator</source>
<target state="translated">Strom výrazů nesmí obsahovat operátor řazené kolekce členů == nebo !=.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsWithExpression">
<source>An expression tree may not contain a with-expression.</source>
<target state="translated">Strom výrazů nesmí obsahovat výraz with.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExternEventInitializer">
<source>'{0}': extern event cannot have initializer</source>
<target state="translated">{0}: Externí událost nemůže mít inicializátor.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FeatureInPreview">
<source>The feature '{0}' is currently in Preview and *unsupported*. To use Preview features, use the 'preview' language version.</source>
<target state="translated">Funkce {0} je aktuálně ve verzi Preview a je *nepodporovaná*. Pokud chcete používat funkce Preview, použijte jazykovou verzi preview.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FeatureIsExperimental">
<source>Feature '{0}' is experimental and unsupported; use '/features:{1}' to enable.</source>
<target state="translated">Funkce {0} je zkušební, a proto není podporovaná. K aktivaci použijte /features:{1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FeatureNotAvailableInVersion10">
<source>Feature '{0}' is not available in C# 10.0. Please use language version {1} or greater.</source>
<target state="new">Feature '{0}' is not available in C# 10.0. Please use language version {1} or greater.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FeatureNotAvailableInVersion8">
<source>Feature '{0}' is not available in C# 8.0. Please use language version {1} or greater.</source>
<target state="translated">Funkce {0} není v C# 8.0 dostupná. Použijte prosím jazykovou verzi {1} nebo větší.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FeatureNotAvailableInVersion8_0">
<source>Feature '{0}' is not available in C# 8.0. Please use language version {1} or greater.</source>
<target state="translated">Funkce {0} není v C# 8.0 dostupná. Použijte prosím jazykovou verzi {1} nebo větší.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FeatureNotAvailableInVersion9">
<source>Feature '{0}' is not available in C# 9.0. Please use language version {1} or greater.</source>
<target state="translated">Funkce {0} není v C# 9.0 dostupná. Použijte prosím jazykovou verzi {1} nebo větší.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FieldLikeEventCantBeReadOnly">
<source>Field-like event '{0}' cannot be 'readonly'.</source>
<target state="translated">Událost podobná poli {0} nemůže mít modifikátor readonly.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FileScopedAndNormalNamespace">
<source>Source file can not contain both file-scoped and normal namespace declarations.</source>
<target state="new">Source file can not contain both file-scoped and normal namespace declarations.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FileScopedNamespaceNotBeforeAllMembers">
<source>File-scoped namespace must precede all other members in a file.</source>
<target state="new">File-scoped namespace must precede all other members in a file.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ForEachMissingMemberWrongAsync">
<source>foreach statement cannot operate on variables of type '{0}' because '{0}' does not contain a public instance or extension definition for '{1}'. Did you mean 'await foreach' rather than 'foreach'?</source>
<target state="translated">Příkaz foreach nejde použít pro proměnné typu {0}, protože {0} neobsahuje veřejnou definici instance nebo rozšíření pro {1}. Měli jste v úmyslu await foreach místo foreach?</target>
<note />
</trans-unit>
<trans-unit id="ERR_FuncPtrMethMustBeStatic">
<source>Cannot create a function pointer for '{0}' because it is not a static method</source>
<target state="translated">Pro {0} se nedá vytvořit ukazatel na funkci, protože to není statická metoda.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FuncPtrRefMismatch">
<source>Ref mismatch between '{0}' and function pointer '{1}'</source>
<target state="translated">Mezi {0} a ukazatelem na funkci {1} se neshoduje odkaz.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FunctionPointerTypesInAttributeNotSupported">
<source>Using a function pointer type in a 'typeof' in an attribute is not supported.</source>
<target state="needs-review-translation">V typeof v atributu se nepodporuje používání typu ukazatele funkce.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FunctionPointersCannotBeCalledWithNamedArguments">
<source>A function pointer cannot be called with named arguments.</source>
<target state="translated">Ukazatel na funkci se nedá zavolat s pojmenovanými argumenty.</target>
<note />
</trans-unit>
<trans-unit id="ERR_GenericConstraintNotSatisfiedInterfaceWithStaticAbstractMembers">
<source>The interface '{3}' cannot be used as type parameter '{2}' in the generic type or method '{0}'. The constraint interface '{1}' or its base interface has static abstract members.</source>
<target state="new">The interface '{3}' cannot be used as type parameter '{2}' in the generic type or method '{0}'. The constraint interface '{1}' or its base interface has static abstract members.</target>
<note />
</trans-unit>
<trans-unit id="ERR_GlobalUsingInNamespace">
<source>A global using directive cannot be used in a namespace declaration.</source>
<target state="new">A global using directive cannot be used in a namespace declaration.</target>
<note />
</trans-unit>
<trans-unit id="ERR_GlobalUsingOutOfOrder">
<source>A global using directive must precede all non-global using directives.</source>
<target state="new">A global using directive must precede all non-global using directives.</target>
<note />
</trans-unit>
<trans-unit id="ERR_GoToBackwardJumpOverUsingVar">
<source>A goto cannot jump to a location before a using declaration within the same block.</source>
<target state="translated">Příkaz goto nemůže přejít na místo před deklarací using ve stejném bloku.</target>
<note />
</trans-unit>
<trans-unit id="ERR_GoToForwardJumpOverUsingVar">
<source>A goto cannot jump to a location after a using declaration.</source>
<target state="translated">Příkaz goto nemůže přejít na místo za deklarací using.</target>
<note />
</trans-unit>
<trans-unit id="ERR_HiddenPositionalMember">
<source>The positional member '{0}' found corresponding to this parameter is hidden.</source>
<target state="translated">Poziční člen {0}, který odpovídá tomuto parametru je skrytý.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IllegalSuppression">
<source>The suppression operator is not allowed in this context</source>
<target state="translated">Operátor potlačení není v tomto kontextu povolený.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImplicitIndexIndexerWithName">
<source>Invocation of implicit Index Indexer cannot name the argument.</source>
<target state="translated">Volání implicitního indexeru indexů nemůže pojmenovat argument.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImplicitObjectCreationIllegalTargetType">
<source>The type '{0}' may not be used as the target type of new()</source>
<target state="translated">Typ {0} se nedá použít jako cílový typ příkazu new().</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImplicitObjectCreationNoTargetType">
<source>There is no target type for '{0}'</source>
<target state="translated">Není k dispozici žádný cílový typ pro {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImplicitObjectCreationNotValid">
<source>Use of new() is not valid in this context</source>
<target state="translated">Použití new() není v tomto kontextu platné</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImplicitRangeIndexerWithName">
<source>Invocation of implicit Range Indexer cannot name the argument.</source>
<target state="translated">Volání implicitního indexeru rozsahů nemůže pojmenovat argument.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InDynamicMethodArg">
<source>Arguments with 'in' modifier cannot be used in dynamically dispatched expressions.</source>
<target state="translated">Argumenty s modifikátorem in se nedají použít v dynamicky volaných výrazech.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InheritingFromRecordWithSealedToString">
<source>Inheriting from a record with a sealed 'Object.ToString' is not supported in C# {0}. Please use language version '{1}' or greater.</source>
<target state="translated">Dědění ze záznamu se zapečetěným objektem Object.ToString se v jazyce C# {0} nepodporuje. Použijte prosím jazykovou verzi {1} nebo vyšší.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InitCannotBeReadonly">
<source>'init' accessors cannot be marked 'readonly'. Mark '{0}' readonly instead.</source>
<target state="translated">Přístupové objekty init se nedají označit jako jen pro čtení. Místo toho označte jako jen pro čtení {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InstancePropertyInitializerInInterface">
<source>Instance properties in interfaces cannot have initializers.</source>
<target state="translated">Vlastnosti instance v rozhraních nemůžou mít inicializátory.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InterfaceImplementedByUnmanagedCallersOnlyMethod">
<source>'UnmanagedCallersOnly' method '{0}' cannot implement interface member '{1}' in type '{2}'</source>
<target state="new">'UnmanagedCallersOnly' method '{0}' cannot implement interface member '{1}' in type '{2}'</target>
<note>UnmanagedCallersOnly is not localizable.</note>
</trans-unit>
<trans-unit id="ERR_InterfaceImplementedImplicitlyByVariadic">
<source>'{0}' cannot implement interface member '{1}' in type '{2}' because it has an __arglist parameter</source>
<target state="translated">{0} nemůže implementovat člen rozhraní {1} v typu {2}, protože má parametr __arglist.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InternalError">
<source>Internal error in the C# compiler.</source>
<target state="translated">Vnitřní chyba v kompilátoru jazyka C#</target>
<note />
</trans-unit>
<trans-unit id="ERR_InterpolatedStringHandlerArgumentAttributeMalformed">
<source>The InterpolatedStringHandlerArgumentAttribute applied to parameter '{0}' is malformed and cannot be interpreted. Construct an instance of '{1}' manually.</source>
<target state="new">The InterpolatedStringHandlerArgumentAttribute applied to parameter '{0}' is malformed and cannot be interpreted. Construct an instance of '{1}' manually.</target>
<note>InterpolatedStringHandlerArgumentAttribute is a type name and should not be translated.</note>
</trans-unit>
<trans-unit id="ERR_InterpolatedStringHandlerArgumentLocatedAfterInterpolatedString">
<source>Parameter '{0}' is an argument to the interpolated string handler conversion on parameter '{1}', but the corresponding argument is specified after the interpolated string expression. Reorder the arguments to move '{0}' before '{1}'.</source>
<target state="new">Parameter '{0}' is an argument to the interpolated string handler conversion on parameter '{1}', but the corresponding argument is specified after the interpolated string expression. Reorder the arguments to move '{0}' before '{1}'.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InterpolatedStringHandlerArgumentOptionalNotSpecified">
<source>Parameter '{0}' is not explicitly provided, but is used as an argument to the interpolated string handler conversion on parameter '{1}'. Specify the value of '{0}' before '{1}'.</source>
<target state="new">Parameter '{0}' is not explicitly provided, but is used as an argument to the interpolated string handler conversion on parameter '{1}'. Specify the value of '{0}' before '{1}'.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InterpolatedStringHandlerCreationCannotUseDynamic">
<source>An interpolated string handler construction cannot use dynamic. Manually construct an instance of '{0}'.</source>
<target state="new">An interpolated string handler construction cannot use dynamic. Manually construct an instance of '{0}'.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InterpolatedStringHandlerMethodReturnInconsistent">
<source>Interpolated string handler method '{0}' has inconsistent return type. Expected to return '{1}'.</source>
<target state="new">Interpolated string handler method '{0}' has inconsistent return type. Expected to return '{1}'.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InterpolatedStringHandlerMethodReturnMalformed">
<source>Interpolated string handler method '{0}' is malformed. It does not return 'void' or 'bool'.</source>
<target state="new">Interpolated string handler method '{0}' is malformed. It does not return 'void' or 'bool'.</target>
<note>void and bool are keywords</note>
</trans-unit>
<trans-unit id="ERR_InvalidFuncPointerReturnTypeModifier">
<source>'{0}' is not a valid function pointer return type modifier. Valid modifiers are 'ref' and 'ref readonly'.</source>
<target state="translated">{0} není platný modifikátor návratového typu ukazatele na funkci. Platné modifikátory jsou ref a ref readonly.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidFunctionPointerCallingConvention">
<source>'{0}' is not a valid calling convention specifier for a function pointer.</source>
<target state="translated">{0} není platný specifikátor konvence volání pro ukazatel na funkci.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidHashAlgorithmName">
<source>Invalid hash algorithm name: '{0}'</source>
<target state="translated">Neplatný název algoritmu hash: {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidInterpolatedStringHandlerArgumentName">
<source>'{0}' is not a valid parameter name from '{1}'.</source>
<target state="new">'{0}' is not a valid parameter name from '{1}'.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidModifierForLanguageVersion">
<source>The modifier '{0}' is not valid for this item in C# {1}. Please use language version '{2}' or greater.</source>
<target state="translated">Modifikátor {0} není platný pro tuto položku v jazyce C# {1}. Použijte prosím verzi jazyka {2} nebo vyšší.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidNameInSubpattern">
<source>Identifier or a simple member access expected.</source>
<target state="new">Identifier or a simple member access expected.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidObjectCreation">
<source>Invalid object creation</source>
<target state="translated">Vytvoření neplatného objektu</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidPropertyReadOnlyMods">
<source>Cannot specify 'readonly' modifiers on both property or indexer '{0}' and its accessor. Remove one of them.</source>
<target state="translated">Pro vlastnost nebo indexer {0} i jejich přístupový objekt nelze zadat modifikátory readonly. Odeberte jeden z nich.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidStackAllocArray">
<source>"Invalid rank specifier: expected ']'</source>
<target state="translated">Specifikátor rozsahu je neplatný. Očekávala se pravá hranatá závorka ].</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidUnmanagedCallersOnlyCallConv">
<source>'{0}' is not a valid calling convention type for 'UnmanagedCallersOnly'.</source>
<target state="translated">{0} není platný typ konvence volání pro UnmanagedCallersOnly.</target>
<note>UnmanagedCallersOnly is not localizable.</note>
</trans-unit>
<trans-unit id="ERR_InvalidWithReceiverType">
<source>The receiver of a `with` expression must have a non-void type.</source>
<target state="translated">Příjemce výrazu with musí mít neprázdný typ.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IsNullableType">
<source>It is not legal to use nullable reference type '{0}?' in an is-type expression; use the underlying type '{0}' instead.</source>
<target state="translated">Ve výrazu is-type se nepovoluje použití typu odkazu s možnou hodnotou null {0}?; místo toho použijte základní typ {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IsPatternImpossible">
<source>An expression of type '{0}' can never match the provided pattern.</source>
<target state="translated">Výraz typu {0} nesmí nikdy odpovídat poskytnutému vzoru.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IteratorMustBeAsync">
<source>Method '{0}' with an iterator block must be 'async' to return '{1}'</source>
<target state="translated">Metoda {0} s blokem iterátoru musí být asynchronní, aby vrátila {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_LineSpanDirectiveEndLessThanStart">
<source>The #line directive end position must be greater than or equal to the start position</source>
<target state="new">The #line directive end position must be greater than or equal to the start position</target>
<note />
</trans-unit>
<trans-unit id="ERR_LineSpanDirectiveInvalidValue">
<source>The #line directive value is missing or out of range</source>
<target state="new">The #line directive value is missing or out of range</target>
<note />
</trans-unit>
<trans-unit id="ERR_MethFuncPtrMismatch">
<source>No overload for '{0}' matches function pointer '{1}'</source>
<target state="translated">Žádná přetížená metoda {0} neodpovídá ukazateli na funkci {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MissingAddressOf">
<source>Cannot convert method group to function pointer (Are you missing a '&'?)</source>
<target state="translated">Skupina metod se nedá převést na ukazatel na funkci (nechybí &)?</target>
<note />
</trans-unit>
<trans-unit id="ERR_MissingPattern">
<source>Pattern missing</source>
<target state="translated">Chybějící vzor</target>
<note />
</trans-unit>
<trans-unit id="ERR_ModuleInitializerCannotBeUnmanagedCallersOnly">
<source>Module initializer cannot be attributed with 'UnmanagedCallersOnly'.</source>
<target state="translated">Inicializátor modulu nemůže mít atribut UnmanagedCallersOnly.</target>
<note>UnmanagedCallersOnly is not localizable.</note>
</trans-unit>
<trans-unit id="ERR_ModuleInitializerMethodAndContainingTypesMustNotBeGeneric">
<source>Module initializer method '{0}' must not be generic and must not be contained in a generic type</source>
<target state="translated">Inicializační metoda modulu {0} nemůže být obecná a nesmí obsahovat obecný typ.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ModuleInitializerMethodMustBeAccessibleOutsideTopLevelType">
<source>Module initializer method '{0}' must be accessible at the module level</source>
<target state="translated">Inicializační metoda modulu {0} musí být přístupná na úrovni modulu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ModuleInitializerMethodMustBeOrdinary">
<source>A module initializer must be an ordinary member method</source>
<target state="translated">Inicializátor modulu musí být běžná členská metoda.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ModuleInitializerMethodMustBeStaticParameterlessVoid">
<source>Module initializer method '{0}' must be static, must have no parameters, and must return 'void'</source>
<target state="translated">Inicializační metoda modulu {0} musí být statická, nesmí mít žádné parametry a musí vracet void.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MultipleAnalyzerConfigsInSameDir">
<source>Multiple analyzer config files cannot be in the same directory ('{0}').</source>
<target state="translated">Ve stejném adresáři nemůže být více konfiguračních souborů analyzátoru ({0}).</target>
<note />
</trans-unit>
<trans-unit id="ERR_MultipleEnumeratorCancellationAttributes">
<source>The attribute [EnumeratorCancellation] cannot be used on multiple parameters</source>
<target state="translated">Atribut [EnumeratorCancellation] nejde použít na víc parametrů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MultipleFileScopedNamespace">
<source>Source file can only contain one file-scoped namespace declaration.</source>
<target state="new">Source file can only contain one file-scoped namespace declaration.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MultipleRecordParameterLists">
<source>Only a single record partial declaration may have a parameter list</source>
<target state="translated">Seznam parametrů může mít jenom částečná deklarace jednoho záznamu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NewBoundWithUnmanaged">
<source>The 'new()' constraint cannot be used with the 'unmanaged' constraint</source>
<target state="translated">Omezení new() nejde používat s omezením unmanaged.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NewlinesAreNotAllowedInsideANonVerbatimInterpolatedString">
<source>Newlines are not allowed inside a non-verbatim interpolated string</source>
<target state="new">Newlines are not allowed inside a non-verbatim interpolated string</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoConvToIAsyncDispWrongAsync">
<source>'{0}': type used in an asynchronous using statement must be implicitly convertible to 'System.IAsyncDisposable' or implement a suitable 'DisposeAsync' method. Did you mean 'using' rather than 'await using'?</source>
<target state="translated">{0}: typ použitý v asynchronním příkazu using musí být implicitně převoditelný na System.IAsyncDisposable nebo musí implementovat odpovídající metodu DisposeAsync. Měli jste v úmyslu použít using nebo await using?</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoConvToIDispWrongAsync">
<source>'{0}': type used in a using statement must be implicitly convertible to 'System.IDisposable'. Did you mean 'await using' rather than 'using'?</source>
<target state="translated">{0}: Typ použitý v příkazu using musí být implicitně převoditelný na System.IDisposable. Neměli jste v úmyslu použít await using místo using?</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoConversionForCallerArgumentExpressionParam">
<source>CallerArgumentExpressionAttribute cannot be applied because there are no standard conversions from type '{0}' to type '{1}'</source>
<target state="new">CallerArgumentExpressionAttribute cannot be applied because there are no standard conversions from type '{0}' to type '{1}'</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoCopyConstructorInBaseType">
<source>No accessible copy constructor found in base type '{0}'.</source>
<target state="translated">V základním typu {0} se nenašel žádný přístupný kopírovací konstruktor.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoImplicitConvTargetTypedConditional">
<source>Conditional expression is not valid in language version {0} because a common type was not found between '{1}' and '{2}'. To use a target-typed conversion, upgrade to language version {3} or greater.</source>
<target state="new">Conditional expression is not valid in language version {0} because a common type was not found between '{1}' and '{2}'. To use a target-typed conversion, upgrade to language version {3} or greater.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoOutputDirectory">
<source>Output directory could not be determined</source>
<target state="translated">Nepovedlo se určit výstupní adresář.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NonPrivateAPIInRecord">
<source>Record member '{0}' must be private.</source>
<target state="translated">Člen záznamu {0} musí být privátní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NonProtectedAPIInRecord">
<source>Record member '{0}' must be protected.</source>
<target state="translated">Člen záznamu {0} musí být chráněný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NonPublicAPIInRecord">
<source>Record member '{0}' must be public.</source>
<target state="translated">Člen záznamu {0} musí být veřejný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NonPublicParameterlessStructConstructor">
<source>The parameterless struct constructor must be 'public'.</source>
<target state="new">The parameterless struct constructor must be 'public'.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NotInstanceInvalidInterpolatedStringHandlerArgumentName">
<source>'{0}' is not an instance method, the receiver cannot be an interpolated string handler argument.</source>
<target state="new">'{0}' is not an instance method, the receiver cannot be an interpolated string handler argument.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NotOverridableAPIInRecord">
<source>'{0}' must allow overriding because the containing record is not sealed.</source>
<target state="translated">{0} musí povolovat přepisování, protože obsahující záznam není zapečetěný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NullInvalidInterpolatedStringHandlerArgumentName">
<source>null is not a valid parameter name. To get access to the receiver of an instance method, use the empty string as the parameter name.</source>
<target state="new">null is not a valid parameter name. To get access to the receiver of an instance method, use the empty string as the parameter name.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NullableDirectiveQualifierExpected">
<source>Expected 'enable', 'disable', or 'restore'</source>
<target state="translated">Očekávala se hodnota enable, disable nebo restore.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NullableDirectiveTargetExpected">
<source>Expected 'warnings', 'annotations', or end of directive</source>
<target state="translated">Očekávala se možnost warnings nebo annotations nebo konec direktivy.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NullableOptionNotAvailable">
<source>Invalid '{0}' value: '{1}' for C# {2}. Please use language version '{3}' or greater.</source>
<target state="translated">Neplatná hodnota {0}: {1} pro jazyk C# {2}. Použijte prosím verzi jazyka {3} nebo vyšší.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NullableUnconstrainedTypeParameter">
<source>A nullable type parameter must be known to be a value type or non-nullable reference type unless language version '{0}' or greater is used. Consider changing the language version or adding a 'class', 'struct', or type constraint.</source>
<target state="translated">Pokud se nepoužívá verze jazyka {0} nebo novější, musí být pro parametr typu s možnou hodnotou null známo, že má typ hodnoty nebo typ odkazu, který není možné nastavit na null. Zvažte možnost změnit verzi jazyka nebo přidat class, struct nebo omezení typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OmittedTypeArgument">
<source>Omitting the type argument is not allowed in the current context</source>
<target state="translated">V aktuálním kontextu se vynechání argumentu typu nepodporuje.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OutVariableCannotBeByRef">
<source>An out variable cannot be declared as a ref local</source>
<target state="translated">Výstupní proměnná nemůže být deklarovaná jako lokální proměnná podle odkazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OverrideDefaultConstraintNotSatisfied">
<source>Method '{0}' specifies a 'default' constraint for type parameter '{1}', but corresponding type parameter '{2}' of overridden or explicitly implemented method '{3}' is constrained to a reference type or a value type.</source>
<target state="translated">Metoda {0} určuje omezení default pro parametr typu {1}, ale odpovídající parametr typu {2} přepsané nebo explicitně implementované metody {3} není omezený na typ odkazu nebo hodnoty.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OverrideRefConstraintNotSatisfied">
<source>Method '{0}' specifies a 'class' constraint for type parameter '{1}', but corresponding type parameter '{2}' of overridden or explicitly implemented method '{3}' is not a reference type.</source>
<target state="translated">Metoda {0} určuje omezení class pro parametr typu {1}, ale odpovídající parametr typu {2} přepsané nebo explicitně implementované metody {3} není odkazový typ.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OverrideValConstraintNotSatisfied">
<source>Method '{0}' specifies a 'struct' constraint for type parameter '{1}', but corresponding type parameter '{2}' of overridden or explicitly implemented method '{3}' is not a non-nullable value type.</source>
<target state="translated">Metoda {0} určuje omezení struct pro parametr typu {1}, ale odpovídající parametr typu {2} přepsané nebo explicitně implementované metody {3} není typ, který nemůže mít hodnotu null.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodAccessibilityDifference">
<source>Both partial method declarations must have identical accessibility modifiers.</source>
<target state="translated">Obě deklarace částečných metod musí mít shodné modifikátory přístupnosti.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodExtendedModDifference">
<source>Both partial method declarations must have identical combinations of 'virtual', 'override', 'sealed', and 'new' modifiers.</source>
<target state="translated">Obě deklarace částečných metod musí mít shodné kombinace modifikátorů virtual, override, sealed a new.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodReadOnlyDifference">
<source>Both partial method declarations must be readonly or neither may be readonly</source>
<target state="translated">Obě deklarace částečné metody musí mít modifikátor readonly, nebo nesmí mít modifikátor readonly žádná z nich.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodRefReturnDifference">
<source>Partial method declarations must have matching ref return values.</source>
<target state="translated">Deklarace částečných metod musí mít odpovídající referenční návratové hodnoty.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodReturnTypeDifference">
<source>Both partial method declarations must have the same return type.</source>
<target state="translated">Obě deklarace částečných metod musí mít stejný návratový typ.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodWithAccessibilityModsMustHaveImplementation">
<source>Partial method '{0}' must have an implementation part because it has accessibility modifiers.</source>
<target state="translated">Částečná metoda {0} musí mít implementační část, protože má modifikátory přístupnosti.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodWithExtendedModMustHaveAccessMods">
<source>Partial method '{0}' must have accessibility modifiers because it has a 'virtual', 'override', 'sealed', 'new', or 'extern' modifier.</source>
<target state="translated">Částečná metoda {0} musí mít modifikátory přístupnosti, protože má modifikátor virtual, override, sealed, new nebo extern.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodWithNonVoidReturnMustHaveAccessMods">
<source>Partial method '{0}' must have accessibility modifiers because it has a non-void return type.</source>
<target state="translated">Částečná metoda {0} musí mít modifikátory přístupnosti, protože má návratový typ jiný než void.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodWithOutParamMustHaveAccessMods">
<source>Partial method '{0}' must have accessibility modifiers because it has 'out' parameters.</source>
<target state="translated">Částečná metoda {0} musí mít modifikátory přístupnosti, protože má parametry out.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PointerTypeInPatternMatching">
<source>Pattern-matching is not permitted for pointer types.</source>
<target state="translated">Porovnávání vzorů není povolené pro typy ukazatelů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PossibleAsyncIteratorWithoutYield">
<source>The body of an async-iterator method must contain a 'yield' statement.</source>
<target state="translated">Tělo metody async-iterator musí obsahovat příkaz yield.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PossibleAsyncIteratorWithoutYieldOrAwait">
<source>The body of an async-iterator method must contain a 'yield' statement. Consider removing 'async' from the method declaration or adding a 'yield' statement.</source>
<target state="translated">Tělo metody async-iterator musí obsahovat příkaz yield. Zvažte odebrání položky async z deklarace metody nebo přidání příkazu yield.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PropertyPatternNameMissing">
<source>A property subpattern requires a reference to the property or field to be matched, e.g. '{{ Name: {0} }}'</source>
<target state="translated">Dílčí vzor vlastnosti vyžaduje odkaz na vlastnost nebo pole k přiřazení, např. „{{ Name: {0} }}“.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ReAbstractionInNoPIAType">
<source>Type '{0}' cannot be embedded because it has a re-abstraction of a member from base interface. Consider setting the 'Embed Interop Types' property to false.</source>
<target state="translated">Typ {0} nemůže být vložený, protože má reabstrakci člena ze základního rozhraní. Zvažte nastavení vlastnosti Vložit typy spolupráce na hodnotu false.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ReadOnlyModMissingAccessor">
<source>'{0}': 'readonly' can only be used on accessors if the property or indexer has both a get and a set accessor</source>
<target state="translated">{0}: U přístupových objektů se modifikátor readonly může použít jenom v případě, že vlastnost nebo indexer má přístupový objekt get i set.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RecordAmbigCtor">
<source>The primary constructor conflicts with the synthesized copy constructor.</source>
<target state="translated">Primární konstruktor je v konfliktu se syntetizovaně zkopírovaným konstruktorem.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefAssignNarrower">
<source>Cannot ref-assign '{1}' to '{0}' because '{1}' has a narrower escape scope than '{0}'.</source>
<target state="translated">Přiřazení odkazu {1} k {0} nelze provést, protože {1} má užší řídicí obor než {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefLocalOrParamExpected">
<source>The left-hand side of a ref assignment must be a ref local or parameter.</source>
<target state="translated">Levá strana přiřazení odkazu musí být lokální proměnná nebo parametr odkazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RelationalPatternWithNaN">
<source>Relational patterns may not be used for a floating-point NaN.</source>
<target state="translated">Relační vzory se nedají použít pro hodnotu Není číslo s plovoucí desetinnou čárkou.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RuntimeDoesNotSupportCovariantPropertiesOfClasses">
<source>'{0}': Target runtime doesn't support covariant types in overrides. Type must be '{2}' to match overridden member '{1}'</source>
<target state="translated">{0}: Cílový modul runtime nepodporuje v přepisech kovariantní typy. Typ musí být {2}, aby odpovídal přepsanému členu {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RuntimeDoesNotSupportCovariantReturnsOfClasses">
<source>'{0}': Target runtime doesn't support covariant return types in overrides. Return type must be '{2}' to match overridden member '{1}'</source>
<target state="translated">{0}: Cílový modul runtime nepodporuje v přepisech kovariantní návratové typy. Návratový typ musí být {2}, aby odpovídal přepsanému členu {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RuntimeDoesNotSupportProtectedAccessForInterfaceMember">
<source>Target runtime doesn't support 'protected', 'protected internal', or 'private protected' accessibility for a member of an interface.</source>
<target state="translated">Cílový modul runtime nepodporuje pro člena rozhraní přístupnost na úrovni Protected, Protected internal nebo Private protected.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfaces">
<source>Target runtime doesn't support static abstract members in interfaces.</source>
<target state="new">Target runtime doesn't support static abstract members in interfaces.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RuntimeDoesNotSupportStaticAbstractMembersInInterfacesForMember">
<source>'{0}' cannot implement interface member '{1}' in type '{2}' because the target runtime doesn't support static abstract members in interfaces.</source>
<target state="new">'{0}' cannot implement interface member '{1}' in type '{2}' because the target runtime doesn't support static abstract members in interfaces.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RuntimeDoesNotSupportUnmanagedDefaultCallConv">
<source>The target runtime doesn't support extensible or runtime-environment default calling conventions.</source>
<target state="translated">Cílový modul runtime nepodporuje rozšiřitelné konvence volání ani konvence volání výchozí pro prostředí modulu runtime.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SealedAPIInRecord">
<source>'{0}' cannot be sealed because containing record is not sealed.</source>
<target state="translated">Typ {0} nemůže být zapečetěný, protože není zapečetěný obsahující záznam.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SignatureMismatchInRecord">
<source>Record member '{0}' must return '{1}'.</source>
<target state="translated">Člen záznamu {0} musí vracet {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SimpleProgramDisallowsMainType">
<source>Cannot specify /main if there is a compilation unit with top-level statements.</source>
<target state="translated">Pokud existuje jednotka kompilace s příkazy nejvyšší úrovně, nedá se zadat /main.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SimpleProgramIsEmpty">
<source>At least one top-level statement must be non-empty.</source>
<target state="new">At least one top-level statement must be non-empty.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SimpleProgramLocalIsReferencedOutsideOfTopLevelStatement">
<source>Cannot use local variable or local function '{0}' declared in a top-level statement in this context.</source>
<target state="translated">Místní proměnná nebo místní funkce {0} deklarovaná v příkazu nejvyšší úrovně v tomto kontextu se nedá použít.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SimpleProgramMultipleUnitsWithTopLevelStatements">
<source>Only one compilation unit can have top-level statements.</source>
<target state="translated">Příkazy nejvyšší úrovně může mít jen jedna jednotka kompilace.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SimpleProgramNotAnExecutable">
<source>Program using top-level statements must be an executable.</source>
<target state="translated">Program, který používá příkazy nejvyšší úrovně, musí být spustitelný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SingleElementPositionalPatternRequiresDisambiguation">
<source>A single-element deconstruct pattern requires some other syntax for disambiguation. It is recommended to add a discard designator '_' after the close paren ')'.</source>
<target state="translated">Vzor deconstruct s jedním elementem vyžaduje určitou další syntaxi pro zajištění jednoznačnosti. Doporučuje se přidat označení discard „_“ za koncovou závorku „)“.</target>
<note />
</trans-unit>
<trans-unit id="ERR_StaticAPIInRecord">
<source>Record member '{0}' may not be static.</source>
<target state="translated">Člen záznamu {0} nemůže být statický.</target>
<note />
</trans-unit>
<trans-unit id="ERR_StaticAnonymousFunctionCannotCaptureThis">
<source>A static anonymous function cannot contain a reference to 'this' or 'base'.</source>
<target state="translated">Statická anonymní funkce nemůže obsahovat odkaz na this nebo base.</target>
<note />
</trans-unit>
<trans-unit id="ERR_StaticAnonymousFunctionCannotCaptureVariable">
<source>A static anonymous function cannot contain a reference to '{0}'.</source>
<target state="translated">Statická anonymní funkce nemůže obsahovat odkaz na {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_StaticLocalFunctionCannotCaptureThis">
<source>A static local function cannot contain a reference to 'this' or 'base'.</source>
<target state="translated">Statická lokální funkce nesmí obsahovat odkaz na this nebo base.</target>
<note />
</trans-unit>
<trans-unit id="ERR_StaticLocalFunctionCannotCaptureVariable">
<source>A static local function cannot contain a reference to '{0}'.</source>
<target state="translated">Statická lokální funkce nesmí obsahovat odkaz na {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_StaticMemberCantBeReadOnly">
<source>Static member '{0}' cannot be marked 'readonly'.</source>
<target state="translated">Statický člen {0} se nedá označit modifikátorem readonly.</target>
<note />
</trans-unit>
<trans-unit id="ERR_StdInOptionProvidedButConsoleInputIsNotRedirected">
<source>stdin argument '-' is specified, but input has not been redirected from the standard input stream.</source>
<target state="translated">Zadal se argument stdin -, ale vstup se nepřesměroval na stream standardního vstupu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SwitchArmSubsumed">
<source>The pattern is unreachable. It has already been handled by a previous arm of the switch expression or it is impossible to match.</source>
<target state="translated">Vzor není dostupný. Už se zpracoval v jiné části výrazu switch nebo není možné pro něj najít shodu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SwitchCaseSubsumed">
<source>The switch case is unreachable. It has already been handled by a previous case or it is impossible to match.</source>
<target state="translated">Případ příkazu switch není dostupný. Už se zpracoval v jiném případu nebo není možné pro něj najít shodu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SwitchExpressionNoBestType">
<source>No best type was found for the switch expression.</source>
<target state="translated">Pro výraz switch se nenašel žádný optimální typ.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SwitchGoverningExpressionRequiresParens">
<source>Parentheses are required around the switch governing expression.</source>
<target state="translated">Řídící výraz switch je nutné uzavřít do závorek.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TopLevelStatementAfterNamespaceOrType">
<source>Top-level statements must precede namespace and type declarations.</source>
<target state="translated">Příkazy nejvyšší úrovně se musí nacházet před obory názvů a deklaracemi typů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TripleDotNotAllowed">
<source>Unexpected character sequence '...'</source>
<target state="translated">Neočekáváná posloupnost znaků ...</target>
<note />
</trans-unit>
<trans-unit id="ERR_TupleElementNameMismatch">
<source>The name '{0}' does not identify tuple element '{1}'.</source>
<target state="translated">Název {0} neidentifikuje element tuple {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TupleSizesMismatchForBinOps">
<source>Tuple types used as operands of an == or != operator must have matching cardinalities. But this operator has tuple types of cardinality {0} on the left and {1} on the right.</source>
<target state="translated">Typy řazené kolekce členů, které se používají jako operandy operátoru == nebo !=, musí mít odpovídající kardinality. U tohoto operátoru je ale kardinalita typů řazené kolekce členů vlevo {0} a vpravo {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TypeConstraintsMustBeUniqueAndFirst">
<source>The 'class', 'struct', 'unmanaged', 'notnull', and 'default' constraints cannot be combined or duplicated, and must be specified first in the constraints list.</source>
<target state="translated">Omezení class, struct, unmanaged, notnull a default se nedají kombinovat ani použít více než jednou a v seznamu omezení se musí zadat jako první.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TypeIsNotAnInterpolatedStringHandlerType">
<source>'{0}' is not an interpolated string handler type.</source>
<target state="new">'{0}' is not an interpolated string handler type.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TypeMustBePublic">
<source>Type '{0}' must be public to be used as a calling convention.</source>
<target state="translated">Aby se typ {0} dal použít jako konvence volání, musí být veřejný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnmanagedCallersOnlyMethodsCannotBeCalledDirectly">
<source>'{0}' is attributed with 'UnmanagedCallersOnly' and cannot be called directly. Obtain a function pointer to this method.</source>
<target state="translated">{0} má atribut UnmanagedCallersOnly a nedá se volat napřímo. Pro tuto metodu získejte ukazatel na funkci.</target>
<note>UnmanagedCallersOnly is not localizable.</note>
</trans-unit>
<trans-unit id="ERR_UnmanagedCallersOnlyMethodsCannotBeConvertedToDelegate">
<source>'{0}' is attributed with 'UnmanagedCallersOnly' and cannot be converted to a delegate type. Obtain a function pointer to this method.</source>
<target state="translated">{0} má atribut UnmanagedCallersOnly a nedá se převést na typ delegáta. Pro tuto metodu získejte ukazatel na funkci.</target>
<note>UnmanagedCallersOnly is not localizable.</note>
</trans-unit>
<trans-unit id="ERR_WrongArityAsyncReturn">
<source>A generic task-like return type was expected, but the type '{0}' found in 'AsyncMethodBuilder' attribute was not suitable. It must be an unbound generic type of arity one, and its containing type (if any) must be non-generic.</source>
<target state="new">A generic task-like return type was expected, but the type '{0}' found in 'AsyncMethodBuilder' attribute was not suitable. It must be an unbound generic type of arity one, and its containing type (if any) must be non-generic.</target>
<note />
</trans-unit>
<trans-unit id="HDN_DuplicateWithGlobalUsing">
<source>The using directive for '{0}' appeared previously as global using</source>
<target state="new">The using directive for '{0}' appeared previously as global using</target>
<note />
</trans-unit>
<trans-unit id="HDN_DuplicateWithGlobalUsing_Title">
<source>The using directive appeared previously as global using</source>
<target state="new">The using directive appeared previously as global using</target>
<note />
</trans-unit>
<trans-unit id="IDS_AsyncMethodBuilderOverride">
<source>async method builder override</source>
<target state="new">async method builder override</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureCovariantReturnsForOverrides">
<source>covariant returns</source>
<target state="translated">kovariantní návratové hodnoty</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureDiscards">
<source>discards</source>
<target state="translated">discards</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureExtendedPropertyPatterns">
<source>extended property patterns</source>
<target state="new">extended property patterns</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureFileScopedNamespace">
<source>file-scoped namespace</source>
<target state="new">file-scoped namespace</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureGenericAttributes">
<source>generic attributes</source>
<target state="new">generic attributes</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureGlobalUsing">
<source>global using directive</source>
<target state="new">global using directive</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureImplicitObjectCreation">
<source>target-typed object creation</source>
<target state="translated">Vytvoření objektu s cílovým typem</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureImprovedInterpolatedStrings">
<source>interpolated string handlers</source>
<target state="new">interpolated string handlers</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureInferredDelegateType">
<source>inferred delegate type</source>
<target state="new">inferred delegate type</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureLambdaAttributes">
<source>lambda attributes</source>
<target state="new">lambda attributes</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureLambdaReturnType">
<source>lambda return type</source>
<target state="new">lambda return type</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureLineSpanDirective">
<source>line span directive</source>
<target state="new">line span directive</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureParameterlessStructConstructors">
<source>parameterless struct constructors</source>
<target state="new">parameterless struct constructors</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeaturePositionalFieldsInRecords">
<source>positional fields in records</source>
<target state="new">positional fields in records</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureRecordStructs">
<source>record structs</source>
<target state="new">record structs</target>
<note>'record structs' is not localizable.</note>
</trans-unit>
<trans-unit id="IDS_FeatureSealedToStringInRecord">
<source>sealed ToString in record</source>
<target state="translated">zapečetěný ToString v záznamu</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureStructFieldInitializers">
<source>struct field initializers</source>
<target state="new">struct field initializers</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureWithOnAnonymousTypes">
<source>with on anonymous types</source>
<target state="new">with on anonymous types</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureStaticAbstractMembersInInterfaces">
<source>static abstract members in interfaces</source>
<target state="new">static abstract members in interfaces</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureWithOnStructs">
<source>with on structs</source>
<target state="new">with on structs</target>
<note />
</trans-unit>
<trans-unit id="WRN_AnalyzerReferencesFramework">
<source>The assembly '{0}' containing type '{1}' references .NET Framework, which is not supported.</source>
<target state="translated">Sestavení {0}, které obsahuje typ {1}, se odkazuje na architekturu .NET Framework, což se nepodporuje.</target>
<note>{1} is the type that was loaded, {0} is the containing assembly.</note>
</trans-unit>
<trans-unit id="WRN_AnalyzerReferencesFramework_Title">
<source>The loaded assembly references .NET Framework, which is not supported.</source>
<target state="translated">Načtené sestavení se odkazuje na architekturu .NET Framework, což se nepodporuje</target>
<note />
</trans-unit>
<trans-unit id="WRN_AttrDependentTypeNotAllowed">
<source>Type '{0}' cannot be used in this context because it cannot be represented in metadata.</source>
<target state="new">Type '{0}' cannot be used in this context because it cannot be represented in metadata.</target>
<note />
</trans-unit>
<trans-unit id="WRN_AttrDependentTypeNotAllowed_Title">
<source>Type cannot be used in this context because it cannot be represented in metadata.</source>
<target state="new">Type cannot be used in this context because it cannot be represented in metadata.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerArgumentExpressionAttributeHasInvalidParameterName">
<source>The CallerArgumentExpressionAttribute applied to parameter '{0}' will have no effect. It is applied with an invalid parameter name.</source>
<target state="new">The CallerArgumentExpressionAttribute applied to parameter '{0}' will have no effect. It is applied with an invalid parameter name.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerArgumentExpressionAttributeHasInvalidParameterName_Title">
<source>The CallerArgumentExpressionAttribute is applied with an invalid parameter name.</source>
<target state="new">The CallerArgumentExpressionAttribute is applied with an invalid parameter name.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerArgumentExpressionAttributeSelfReferential">
<source>The CallerArgumentExpressionAttribute applied to parameter '{0}' will have no effect because it's self-referential.</source>
<target state="new">The CallerArgumentExpressionAttribute applied to parameter '{0}' will have no effect because it's self-referential.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerArgumentExpressionAttributeSelfReferential_Title">
<source>The CallerArgumentExpressionAttribute applied to parameter will have no effect because it's self-refential.</source>
<target state="new">The CallerArgumentExpressionAttribute applied to parameter will have no effect because it's self-refential.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerArgumentExpressionParamForUnconsumedLocation">
<source>The CallerArgumentExpressionAttribute applied to parameter '{0}' will have no effect because it applies to a member that is used in contexts that do not allow optional arguments</source>
<target state="new">The CallerArgumentExpressionAttribute applied to parameter '{0}' will have no effect because it applies to a member that is used in contexts that do not allow optional arguments</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerArgumentExpressionParamForUnconsumedLocation_Title">
<source>The CallerArgumentExpressionAttribute will have no effect because it applies to a member that is used in contexts that do not allow optional arguments</source>
<target state="new">The CallerArgumentExpressionAttribute will have no effect because it applies to a member that is used in contexts that do not allow optional arguments</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerFilePathPreferredOverCallerArgumentExpression">
<source>The CallerArgumentExpressionAttribute applied to parameter '{0}' will have no effect. It is overridden by the CallerFilePathAttribute.</source>
<target state="new">The CallerArgumentExpressionAttribute applied to parameter '{0}' will have no effect. It is overridden by the CallerFilePathAttribute.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerFilePathPreferredOverCallerArgumentExpression_Title">
<source>The CallerArgumentExpressionAttribute will have no effect; it is overridden by the CallerFilePathAttribute</source>
<target state="new">The CallerArgumentExpressionAttribute will have no effect; it is overridden by the CallerFilePathAttribute</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerLineNumberPreferredOverCallerArgumentExpression">
<source>The CallerArgumentExpressionAttribute applied to parameter '{0}' will have no effect. It is overridden by the CallerLineNumberAttribute.</source>
<target state="new">The CallerArgumentExpressionAttribute applied to parameter '{0}' will have no effect. It is overridden by the CallerLineNumberAttribute.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerLineNumberPreferredOverCallerArgumentExpression_Title">
<source>The CallerArgumentExpressionAttribute will have no effect; it is overridden by the CallerLineNumberAttribute</source>
<target state="new">The CallerArgumentExpressionAttribute will have no effect; it is overridden by the CallerLineNumberAttribute</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerMemberNamePreferredOverCallerArgumentExpression">
<source>The CallerArgumentExpressionAttribute applied to parameter '{0}' will have no effect. It is overridden by the CallerMemberNameAttribute.</source>
<target state="new">The CallerArgumentExpressionAttribute applied to parameter '{0}' will have no effect. It is overridden by the CallerMemberNameAttribute.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerMemberNamePreferredOverCallerArgumentExpression_Title">
<source>The CallerArgumentExpressionAttribute will have no effect; it is overridden by the CallerMemberNameAttribute</source>
<target state="new">The CallerArgumentExpressionAttribute will have no effect; it is overridden by the CallerMemberNameAttribute</target>
<note />
</trans-unit>
<trans-unit id="WRN_DoNotCompareFunctionPointers">
<source>Comparison of function pointers might yield an unexpected result, since pointers to the same function may be distinct.</source>
<target state="translated">Porovnání ukazatelů funkcí může přinést neočekávaný výsledek, protože ukazatele na stejnou funkci můžou být rozdílné.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DoNotCompareFunctionPointers_Title">
<source>Do not compare function pointer values</source>
<target state="translated">Neporovnávat hodnoty ukazatelů funkcí</target>
<note />
</trans-unit>
<trans-unit id="WRN_InterpolatedStringHandlerArgumentAttributeIgnoredOnLambdaParameters">
<source>InterpolatedStringHandlerArgument has no effect when applied to lambda parameters and will be ignored at the call site.</source>
<target state="new">InterpolatedStringHandlerArgument has no effect when applied to lambda parameters and will be ignored at the call site.</target>
<note />
</trans-unit>
<trans-unit id="WRN_InterpolatedStringHandlerArgumentAttributeIgnoredOnLambdaParameters_Title">
<source>InterpolatedStringHandlerArgument has no effect when applied to lambda parameters and will be ignored at the call site.</source>
<target state="new">InterpolatedStringHandlerArgument has no effect when applied to lambda parameters and will be ignored at the call site.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ParameterNotNullIfNotNull">
<source>Parameter '{0}' must have a non-null value when exiting because parameter '{1}' is non-null.</source>
<target state="translated">Parametr {0} musí mít při ukončení hodnotu jinou než null, protože parametr {1} není null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ParameterNotNullIfNotNull_Title">
<source>Parameter must have a non-null value when exiting because parameter referenced by NotNullIfNotNull is non-null.</source>
<target state="translated">Parametr musí mít při ukončení hodnotu jinou než null, protože parametr, na který se odkazuje NotNullIfNotNull není null</target>
<note />
</trans-unit>
<trans-unit id="WRN_ParameterOccursAfterInterpolatedStringHandlerParameter">
<source>Parameter {0} occurs after {1} in the parameter list, but is used as an argument for interpolated string handler conversions. This will require the caller to reorder parameters with named arguments at the call site. Consider putting the interpolated string handler parameter after all arguments involved.</source>
<target state="new">Parameter {0} occurs after {1} in the parameter list, but is used as an argument for interpolated string handler conversions. This will require the caller to reorder parameters with named arguments at the call site. Consider putting the interpolated string handler parameter after all arguments involved.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ParameterOccursAfterInterpolatedStringHandlerParameter_Title">
<source>Parameter to interpolated string handler conversion occurs after handler parameter</source>
<target state="new">Parameter to interpolated string handler conversion occurs after handler parameter</target>
<note />
</trans-unit>
<trans-unit id="WRN_RecordEqualsWithoutGetHashCode">
<source>'{0}' defines 'Equals' but not 'GetHashCode'</source>
<target state="translated">{0} definuje Equals, ale ne GetHashCode.</target>
<note>'GetHashCode' and 'Equals' are not localizable.</note>
</trans-unit>
<trans-unit id="WRN_RecordEqualsWithoutGetHashCode_Title">
<source>Record defines 'Equals' but not 'GetHashCode'.</source>
<target state="translated">Záznam definuje Equals, ale ne GetHashCode</target>
<note>'GetHashCode' and 'Equals' are not localizable.</note>
</trans-unit>
<trans-unit id="IDS_FeatureMixedDeclarationsAndExpressionsInDeconstruction">
<source>Mixed declarations and expressions in deconstruction</source>
<target state="translated">Smíšené deklarace a výrazy v dekonstrukci</target>
<note />
</trans-unit>
<trans-unit id="WRN_PartialMethodTypeDifference">
<source>Partial method declarations '{0}' and '{1}' have signature differences.</source>
<target state="new">Partial method declarations '{0}' and '{1}' have signature differences.</target>
<note />
</trans-unit>
<trans-unit id="WRN_PartialMethodTypeDifference_Title">
<source>Partial method declarations have signature differences.</source>
<target state="new">Partial method declarations have signature differences.</target>
<note />
</trans-unit>
<trans-unit id="WRN_RecordNamedDisallowed">
<source>Types and aliases should not be named 'record'.</source>
<target state="translated">Typy a aliasy by neměly mít název record.</target>
<note />
</trans-unit>
<trans-unit id="WRN_RecordNamedDisallowed_Title">
<source>Types and aliases should not be named 'record'.</source>
<target state="translated">Typy a aliasy by neměly mít název record</target>
<note />
</trans-unit>
<trans-unit id="WRN_ReturnNotNullIfNotNull">
<source>Return value must be non-null because parameter '{0}' is non-null.</source>
<target state="translated">Návratová hodnota musí být jiná než null, protože parametr {0} není null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ReturnNotNullIfNotNull_Title">
<source>Return value must be non-null because parameter is non-null.</source>
<target state="translated">Návratová hodnota musí být jiná než null, protože parametr není null</target>
<note />
</trans-unit>
<trans-unit id="WRN_SwitchExpressionNotExhaustiveWithUnnamedEnumValue">
<source>The switch expression does not handle some values of its input type (it is not exhaustive) involving an unnamed enum value. For example, the pattern '{0}' is not covered.</source>
<target state="translated">Výraz switch nezachycuje některé hodnoty vstupního typu (není úplný) včetně nepojmenované hodnoty výčtu. Nezachycuje například vzor {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_SwitchExpressionNotExhaustiveWithUnnamedEnumValue_Title">
<source>The switch expression does not handle some values of its input type (it is not exhaustive) involving an unnamed enum value.</source>
<target state="translated">Výraz switch nezachycuje některé hodnoty vstupního typu (není úplný) včetně nepojmenované hodnoty výčtu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_SyncAndAsyncEntryPoints">
<source>Method '{0}' will not be used as an entry point because a synchronous entry point '{1}' was found.</source>
<target state="translated">Metoda {0} se nepoužije jako vstupní bod, protože se našel synchronní vstupní bod {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TypeNotFound">
<source>Type '{0}' is not defined.</source>
<target state="translated">Typ {0} není definovaný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnexpectedArgumentList">
<source>Unexpected argument list.</source>
<target state="translated">Neočekávaný seznam argumentů</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnexpectedOrMissingConstructorInitializerInRecord">
<source>A constructor declared in a record with parameter list must have 'this' constructor initializer.</source>
<target state="translated">Konstruktor deklarovaný v záznamu se seznamem parametrů musí mít inicializátor konstruktoru this.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnexpectedVarianceStaticMember">
<source>Invalid variance: The type parameter '{1}' must be {3} valid on '{0}' unless language version '{4}' or greater is used. '{1}' is {2}.</source>
<target state="translated">Neplatná odchylka: Parametr typu {1} musí být {3} platný v {0}, pokud není použita verze jazyka {4} nebo vyšší. {1} je {2}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnmanagedBoundWithClass">
<source>'{0}': cannot specify both a constraint class and the 'unmanaged' constraint</source>
<target state="translated">{0}: Nejde zadat třídu omezení a zároveň omezení unmanaged.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnmanagedCallersOnlyMethodOrTypeCannotBeGeneric">
<source>Methods attributed with 'UnmanagedCallersOnly' cannot have generic type parameters and cannot be declared in a generic type.</source>
<target state="translated">Metody, které mají atribut UnmanagedCallersOnly, nemůžou mít obecné typy parametrů a nedají se deklarovat v obecném typu.</target>
<note>UnmanagedCallersOnly is not localizable.</note>
</trans-unit>
<trans-unit id="ERR_UnmanagedCallersOnlyRequiresStatic">
<source>'UnmanagedCallersOnly' can only be applied to ordinary static non-abstract methods or static local functions.</source>
<target state="needs-review-translation">UnmanagedCallersOnly se dá použít jen pro běžné statické metody nebo statické místní funkce.</target>
<note>UnmanagedCallersOnly is not localizable.</note>
</trans-unit>
<trans-unit id="ERR_UnmanagedConstraintNotSatisfied">
<source>The type '{2}' must be a non-nullable value type, along with all fields at any level of nesting, in order to use it as parameter '{1}' in the generic type or method '{0}'</source>
<target state="translated">Typ {2} musí být typ, který nemůže mít hodnotu null, ani nesmí v žádné úrovni vnoření obsahovat pole, které by ji povolovalo, aby se dal použít jako parametr {1} v obecném typu nebo metodě {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnsupportedCallingConvention">
<source>The calling convention of '{0}' is not supported by the language.</source>
<target state="translated">Jazyk nepodporuje konvenci volání {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnsupportedTypeForRelationalPattern">
<source>Relational patterns may not be used for a value of type '{0}'.</source>
<target state="translated">Relační vzory se nedají používat pro hodnotu typu {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UsingVarInSwitchCase">
<source>A using variable cannot be used directly within a switch section (consider using braces). </source>
<target state="translated">Proměnnou using není možné v sekci switch použít přímo (zvažte použití složených závorek). </target>
<note />
</trans-unit>
<trans-unit id="ERR_VarMayNotBindToType">
<source>The syntax 'var' for a pattern is not permitted to refer to a type, but '{0}' is in scope here.</source>
<target state="translated">U syntaxe var pro vzor se nepovoluje odkazování na typ, ale {0} je tady v rámci rozsahu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_VarianceInterfaceNesting">
<source>Enums, classes, and structures cannot be declared in an interface that has an 'in' or 'out' type parameter.</source>
<target state="translated">Výčty, třídy a struktury není možné deklarovat v rozhraní, které má parametr typu in/out.</target>
<note />
</trans-unit>
<trans-unit id="ERR_WrongFuncPtrCallingConvention">
<source>Calling convention of '{0}' is not compatible with '{1}'.</source>
<target state="translated">Konvence volání pro {0} není kompatibilní s {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_WrongNumberOfSubpatterns">
<source>Matching the tuple type '{0}' requires '{1}' subpatterns, but '{2}' subpatterns are present.</source>
<target state="translated">Přiřazení k řazené kolekci členů typu {0} vyžaduje dílčí vzory {1}, ale k dispozici jsou dílčí vzory {2}.</target>
<note />
</trans-unit>
<trans-unit id="FTL_InvalidInputFileName">
<source>File name '{0}' is empty, contains invalid characters, has a drive specification without an absolute path, or is too long</source>
<target state="translated">Název souboru {0} je prázdný, obsahuje neplatné znaky, má specifikaci jednotky bez absolutní cesty nebo je moc dlouhý.</target>
<note />
</trans-unit>
<trans-unit id="IDS_AddressOfMethodGroup">
<source>&method group</source>
<target state="translated">skupina &metod</target>
<note />
</trans-unit>
<trans-unit id="IDS_CSCHelp">
<source>
Visual C# Compiler Options
- OUTPUT FILES -
-out:<file> Specify output file name (default: base name of
file with main class or first file)
-target:exe Build a console executable (default) (Short
form: -t:exe)
-target:winexe Build a Windows executable (Short form:
-t:winexe)
-target:library Build a library (Short form: -t:library)
-target:module Build a module that can be added to another
assembly (Short form: -t:module)
-target:appcontainerexe Build an Appcontainer executable (Short form:
-t:appcontainerexe)
-target:winmdobj Build a Windows Runtime intermediate file that
is consumed by WinMDExp (Short form: -t:winmdobj)
-doc:<file> XML Documentation file to generate
-refout:<file> Reference assembly output to generate
-platform:<string> Limit which platforms this code can run on: x86,
Itanium, x64, arm, arm64, anycpu32bitpreferred, or
anycpu. The default is anycpu.
- INPUT FILES -
-recurse:<wildcard> Include all files in the current directory and
subdirectories according to the wildcard
specifications
-reference:<alias>=<file> Reference metadata from the specified assembly
file using the given alias (Short form: -r)
-reference:<file list> Reference metadata from the specified assembly
files (Short form: -r)
-addmodule:<file list> Link the specified modules into this assembly
-link:<file list> Embed metadata from the specified interop
assembly files (Short form: -l)
-analyzer:<file list> Run the analyzers from this assembly
(Short form: -a)
-additionalfile:<file list> Additional files that don't directly affect code
generation but may be used by analyzers for producing
errors or warnings.
-embed Embed all source files in the PDB.
-embed:<file list> Embed specific files in the PDB.
- RESOURCES -
-win32res:<file> Specify a Win32 resource file (.res)
-win32icon:<file> Use this icon for the output
-win32manifest:<file> Specify a Win32 manifest file (.xml)
-nowin32manifest Do not include the default Win32 manifest
-resource:<resinfo> Embed the specified resource (Short form: -res)
-linkresource:<resinfo> Link the specified resource to this assembly
(Short form: -linkres) Where the resinfo format
is <file>[,<string name>[,public|private]]
- CODE GENERATION -
-debug[+|-] Emit debugging information
-debug:{full|pdbonly|portable|embedded}
Specify debugging type ('full' is default,
'portable' is a cross-platform format,
'embedded' is a cross-platform format embedded into
the target .dll or .exe)
-optimize[+|-] Enable optimizations (Short form: -o)
-deterministic Produce a deterministic assembly
(including module version GUID and timestamp)
-refonly Produce a reference assembly in place of the main output
-instrument:TestCoverage Produce an assembly instrumented to collect
coverage information
-sourcelink:<file> Source link info to embed into PDB.
- ERRORS AND WARNINGS -
-warnaserror[+|-] Report all warnings as errors
-warnaserror[+|-]:<warn list> Report specific warnings as errors
(use "nullable" for all nullability warnings)
-warn:<n> Set warning level (0 or higher) (Short form: -w)
-nowarn:<warn list> Disable specific warning messages
(use "nullable" for all nullability warnings)
-ruleset:<file> Specify a ruleset file that disables specific
diagnostics.
-errorlog:<file>[,version=<sarif_version>]
Specify a file to log all compiler and analyzer
diagnostics.
sarif_version:{1|2|2.1} Default is 1. 2 and 2.1
both mean SARIF version 2.1.0.
-reportanalyzer Report additional analyzer information, such as
execution time.
-skipanalyzers[+|-] Skip execution of diagnostic analyzers.
- LANGUAGE -
-checked[+|-] Generate overflow checks
-unsafe[+|-] Allow 'unsafe' code
-define:<symbol list> Define conditional compilation symbol(s) (Short
form: -d)
-langversion:? Display the allowed values for language version
-langversion:<string> Specify language version such as
`latest` (latest version, including minor versions),
`default` (same as `latest`),
`latestmajor` (latest version, excluding minor versions),
`preview` (latest version, including features in unsupported preview),
or specific versions like `6` or `7.1`
-nullable[+|-] Specify nullable context option enable|disable.
-nullable:{enable|disable|warnings|annotations}
Specify nullable context option enable|disable|warnings|annotations.
- SECURITY -
-delaysign[+|-] Delay-sign the assembly using only the public
portion of the strong name key
-publicsign[+|-] Public-sign the assembly using only the public
portion of the strong name key
-keyfile:<file> Specify a strong name key file
-keycontainer:<string> Specify a strong name key container
-highentropyva[+|-] Enable high-entropy ASLR
- MISCELLANEOUS -
@<file> Read response file for more options
-help Display this usage message (Short form: -?)
-nologo Suppress compiler copyright message
-noconfig Do not auto include CSC.RSP file
-parallel[+|-] Concurrent build.
-version Display the compiler version number and exit.
- ADVANCED -
-baseaddress:<address> Base address for the library to be built
-checksumalgorithm:<alg> Specify algorithm for calculating source file
checksum stored in PDB. Supported values are:
SHA1 or SHA256 (default).
-codepage:<n> Specify the codepage to use when opening source
files
-utf8output Output compiler messages in UTF-8 encoding
-main:<type> Specify the type that contains the entry point
(ignore all other possible entry points) (Short
form: -m)
-fullpaths Compiler generates fully qualified paths
-filealign:<n> Specify the alignment used for output file
sections
-pathmap:<K1>=<V1>,<K2>=<V2>,...
Specify a mapping for source path names output by
the compiler.
-pdb:<file> Specify debug information file name (default:
output file name with .pdb extension)
-errorendlocation Output line and column of the end location of
each error
-preferreduilang Specify the preferred output language name.
-nosdkpath Disable searching the default SDK path for standard library assemblies.
-nostdlib[+|-] Do not reference standard library (mscorlib.dll)
-subsystemversion:<string> Specify subsystem version of this assembly
-lib:<file list> Specify additional directories to search in for
references
-errorreport:<string> Specify how to handle internal compiler errors:
prompt, send, queue, or none. The default is
queue.
-appconfig:<file> Specify an application configuration file
containing assembly binding settings
-moduleassemblyname:<string> Name of the assembly which this module will be
a part of
-modulename:<string> Specify the name of the source module
-generatedfilesout:<dir> Place files generated during compilation in the
specified directory.
</source>
<target state="translated">
Parametry kompilátoru Visual C#
- VÝSTUPNÍ SOUBORY -
-out:<file> Určuje název výstupního souboru (výchozí: základní název
souboru s hlavní třídou nebo prvního souboru)
-target:exe Vytvoří spustitelný soubor konzoly (výchozí). (Krátký
formát: -t:exe)
-target:winexe Vytvoří spustitelný soubor systému Windows. (Krátký formát:
-t:winexe)
-target:library Vytvoří knihovnu. (Krátký formát: -t:library)
-target:module Vytvoří modul, který se dá přidat do jiného
sestavení. (Krátký formát: -t:module)
-target:appcontainerexe Sestaví spustitelný soubor kontejneru Appcontainer. (Krátký formát:
-t:appcontainerexe)
-target:winmdobj Sestaví pomocný soubor modulu Windows Runtime, který
využívá knihovna WinMDExp. (Krátký formát: -t:winmdobj)
-doc:<file> Soubor dokumentace XML, který má být vygenerován
-refout:<file> Výstup referenčního sestavení, který má být vygenerován
-platform:<string> Omezuje platformy, na kterých lze tento kód spustit: x86,
Itanium, x64, arm, arm64, anycpu32bitpreferred nebo
anycpu. Výchozí nastavení je anycpu.
- VSTUPNÍ SOUBORY -
-recurse:<wildcard> Zahrne všechny soubory v aktuálním adresáři
a jeho podadresářích podle zadaného
zástupného znaku.
-reference:<alias>=<file> Odkazuje na metadata ze zadaného souboru sestavení
pomocí daného aliasu. (Krátký formát: -r)
-reference:<file list> Odkazuje na metadata ze zadaných souborů
sestavení (Krátký formát: -r)
-addmodule:<file list> Připojí zadané moduly k tomuto sestavení.
-link:<file list> Vloží metadata ze zadaných souborů
sestavení spolupráce (Krátký formát: -l)
-analyzer:<file list> Spustí analyzátory z tohoto sestavení.
(Krátký formát: -a)
-additionalfile:<file list> Další soubory, které přímo neovlivňují generování
kódu, ale analyzátory můžou jejich pomocí
produkovat chyby nebo upozornění.
-embed Vloží všechny zdrojové soubory do PDB.
-embed:<file list> Vloží konkrétní soubory do PDB.
- PROSTŘEDKY -
-win32res:<file> Určuje soubor prostředků Win32 (.res).
-win32icon:<file> Použije pro výstup zadanou ikonu.
-win32manifest:<file> Určuje soubor manifestu Win32 (.xml).
-nowin32manifest Nezahrne výchozí manifest Win32.
-resource:<resinfo> Vloží zadaný prostředek. (Krátký formát: -res)
-linkresource:<resinfo> Propojí zadaný prostředek s tímto sestavením.
(Krátký formát: -linkres) Prostředek má formát
is <file>[,<string name>[,public|private]].
- GENEROVÁNÍ KÓDU -
-debug[+|-] Generuje ladicí informace.
-debug:{full|pdbonly|portable|embedded}
Určuje typ ladění (výchozí je možnost full,
portable je formát napříč platformami,
embedded je formát napříč platformami vložený do
cílového souboru .dll nebo .exe).
-optimize[+|-] Povolí optimalizace. (Krátký formát: -o)
-deterministic Vytvoří deterministické sestavení
(včetně GUID verze modulu a časového razítka).
-refonly Vytvoří referenční sestavení na místě hlavního výstupu.
-instrument:TestCoverage Vytvoří sestavení instrumentované ke shromažďování
informací o pokrytí.
-sourcelink:<file> Informace o zdrojovém odkazu vkládané do souboru PDB..
- CHYBY A UPOZORNĚNÍ -
-warnaserror[+|-] Hlásí všechna upozornění jako chyby.
-warnaserror[+|-]:<warn list> Hlásí zadaná upozornění jako chyby.
(Pro všechna upozornění na možnost použití hodnoty null použijte nullable.)
-warn:<n> Nastaví úroveň pro upozornění (0 a více). (Krátký formát: -w)
-nowarn:<warn list> Zakáže zadaná upozornění.
(Pro všechna upozornění na možnost použití hodnoty null použijte nullable.)
-ruleset:<file> Určuje soubor sady pravidel, která zakazuje
specifickou diagnostiku.
-errorlog:<file>[,version=<sarif_version>]
Určuje soubor pro protokolování veškeré
diagnostiky kompilátoru a analyzátoru.
verze_sarif:{1|2|2.1} Výchozí jsou 1. 2 a 2.1.
Obojí znamená SARIF verze 2.1.0.
-reportanalyzer Hlásí další informace analyzátoru, např.
dobu spuštění.
-skipanalyzers[+|-] Přeskočí spouštění diagnostických analyzátorů.
- JAZYK -
-checked[+|-] Generuje kontroly přetečení.
-unsafe[+|-] Povoluje nezabezpečený kód.
-define:<symbol list> Definuje symboly podmíněné kompilace. (Krátký
formát: -d)
-langversion:? Zobrazuje povolené hodnoty pro verzi jazyka.
-langversion:<string> Určuje verzi jazyka, například:
latest (poslední verze včetně podverzí),
default (stejné jako latest),
latestmajor (poslední verze bez podverzí),
preview (poslední verze včetně funkcí v nepodporované verzi preview)
nebo konkrétní verze, například 6 nebo 7.1.
-nullable[+|-] Určuje pro kontext s hodnotou null možnosti enable|disable.
-nullable:{enable|disable|warnings|annotations}
Určuje pro kontext s hodnotou null možnosti enable|disable|warnings|annotations.
- ZABEZPEČENÍ -
-delaysign[+|-] Vytvoří zpožděný podpis sestavení s využitím
jenom veřejné části klíče silného názvu.
-publicsign[+|-] Vytvoří veřejný podpis sestavení s využitím jenom veřejné
části klíče silného názvu.
-keyfile:<file> Určuje soubor klíče se silným názvem.
-keycontainer:<string> Určuje kontejner klíče se silným názvem.
-highentropyva[+|-] Povolí ASLR s vysokou entropií.
- RŮZNÉ -
@<file> Načte další možnosti ze souboru odpovědí.
-help Zobrazí tuto zprávu o použití. (Krátký formát: -?)
-nologo Potlačí zprávu o autorských právech kompilátoru.
-noconfig Nezahrnuje automaticky soubor CSC.RSP.
-parallel[+|-] Souběžné sestavení.
-version Zobrazí číslo verze kompilátoru a ukončí se.
- POKROČILÉ -
-baseaddress:<address> Základní adresa pro knihovnu, která se má sestavit.
-checksumalgorithm:<alg> Určuje algoritmus pro výpočet kontrolního součtu
zdrojového souboru uloženého v PDB. Podporované hodnoty:
SHA1 nebo SHA256 (výchozí).
-codepage:<n> Určuje znakovou stránku, která se má použít
při otevírání zdrojových souborů.
-utf8output Určuje výstup zpráv kompilátoru v kódování UTF-8.
-main:<typ> Určuje typ obsahující vstupní bod
(ignoruje všechny ostatní potenciální vstupní body). (Krátký
formát: -m)
-fullpaths Kompilátor generuje úplné cesty.
-filealign:<n> Určuje zarovnání použité pro oddíly výstupního
souboru.
-pathmap:<K1>=<V1>,<K2>=<V2>,...
Určuje mapování pro výstup zdrojových názvů cest
kompilátorem.
-pdb:<file> Určuje název souboru ladicích informací (výchozí:
název výstupního souboru s příponou .pdb).
-errorendlocation Vypíše řádek a sloupec koncového umístění
jednotlivých chyb.
-preferreduilang Určuje název upřednostňovaného výstupního jazyka.
-nosdkpath Zakazuje hledání cesty k výchozí sadě SDK pro sestavení standardních knihoven.
-nostdlib[+|-] Neodkazuje na standardní knihovnu (mscorlib.dll).
-subsystemversion:<string> Určuje verzi subsystému tohoto sestavení.
-lib:<file list> Určuje další adresáře, ve kterých se mají
hledat reference.
-errorreport:<řetězec> Určuje způsob zpracování interních chyb kompilátoru:
prompt, send, queue nebo none. Výchozí možnost je
queue (zařadit do fronty).
-appconfig:<file> Určuje konfigurační soubor aplikace,
který obsahuje nastavení vazby sestavení.
-moduleassemblyname:<string> Určuje název sestavení, jehož součástí bude
tento modul.
-modulename:<string> Určuje název zdrojového modulu.
-generatedfilesout:<dir> Umístí soubory vygenerované během kompilace
do zadaného adresáře.
</target>
<note>Visual C# Compiler Options</note>
</trans-unit>
<trans-unit id="IDS_DefaultInterfaceImplementation">
<source>default interface implementation</source>
<target state="translated">implementace výchozího rozhraní</target>
<note />
</trans-unit>
<trans-unit id="IDS_Disposable">
<source>disposable</source>
<target state="translated">jednoúčelové</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureAltInterpolatedVerbatimStrings">
<source>alternative interpolated verbatim strings</source>
<target state="translated">alternativní interpolované doslovné řetězce</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureAndPattern">
<source>and pattern</source>
<target state="translated">vzor and</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureAsyncUsing">
<source>asynchronous using</source>
<target state="translated">asynchronní příkaz using</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureCoalesceAssignmentExpression">
<source>coalescing assignment</source>
<target state="translated">slučovací přiřazení</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureConstantInterpolatedStrings">
<source>constant interpolated strings</source>
<target state="translated">konstantní interpolované řetězce</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureDefaultTypeParameterConstraint">
<source>default type parameter constraints</source>
<target state="translated">výchozí omezení parametru typu</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureDelegateGenericTypeConstraint">
<source>delegate generic type constraints</source>
<target state="translated">delegovat obecná omezení typu</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureEnumGenericTypeConstraint">
<source>enum generic type constraints</source>
<target state="translated">výčet obecných omezení typu</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureExpressionVariablesInQueriesAndInitializers">
<source>declaration of expression variables in member initializers and queries</source>
<target state="translated">deklarace proměnných výrazu v inicializátorech členů a dotazech</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureExtendedPartialMethods">
<source>extended partial methods</source>
<target state="translated">rozšířené částečné metody</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureExtensibleFixedStatement">
<source>extensible fixed statement</source>
<target state="translated">rozšiřitelný příkaz fixed</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureExtensionGetAsyncEnumerator">
<source>extension GetAsyncEnumerator</source>
<target state="translated">rozšíření GetAsyncEnumerator</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureExtensionGetEnumerator">
<source>extension GetEnumerator</source>
<target state="translated">rozšíření GetEnumerator</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureExternLocalFunctions">
<source>extern local functions</source>
<target state="translated">externí místní funkce</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureFunctionPointers">
<source>function pointers</source>
<target state="translated">ukazatele na funkci</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureIndexOperator">
<source>index operator</source>
<target state="translated">operátor indexu</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureIndexingMovableFixedBuffers">
<source>indexing movable fixed buffers</source>
<target state="translated">indexování mobilních vyrovnávacích pamětí pevné velikosti</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureInitOnlySetters">
<source>init-only setters</source>
<target state="translated">metody setter jenom pro inicializaci</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureLocalFunctionAttributes">
<source>local function attributes</source>
<target state="translated">atributy místních funkcí</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureLambdaDiscardParameters">
<source>lambda discard parameters</source>
<target state="translated">lambda – zahodit parametry</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureMemberNotNull">
<source>MemberNotNull attribute</source>
<target state="translated">Atribut MemberNotNull</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureModuleInitializers">
<source>module initializers</source>
<target state="translated">inicializátory modulů</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureNameShadowingInNestedFunctions">
<source>name shadowing in nested functions</source>
<target state="translated">skrývání názvů ve vnořených funkcích</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureNativeInt">
<source>native-sized integers</source>
<target state="translated">Celá čísla s nativní velikostí</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureNestedStackalloc">
<source>stackalloc in nested expressions</source>
<target state="translated">stackalloc ve vnořených výrazech</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureNotNullGenericTypeConstraint">
<source>notnull generic type constraint</source>
<target state="translated">omezení obecného typu notnull</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureNotPattern">
<source>not pattern</source>
<target state="translated">vzor not</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureNullPointerConstantPattern">
<source>null pointer constant pattern</source>
<target state="translated">konstantní vzor nulového ukazatele</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureNullableReferenceTypes">
<source>nullable reference types</source>
<target state="translated">typy odkazů s možnou hodnotou null</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureObsoleteOnPropertyAccessor">
<source>obsolete on property accessor</source>
<target state="translated">zastaralé u přístupového objektu vlastnosti</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureOrPattern">
<source>or pattern</source>
<target state="translated">vzor or</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureParenthesizedPattern">
<source>parenthesized pattern</source>
<target state="translated">vzor se závorkami</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeaturePragmaWarningEnable">
<source>warning action enable</source>
<target state="translated">akce upozornění enable</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureRangeOperator">
<source>range operator</source>
<target state="translated">operátor rozsahu</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureReadOnlyMembers">
<source>readonly members</source>
<target state="translated">členové s modifikátorem readonly</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureRecords">
<source>records</source>
<target state="translated">záznamy</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureRecursivePatterns">
<source>recursive patterns</source>
<target state="translated">rekurzivní vzory</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureRefConditional">
<source>ref conditional expression</source>
<target state="translated">referenční podmínka</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureRefFor">
<source>ref for-loop variables</source>
<target state="translated">Proměnné smyčky for odkazu</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureRefForEach">
<source>ref foreach iteration variables</source>
<target state="translated">Iterační proměnné foreach odkazu</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureRefReassignment">
<source>ref reassignment</source>
<target state="translated">Opětovné přiřazení odkazu</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureRelationalPattern">
<source>relational pattern</source>
<target state="translated">relační vzor</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureStackAllocInitializer">
<source>stackalloc initializer</source>
<target state="translated">inicializátor výrazu stackalloc</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureStaticAnonymousFunction">
<source>static anonymous function</source>
<target state="translated">statická anonymní funkce</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureStaticLocalFunctions">
<source>static local functions</source>
<target state="translated">statické místní funkce</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureSwitchExpression">
<source><switch expression></source>
<target state="translated"><výraz přepínače></target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureTargetTypedConditional">
<source>target-typed conditional expression</source>
<target state="translated">podmíněný výraz s typem cíle</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureTupleEquality">
<source>tuple equality</source>
<target state="translated">rovnost řazené kolekce členů</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureTypePattern">
<source>type pattern</source>
<target state="translated">vzor typu</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureUnconstrainedTypeParameterInNullCoalescingOperator">
<source>unconstrained type parameters in null coalescing operator</source>
<target state="translated">parametry neomezeného typu v operátoru sloučení s hodnotou null</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureUnmanagedConstructedTypes">
<source>unmanaged constructed types</source>
<target state="translated">nespravované konstruované typy</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureUnmanagedGenericTypeConstraint">
<source>unmanaged generic type constraints</source>
<target state="translated">nespravovaná obecná omezení typu</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureUsingDeclarations">
<source>using declarations</source>
<target state="translated">deklarace using</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureVarianceSafetyForStaticInterfaceMembers">
<source>variance safety for static interface members</source>
<target state="translated">zabezpečení odchylky pro statické členy rozhraní</target>
<note />
</trans-unit>
<trans-unit id="IDS_NULL">
<source><null></source>
<target state="translated"><null></target>
<note />
</trans-unit>
<trans-unit id="IDS_OverrideWithConstraints">
<source>constraints for override and explicit interface implementation methods</source>
<target state="translated">omezení pro metody přepsání a explicitní implementace rozhraní</target>
<note />
</trans-unit>
<trans-unit id="IDS_Parameter">
<source>parameter</source>
<target state="translated">parametr</target>
<note />
</trans-unit>
<trans-unit id="IDS_Return">
<source>return</source>
<target state="translated">návratový</target>
<note />
</trans-unit>
<trans-unit id="IDS_ThrowExpression">
<source><throw expression></source>
<target state="translated"><výraz throw></target>
<note />
</trans-unit>
<trans-unit id="IDS_RELATEDERROR">
<source>(Location of symbol related to previous error)</source>
<target state="translated">(Umístění symbolu vzhledem k předchozí chybě)</target>
<note />
</trans-unit>
<trans-unit id="IDS_RELATEDWARNING">
<source>(Location of symbol related to previous warning)</source>
<target state="translated">(Umístění symbolu vzhledem k předchozímu upozornění)</target>
<note />
</trans-unit>
<trans-unit id="IDS_TopLevelStatements">
<source>top-level statements</source>
<target state="translated">příkazy nejvyšší úrovně</target>
<note />
</trans-unit>
<trans-unit id="IDS_XMLIGNORED">
<source><!-- Badly formed XML comment ignored for member "{0}" --></source>
<target state="translated"><!-- Badly formed XML comment ignored for member "{0}" --></target>
<note />
</trans-unit>
<trans-unit id="IDS_XMLIGNORED2">
<source> Badly formed XML file "{0}" cannot be included </source>
<target state="translated"> Chybně vytvořený soubor XML {0} nejde zahrnout. </target>
<note />
</trans-unit>
<trans-unit id="IDS_XMLFAILEDINCLUDE">
<source> Failed to insert some or all of included XML </source>
<target state="translated"> Vložení části nebo veškerého zahrnutého kódu XML se nezdařilo. </target>
<note />
</trans-unit>
<trans-unit id="IDS_XMLBADINCLUDE">
<source> Include tag is invalid </source>
<target state="translated"> Značka Include je neplatná. </target>
<note />
</trans-unit>
<trans-unit id="IDS_XMLNOINCLUDE">
<source> No matching elements were found for the following include tag </source>
<target state="translated"> Pro následující značku include se nenašly žádné vyhovující prvky. </target>
<note />
</trans-unit>
<trans-unit id="IDS_XMLMISSINGINCLUDEFILE">
<source>Missing file attribute</source>
<target state="translated">Atribut souboru se nenašel.</target>
<note />
</trans-unit>
<trans-unit id="IDS_XMLMISSINGINCLUDEPATH">
<source>Missing path attribute</source>
<target state="translated">Atribut cesty se nenašel.</target>
<note />
</trans-unit>
<trans-unit id="IDS_GlobalNamespace">
<source><global namespace></source>
<target state="translated"><globální obor názvů></target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureGenerics">
<source>generics</source>
<target state="translated">obecné</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureAnonDelegates">
<source>anonymous methods</source>
<target state="translated">anonymní metody</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureModuleAttrLoc">
<source>module as an attribute target specifier</source>
<target state="translated">modul jako cílový specifikátor atributů</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureGlobalNamespace">
<source>namespace alias qualifier</source>
<target state="translated">kvalifikátor aliasu oboru názvů</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureFixedBuffer">
<source>fixed size buffers</source>
<target state="translated">vyrovnávací paměti pevné velikosti</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeaturePragma">
<source>#pragma</source>
<target state="translated">#pragma</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureStaticClasses">
<source>static classes</source>
<target state="translated">statické třídy</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureReadOnlyStructs">
<source>readonly structs</source>
<target state="translated">struktury jen pro čtení</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeaturePartialTypes">
<source>partial types</source>
<target state="translated">částečné typy</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureAsync">
<source>async function</source>
<target state="translated">asynchronní funkce</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureSwitchOnBool">
<source>switch on boolean type</source>
<target state="translated">přepínač založený na typu boolean</target>
<note />
</trans-unit>
<trans-unit id="IDS_MethodGroup">
<source>method group</source>
<target state="translated">skupina metod</target>
<note />
</trans-unit>
<trans-unit id="IDS_AnonMethod">
<source>anonymous method</source>
<target state="translated">anonymní metoda</target>
<note />
</trans-unit>
<trans-unit id="IDS_Lambda">
<source>lambda expression</source>
<target state="translated">výraz lambda</target>
<note />
</trans-unit>
<trans-unit id="IDS_Collection">
<source>collection</source>
<target state="translated">kolekce</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeaturePropertyAccessorMods">
<source>access modifiers on properties</source>
<target state="translated">modifikátory přístupu pro vlastnosti</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureExternAlias">
<source>extern alias</source>
<target state="translated">externí alias</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureIterators">
<source>iterators</source>
<target state="translated">iterátory</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureDefault">
<source>default operator</source>
<target state="translated">výchozí operátor</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureDefaultLiteral">
<source>default literal</source>
<target state="translated">výchozí literál</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeaturePrivateProtected">
<source>private protected</source>
<target state="translated">private protected</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureNullable">
<source>nullable types</source>
<target state="translated">typy s povolenou hodnotou null</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeaturePatternMatching">
<source>pattern matching</source>
<target state="translated">porovnávání vzorů</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureExpressionBodiedAccessor">
<source>expression body property accessor</source>
<target state="translated">přístupový objekt vlastnosti textu výrazu</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureExpressionBodiedDeOrConstructor">
<source>expression body constructor and destructor</source>
<target state="translated">konstruktor a destruktor textu výrazu</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureThrowExpression">
<source>throw expression</source>
<target state="translated">výraz throw</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureImplicitArray">
<source>implicitly typed array</source>
<target state="translated">implicitně typované pole</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureImplicitLocal">
<source>implicitly typed local variable</source>
<target state="translated">implicitně typovaná lokální proměnná</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureAnonymousTypes">
<source>anonymous types</source>
<target state="translated">anonymní typy</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureAutoImplementedProperties">
<source>automatically implemented properties</source>
<target state="translated">automaticky implementované vlastnosti</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureReadonlyAutoImplementedProperties">
<source>readonly automatically implemented properties</source>
<target state="translated">automaticky implementované vlastnosti jen pro čtení</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureObjectInitializer">
<source>object initializer</source>
<target state="translated">inicializátor objektu</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureCollectionInitializer">
<source>collection initializer</source>
<target state="translated">inicializátor kolekce</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureQueryExpression">
<source>query expression</source>
<target state="translated">výraz dotazu</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureExtensionMethod">
<source>extension method</source>
<target state="translated">metoda rozšíření</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeaturePartialMethod">
<source>partial method</source>
<target state="translated">částečná metoda</target>
<note />
</trans-unit>
<trans-unit id="IDS_SK_METHOD">
<source>method</source>
<target state="translated">metoda</target>
<note />
</trans-unit>
<trans-unit id="IDS_SK_TYPE">
<source>type</source>
<target state="translated">typ</target>
<note />
</trans-unit>
<trans-unit id="IDS_SK_NAMESPACE">
<source>namespace</source>
<target state="translated">obor názvů</target>
<note />
</trans-unit>
<trans-unit id="IDS_SK_FIELD">
<source>field</source>
<target state="translated">pole</target>
<note />
</trans-unit>
<trans-unit id="IDS_SK_PROPERTY">
<source>property</source>
<target state="translated">vlastnost</target>
<note />
</trans-unit>
<trans-unit id="IDS_SK_UNKNOWN">
<source>element</source>
<target state="translated">element</target>
<note />
</trans-unit>
<trans-unit id="IDS_SK_VARIABLE">
<source>variable</source>
<target state="translated">proměnná</target>
<note />
</trans-unit>
<trans-unit id="IDS_SK_LABEL">
<source>label</source>
<target state="translated">popisek</target>
<note />
</trans-unit>
<trans-unit id="IDS_SK_EVENT">
<source>event</source>
<target state="translated">událost</target>
<note />
</trans-unit>
<trans-unit id="IDS_SK_TYVAR">
<source>type parameter</source>
<target state="translated">parametr typu</target>
<note />
</trans-unit>
<trans-unit id="IDS_SK_ALIAS">
<source>using alias</source>
<target state="translated">alias using</target>
<note />
</trans-unit>
<trans-unit id="IDS_SK_EXTERNALIAS">
<source>extern alias</source>
<target state="translated">externí alias</target>
<note />
</trans-unit>
<trans-unit id="IDS_SK_CONSTRUCTOR">
<source>constructor</source>
<target state="translated">konstruktor</target>
<note />
</trans-unit>
<trans-unit id="IDS_FOREACHLOCAL">
<source>foreach iteration variable</source>
<target state="translated">iterační proměnná foreach</target>
<note />
</trans-unit>
<trans-unit id="IDS_FIXEDLOCAL">
<source>fixed variable</source>
<target state="translated">pevná proměnná</target>
<note />
</trans-unit>
<trans-unit id="IDS_USINGLOCAL">
<source>using variable</source>
<target state="translated">proměnná using</target>
<note />
</trans-unit>
<trans-unit id="IDS_Contravariant">
<source>contravariant</source>
<target state="translated">kontravariant</target>
<note />
</trans-unit>
<trans-unit id="IDS_Contravariantly">
<source>contravariantly</source>
<target state="translated">kontravariantně</target>
<note />
</trans-unit>
<trans-unit id="IDS_Covariant">
<source>covariant</source>
<target state="translated">kovariant</target>
<note />
</trans-unit>
<trans-unit id="IDS_Covariantly">
<source>covariantly</source>
<target state="translated">kovariantně</target>
<note />
</trans-unit>
<trans-unit id="IDS_Invariantly">
<source>invariantly</source>
<target state="translated">invariantně</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureDynamic">
<source>dynamic</source>
<target state="translated">dynamický</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureNamedArgument">
<source>named argument</source>
<target state="translated">pojmenovaný argument</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureOptionalParameter">
<source>optional parameter</source>
<target state="translated">volitelný parametr</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureExceptionFilter">
<source>exception filter</source>
<target state="translated">filtr výjimky</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureTypeVariance">
<source>type variance</source>
<target state="translated">odchylka typu</target>
<note />
</trans-unit>
<trans-unit id="NotSameNumberParameterTypesAndRefKinds">
<source>Given {0} parameter types and {1} parameter ref kinds. These arrays must have the same length.</source>
<target state="translated">Předal se určitý počet parametrů ({0}) a jiný počet druhů odkazů na parametry ({1}). Tato pole musí být stejně velká.</target>
<note />
</trans-unit>
<trans-unit id="OutIsNotValidForReturn">
<source>'RefKind.Out' is not a valid ref kind for a return type.</source>
<target state="translated">RefKind.Out není platný druh odkazu pro návratový typ.</target>
<note />
</trans-unit>
<trans-unit id="SyntaxTreeNotFound">
<source>SyntaxTree is not part of the compilation</source>
<target state="translated">SyntaxTree není součástí kompilace.</target>
<note />
</trans-unit>
<trans-unit id="SyntaxTreeNotFoundToRemove">
<source>SyntaxTree is not part of the compilation, so it cannot be removed</source>
<target state="translated">SyntaxTree není součástí kompilace, takže se nedá odebrat.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CaseConstantNamedUnderscore">
<source>The name '_' refers to the constant, not the discard pattern. Use 'var _' to discard the value, or '@_' to refer to a constant by that name.</source>
<target state="translated">Název „_“ odkazuje na konstantu, ne na vzor discard. Zadáním „var _“ hodnotu zahodíte a zadáním „@_“ nastavíte pod tímto názvem odkaz na konstantu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CaseConstantNamedUnderscore_Title">
<source>Do not use '_' for a case constant.</source>
<target state="translated">Nepoužívejte „_“ jako konstantu case.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ConstOutOfRangeChecked">
<source>Constant value '{0}' may overflow '{1}' at runtime (use 'unchecked' syntax to override)</source>
<target state="translated">Konstantní hodnota {0} může při běhu přetéct {1} (pro přepis použijte syntaxi unchecked).</target>
<note />
</trans-unit>
<trans-unit id="WRN_ConstOutOfRangeChecked_Title">
<source>Constant value may overflow at runtime (use 'unchecked' syntax to override)</source>
<target state="translated">Konstantní hodnota může při běhu přetéct (pro přepis použijte syntaxi unchecked)</target>
<note />
</trans-unit>
<trans-unit id="WRN_ConvertingNullableToNonNullable">
<source>Converting null literal or possible null value to non-nullable type.</source>
<target state="translated">Literál s hodnotou null nebo s možnou hodnotou null se převádí na typ, který nemůže mít hodnotu null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ConvertingNullableToNonNullable_Title">
<source>Converting null literal or possible null value to non-nullable type.</source>
<target state="translated">Literál s hodnotou null nebo s možnou hodnotou null se převádí na typ, který nemůže mít hodnotu null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DisallowNullAttributeForbidsMaybeNullAssignment">
<source>A possible null value may not be used for a type marked with [NotNull] or [DisallowNull]</source>
<target state="translated">Možnou hodnotu null není možné použít pro typ označený jako [NotNull] nebo [DisallowNull].</target>
<note />
</trans-unit>
<trans-unit id="WRN_DisallowNullAttributeForbidsMaybeNullAssignment_Title">
<source>A possible null value may not be used for a type marked with [NotNull] or [DisallowNull]</source>
<target state="translated">Možnou hodnotu null není možné použít pro typ označený jako [NotNull] nebo [DisallowNull].</target>
<note />
</trans-unit>
<trans-unit id="WRN_DoesNotReturnMismatch">
<source>Method '{0}' lacks `[DoesNotReturn]` annotation to match implemented or overridden member.</source>
<target state="translated">Metodě {0} chybí poznámka [DoesNotReturn], která by odpovídala implementovanému nebo přepsanému členu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DoesNotReturnMismatch_Title">
<source>Method lacks `[DoesNotReturn]` annotation to match implemented or overridden member.</source>
<target state="translated">Metodě chybí poznámka [DoesNotReturn], která by odpovídala implementovanému nebo přepsanému členu</target>
<note />
</trans-unit>
<trans-unit id="WRN_DuplicateInterfaceWithNullabilityMismatchInBaseList">
<source>'{0}' is already listed in the interface list on type '{1}' with different nullability of reference types.</source>
<target state="translated">Položka {0} je už uvedená v seznamu rozhraní u typu {1} s různou možností použití hodnoty null u typů odkazů.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DuplicateInterfaceWithNullabilityMismatchInBaseList_Title">
<source>Interface is already listed in the interface list with different nullability of reference types.</source>
<target state="translated">Rozhraní je už uvedené v seznamu rozhraní s různou možností použití hodnoty null u typů odkazů.</target>
<note />
</trans-unit>
<trans-unit id="WRN_GeneratorFailedDuringGeneration">
<source>Generator '{0}' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. Exception was of type '{1}' with message '{2}'</source>
<target state="translated">Generátor {0} nemohl vygenerovat zdroj. V důsledku toho může docházet k chybám kompilace a generátor nebude přispívat na výstup. Výjimka měla typ {1} se zprávou {2}.</target>
<note>{0} is the name of the generator that failed. {1} is the type of exception that was thrown {2} is the message in the exception</note>
</trans-unit>
<trans-unit id="WRN_GeneratorFailedDuringGeneration_Description">
<source>Generator threw the following exception:
'{0}'.</source>
<target state="translated">Generátor vyvolal následující výjimku:
{0}.</target>
<note>{0} is the string representation of the exception that was thrown.</note>
</trans-unit>
<trans-unit id="WRN_GeneratorFailedDuringGeneration_Title">
<source>Generator failed to generate source.</source>
<target state="translated">Generátoru se nepovedlo vygenerovat zdroj</target>
<note />
</trans-unit>
<trans-unit id="WRN_GeneratorFailedDuringInitialization">
<source>Generator '{0}' failed to initialize. It will not contribute to the output and compilation errors may occur as a result. Exception was of type '{1}' with message '{2}'</source>
<target state="translated">Generátor {0} se nepovedlo inicializovat. V důsledku toho může docházet k chybám kompilace a generátor nebude přispívat na výstup. Výjimka měla typ {1} se zprávou {2}.</target>
<note>{0} is the name of the generator that failed. {1} is the type of exception that was thrown {2} is the message in the exception</note>
</trans-unit>
<trans-unit id="WRN_GeneratorFailedDuringInitialization_Description">
<source>Generator threw the following exception:
'{0}'.</source>
<target state="translated">Generátor vyvolal následující výjimku:
{0}.</target>
<note>{0} is the string representation of the exception that was thrown.</note>
</trans-unit>
<trans-unit id="WRN_GeneratorFailedDuringInitialization_Title">
<source>Generator failed to initialize.</source>
<target state="translated">Generátor se nepovedlo inicializovat</target>
<note />
</trans-unit>
<trans-unit id="WRN_GivenExpressionAlwaysMatchesConstant">
<source>The given expression always matches the provided constant.</source>
<target state="translated">Daný výraz vždy odpovídá zadané konstantě.</target>
<note />
</trans-unit>
<trans-unit id="WRN_GivenExpressionAlwaysMatchesConstant_Title">
<source>The given expression always matches the provided constant.</source>
<target state="translated">Daný výraz vždy odpovídá zadané konstantě.</target>
<note />
</trans-unit>
<trans-unit id="WRN_GivenExpressionAlwaysMatchesPattern">
<source>The given expression always matches the provided pattern.</source>
<target state="translated">Daný výraz vždy odpovídá zadanému vzoru.</target>
<note />
</trans-unit>
<trans-unit id="WRN_GivenExpressionAlwaysMatchesPattern_Title">
<source>The given expression always matches the provided pattern.</source>
<target state="translated">Daný výraz vždy odpovídá zadanému vzoru.</target>
<note />
</trans-unit>
<trans-unit id="WRN_GivenExpressionNeverMatchesPattern">
<source>The given expression never matches the provided pattern.</source>
<target state="translated">Daný výraz nikdy neodpovídá zadané konstantě.</target>
<note />
</trans-unit>
<trans-unit id="WRN_GivenExpressionNeverMatchesPattern_Title">
<source>The given expression never matches the provided pattern.</source>
<target state="translated">Daný výraz nikdy neodpovídá zadané konstantě.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ImplicitCopyInReadOnlyMember">
<source>Call to non-readonly member '{0}' from a 'readonly' member results in an implicit copy of '{1}'.</source>
<target state="translated">Volání člena {0}, který nemá modifikátor readonly, ze člena s modifikátorem readonly má za následek implicitní kopii {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ImplicitCopyInReadOnlyMember_Title">
<source>Call to non-readonly member from a 'readonly' member results in an implicit copy.</source>
<target state="translated">Volání člena, který nemá modifikátor readonly, ze člena s modifikátorem readonly má za následek implicitní kopii.</target>
<note />
</trans-unit>
<trans-unit id="WRN_IsPatternAlways">
<source>An expression of type '{0}' always matches the provided pattern.</source>
<target state="translated">Výraz typu {0} vždy odpovídá poskytnutému vzoru.</target>
<note />
</trans-unit>
<trans-unit id="WRN_IsPatternAlways_Title">
<source>The input always matches the provided pattern.</source>
<target state="translated">Vstup vždy odpovídá zadanému vzoru</target>
<note />
</trans-unit>
<trans-unit id="WRN_IsTypeNamedUnderscore">
<source>The name '_' refers to the type '{0}', not the discard pattern. Use '@_' for the type, or 'var _' to discard.</source>
<target state="translated">Název „_“ odkazuje na typ {0}, ne vzor discard. Použijte „@_“ pro tento typ nebo „var _“ pro zahození.</target>
<note />
</trans-unit>
<trans-unit id="WRN_IsTypeNamedUnderscore_Title">
<source>Do not use '_' to refer to the type in an is-type expression.</source>
<target state="translated">Nepoužívejte „_“ jako odkaz na typ ve výrazu is-type.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MemberNotNull">
<source>Member '{0}' must have a non-null value when exiting.</source>
<target state="translated">Člen {0} musí mít při ukončení hodnotu jinou než null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MemberNotNullBadMember">
<source>Member '{0}' cannot be used in this attribute.</source>
<target state="translated">Člen {0} se v tomto atributu nedá použít.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MemberNotNullBadMember_Title">
<source>Member cannot be used in this attribute.</source>
<target state="translated">Člen se v tomto atributu nedá použít.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MemberNotNullWhen">
<source>Member '{0}' must have a non-null value when exiting with '{1}'.</source>
<target state="translated">Člen {0} musí mít při ukončení s návratovou hodnotou {1} hodnotu jinou než null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MemberNotNullWhen_Title">
<source>Member must have a non-null value when exiting in some condition.</source>
<target state="translated">Člen musí mít při ukončení za určité podmínky hodnotu jinou než null</target>
<note />
</trans-unit>
<trans-unit id="WRN_MemberNotNull_Title">
<source>Member must have a non-null value when exiting.</source>
<target state="translated">Člen musí mít při ukončení hodnotu jinou než null</target>
<note />
</trans-unit>
<trans-unit id="WRN_MissingNonNullTypesContextForAnnotation">
<source>The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.</source>
<target state="translated">Poznámka u typů odkazů s možnou hodnotou null by se měla v kódu používat jenom v kontextu poznámek #nullable.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MissingNonNullTypesContextForAnnotationInGeneratedCode">
<source>The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. Auto-generated code requires an explicit '#nullable' directive in source.</source>
<target state="translated">Poznámka pro typy odkazů s možnou hodnotou null by se měla používat jenom v kódu v rámci kontextu poznámek #nullable. Automaticky vygenerovaný kód vyžaduje explicitní direktivu #nullable ve zdroji.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MissingNonNullTypesContextForAnnotationInGeneratedCode_Title">
<source>The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. Auto-generated code requires an explicit '#nullable' directive in source.</source>
<target state="translated">Poznámka pro typy odkazů s možnou hodnotou null by se měla používat jenom v kódu v rámci kontextu poznámek #nullable. Automaticky vygenerovaný kód vyžaduje explicitní direktivu #nullable ve zdroji.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MissingNonNullTypesContextForAnnotation_Title">
<source>The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.</source>
<target state="translated">Poznámka u typů odkazů s možnou hodnotou null by se měla v kódu používat jenom v kontextu poznámek #nullable.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullAsNonNullable">
<source>Cannot convert null literal to non-nullable reference type.</source>
<target state="translated">Literál null nejde převést na odkazový typ, který nemůže mít hodnotu null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullAsNonNullable_Title">
<source>Cannot convert null literal to non-nullable reference type.</source>
<target state="translated">Literál null nejde převést na odkazový typ, který nemůže mít hodnotu null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullReferenceArgument">
<source>Possible null reference argument for parameter '{0}' in '{1}'.</source>
<target state="translated">V parametru {0} v {1} může být argument s odkazem null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullReferenceArgument_Title">
<source>Possible null reference argument.</source>
<target state="translated">Může jít o argument s odkazem null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullReferenceAssignment">
<source>Possible null reference assignment.</source>
<target state="translated">Může jít o přiřazení s odkazem null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullReferenceAssignment_Title">
<source>Possible null reference assignment.</source>
<target state="translated">Může jít o přiřazení s odkazem null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullReferenceInitializer">
<source>Object or collection initializer implicitly dereferences possibly null member '{0}'.</source>
<target state="translated">Inicializátor objektu nebo kolekce implicitně přistupuje přes ukazatel ke členovi {0}, který může být null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullReferenceInitializer_Title">
<source>Object or collection initializer implicitly dereferences possibly null member.</source>
<target state="translated">Inicializátor objektu nebo kolekce implicitně přistupuje přes ukazatel ke členovi, který může být null</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullReferenceReceiver">
<source>Dereference of a possibly null reference.</source>
<target state="translated">Přístup přes ukazatel k možnému odkazu s hodnotou null</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullReferenceReceiver_Title">
<source>Dereference of a possibly null reference.</source>
<target state="translated">Přístup přes ukazatel k možnému odkazu s hodnotou null</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullReferenceReturn">
<source>Possible null reference return.</source>
<target state="translated">Může jít o vrácený odkaz null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullReferenceReturn_Title">
<source>Possible null reference return.</source>
<target state="translated">Může jít o vrácený odkaz null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInArgument">
<source>Argument of type '{0}' cannot be used for parameter '{2}' of type '{1}' in '{3}' due to differences in the nullability of reference types.</source>
<target state="translated">Argument typu {0} nejde použít pro parametr {2} typu {1} v {3} z důvodu rozdílů v možnostech použití hodnoty null u odkazových typů.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInArgumentForOutput">
<source>Argument of type '{0}' cannot be used as an output of type '{1}' for parameter '{2}' in '{3}' due to differences in the nullability of reference types.</source>
<target state="translated">Argument typu {0} nejde použít jako výstup typu {1} pro parametr {2} v {3} z důvodu rozdílů v možnostech použití hodnoty null u odkazových typů.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInArgumentForOutput_Title">
<source>Argument cannot be used as an output for parameter due to differences in the nullability of reference types.</source>
<target state="translated">Argument nejde použít jako výstup pro parametr z důvodu rozdílů v možnostech použití hodnoty null u odkazových typů.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInArgument_Title">
<source>Argument cannot be used for parameter due to differences in the nullability of reference types.</source>
<target state="translated">Argument nejde použít pro parametr z důvodu rozdílů v možnostech použití hodnoty null u odkazových typů.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInAssignment">
<source>Nullability of reference types in value of type '{0}' doesn't match target type '{1}'.</source>
<target state="translated">Typ odkazu s možnou hodnotou null v hodnotě typu {0} neodpovídá cílovému typu {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInAssignment_Title">
<source>Nullability of reference types in value doesn't match target type.</source>
<target state="translated">Typ odkazu s možnou hodnotou null v hodnotě neodpovídá cílovému typu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInConstraintsOnImplicitImplementation">
<source>Nullability in constraints for type parameter '{0}' of method '{1}' doesn't match the constraints for type parameter '{2}' of interface method '{3}'. Consider using an explicit interface implementation instead.</source>
<target state="translated">Možná hodnota null v omezení parametru typu {0} metody {1} neodpovídá omezením parametru typu {2} metody rozhraní {3}. Zkuste raději použít explicitní implementaci rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInConstraintsOnImplicitImplementation_Title">
<source>Nullability in constraints for type parameter doesn't match the constraints for type parameter in implicitly implemented interface method'.</source>
<target state="translated">Možná hodnota null v omezeních parametru typu neodpovídá omezením parametru typu v implicitně implementované metodě rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInConstraintsOnPartialImplementation">
<source>Partial method declarations of '{0}' have inconsistent nullability in constraints for type parameter '{1}'</source>
<target state="translated">Částečné deklarace metod {0} mají nekonzistentní možnost použití hodnoty null v omezeních parametru typu {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInConstraintsOnPartialImplementation_Title">
<source>Partial method declarations have inconsistent nullability in constraints for type parameter</source>
<target state="translated">Částečné deklarace metod mají nekonzistentní možnost použití hodnoty null v omezeních parametru typu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInExplicitlyImplementedInterface">
<source>Nullability of reference types in explicit interface specifier doesn't match interface implemented by the type.</source>
<target state="translated">Možnost použití hodnoty null u typů odkazů v explicitním specifikátoru rozhraní neodpovídá rozhraní implementovanému podle tohoto typu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInExplicitlyImplementedInterface_Title">
<source>Nullability of reference types in explicit interface specifier doesn't match interface implemented by the type.</source>
<target state="translated">Možnost použití hodnoty null u typů odkazů v explicitním specifikátoru rozhraní neodpovídá rozhraní implementovanému podle tohoto typu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInInterfaceImplementedByBase">
<source>'{0}' does not implement interface member '{1}'. Nullability of reference types in interface implemented by the base type doesn't match.</source>
<target state="translated">{0} neimplementuje člen rozhraní {1}. Možnost použití hodnoty null u typů odkazů v rozhraní implementovaném podle základního typu se neshoduje.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInInterfaceImplementedByBase_Title">
<source>Type does not implement interface member. Nullability of reference types in interface implemented by the base type doesn't match.</source>
<target state="translated">Typ neimplementuje člen rozhraní. Možnost použití hodnoty null u typů odkazů v rozhraní implementovaném podle základního typu se neshoduje.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOfTargetDelegate">
<source>Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match the target delegate '{2}' (possibly because of nullability attributes).</source>
<target state="translated">Typy odkazů s možnou hodnotou null v typu parametru {0} z {1} neodpovídají cílovému delegátu {2} (pravděpodobně kvůli atributům možnosti použití hodnoty null).</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOfTargetDelegate_Title">
<source>Nullability of reference types in type of parameter doesn't match the target delegate (possibly because of nullability attributes).</source>
<target state="translated">Typy odkazů s možnou hodnotou null v typu parametru neodpovídají cílovému delegátu (pravděpodobně kvůli atributům možnosti použití hodnoty null)</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOnExplicitImplementation">
<source>Nullability of reference types in type of parameter '{0}' doesn't match implemented member '{1}'.</source>
<target state="translated">Typ odkazu s možnou hodnotou null v typu parametru {0} neodpovídá implementovanému členu {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOnExplicitImplementation_Title">
<source>Nullability of reference types in type of parameter doesn't match implemented member.</source>
<target state="translated">Typ odkazu s možnou hodnotou null v typu parametru neodpovídá implementovanému členu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOnImplicitImplementation">
<source>Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match implicitly implemented member '{2}'.</source>
<target state="translated">Typ odkazu s možnou hodnotou null v typu parametru {0} z {1} neodpovídá implicitně implementovanému členu {2}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOnImplicitImplementation_Title">
<source>Nullability of reference types in type of parameter doesn't match implicitly implemented member.</source>
<target state="translated">Typ odkazu s možnou hodnotou null v typu parametru neodpovídá implicitně implementovanému členu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOnOverride">
<source>Nullability of reference types in type of parameter '{0}' doesn't match overridden member.</source>
<target state="translated">Typ odkazu s možnou hodnotou null v typu parametru {0} neodpovídá přepsanému členu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOnOverride_Title">
<source>Nullability of reference types in type of parameter doesn't match overridden member.</source>
<target state="translated">Typ odkazu s možnou hodnotou null v typu parametru neodpovídá přepsanému členu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOnPartial">
<source>Nullability of reference types in type of parameter '{0}' doesn't match partial method declaration.</source>
<target state="translated">Typ odkazu s možnou hodnotou null v typu parametru {0} neodpovídá deklaraci částečné metody.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInParameterTypeOnPartial_Title">
<source>Nullability of reference types in type of parameter doesn't match partial method declaration.</source>
<target state="translated">Typ odkazu s možnou hodnotou null v typu parametru neodpovídá deklaraci částečné metody.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOfTargetDelegate">
<source>Nullability of reference types in return type of '{0}' doesn't match the target delegate '{1}' (possibly because of nullability attributes).</source>
<target state="translated">Typy odkazů s možnou hodnotou null v návratovém typu {0} neodpovídají cílovému delegátu {1} (pravděpodobně kvůli atributům možnosti použití hodnoty null).</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOfTargetDelegate_Title">
<source>Nullability of reference types in return type doesn't match the target delegate (possibly because of nullability attributes).</source>
<target state="translated">Typy odkazů s možnou hodnotou null v návratovém typu neodpovídají cílovému delegátu (pravděpodobně kvůli atributům možnosti použití hodnoty null)</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOnExplicitImplementation">
<source>Nullability of reference types in return type doesn't match implemented member '{0}'.</source>
<target state="translated">Typ odkazu s možnou hodnotou null ve vráceném typu neodpovídá implementovanému členu {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOnExplicitImplementation_Title">
<source>Nullability of reference types in return type doesn't match implemented member.</source>
<target state="translated">Typ odkazu s možnou hodnotou null ve vráceném typu neodpovídá implementovanému členu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOnImplicitImplementation">
<source>Nullability of reference types in return type of '{0}' doesn't match implicitly implemented member '{1}'.</source>
<target state="translated">Typ odkazu s možnou hodnotou null v návratovém typu {0} neodpovídá implicitně implementovanému členu {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOnImplicitImplementation_Title">
<source>Nullability of reference types in return type doesn't match implicitly implemented member.</source>
<target state="translated">Typ odkazu s možnou hodnotou null ve vráceném typu neodpovídá implicitně implementovanému členu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOnOverride">
<source>Nullability of reference types in return type doesn't match overridden member.</source>
<target state="translated">Typ odkazu s možnou hodnotou null ve vráceném typu neodpovídá přepsanému členu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOnOverride_Title">
<source>Nullability of reference types in return type doesn't match overridden member.</source>
<target state="translated">Typ odkazu s možnou hodnotou null ve vráceném typu neodpovídá přepsanému členu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOnPartial">
<source>Nullability of reference types in return type doesn't match partial method declaration.</source>
<target state="translated">Typ odkazu s možnou hodnotou null v návratovém typu neodpovídá deklaraci částečné metody.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInReturnTypeOnPartial_Title">
<source>Nullability of reference types in return type doesn't match partial method declaration.</source>
<target state="translated">Typ odkazu s možnou hodnotou null v návratovém typu neodpovídá deklaraci částečné metody</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInTypeOnExplicitImplementation">
<source>Nullability of reference types in type doesn't match implemented member '{0}'.</source>
<target state="translated">Typ odkazu s možnou hodnotou null v typu neodpovídá implementovanému členu {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInTypeOnExplicitImplementation_Title">
<source>Nullability of reference types in type doesn't match implemented member.</source>
<target state="translated">Typ odkazu s možnou hodnotou null v typu neodpovídá implementovanému členu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInTypeOnImplicitImplementation">
<source>Nullability of reference types in type of '{0}' doesn't match implicitly implemented member '{1}'.</source>
<target state="translated">Typ odkazu s možnou hodnotou null v typu {0} neodpovídá implicitně implementovanému členu {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInTypeOnImplicitImplementation_Title">
<source>Nullability of reference types in type doesn't match implicitly implemented member.</source>
<target state="translated">Typ odkazu s možnou hodnotou null v typu neodpovídá implicitně implementovanému členu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInTypeOnOverride">
<source>Nullability of reference types in type doesn't match overridden member.</source>
<target state="translated">Typ odkazu s možnou hodnotou null v typu neodpovídá přepsanému členu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInTypeOnOverride_Title">
<source>Nullability of reference types in type doesn't match overridden member.</source>
<target state="translated">Typ odkazu s možnou hodnotou null v typu neodpovídá přepsanému členu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInTypeParameterConstraint">
<source>The type '{3}' cannot be used as type parameter '{2}' in the generic type or method '{0}'. Nullability of type argument '{3}' doesn't match constraint type '{1}'.</source>
<target state="translated">Typ {3} nejde použít jako parametr typu {2} v obecném typu nebo metodě {0}. Typ argumentu {3} s možnou hodnotou null neodpovídá typu omezení {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInTypeParameterConstraint_Title">
<source>The type cannot be used as type parameter in the generic type or method. Nullability of type argument doesn't match constraint type.</source>
<target state="translated">Typ nejde použít jako parametr typu v obecném typu nebo metodě. Typ argumentu s možnou hodnotou null neodpovídá typu omezení.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInTypeParameterNotNullConstraint">
<source>The type '{2}' cannot be used as type parameter '{1}' in the generic type or method '{0}'. Nullability of type argument '{2}' doesn't match 'notnull' constraint.</source>
<target state="translated">Typ {2} nejde použít jako parametr typu {1} v obecném typu nebo metodě {0}. Argument typu {2} s možnou hodnotou null neodpovídá omezení notnull.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInTypeParameterNotNullConstraint_Title">
<source>The type cannot be used as type parameter in the generic type or method. Nullability of type argument doesn't match 'notnull' constraint.</source>
<target state="translated">Typ nejde použít jako parametr typu v obecném typu nebo metodě. Argument typu s možnou hodnotou null neodpovídá omezení notnull.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInTypeParameterReferenceTypeConstraint">
<source>The type '{2}' cannot be used as type parameter '{1}' in the generic type or method '{0}'. Nullability of type argument '{2}' doesn't match 'class' constraint.</source>
<target state="translated">Typ {2} nejde použít jako parametr typu {1} v obecném typu nebo metodě {0}. Typ argumentu {2} s možnou hodnotou null neodpovídá omezení třídy.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullabilityMismatchInTypeParameterReferenceTypeConstraint_Title">
<source>The type cannot be used as type parameter in the generic type or method. Nullability of type argument doesn't match 'class' constraint.</source>
<target state="translated">Typ nejde použít jako parametr typu v obecném typu nebo metodě. Typ argumentu s možnou hodnotou null neodpovídá omezení třídy.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullableValueTypeMayBeNull">
<source>Nullable value type may be null.</source>
<target state="translated">Typ hodnoty, která připouští hodnotu null, nemůže být null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NullableValueTypeMayBeNull_Title">
<source>Nullable value type may be null.</source>
<target state="translated">Typ hodnoty, která připouští hodnotu null, nemůže být null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ParamUnassigned">
<source>The out parameter '{0}' must be assigned to before control leaves the current method</source>
<target state="translated">Parametr out {0} se musí přiřadit ještě předtím, než aktuální metoda předá řízení.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ParamUnassigned_Title">
<source>An out parameter must be assigned to before control leaves the method</source>
<target state="translated">Parametr out se musí přiřadit ještě předtím, než metoda předá řízení</target>
<note />
</trans-unit>
<trans-unit id="WRN_ParameterConditionallyDisallowsNull">
<source>Parameter '{0}' must have a non-null value when exiting with '{1}'.</source>
<target state="translated">Parametr {0} musí mít při ukončení s návratovou hodnotou {1} hodnotu jinou než null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ParameterConditionallyDisallowsNull_Title">
<source>Parameter must have a non-null value when exiting in some condition.</source>
<target state="translated">Parametr musí mít při ukončení za určité podmínky hodnotu jinou než null</target>
<note />
</trans-unit>
<trans-unit id="WRN_ParameterDisallowsNull">
<source>Parameter '{0}' must have a non-null value when exiting.</source>
<target state="translated">Parametr {0} musí mít při ukončení hodnotu jinou než null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ParameterDisallowsNull_Title">
<source>Parameter must have a non-null value when exiting.</source>
<target state="translated">Parametr musí mít při ukončení hodnotu jinou než null</target>
<note />
</trans-unit>
<trans-unit id="WRN_ParameterIsStaticClass">
<source>'{0}': static types cannot be used as parameters</source>
<target state="translated">{0}: Statické typy nejde používat jako parametry.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ParameterIsStaticClass_Title">
<source>Static types cannot be used as parameters</source>
<target state="translated">Statické typy se nedají používat jako parametry</target>
<note />
</trans-unit>
<trans-unit id="WRN_PrecedenceInversion">
<source>Operator '{0}' cannot be used here due to precedence. Use parentheses to disambiguate.</source>
<target state="translated">Operátor {0} se tady nedá použít kvůli prioritám. Odstraňte nejednoznačnost pomocí závorek.</target>
<note />
</trans-unit>
<trans-unit id="WRN_PrecedenceInversion_Title">
<source>Operator cannot be used here due to precedence.</source>
<target state="translated">Operátor se tady nedá použít kvůli prioritám</target>
<note />
</trans-unit>
<trans-unit id="WRN_PatternNotPublicOrNotInstance">
<source>'{0}' does not implement the '{1}' pattern. '{2}' is not a public instance or extension method.</source>
<target state="translated">{0} neimplementuje vzor {1}. {2} není veřejná metoda instance nebo rozšíření.</target>
<note />
</trans-unit>
<trans-unit id="WRN_PatternNotPublicOrNotInstance_Title">
<source>Type does not implement the collection pattern; member is is not a public instance or extension method.</source>
<target state="translated">Typ neimplementuje vzor kolekce. Člen není veřejná metoda instance nebo rozšíření</target>
<note />
</trans-unit>
<trans-unit id="WRN_ReturnTypeIsStaticClass">
<source>'{0}': static types cannot be used as return types</source>
<target state="translated">{0}: Statické typy nejde používat jako typy vracených hodnot.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ReturnTypeIsStaticClass_Title">
<source>Static types cannot be used as return types</source>
<target state="translated">Statické typy se nedají používat jako typy vracených hodnot</target>
<note />
</trans-unit>
<trans-unit id="WRN_ShouldNotReturn">
<source>A method marked [DoesNotReturn] should not return.</source>
<target state="translated">Metoda označená jako [DoesNotReturn] by neměla vracet hodnotu</target>
<note />
</trans-unit>
<trans-unit id="WRN_ShouldNotReturn_Title">
<source>A method marked [DoesNotReturn] should not return.</source>
<target state="translated">Metoda označená jako [DoesNotReturn] by se neměla ukončit standardním způsobem</target>
<note />
</trans-unit>
<trans-unit id="WRN_StaticInAsOrIs">
<source>The second operand of an 'is' or 'as' operator may not be static type '{0}'</source>
<target state="translated">Druhý operand operátoru is nebo as nesmí být statického typu {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_StaticInAsOrIs_Title">
<source>The second operand of an 'is' or 'as' operator may not be a static type</source>
<target state="translated">Druhý operand operátoru is nebo as nesmí být statického typu</target>
<note />
</trans-unit>
<trans-unit id="WRN_SwitchExpressionNotExhaustive">
<source>The switch expression does not handle all possible values of its input type (it is not exhaustive). For example, the pattern '{0}' is not covered.</source>
<target state="translated">Výraz switch nezachycuje všechny možné hodnoty vstupního typu (není úplný). Nezachycuje například vzor {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_SwitchExpressionNotExhaustiveForNull">
<source>The switch expression does not handle some null inputs (it is not exhaustive). For example, the pattern '{0}' is not covered.</source>
<target state="translated">Výraz switch nezachycuje všechny některé vstupy null (není úplný). Nezachycuje například vzor {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_SwitchExpressionNotExhaustiveForNullWithWhen">
<source>The switch expression does not handle some null inputs (it is not exhaustive). For example, the pattern '{0}' is not covered. However, a pattern with a 'when' clause might successfully match this value.</source>
<target state="translated">Výraz switch nezpracovává některé vstupy null (není úplný). Například vzor {0} není vyřešený. Vzor s klauzulí when však může této hodnotě úspěšně odpovídat.</target>
<note />
</trans-unit>
<trans-unit id="WRN_SwitchExpressionNotExhaustiveForNullWithWhen_Title">
<source>The switch expression does not handle some null inputs.</source>
<target state="translated">Výraz switch nezpracovává některé vstupy s hodnotou null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_SwitchExpressionNotExhaustiveForNull_Title">
<source>The switch expression does not handle some null inputs.</source>
<target state="translated">Výraz switch nezpracovává některé vstupy s hodnotou null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_SwitchExpressionNotExhaustiveWithWhen">
<source>The switch expression does not handle all possible values of its input type (it is not exhaustive). For example, the pattern '{0}' is not covered. However, a pattern with a 'when' clause might successfully match this value.</source>
<target state="translated">Výraz switch nezpracovává všechny možné hodnoty typu svého vstupu (není úplný). Například vzor {0} není vyřešený. Vzor s klauzulí when však může této hodnotě úspěšně odpovídat.</target>
<note />
</trans-unit>
<trans-unit id="WRN_SwitchExpressionNotExhaustiveWithWhen_Title">
<source>The switch expression does not handle all possible values of its input type (it is not exhaustive).</source>
<target state="translated">Výraz switch nezpracovává všechny možné hodnoty svého vstupního typu (není úplný).</target>
<note />
</trans-unit>
<trans-unit id="WRN_SwitchExpressionNotExhaustive_Title">
<source>The switch expression does not handle all possible values of its input type (it is not exhaustive).</source>
<target state="translated">Výraz switch nezpracovává všechny možné hodnoty svého vstupního typu (není úplný)</target>
<note />
</trans-unit>
<trans-unit id="WRN_ThrowPossibleNull">
<source>Thrown value may be null.</source>
<target state="translated">Vyvolaná hodnota může být null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ThrowPossibleNull_Title">
<source>Thrown value may be null.</source>
<target state="translated">Vyvolaná hodnota může být null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation">
<source>Nullability of reference types in type of parameter '{0}' doesn't match implemented member '{1}' (possibly because of nullability attributes).</source>
<target state="translated">Typ odkazu s možnou hodnotou null v typu parametru {0} neodpovídá implementovanému členu {1} (pravděpodobně kvůli atributům možnosti použití hodnoty null).</target>
<note />
</trans-unit>
<trans-unit id="WRN_TopLevelNullabilityMismatchInParameterTypeOnExplicitImplementation_Title">
<source>Nullability of reference types in type of parameter doesn't match implemented member (possibly because of nullability attributes).</source>
<target state="translated">Typ odkazu s možnou hodnotou null v typu parametru neodpovídá implementovanému členu (pravděpodobně kvůli atributům možnosti použití hodnoty null)</target>
<note />
</trans-unit>
<trans-unit id="WRN_TopLevelNullabilityMismatchInParameterTypeOnImplicitImplementation">
<source>Nullability of reference types in type of parameter '{0}' of '{1}' doesn't match implicitly implemented member '{2}' (possibly because of nullability attributes).</source>
<target state="translated">Typ odkazu s možnou hodnotou null v typu parametru {0} z {1} neodpovídá implicitně implementovanému členu {2} (pravděpodobně kvůli atributům možnosti použití hodnoty null).</target>
<note />
</trans-unit>
<trans-unit id="WRN_TopLevelNullabilityMismatchInParameterTypeOnImplicitImplementation_Title">
<source>Nullability of reference types in type of parameter doesn't match implicitly implemented member (possibly because of nullability attributes).</source>
<target state="translated">Typ odkazu s možnou hodnotou null v typu parametru neodpovídá implicitně implementovanému členu (pravděpodobně kvůli atributům možnosti použití hodnoty null)</target>
<note />
</trans-unit>
<trans-unit id="WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride">
<source>Nullability of type of parameter '{0}' doesn't match overridden member (possibly because of nullability attributes).</source>
<target state="translated">Možnost použití hodnoty null u typu parametru {0} neodpovídá přepsanému členu (pravděpodobně kvůli atributům možnosti použití hodnoty null).</target>
<note />
</trans-unit>
<trans-unit id="WRN_TopLevelNullabilityMismatchInParameterTypeOnOverride_Title">
<source>Nullability of type of parameter doesn't match overridden member (possibly because of nullability attributes).</source>
<target state="translated">Možnost použití hodnoty null u typu parametru neodpovídá přepsanému členu (pravděpodobně kvůli atributům možnosti použití hodnoty null)</target>
<note />
</trans-unit>
<trans-unit id="WRN_TopLevelNullabilityMismatchInReturnTypeOnExplicitImplementation">
<source>Nullability of reference types in return type doesn't match implemented member '{0}' (possibly because of nullability attributes).</source>
<target state="translated">Typ odkazu s možnou hodnotou null ve vráceném typu neodpovídá implementovanému členu {0} (pravděpodobně kvůli atributům možnosti použití hodnoty null).</target>
<note />
</trans-unit>
<trans-unit id="WRN_TopLevelNullabilityMismatchInReturnTypeOnExplicitImplementation_Title">
<source>Nullability of reference types in return type doesn't match implemented member (possibly because of nullability attributes).</source>
<target state="translated">Typ odkazu s možnou hodnotou null v návratovém typu neodpovídá implementovanému členu (pravděpodobně kvůli atributům možnosti použití hodnoty null)</target>
<note />
</trans-unit>
<trans-unit id="WRN_TopLevelNullabilityMismatchInReturnTypeOnImplicitImplementation">
<source>Nullability of reference types in return type of '{0}' doesn't match implicitly implemented member '{1}' (possibly because of nullability attributes).</source>
<target state="translated">Typ odkazu s možnou hodnotou null v návratovém typu {0} neodpovídá implicitně implementovanému členu {1} (pravděpodobně kvůli atributům možnosti použití hodnoty null).</target>
<note />
</trans-unit>
<trans-unit id="WRN_TopLevelNullabilityMismatchInReturnTypeOnImplicitImplementation_Title">
<source>Nullability of reference types in return type doesn't match implicitly implemented member (possibly because of nullability attributes).</source>
<target state="translated">Typ odkazu s možnou hodnotou null v návratovém typu neodpovídá implicitně implementovanému členu (pravděpodobně kvůli atributům možnosti použití hodnoty null)</target>
<note />
</trans-unit>
<trans-unit id="WRN_TopLevelNullabilityMismatchInReturnTypeOnOverride">
<source>Nullability of return type doesn't match overridden member (possibly because of nullability attributes).</source>
<target state="translated">Možnost použití hodnoty null u návratového typu neodpovídá přepsanému členu (pravděpodobně kvůli atributům možnosti použití hodnoty null)</target>
<note />
</trans-unit>
<trans-unit id="WRN_TopLevelNullabilityMismatchInReturnTypeOnOverride_Title">
<source>Nullability of return type doesn't match overridden member (possibly because of nullability attributes).</source>
<target state="translated">Možnost použití hodnoty null u návratového typu neodpovídá přepsanému členu (pravděpodobně kvůli atributům možnosti použití hodnoty null)</target>
<note />
</trans-unit>
<trans-unit id="WRN_TupleBinopLiteralNameMismatch">
<source>The tuple element name '{0}' is ignored because a different name or no name is specified on the other side of the tuple == or != operator.</source>
<target state="translated">Název elementu řazené kolekce členů {0} se ignoruje, protože na druhé straně operátoru == nebo != řazené kolekce členů je určený jiný nebo žádný název.</target>
<note />
</trans-unit>
<trans-unit id="WRN_TupleBinopLiteralNameMismatch_Title">
<source>The tuple element name is ignored because a different name or no name is specified on the other side of the tuple == or != operator.</source>
<target state="translated">Název elementu řazené kolekce členů se ignoruje, protože na druhé straně operátoru == nebo != řazené kolekce členů je určený jiný nebo žádný název.</target>
<note />
</trans-unit>
<trans-unit id="WRN_TypeParameterSameAsOuterMethodTypeParameter">
<source>Type parameter '{0}' has the same name as the type parameter from outer method '{1}'</source>
<target state="translated">Parametr typu {0} má stejný název jako parametr typu z vnější metody {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_TypeParameterSameAsOuterMethodTypeParameter_Title">
<source>Type parameter has the same type as the type parameter from outer method.</source>
<target state="translated">Parametr typu má stejný typ jako parametr typu z vnější metody.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnassignedThis">
<source>Field '{0}' must be fully assigned before control is returned to the caller</source>
<target state="translated">Před předáním řízení volající proceduře musí být pole {0} plně přiřazené.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnassignedThisAutoProperty">
<source>Auto-implemented property '{0}' must be fully assigned before control is returned to the caller.</source>
<target state="translated">Před vrácením řízení volajícímu modulu musí být plně přiřazená automaticky implementovaná vlastnost {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnassignedThisAutoProperty_Title">
<source>An auto-implemented property must be fully assigned before control is returned to the caller.</source>
<target state="translated">Před vrácením řízení volajícímu se musí plně přiřadit automaticky implementovaná vlastnost</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnassignedThis_Title">
<source>Fields of a struct must be fully assigned in a constructor before control is returned to the caller</source>
<target state="translated">Před vrácením řízení volajícímu se musí v konstruktoru plně přiřadit pole struktury</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnboxPossibleNull">
<source>Unboxing a possibly null value.</source>
<target state="translated">Rozbalení možné hodnoty null</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnboxPossibleNull_Title">
<source>Unboxing a possibly null value.</source>
<target state="translated">Rozbalení možné hodnoty null</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnconsumedEnumeratorCancellationAttributeUsage">
<source>The EnumeratorCancellationAttribute applied to parameter '{0}' will have no effect. The attribute is only effective on a parameter of type CancellationToken in an async-iterator method returning IAsyncEnumerable</source>
<target state="translated">EnumeratorCancellationAttribute, který se používá u parametru {0}, nebude mít žádný účinek. Tento atribut je platný jenom u parametru typu CancellationToken v metodě async-iterator, která vrací IAsyncEnumerable.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnconsumedEnumeratorCancellationAttributeUsage_Title">
<source>The EnumeratorCancellationAttribute will have no effect. The attribute is only effective on a parameter of type CancellationToken in an async-iterator method returning IAsyncEnumerable</source>
<target state="translated">EnumeratorCancellationAttribute nebude mít žádný účinek. Tento atribut je platný jenom u parametru typu CancellationToken v metodě async-iterator, která vrací IAsyncEnumerable.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UndecoratedCancellationTokenParameter">
<source>Async-iterator '{0}' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed</source>
<target state="translated">Asynchronní iterátor {0} má jeden nebo více parametrů typu CancellationToken, ale žádný z nich není dekorovaný atributem EnumeratorCancellation, takže parametr tokenu zrušení z vygenerovaného výrazu IAsyncEnumerable<>.GetAsyncEnumerator se nespotřebuje.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UndecoratedCancellationTokenParameter_Title">
<source>Async-iterator member has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed</source>
<target state="translated">Člen asynchronního iterátoru má jeden nebo více parametrů typu CancellationToken, ale žádný z nich není dekorovaný atributem EnumeratorCancellation, takže parametr tokenu zrušení z vygenerovaného výrazu IAsyncEnumerable<>.GetAsyncEnumerator se nespotřebuje.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UninitializedNonNullableField">
<source>Non-nullable {0} '{1}' must contain a non-null value when exiting constructor. Consider declaring the {0} as nullable.</source>
<target state="translated">Proměnná {0} {1}, která nemůže být null, musí při ukončování konstruktoru obsahovat hodnotu, která není null. Zvažte možnost deklarovat {0} jako proměnnou s možnou hodnotou null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UninitializedNonNullableField_Title">
<source>Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.</source>
<target state="translated">Pole, které nemůže být null, musí při ukončování konstruktoru obsahovat hodnotu, která není null. Zvažte možnost deklarovat ho jako pole s možnou hodnotou null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnreadRecordParameter">
<source>Parameter '{0}' is unread. Did you forget to use it to initialize the property with that name?</source>
<target state="translated">Parametr {0} se nepřečetl. Nezapomněli jste ho použít k inicializaci vlastnosti s daným názvem?</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnreadRecordParameter_Title">
<source>Parameter is unread. Did you forget to use it to initialize the property with that name?</source>
<target state="translated">Parametr se nepřečetl. Nezapomněli jste ho použít k inicializaci vlastnosti s daným názvem?</target>
<note />
</trans-unit>
<trans-unit id="WRN_UseDefViolation">
<source>Use of unassigned local variable '{0}'</source>
<target state="translated">Použila se nepřiřazená lokální proměnná {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UseDefViolationField">
<source>Use of possibly unassigned field '{0}'</source>
<target state="translated">Použila se možná nepřiřazené pole {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UseDefViolationField_Title">
<source>Use of possibly unassigned field</source>
<target state="translated">Použilo se pravděpodobně nepřiřazené pole</target>
<note />
</trans-unit>
<trans-unit id="WRN_UseDefViolationOut">
<source>Use of unassigned out parameter '{0}'</source>
<target state="translated">Použil se nepřiřazený parametr out {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UseDefViolationOut_Title">
<source>Use of unassigned out parameter</source>
<target state="translated">Použil se nepřiřazený parametr out</target>
<note />
</trans-unit>
<trans-unit id="WRN_UseDefViolationProperty">
<source>Use of possibly unassigned auto-implemented property '{0}'</source>
<target state="translated">Použití pravděpodobně nepřiřazené automaticky implementované vlastnosti {0}</target>
<note />
</trans-unit>
<trans-unit id="WRN_UseDefViolationProperty_Title">
<source>Use of possibly unassigned auto-implemented property</source>
<target state="translated">Použily se pravděpodobně nepřiřazené automaticky implementované vlastnosti</target>
<note />
</trans-unit>
<trans-unit id="WRN_UseDefViolationThis">
<source>The 'this' object cannot be used before all of its fields have been assigned</source>
<target state="translated">Objekt this se nedá použít, dokud se nepřiřadí všechna jeho pole.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UseDefViolationThis_Title">
<source>The 'this' object cannot be used in a constructor before all of its fields have been assigned</source>
<target state="translated">Objekt this se v konstruktoru nedá použít, dokud se nepřiřadí všechna jeho pole</target>
<note />
</trans-unit>
<trans-unit id="WRN_UseDefViolation_Title">
<source>Use of unassigned local variable</source>
<target state="translated">Použila se nepřiřazená lokální proměnná</target>
<note />
</trans-unit>
<trans-unit id="XML_InvalidToken">
<source>The character(s) '{0}' cannot be used at this location.</source>
<target state="translated">Znaky {0} se na tomto místě nedají použít.</target>
<note />
</trans-unit>
<trans-unit id="XML_IncorrectComment">
<source>Incorrect syntax was used in a comment.</source>
<target state="translated">V komentáři se používá nesprávná syntaxe.</target>
<note />
</trans-unit>
<trans-unit id="XML_InvalidCharEntity">
<source>An invalid character was found inside an entity reference.</source>
<target state="translated">Uvnitř odkazu na entitu se našel neplatný znak.</target>
<note />
</trans-unit>
<trans-unit id="XML_ExpectedEndOfTag">
<source>Expected '>' or '/>' to close tag '{0}'.</source>
<target state="translated">Očekával se řetězec > nebo /> uzavírající značku {0}.</target>
<note />
</trans-unit>
<trans-unit id="XML_ExpectedIdentifier">
<source>An identifier was expected.</source>
<target state="translated">Očekával se identifikátor.</target>
<note />
</trans-unit>
<trans-unit id="XML_InvalidUnicodeChar">
<source>Invalid unicode character.</source>
<target state="translated">Neplatný znak unicode</target>
<note />
</trans-unit>
<trans-unit id="XML_InvalidWhitespace">
<source>Whitespace is not allowed at this location.</source>
<target state="translated">Prázdný znak není v tomto místě povolený.</target>
<note />
</trans-unit>
<trans-unit id="XML_LessThanInAttributeValue">
<source>The character '<' cannot be used in an attribute value.</source>
<target state="translated">Znak < se nedá použít v hodnotě atributu.</target>
<note />
</trans-unit>
<trans-unit id="XML_MissingEqualsAttribute">
<source>Missing equals sign between attribute and attribute value.</source>
<target state="translated">Mezi atributem a jeho hodnotou chybí znaménko rovná se.</target>
<note />
</trans-unit>
<trans-unit id="XML_RefUndefinedEntity_1">
<source>Reference to undefined entity '{0}'.</source>
<target state="translated">Odkaz na nedefinovanou entitu {0}</target>
<note />
</trans-unit>
<trans-unit id="XML_StringLiteralNoStartQuote">
<source>A string literal was expected, but no opening quotation mark was found.</source>
<target state="translated">Očekával se řetězcový literál, ale nenašly se úvodní uvozovky.</target>
<note />
</trans-unit>
<trans-unit id="XML_StringLiteralNoEndQuote">
<source>Missing closing quotation mark for string literal.</source>
<target state="translated">U řetězcového literálu chybí koncové uvozovky.</target>
<note />
</trans-unit>
<trans-unit id="XML_StringLiteralNonAsciiQuote">
<source>Non-ASCII quotations marks may not be used around string literals.</source>
<target state="translated">U řetězcových literálů se nesmí používat jiné uvozovky než ASCII.</target>
<note />
</trans-unit>
<trans-unit id="XML_EndTagNotExpected">
<source>End tag was not expected at this location.</source>
<target state="translated">Na tomto místě se neočekávala koncová značka.</target>
<note />
</trans-unit>
<trans-unit id="XML_ElementTypeMatch">
<source>End tag '{0}' does not match the start tag '{1}'.</source>
<target state="translated">Koncová značka {0} neodpovídá počáteční značce {1}.</target>
<note />
</trans-unit>
<trans-unit id="XML_EndTagExpected">
<source>Expected an end tag for element '{0}'.</source>
<target state="translated">Očekávala se koncová značka pro element {0}.</target>
<note />
</trans-unit>
<trans-unit id="XML_WhitespaceMissing">
<source>Required white space was missing.</source>
<target state="translated">Chybí požadovaná mezera.</target>
<note />
</trans-unit>
<trans-unit id="XML_ExpectedEndOfXml">
<source>Unexpected character at this location.</source>
<target state="translated">Neočekávaný znak na tomto místě</target>
<note />
</trans-unit>
<trans-unit id="XML_CDataEndTagNotAllowed">
<source>The literal string ']]>' is not allowed in element content.</source>
<target state="translated">V obsahu elementu není povolený řetězec literálu ]]>.</target>
<note />
</trans-unit>
<trans-unit id="XML_DuplicateAttribute">
<source>Duplicate '{0}' attribute</source>
<target state="translated">Duplicitní atribut {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoMetadataFile">
<source>Metadata file '{0}' could not be found</source>
<target state="translated">Soubor metadat {0} se nenašel.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MetadataReferencesNotSupported">
<source>Metadata references are not supported.</source>
<target state="translated">Odkazy v metadatech se nepodporují.</target>
<note />
</trans-unit>
<trans-unit id="FTL_MetadataCantOpenFile">
<source>Metadata file '{0}' could not be opened -- {1}</source>
<target state="translated">Soubor metadat {0} nešel otevřít -- {1}</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoTypeDef">
<source>The type '{0}' is defined in an assembly that is not referenced. You must add a reference to assembly '{1}'.</source>
<target state="translated">Typ {0} je definovaný jako sestavení, na které se neodkazuje. Je nutné přidat odkaz na sestavení {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoTypeDefFromModule">
<source>The type '{0}' is defined in a module that has not been added. You must add the module '{1}'.</source>
<target state="translated">Typ {0} je definovaný v modulu, který jste nepřidali. Musíte přidat modul {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OutputWriteFailed">
<source>Could not write to output file '{0}' -- '{1}'</source>
<target state="translated">Do výstupního souboru {0} nejde zapisovat -- {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MultipleEntryPoints">
<source>Program has more than one entry point defined. Compile with /main to specify the type that contains the entry point.</source>
<target state="translated">Program má definovaný víc než jeden vstupní bod. V kompilaci použijte /main určující typ, který vstupní bod obsahuje.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadBinaryOps">
<source>Operator '{0}' cannot be applied to operands of type '{1}' and '{2}'</source>
<target state="translated">Operátor {0} nejde použít na operandy typu {1} a {2}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IntDivByZero">
<source>Division by constant zero</source>
<target state="translated">Dělení nulovou konstantou</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadIndexLHS">
<source>Cannot apply indexing with [] to an expression of type '{0}'</source>
<target state="translated">Ve výrazu typu {0} nejde použít indexování pomocí hranatých závorek ([]).</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadIndexCount">
<source>Wrong number of indices inside []; expected {0}</source>
<target state="translated">Špatné číslo indexu uvnitř []; očekává se {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadUnaryOp">
<source>Operator '{0}' cannot be applied to operand of type '{1}'</source>
<target state="translated">Operátor {0} nejde použít na operand typu {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ThisInStaticMeth">
<source>Keyword 'this' is not valid in a static property, static method, or static field initializer</source>
<target state="translated">Klíčové slovo this není platné ve statické vlastnosti, ve statické metodě ani ve statickém inicializátoru pole.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ThisInBadContext">
<source>Keyword 'this' is not available in the current context</source>
<target state="translated">Klíčové slovo this není v aktuálním kontextu k dispozici.</target>
<note />
</trans-unit>
<trans-unit id="WRN_InvalidMainSig">
<source>'{0}' has the wrong signature to be an entry point</source>
<target state="translated">{0} nemá správný podpis, takže nemůže být vstupním bodem.</target>
<note />
</trans-unit>
<trans-unit id="WRN_InvalidMainSig_Title">
<source>Method has the wrong signature to be an entry point</source>
<target state="translated">Metoda nemá správný podpis, takže nemůže být vstupním bodem.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoImplicitConv">
<source>Cannot implicitly convert type '{0}' to '{1}'</source>
<target state="translated">Typ {0} nejde implicitně převést na typ {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoExplicitConv">
<source>Cannot convert type '{0}' to '{1}'</source>
<target state="translated">Typ {0} nejde převést na typ {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConstOutOfRange">
<source>Constant value '{0}' cannot be converted to a '{1}'</source>
<target state="translated">Konstantní hodnotu {0} nejde převést na typ {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AmbigBinaryOps">
<source>Operator '{0}' is ambiguous on operands of type '{1}' and '{2}'</source>
<target state="translated">Operátor {0} je nejednoznačný na operandech typu {1} a {2}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AmbigUnaryOp">
<source>Operator '{0}' is ambiguous on an operand of type '{1}'</source>
<target state="translated">Operátor {0} je nejednoznačný na operandu typu {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InAttrOnOutParam">
<source>An out parameter cannot have the In attribute</source>
<target state="translated">Parametr out nemůže obsahovat atribut In.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ValueCantBeNull">
<source>Cannot convert null to '{0}' because it is a non-nullable value type</source>
<target state="translated">Hodnotu null nejde převést na typ {0}, protože se jedná o typ, který nemůže mít hodnotu null.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoExplicitBuiltinConv">
<source>Cannot convert type '{0}' to '{1}' via a reference conversion, boxing conversion, unboxing conversion, wrapping conversion, or null type conversion</source>
<target state="translated">Typ {0} nejde převést na {1} prostřednictvím převodu odkazu, převodu zabalení, převodu rozbalení, převodu obálky nebo převodu s hodnotou null.</target>
<note />
</trans-unit>
<trans-unit id="FTL_DebugEmitFailure">
<source>Unexpected error writing debug information -- '{0}'</source>
<target state="translated">Neočekávaná chyba při zápisu ladicích informací -- {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadVisReturnType">
<source>Inconsistent accessibility: return type '{1}' is less accessible than method '{0}'</source>
<target state="translated">Nekonzistentní dostupnost: Typ vrácené hodnoty {1} je míň dostupný než metoda {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadVisParamType">
<source>Inconsistent accessibility: parameter type '{1}' is less accessible than method '{0}'</source>
<target state="translated">Nekonzistentní dostupnost: Typ parametru {1} je míň dostupný než metoda {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadVisFieldType">
<source>Inconsistent accessibility: field type '{1}' is less accessible than field '{0}'</source>
<target state="translated">Nekonzistentní dostupnost: Typ pole {1} je míň dostupný než pole {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadVisPropertyType">
<source>Inconsistent accessibility: property type '{1}' is less accessible than property '{0}'</source>
<target state="translated">Nekonzistentní dostupnost: Typ vlastnosti {1} je míň dostupný než vlastnost {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadVisIndexerReturn">
<source>Inconsistent accessibility: indexer return type '{1}' is less accessible than indexer '{0}'</source>
<target state="translated">Nekonzistentní dostupnost: Typ vrácené hodnoty indexeru {1} je méně dostupný než indexer {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadVisIndexerParam">
<source>Inconsistent accessibility: parameter type '{1}' is less accessible than indexer '{0}'</source>
<target state="translated">Nekonzistentní dostupnost: Typ parametru {1} je míň dostupný než indexer {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadVisOpReturn">
<source>Inconsistent accessibility: return type '{1}' is less accessible than operator '{0}'</source>
<target state="translated">Nekonzistentní dostupnost: Typ vrácené hodnoty {1} je míň dostupný než operátor {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadVisOpParam">
<source>Inconsistent accessibility: parameter type '{1}' is less accessible than operator '{0}'</source>
<target state="translated">Nekonzistentní dostupnost: Typ parametru {1} je míň dostupný než operátor {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadVisDelegateReturn">
<source>Inconsistent accessibility: return type '{1}' is less accessible than delegate '{0}'</source>
<target state="translated">Nekonzistentní dostupnost: Typ vrácené hodnoty {1} je míň dostupný než delegát {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadVisDelegateParam">
<source>Inconsistent accessibility: parameter type '{1}' is less accessible than delegate '{0}'</source>
<target state="translated">Nekonzistentní dostupnost: Typ parametru {1} je míň dostupný než delegát {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadVisBaseClass">
<source>Inconsistent accessibility: base class '{1}' is less accessible than class '{0}'</source>
<target state="translated">Nekonzistentní dostupnost: Základní třída {1} je míň dostupná než třída {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadVisBaseInterface">
<source>Inconsistent accessibility: base interface '{1}' is less accessible than interface '{0}'</source>
<target state="translated">Nekonzistentní dostupnost: Základní rozhraní {1} je míň dostupné než rozhraní {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_EventNeedsBothAccessors">
<source>'{0}': event property must have both add and remove accessors</source>
<target state="translated">{0}: Vlastnost události musí obsahovat přistupující objekty add i remove.</target>
<note />
</trans-unit>
<trans-unit id="ERR_EventNotDelegate">
<source>'{0}': event must be of a delegate type</source>
<target state="translated">{0}: Událost musí být typu delegát.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnreferencedEvent">
<source>The event '{0}' is never used</source>
<target state="translated">Událost {0} se nikdy nepoužívá.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnreferencedEvent_Title">
<source>Event is never used</source>
<target state="translated">Událost se nikdy nepoužívá.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InterfaceEventInitializer">
<source>'{0}': instance event in interface cannot have initializer</source>
<target state="translated">{0}: Událost instance v rozhraní nemůže mít inicializátor.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadEventUsage">
<source>The event '{0}' can only appear on the left hand side of += or -= (except when used from within the type '{1}')</source>
<target state="translated">Událost {0} se může zobrazovat jenom na levé straně výrazu += nebo -= (s výjimkou případu, kdy se používá z typu {1}).</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExplicitEventFieldImpl">
<source>An explicit interface implementation of an event must use event accessor syntax</source>
<target state="translated">Explicitní implementace rozhraní události musí používat syntaxi přistupujícího objektu události.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantOverrideNonEvent">
<source>'{0}': cannot override; '{1}' is not an event</source>
<target state="translated">{0}: Nejde přepsat; {1} není událost.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AddRemoveMustHaveBody">
<source>An add or remove accessor must have a body</source>
<target state="translated">Přistupující objekty add a remove musí mít tělo.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AbstractEventInitializer">
<source>'{0}': abstract event cannot have initializer</source>
<target state="translated">{0}: Abstraktní událost nemůže mít inicializátor.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ReservedAssemblyName">
<source>The assembly name '{0}' is reserved and cannot be used as a reference in an interactive session</source>
<target state="translated">Název sestavení {0} je rezervovaný a nedá se použít jako odkaz v interaktivní relaci.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ReservedEnumerator">
<source>The enumerator name '{0}' is reserved and cannot be used</source>
<target state="translated">Název čítače výčtu {0} je rezervovaný a nedá se použít.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AsMustHaveReferenceType">
<source>The as operator must be used with a reference type or nullable type ('{0}' is a non-nullable value type)</source>
<target state="translated">Operátor as je třeba použít s typem odkazu nebo s typem připouštějícím hodnotu null ({0} je typ hodnoty, který nepřipouští hodnotu null).</target>
<note />
</trans-unit>
<trans-unit id="WRN_LowercaseEllSuffix">
<source>The 'l' suffix is easily confused with the digit '1' -- use 'L' for clarity</source>
<target state="translated">Přípona l je snadno zaměnitelná s číslicí 1. V zájmu větší srozumitelnosti použijte písmeno L.</target>
<note />
</trans-unit>
<trans-unit id="WRN_LowercaseEllSuffix_Title">
<source>The 'l' suffix is easily confused with the digit '1'</source>
<target state="translated">Přípona l je snadno zaměnitelná s číslicí 1.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadEventUsageNoField">
<source>The event '{0}' can only appear on the left hand side of += or -=</source>
<target state="translated">Událost {0} se může zobrazovat jenom na levé straně výrazu += nebo -=.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConstraintOnlyAllowedOnGenericDecl">
<source>Constraints are not allowed on non-generic declarations</source>
<target state="translated">U neobecných deklarací nejsou povolená omezení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TypeParamMustBeIdentifier">
<source>Type parameter declaration must be an identifier not a type</source>
<target state="translated">Deklarace parametru typů musí být identifikátor, ne typ.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MemberReserved">
<source>Type '{1}' already reserves a member called '{0}' with the same parameter types</source>
<target state="translated">Typ {1} už rezervuje člen s názvem {0} se stejnými typy parametrů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateParamName">
<source>The parameter name '{0}' is a duplicate</source>
<target state="translated">Název parametru {0} je duplicitní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateNameInNS">
<source>The namespace '{1}' already contains a definition for '{0}'</source>
<target state="translated">Obor názvů {1} už obsahuje definici pro {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateNameInClass">
<source>The type '{0}' already contains a definition for '{1}'</source>
<target state="translated">Typ {0} už obsahuje definici pro {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NameNotInContext">
<source>The name '{0}' does not exist in the current context</source>
<target state="translated">Název {0} v aktuálním kontextu neexistuje.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NameNotInContextPossibleMissingReference">
<source>The name '{0}' does not exist in the current context (are you missing a reference to assembly '{1}'?)</source>
<target state="translated">Název {0} v aktuálním kontextu neexistuje. (Nechybí odkaz na sestavení {1}?)</target>
<note />
</trans-unit>
<trans-unit id="ERR_AmbigContext">
<source>'{0}' is an ambiguous reference between '{1}' and '{2}'</source>
<target state="translated">{0} je nejednoznačný odkaz mezi {1} a {2}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DuplicateUsing">
<source>The using directive for '{0}' appeared previously in this namespace</source>
<target state="translated">Direktiva using pro {0} se objevila už dřív v tomto oboru názvů.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DuplicateUsing_Title">
<source>Using directive appeared previously in this namespace</source>
<target state="translated">Direktiva Using se už v tomto oboru názvů objevila dříve.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadMemberFlag">
<source>The modifier '{0}' is not valid for this item</source>
<target state="translated">Modifikátor {0} není pro tuto položku platný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadMemberProtection">
<source>More than one protection modifier</source>
<target state="translated">Víc než jeden modifikátor ochrany</target>
<note />
</trans-unit>
<trans-unit id="WRN_NewRequired">
<source>'{0}' hides inherited member '{1}'. Use the new keyword if hiding was intended.</source>
<target state="translated">{0} skryje zděděný člen {1}. Pokud je skrytí úmyslné, použijte klíčové slovo new.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NewRequired_Title">
<source>Member hides inherited member; missing new keyword</source>
<target state="translated">Člen skrývá zděděný člen. Chybí klíčové slovo new.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NewRequired_Description">
<source>A variable was declared with the same name as a variable in a base type. However, the new keyword was not used. This warning informs you that you should use new; the variable is declared as if new had been used in the declaration.</source>
<target state="translated">Proměnná se deklarovala se stejným názvem jako proměnná v základním typu. Klíčové slovo new se ale nepoužilo. Toto varování vás informuje, že byste měli použít new; proměnná je deklarovaná, jako by se v deklaraci používalo new.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NewNotRequired">
<source>The member '{0}' does not hide an accessible member. The new keyword is not required.</source>
<target state="translated">Člen {0} neskrývá přístupný člen. Klíčové slovo new se nevyžaduje.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NewNotRequired_Title">
<source>Member does not hide an inherited member; new keyword is not required</source>
<target state="translated">Člen neskrývá zděděný člen. Klíčové slovo new se nevyžaduje.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CircConstValue">
<source>The evaluation of the constant value for '{0}' involves a circular definition</source>
<target state="translated">Vyhodnocení konstantní hodnoty pro {0} zahrnuje cyklickou definici.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MemberAlreadyExists">
<source>Type '{1}' already defines a member called '{0}' with the same parameter types</source>
<target state="translated">Typ {1} už definuje člen s názvem {0} se stejnými typy parametrů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_StaticNotVirtual">
<source>A static member cannot be marked as '{0}'</source>
<target state="needs-review-translation">Statický člen {0} nemůže být označený klíčovými slovy override, virtual nebo abstract.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OverrideNotNew">
<source>A member '{0}' marked as override cannot be marked as new or virtual</source>
<target state="translated">Člen {0} označený jako override nejde označit jako new nebo virtual.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NewOrOverrideExpected">
<source>'{0}' hides inherited member '{1}'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.</source>
<target state="translated">'Člen {0} skryje zděděný člen {1}. Pokud má aktuální člen tuto implementaci přepsat, přidejte klíčové slovo override. Jinak přidejte klíčové slovo new.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NewOrOverrideExpected_Title">
<source>Member hides inherited member; missing override keyword</source>
<target state="translated">Člen skrývá zděděný člen. Chybí klíčové slovo override.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OverrideNotExpected">
<source>'{0}': no suitable method found to override</source>
<target state="translated">{0}: Nenašla se vhodná metoda k přepsání.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NamespaceUnexpected">
<source>A namespace cannot directly contain members such as fields, methods or statements</source>
<target state="needs-review-translation">Obor názvů nemůže přímo obsahovat členy, jako jsou pole a metody.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoSuchMember">
<source>'{0}' does not contain a definition for '{1}'</source>
<target state="translated">{0} neobsahuje definici pro {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadSKknown">
<source>'{0}' is a {1} but is used like a {2}</source>
<target state="translated">{0} je {1}, ale používá se jako {2}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadSKunknown">
<source>'{0}' is a {1}, which is not valid in the given context</source>
<target state="translated">{0} je {1}, což není platné v daném kontextu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ObjectRequired">
<source>An object reference is required for the non-static field, method, or property '{0}'</source>
<target state="translated">Pro nestatické pole, metodu nebo vlastnost {0} se vyžaduje odkaz na objekt.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AmbigCall">
<source>The call is ambiguous between the following methods or properties: '{0}' and '{1}'</source>
<target state="translated">Volání je nejednoznačné mezi následujícími metodami nebo vlastnostmi: {0} a {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAccess">
<source>'{0}' is inaccessible due to its protection level</source>
<target state="translated">'Typ {0} je vzhledem k úrovni ochrany nepřístupný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MethDelegateMismatch">
<source>No overload for '{0}' matches delegate '{1}'</source>
<target state="translated">Žádná přetížená metoda {0} neodpovídá delegátovi {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RetObjectRequired">
<source>An object of a type convertible to '{0}' is required</source>
<target state="translated">Vyžaduje se objekt typu, který se dá převést na {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RetNoObjectRequired">
<source>Since '{0}' returns void, a return keyword must not be followed by an object expression</source>
<target state="translated">Protože {0} vrací void, nesmí za klíčovým slovem return následovat výraz objektu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_LocalDuplicate">
<source>A local variable or function named '{0}' is already defined in this scope</source>
<target state="translated">Lokální proměnná nebo funkce s názvem {0} je už v tomto oboru definovaná.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AssgLvalueExpected">
<source>The left-hand side of an assignment must be a variable, property or indexer</source>
<target state="translated">Levou stranou přiřazení musí být proměnná, vlastnost nebo indexer.</target>
<note />
</trans-unit>
<trans-unit id="ERR_StaticConstParam">
<source>'{0}': a static constructor must be parameterless</source>
<target state="translated">{0}: Statický konstruktor musí být bez parametrů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NotConstantExpression">
<source>The expression being assigned to '{0}' must be constant</source>
<target state="translated">Výraz přiřazovaný proměnné {0} musí být konstantou.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NotNullConstRefField">
<source>'{0}' is of type '{1}'. A const field of a reference type other than string can only be initialized with null.</source>
<target state="translated">{0} je typu {1}. Pole const s jiným než řetězcovým typem odkazu jde inicializovat jenom hodnotou null.</target>
<note />
</trans-unit>
<trans-unit id="ERR_LocalIllegallyOverrides">
<source>A local or parameter named '{0}' cannot be declared in this scope because that name is used in an enclosing local scope to define a local or parameter</source>
<target state="translated">Místní proměnná nebo parametr s názvem {0} se nedá deklarovat v tomto oboru, protože se tento název používá v uzavírajícím místním oboru pro definování místní proměnné nebo parametru.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadUsingNamespace">
<source>A 'using namespace' directive can only be applied to namespaces; '{0}' is a type not a namespace. Consider a 'using static' directive instead</source>
<target state="translated">Direktivu using namespace jde uplatnit jenom u oborů názvů; {0} je typ, ne obor názvů. Zkuste radši použít direktivu using static.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadUsingType">
<source>A 'using static' directive can only be applied to types; '{0}' is a namespace not a type. Consider a 'using namespace' directive instead</source>
<target state="translated">Direktiva using static se dá použít jenom u typů; {0} je obor názvů, ne typ. Zkuste radši použít direktivu using namespace.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoAliasHere">
<source>A 'using static' directive cannot be used to declare an alias</source>
<target state="translated">Direktiva using static se nedá použít k deklarování aliasu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoBreakOrCont">
<source>No enclosing loop out of which to break or continue</source>
<target state="translated">Příkazy break a continue nejsou uvedené ve smyčce.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateLabel">
<source>The label '{0}' is a duplicate</source>
<target state="translated">Návěstí {0} je duplicitní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoConstructors">
<source>The type '{0}' has no constructors defined</source>
<target state="translated">Pro typ {0} nejsou definované žádné konstruktory.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoNewAbstract">
<source>Cannot create an instance of the abstract type or interface '{0}'</source>
<target state="translated">Nejde vytvořit instanci abstraktního typu nebo rozhraní {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConstValueRequired">
<source>A const field requires a value to be provided</source>
<target state="translated">Pole const vyžaduje zadání hodnoty.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CircularBase">
<source>Circular base type dependency involving '{0}' and '{1}'</source>
<target state="translated">Prvky {0} a {1} jsou součástí cyklické závislosti základního typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadDelegateConstructor">
<source>The delegate '{0}' does not have a valid constructor</source>
<target state="translated">Delegát {0} nemá platný konstruktor.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MethodNameExpected">
<source>Method name expected</source>
<target state="translated">Očekává se název metody.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConstantExpected">
<source>A constant value is expected</source>
<target state="translated">Očekává se konstantní hodnota.</target>
<note />
</trans-unit>
<trans-unit id="ERR_V6SwitchGoverningTypeValueExpected">
<source>A switch expression or case label must be a bool, char, string, integral, enum, or corresponding nullable type in C# 6 and earlier.</source>
<target state="translated">Výraz switch nebo popisek větve musí být bool, char, string, integral, enum nebo odpovídající typ s možnou hodnotou null v jazyce C# 6 nebo starším.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IntegralTypeValueExpected">
<source>A value of an integral type expected</source>
<target state="translated">Očekává se hodnota integrálního typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateCaseLabel">
<source>The switch statement contains multiple cases with the label value '{0}'</source>
<target state="translated">Příkaz switch obsahuje víc případů s hodnotou návěstí {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidGotoCase">
<source>A goto case is only valid inside a switch statement</source>
<target state="translated">Příkaz goto case je platný jenom uvnitř příkazu switch.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PropertyLacksGet">
<source>The property or indexer '{0}' cannot be used in this context because it lacks the get accessor</source>
<target state="translated">Vlastnost nebo indexer {0} nejde v tomto kontextu použít, protože neobsahuje přistupující objekt get.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadExceptionType">
<source>The type caught or thrown must be derived from System.Exception</source>
<target state="translated">Zachycený nebo vyvolaný typ musí být odvozený od třídy System.Exception.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadEmptyThrow">
<source>A throw statement with no arguments is not allowed outside of a catch clause</source>
<target state="translated">Příkaz throw bez argumentů není povolený vně klauzule catch.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadFinallyLeave">
<source>Control cannot leave the body of a finally clause</source>
<target state="translated">Řízení nemůže opustit tělo klauzule finally.</target>
<note />
</trans-unit>
<trans-unit id="ERR_LabelShadow">
<source>The label '{0}' shadows another label by the same name in a contained scope</source>
<target state="translated">Návěstí {0} stíní v obsaženém oboru jiné návěstí se stejným názvem.</target>
<note />
</trans-unit>
<trans-unit id="ERR_LabelNotFound">
<source>No such label '{0}' within the scope of the goto statement</source>
<target state="translated">V rozsahu příkazu goto není žádné takové návěstí {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnreachableCatch">
<source>A previous catch clause already catches all exceptions of this or of a super type ('{0}')</source>
<target state="translated">Předchozí klauzule catch už zachytává všechny výjimky vyvolávané tímto typem nebo nadtypem ({0}).</target>
<note />
</trans-unit>
<trans-unit id="WRN_FilterIsConstantTrue">
<source>Filter expression is a constant 'true', consider removing the filter</source>
<target state="translated">Výraz filtru je konstantní hodnota true. Zvažte odebrání filtru.</target>
<note />
</trans-unit>
<trans-unit id="WRN_FilterIsConstantTrue_Title">
<source>Filter expression is a constant 'true'</source>
<target state="translated">Výraz filtru je konstantní hodnota true.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ReturnExpected">
<source>'{0}': not all code paths return a value</source>
<target state="translated">{0}: Ne všechny cesty kódu vrací hodnotu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnreachableCode">
<source>Unreachable code detected</source>
<target state="translated">Byl zjištěn nedosažitelný kód.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnreachableCode_Title">
<source>Unreachable code detected</source>
<target state="translated">Byl zjištěn nedosažitelný kód.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SwitchFallThrough">
<source>Control cannot fall through from one case label ('{0}') to another</source>
<target state="translated">Řízení se nedá předat z jednoho návěstí příkazu case ({0}) do jiného.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnreferencedLabel">
<source>This label has not been referenced</source>
<target state="translated">Na tuto jmenovku se neodkazuje.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnreferencedLabel_Title">
<source>This label has not been referenced</source>
<target state="translated">Na tuto jmenovku se neodkazuje.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UseDefViolation">
<source>Use of unassigned local variable '{0}'</source>
<target state="translated">Použila se nepřiřazená lokální proměnná {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnreferencedVar">
<source>The variable '{0}' is declared but never used</source>
<target state="translated">Proměnná {0} je deklarovaná, ale nikdy se nepoužívá.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnreferencedVar_Title">
<source>Variable is declared but never used</source>
<target state="translated">Proměnná je deklarovaná, ale nikdy se nepoužívá.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnreferencedField">
<source>The field '{0}' is never used</source>
<target state="translated">Pole {0} se nikdy nepoužívá.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnreferencedField_Title">
<source>Field is never used</source>
<target state="translated">Pole se nikdy nepoužívá.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UseDefViolationField">
<source>Use of possibly unassigned field '{0}'</source>
<target state="translated">Použila se možná nepřiřazené pole {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UseDefViolationProperty">
<source>Use of possibly unassigned auto-implemented property '{0}'</source>
<target state="translated">Použití pravděpodobně nepřiřazené automaticky implementované vlastnosti {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnassignedThis">
<source>Field '{0}' must be fully assigned before control is returned to the caller</source>
<target state="translated">Před předáním řízení volající proceduře musí být pole {0} plně přiřazené.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AmbigQM">
<source>Type of conditional expression cannot be determined because '{0}' and '{1}' implicitly convert to one another</source>
<target state="translated">Typ podmíněného výrazu nejde určit, protože {0} a {1} se implicitně převádějí jeden na druhého.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidQM">
<source>Type of conditional expression cannot be determined because there is no implicit conversion between '{0}' and '{1}'</source>
<target state="translated">Nejde zjistit typ podmíněného výrazu, protože mezi typy {0} a {1} nedochází k implicitnímu převodu</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoBaseClass">
<source>A base class is required for a 'base' reference</source>
<target state="translated">Pro odkaz base se vyžaduje základní typ.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BaseIllegal">
<source>Use of keyword 'base' is not valid in this context</source>
<target state="translated">Použití klíčového slova base není v tomto kontextu platné.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ObjectProhibited">
<source>Member '{0}' cannot be accessed with an instance reference; qualify it with a type name instead</source>
<target state="translated">K členovi {0} nejde přistupovat pomocí odkazu na instanci. Namísto toho použijte kvalifikaci pomocí názvu typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ParamUnassigned">
<source>The out parameter '{0}' must be assigned to before control leaves the current method</source>
<target state="translated">Parametr out {0} se musí přiřadit ještě předtím, než aktuální metoda předá řízení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidArray">
<source>Invalid rank specifier: expected ',' or ']'</source>
<target state="translated">Specifikátor rozsahu je neplatný. Očekávala se čárka (,) nebo pravá hranatá závorka ].</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExternHasBody">
<source>'{0}' cannot be extern and declare a body</source>
<target state="translated">{0} nemůže být extern a deklarovat tělo.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExternHasConstructorInitializer">
<source>'{0}' cannot be extern and have a constructor initializer</source>
<target state="translated">{0} nemůže být extern a mít inicializátor konstruktoru.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AbstractAndExtern">
<source>'{0}' cannot be both extern and abstract</source>
<target state="translated">{0} nemůže být extern i abstract.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAttributeParamType">
<source>Attribute constructor parameter '{0}' has type '{1}', which is not a valid attribute parameter type</source>
<target state="translated">Parametr {0} konstruktoru atributu má typ {1}, což není platný typ pro parametr atributu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAttributeArgument">
<source>An attribute argument must be a constant expression, typeof expression or array creation expression of an attribute parameter type</source>
<target state="translated">Argumentem atributu musí být konstantní výraz, výraz typeof nebo výraz vytvoření pole s typem parametru atributu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAttributeParamDefaultArgument">
<source>Attribute constructor parameter '{0}' is optional, but no default parameter value was specified.</source>
<target state="translated">Parametr {0} konstruktoru atributu je nepovinný, ale nebyla zadaná žádná výchozí hodnota parametru.</target>
<note />
</trans-unit>
<trans-unit id="WRN_IsAlwaysTrue">
<source>The given expression is always of the provided ('{0}') type</source>
<target state="translated">Tento výraz je vždy zadaného typu ({0}).</target>
<note />
</trans-unit>
<trans-unit id="WRN_IsAlwaysTrue_Title">
<source>'is' expression's given expression is always of the provided type</source>
<target state="translated">'Daný výraz is je vždycky zadaného typu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_IsAlwaysFalse">
<source>The given expression is never of the provided ('{0}') type</source>
<target state="translated">Tento výraz nikdy není zadaného typu ({0}).</target>
<note />
</trans-unit>
<trans-unit id="WRN_IsAlwaysFalse_Title">
<source>'is' expression's given expression is never of the provided type</source>
<target state="translated">'Daný výraz is není nikdy zadaného typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_LockNeedsReference">
<source>'{0}' is not a reference type as required by the lock statement</source>
<target state="translated">{0} není typu odkaz, jak vyžaduje příkaz lock</target>
<note />
</trans-unit>
<trans-unit id="ERR_NullNotValid">
<source>Use of null is not valid in this context</source>
<target state="translated">Použití hodnoty NULL není v tomto kontextu platné.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DefaultLiteralNotValid">
<source>Use of default literal is not valid in this context</source>
<target state="translated">Použití výchozího literálu není v tomto kontextu platné.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UseDefViolationThis">
<source>The 'this' object cannot be used before all of its fields have been assigned</source>
<target state="translated">Objekt this se nedá použít, dokud se nepřiřadí všechna jeho pole.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ArgsInvalid">
<source>The __arglist construct is valid only within a variable argument method</source>
<target state="translated">Konstrukce __arglist je platná jenom v rámci metody s proměnnými argumenty.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PtrExpected">
<source>The * or -> operator must be applied to a pointer</source>
<target state="translated">Operátor * nebo -> musí být použitý u ukazatele.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PtrIndexSingle">
<source>A pointer must be indexed by only one value</source>
<target state="translated">Ukazatel může být indexován jenom jednou hodnotou.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ByRefNonAgileField">
<source>Using '{0}' as a ref or out value or taking its address may cause a runtime exception because it is a field of a marshal-by-reference class</source>
<target state="translated">Použití prvku {0} jako hodnoty Ref nebo Out nebo převzetí jeho adresy může způsobit výjimku při běhu, protože se jedná o pole třídy marshal-by-reference.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ByRefNonAgileField_Title">
<source>Using a field of a marshal-by-reference class as a ref or out value or taking its address may cause a runtime exception</source>
<target state="translated">Použití pole třídy marshal-by-reference jako hodnoty Ref nebo Out nebo převzetí jeho adresy může způsobit běhovou výjimku.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AssgReadonlyStatic">
<source>A static readonly field cannot be assigned to (except in a static constructor or a variable initializer)</source>
<target state="translated">Do statického pole určeného jen pro čtení nejde přiřazovat (kromě případu, kdy se nachází uvnitř statického konstruktoru nebo inicializátoru proměnné).</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReadonlyStatic">
<source>A static readonly field cannot be used as a ref or out value (except in a static constructor)</source>
<target state="translated">Statické pole určené jen pro čtení nejde použít jako hodnotu Ref nebo Out (kromě případu, kdy se nachází uvnitř statického konstruktoru).</target>
<note />
</trans-unit>
<trans-unit id="ERR_AssgReadonlyProp">
<source>Property or indexer '{0}' cannot be assigned to -- it is read only</source>
<target state="translated">Vlastnost nebo indexer {0} nejde přiřadit – je jen pro čtení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IllegalStatement">
<source>Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement</source>
<target state="translated">Jako příkaz jde použít jenom objektové výrazy přiřazení, volání, zvýšení nebo snížení hodnoty nebo výrazy obsahující operátor new.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadGetEnumerator">
<source>foreach requires that the return type '{0}' of '{1}' must have a suitable public 'MoveNext' method and public 'Current' property</source>
<target state="translated">Příkaz foreach vyžaduje, aby typ vracených hodnot {0} pro {1} měl vhodnou veřejnou metodu MoveNext a veřejnou vlastnost Current.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TooManyLocals">
<source>Only 65534 locals, including those generated by the compiler, are allowed</source>
<target state="translated">Je povolených jenom 65 534 lokálních proměnných, včetně těch, které generuje kompilátor.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AbstractBaseCall">
<source>Cannot call an abstract base member: '{0}'</source>
<target state="translated">Nejde volat abstraktní základní člen: {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefProperty">
<source>A property or indexer may not be passed as an out or ref parameter</source>
<target state="translated">Vlastnost nebo indexer nejde předat jako parametr ref nebo out.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ManagedAddr">
<source>Cannot take the address of, get the size of, or declare a pointer to a managed type ('{0}')</source>
<target state="translated">Nejde převzít adresu proměnné spravovaného typu ({0}), získat její velikost nebo deklarovat ukazatel na ni.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadFixedInitType">
<source>The type of a local declared in a fixed statement must be a pointer type</source>
<target state="translated">Lokální proměnná deklarovaná v příkazu fixed musí být typu ukazatel.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FixedMustInit">
<source>You must provide an initializer in a fixed or using statement declaration</source>
<target state="translated">V deklaracích příkazů fixed a using je nutné zadat inicializátor.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidAddrOp">
<source>Cannot take the address of the given expression</source>
<target state="translated">Nejde převzít adresu daného výrazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FixedNeeded">
<source>You can only take the address of an unfixed expression inside of a fixed statement initializer</source>
<target state="translated">Adresu volného výrazu jde převzít jenom uvnitř inicializátoru příkazu fixed.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FixedNotNeeded">
<source>You cannot use the fixed statement to take the address of an already fixed expression</source>
<target state="translated">K převzetí adresy výrazu, který je už nastavený jako pevný, nejde použít příkaz fixed.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnsafeNeeded">
<source>Pointers and fixed size buffers may only be used in an unsafe context</source>
<target state="translated">Ukazatele a vyrovnávací paměti pevné velikosti jde použít jenom v nezabezpečeném kontextu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OpTFRetType">
<source>The return type of operator True or False must be bool</source>
<target state="translated">Vrácená hodnota operátorů True a False musí být typu bool.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OperatorNeedsMatch">
<source>The operator '{0}' requires a matching operator '{1}' to also be defined</source>
<target state="translated">Operátor {0} vyžaduje, aby byl definovaný i odpovídající operátor {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadBoolOp">
<source>In order to be applicable as a short circuit operator a user-defined logical operator ('{0}') must have the same return type and parameter types</source>
<target state="translated">Pokud má být uživatelem definovaný logický operátor ({0}) použitelný jako operátor zkráceného vyhodnocení, musí vracet hodnotu stejného typu a mít stejné typy parametrů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MustHaveOpTF">
<source>In order for '{0}' to be applicable as a short circuit operator, its declaring type '{1}' must define operator true and operator false</source>
<target state="translated">Aby byl {0} použitelný jako operátor zkráceného vyhodnocení, musí jeho deklarující typ {1} definovat operátor true a operátor false.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnreferencedVarAssg">
<source>The variable '{0}' is assigned but its value is never used</source>
<target state="translated">Proměnná {0} má přiřazenou hodnotu, ale nikdy se nepoužívá.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnreferencedVarAssg_Title">
<source>Variable is assigned but its value is never used</source>
<target state="translated">Proměnná má přiřazenou hodnotu, ale nikdy se nepoužívá.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CheckedOverflow">
<source>The operation overflows at compile time in checked mode</source>
<target state="translated">Během kompilace v režimu kontroly došlo k přetečení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConstOutOfRangeChecked">
<source>Constant value '{0}' cannot be converted to a '{1}' (use 'unchecked' syntax to override)</source>
<target state="translated">Konstantní hodnotu {0} nejde převést na typ {1} (k přepsání jde použít syntaxi unchecked).</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadVarargs">
<source>A method with vararg cannot be generic, be in a generic type, or have a params parameter</source>
<target state="translated">Metoda s parametrem vararg nemůže být obecná, být obecného typu nebo mít pole parametr params.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ParamsMustBeArray">
<source>The params parameter must be a single dimensional array</source>
<target state="translated">Parametr params musí být jednorozměrné pole.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IllegalArglist">
<source>An __arglist expression may only appear inside of a call or new expression</source>
<target state="translated">Výraz __arglist může být jedině uvnitř volání nebo výrazu new.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IllegalUnsafe">
<source>Unsafe code may only appear if compiling with /unsafe</source>
<target state="translated">Nebezpečný kód může vzniknout jenom při kompilaci s přepínačem /unsafe.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AmbigMember">
<source>Ambiguity between '{0}' and '{1}'</source>
<target state="translated">Došlo k nejednoznačnosti mezi metodami nebo vlastnostmi {0} a {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadForeachDecl">
<source>Type and identifier are both required in a foreach statement</source>
<target state="translated">V příkazu foreach se vyžaduje typ i identifikátor.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ParamsLast">
<source>A params parameter must be the last parameter in a formal parameter list</source>
<target state="translated">Parametr params musí být posledním parametrem v seznamu formálních parametrů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SizeofUnsafe">
<source>'{0}' does not have a predefined size, therefore sizeof can only be used in an unsafe context</source>
<target state="translated">{0} nemá předdefinovanou velikost. Operátor sizeof jde proto použít jenom v nezabezpečeném kontextu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DottedTypeNameNotFoundInNS">
<source>The type or namespace name '{0}' does not exist in the namespace '{1}' (are you missing an assembly reference?)</source>
<target state="translated">Typ nebo název oboru názvů {0} neexistuje v oboru názvů {1}. (Nechybí odkaz na sestavení?)</target>
<note />
</trans-unit>
<trans-unit id="ERR_FieldInitRefNonstatic">
<source>A field initializer cannot reference the non-static field, method, or property '{0}'</source>
<target state="translated">Inicializátor pole nemůže odkazovat na nestatické pole, metodu nebo vlastnost {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SealedNonOverride">
<source>'{0}' cannot be sealed because it is not an override</source>
<target state="translated">{0} nejde zapečetit, protože to není přepis.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantOverrideSealed">
<source>'{0}': cannot override inherited member '{1}' because it is sealed</source>
<target state="translated">{0}: Nejde přepsat zděděný člen {1}, protože je zapečetěný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_VoidError">
<source>The operation in question is undefined on void pointers</source>
<target state="translated">Příslušná operace není definovaná pro ukazatele typu void.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConditionalOnOverride">
<source>The Conditional attribute is not valid on '{0}' because it is an override method</source>
<target state="translated">Atribut Conditional není pro {0} platný, protože je to metoda override.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PointerInAsOrIs">
<source>Neither 'is' nor 'as' is valid on pointer types</source>
<target state="translated">Klíčová slova is a as nejsou platná pro ukazatele.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CallingFinalizeDeprecated">
<source>Destructors and object.Finalize cannot be called directly. Consider calling IDisposable.Dispose if available.</source>
<target state="translated">Destruktory a metodu object.Finalize nejde volat přímo. Zvažte možnost volání metody IDisposable.Dispose, pokud je k dispozici.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SingleTypeNameNotFound">
<source>The type or namespace name '{0}' could not be found (are you missing a using directive or an assembly reference?)</source>
<target state="translated">Typ nebo název oboru názvů {0} se nenašel. (Nechybí direktiva using nebo odkaz na sestavení?)</target>
<note />
</trans-unit>
<trans-unit id="ERR_NegativeStackAllocSize">
<source>Cannot use a negative size with stackalloc</source>
<target state="translated">Ve výrazu stackalloc nejde použít zápornou velikost.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NegativeArraySize">
<source>Cannot create an array with a negative size</source>
<target state="translated">Nejde vytvořit pole se zápornou velikostí.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OverrideFinalizeDeprecated">
<source>Do not override object.Finalize. Instead, provide a destructor.</source>
<target state="translated">Nepřepisujte metodu object.Finalize. Raději použijte destruktor.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CallingBaseFinalizeDeprecated">
<source>Do not directly call your base type Finalize method. It is called automatically from your destructor.</source>
<target state="translated">Nevolejte přímo metodu Finalize základního typu. Tuto metodu volá automaticky destruktor.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NegativeArrayIndex">
<source>Indexing an array with a negative index (array indices always start at zero)</source>
<target state="translated">Došlo k indexování pole záporným indexem (indexy polí vždy začínají hodnotou 0).</target>
<note />
</trans-unit>
<trans-unit id="WRN_NegativeArrayIndex_Title">
<source>Indexing an array with a negative index</source>
<target state="translated">Došlo k indexování pole záporným indexem.</target>
<note />
</trans-unit>
<trans-unit id="WRN_BadRefCompareLeft">
<source>Possible unintended reference comparison; to get a value comparison, cast the left hand side to type '{0}'</source>
<target state="translated">Možná došlo k neúmyslnému porovnání ukazatelů; chcete-li porovnat hodnoty, přetypujte levou stranu na typ {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_BadRefCompareLeft_Title">
<source>Possible unintended reference comparison; left hand side needs cast</source>
<target state="translated">Pravděpodobně došlo k neúmyslnému porovnání odkazů. Je třeba přetypovat levou stranu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_BadRefCompareRight">
<source>Possible unintended reference comparison; to get a value comparison, cast the right hand side to type '{0}'</source>
<target state="translated">Možná došlo k neúmyslnému porovnání ukazatelů; chcete-li porovnat hodnoty, přetypujte pravou stranu na typ {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_BadRefCompareRight_Title">
<source>Possible unintended reference comparison; right hand side needs cast</source>
<target state="translated">Pravděpodobně došlo k neúmyslnému porovnání odkazů. Je třeba přetypovat pravou stranu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadCastInFixed">
<source>The right hand side of a fixed statement assignment may not be a cast expression</source>
<target state="translated">Pravá strana přiřazení příkazu fixed nemůže být výrazem přetypování.</target>
<note />
</trans-unit>
<trans-unit id="ERR_StackallocInCatchFinally">
<source>stackalloc may not be used in a catch or finally block</source>
<target state="translated">Výraz stackalloc nejde použít v bloku catch nebo finally.</target>
<note />
</trans-unit>
<trans-unit id="ERR_VarargsLast">
<source>An __arglist parameter must be the last parameter in a formal parameter list</source>
<target state="translated">Parametr __arglist musí být posledním parametrem v seznamu formálních parametrů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MissingPartial">
<source>Missing partial modifier on declaration of type '{0}'; another partial declaration of this type exists</source>
<target state="translated">Chybí částečný modifikátor deklarace typu {0}; existuje jiná částečná deklarace tohoto typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialTypeKindConflict">
<source>Partial declarations of '{0}' must be all classes, all record classes, all structs, all record structs, or all interfaces</source>
<target state="needs-review-translation">Částečné deklarace {0} musí být jen třídy, jen záznamy, jen struktury, nebo jen rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialModifierConflict">
<source>Partial declarations of '{0}' have conflicting accessibility modifiers</source>
<target state="translated">Částečné deklarace {0} mají konfliktní modifikátory dostupnosti.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMultipleBases">
<source>Partial declarations of '{0}' must not specify different base classes</source>
<target state="translated">Částečné deklarace {0} nesmí určovat různé základní třídy.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialWrongTypeParams">
<source>Partial declarations of '{0}' must have the same type parameter names in the same order</source>
<target state="translated">Částečné deklarace {0} musí mít stejné názvy parametrů typů ve stejném pořadí.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialWrongConstraints">
<source>Partial declarations of '{0}' have inconsistent constraints for type parameter '{1}'</source>
<target state="translated">Částečné deklarace {0} mají nekonzistentní omezení parametru typu {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoImplicitConvCast">
<source>Cannot implicitly convert type '{0}' to '{1}'. An explicit conversion exists (are you missing a cast?)</source>
<target state="translated">Typ {0} nejde implicitně převést na typ {1}. Existuje explicitní převod. (Nechybí výraz přetypování?)</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMisplaced">
<source>The 'partial' modifier can only appear immediately before 'class', 'record', 'struct', 'interface', or a method return type.</source>
<target state="translated">Modifikátor partial se může objevit jen bezprostředně před klíčovými slovy class, record, struct, interface nebo návratovým typem metody.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImportedCircularBase">
<source>Imported type '{0}' is invalid. It contains a circular base type dependency.</source>
<target state="translated">Importovaný typ {0} je neplatný. Obsahuje cyklickou závislost základních typů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UseDefViolationOut">
<source>Use of unassigned out parameter '{0}'</source>
<target state="translated">Použil se nepřiřazený parametr out {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ArraySizeInDeclaration">
<source>Array size cannot be specified in a variable declaration (try initializing with a 'new' expression)</source>
<target state="translated">Velikost pole nejde určit v deklaraci proměnné (zkuste inicializaci pomocí výrazu new).</target>
<note />
</trans-unit>
<trans-unit id="ERR_InaccessibleGetter">
<source>The property or indexer '{0}' cannot be used in this context because the get accessor is inaccessible</source>
<target state="translated">Vlastnost nebo indexer {0} nejde v tomto kontextu použít, protože přistupující objekt get není dostupný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InaccessibleSetter">
<source>The property or indexer '{0}' cannot be used in this context because the set accessor is inaccessible</source>
<target state="translated">Vlastnost nebo indexer {0} nejde v tomto kontextu použít, protože přistupující objekt jet není dostupný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidPropertyAccessMod">
<source>The accessibility modifier of the '{0}' accessor must be more restrictive than the property or indexer '{1}'</source>
<target state="translated">Modifikátor dostupnosti přistupujícího objektu {0} musí být více omezující než vlastnost nebo indexer {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicatePropertyAccessMods">
<source>Cannot specify accessibility modifiers for both accessors of the property or indexer '{0}'</source>
<target state="translated">Nejde zadat modifikátory dostupnosti pro přistupující objekty jak vlastnosti, tak i indexer {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AccessModMissingAccessor">
<source>'{0}': accessibility modifiers on accessors may only be used if the property or indexer has both a get and a set accessor</source>
<target state="translated">{0}: Modifikátory přístupnosti u přistupujících objektů se můžou používat, jenom pokud vlastnost nebo indexeru má přistupující objekt get i set.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnimplementedInterfaceAccessor">
<source>'{0}' does not implement interface member '{1}'. '{2}' is not public.</source>
<target state="translated">{0} neimplementuje člen rozhraní {1}. {2} není veřejný.</target>
<note />
</trans-unit>
<trans-unit id="WRN_PatternIsAmbiguous">
<source>'{0}' does not implement the '{1}' pattern. '{2}' is ambiguous with '{3}'.</source>
<target state="translated">{0} neimplementuje vzorek {1}. {2} je nejednoznačný vzhledem k: {3}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_PatternIsAmbiguous_Title">
<source>Type does not implement the collection pattern; members are ambiguous</source>
<target state="translated">Typ neimplementuje vzorek kolekce. Členové nejsou jednoznační.</target>
<note />
</trans-unit>
<trans-unit id="WRN_PatternBadSignature">
<source>'{0}' does not implement the '{1}' pattern. '{2}' has the wrong signature.</source>
<target state="translated">{0} neimplementuje vzorek {1}. {2} nemá správný podpis.</target>
<note />
</trans-unit>
<trans-unit id="WRN_PatternBadSignature_Title">
<source>Type does not implement the collection pattern; member has the wrong signature</source>
<target state="translated">Typ neimplementuje vzorek kolekce. Člen nemá správný podpis.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FriendRefNotEqualToThis">
<source>Friend access was granted by '{0}', but the public key of the output assembly ('{1}') does not match that specified by the InternalsVisibleTo attribute in the granting assembly.</source>
<target state="translated">Sestavení {0} udělilo přístup typu Friend, ale veřejný klíč výstupního sestavení ({1}) neodpovídá klíči určenému atributem InternalsVisibleTo v udělujícím sestavení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FriendRefSigningMismatch">
<source>Friend access was granted by '{0}', but the strong name signing state of the output assembly does not match that of the granting assembly.</source>
<target state="translated">Sestavení {0} udělilo přístup typu Friend, ale stav podepsání silného názvu u výstupního sestavení neodpovídá stavu udělujícího sestavení.</target>
<note />
</trans-unit>
<trans-unit id="WRN_SequentialOnPartialClass">
<source>There is no defined ordering between fields in multiple declarations of partial struct '{0}'. To specify an ordering, all instance fields must be in the same declaration.</source>
<target state="translated">Mezi poli více deklarací částečné třídy nebo struktury {0} není žádné definované řazení. Pokud chcete zadat řazení, musí být všechna pole instancí ve stejné deklaraci.</target>
<note />
</trans-unit>
<trans-unit id="WRN_SequentialOnPartialClass_Title">
<source>There is no defined ordering between fields in multiple declarations of partial struct</source>
<target state="translated">Není nadefinované řazení mezi poli ve více deklaracích částečné struktury.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadConstType">
<source>The type '{0}' cannot be declared const</source>
<target state="translated">Typ {0} nemůže být deklarovaný jako const.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoNewTyvar">
<source>Cannot create an instance of the variable type '{0}' because it does not have the new() constraint</source>
<target state="translated">Nejde vytvořit instanci proměnné typu {0}, protože nemá omezení new().</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadArity">
<source>Using the generic {1} '{0}' requires {2} type arguments</source>
<target state="translated">Použití obecného prvku {1} {0} vyžaduje tento počet argumentů typů: {2}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadTypeArgument">
<source>The type '{0}' may not be used as a type argument</source>
<target state="translated">Typ {0} nejde použít jako argument typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TypeArgsNotAllowed">
<source>The {1} '{0}' cannot be used with type arguments</source>
<target state="translated">{1} {0} nejde použít s argumenty typů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_HasNoTypeVars">
<source>The non-generic {1} '{0}' cannot be used with type arguments</source>
<target state="translated">Neobecnou možnost {1} {0} nejde použít s argumenty typů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NewConstraintNotSatisfied">
<source>'{2}' must be a non-abstract type with a public parameterless constructor in order to use it as parameter '{1}' in the generic type or method '{0}'</source>
<target state="translated">'Objekt {2} musí být neabstraktního typu s veřejným konstruktorem bez parametrů, jinak jej nejde použít jako parametr {1} v obecném typu nebo metodě {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_GenericConstraintNotSatisfiedRefType">
<source>The type '{3}' cannot be used as type parameter '{2}' in the generic type or method '{0}'. There is no implicit reference conversion from '{3}' to '{1}'.</source>
<target state="translated">Typ {3} nejde použít jako parametr typu {2} v obecném typu nebo metodě {0}. Neexistuje žádný implicitní převod odkazu z {3} na {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_GenericConstraintNotSatisfiedNullableEnum">
<source>The type '{3}' cannot be used as type parameter '{2}' in the generic type or method '{0}'. The nullable type '{3}' does not satisfy the constraint of '{1}'.</source>
<target state="translated">Typ {3} nejde použít jako parametr typu {2} v obecném typu nebo metodě {0}. Typ {3} s možnou hodnotou null nevyhovuje omezení {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_GenericConstraintNotSatisfiedNullableInterface">
<source>The type '{3}' cannot be used as type parameter '{2}' in the generic type or method '{0}'. The nullable type '{3}' does not satisfy the constraint of '{1}'. Nullable types can not satisfy any interface constraints.</source>
<target state="translated">Typ {3} nejde použít jako parametr typu {2} v obecném typu nebo metodě {0}. Typ {3} s možnou hodnotou null nevyhovuje omezení {1}. Typy s možnou hodnotou null nemůžou vyhovět žádným omezením rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_GenericConstraintNotSatisfiedTyVar">
<source>The type '{3}' cannot be used as type parameter '{2}' in the generic type or method '{0}'. There is no boxing conversion or type parameter conversion from '{3}' to '{1}'.</source>
<target state="translated">Typ {3} nejde použít jako parametr typu {2} v obecném typu nebo metodě {0}. Neexistuje žádný převod na uzavřené určení ani převod typu parametru z {3} na {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_GenericConstraintNotSatisfiedValType">
<source>The type '{3}' cannot be used as type parameter '{2}' in the generic type or method '{0}'. There is no boxing conversion from '{3}' to '{1}'.</source>
<target state="translated">Typ {3} nejde použít jako parametr typu {2} v obecném typu nebo metodě {0}. Neexistuje žádný převod na uzavřené určení z {3} na {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateGeneratedName">
<source>The parameter name '{0}' conflicts with an automatically-generated parameter name</source>
<target state="translated">Název parametru {0} je v konfliktu s automaticky generovaným názvem parametru.</target>
<note />
</trans-unit>
<trans-unit id="ERR_GlobalSingleTypeNameNotFound">
<source>The type or namespace name '{0}' could not be found in the global namespace (are you missing an assembly reference?)</source>
<target state="translated">Typ nebo název oboru názvů {0} se nenašel v globálním oboru názvů. (Nechybí odkaz na sestavení?)</target>
<note />
</trans-unit>
<trans-unit id="ERR_NewBoundMustBeLast">
<source>The new() constraint must be the last constraint specified</source>
<target state="translated">Omezení new() musí být poslední zadané omezení.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MainCantBeGeneric">
<source>'{0}': an entry point cannot be generic or in a generic type</source>
<target state="translated">{0}: Vstupní bod nemůže být obecný nebo v obecném typu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MainCantBeGeneric_Title">
<source>An entry point cannot be generic or in a generic type</source>
<target state="translated">Vstupní bod nemůže být obecný nebo v obecném typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TypeVarCantBeNull">
<source>Cannot convert null to type parameter '{0}' because it could be a non-nullable value type. Consider using 'default({0})' instead.</source>
<target state="translated">Hodnotu Null nejde převést na parametr typu {0}, protože by se mohlo jednat o typ, který nemůže mít hodnotu null. Zvažte možnost použití výrazu default({0}).</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateBound">
<source>Duplicate constraint '{0}' for type parameter '{1}'</source>
<target state="translated">Duplicitní omezení {0} pro parametru typu {1}</target>
<note />
</trans-unit>
<trans-unit id="ERR_ClassBoundNotFirst">
<source>The class type constraint '{0}' must come before any other constraints</source>
<target state="translated">Omezení typu třídy {0} musí předcházet všem dalším omezením.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadRetType">
<source>'{1} {0}' has the wrong return type</source>
<target state="translated">{1} {0} má nesprávný návratový typ.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DelegateRefMismatch">
<source>Ref mismatch between '{0}' and delegate '{1}'</source>
<target state="translated">Mezi {0} a delegátem {1} se neshoduje odkaz.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateConstraintClause">
<source>A constraint clause has already been specified for type parameter '{0}'. All of the constraints for a type parameter must be specified in a single where clause.</source>
<target state="translated">Klauzule omezení už byla přidaná pro parametr typu {0}. Všechna omezení pro parametr typu musí být zadaná v jediné klauzuli where.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantInferMethTypeArgs">
<source>The type arguments for method '{0}' cannot be inferred from the usage. Try specifying the type arguments explicitly.</source>
<target state="translated">Argumenty typu pro metodu {0} nejde stanovit z použití. Zadejte argumenty typu explicitně.</target>
<note />
</trans-unit>
<trans-unit id="ERR_LocalSameNameAsTypeParam">
<source>'{0}': a parameter, local variable, or local function cannot have the same name as a method type parameter</source>
<target state="translated">{0}: Parametr, místní proměnná nebo místní funkce nemůžou mít stejný název jako parametr typů metod.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AsWithTypeVar">
<source>The type parameter '{0}' cannot be used with the 'as' operator because it does not have a class type constraint nor a 'class' constraint</source>
<target state="translated">Parametr typu {0} nejde používat s operátorem as, protože nemá omezení typu třída ani omezení class.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnreferencedFieldAssg">
<source>The field '{0}' is assigned but its value is never used</source>
<target state="translated">Pole {0} má přiřazenou hodnotu, ale nikdy se nepoužívá.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnreferencedFieldAssg_Title">
<source>Field is assigned but its value is never used</source>
<target state="translated">Pole má přiřazenou hodnotu, ale nikdy se nepoužívá.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadIndexerNameAttr">
<source>The '{0}' attribute is valid only on an indexer that is not an explicit interface member declaration</source>
<target state="translated">Atribut {0} je platný jenom pro indexer, který nepředstavuje explicitní deklaraci člena rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AttrArgWithTypeVars">
<source>'{0}': an attribute argument cannot use type parameters</source>
<target state="translated">{0}: Argument atributu nemůže používat parametry typů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NewTyvarWithArgs">
<source>'{0}': cannot provide arguments when creating an instance of a variable type</source>
<target state="translated">{0}: Při vytváření instance typu proměnné nejde zadat argumenty.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AbstractSealedStatic">
<source>'{0}': an abstract type cannot be sealed or static</source>
<target state="translated">{0}: Abstraktní typ nemůže být sealed ani static.</target>
<note />
</trans-unit>
<trans-unit id="WRN_AmbiguousXMLReference">
<source>Ambiguous reference in cref attribute: '{0}'. Assuming '{1}', but could have also matched other overloads including '{2}'.</source>
<target state="translated">Nejednoznačný odkaz v atributu cref: {0}. Předpokládá se {1}, ale mohla se najít shoda s dalšími přetíženími, včetně {2}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_AmbiguousXMLReference_Title">
<source>Ambiguous reference in cref attribute</source>
<target state="translated">Nejednoznačný odkaz v atributu cref</target>
<note />
</trans-unit>
<trans-unit id="WRN_VolatileByRef">
<source>'{0}': a reference to a volatile field will not be treated as volatile</source>
<target state="translated">{0}: Odkaz na pole s modifikátorem volatile se nezpracuje jako volatile.</target>
<note />
</trans-unit>
<trans-unit id="WRN_VolatileByRef_Title">
<source>A reference to a volatile field will not be treated as volatile</source>
<target state="translated">Odkaz na pole s modifikátorem volatile se nezpracuje jako volatile.</target>
<note />
</trans-unit>
<trans-unit id="WRN_VolatileByRef_Description">
<source>A volatile field should not normally be used as a ref or out value, since it will not be treated as volatile. There are exceptions to this, such as when calling an interlocked API.</source>
<target state="translated">Pole s modifikátorem volatile by se normálně mělo používat jako hodnota Ref nebo Out, protože se s ním nebude zacházet jako s nestálým. Pro toto pravidlo platí výjimky, například při volání propojeného API.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ComImportWithImpl">
<source>Since '{1}' has the ComImport attribute, '{0}' must be extern or abstract</source>
<target state="translated">Protože {1} má atribut ComImport, {0} musí být externí nebo abstraktní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ComImportWithBase">
<source>'{0}': a class with the ComImport attribute cannot specify a base class</source>
<target state="translated">{0}: Třída s atributem ComImport nemůže určovat základní třídu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImplBadConstraints">
<source>The constraints for type parameter '{0}' of method '{1}' must match the constraints for type parameter '{2}' of interface method '{3}'. Consider using an explicit interface implementation instead.</source>
<target state="translated">Omezení pro parametr typu {0} metody {1} se musí shodovat s omezeními u parametru typu {2} metody rozhraní {3}. Místo toho zvažte použití explicitní implementace rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImplBadTupleNames">
<source>The tuple element names in the signature of method '{0}' must match the tuple element names of interface method '{1}' (including on the return type).</source>
<target state="translated">Názvy prvků řazené kolekce členů v signatuře metody {0} se musí shodovat s názvy prvků řazené kolekce členů metody rozhraní {1} (a zároveň u návratového typu).</target>
<note />
</trans-unit>
<trans-unit id="ERR_DottedTypeNameNotFoundInAgg">
<source>The type name '{0}' does not exist in the type '{1}'</source>
<target state="translated">Název typu {0} neexistuje v typu {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MethGrpToNonDel">
<source>Cannot convert method group '{0}' to non-delegate type '{1}'. Did you intend to invoke the method?</source>
<target state="translated">Nejde převést skupinu metod {0} na nedelegující typ {1}. Chtěli jste volat tuto metodu?</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadExternAlias">
<source>The extern alias '{0}' was not specified in a /reference option</source>
<target state="translated">Externí alias {0} nebyl zadaný jako možnost /reference.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ColColWithTypeAlias">
<source>Cannot use alias '{0}' with '::' since the alias references a type. Use '.' instead.</source>
<target state="translated">Zápis aliasu {0} se dvěma dvojtečkami (::) nejde použít, protože alias odkazuje na typ. Místo toho použijte zápis s tečkou (.).</target>
<note />
</trans-unit>
<trans-unit id="ERR_AliasNotFound">
<source>Alias '{0}' not found</source>
<target state="translated">Alias {0} se nenašel.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SameFullNameAggAgg">
<source>The type '{1}' exists in both '{0}' and '{2}'</source>
<target state="translated">Typ {1} existuje v {0} i {2}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SameFullNameNsAgg">
<source>The namespace '{1}' in '{0}' conflicts with the type '{3}' in '{2}'</source>
<target state="translated">Obor názvů {1} v {0} je v konfliktu s typem {3} v {2}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_SameFullNameThisNsAgg">
<source>The namespace '{1}' in '{0}' conflicts with the imported type '{3}' in '{2}'. Using the namespace defined in '{0}'.</source>
<target state="translated">Obor názvů {1} v {0} je v konfliktu s importovaným typem {3} v {2}. Použije se obor názvů definovaný v {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_SameFullNameThisNsAgg_Title">
<source>Namespace conflicts with imported type</source>
<target state="translated">Obor názvů je v konfliktu s importovaným typem.</target>
<note />
</trans-unit>
<trans-unit id="WRN_SameFullNameThisAggAgg">
<source>The type '{1}' in '{0}' conflicts with the imported type '{3}' in '{2}'. Using the type defined in '{0}'.</source>
<target state="translated">Typ {1} v {0} je v konfliktu s importovaným typem {3} v {2}. Použije se typ definovaný v {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_SameFullNameThisAggAgg_Title">
<source>Type conflicts with imported type</source>
<target state="translated">Typ je v konfliktu s importovaným typem.</target>
<note />
</trans-unit>
<trans-unit id="WRN_SameFullNameThisAggNs">
<source>The type '{1}' in '{0}' conflicts with the imported namespace '{3}' in '{2}'. Using the type defined in '{0}'.</source>
<target state="translated">Typ {1} v {0} je v konfliktu s importovaným oborem názvů {3} v {2}. Použije se typ definovaný v {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_SameFullNameThisAggNs_Title">
<source>Type conflicts with imported namespace</source>
<target state="translated">Typ je v konfliktu s importovaným oborem názvů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SameFullNameThisAggThisNs">
<source>The type '{1}' in '{0}' conflicts with the namespace '{3}' in '{2}'</source>
<target state="translated">Typ {1} v {0} je v konfliktu s oborem názvů {3} v {2}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExternAfterElements">
<source>An extern alias declaration must precede all other elements defined in the namespace</source>
<target state="translated">Deklarace externího aliasu musí předcházet všem ostatním prvkům definovaným v oboru názvů.</target>
<note />
</trans-unit>
<trans-unit id="WRN_GlobalAliasDefn">
<source>Defining an alias named 'global' is ill-advised since 'global::' always references the global namespace and not an alias</source>
<target state="translated">Definování aliasu s názvem global se nedoporučuje, protože global:: vždycky odkazuje na globální obor názvů, ne na alias.</target>
<note />
</trans-unit>
<trans-unit id="WRN_GlobalAliasDefn_Title">
<source>Defining an alias named 'global' is ill-advised</source>
<target state="translated">Definování aliasu s názvem global se nedoporučuje.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SealedStaticClass">
<source>'{0}': a type cannot be both static and sealed</source>
<target state="translated">{0}: Typ nemůže být zároveň statický i zapečetěný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PrivateAbstractAccessor">
<source>'{0}': abstract properties cannot have private accessors</source>
<target state="translated">{0}: Abstraktní vlastnosti nemůžou mít privátní přistupující objekty.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ValueExpected">
<source>Syntax error; value expected</source>
<target state="translated">Chyba syntaxe: Očekávala se hodnota.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnboxNotLValue">
<source>Cannot modify the result of an unboxing conversion</source>
<target state="translated">Nejde změnit výsledek unboxingového převodu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AnonMethGrpInForEach">
<source>Foreach cannot operate on a '{0}'. Did you intend to invoke the '{0}'?</source>
<target state="translated">Příkaz foreach nejde použít pro {0}. Měli jste v úmyslu vyvolat {0}?</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadIncDecRetType">
<source>The return type for ++ or -- operator must match the parameter type or be derived from the parameter type</source>
<target state="translated">Typ vrácené hodnoty operátorů ++ a -- musí odpovídat danému typu parametru nebo z něho musí být odvozený.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefValBoundWithClass">
<source>'{0}': cannot specify both a constraint class and the 'class' or 'struct' constraint</source>
<target state="translated">{0}: Nejde zadat třídu omezení a zároveň omezení class nebo struct.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NewBoundWithVal">
<source>The 'new()' constraint cannot be used with the 'struct' constraint</source>
<target state="translated">Omezení new() nejde používat s omezením struct.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefConstraintNotSatisfied">
<source>The type '{2}' must be a reference type in order to use it as parameter '{1}' in the generic type or method '{0}'</source>
<target state="translated">Typ {2} musí být typ odkazu, aby ho bylo možné používat jako parametr {1} v obecném typu nebo metodě {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ValConstraintNotSatisfied">
<source>The type '{2}' must be a non-nullable value type in order to use it as parameter '{1}' in the generic type or method '{0}'</source>
<target state="translated">Typ {2} musí být typ, který nemůže mít hodnotu null, aby ho bylo možné používat jako parametr {1} v obecném typu nebo metodě {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CircularConstraint">
<source>Circular constraint dependency involving '{0}' and '{1}'</source>
<target state="translated">Cyklická závislost omezení zahrnující {0} a {1}</target>
<note />
</trans-unit>
<trans-unit id="ERR_BaseConstraintConflict">
<source>Type parameter '{0}' inherits conflicting constraints '{1}' and '{2}'</source>
<target state="translated">Parametr typu {0} dědí konfliktní omezení {1} a {2}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConWithValCon">
<source>Type parameter '{1}' has the 'struct' constraint so '{1}' cannot be used as a constraint for '{0}'</source>
<target state="translated">Parametr typu {1} má omezení struct, takže není možné používat {1} jako omezení pro {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AmbigUDConv">
<source>Ambiguous user defined conversions '{0}' and '{1}' when converting from '{2}' to '{3}'</source>
<target state="translated">Při převodu typu {2} na typ {3} došlo k uživatelem definovaným nejednoznačným převodům typu {0} na typ {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_AlwaysNull">
<source>The result of the expression is always 'null' of type '{0}'</source>
<target state="translated">Výsledek výrazu je vždy hodnota null typu {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_AlwaysNull_Title">
<source>The result of the expression is always 'null'</source>
<target state="translated">Výsledek výrazu je vždycky null.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturnThis">
<source>Cannot return 'this' by reference.</source>
<target state="translated">Nejde vrátit this pomocí odkazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AttributeCtorInParameter">
<source>Cannot use attribute constructor '{0}' because it has 'in' parameters.</source>
<target state="translated">Nejde použít konstruktor atributu {0}, protože má parametry in.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OverrideWithConstraints">
<source>Constraints for override and explicit interface implementation methods are inherited from the base method, so they cannot be specified directly, except for either a 'class', or a 'struct' constraint.</source>
<target state="translated">Omezení pro metody přepsání a explicitní implementace rozhraní se dědí ze základní metody, nejde je tedy zadat přímo, s výjimkou omezení class nebo struct.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AmbigOverride">
<source>The inherited members '{0}' and '{1}' have the same signature in type '{2}', so they cannot be overridden</source>
<target state="translated">Zděděné členy {0} a {1} mají stejný podpis v typu {2}, takže je nejde přepsat.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DecConstError">
<source>Evaluation of the decimal constant expression failed</source>
<target state="translated">Vyhodnocování výrazu desítkové konstanty se nepovedlo.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CmpAlwaysFalse">
<source>Comparing with null of type '{0}' always produces 'false'</source>
<target state="translated">Výsledkem porovnání s hodnotou null typu {0} je vždycky false.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CmpAlwaysFalse_Title">
<source>Comparing with null of struct type always produces 'false'</source>
<target state="translated">Výsledkem porovnání s typem struct je vždycky false.</target>
<note />
</trans-unit>
<trans-unit id="WRN_FinalizeMethod">
<source>Introducing a 'Finalize' method can interfere with destructor invocation. Did you intend to declare a destructor?</source>
<target state="translated">Zavedení metody Finalize může vést k potížím s voláním destruktoru. Měli jste v úmyslu deklarovat destruktor?</target>
<note />
</trans-unit>
<trans-unit id="WRN_FinalizeMethod_Title">
<source>Introducing a 'Finalize' method can interfere with destructor invocation</source>
<target state="translated">Zavedení metody Finalize se může rušit s vyvoláním destruktoru.</target>
<note />
</trans-unit>
<trans-unit id="WRN_FinalizeMethod_Description">
<source>This warning occurs when you create a class with a method whose signature is public virtual void Finalize.
If such a class is used as a base class and if the deriving class defines a destructor, the destructor will override the base class Finalize method, not Finalize.</source>
<target state="translated">Toto varování se objeví, pokud vytvoříte třídu s metodou, jejíž podpis je veřejný virtuální void Finalize.
Pokud se taková třída používá jako základní třída a pokud odvozující třída definuje destruktor, přepíše tento destruktor metodu Finalize základní třídy, ne samotné Finalize.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExplicitImplParams">
<source>'{0}' should not have a params parameter since '{1}' does not</source>
<target state="translated">'Pro {0} by neměl být nastavený parametr params, protože {1} ho nemá.</target>
<note />
</trans-unit>
<trans-unit id="WRN_GotoCaseShouldConvert">
<source>The 'goto case' value is not implicitly convertible to type '{0}'</source>
<target state="translated">Hodnotu goto case nejde implicitně převést na typ {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_GotoCaseShouldConvert_Title">
<source>The 'goto case' value is not implicitly convertible to the switch type</source>
<target state="translated">Hodnotu goto case nejde implicitně převést na typ přepínače.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MethodImplementingAccessor">
<source>Method '{0}' cannot implement interface accessor '{1}' for type '{2}'. Use an explicit interface implementation.</source>
<target state="translated">Metoda {0} nemůže implementovat přistupující objekt rozhraní {1} pro typ {2}. Použijte explicitní implementaci rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NubExprIsConstBool">
<source>The result of the expression is always '{0}' since a value of type '{1}' is never equal to 'null' of type '{2}'</source>
<target state="translated">Výsledek výrazu je vždycky {0}, protože hodnota typu {1} se nikdy nerovná hodnotě null typu {2}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NubExprIsConstBool_Title">
<source>The result of the expression is always the same since a value of this type is never equal to 'null'</source>
<target state="translated">Výsledek výrazu je vždycky stejný, protože hodnota tohoto typu se nikdy nerovná hodnotě null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NubExprIsConstBool2">
<source>The result of the expression is always '{0}' since a value of type '{1}' is never equal to 'null' of type '{2}'</source>
<target state="translated">Výsledek výrazu je vždycky {0}, protože hodnota typu {1} se nikdy nerovná hodnotě null typu {2}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NubExprIsConstBool2_Title">
<source>The result of the expression is always the same since a value of this type is never equal to 'null'</source>
<target state="translated">Výsledek výrazu je vždycky stejný, protože hodnota tohoto typu se nikdy nerovná hodnotě null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ExplicitImplCollision">
<source>Explicit interface implementation '{0}' matches more than one interface member. Which interface member is actually chosen is implementation-dependent. Consider using a non-explicit implementation instead.</source>
<target state="translated">Explicitní implementace rozhraní {0} odpovídá víc než jednomu členovi rozhraní. Konkrétní výběr člena rozhraní závisí na implementaci. Zvažte možnost použití neexplicitní implementace.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ExplicitImplCollision_Title">
<source>Explicit interface implementation matches more than one interface member</source>
<target state="translated">Explicitní implementace rozhraní se shoduje s víc než jedním členem rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AbstractHasBody">
<source>'{0}' cannot declare a body because it is marked abstract</source>
<target state="translated">{0} nemůže deklarovat tělo, protože je označené jako abstraktní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConcreteMissingBody">
<source>'{0}' must declare a body because it is not marked abstract, extern, or partial</source>
<target state="translated">{0} musí deklarovat tělo, protože je označené jako abstraktní, externí nebo částečné.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AbstractAndSealed">
<source>'{0}' cannot be both abstract and sealed</source>
<target state="translated">{0} nemůže být extern i sealed.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AbstractNotVirtual">
<source>The abstract {0} '{1}' cannot be marked virtual</source>
<target state="translated">Abstraktní {0} {1} nelze označit jako virtuální.</target>
<note />
</trans-unit>
<trans-unit id="ERR_StaticConstant">
<source>The constant '{0}' cannot be marked static</source>
<target state="translated">Konstanta {0} nemůže být označená jako statická.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantOverrideNonFunction">
<source>'{0}': cannot override because '{1}' is not a function</source>
<target state="translated">{0}: Nejde přepsat, protože {1} není funkce.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantOverrideNonVirtual">
<source>'{0}': cannot override inherited member '{1}' because it is not marked virtual, abstract, or override</source>
<target state="translated">{0}: Nejde přepsat zděděný člen {1}, protože není označený jako virtuální, abstraktní nebo přepis.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantChangeAccessOnOverride">
<source>'{0}': cannot change access modifiers when overriding '{1}' inherited member '{2}'</source>
<target state="translated">{0}: Při přepsání {1} zděděného členu {2} nejde měnit modifikátory přístupu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantChangeTupleNamesOnOverride">
<source>'{0}': cannot change tuple element names when overriding inherited member '{1}'</source>
<target state="translated">{0}: při přepisu zděděného člena {1} nelze změnit prvek řazené kolekce členů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantChangeReturnTypeOnOverride">
<source>'{0}': return type must be '{2}' to match overridden member '{1}'</source>
<target state="translated">{0}: Návratový typ musí být {2}, aby odpovídal přepsanému členu {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantDeriveFromSealedType">
<source>'{0}': cannot derive from sealed type '{1}'</source>
<target state="translated">{0}: Nejde odvozovat ze zapečetěného typu {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AbstractInConcreteClass">
<source>'{0}' is abstract but it is contained in non-abstract type '{1}'</source>
<target state="translated">{0} je abstraktní, ale je obsažená v neabstraktním typu {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_StaticConstructorWithExplicitConstructorCall">
<source>'{0}': static constructor cannot have an explicit 'this' or 'base' constructor call</source>
<target state="translated">{0}: Statický konstruktor nemůže používat explicitní volání konstruktoru this nebo base.</target>
<note />
</trans-unit>
<trans-unit id="ERR_StaticConstructorWithAccessModifiers">
<source>'{0}': access modifiers are not allowed on static constructors</source>
<target state="translated">{0}: Modifikátory přístupu nejsou povolené pro statické konstruktory.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RecursiveConstructorCall">
<source>Constructor '{0}' cannot call itself</source>
<target state="translated">Konstruktor {0} nemůže volat sám sebe.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IndirectRecursiveConstructorCall">
<source>Constructor '{0}' cannot call itself through another constructor</source>
<target state="translated">Konstruktor {0} nemůže volat sám sebe přes jiný konstruktor.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ObjectCallingBaseConstructor">
<source>'{0}' has no base class and cannot call a base constructor</source>
<target state="translated">{0} nemá žádnou základní třídu a nemůže volat konstruktor base.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PredefinedTypeNotFound">
<source>Predefined type '{0}' is not defined or imported</source>
<target state="translated">Předdefinovaný typ {0} není definovaný ani importovaný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PredefinedValueTupleTypeNotFound">
<source>Predefined type '{0}' is not defined or imported</source>
<target state="translated">Předdefinovaný typ {0} není definovaný ani importovaný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PredefinedValueTupleTypeAmbiguous3">
<source>Predefined type '{0}' is declared in multiple referenced assemblies: '{1}' and '{2}'</source>
<target state="translated">Předdefinovaný typ {0} je deklarovaný v několika odkazovaných sestaveních: {1} a {2}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_StructWithBaseConstructorCall">
<source>'{0}': structs cannot call base class constructors</source>
<target state="translated">{0}: Struktury nemůžou volat konstruktor základní třídy.</target>
<note />
</trans-unit>
<trans-unit id="ERR_StructLayoutCycle">
<source>Struct member '{0}' of type '{1}' causes a cycle in the struct layout</source>
<target state="translated">Člen struktury {0} typu {1} způsobuje cyklus v rozložení struktury.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InterfacesCantContainFields">
<source>Interfaces cannot contain instance fields</source>
<target state="translated">Rozhraní nemůžou obsahovat pole instance.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InterfacesCantContainConstructors">
<source>Interfaces cannot contain instance constructors</source>
<target state="translated">Rozhraní nemůžou obsahovat konstruktory instance.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NonInterfaceInInterfaceList">
<source>Type '{0}' in interface list is not an interface</source>
<target state="translated">Typ {0} v seznamu rozhraní není rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateInterfaceInBaseList">
<source>'{0}' is already listed in interface list</source>
<target state="translated">{0} je už uvedené v seznamu rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateInterfaceWithTupleNamesInBaseList">
<source>'{0}' is already listed in the interface list on type '{2}' with different tuple element names, as '{1}'.</source>
<target state="translated">{0} je již uvedeno v seznamu rozhraní u typu {2} s jinými názvy prvků řazené kolekce členů jako {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CycleInInterfaceInheritance">
<source>Inherited interface '{1}' causes a cycle in the interface hierarchy of '{0}'</source>
<target state="translated">Zděděné rozhraní {1} způsobuje cyklus v hierarchii rozhraní {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_HidingAbstractMethod">
<source>'{0}' hides inherited abstract member '{1}'</source>
<target state="translated">{0} skryje zděděný abstraktní člen {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnimplementedAbstractMethod">
<source>'{0}' does not implement inherited abstract member '{1}'</source>
<target state="translated">{0} neimplementuje zděděný abstraktní člen {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnimplementedInterfaceMember">
<source>'{0}' does not implement interface member '{1}'</source>
<target state="translated">{0} neimplementuje člen rozhraní {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ObjectCantHaveBases">
<source>The class System.Object cannot have a base class or implement an interface</source>
<target state="translated">Třída System.Object nemůže mít základní třídu ani nemůže implementovat rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExplicitInterfaceImplementationNotInterface">
<source>'{0}' in explicit interface declaration is not an interface</source>
<target state="translated">{0} v explicitní deklaraci rozhraní není rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InterfaceMemberNotFound">
<source>'{0}' in explicit interface declaration is not found among members of the interface that can be implemented</source>
<target state="translated">{0} v explicitní deklaraci rozhraní se nenašel mezi členy rozhraní, které se dají implementovat.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ClassDoesntImplementInterface">
<source>'{0}': containing type does not implement interface '{1}'</source>
<target state="translated">{0}: Nadřazený typ neimplementuje rozhraní {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExplicitInterfaceImplementationInNonClassOrStruct">
<source>'{0}': explicit interface declaration can only be declared in a class, record, struct or interface</source>
<target state="translated">{0}: Explicitní deklaraci rozhraní se dá použít jen ve třídě, záznamu, struktuře nebo rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MemberNameSameAsType">
<source>'{0}': member names cannot be the same as their enclosing type</source>
<target state="translated">{0}: Názvy členů nemůžou být stejné jako názvy jejich nadřazených typů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_EnumeratorOverflow">
<source>'{0}': the enumerator value is too large to fit in its type</source>
<target state="translated">{0}: Hodnota výčtu je pro příslušný typ moc velká.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantOverrideNonProperty">
<source>'{0}': cannot override because '{1}' is not a property</source>
<target state="translated">{0}: Nejde přepsat, protože {1} není vlastnost.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoGetToOverride">
<source>'{0}': cannot override because '{1}' does not have an overridable get accessor</source>
<target state="translated">{0}: Nejde přepsat, protože {1} neobsahuje přepsatelný přistupující objekt get.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoSetToOverride">
<source>'{0}': cannot override because '{1}' does not have an overridable set accessor</source>
<target state="translated">{0}: Nejde přepsat, protože {1} neobsahuje přepsatelný přistupující objekt set.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PropertyCantHaveVoidType">
<source>'{0}': property or indexer cannot have void type</source>
<target state="translated">{0}: Vlastnost nebo indexer nemůže být typu void.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PropertyWithNoAccessors">
<source>'{0}': property or indexer must have at least one accessor</source>
<target state="translated">{0}: Vlastnost nebo indexer musí obsahovat aspoň jeden přistupující objekt.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NewVirtualInSealed">
<source>'{0}' is a new virtual member in sealed type '{1}'</source>
<target state="translated">{0} je nový virtuální člen v zapečetěném typu {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExplicitPropertyAddingAccessor">
<source>'{0}' adds an accessor not found in interface member '{1}'</source>
<target state="translated">{0} přidává přistupující objekt, který se nenašel v členu rozhraní {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExplicitPropertyMissingAccessor">
<source>Explicit interface implementation '{0}' is missing accessor '{1}'</source>
<target state="translated">V explicitní implementaci rozhraní {0} chybí přistupující objekt {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConversionWithInterface">
<source>'{0}': user-defined conversions to or from an interface are not allowed</source>
<target state="translated">{0}: Uživatelem definované převody na rozhraní nebo z něho nejsou povolené.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConversionWithBase">
<source>'{0}': user-defined conversions to or from a base type are not allowed</source>
<target state="translated">{0}: Uživatelem definované převody na základní typ nebo z něj nejsou povolené.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConversionWithDerived">
<source>'{0}': user-defined conversions to or from a derived type are not allowed</source>
<target state="translated">{0}: Uživatelem definované převody na odvozený typ nebo z něj nejsou povolené.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IdentityConversion">
<source>User-defined operator cannot convert a type to itself</source>
<target state="needs-review-translation">Uživatelem definovaný operátor nemůže převzít objekt nadřazeného typu a převést jej na objekt nadřazeného typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConversionNotInvolvingContainedType">
<source>User-defined conversion must convert to or from the enclosing type</source>
<target state="translated">Uživatelem definovaný převod musí převádět na nadřazený typ nebo z nadřazeného typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateConversionInClass">
<source>Duplicate user-defined conversion in type '{0}'</source>
<target state="translated">Duplicitní uživatelem definovaný převod v typu {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_OperatorsMustBeStatic">
<source>User-defined operator '{0}' must be declared static and public</source>
<target state="translated">Uživatelem definovaný operátor {0} musí být deklarovaný jako static a public.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadIncDecSignature">
<source>The parameter type for ++ or -- operator must be the containing type</source>
<target state="translated">Typ parametru operátorů ++ a -- musí být nadřazeného typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadUnaryOperatorSignature">
<source>The parameter of a unary operator must be the containing type</source>
<target state="translated">Parametr unárního operátoru musí být nadřazeného typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadBinaryOperatorSignature">
<source>One of the parameters of a binary operator must be the containing type</source>
<target state="translated">Jeden z parametrů binárního operátoru musí být nadřazeného typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadShiftOperatorSignature">
<source>The first operand of an overloaded shift operator must have the same type as the containing type, and the type of the second operand must be int</source>
<target state="translated">První operand přetěžovaného operátoru shift musí být stejného typu jako obsahující typ a druhý operand musí být typu int.</target>
<note />
</trans-unit>
<trans-unit id="ERR_EnumsCantContainDefaultConstructor">
<source>Enums cannot contain explicit parameterless constructors</source>
<target state="translated">Výčty nemůžou obsahovat explicitní konstruktory bez parametrů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantOverrideBogusMethod">
<source>'{0}': cannot override '{1}' because it is not supported by the language</source>
<target state="translated">{0} nemůže přepsat {1}, protože ho tento jazyk nepodporuje.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BindToBogus">
<source>'{0}' is not supported by the language</source>
<target state="translated">{0} není tímto jazykem podporovaný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantCallSpecialMethod">
<source>'{0}': cannot explicitly call operator or accessor</source>
<target state="translated">{0}: Nejde explicitně volat operátor nebo přistupující objekt.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadTypeReference">
<source>'{0}': cannot reference a type through an expression; try '{1}' instead</source>
<target state="translated">{0}: Nemůže odkazovat na typ prostřednictvím výrazu. Místo toho zkuste {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadDestructorName">
<source>Name of destructor must match name of type</source>
<target state="translated">Název destruktoru musí odpovídat názvu typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OnlyClassesCanContainDestructors">
<source>Only class types can contain destructors</source>
<target state="translated">Destruktor může být obsažený jenom v typu třída.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConflictAliasAndMember">
<source>Namespace '{1}' contains a definition conflicting with alias '{0}'</source>
<target state="translated">Obor názvů {1} obsahuje definici, která je v konfliktu s aliasem {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConflictingAliasAndDefinition">
<source>Alias '{0}' conflicts with {1} definition</source>
<target state="translated">Alias {0} je v konfliktu s definicí {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConditionalOnSpecialMethod">
<source>The Conditional attribute is not valid on '{0}' because it is a constructor, destructor, operator, lambda expression, or explicit interface implementation</source>
<target state="needs-review-translation">Atribut Conditional není pro {0} platný, protože je to konstruktor, destruktor, operátor nebo explicitní implementace rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConditionalMustReturnVoid">
<source>The Conditional attribute is not valid on '{0}' because its return type is not void</source>
<target state="translated">Atribut Conditional není pro {0} platný, protože jeho návratový kód není void.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateAttribute">
<source>Duplicate '{0}' attribute</source>
<target state="translated">Duplicitní atribut {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateAttributeInNetModule">
<source>Duplicate '{0}' attribute in '{1}'</source>
<target state="translated">Duplicitní atribut {0} v {1}</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConditionalOnInterfaceMethod">
<source>The Conditional attribute is not valid on interface members</source>
<target state="translated">Pro členy rozhraní je atribut Conditional neplatný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OperatorCantReturnVoid">
<source>User-defined operators cannot return void</source>
<target state="translated">Operátory definované uživatelem nemůžou vracet typ void.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadDynamicConversion">
<source>'{0}': user-defined conversions to or from the dynamic type are not allowed</source>
<target state="translated">{0}: Uživatelsky definované převody na dynamický typ nebo z dynamického typu nejsou povolené.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidAttributeArgument">
<source>Invalid value for argument to '{0}' attribute</source>
<target state="translated">Neplatná hodnota pro argument u atributu {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_ParameterNotValidForType">
<source>Parameter not valid for the specified unmanaged type.</source>
<target state="translated">Parametr není platný pro zadaný nespravovaný typ.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AttributeParameterRequired1">
<source>Attribute parameter '{0}' must be specified.</source>
<target state="translated">Parametr atributu {0} musí být zadaný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AttributeParameterRequired2">
<source>Attribute parameter '{0}' or '{1}' must be specified.</source>
<target state="translated">Parametr atributu {0} nebo {1} musí být zadaný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MarshalUnmanagedTypeNotValidForFields">
<source>Unmanaged type '{0}' not valid for fields.</source>
<target state="translated">Nespravovaný typ {0} není platný pro pole.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MarshalUnmanagedTypeOnlyValidForFields">
<source>Unmanaged type '{0}' is only valid for fields.</source>
<target state="translated">Nespravovaný typ {0} je platný jenom pro pole.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AttributeOnBadSymbolType">
<source>Attribute '{0}' is not valid on this declaration type. It is only valid on '{1}' declarations.</source>
<target state="translated">Atribut {0} není platný pro deklaraci tohoto typu. Je platný jenom pro deklarace {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FloatOverflow">
<source>Floating-point constant is outside the range of type '{0}'</source>
<target state="translated">Konstanta s pohyblivou řádovou čárkou je mimo rozsah typu {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ComImportWithoutUuidAttribute">
<source>The Guid attribute must be specified with the ComImport attribute</source>
<target state="translated">Atribut Guid musí být zadaný současně s atributem ComImport.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidNamedArgument">
<source>Invalid value for named attribute argument '{0}'</source>
<target state="translated">Neplatná hodnota argumentu {0} pojmenovaného atributu</target>
<note />
</trans-unit>
<trans-unit id="ERR_DllImportOnInvalidMethod">
<source>The DllImport attribute must be specified on a method marked 'static' and 'extern'</source>
<target state="translated">Pro metodu s deklarací static a extern musí být zadaný atribut DllImport.</target>
<note />
</trans-unit>
<trans-unit id="ERR_EncUpdateFailedMissingAttribute">
<source>Cannot update '{0}'; attribute '{1}' is missing.</source>
<target state="translated">Nelze aktualizovat {0}; chybí atribut {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DllImportOnGenericMethod">
<source>The DllImport attribute cannot be applied to a method that is generic or contained in a generic method or type.</source>
<target state="translated">Atribut DllImport se nedá použít u metody, která je obecná nebo obsažená v obecné metodě nebo typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FieldCantBeRefAny">
<source>Field or property cannot be of type '{0}'</source>
<target state="translated">Pole nebo vlastnost nemůže být typu {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FieldAutoPropCantBeByRefLike">
<source>Field or auto-implemented property cannot be of type '{0}' unless it is an instance member of a ref struct.</source>
<target state="translated">Vlastnost pole nebo automaticky implementovaná vlastnost nemůže být typu {0}, pokud není členem instance struktury REF.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ArrayElementCantBeRefAny">
<source>Array elements cannot be of type '{0}'</source>
<target state="translated">Prvky pole nemůžou být typu {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DeprecatedSymbol">
<source>'{0}' is obsolete</source>
<target state="translated">'Prvek {0} je zastaralý.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DeprecatedSymbol_Title">
<source>Type or member is obsolete</source>
<target state="translated">Typ nebo člen je zastaralý.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NotAnAttributeClass">
<source>'{0}' is not an attribute class</source>
<target state="translated">{0} není třída atributu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadNamedAttributeArgument">
<source>'{0}' is not a valid named attribute argument. Named attribute arguments must be fields which are not readonly, static, or const, or read-write properties which are public and not static.</source>
<target state="translated">{0} není platný argument pojmenovaného atributu. Argumenty pojmenovaného atributu musí být pole, pro která nebyla použitá deklarace readonly, static ani const, nebo vlastnosti pro čtení i zápis, které jsou veřejné a nejsou statické.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DeprecatedSymbolStr">
<source>'{0}' is obsolete: '{1}'</source>
<target state="translated">{0} je zastaralá: {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DeprecatedSymbolStr_Title">
<source>Type or member is obsolete</source>
<target state="translated">Typ nebo člen je zastaralý.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DeprecatedSymbolStr">
<source>'{0}' is obsolete: '{1}'</source>
<target state="translated">{0} je zastaralá: {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IndexerCantHaveVoidType">
<source>Indexers cannot have void type</source>
<target state="translated">Indexer nemůže být typu void.</target>
<note />
</trans-unit>
<trans-unit id="ERR_VirtualPrivate">
<source>'{0}': virtual or abstract members cannot be private</source>
<target state="translated">{0}: Virtuální nebo abstraktní členy nemůžou být privátní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ArrayInitToNonArrayType">
<source>Can only use array initializer expressions to assign to array types. Try using a new expression instead.</source>
<target state="translated">Výrazy inicializátoru pole jde používat jenom pro přiřazení k typům pole. Zkuste použít výraz new.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ArrayInitInBadPlace">
<source>Array initializers can only be used in a variable or field initializer. Try using a new expression instead.</source>
<target state="translated">Inicializátory pole jde používat jenom v inicializátoru pole nebo proměnné. Zkuste použít výraz new.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MissingStructOffset">
<source>'{0}': instance field in types marked with StructLayout(LayoutKind.Explicit) must have a FieldOffset attribute</source>
<target state="translated">{0}: Typy polí instance označené deklarací StructLayout(LayoutKind.Explicit) musí mít atribut FieldOffset.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ExternMethodNoImplementation">
<source>Method, operator, or accessor '{0}' is marked external and has no attributes on it. Consider adding a DllImport attribute to specify the external implementation.</source>
<target state="translated">Metoda, operátor nebo přistupující objekt {0} je označený jako externí a nemá žádné atributy. Zvažte možnost přidání atributu DllImport k určení externí implementace.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ExternMethodNoImplementation_Title">
<source>Method, operator, or accessor is marked external and has no attributes on it</source>
<target state="translated">Metoda, operátor nebo přistupující objekt používá deklaraci external a nemá žádné atributy.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ProtectedInSealed">
<source>'{0}': new protected member declared in sealed type</source>
<target state="translated">{0}: V zapečetěném typu je deklarovaný nový chráněný člen.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ProtectedInSealed_Title">
<source>New protected member declared in sealed type</source>
<target state="translated">V zapečetěném typu je deklarovaný nový chráněný člen</target>
<note />
</trans-unit>
<trans-unit id="ERR_InterfaceImplementedByConditional">
<source>Conditional member '{0}' cannot implement interface member '{1}' in type '{2}'</source>
<target state="translated">Podmíněný člen {0} nemůže implementovat člen rozhraní {1} v typu {2}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IllegalRefParam">
<source>ref and out are not valid in this context</source>
<target state="translated">Atributy ref a out nejsou v tomto kontextu platné.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadArgumentToAttribute">
<source>The argument to the '{0}' attribute must be a valid identifier</source>
<target state="translated">Argument atributu {0} musí být platný identifikátor.</target>
<note />
</trans-unit>
<trans-unit id="ERR_StructOffsetOnBadStruct">
<source>The FieldOffset attribute can only be placed on members of types marked with the StructLayout(LayoutKind.Explicit)</source>
<target state="translated">Atribut FieldOffset jde použít jenom pro členy typů s deklarací StructLayout(LayoutKind.Explicit).</target>
<note />
</trans-unit>
<trans-unit id="ERR_StructOffsetOnBadField">
<source>The FieldOffset attribute is not allowed on static or const fields</source>
<target state="translated">Atribut FieldOffset není povolený pro pole typu static nebo const.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AttributeUsageOnNonAttributeClass">
<source>Attribute '{0}' is only valid on classes derived from System.Attribute</source>
<target state="translated">Atribut {0} je platný jenom pro třídy odvozené od třídy System.Attribute.</target>
<note />
</trans-unit>
<trans-unit id="WRN_PossibleMistakenNullStatement">
<source>Possible mistaken empty statement</source>
<target state="translated">Možná chybný prázdný příkaz</target>
<note />
</trans-unit>
<trans-unit id="WRN_PossibleMistakenNullStatement_Title">
<source>Possible mistaken empty statement</source>
<target state="translated">Možná chybný prázdný příkaz</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateNamedAttributeArgument">
<source>'{0}' duplicate named attribute argument</source>
<target state="translated">'Duplicitní argument pojmenovaného atributu {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_DeriveFromEnumOrValueType">
<source>'{0}' cannot derive from special class '{1}'</source>
<target state="translated">{0} se nemůže odvozovat ze speciální třídy {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DefaultMemberOnIndexedType">
<source>Cannot specify the DefaultMember attribute on a type containing an indexer</source>
<target state="translated">Atribut DefaultMember nejde zadat pro typ obsahující indexer.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BogusType">
<source>'{0}' is a type not supported by the language</source>
<target state="translated">'Typ {0} není tímto jazykem podporovaný.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnassignedInternalField">
<source>Field '{0}' is never assigned to, and will always have its default value {1}</source>
<target state="translated">Do pole {0} se nikdy nic nepřiřadí. Bude mít vždy výchozí hodnotu {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnassignedInternalField_Title">
<source>Field is never assigned to, and will always have its default value</source>
<target state="translated">Do pole se nikdy nic nepřiřadí. Bude mít vždycky výchozí hodnotu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CStyleArray">
<source>Bad array declarator: To declare a managed array the rank specifier precedes the variable's identifier. To declare a fixed size buffer field, use the fixed keyword before the field type.</source>
<target state="translated">Chybný deklarátor pole. Při deklaraci spravovaného pole musí být specifikátor rozměru uvedený před identifikátorem proměnné. Při deklaraci pole vyrovnávací paměti pevné velikosti uveďte před typem pole klíčové slovo fixed.</target>
<note />
</trans-unit>
<trans-unit id="WRN_VacuousIntegralComp">
<source>Comparison to integral constant is useless; the constant is outside the range of type '{0}'</source>
<target state="translated">Porovnání s integrální konstantou je zbytečné; hodnota konstanty je mimo rozsah typu {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_VacuousIntegralComp_Title">
<source>Comparison to integral constant is useless; the constant is outside the range of the type</source>
<target state="translated">Porovnání s integrální konstantou je zbytečné; hodnota konstanty je mimo rozsah typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AbstractAttributeClass">
<source>Cannot apply attribute class '{0}' because it is abstract</source>
<target state="translated">Nejde použít třídu atributů {0}, protože je abstraktní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadNamedAttributeArgumentType">
<source>'{0}' is not a valid named attribute argument because it is not a valid attribute parameter type</source>
<target state="translated">{0} není platný argument pojmenovaného atributu, protože se nejedná o platný typ parametru atributu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MissingPredefinedMember">
<source>Missing compiler required member '{0}.{1}'</source>
<target state="translated">Požadovaný člen {0}.{1} kompilátoru se nenašel.</target>
<note />
</trans-unit>
<trans-unit id="WRN_AttributeLocationOnBadDeclaration">
<source>'{0}' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are '{1}'. All attributes in this block will be ignored.</source>
<target state="translated">{0} není platné umístění atributu pro tuto deklaraci. Platnými umístěními atributů pro tuto deklaraci jsou {1}. Všechny atributy v tomto bloku se budou ignorovat.</target>
<note />
</trans-unit>
<trans-unit id="WRN_AttributeLocationOnBadDeclaration_Title">
<source>Not a valid attribute location for this declaration</source>
<target state="translated">Není platné umístění atributu pro tuto deklaraci.</target>
<note />
</trans-unit>
<trans-unit id="WRN_InvalidAttributeLocation">
<source>'{0}' is not a recognized attribute location. Valid attribute locations for this declaration are '{1}'. All attributes in this block will be ignored.</source>
<target state="translated">{0} není známé umístění atributu. Platná umístění atributu pro tuto deklaraci jsou {1}. Všechny atributy v tomto bloku se budou ignorovat.</target>
<note />
</trans-unit>
<trans-unit id="WRN_InvalidAttributeLocation_Title">
<source>Not a recognized attribute location</source>
<target state="translated">Není rozpoznané umístění atributu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_EqualsWithoutGetHashCode">
<source>'{0}' overrides Object.Equals(object o) but does not override Object.GetHashCode()</source>
<target state="translated">{0} přepisuje Object.Equals(object o), ale nepřepisuje Object.GetHashCode().</target>
<note />
</trans-unit>
<trans-unit id="WRN_EqualsWithoutGetHashCode_Title">
<source>Type overrides Object.Equals(object o) but does not override Object.GetHashCode()</source>
<target state="translated">Typ přepisuje Object.Equals(object o), ale nepřepisuje Object.GetHashCode().</target>
<note />
</trans-unit>
<trans-unit id="WRN_EqualityOpWithoutEquals">
<source>'{0}' defines operator == or operator != but does not override Object.Equals(object o)</source>
<target state="translated">{0} definuje operátor == nebo !=, ale nepřepisuje funkci Object.Equals(object o).</target>
<note />
</trans-unit>
<trans-unit id="WRN_EqualityOpWithoutEquals_Title">
<source>Type defines operator == or operator != but does not override Object.Equals(object o)</source>
<target state="translated">Typ definuje operátor == nebo !=, ale nepřepisuje funkci Object.Equals(object o).</target>
<note />
</trans-unit>
<trans-unit id="WRN_EqualityOpWithoutGetHashCode">
<source>'{0}' defines operator == or operator != but does not override Object.GetHashCode()</source>
<target state="translated">{0} definuje operátor == nebo !=, ale nepřepisuje funkci Object.GetHashCode().</target>
<note />
</trans-unit>
<trans-unit id="WRN_EqualityOpWithoutGetHashCode_Title">
<source>Type defines operator == or operator != but does not override Object.GetHashCode()</source>
<target state="translated">Typ definuje operátor == nebo !=, ale nepřepisuje funkci Object.GetHashCode().</target>
<note />
</trans-unit>
<trans-unit id="ERR_OutAttrOnRefParam">
<source>Cannot specify the Out attribute on a ref parameter without also specifying the In attribute.</source>
<target state="translated">Nejde specifikovat atribut Out pro referenční parametr, když není současně specifikovaný atribut In.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OverloadRefKind">
<source>'{0}' cannot define an overloaded {1} that differs only on parameter modifiers '{2}' and '{3}'</source>
<target state="translated">{0} nemůže definovat přetíženou {1}, která se liší jenom v modifikátorech parametrů {2} a {3}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_LiteralDoubleCast">
<source>Literal of type double cannot be implicitly converted to type '{1}'; use an '{0}' suffix to create a literal of this type</source>
<target state="translated">Literály typu double nejde implicitně převést na typ {1}. Chcete-li vytvořit literál tohoto typu, použijte předponu {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_IncorrectBooleanAssg">
<source>Assignment in conditional expression is always constant; did you mean to use == instead of = ?</source>
<target state="translated">Přiřazení je v podmíněných výrazech vždy konstantní. Nechtěli jste spíše použít operátor == místo operátoru = ?</target>
<note />
</trans-unit>
<trans-unit id="WRN_IncorrectBooleanAssg_Title">
<source>Assignment in conditional expression is always constant</source>
<target state="translated">Přiřazení je v podmíněných výrazech vždycky konstantní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ProtectedInStruct">
<source>'{0}': new protected member declared in struct</source>
<target state="translated">{0}: Ve struktuře je deklarovaný nový chráněný člen.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InconsistentIndexerNames">
<source>Two indexers have different names; the IndexerName attribute must be used with the same name on every indexer within a type</source>
<target state="translated">Dva indexery mají stejný název. Atribut IndexerName musí být v rámci jednoho typu použitý se stejným názvem pro každý indexer.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ComImportWithUserCtor">
<source>A class with the ComImport attribute cannot have a user-defined constructor</source>
<target state="translated">Třída s atributem ComImport nemůže mít konstruktor definovaný uživatelem.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FieldCantHaveVoidType">
<source>Field cannot have void type</source>
<target state="translated">Pole nemůže být typu void.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NonObsoleteOverridingObsolete">
<source>Member '{0}' overrides obsolete member '{1}'. Add the Obsolete attribute to '{0}'.</source>
<target state="translated">Člen {0} přepisuje zastaralý člen {1}. Přidejte ke členu {0} atribut Obsolete.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NonObsoleteOverridingObsolete_Title">
<source>Member overrides obsolete member</source>
<target state="translated">Člen přepisuje nezastaralý člen.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SystemVoid">
<source>System.Void cannot be used from C# -- use typeof(void) to get the void type object</source>
<target state="translated">Nejde použít konstrukci System.Void jazyka C#. Objekt typu void získáte pomocí syntaxe typeof(void).</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExplicitParamArray">
<source>Do not use 'System.ParamArrayAttribute'. Use the 'params' keyword instead.</source>
<target state="translated">Nepoužívejte atribut System.ParamArrayAttribute. Použijte místo něj klíčové slovo params.</target>
<note />
</trans-unit>
<trans-unit id="WRN_BitwiseOrSignExtend">
<source>Bitwise-or operator used on a sign-extended operand; consider casting to a smaller unsigned type first</source>
<target state="translated">Logický bitový operátor or se použil pro operand s rozšířeným podpisem. Zvažte nejprve možnost přetypování na menší nepodepsaný typ.</target>
<note />
</trans-unit>
<trans-unit id="WRN_BitwiseOrSignExtend_Title">
<source>Bitwise-or operator used on a sign-extended operand</source>
<target state="translated">Bitový operátor or byl použitý pro operand s rozšířeným podpisem.</target>
<note />
</trans-unit>
<trans-unit id="WRN_BitwiseOrSignExtend_Description">
<source>The compiler implicitly widened and sign-extended a variable, and then used the resulting value in a bitwise OR operation. This can result in unexpected behavior.</source>
<target state="translated">Kompilátor implicitně rozšířil proměnnou a doplnil k ní podpis. Výslednou hodnotu pak použil v bitovém porovnání NEBO operaci. Výsledkem může být neočekávané chování.</target>
<note />
</trans-unit>
<trans-unit id="ERR_VolatileStruct">
<source>'{0}': a volatile field cannot be of the type '{1}'</source>
<target state="translated">{0}: Pole s modifikátorem volatile nemůže být {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_VolatileAndReadonly">
<source>'{0}': a field cannot be both volatile and readonly</source>
<target state="translated">{0}: U pole nejde použít současně volatile i readonly.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AbstractField">
<source>The modifier 'abstract' is not valid on fields. Try using a property instead.</source>
<target state="translated">Modifikátor abstract není pro pole platný. Místo něho zkuste použít vlastnost.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BogusExplicitImpl">
<source>'{0}' cannot implement '{1}' because it is not supported by the language</source>
<target state="translated">{0} nemůže implementovat {1}, protože ho tento jazyk nepodporuje.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExplicitMethodImplAccessor">
<source>'{0}' explicit method implementation cannot implement '{1}' because it is an accessor</source>
<target state="translated">'Explicitní implementace metody {0} nemůže implementovat {1}, protože se jedná o přistupující objekt.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CoClassWithoutComImport">
<source>'{0}' interface marked with 'CoClassAttribute' not marked with 'ComImportAttribute'</source>
<target state="translated">'Rozhraní {0} s deklarací CoClassAttribute neobsahuje deklaraci ComImportAttribute.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CoClassWithoutComImport_Title">
<source>Interface marked with 'CoClassAttribute' not marked with 'ComImportAttribute'</source>
<target state="translated">Rozhraní s deklarací CoClassAttribute neobsahuje deklaraci ComImportAttribute.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConditionalWithOutParam">
<source>Conditional member '{0}' cannot have an out parameter</source>
<target state="translated">Podmíněný člen {0} nemůže mít parametr out.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AccessorImplementingMethod">
<source>Accessor '{0}' cannot implement interface member '{1}' for type '{2}'. Use an explicit interface implementation.</source>
<target state="translated">Přistupující objekt {0} nemůže implementovat člen rozhraní {1} pro typ {2}. Použijte explicitní implementaci rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AliasQualAsExpression">
<source>The namespace alias qualifier '::' always resolves to a type or namespace so is illegal here. Consider using '.' instead.</source>
<target state="translated">Kvalifikátor aliasu oboru názvů (::) se vždycky vyhodnotí jako typ nebo obor názvů, takže je tady neplatný. Místo něho zvažte použití kvalifikátoru . (tečka).</target>
<note />
</trans-unit>
<trans-unit id="ERR_DerivingFromATyVar">
<source>Cannot derive from '{0}' because it is a type parameter</source>
<target state="translated">Nejde odvozovat z parametru {0}, protože je to parametr typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateTypeParameter">
<source>Duplicate type parameter '{0}'</source>
<target state="translated">Duplicitní parametr typu {0}</target>
<note />
</trans-unit>
<trans-unit id="WRN_TypeParameterSameAsOuterTypeParameter">
<source>Type parameter '{0}' has the same name as the type parameter from outer type '{1}'</source>
<target state="translated">Parametr typu {0} má stejný název jako parametr typu z vnějšího typu {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_TypeParameterSameAsOuterTypeParameter_Title">
<source>Type parameter has the same name as the type parameter from outer type</source>
<target state="translated">Parametr typu má stejný název jako parametr typu z vnějšího typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TypeVariableSameAsParent">
<source>Type parameter '{0}' has the same name as the containing type, or method</source>
<target state="translated">Parametr typu {0} má stejný název jako nadřazený typ nebo metoda.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnifyingInterfaceInstantiations">
<source>'{0}' cannot implement both '{1}' and '{2}' because they may unify for some type parameter substitutions</source>
<target state="translated">{0} nemůže implementovat {1} a zároveň {2}, protože u některých náhrad parametrů typu může dojít k jejich sjednocení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TyVarNotFoundInConstraint">
<source>'{1}' does not define type parameter '{0}'</source>
<target state="translated">{1} nedefinuje parametr typu {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadBoundType">
<source>'{0}' is not a valid constraint. A type used as a constraint must be an interface, a non-sealed class or a type parameter.</source>
<target state="translated">{0} není platné omezení. Typ použitý jako omezení musí být rozhraní, nezapečetěná třída nebo parametr typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SpecialTypeAsBound">
<source>Constraint cannot be special class '{0}'</source>
<target state="translated">Omezení nemůže být speciální třída {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadVisBound">
<source>Inconsistent accessibility: constraint type '{1}' is less accessible than '{0}'</source>
<target state="translated">Nekonzistentní dostupnost: Typ omezení {1} je míň dostupný než {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_LookupInTypeVariable">
<source>Cannot do member lookup in '{0}' because it is a type parameter</source>
<target state="translated">Nejde vyhledávat člena v {0}, protože se jedná o parametr typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadConstraintType">
<source>Invalid constraint type. A type used as a constraint must be an interface, a non-sealed class or a type parameter.</source>
<target state="translated">Neplatný typ omezení. Typ použitý jako omezení musí být rozhraní, nezapečetěná třída nebo parametr typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InstanceMemberInStaticClass">
<source>'{0}': cannot declare instance members in a static class</source>
<target state="translated">{0}: Nejde deklarovat členy instance ve statické třídě.</target>
<note />
</trans-unit>
<trans-unit id="ERR_StaticBaseClass">
<source>'{1}': cannot derive from static class '{0}'</source>
<target state="translated">{1}: Nejde odvodit ze statické třídy {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConstructorInStaticClass">
<source>Static classes cannot have instance constructors</source>
<target state="translated">Statické třídy nemůžou mít konstruktory instancí.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DestructorInStaticClass">
<source>Static classes cannot contain destructors</source>
<target state="translated">Statické třídy nemůžou obsahovat destruktory.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InstantiatingStaticClass">
<source>Cannot create an instance of the static class '{0}'</source>
<target state="translated">Nejde vytvořit instanci statické třídy {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_StaticDerivedFromNonObject">
<source>Static class '{0}' cannot derive from type '{1}'. Static classes must derive from object.</source>
<target state="translated">Statická třída {0} se nemůže odvozovat z typu {1}. Tyto třídy se musí odvozovat z objektu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_StaticClassInterfaceImpl">
<source>'{0}': static classes cannot implement interfaces</source>
<target state="translated">{0}: Statické třídy nemůžou implementovat rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefStructInterfaceImpl">
<source>'{0}': ref structs cannot implement interfaces</source>
<target state="translated">{0}: Struktury REF nemůžou implementovat rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OperatorInStaticClass">
<source>'{0}': static classes cannot contain user-defined operators</source>
<target state="translated">{0}: Statické třídy nemůžou obsahovat operátory definované uživatelem.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConvertToStaticClass">
<source>Cannot convert to static type '{0}'</source>
<target state="translated">Nejde převést na statický typ {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConstraintIsStaticClass">
<source>'{0}': static classes cannot be used as constraints</source>
<target state="translated">{0}: Statické třídy nejde používat jako omezení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_GenericArgIsStaticClass">
<source>'{0}': static types cannot be used as type arguments</source>
<target state="translated">{0}: Statické typy nejde používat jako argumenty typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ArrayOfStaticClass">
<source>'{0}': array elements cannot be of static type</source>
<target state="translated">{0}: Prvky pole nemůžou být statického typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IndexerInStaticClass">
<source>'{0}': cannot declare indexers in a static class</source>
<target state="translated">{0}: Nejde deklarovat indexery ve statické třídě.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ParameterIsStaticClass">
<source>'{0}': static types cannot be used as parameters</source>
<target state="translated">{0}: Statické typy nejde používat jako parametry.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ReturnTypeIsStaticClass">
<source>'{0}': static types cannot be used as return types</source>
<target state="translated">{0}: Statické typy nejde používat jako typy vracených hodnot.</target>
<note />
</trans-unit>
<trans-unit id="ERR_VarDeclIsStaticClass">
<source>Cannot declare a variable of static type '{0}'</source>
<target state="translated">Nejde deklarovat proměnnou statického typu {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadEmptyThrowInFinally">
<source>A throw statement with no arguments is not allowed in a finally clause that is nested inside the nearest enclosing catch clause</source>
<target state="translated">Příkaz throw bez argumentů není povolený v klauzuli finally, která je vnořená do nejbližší uzavírající klauzule catch.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidSpecifier">
<source>'{0}' is not a valid format specifier</source>
<target state="translated">{0} není platným specifikátorem formátu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_AssignmentToLockOrDispose">
<source>Possibly incorrect assignment to local '{0}' which is the argument to a using or lock statement. The Dispose call or unlocking will happen on the original value of the local.</source>
<target state="translated">Možná existuje nesprávné přiřazení místní proměnné {0}, která je argumentem příkazu using nebo lock. Volání Dispose nebo odemknutí se provede u původní hodnoty místní proměnné.</target>
<note />
</trans-unit>
<trans-unit id="WRN_AssignmentToLockOrDispose_Title">
<source>Possibly incorrect assignment to local which is the argument to a using or lock statement</source>
<target state="translated">Pravděpodobně nesprávné přiřazení místní hodnotě, která je argumentem příkazu using nebo lock</target>
<note />
</trans-unit>
<trans-unit id="ERR_ForwardedTypeInThisAssembly">
<source>Type '{0}' is defined in this assembly, but a type forwarder is specified for it</source>
<target state="translated">V tomto sestavení je definovaný typ {0}, je ale pro něj zadané předávání typů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ForwardedTypeIsNested">
<source>Cannot forward type '{0}' because it is a nested type of '{1}'</source>
<target state="translated">Nejde předat typ {0}, protože se jedná o vnořený typ {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CycleInTypeForwarder">
<source>The type forwarder for type '{0}' in assembly '{1}' causes a cycle</source>
<target state="translated">Předávání typů pro typ {0} v sestavení {1} způsobuje zacyklení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AssemblyNameOnNonModule">
<source>The /moduleassemblyname option may only be specified when building a target type of 'module'</source>
<target state="translated">Parametr /moduleassemblyname jde zadat jenom při vytváření typu cíle module.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidAssemblyName">
<source>Assembly reference '{0}' is invalid and cannot be resolved</source>
<target state="translated">Odkaz na sestavení {0} je neplatný a nedá se vyhodnotit.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidFwdType">
<source>Invalid type specified as an argument for TypeForwardedTo attribute</source>
<target state="translated">Neplatný typ zadaný jako argument atributu TypeForwardedTo</target>
<note />
</trans-unit>
<trans-unit id="ERR_CloseUnimplementedInterfaceMemberStatic">
<source>'{0}' does not implement instance interface member '{1}'. '{2}' cannot implement the interface member because it is static.</source>
<target state="needs-review-translation">{0} neimplementuje člen rozhraní {1}. {2} nemůže implementovat člen rozhraní, protože je statické.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CloseUnimplementedInterfaceMemberNotPublic">
<source>'{0}' does not implement interface member '{1}'. '{2}' cannot implement an interface member because it is not public.</source>
<target state="translated">{0} neimplementuje člen rozhraní {1}. {2} nemůže implementovat člen rozhraní, protože není veřejné.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CloseUnimplementedInterfaceMemberWrongReturnType">
<source>'{0}' does not implement interface member '{1}'. '{2}' cannot implement '{1}' because it does not have the matching return type of '{3}'.</source>
<target state="translated">{0} neimplementuje člen rozhraní {1}. {2} nemůže implementovat člen {1}, protože nemá odpovídající návratový typ {3}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateTypeForwarder">
<source>'{0}' duplicate TypeForwardedToAttribute</source>
<target state="translated">'Duplicitní TypeForwardedToAttribute {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpectedSelectOrGroup">
<source>A query body must end with a select clause or a group clause</source>
<target state="translated">Za tělem dotazu musí následovat klauzule select nebo group.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpectedContextualKeywordOn">
<source>Expected contextual keyword 'on'</source>
<target state="translated">Očekávalo se kontextové klíčové slovo on.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpectedContextualKeywordEquals">
<source>Expected contextual keyword 'equals'</source>
<target state="translated">Očekávalo se kontextové klíčové slovo equals.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpectedContextualKeywordBy">
<source>Expected contextual keyword 'by'</source>
<target state="translated">Očekávalo se kontextové klíčové slovo by.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidAnonymousTypeMemberDeclarator">
<source>Invalid anonymous type member declarator. Anonymous type members must be declared with a member assignment, simple name or member access.</source>
<target state="translated">Neplatný deklarátor členu anonymního typu. Členy anonymního typu musí být deklarované přiřazením členu, prostým názvem nebo přístupem k členu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidInitializerElementInitializer">
<source>Invalid initializer member declarator</source>
<target state="translated">Neplatný deklarátor členu inicializátoru</target>
<note />
</trans-unit>
<trans-unit id="ERR_InconsistentLambdaParameterUsage">
<source>Inconsistent lambda parameter usage; parameter types must be all explicit or all implicit</source>
<target state="translated">Nekonzistentní použití parametru lambda. Typy parametrů musí být buď všechny explicitní, nebo všechny implicitní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodInvalidModifier">
<source>A partial method cannot have the 'abstract' modifier</source>
<target state="translated">Částečná metoda nemůže mít modifikátor abstract.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodOnlyInPartialClass">
<source>A partial method must be declared within a partial type</source>
<target state="translated">Částečná metoda musí být deklarovaná uvnitř částečného typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodNotExplicit">
<source>A partial method may not explicitly implement an interface method</source>
<target state="translated">Částečná metoda nesmí explicitně implementovat metodu rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodExtensionDifference">
<source>Both partial method declarations must be extension methods or neither may be an extension method</source>
<target state="translated">Obě deklarace částečné metody musí deklarovat metody rozšíření, nebo nesmí metodu rozšíření deklarovat žádná z nich.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodOnlyOneLatent">
<source>A partial method may not have multiple defining declarations</source>
<target state="translated">Částečná metoda nesmí mít víc definujících deklarací.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodOnlyOneActual">
<source>A partial method may not have multiple implementing declarations</source>
<target state="translated">Částečná metoda nesmí mít víc implementujících deklarací.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodParamsDifference">
<source>Both partial method declarations must use a params parameter or neither may use a params parameter</source>
<target state="translated">Obě deklarace částečné metody musí používat parametr params nebo ho nepoužívat.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodMustHaveLatent">
<source>No defining declaration found for implementing declaration of partial method '{0}'</source>
<target state="translated">Nenašla se žádná definující deklarace pro implementující deklaraci částečné metody {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodInconsistentTupleNames">
<source>Both partial method declarations, '{0}' and '{1}', must use the same tuple element names.</source>
<target state="translated">V deklaracích metod, {0} a {1} se musí používat stejné názvy prvků řazené kolekce členů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodInconsistentConstraints">
<source>Partial method declarations of '{0}' have inconsistent constraints for type parameter '{1}'</source>
<target state="translated">Částečné deklarace metod {0} mají nekonzistentní omezení parametru typu {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodToDelegate">
<source>Cannot create delegate from method '{0}' because it is a partial method without an implementing declaration</source>
<target state="translated">Nejde vytvořit delegáta z metody {0}, protože se jedná o částečnou metodu bez implementující deklarace.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodStaticDifference">
<source>Both partial method declarations must be static or neither may be static</source>
<target state="translated">Obě deklarace částečné metody musí být statické, nebo nesmí být statická žádná z nich.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodUnsafeDifference">
<source>Both partial method declarations must be unsafe or neither may be unsafe</source>
<target state="translated">Obě deklarace částečné metody musí být nezabezpečené, nebo nesmí být nezabezpečená žádná z nich.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialMethodInExpressionTree">
<source>Partial methods with only a defining declaration or removed conditional methods cannot be used in expression trees</source>
<target state="translated">Ve stromech výrazů nejde používat částečné metody, pro které existuje jenom definující deklarace, nebo odebrané podmíněné metody.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ObsoleteOverridingNonObsolete">
<source>Obsolete member '{0}' overrides non-obsolete member '{1}'</source>
<target state="translated">Zastaralý člen {0} potlačuje nezastaralý člen {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ObsoleteOverridingNonObsolete_Title">
<source>Obsolete member overrides non-obsolete member</source>
<target state="translated">Zastaralý člen přepisuje nezastaralý člen.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DebugFullNameTooLong">
<source>The fully qualified name for '{0}' is too long for debug information. Compile without '/debug' option.</source>
<target state="translated">Plně kvalifikovaný název {0} je moc dlouhý pro vygenerování ladicích informací. Z kompilace vyřaďte možnost /debug.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DebugFullNameTooLong_Title">
<source>Fully qualified name is too long for debug information</source>
<target state="translated">Plně kvalifikovaný název je pro ladicí informace moc dlouhý.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImplicitlyTypedVariableAssignedBadValue">
<source>Cannot assign {0} to an implicitly-typed variable</source>
<target state="translated">{0} nejde přiřadit k proměnné s implicitním typem.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImplicitlyTypedVariableWithNoInitializer">
<source>Implicitly-typed variables must be initialized</source>
<target state="translated">Proměnné s implicitním typem musí být inicializované.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImplicitlyTypedVariableMultipleDeclarator">
<source>Implicitly-typed variables cannot have multiple declarators</source>
<target state="translated">Proměnné s implicitním typem nemůžou mít víc deklarátorů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImplicitlyTypedVariableAssignedArrayInitializer">
<source>Cannot initialize an implicitly-typed variable with an array initializer</source>
<target state="translated">Proměnnou s implicitním typem nejde inicializovat inicializátorem pole.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImplicitlyTypedLocalCannotBeFixed">
<source>Implicitly-typed local variables cannot be fixed</source>
<target state="translated">Lokální proměnné s implicitním typem nemůžou být pevné.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImplicitlyTypedVariableCannotBeConst">
<source>Implicitly-typed variables cannot be constant</source>
<target state="translated">Proměnné s implicitním typem nemůžou být konstanty.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ExternCtorNoImplementation">
<source>Constructor '{0}' is marked external</source>
<target state="translated">Konstruktor {0} je označený jako externí.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ExternCtorNoImplementation_Title">
<source>Constructor is marked external</source>
<target state="translated">Konstruktor je označený jako externí.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TypeVarNotFound">
<source>The contextual keyword 'var' may only appear within a local variable declaration or in script code</source>
<target state="translated">Kontextové klíčové slovo var se může objevit pouze v rámci deklarace lokální proměnné nebo v kódu skriptu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImplicitlyTypedArrayNoBestType">
<source>No best type found for implicitly-typed array</source>
<target state="translated">Nebyl nalezen optimální typ pro implicitně typované pole.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AnonymousTypePropertyAssignedBadValue">
<source>Cannot assign '{0}' to anonymous type property</source>
<target state="translated">{0} nejde přiřadit k anonymní vlastnosti typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsBaseAccess">
<source>An expression tree may not contain a base access</source>
<target state="translated">Strom výrazu nesmí obsahovat základní přístup.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsAssignment">
<source>An expression tree may not contain an assignment operator</source>
<target state="translated">Strom výrazu nesmí obsahovat operátor přiřazení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AnonymousTypeDuplicatePropertyName">
<source>An anonymous type cannot have multiple properties with the same name</source>
<target state="translated">Anonymní typ nemůže mít více vlastností se stejným názvem.</target>
<note />
</trans-unit>
<trans-unit id="ERR_StatementLambdaToExpressionTree">
<source>A lambda expression with a statement body cannot be converted to an expression tree</source>
<target state="translated">Výraz lambda s tělem příkazu nejde převést na strom výrazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeMustHaveDelegate">
<source>Cannot convert lambda to an expression tree whose type argument '{0}' is not a delegate type</source>
<target state="translated">Výraz lambda nejde převést na strom výrazu, jehož argument typu {0} neurčuje delegovaný typ.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AnonymousTypeNotAvailable">
<source>Cannot use anonymous type in a constant expression</source>
<target state="translated">V konstantním výrazu nejde použít anonymní typ.</target>
<note />
</trans-unit>
<trans-unit id="ERR_LambdaInIsAs">
<source>The first operand of an 'is' or 'as' operator may not be a lambda expression, anonymous method, or method group.</source>
<target state="translated">Prvním operandem operátoru is nebo as nesmí být výraz lambda, anonymní metoda ani skupina metod.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TypelessTupleInAs">
<source>The first operand of an 'as' operator may not be a tuple literal without a natural type.</source>
<target state="translated">První operand operátoru as nesmí být literál řazené kolekce členů bez přirozeného typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsMultiDimensionalArrayInitializer">
<source>An expression tree may not contain a multidimensional array initializer</source>
<target state="translated">Strom výrazu nesmí obsahovat inicializátor vícedimenzionálního pole.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MissingArgument">
<source>Argument missing</source>
<target state="translated">Chybí argument.</target>
<note />
</trans-unit>
<trans-unit id="ERR_VariableUsedBeforeDeclaration">
<source>Cannot use local variable '{0}' before it is declared</source>
<target state="translated">Lokální proměnnou {0} nejde použít dřív, než je deklarovaná.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RecursivelyTypedVariable">
<source>Type of '{0}' cannot be inferred since its initializer directly or indirectly refers to the definition.</source>
<target state="translated">Typ pro {0} nejde odvodit, protože jeho inicializátor přímo nebo nepřímo odkazuje na definici.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnassignedThisAutoProperty">
<source>Auto-implemented property '{0}' must be fully assigned before control is returned to the caller.</source>
<target state="translated">Před vrácením řízení volajícímu modulu musí být plně přiřazená automaticky implementovaná vlastnost {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_VariableUsedBeforeDeclarationAndHidesField">
<source>Cannot use local variable '{0}' before it is declared. The declaration of the local variable hides the field '{1}'.</source>
<target state="translated">Lokální proměnnou {0} nejde použít dřív, než je deklarovaná. Deklarace lokální proměnné skryje pole {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsBadCoalesce">
<source>An expression tree lambda may not contain a coalescing operator with a null or default literal left-hand side</source>
<target state="translated">Strom výrazu lambda nesmí obsahovat operátor sloučení, na jehož levé straně stojí literál s hodnotou Null nebo výchozí literál.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IdentifierExpected">
<source>Identifier expected</source>
<target state="translated">Očekával se identifikátor.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SemicolonExpected">
<source>; expected</source>
<target state="translated">Očekával se středník (;).</target>
<note />
</trans-unit>
<trans-unit id="ERR_SyntaxError">
<source>Syntax error, '{0}' expected</source>
<target state="translated">Chyba syntaxe; očekávána hodnota: {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateModifier">
<source>Duplicate '{0}' modifier</source>
<target state="translated">Duplicitní modifikátor {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateAccessor">
<source>Property accessor already defined</source>
<target state="translated">Přistupující objekt vlastnosti je už definovaný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IntegralTypeExpected">
<source>Type byte, sbyte, short, ushort, int, uint, long, or ulong expected</source>
<target state="translated">Očekával se typ byte, sbyte, short, ushort, int, uint, long nebo ulong.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IllegalEscape">
<source>Unrecognized escape sequence</source>
<target state="translated">Nerozpoznaná řídicí sekvence</target>
<note />
</trans-unit>
<trans-unit id="ERR_NewlineInConst">
<source>Newline in constant</source>
<target state="translated">Konstanta obsahuje znak nového řádku.</target>
<note />
</trans-unit>
<trans-unit id="ERR_EmptyCharConst">
<source>Empty character literal</source>
<target state="translated">Prázdný znakový literál</target>
<note />
</trans-unit>
<trans-unit id="ERR_TooManyCharsInConst">
<source>Too many characters in character literal</source>
<target state="translated">Příliš moc znaků ve znakovém literálu</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidNumber">
<source>Invalid number</source>
<target state="translated">Neplatné číslo</target>
<note />
</trans-unit>
<trans-unit id="ERR_GetOrSetExpected">
<source>A get or set accessor expected</source>
<target state="translated">Očekával se přistupující objekt get nebo set.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ClassTypeExpected">
<source>An object, string, or class type expected</source>
<target state="translated">Očekával se typ object, string nebo class.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NamedArgumentExpected">
<source>Named attribute argument expected</source>
<target state="translated">Očekával se argument pojmenovaného atributu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TooManyCatches">
<source>Catch clauses cannot follow the general catch clause of a try statement</source>
<target state="translated">Klauzule catch nemůžou následovat za obecnou klauzulí catch příkazu try.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ThisOrBaseExpected">
<source>Keyword 'this' or 'base' expected</source>
<target state="translated">Očekávalo se klíčové slovo this nebo base.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OvlUnaryOperatorExpected">
<source>Overloadable unary operator expected</source>
<target state="translated">Očekával se přetěžovatelný unární operátor.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OvlBinaryOperatorExpected">
<source>Overloadable binary operator expected</source>
<target state="translated">Očekával se přetěžovatelný binární operátor.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IntOverflow">
<source>Integral constant is too large</source>
<target state="translated">Integrální konstanta je moc velká.</target>
<note />
</trans-unit>
<trans-unit id="ERR_EOFExpected">
<source>Type or namespace definition, or end-of-file expected</source>
<target state="translated">Očekávala se definice typu nebo oboru názvů, nebo konec souboru.</target>
<note />
</trans-unit>
<trans-unit id="ERR_GlobalDefinitionOrStatementExpected">
<source>Member definition, statement, or end-of-file expected</source>
<target state="translated">Očekává se definice člena, příkaz nebo konec souboru.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadEmbeddedStmt">
<source>Embedded statement cannot be a declaration or labeled statement</source>
<target state="translated">Vloženým příkazem nemůže být deklarace ani příkaz s návěstím.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PPDirectiveExpected">
<source>Preprocessor directive expected</source>
<target state="translated">Očekávala se direktiva preprocesoru.</target>
<note />
</trans-unit>
<trans-unit id="ERR_EndOfPPLineExpected">
<source>Single-line comment or end-of-line expected</source>
<target state="translated">Očekával se jednořádkový komentář nebo konec řádku.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CloseParenExpected">
<source>) expected</source>
<target state="translated">Očekává se ).</target>
<note />
</trans-unit>
<trans-unit id="ERR_EndifDirectiveExpected">
<source>#endif directive expected</source>
<target state="translated">Očekávala se direktiva #endif.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnexpectedDirective">
<source>Unexpected preprocessor directive</source>
<target state="translated">Neočekávaná direktiva preprocesoru</target>
<note />
</trans-unit>
<trans-unit id="ERR_ErrorDirective">
<source>#error: '{0}'</source>
<target state="translated">#error: {0}</target>
<note />
</trans-unit>
<trans-unit id="WRN_WarningDirective">
<source>#warning: '{0}'</source>
<target state="translated">#warning: {0}</target>
<note />
</trans-unit>
<trans-unit id="WRN_WarningDirective_Title">
<source>#warning directive</source>
<target state="translated">Direktiva #warning</target>
<note />
</trans-unit>
<trans-unit id="ERR_TypeExpected">
<source>Type expected</source>
<target state="translated">Očekával se typ.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PPDefFollowsToken">
<source>Cannot define/undefine preprocessor symbols after first token in file</source>
<target state="translated">Po prvním tokenu v souboru nejde definovat symboly preprocesoru ani rušit jejich definice.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PPReferenceFollowsToken">
<source>Cannot use #r after first token in file</source>
<target state="translated">Nejde použít #r po prvním tokenu v souboru.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OpenEndedComment">
<source>End-of-file found, '*/' expected</source>
<target state="translated">Našel se konec souboru. Očekával se řetězec */.</target>
<note />
</trans-unit>
<trans-unit id="ERR_Merge_conflict_marker_encountered">
<source>Merge conflict marker encountered</source>
<target state="translated">Byla zjištěna značka konfliktu sloučení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoRefOutWhenRefOnly">
<source>Do not use refout when using refonly.</source>
<target state="translated">Když používáte refonly, nepoužívejte refout.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoNetModuleOutputWhenRefOutOrRefOnly">
<source>Cannot compile net modules when using /refout or /refonly.</source>
<target state="translated">Když se používá přepínač /refout nebo /refonly, nejde zkompilovat síťové moduly.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OvlOperatorExpected">
<source>Overloadable operator expected</source>
<target state="translated">Očekával se přetěžovatelný operátor.</target>
<note />
</trans-unit>
<trans-unit id="ERR_EndRegionDirectiveExpected">
<source>#endregion directive expected</source>
<target state="translated">Očekávala se direktiva #endregion.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnterminatedStringLit">
<source>Unterminated string literal</source>
<target state="translated">Neukončený řetězcový literál</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadDirectivePlacement">
<source>Preprocessor directives must appear as the first non-whitespace character on a line</source>
<target state="translated">Direktivy preprocesoru musí být uvedené jako první neprázdné znaky na řádku.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IdentifierExpectedKW">
<source>Identifier expected; '{1}' is a keyword</source>
<target state="translated">Očekával se identifikátor; {1} je klíčové slovo.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SemiOrLBraceExpected">
<source>{ or ; expected</source>
<target state="translated">Očekávala se levá složená závorka ({) nebo středník (;).</target>
<note />
</trans-unit>
<trans-unit id="ERR_MultiTypeInDeclaration">
<source>Cannot use more than one type in a for, using, fixed, or declaration statement</source>
<target state="translated">V příkazu deklarace for, using, fixed nebo or nejde použít více než jeden typ.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AddOrRemoveExpected">
<source>An add or remove accessor expected</source>
<target state="translated">Očekával se přistupující objekt add nebo remove.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnexpectedCharacter">
<source>Unexpected character '{0}'</source>
<target state="translated">Neočekávaný znak {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnexpectedToken">
<source>Unexpected token '{0}'</source>
<target state="translated">Neočekávaný token {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_ProtectedInStatic">
<source>'{0}': static classes cannot contain protected members</source>
<target state="translated">{0}: Statické třídy nemůžou obsahovat chráněné členy.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnreachableGeneralCatch">
<source>A previous catch clause already catches all exceptions. All non-exceptions thrown will be wrapped in a System.Runtime.CompilerServices.RuntimeWrappedException.</source>
<target state="translated">Předchozí klauzule catch už zachycuje všechny výjimky. Všechny vyvolané události, které nejsou výjimkami, budou zahrnuty do obálky třídy System.Runtime.CompilerServices.RuntimeWrappedException.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnreachableGeneralCatch_Title">
<source>A previous catch clause already catches all exceptions</source>
<target state="translated">Předchozí klauzule catch už zachytává všechny výjimky.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnreachableGeneralCatch_Description">
<source>This warning is caused when a catch() block has no specified exception type after a catch (System.Exception e) block. The warning advises that the catch() block will not catch any exceptions.
A catch() block after a catch (System.Exception e) block can catch non-CLS exceptions if the RuntimeCompatibilityAttribute is set to false in the AssemblyInfo.cs file: [assembly: RuntimeCompatibilityAttribute(WrapNonExceptionThrows = false)]. If this attribute is not set explicitly to false, all thrown non-CLS exceptions are wrapped as Exceptions and the catch (System.Exception e) block catches them.</source>
<target state="translated">Toto varování způsobuje, když blok catch() nemá žádný zadaný typ výjimky po bloku catch (System.Exception e). Varování informuje, že blok catch() nezachytí žádné výjimky.
Blok catch() po bloku catch (System.Exception e) může zachytit výjimky, které nesouvisí se specifikací CLS, pokud je RuntimeCompatibilityAttribute nastavený na false v souboru AssemblyInfo.cs: [assembly: RuntimeCompatibilityAttribute(WrapNonExceptionThrows = false)]. Pokud tento atribut není nastavený explicitně na false, všechny výjimky, které nesouvisí se specifikací CLS, se dostanou do balíčku Exceptions a blok catch (System.Exception e) je zachytí.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IncrementLvalueExpected">
<source>The operand of an increment or decrement operator must be a variable, property or indexer</source>
<target state="translated">Operandem operátoru přičtení nebo odečtení musí být proměnná, vlastnost nebo indexer.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoSuchMemberOrExtension">
<source>'{0}' does not contain a definition for '{1}' and no accessible extension method '{1}' accepting a first argument of type '{0}' could be found (are you missing a using directive or an assembly reference?)</source>
<target state="translated">{0} neobsahuje definici pro {1} a nenašla se žádná dostupná metoda rozšíření {1}, která by přijímala první argument typu {0}. (Nechybí direktiva using nebo odkaz na sestavení?)</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoSuchMemberOrExtensionNeedUsing">
<source>'{0}' does not contain a definition for '{1}' and no extension method '{1}' accepting a first argument of type '{0}' could be found (are you missing a using directive for '{2}'?)</source>
<target state="translated">{0} neobsahuje definici pro {1} a nenašla se žádná metoda rozšíření {1}, která by přijímala první argument typu {0}. (Nechybí direktiva using pro {2}?)</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadThisParam">
<source>Method '{0}' has a parameter modifier 'this' which is not on the first parameter</source>
<target state="translated">Metoda {0} má modifikátor parametru this, který není na prvním parametru.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadParameterModifiers">
<source> The parameter modifier '{0}' cannot be used with '{1}'</source>
<target state="translated"> Modifikátor parametru {0} nejde použít s modifikátorem {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadTypeforThis">
<source>The first parameter of an extension method cannot be of type '{0}'</source>
<target state="translated">První parametr metody rozšíření nesmí být typu {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadParamModThis">
<source>A parameter array cannot be used with 'this' modifier on an extension method</source>
<target state="translated">V metodě rozšíření nejde použít pole parametrů s modifikátorem this.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadExtensionMeth">
<source>Extension method must be static</source>
<target state="translated">Metoda rozšíření musí být statická.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadExtensionAgg">
<source>Extension method must be defined in a non-generic static class</source>
<target state="translated">Metoda rozšíření musí být definovaná v neobecné statické třídě.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DupParamMod">
<source>A parameter can only have one '{0}' modifier</source>
<target state="translated">Parametr může mít jenom jeden modifikátor {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExtensionMethodsDecl">
<source>Extension methods must be defined in a top level static class; {0} is a nested class</source>
<target state="translated">Metody rozšíření musí být definované ve statické třídě nejvyšší úrovně; {0} je vnořená třída.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExtensionAttrNotFound">
<source>Cannot define a new extension method because the compiler required type '{0}' cannot be found. Are you missing a reference to System.Core.dll?</source>
<target state="translated">Nejde definovat novou metodu rozšíření, protože se nenašel vyžadovaný typ kompilátoru {0}. Nechybí odkaz na System.Core.dll?</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExplicitExtension">
<source>Do not use 'System.Runtime.CompilerServices.ExtensionAttribute'. Use the 'this' keyword instead.</source>
<target state="translated">Nepoužívejte System.Runtime.CompilerServices.ExtensionAttribute. Místo toho použijte klíčové slovo this.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExplicitDynamicAttr">
<source>Do not use 'System.Runtime.CompilerServices.DynamicAttribute'. Use the 'dynamic' keyword instead.</source>
<target state="translated">Nepoužívejte System.Runtime.CompilerServices.DynamicAttribute. Místo toho použijte klíčové slovo dynamic.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoDynamicPhantomOnBaseCtor">
<source>The constructor call needs to be dynamically dispatched, but cannot be because it is part of a constructor initializer. Consider casting the dynamic arguments.</source>
<target state="translated">Volání konstruktoru je nutné volat dynamicky, což ale není možné, protože je součástí inicializátoru konstruktoru. Zvažte použití dynamických argumentů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ValueTypeExtDelegate">
<source>Extension method '{0}' defined on value type '{1}' cannot be used to create delegates</source>
<target state="translated">Metoda rozšíření {0} definovaná v hodnotovém typu {1} se nedá použít k vytváření delegátů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadArgCount">
<source>No overload for method '{0}' takes {1} arguments</source>
<target state="translated">Žádné přetížení pro metodu {0} nepřevezme tento počet argumentů: {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadArgType">
<source>Argument {0}: cannot convert from '{1}' to '{2}'</source>
<target state="translated">Argument {0}: Nejde převést z {1} na {2}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoSourceFile">
<source>Source file '{0}' could not be opened -- {1}</source>
<target state="translated">Zdrojový soubor {0} nešel otevřít -- {1}</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantRefResource">
<source>Cannot link resource files when building a module</source>
<target state="translated">Při sestavování modulu nejde propojit soubory prostředků.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ResourceNotUnique">
<source>Resource identifier '{0}' has already been used in this assembly</source>
<target state="translated">Identifikátor prostředku {0} se už v tomto sestavení používá.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ResourceFileNameNotUnique">
<source>Each linked resource and module must have a unique filename. Filename '{0}' is specified more than once in this assembly</source>
<target state="translated">Každý propojený prostředek a modul musí mít jedinečný název souboru, ale {0} se v tomto sestavení objevuje víc než jednou.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImportNonAssembly">
<source>The referenced file '{0}' is not an assembly</source>
<target state="translated">Odkazovaný soubor {0} není sestavení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefLvalueExpected">
<source>A ref or out value must be an assignable variable</source>
<target state="translated">Hodnotou Ref nebo Out musí být proměnná s možností přiřazení hodnoty.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BaseInStaticMeth">
<source>Keyword 'base' is not available in a static method</source>
<target state="translated">Klíčové slovo base není k dispozici uvnitř statické metody.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BaseInBadContext">
<source>Keyword 'base' is not available in the current context</source>
<target state="translated">Klíčové slovo base není k dispozici v aktuálním kontextu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RbraceExpected">
<source>} expected</source>
<target state="translated">Očekával se znak }.</target>
<note />
</trans-unit>
<trans-unit id="ERR_LbraceExpected">
<source>{ expected</source>
<target state="translated">Očekával se znak {.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InExpected">
<source>'in' expected</source>
<target state="translated">'Očekávalo se klíčové slovo in.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidPreprocExpr">
<source>Invalid preprocessor expression</source>
<target state="translated">Neplatný výraz preprocesoru</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidMemberDecl">
<source>Invalid token '{0}' in class, record, struct, or interface member declaration</source>
<target state="translated">Neplatný token {0} v deklaraci člena rozhraní, třídy, záznamu nebo struktury</target>
<note />
</trans-unit>
<trans-unit id="ERR_MemberNeedsType">
<source>Method must have a return type</source>
<target state="translated">Metoda musí mít typ vrácené hodnoty.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadBaseType">
<source>Invalid base type</source>
<target state="translated">Neplatný základní typ</target>
<note />
</trans-unit>
<trans-unit id="WRN_EmptySwitch">
<source>Empty switch block</source>
<target state="translated">Prázdný blok switch</target>
<note />
</trans-unit>
<trans-unit id="WRN_EmptySwitch_Title">
<source>Empty switch block</source>
<target state="translated">Prázdný blok switch</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpectedEndTry">
<source>Expected catch or finally</source>
<target state="translated">Očekávalo se klíčové slovo catch nebo finally.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidExprTerm">
<source>Invalid expression term '{0}'</source>
<target state="translated">Neplatný výraz {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadNewExpr">
<source>A new expression requires an argument list or (), [], or {} after type</source>
<target state="translated">Výraz new vyžaduje za typem seznam argumentů nebo (), [] nebo {}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoNamespacePrivate">
<source>Elements defined in a namespace cannot be explicitly declared as private, protected, protected internal, or private protected</source>
<target state="translated">Elementy definované v názvovém prostoru nelze explicitně deklarovat jako private, protected, protected internal nebo private protected.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadVarDecl">
<source>Expected ; or = (cannot specify constructor arguments in declaration)</source>
<target state="translated">Očekával se znak ; nebo = (v deklaraci nejde zadat argumenty konstruktoru).</target>
<note />
</trans-unit>
<trans-unit id="ERR_UsingAfterElements">
<source>A using clause must precede all other elements defined in the namespace except extern alias declarations</source>
<target state="translated">Klauzule using musí předcházet všem ostatním prvkům definovaným v oboru názvů s výjimkou deklarací externích aliasů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadBinOpArgs">
<source>Overloaded binary operator '{0}' takes two parameters</source>
<target state="translated">Přetěžovaný binární operátor {0} používá dva parametry.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadUnOpArgs">
<source>Overloaded unary operator '{0}' takes one parameter</source>
<target state="translated">Přetěžovaný unární operátor {0} převezme jeden parametr.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoVoidParameter">
<source>Invalid parameter type 'void'</source>
<target state="translated">Neplatný typ parametru void</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateAlias">
<source>The using alias '{0}' appeared previously in this namespace</source>
<target state="translated">Alias using {0} se objevil dřív v tomto oboru názvů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadProtectedAccess">
<source>Cannot access protected member '{0}' via a qualifier of type '{1}'; the qualifier must be of type '{2}' (or derived from it)</source>
<target state="translated">K chráněnému členu {0} nejde přistupovat prostřednictvím kvalifikátoru typu {1}. Kvalifikátor musí být typu {2} (nebo musí být od tohoto typu odvozen).</target>
<note />
</trans-unit>
<trans-unit id="ERR_AddModuleAssembly">
<source>'{0}' cannot be added to this assembly because it already is an assembly</source>
<target state="translated">{0} se nemůže přidat do tohoto sestavení, protože už to sestavení je.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BindToBogusProp2">
<source>Property, indexer, or event '{0}' is not supported by the language; try directly calling accessor methods '{1}' or '{2}'</source>
<target state="translated">Vlastnost, indexer nebo událost {0} nejsou tímto jazykem podporované. Zkuste přímo volat metody přistupujícího objektu {1} nebo {2}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BindToBogusProp1">
<source>Property, indexer, or event '{0}' is not supported by the language; try directly calling accessor method '{1}'</source>
<target state="translated">Vlastnost, indexer nebo událost {0} nejsou tímto jazykem podporované. Zkuste přímo volat metodu přistupujícího objektu {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoVoidHere">
<source>Keyword 'void' cannot be used in this context</source>
<target state="translated">Klíčové slovo void nejde v tomto kontextu použít.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IndexerNeedsParam">
<source>Indexers must have at least one parameter</source>
<target state="translated">Indexery musí mít nejmíň jeden parametr.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadArraySyntax">
<source>Array type specifier, [], must appear before parameter name</source>
<target state="translated">Před názvem parametru musí být uvedený specifikátor typu pole [].</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadOperatorSyntax">
<source>Declaration is not valid; use '{0} operator <dest-type> (...' instead</source>
<target state="translated">Deklarace není platná. Místo toho použijte: {0} operátor <dest-type> (...</target>
<note />
</trans-unit>
<trans-unit id="ERR_MainClassNotFound">
<source>Could not find '{0}' specified for Main method</source>
<target state="translated">Prvek {0} zadaný pro metodu Main se nenašel.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MainClassNotClass">
<source>'{0}' specified for Main method must be a non-generic class, record, struct, or interface</source>
<target state="translated">Typ {0} zadaný pro metodu Main musí být neobecná třída, záznam, struktura nebo rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoMainInClass">
<source>'{0}' does not have a suitable static 'Main' method</source>
<target state="translated">{0} nemá vhodnou statickou metodu Main.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MainClassIsImport">
<source>Cannot use '{0}' for Main method because it is imported</source>
<target state="translated">{0} nejde použít pro metodu Main, protože je importovaný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OutputNeedsName">
<source>Outputs without source must have the /out option specified</source>
<target state="translated">U výstupu bez zdroje musí být zadaný přepínač /out.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantHaveWin32ResAndManifest">
<source>Conflicting options specified: Win32 resource file; Win32 manifest</source>
<target state="translated">Jsou zadané konfliktní možnosti: soubor prostředků Win32, manifest Win32.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantHaveWin32ResAndIcon">
<source>Conflicting options specified: Win32 resource file; Win32 icon</source>
<target state="translated">Jsou zadané konfliktní možnosti: soubor prostředků Win32, ikona Win32.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantReadResource">
<source>Error reading resource '{0}' -- '{1}'</source>
<target state="translated">Chyba při čtení prostředku {0} -- {1}</target>
<note />
</trans-unit>
<trans-unit id="ERR_DocFileGen">
<source>Error writing to XML documentation file: {0}</source>
<target state="translated">Chyba při zápisu do souboru dokumentace XML: {0}</target>
<note />
</trans-unit>
<trans-unit id="WRN_XMLParseError">
<source>XML comment has badly formed XML -- '{0}'</source>
<target state="translated">Komentáře XML má chybně vytvořený kód -- {0}</target>
<note />
</trans-unit>
<trans-unit id="WRN_XMLParseError_Title">
<source>XML comment has badly formed XML</source>
<target state="translated">Komentář XML má chybně vytvořený kód.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DuplicateParamTag">
<source>XML comment has a duplicate param tag for '{0}'</source>
<target state="translated">Komentář XML má duplicitní značku param pro {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DuplicateParamTag_Title">
<source>XML comment has a duplicate param tag</source>
<target state="translated">Komentář XML má duplicitní značku param.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnmatchedParamTag">
<source>XML comment has a param tag for '{0}', but there is no parameter by that name</source>
<target state="translated">Komentář XML má značku param pro {0}, ale neexistuje parametr s tímto názvem.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnmatchedParamTag_Title">
<source>XML comment has a param tag, but there is no parameter by that name</source>
<target state="translated">Komentář XML má značku param, ale neexistuje parametr s tímto názvem.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnmatchedParamRefTag">
<source>XML comment on '{1}' has a paramref tag for '{0}', but there is no parameter by that name</source>
<target state="translated">Komentář XML u {1} má značku paramref pro {0}, ale neexistuje parametr s tímto názvem.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnmatchedParamRefTag_Title">
<source>XML comment has a paramref tag, but there is no parameter by that name</source>
<target state="translated">Komentář XML má značku paramref, ale neexistuje parametr s tímto názvem.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MissingParamTag">
<source>Parameter '{0}' has no matching param tag in the XML comment for '{1}' (but other parameters do)</source>
<target state="translated">Parametr {0} nemá žádnou odpovídající značku param v komentáři XML pro {1} (ale jiné parametry ano).</target>
<note />
</trans-unit>
<trans-unit id="WRN_MissingParamTag_Title">
<source>Parameter has no matching param tag in the XML comment (but other parameters do)</source>
<target state="translated">Parametr nemá odpovídající značku param v komentáři XML (na rozdíl od jiných parametrů).</target>
<note />
</trans-unit>
<trans-unit id="WRN_BadXMLRef">
<source>XML comment has cref attribute '{0}' that could not be resolved</source>
<target state="translated">Komentář XML má atribut cref {0}, který se nedal vyřešit.</target>
<note />
</trans-unit>
<trans-unit id="WRN_BadXMLRef_Title">
<source>XML comment has cref attribute that could not be resolved</source>
<target state="translated">Komentář XML má atribut cref, který se nedal vyřešit.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadStackAllocExpr">
<source>A stackalloc expression requires [] after type</source>
<target state="translated">Výraz stackalloc vyžaduje, aby za typem byly závorky [].</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidLineNumber">
<source>The line number specified for #line directive is missing or invalid</source>
<target state="translated">Číslo řádku zadané v direktivě #line se nenašlo nebo je neplatné.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MissingPPFile">
<source>Quoted file name, single-line comment or end-of-line expected</source>
<target state="translated">Očekával se citovaný název souboru, jednořádkový komentář nebo konec řádku.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpectedPPFile">
<source>Quoted file name expected</source>
<target state="translated">Očekával se citovaný název souboru.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ReferenceDirectiveOnlyAllowedInScripts">
<source>#r is only allowed in scripts</source>
<target state="translated">#r je povolený jenom ve skriptech.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ForEachMissingMember">
<source>foreach statement cannot operate on variables of type '{0}' because '{0}' does not contain a public instance or extension definition for '{1}'</source>
<target state="translated">Příkaz foreach nejde použít pro proměnné typu {0}, protože {0} neobsahuje veřejnou definici instance nebo rozšíření pro {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_BadXMLRefParamType">
<source>Invalid type for parameter {0} in XML comment cref attribute: '{1}'</source>
<target state="translated">Neplatný typ pro parametr {0} v atributu cref komentáře XML: {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_BadXMLRefParamType_Title">
<source>Invalid type for parameter in XML comment cref attribute</source>
<target state="translated">Neplatný typ pro parametr v atributu cref komentáře XML.</target>
<note />
</trans-unit>
<trans-unit id="WRN_BadXMLRefReturnType">
<source>Invalid return type in XML comment cref attribute</source>
<target state="translated">Neplatný typ vrácené hodnoty v atributu cref komentáře XML</target>
<note />
</trans-unit>
<trans-unit id="WRN_BadXMLRefReturnType_Title">
<source>Invalid return type in XML comment cref attribute</source>
<target state="translated">Neplatný typ vrácené hodnoty v atributu cref komentáře XML</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadWin32Res">
<source>Error reading Win32 resources -- {0}</source>
<target state="translated">Chyba při čtení prostředků Win32 -- {0}</target>
<note />
</trans-unit>
<trans-unit id="WRN_BadXMLRefSyntax">
<source>XML comment has syntactically incorrect cref attribute '{0}'</source>
<target state="translated">Komentář XML má syntakticky nesprávný atribut cref {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_BadXMLRefSyntax_Title">
<source>XML comment has syntactically incorrect cref attribute</source>
<target state="translated">Komentář XML má syntakticky nesprávný atribut cref.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadModifierLocation">
<source>Member modifier '{0}' must precede the member type and name</source>
<target state="translated">Modifikátor členu {0} musí předcházet jeho názvu a typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MissingArraySize">
<source>Array creation must have array size or array initializer</source>
<target state="translated">Při vytváření pole musí být k dispozici velikost pole nebo inicializátor pole.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnprocessedXMLComment">
<source>XML comment is not placed on a valid language element</source>
<target state="translated">Komentář XML není umístěný v platném prvku jazyka.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnprocessedXMLComment_Title">
<source>XML comment is not placed on a valid language element</source>
<target state="translated">Komentář XML není umístěný v platném prvku jazyka.</target>
<note />
</trans-unit>
<trans-unit id="WRN_FailedInclude">
<source>Unable to include XML fragment '{1}' of file '{0}' -- {2}</source>
<target state="translated">Nejde zahrnout fragment XML {1} ze souboru {0} -- {2}</target>
<note />
</trans-unit>
<trans-unit id="WRN_FailedInclude_Title">
<source>Unable to include XML fragment</source>
<target state="translated">Nejde zahrnout fragment XML.</target>
<note />
</trans-unit>
<trans-unit id="WRN_InvalidInclude">
<source>Invalid XML include element -- {0}</source>
<target state="translated">Neplatný prvek direktivy include XML -- {0}</target>
<note />
</trans-unit>
<trans-unit id="WRN_InvalidInclude_Title">
<source>Invalid XML include element</source>
<target state="translated">Neplatný prvek direktivy include XML</target>
<note />
</trans-unit>
<trans-unit id="WRN_MissingXMLComment">
<source>Missing XML comment for publicly visible type or member '{0}'</source>
<target state="translated">Komentář XML pro veřejně viditelný typ nebo člen {0} se nenašel.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MissingXMLComment_Title">
<source>Missing XML comment for publicly visible type or member</source>
<target state="translated">Komentář XML pro veřejně viditelný typ nebo člen se nenašel.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MissingXMLComment_Description">
<source>The /doc compiler option was specified, but one or more constructs did not have comments.</source>
<target state="translated">Byla zadaná možnost kompilátoru /doc, ale nejmíň jedna konstrukce neměla komentáře.</target>
<note />
</trans-unit>
<trans-unit id="WRN_XMLParseIncludeError">
<source>Badly formed XML in included comments file -- '{0}'</source>
<target state="translated">Chybně vytvořený kód XML v zahrnutém souboru komentáře -- {0}</target>
<note />
</trans-unit>
<trans-unit id="WRN_XMLParseIncludeError_Title">
<source>Badly formed XML in included comments file</source>
<target state="translated">Chybně vytvořený kód XML v zahrnutém souboru komentářů</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadDelArgCount">
<source>Delegate '{0}' does not take {1} arguments</source>
<target state="translated">Delegát {0} nepřevezme tento počet argumentů: {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnexpectedSemicolon">
<source>Semicolon after method or accessor block is not valid</source>
<target state="translated">Středník není platný za metodou nebo blokem přistupujícího objektu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MethodReturnCantBeRefAny">
<source>The return type of a method, delegate, or function pointer cannot be '{0}'</source>
<target state="translated">Návratový typ metody, delegáta nebo ukazatele na funkci nemůže být {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CompileCancelled">
<source>Compilation cancelled by user</source>
<target state="translated">Kompilaci zrušil uživatel.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MethodArgCantBeRefAny">
<source>Cannot make reference to variable of type '{0}'</source>
<target state="translated">Nejde vytvořit odkaz na proměnnou typu {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AssgReadonlyLocal">
<source>Cannot assign to '{0}' because it is read-only</source>
<target state="translated">K položce nejde přiřadit {0}, protože je jen pro čtení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReadonlyLocal">
<source>Cannot use '{0}' as a ref or out value because it is read-only</source>
<target state="translated">{0} nejde použít jako hodnotu Ref nebo Out, protože je jen pro čtení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantUseRequiredAttribute">
<source>The RequiredAttribute attribute is not permitted on C# types</source>
<target state="translated">Atribut RequiredAttribute není povolený pro typy C#.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoModifiersOnAccessor">
<source>Modifiers cannot be placed on event accessor declarations</source>
<target state="translated">Modifikátory nejde umístit do deklarace přistupujícího objektu události.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ParamsCantBeWithModifier">
<source>The params parameter cannot be declared as {0}</source>
<target state="translated">Parametr params nejde deklarovat jako {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ReturnNotLValue">
<source>Cannot modify the return value of '{0}' because it is not a variable</source>
<target state="translated">Vrácenou hodnotu {0} nejde změnit, protože se nejedná o proměnnou.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MissingCoClass">
<source>The managed coclass wrapper class '{0}' for interface '{1}' cannot be found (are you missing an assembly reference?)</source>
<target state="translated">Spravovaná třída obálky coclass {0} pro rozhraní {1} se nedá najít. (Nechybí odkaz na sestavení?)</target>
<note />
</trans-unit>
<trans-unit id="ERR_AmbiguousAttribute">
<source>'{0}' is ambiguous between '{1}' and '{2}'. Either use '@{0}' or explicitly include the 'Attribute' suffix.</source>
<target state="needs-review-translation">{0} je nejednoznačné mezi {1} a {2}; použijte buď @{0}, nebo {0}Attribute.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadArgExtraRef">
<source>Argument {0} may not be passed with the '{1}' keyword</source>
<target state="translated">Argument {0} se nesmí předávat s klíčovým slovem {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CmdOptionConflictsSource">
<source>Option '{0}' overrides attribute '{1}' given in a source file or added module</source>
<target state="translated">Možnost {0} přepíše atribut {1} zadaný ve zdrojovém souboru nebo přidaném modulu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CmdOptionConflictsSource_Title">
<source>Option overrides attribute given in a source file or added module</source>
<target state="translated">Možnost přepíše atribut zadaný ve zdrojovém souboru nebo přidaném modulu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CmdOptionConflictsSource_Description">
<source>This warning occurs if the assembly attributes AssemblyKeyFileAttribute or AssemblyKeyNameAttribute found in source conflict with the /keyfile or /keycontainer command line option or key file name or key container specified in the Project Properties.</source>
<target state="translated">Toto varování se objeví, pokud jsou atributy sestavení AssemblyKeyFileAttribute nebo AssemblyKeyNameAttribute nacházející se ve zdroji v konfliktu s parametrem příkazového řádku /keyfile nebo /keycontainer nebo názvem souboru klíče nebo kontejnerem klíčů zadaným ve vlastnostech projektu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadCompatMode">
<source>Invalid option '{0}' for /langversion. Use '/langversion:?' to list supported values.</source>
<target state="translated">Neplatný parametr {0} pro /langversion. Podporované hodnoty vypíšete pomocí /langversion:?.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DelegateOnConditional">
<source>Cannot create delegate with '{0}' because it or a method it overrides has a Conditional attribute</source>
<target state="translated">Delegáta s {0} nejde vytvořit, protože ten nebo metoda, kterou přepisuje, má atribut Conditional.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantMakeTempFile">
<source>Cannot create temporary file -- {0}</source>
<target state="translated">Nedá se vytvořit dočasný soubor -- {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadArgRef">
<source>Argument {0} must be passed with the '{1}' keyword</source>
<target state="translated">Argument {0} se musí předávat s klíčovým slovem {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_YieldInAnonMeth">
<source>The yield statement cannot be used inside an anonymous method or lambda expression</source>
<target state="translated">Příkaz yield nejde používat uvnitř anonymních metod a výrazů lambda.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ReturnInIterator">
<source>Cannot return a value from an iterator. Use the yield return statement to return a value, or yield break to end the iteration.</source>
<target state="translated">Nejde vrátit hodnotu z iterátoru. K vrácení hodnoty použijte příkaz yield return. K ukončení opakování použijte příkaz yield break.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadIteratorArgType">
<source>Iterators cannot have ref, in or out parameters</source>
<target state="translated">U iterátorů nejde používat parametry ref, in nebo out.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadIteratorReturn">
<source>The body of '{0}' cannot be an iterator block because '{1}' is not an iterator interface type</source>
<target state="translated">Tělo {0} nemůže být blok iterátoru, protože {1} není typ rozhraní iterátoru.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadYieldInFinally">
<source>Cannot yield in the body of a finally clause</source>
<target state="translated">V těle klauzule finally nejde používat příkaz yield.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadYieldInTryOfCatch">
<source>Cannot yield a value in the body of a try block with a catch clause</source>
<target state="translated">V těle bloku try s klauzulí catch nejde uvést hodnotu příkazu yield.</target>
<note />
</trans-unit>
<trans-unit id="ERR_EmptyYield">
<source>Expression expected after yield return</source>
<target state="translated">Po příkazu yield return se očekával výraz.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AnonDelegateCantUse">
<source>Cannot use ref, out, or in parameter '{0}' inside an anonymous method, lambda expression, query expression, or local function</source>
<target state="translated">Parametr ref, out nebo in {0} nejde použít uvnitř anonymní metody, výrazu lambda, výrazu dotazu nebo lokální funkce.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IllegalInnerUnsafe">
<source>Unsafe code may not appear in iterators</source>
<target state="translated">Iterátory nesmí obsahovat nezabezpečený kód.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadYieldInCatch">
<source>Cannot yield a value in the body of a catch clause</source>
<target state="translated">V těle klauzule catch nejde použít hodnotu získanou příkazem yield.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadDelegateLeave">
<source>Control cannot leave the body of an anonymous method or lambda expression</source>
<target state="translated">Ovládací prvek nemůže opustit tělo anonymní metody nebo výrazu lambda.</target>
<note />
</trans-unit>
<trans-unit id="WRN_IllegalPragma">
<source>Unrecognized #pragma directive</source>
<target state="translated">Nerozpoznaná direktiva #pragma</target>
<note />
</trans-unit>
<trans-unit id="WRN_IllegalPragma_Title">
<source>Unrecognized #pragma directive</source>
<target state="translated">Nerozpoznaná direktiva #pragma</target>
<note />
</trans-unit>
<trans-unit id="WRN_IllegalPPWarning">
<source>Expected 'disable' or 'restore'</source>
<target state="translated">Očekávala se hodnota disable nebo restore.</target>
<note />
</trans-unit>
<trans-unit id="WRN_IllegalPPWarning_Title">
<source>Expected 'disable' or 'restore' after #pragma warning</source>
<target state="translated">Po varování #pragma se očekávala hodnota disable nebo restore.</target>
<note />
</trans-unit>
<trans-unit id="WRN_BadRestoreNumber">
<source>Cannot restore warning 'CS{0}' because it was disabled globally</source>
<target state="translated">Nejde obnovit varování CS{0}, protože je globálně zakázané.</target>
<note />
</trans-unit>
<trans-unit id="WRN_BadRestoreNumber_Title">
<source>Cannot restore warning because it was disabled globally</source>
<target state="translated">Nejde obnovit varování, protože bylo globálně zakázané.</target>
<note />
</trans-unit>
<trans-unit id="ERR_VarargsIterator">
<source>__arglist is not allowed in the parameter list of iterators</source>
<target state="translated">Parametr __arglist není povolený v seznamu parametrů iterátorů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnsafeIteratorArgType">
<source>Iterators cannot have unsafe parameters or yield types</source>
<target state="translated">U iterátorů nejde používat nezabezpečené parametry nebo typy yield.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadCoClassSig">
<source>The managed coclass wrapper class signature '{0}' for interface '{1}' is not a valid class name signature</source>
<target state="translated">Podpis spravované třídy obálky coclass {0} pro rozhraní {1} není platný podpis názvu třídy.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MultipleIEnumOfT">
<source>foreach statement cannot operate on variables of type '{0}' because it implements multiple instantiations of '{1}'; try casting to a specific interface instantiation</source>
<target state="translated">Příkaz foreach nejde použít pro proměnné typu {0}, protože implementuje vytváření víc instancí {1}. Zkuste přetypování na konkrétní instanci rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FixedDimsRequired">
<source>A fixed size buffer field must have the array size specifier after the field name</source>
<target state="translated">Pole vyrovnávací paměti s pevnou velikostí musí mít za názvem pole uvedený specifikátor velikosti pole.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FixedNotInStruct">
<source>Fixed size buffer fields may only be members of structs</source>
<target state="translated">Pole vyrovnávací paměti pevné velikosti můžou být jenom členy struktur.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AnonymousReturnExpected">
<source>Not all code paths return a value in {0} of type '{1}'</source>
<target state="translated">Ne všechny cesty kódu vracejí hodnotu v {0} typu {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NonECMAFeature">
<source>Feature '{0}' is not part of the standardized ISO C# language specification, and may not be accepted by other compilers</source>
<target state="translated">Funkce {0} není součástí standardizované specifikace ISO jazyka C# a možná ji nepůjde použít v ostatních kompilátorech</target>
<note />
</trans-unit>
<trans-unit id="WRN_NonECMAFeature_Title">
<source>Feature is not part of the standardized ISO C# language specification, and may not be accepted by other compilers</source>
<target state="translated">Funkce není součástí standardizované specifikace ISO jazyka C# a možná ji nepůjde použít v ostatních kompilátorech</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpectedVerbatimLiteral">
<source>Keyword, identifier, or string expected after verbatim specifier: @</source>
<target state="translated">Po specifikátoru verbatim se očekávalo klíčové slovo, identifikátor nebo řetězec: @</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReadonly">
<source>A readonly field cannot be used as a ref or out value (except in a constructor)</source>
<target state="translated">Pole určené jen pro čtení nejde použít jako hodnotu Ref nebo Out (kromě případu, kdy se nachází uvnitř konstruktoru).</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReadonly2">
<source>Members of readonly field '{0}' cannot be used as a ref or out value (except in a constructor)</source>
<target state="translated">Členy pole jen pro čtení {0} nejde použít jako hodnotu Ref nebo Out (kromě případu, kdy se nachází uvnitř konstruktoru). </target>
<note />
</trans-unit>
<trans-unit id="ERR_AssgReadonly">
<source>A readonly field cannot be assigned to (except in a constructor or init-only setter of the type in which the field is defined or a variable initializer)</source>
<target state="translated">Do pole jen pro čtení není možné přiřazovat hodnoty (kromě případu, kdy je v konstruktoru nebo v metodě setter jen pro inicializaci typu, ve kterém je pole definované, nebo v inicializátoru proměnné).</target>
<note />
</trans-unit>
<trans-unit id="ERR_AssgReadonly2">
<source>Members of readonly field '{0}' cannot be modified (except in a constructor or a variable initializer)</source>
<target state="translated">Členy pole jen pro čtení {0} nejde měnit (kromě případu, kdy se nacházejí uvnitř konstruktoru nebo inicializátoru proměnné).</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReadonlyNotField">
<source>Cannot use {0} '{1}' as a ref or out value because it is a readonly variable</source>
<target state="translated">Nejde použít {0} {1} jako hodnotu ref nebo out, protože je to proměnná jen pro čtení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReadonlyNotField2">
<source>Members of {0} '{1}' cannot be used as a ref or out value because it is a readonly variable</source>
<target state="translated">Členy {0} {1} nejde použít jako hodnotu ref nebo out, protože je to proměnná jen pro čtení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AssignReadonlyNotField">
<source>Cannot assign to {0} '{1}' because it is a readonly variable</source>
<target state="translated">Nejde přiřadit k položce {0} {1}, protože to je proměnná jen pro čtení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AssignReadonlyNotField2">
<source>Cannot assign to a member of {0} '{1}' because it is a readonly variable</source>
<target state="translated">Nejde přiřadit členovi {0} {1}, protože to je proměnná jen pro čtení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturnReadonlyNotField">
<source>Cannot return {0} '{1}' by writable reference because it is a readonly variable</source>
<target state="translated">Nejde vrátit {0} {1} zapisovatelným odkazem, protože to je proměnná jen pro čtení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturnReadonlyNotField2">
<source>Members of {0} '{1}' cannot be returned by writable reference because it is a readonly variable</source>
<target state="translated">Členy {0} {1} nejde vrátit zapisovatelným odkazem, protože to je proměnná jen pro čtení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AssgReadonlyStatic2">
<source>Fields of static readonly field '{0}' cannot be assigned to (except in a static constructor or a variable initializer)</source>
<target state="translated">Pole statických polí jen pro čtení {0} nejde přiřadit (kromě případu, kdy se nacházejí uvnitř statického konstruktoru nebo inicializátoru proměnné).</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReadonlyStatic2">
<source>Fields of static readonly field '{0}' cannot be used as a ref or out value (except in a static constructor)</source>
<target state="translated">Pole statického pole jen pro čtení {0} nejde použít jako hodnotu Ref nebo Out (kromě případu, kdy se nacházejí uvnitř statického konstruktoru).</target>
<note />
</trans-unit>
<trans-unit id="ERR_AssgReadonlyLocal2Cause">
<source>Cannot modify members of '{0}' because it is a '{1}'</source>
<target state="translated">Členy z {0} nejde upravit, protože jde o {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReadonlyLocal2Cause">
<source>Cannot use fields of '{0}' as a ref or out value because it is a '{1}'</source>
<target state="translated">Pole elementu {0} nejde použít jako hodnotu Ref nebo Out, protože je {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AssgReadonlyLocalCause">
<source>Cannot assign to '{0}' because it is a '{1}'</source>
<target state="translated">K položce nejde přiřadit {0}, protože je typu {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReadonlyLocalCause">
<source>Cannot use '{0}' as a ref or out value because it is a '{1}'</source>
<target state="translated">{0} nejde použít jako hodnotu Ref nebo Out, protože je {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ErrorOverride">
<source>{0}. See also error CS{1}.</source>
<target state="translated">{0}. Viz taky chyba CS{1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ErrorOverride_Title">
<source>Warning is overriding an error</source>
<target state="translated">Varování přepisuje chybu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ErrorOverride_Description">
<source>The compiler emits this warning when it overrides an error with a warning. For information about the problem, search for the error code mentioned.</source>
<target state="translated">Kompilátor vydá toto varování, když přepíše chybu varováním. Informace o tomto problému vyhledejte podle uvedeného kódu chyby.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AnonMethToNonDel">
<source>Cannot convert {0} to type '{1}' because it is not a delegate type</source>
<target state="translated">{0} nejde převést na typ {1}, protože to není typ delegáta.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantConvAnonMethParams">
<source>Cannot convert {0} to type '{1}' because the parameter types do not match the delegate parameter types</source>
<target state="translated">{0} nejde převést na typ {1}, protože typy parametrů se neshodují s typy parametrů delegáta.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantConvAnonMethReturns">
<source>Cannot convert {0} to intended delegate type because some of the return types in the block are not implicitly convertible to the delegate return type</source>
<target state="translated">{0} nejde převést na zamýšlený typ delegáta, protože některé z návratových typů v bloku nejsou implicitně převeditelné na návratový typ tohoto delegáta.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAsyncReturnExpression">
<source>Since this is an async method, the return expression must be of type '{0}' rather than 'Task<{0}>'</source>
<target state="translated">Protože se jedná o asynchronní metodu, vrácený výraz musí být typu {0} a ne typu Task<{0}>.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantConvAsyncAnonFuncReturns">
<source>Cannot convert async {0} to delegate type '{1}'. An async {0} may return void, Task or Task<T>, none of which are convertible to '{1}'.</source>
<target state="translated">Asynchronní metodu {0} nejde převést na typ delegáta {1}. Asynchronní metoda {0} může vracet hodnoty typu void, Task nebo Task< T> , z nichž žádnou nejde převést na typ {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IllegalFixedType">
<source>Fixed size buffer type must be one of the following: bool, byte, short, int, long, char, sbyte, ushort, uint, ulong, float or double</source>
<target state="translated">Typ vyrovnávací paměti pevné velikosti musí být následující: bool, byte, short, int, long, char, sbyte, ushort, uint, ulong, float nebo double.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FixedOverflow">
<source>Fixed size buffer of length {0} and type '{1}' is too big</source>
<target state="translated">Vyrovnávací paměť pevné velikosti s délkou {0} a typem {1} je moc velká.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidFixedArraySize">
<source>Fixed size buffers must have a length greater than zero</source>
<target state="translated">Vyrovnávací paměti pevné velikosti mají délku větší než nula.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FixedBufferNotFixed">
<source>You cannot use fixed size buffers contained in unfixed expressions. Try using the fixed statement.</source>
<target state="translated">Vyrovnávací paměti pevné velikosti obsažené ve volném výrazu nejde používat. Použijte příkaz fixed.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AttributeNotOnAccessor">
<source>Attribute '{0}' is not valid on property or event accessors. It is only valid on '{1}' declarations.</source>
<target state="translated">Atribut {0} není platný pro přistupující objekty vlastnosti nebo události. Je platný jenom pro deklarace {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_InvalidSearchPathDir">
<source>Invalid search path '{0}' specified in '{1}' -- '{2}'</source>
<target state="translated">Neplatná vyhledávací cesta {0} zadaná v {1} -- {2}</target>
<note />
</trans-unit>
<trans-unit id="WRN_InvalidSearchPathDir_Title">
<source>Invalid search path specified</source>
<target state="translated">Byla zadaná neplatná vyhledávací cesta.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IllegalVarArgs">
<source>__arglist is not valid in this context</source>
<target state="translated">Klíčové slovo __arglist není v tomto kontextu platné.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IllegalParams">
<source>params is not valid in this context</source>
<target state="translated">Klíčové slovo params není v tomto kontextu platné.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadModifiersOnNamespace">
<source>A namespace declaration cannot have modifiers or attributes</source>
<target state="translated">Deklarace oboru názvů nemůže mít modifikátory ani atributy.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadPlatformType">
<source>Invalid option '{0}' for /platform; must be anycpu, x86, Itanium, arm, arm64 or x64</source>
<target state="translated">Neplatná možnost {0} pro /platform. Musí být anycpu, x86, Itanium, arm, arm64 nebo x64.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ThisStructNotInAnonMeth">
<source>Anonymous methods, lambda expressions, query expressions, and local functions inside structs cannot access instance members of 'this'. Consider copying 'this' to a local variable outside the anonymous method, lambda expression, query expression, or local function and using the local instead.</source>
<target state="translated">Anonymní metody, výrazy lambda, výrazy dotazu a místní funkce uvnitř struktur nemají přístup ke členům instance this. Jako náhradu zkopírujte objekt this do lokální proměnné vně anonymní metody, výrazu lambda, výrazu dotazu nebo místní funkce a použijte tuto lokální proměnnou.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoConvToIDisp">
<source>'{0}': type used in a using statement must be implicitly convertible to 'System.IDisposable'.</source>
<target state="translated">{0}: Typ použitý v příkazu using musí být implicitně převeditelný na System.IDisposable.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadParamRef">
<source>Parameter {0} must be declared with the '{1}' keyword</source>
<target state="translated">Parametr {0} se musí deklarovat s klíčovým slovem {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadParamExtraRef">
<source>Parameter {0} should not be declared with the '{1}' keyword</source>
<target state="translated">Parametr {0} by se neměl deklarovat s klíčovým slovem {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadParamType">
<source>Parameter {0} is declared as type '{1}{2}' but should be '{3}{4}'</source>
<target state="translated">Parametr {0} se deklaruje jako typ {1}{2}, ale mělo by jít o {3}{4}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadExternIdentifier">
<source>Invalid extern alias for '/reference'; '{0}' is not a valid identifier</source>
<target state="translated">Neplatný externí alias pro parametr /reference; {0} je neplatný identifikátor.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AliasMissingFile">
<source>Invalid reference alias option: '{0}=' -- missing filename</source>
<target state="translated">Neplatný parametr aliasu odkazu: {0}= – nenašel se název souboru.</target>
<note />
</trans-unit>
<trans-unit id="ERR_GlobalExternAlias">
<source>You cannot redefine the global extern alias</source>
<target state="translated">Nejde předefinovat globální externí alias.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MissingTypeInSource">
<source>Reference to type '{0}' claims it is defined in this assembly, but it is not defined in source or any added modules</source>
<target state="translated">Odkaz na typ {0} se deklaruje jako definovaný v tomto sestavení, ale není definovaný ve zdroji ani v žádných přidaných modulech.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MissingTypeInAssembly">
<source>Reference to type '{0}' claims it is defined in '{1}', but it could not be found</source>
<target state="translated">Odkaz na typ {0} se deklaruje jako definovaný v rámci {1}, ale nenašel.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MultiplePredefTypes">
<source>The predefined type '{0}' is defined in multiple assemblies in the global alias; using definition from '{1}'</source>
<target state="translated">Předdefinovaný typ {0} je definovaný ve více sestaveních v globálním aliasu; použije se definice z {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MultiplePredefTypes_Title">
<source>Predefined type is defined in multiple assemblies in the global alias</source>
<target state="translated">Předdefinovaný typ je definovaný ve více sestaveních v globálním aliasu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MultiplePredefTypes_Description">
<source>This error occurs when a predefined system type such as System.Int32 is found in two assemblies. One way this can happen is if you are referencing mscorlib or System.Runtime.dll from two different places, such as trying to run two versions of the .NET Framework side-by-side.</source>
<target state="translated">K této chybě dojde, když se předdefinovaný systémový typ, jako je System.Int32, nachází ve dvou sestaveních. Jedna z možností, jak se to může stát, je, že odkazujete na mscorlib nebo System.Runtime.dll, ze dvou různých míst, například při pokusu spustit dvě verze .NET Framework vedle sebe.</target>
<note />
</trans-unit>
<trans-unit id="ERR_LocalCantBeFixedAndHoisted">
<source>Local '{0}' or its members cannot have their address taken and be used inside an anonymous method or lambda expression</source>
<target state="translated">Adresu místní proměnné {0} ani jejích členů nejde vzít a použít uvnitř anonymní metody nebo lambda výrazu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_TooManyLinesForDebugger">
<source>Source file has exceeded the limit of 16,707,565 lines representable in the PDB; debug information will be incorrect</source>
<target state="translated">U zdrojového souboru se překročil limit 16 707 565 řádků, které může soubor PDB obsahovat. Ladicí informace budou nesprávné.</target>
<note />
</trans-unit>
<trans-unit id="WRN_TooManyLinesForDebugger_Title">
<source>Source file has exceeded the limit of 16,707,565 lines representable in the PDB; debug information will be incorrect</source>
<target state="translated">U zdrojového souboru se překročil limit 16 707 565 řádků, které může soubor PDB obsahovat. Ladicí informace budou nesprávné.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantConvAnonMethNoParams">
<source>Cannot convert anonymous method block without a parameter list to delegate type '{0}' because it has one or more out parameters</source>
<target state="translated">Blok anonymní metody bez seznamu parametrů nejde převést na typ delegáta {0}, protože má nejmíň jeden parametr out.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConditionalOnNonAttributeClass">
<source>Attribute '{0}' is only valid on methods or attribute classes</source>
<target state="translated">Atribut {0} je platný jenom pro metody nebo třídy atributů.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallOnNonAgileField">
<source>Accessing a member on '{0}' may cause a runtime exception because it is a field of a marshal-by-reference class</source>
<target state="translated">Přístup ke členovi na {0} může způsobit výjimku za běhu, protože se jedná o pole třídy marshal-by-reference.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallOnNonAgileField_Title">
<source>Accessing a member on a field of a marshal-by-reference class may cause a runtime exception</source>
<target state="translated">Přístup ke členovi v poli třídy marshal-by-reference může způsobit běhovou výjimku.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallOnNonAgileField_Description">
<source>This warning occurs when you try to call a method, property, or indexer on a member of a class that derives from MarshalByRefObject, and the member is a value type. Objects that inherit from MarshalByRefObject are typically intended to be marshaled by reference across an application domain. If any code ever attempts to directly access the value-type member of such an object across an application domain, a runtime exception will occur. To resolve the warning, first copy the member into a local variable and call the method on that variable.</source>
<target state="translated">Toto varování se vyskytne, když se pokusíte volat metodu, vlastnost nebo indexer u členu třídy, která se odvozuje z objektu MarshalByRefObject, a tento člen je typu hodnota. Objekty, které dědí z objektu MarshalByRefObject, jsou obvykle zamýšlené tak, že se budou zařazovat podle odkazů v aplikační doméně. Pokud se nějaký kód někdy pokusí o přímý přístup ke členu typu hodnota takového objektu někde v aplikační doméně, dojde k výjimce běhu modulu runtime. Pokud chcete vyřešit toto varování, zkopírujte nejdřív člen do místní proměnné a pak u ní vyvolejte uvedenou metodu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_BadWarningNumber">
<source>'{0}' is not a valid warning number</source>
<target state="translated">{0} není platné číslo upozornění.</target>
<note />
</trans-unit>
<trans-unit id="WRN_BadWarningNumber_Title">
<source>Not a valid warning number</source>
<target state="translated">Není platné číslo varování.</target>
<note />
</trans-unit>
<trans-unit id="WRN_BadWarningNumber_Description">
<source>A number that was passed to the #pragma warning preprocessor directive was not a valid warning number. Verify that the number represents a warning, not an error.</source>
<target state="translated">Číslo, které bylo předané do direktivy preprocesoru varování #pragma, nepředstavovalo platné číslo varování. Ověřte, že číslo představuje varování, ne chybu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_InvalidNumber">
<source>Invalid number</source>
<target state="translated">Neplatné číslo</target>
<note />
</trans-unit>
<trans-unit id="WRN_InvalidNumber_Title">
<source>Invalid number</source>
<target state="translated">Neplatné číslo</target>
<note />
</trans-unit>
<trans-unit id="WRN_FileNameTooLong">
<source>Invalid filename specified for preprocessor directive. Filename is too long or not a valid filename.</source>
<target state="translated">V direktivě preprocesoru je uvedený neplatný název souboru. Název souboru je moc dlouhý nebo se nejedná o platný název souboru.</target>
<note />
</trans-unit>
<trans-unit id="WRN_FileNameTooLong_Title">
<source>Invalid filename specified for preprocessor directive</source>
<target state="translated">Byl zadaný neplatný název souboru pro direktivu preprocesoru.</target>
<note />
</trans-unit>
<trans-unit id="WRN_IllegalPPChecksum">
<source>Invalid #pragma checksum syntax; should be #pragma checksum "filename" "{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}" "XXXX..."</source>
<target state="translated">Syntaxe #pragma checksum není platná. Správná syntaxe: #pragma checksum "název_souboru" "{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}" "XXXX..."</target>
<note />
</trans-unit>
<trans-unit id="WRN_IllegalPPChecksum_Title">
<source>Invalid #pragma checksum syntax</source>
<target state="translated">Neplatná syntaxe kontrolního součtu #pragma</target>
<note />
</trans-unit>
<trans-unit id="WRN_EndOfPPLineExpected">
<source>Single-line comment or end-of-line expected</source>
<target state="translated">Očekával se jednořádkový komentář nebo konec řádku.</target>
<note />
</trans-unit>
<trans-unit id="WRN_EndOfPPLineExpected_Title">
<source>Single-line comment or end-of-line expected after #pragma directive</source>
<target state="translated">Po direktivě #pragma se očekával jednořádkový komentář nebo konec řádku.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ConflictingChecksum">
<source>Different checksum values given for '{0}'</source>
<target state="translated">Pro {0} jsou zadané různé hodnoty kontrolního součtu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ConflictingChecksum_Title">
<source>Different #pragma checksum values given</source>
<target state="translated">Jsou zadané různé hodnoty kontrolního součtu direktivy #pragma.</target>
<note />
</trans-unit>
<trans-unit id="WRN_InvalidAssemblyName">
<source>Assembly reference '{0}' is invalid and cannot be resolved</source>
<target state="translated">Odkaz na sestavení {0} je neplatný a nedá se vyhodnotit.</target>
<note />
</trans-unit>
<trans-unit id="WRN_InvalidAssemblyName_Title">
<source>Assembly reference is invalid and cannot be resolved</source>
<target state="translated">Odkaz na sestavení je neplatný a nedá se vyhodnotit.</target>
<note />
</trans-unit>
<trans-unit id="WRN_InvalidAssemblyName_Description">
<source>This warning indicates that an attribute, such as InternalsVisibleToAttribute, was not specified correctly.</source>
<target state="translated">Toto varování indikuje, že některý atribut, třeba InternalsVisibleToAttribute, nebyl zadaný správně.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnifyReferenceMajMin">
<source>Assuming assembly reference '{0}' used by '{1}' matches identity '{2}' of '{3}', you may need to supply runtime policy</source>
<target state="translated">Předpokládá se, že odkaz na sestavení {0}, který používá {1}, odpovídá identitě {2} pro {3}. Možná budete muset zadat zásady pro běh.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnifyReferenceMajMin_Title">
<source>Assuming assembly reference matches identity</source>
<target state="translated">Předpokládá se, že odkaz na sestavení odpovídá identitě.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnifyReferenceMajMin_Description">
<source>The two assemblies differ in release and/or version number. For unification to occur, you must specify directives in the application's .config file, and you must provide the correct strong name of an assembly.</source>
<target state="translated">Tato dvě sestavení se liší číslem vydání nebo verze. Aby mohlo proběhnout sjednocení, musíte zadat direktivy v souboru .config aplikace a musíte poskytnout správný silný název sestavení.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnifyReferenceBldRev">
<source>Assuming assembly reference '{0}' used by '{1}' matches identity '{2}' of '{3}', you may need to supply runtime policy</source>
<target state="translated">Předpokládá se, že odkaz na sestavení {0}, který používá {1}, odpovídá identitě {2} pro {3}. Možná budete muset zadat zásady pro běh.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnifyReferenceBldRev_Title">
<source>Assuming assembly reference matches identity</source>
<target state="translated">Předpokládá se, že odkaz na sestavení odpovídá identitě.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnifyReferenceBldRev_Description">
<source>The two assemblies differ in release and/or version number. For unification to occur, you must specify directives in the application's .config file, and you must provide the correct strong name of an assembly.</source>
<target state="translated">Tato dvě sestavení se liší číslem vydání nebo verze. Aby mohlo proběhnout sjednocení, musíte zadat direktivy v souboru .config aplikace a musíte poskytnout správný silný název sestavení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateImport">
<source>Multiple assemblies with equivalent identity have been imported: '{0}' and '{1}'. Remove one of the duplicate references.</source>
<target state="translated">Naimportovalo se víc sestavení s ekvivalentní identitou: {0} a {1}. Odeberte jeden z duplicitních odkazů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateImportSimple">
<source>An assembly with the same simple name '{0}' has already been imported. Try removing one of the references (e.g. '{1}') or sign them to enable side-by-side.</source>
<target state="translated">Už se naimportovalo sestavení se stejným jednoduchým názvem {0}. Zkuste odebrat jeden z odkazů (např. {1}) nebo je podepište, aby mohly fungovat vedle sebe.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AssemblyMatchBadVersion">
<source>Assembly '{0}' with identity '{1}' uses '{2}' which has a higher version than referenced assembly '{3}' with identity '{4}'</source>
<target state="translated">Sestavení {0} s identitou {1} používá {2} s vyšší verzí, než jakou má odkazované sestavení {3} s identitou {4}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FixedNeedsLvalue">
<source>Fixed size buffers can only be accessed through locals or fields</source>
<target state="translated">K vyrovnávacím pamětem s pevnou velikostí jde získat přístup jenom prostřednictvím lokálních proměnných nebo polí.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DuplicateTypeParamTag">
<source>XML comment has a duplicate typeparam tag for '{0}'</source>
<target state="translated">Komentář XML má duplicitní značku typeparam pro {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DuplicateTypeParamTag_Title">
<source>XML comment has a duplicate typeparam tag</source>
<target state="translated">Komentář XML má duplicitní značku typeparam.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnmatchedTypeParamTag">
<source>XML comment has a typeparam tag for '{0}', but there is no type parameter by that name</source>
<target state="translated">Komentář XML má značku typeparam pro {0}, ale neexistuje parametr typu s tímto názvem.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnmatchedTypeParamTag_Title">
<source>XML comment has a typeparam tag, but there is no type parameter by that name</source>
<target state="translated">Komentář XML má značku typeparam, ale neexistuje parametr typu s tímto názvem.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnmatchedTypeParamRefTag">
<source>XML comment on '{1}' has a typeparamref tag for '{0}', but there is no type parameter by that name</source>
<target state="translated">Komentář XML u {1} má značku typeparamref pro {0}, ale neexistuje parametr typu s tímto názvem.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnmatchedTypeParamRefTag_Title">
<source>XML comment has a typeparamref tag, but there is no type parameter by that name</source>
<target state="translated">Komentář XML má značku typeparamref, ale neexistuje parametr typu s tímto názvem.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MissingTypeParamTag">
<source>Type parameter '{0}' has no matching typeparam tag in the XML comment on '{1}' (but other type parameters do)</source>
<target state="translated">Parametr typu {0} nemá žádnou odpovídající značku typeparam v komentáři XML na {1} (ale jiné parametry typu ano).</target>
<note />
</trans-unit>
<trans-unit id="WRN_MissingTypeParamTag_Title">
<source>Type parameter has no matching typeparam tag in the XML comment (but other type parameters do)</source>
<target state="translated">Parametr typu nemá odpovídající značku typeparam v komentáři XML (na rozdíl od jiných parametrů typu).</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantChangeTypeOnOverride">
<source>'{0}': type must be '{2}' to match overridden member '{1}'</source>
<target state="translated">{0}: Typ musí být {2}, aby odpovídal přepsanému členu {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DoNotUseFixedBufferAttr">
<source>Do not use 'System.Runtime.CompilerServices.FixedBuffer' attribute. Use the 'fixed' field modifier instead.</source>
<target state="translated">Nepoužívejte atribut System.Runtime.CompilerServices.FixedBuffer. Místo něj použijte modifikátor pole fixed.</target>
<note />
</trans-unit>
<trans-unit id="WRN_AssignmentToSelf">
<source>Assignment made to same variable; did you mean to assign something else?</source>
<target state="translated">Přiřazení proběhlo u stejné proměnné. Měli jste v úmyslu jiné přiřazení?</target>
<note />
</trans-unit>
<trans-unit id="WRN_AssignmentToSelf_Title">
<source>Assignment made to same variable</source>
<target state="translated">Přiřazení provedené u stejné proměnné</target>
<note />
</trans-unit>
<trans-unit id="WRN_ComparisonToSelf">
<source>Comparison made to same variable; did you mean to compare something else?</source>
<target state="translated">Porovnání proběhlo u stejné proměnné. Měli jste v úmyslu jiné porovnání?</target>
<note />
</trans-unit>
<trans-unit id="WRN_ComparisonToSelf_Title">
<source>Comparison made to same variable</source>
<target state="translated">Porovnání provedené u stejné proměnné</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantOpenWin32Res">
<source>Error opening Win32 resource file '{0}' -- '{1}'</source>
<target state="translated">Chyba při otevírání souboru prostředků Win32 {0} -- {1}</target>
<note />
</trans-unit>
<trans-unit id="WRN_DotOnDefault">
<source>Expression will always cause a System.NullReferenceException because the default value of '{0}' is null</source>
<target state="translated">Výraz způsobí výjimku System.NullReferenceException, protože výchozí hodnota {0} je null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DotOnDefault_Title">
<source>Expression will always cause a System.NullReferenceException because the type's default value is null</source>
<target state="translated">Výraz způsobí výjimku System.NullReferenceException, protože výchozí hodnota pro typ je null.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoMultipleInheritance">
<source>Class '{0}' cannot have multiple base classes: '{1}' and '{2}'</source>
<target state="translated">Třída {0} nemůže mít víc základních tříd: {1} a {2}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BaseClassMustBeFirst">
<source>Base class '{0}' must come before any interfaces</source>
<target state="translated">Základní třída {0} musí předcházet všem rozhraním.</target>
<note />
</trans-unit>
<trans-unit id="WRN_BadXMLRefTypeVar">
<source>XML comment has cref attribute '{0}' that refers to a type parameter</source>
<target state="translated">Komentář XML má atribut cref {0}, který odkazuje na parametr typu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_BadXMLRefTypeVar_Title">
<source>XML comment has cref attribute that refers to a type parameter</source>
<target state="translated">Komentář XML má atribut cref, který odkazuje na parametr typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FriendAssemblyBadArgs">
<source>Friend assembly reference '{0}' is invalid. InternalsVisibleTo declarations cannot have a version, culture, public key token, or processor architecture specified.</source>
<target state="translated">Odkaz na sestavení {0} typu Friend je neplatný. V deklaracích InternalsVisibleTo nesmí být zadaná verze, jazykové prostředí, token veřejného klíče ani architektura procesoru.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FriendAssemblySNReq">
<source>Friend assembly reference '{0}' is invalid. Strong-name signed assemblies must specify a public key in their InternalsVisibleTo declarations.</source>
<target state="translated">Odkaz na sestavení {0} typu Friend je neplatný. V deklaracích InternalsVisibleTo musí být u podepsaných sestavení se silným názvem uvedený veřejný klíč.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DelegateOnNullable">
<source>Cannot bind delegate to '{0}' because it is a member of 'System.Nullable<T>'</source>
<target state="translated">Nejde vytvořit vazbu delegáta s {0}, protože je členem struktury System.Nullable<T>.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadCtorArgCount">
<source>'{0}' does not contain a constructor that takes {1} arguments</source>
<target state="translated">{0} neobsahuje konstruktor, který přebírá tento počet argumentů: {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_GlobalAttributesNotFirst">
<source>Assembly and module attributes must precede all other elements defined in a file except using clauses and extern alias declarations</source>
<target state="translated">Atributy sestavení a modulu musí předcházet přede všemi ostatními prvky definovanými v souboru s výjimkou klauzulí using a deklarací externích aliasů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionExpected">
<source>Expected expression</source>
<target state="translated">Očekával se výraz.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidSubsystemVersion">
<source>Invalid version {0} for /subsystemversion. The version must be 6.02 or greater for ARM or AppContainerExe, and 4.00 or greater otherwise</source>
<target state="translated">Neplatná verze {0} pro /subsystemversion. Verze musí být 6.02 nebo vyšší pro ARM nebo AppContainerExe a 4.00 nebo vyšší v ostatních případech.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InteropMethodWithBody">
<source>Embedded interop method '{0}' contains a body.</source>
<target state="translated">Vložená metoda spolupráce {0} obsahuje tělo.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadWarningLevel">
<source>Warning level must be zero or greater</source>
<target state="translated">Úroveň upozornění musí být nula nebo větší.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadDebugType">
<source>Invalid option '{0}' for /debug; must be 'portable', 'embedded', 'full' or 'pdbonly'</source>
<target state="translated">Neplatný parametr {0} pro /debug; musí být portable, embedded, full nebo pdbonly.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadResourceVis">
<source>Invalid option '{0}'; Resource visibility must be either 'public' or 'private'</source>
<target state="translated">Neplatná možnost {0}. Viditelnost zdroje musí být public nebo private.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DefaultValueTypeMustMatch">
<source>The type of the argument to the DefaultParameterValue attribute must match the parameter type</source>
<target state="translated">Typ argumentu atributu DefaultParameterValue musí odpovídat typu parametru.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DefaultValueBadValueType">
<source>Argument of type '{0}' is not applicable for the DefaultParameterValue attribute</source>
<target state="translated">Argument typu {0} není použitelný pro atribut DefaultParameterValue.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MemberAlreadyInitialized">
<source>Duplicate initialization of member '{0}'</source>
<target state="translated">Duplicitní inicializace členu {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_MemberCannotBeInitialized">
<source>Member '{0}' cannot be initialized. It is not a field or property.</source>
<target state="translated">Člen {0} nejde inicializovat. Nejedná se o pole ani vlastnost.</target>
<note />
</trans-unit>
<trans-unit id="ERR_StaticMemberInObjectInitializer">
<source>Static field or property '{0}' cannot be assigned in an object initializer</source>
<target state="translated">Statické pole nebo vlastnost {0} se nedá přiřadit k inicializátoru objektu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ReadonlyValueTypeInObjectInitializer">
<source>Members of readonly field '{0}' of type '{1}' cannot be assigned with an object initializer because it is of a value type</source>
<target state="translated">Členy vlastnosti {0} typu {1} nejde přiřadit k inicializátoru objektu, protože tento inicializátor je hodnotového typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ValueTypePropertyInObjectInitializer">
<source>Members of property '{0}' of type '{1}' cannot be assigned with an object initializer because it is of a value type</source>
<target state="translated">Členy vlastnosti {0} typu {1} nejde přiřadit k inicializátoru objektu, protože tento inicializátor je hodnotového typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnsafeTypeInObjectCreation">
<source>Unsafe type '{0}' cannot be used in object creation</source>
<target state="translated">K vytvoření objektu nejde použít nezabezpečený typ {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_EmptyElementInitializer">
<source>Element initializer cannot be empty</source>
<target state="translated">Inicializátor prvku nemůže být prázdný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InitializerAddHasWrongSignature">
<source>The best overloaded method match for '{0}' has wrong signature for the initializer element. The initializable Add must be an accessible instance method.</source>
<target state="translated">Odpovídající optimální přetěžovaná metoda pro {0} má nesprávný podpis prvku inicializátoru. Jako inicializovatelná metoda Add se musí používat dostupná instanční metoda.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CollectionInitRequiresIEnumerable">
<source>Cannot initialize type '{0}' with a collection initializer because it does not implement 'System.Collections.IEnumerable'</source>
<target state="translated">Nejde inicializovat typ {0} pomocí inicializátoru kolekce, protože neimplementuje System.Collections.IEnumerable.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantSetWin32Manifest">
<source>Error reading Win32 manifest file '{0}' -- '{1}'</source>
<target state="translated">Chyba při čtení souboru manifestu Win32 {0} -- {1}</target>
<note />
</trans-unit>
<trans-unit id="WRN_CantHaveManifestForModule">
<source>Ignoring /win32manifest for module because it only applies to assemblies</source>
<target state="translated">Přepínač /win32manifest pro modul se bude ignorovat, protože se vztahuje jenom k sestavením.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CantHaveManifestForModule_Title">
<source>Ignoring /win32manifest for module because it only applies to assemblies</source>
<target state="translated">Přepínač /win32manifest pro modul se bude ignorovat, protože se vztahuje jenom k sestavením.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadInstanceArgType">
<source>'{0}' does not contain a definition for '{1}' and the best extension method overload '{2}' requires a receiver of type '{3}'</source>
<target state="translated">{0} neobsahuje definici pro {1} a přetížení optimální metody rozšíření {2} vyžaduje přijímač typu {3}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_QueryDuplicateRangeVariable">
<source>The range variable '{0}' has already been declared</source>
<target state="translated">Proměnná rozsahu {0} je už deklarovaná.</target>
<note />
</trans-unit>
<trans-unit id="ERR_QueryRangeVariableOverrides">
<source>The range variable '{0}' conflicts with a previous declaration of '{0}'</source>
<target state="translated">Proměnná rozsahu {0} je v konfliktu s předchozí deklarací {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_QueryRangeVariableAssignedBadValue">
<source>Cannot assign {0} to a range variable</source>
<target state="translated">{0} nejde přiřadit k proměnné rozsahu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_QueryNoProviderCastable">
<source>Could not find an implementation of the query pattern for source type '{0}'. '{1}' not found. Consider explicitly specifying the type of the range variable '{2}'.</source>
<target state="translated">Nenašla se implementace vzorku dotazu pro typ zdroje {0}. Nenašel se prvek {1}. Zvažte možnost explicitního určení typu proměnné rozsahu {2}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_QueryNoProviderStandard">
<source>Could not find an implementation of the query pattern for source type '{0}'. '{1}' not found. Are you missing required assembly references or a using directive for 'System.Linq'?</source>
<target state="translated">Nenašla se implementace vzorku dotazu pro typ zdroje {0}. Nenašel se prvek {1}. Nechybí odkazy na požadovaná sestavení nebo direktiva using pro System.Linq?</target>
<note />
</trans-unit>
<trans-unit id="ERR_QueryNoProvider">
<source>Could not find an implementation of the query pattern for source type '{0}'. '{1}' not found.</source>
<target state="translated">Nenašla se implementace vzorku dotazu pro typ zdroje {0}. Nenašel se prvek {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_QueryOuterKey">
<source>The name '{0}' is not in scope on the left side of 'equals'. Consider swapping the expressions on either side of 'equals'.</source>
<target state="translated">Název {0} není v oboru levé strany operátoru equals. Zvažte možnost vzájemné záměny výrazů na obou stranách operátoru equals.</target>
<note />
</trans-unit>
<trans-unit id="ERR_QueryInnerKey">
<source>The name '{0}' is not in scope on the right side of 'equals'. Consider swapping the expressions on either side of 'equals'.</source>
<target state="translated">Název {0} není v oboru pravé strany operátoru equals. Zvažte možnost vzájemné záměny výrazů na obou stranách operátoru equals.</target>
<note />
</trans-unit>
<trans-unit id="ERR_QueryOutRefRangeVariable">
<source>Cannot pass the range variable '{0}' as an out or ref parameter</source>
<target state="translated">Proměnnou rozsahu {0} nejde předat jako vnější nebo odkazovaný parametr.</target>
<note />
</trans-unit>
<trans-unit id="ERR_QueryMultipleProviders">
<source>Multiple implementations of the query pattern were found for source type '{0}'. Ambiguous call to '{1}'.</source>
<target state="translated">Našlo se víc implementací vzorku dotazu pro typ zdroje {0}. Nejednoznačné volání funkce {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_QueryTypeInferenceFailedMulti">
<source>The type of one of the expressions in the {0} clause is incorrect. Type inference failed in the call to '{1}'.</source>
<target state="translated">Typ jednoho z výrazů v klauzuli {0} je nesprávný. Nepovedlo se odvození typu při volání funkce {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_QueryTypeInferenceFailed">
<source>The type of the expression in the {0} clause is incorrect. Type inference failed in the call to '{1}'.</source>
<target state="translated">Typ výrazu v klauzuli {0} je nesprávný. Nepovedlo se odvození typu při volání funkce {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_QueryTypeInferenceFailedSelectMany">
<source>An expression of type '{0}' is not allowed in a subsequent from clause in a query expression with source type '{1}'. Type inference failed in the call to '{2}'.</source>
<target state="translated">Není povolené použití výrazu typu {0} v následné klauzuli from ve výrazu dotazu s typem zdroje {1}. Nepovedlo se odvození typu při volání funkce {2}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsPointerOp">
<source>An expression tree may not contain an unsafe pointer operation</source>
<target state="translated">Strom výrazů nesmí obsahovat nezabezpečenou operaci s ukazatelem.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsAnonymousMethod">
<source>An expression tree may not contain an anonymous method expression</source>
<target state="translated">Strom výrazů nesmí obsahovat výraz anonymní metody.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AnonymousMethodToExpressionTree">
<source>An anonymous method expression cannot be converted to an expression tree</source>
<target state="translated">Výraz anonymní metody nejde převést na strom výrazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_QueryRangeVariableReadOnly">
<source>Range variable '{0}' cannot be assigned to -- it is read only</source>
<target state="translated">K proměnné rozsahu {0} nejde přiřazovat – je jenom pro čtení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_QueryRangeVariableSameAsTypeParam">
<source>The range variable '{0}' cannot have the same name as a method type parameter</source>
<target state="translated">Proměnná rozsahu {0} nesmí mít stejný název jako parametr typu metody.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TypeVarNotFoundRangeVariable">
<source>The contextual keyword 'var' cannot be used in a range variable declaration</source>
<target state="translated">V deklaraci proměnné rozsahu nejde použít kontextové klíčové slovo var.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadArgTypesForCollectionAdd">
<source>The best overloaded Add method '{0}' for the collection initializer has some invalid arguments</source>
<target state="translated">Některé argumenty optimální přetěžované metody Add {0} pro inicializátor kolekce jsou neplatné.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ByRefParameterInExpressionTree">
<source>An expression tree lambda may not contain a ref, in or out parameter</source>
<target state="translated">Strom výrazu lambda nesmí obsahovat parametr ref, in nebo out.</target>
<note />
</trans-unit>
<trans-unit id="ERR_VarArgsInExpressionTree">
<source>An expression tree lambda may not contain a method with variable arguments</source>
<target state="translated">Strom výrazu lambda nesmí obsahovat metodu s proměnnými argumenty.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MemGroupInExpressionTree">
<source>An expression tree lambda may not contain a method group</source>
<target state="translated">Strom výrazu lambda nesmí obsahovat skupinu metod.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InitializerAddHasParamModifiers">
<source>The best overloaded method match '{0}' for the collection initializer element cannot be used. Collection initializer 'Add' methods cannot have ref or out parameters.</source>
<target state="translated">Optimální nalezenou přetěžovanou metodu {0} pro element inicializátoru kolekce nejde použít. Metody Add inicializátoru kolekce nemůžou mít parametry Ref nebo Out.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NonInvocableMemberCalled">
<source>Non-invocable member '{0}' cannot be used like a method.</source>
<target state="translated">Nevyvolatelného člena {0} nejde použít jako metodu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MultipleRuntimeImplementationMatches">
<source>Member '{0}' implements interface member '{1}' in type '{2}'. There are multiple matches for the interface member at run-time. It is implementation dependent which method will be called.</source>
<target state="translated">Člen {0} implementuje člen rozhraní {1} v typu {2}. Za běhu existuje pro tohoto člena rozhraní víc shod. Volaná metoda závisí na konkrétní implementaci.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MultipleRuntimeImplementationMatches_Title">
<source>Member implements interface member with multiple matches at run-time</source>
<target state="translated">Člen za běhu implementuje člena rozhraní s více shodami.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MultipleRuntimeImplementationMatches_Description">
<source>This warning can be generated when two interface methods are differentiated only by whether a particular parameter is marked with ref or with out. It is best to change your code to avoid this warning because it is not obvious or guaranteed which method is called at runtime.
Although C# distinguishes between out and ref, the CLR sees them as the same. When deciding which method implements the interface, the CLR just picks one.
Give the compiler some way to differentiate the methods. For example, you can give them different names or provide an additional parameter on one of them.</source>
<target state="translated">Toto varování se může vygenerovat, když jsou dvě metody rozhraní odlišené jenom tím, že určitý parametr je označený jednou jako ref a podruhé jako out. Doporučuje se kód změnit tak, aby k tomuto varování nedocházelo, protože není úplně jasné nebo zaručené, která metoda se má za běhu vyvolat.
Ačkoli C# rozlišuje mezi out a ref, pro CLR je to totéž. Při rozhodování, která metoda má implementovat rozhraní, modul CLR prostě jednu vybere.
Poskytněte kompilátoru nějaký způsob, jak metody rozlišit. Můžete například zadat různé názvy nebo k jedné z nich přidat parametr navíc.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MultipleRuntimeOverrideMatches">
<source>Member '{1}' overrides '{0}'. There are multiple override candidates at run-time. It is implementation dependent which method will be called. Please use a newer runtime.</source>
<target state="translated">Člen {1} přepisuje člen {0}. Za běhu existuje více kandidátů na přepis. Volaná metoda závisí na konkrétní implementaci. Použijte prosím novější modul runtime.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MultipleRuntimeOverrideMatches_Title">
<source>Member overrides base member with multiple override candidates at run-time</source>
<target state="translated">Člen za běhu přepíše základního člena s více kandidáty na přepsání.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ObjectOrCollectionInitializerWithDelegateCreation">
<source>Object and collection initializer expressions may not be applied to a delegate creation expression</source>
<target state="translated">Výrazy inicializátoru objektu a kolekce nejde použít na výraz vytvářející delegáta.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidConstantDeclarationType">
<source>'{0}' is of type '{1}'. The type specified in a constant declaration must be sbyte, byte, short, ushort, int, uint, long, ulong, char, float, double, decimal, bool, string, an enum-type, or a reference-type.</source>
<target state="translated">{0} je typu {1}. V deklaraci konstanty musí být uvedený typ sbyte, byte, short, ushort, int, uint, long, ulong, char, float, double, decimal, bool, string, výčtový typ nebo typ odkazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FileNotFound">
<source>Source file '{0}' could not be found.</source>
<target state="translated">Zdrojový soubor {0} se nenašel.</target>
<note />
</trans-unit>
<trans-unit id="WRN_FileAlreadyIncluded">
<source>Source file '{0}' specified multiple times</source>
<target state="translated">Zdrojový soubor {0} je zadaný několikrát.</target>
<note />
</trans-unit>
<trans-unit id="WRN_FileAlreadyIncluded_Title">
<source>Source file specified multiple times</source>
<target state="translated">Zdrojový soubor je zadaný několikrát.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoFileSpec">
<source>Missing file specification for '{0}' option</source>
<target state="translated">Pro možnost {0} chybí specifikace souboru.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SwitchNeedsString">
<source>Command-line syntax error: Missing '{0}' for '{1}' option</source>
<target state="translated">Chyba syntaxe příkazového řádku: Nenašla se hodnota {0} pro možnost {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadSwitch">
<source>Unrecognized option: '{0}'</source>
<target state="translated">Nerozpoznaná možnost: {0}</target>
<note />
</trans-unit>
<trans-unit id="WRN_NoSources">
<source>No source files specified.</source>
<target state="translated">Nejsou zadané žádné zdrojové soubory.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NoSources_Title">
<source>No source files specified</source>
<target state="translated">Nejsou zadané žádné zdrojové soubory.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpectedSingleScript">
<source>Expected a script (.csx file) but none specified</source>
<target state="translated">Očekával se skript (soubor .csx), žádný ale není zadaný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OpenResponseFile">
<source>Error opening response file '{0}'</source>
<target state="translated">Chyba při otevírání souboru odpovědí {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantOpenFileWrite">
<source>Cannot open '{0}' for writing -- '{1}'</source>
<target state="translated">{0} se nedá otevřít pro zápis -- {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadBaseNumber">
<source>Invalid image base number '{0}'</source>
<target state="translated">Neplatné základní číslo obrázku {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_BinaryFile">
<source>'{0}' is a binary file instead of a text file</source>
<target state="translated">{0} je binární, ne textový soubor.</target>
<note />
</trans-unit>
<trans-unit id="FTL_BadCodepage">
<source>Code page '{0}' is invalid or not installed</source>
<target state="translated">Znaková stránka {0} je neplatná nebo není nainstalovaná.</target>
<note />
</trans-unit>
<trans-unit id="FTL_BadChecksumAlgorithm">
<source>Algorithm '{0}' is not supported</source>
<target state="translated">Algoritmus {0} není podporovaný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoMainOnDLL">
<source>Cannot specify /main if building a module or library</source>
<target state="translated">Při vytváření modulu nebo knihovny nejde použít přepínač /main.</target>
<note />
</trans-unit>
<trans-unit id="FTL_InvalidTarget">
<source>Invalid target type for /target: must specify 'exe', 'winexe', 'library', or 'module'</source>
<target state="translated">Neplatný typ cíle pro parametr /target: Je nutné použít možnost exe, winexe, library nebo module.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NoConfigNotOnCommandLine">
<source>Ignoring /noconfig option because it was specified in a response file</source>
<target state="translated">Přepínač /noconfig se ignoroval, protože byl uvedený v souboru odpovědí.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NoConfigNotOnCommandLine_Title">
<source>Ignoring /noconfig option because it was specified in a response file</source>
<target state="translated">Přepínač /noconfig se ignoroval, protože byl uvedený v souboru odpovědí.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidFileAlignment">
<source>Invalid file section alignment '{0}'</source>
<target state="translated">Neplatný argument výběru souboru {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidOutputName">
<source>Invalid output name: {0}</source>
<target state="translated">Neplatný název výstupu: {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidDebugInformationFormat">
<source>Invalid debug information format: {0}</source>
<target state="translated">Neplatný formát informací o ladění: {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_LegacyObjectIdSyntax">
<source>'id#' syntax is no longer supported. Use '$id' instead.</source>
<target state="translated">'Syntaxe id# už není podporovaná. Použijte místo ní syntaxi $id.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DefineIdentifierRequired">
<source>Invalid name for a preprocessing symbol; '{0}' is not a valid identifier</source>
<target state="translated">Neplatný název pro symbol předzpracování; {0} není platný identifikátor.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DefineIdentifierRequired_Title">
<source>Invalid name for a preprocessing symbol; not a valid identifier</source>
<target state="translated">Neplatný název pro symbol předzpracování; neplatný identifikátor</target>
<note />
</trans-unit>
<trans-unit id="FTL_OutputFileExists">
<source>Cannot create short filename '{0}' when a long filename with the same short filename already exists</source>
<target state="translated">Nejde vytvořit krátký název souboru {0}, protože už existuje dlouhý název souboru se stejným krátkým názvem.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OneAliasPerReference">
<source>A /reference option that declares an extern alias can only have one filename. To specify multiple aliases or filenames, use multiple /reference options.</source>
<target state="translated">Parametr /reference deklarující externí alias může mít jenom jeden název souboru. Pokud chcete zadat víc aliasů nebo názvů souborů, použijte více parametrů /reference.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SwitchNeedsNumber">
<source>Command-line syntax error: Missing ':<number>' for '{0}' option</source>
<target state="translated">Chyba syntaxe příkazového řádku: Nenašla se hodnota :<číslo> parametru {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MissingDebugSwitch">
<source>The /pdb option requires that the /debug option also be used</source>
<target state="translated">Možnost /pdb vyžaduje taky použití možnosti /debug .</target>
<note />
</trans-unit>
<trans-unit id="ERR_ComRefCallInExpressionTree">
<source>An expression tree lambda may not contain a COM call with ref omitted on arguments</source>
<target state="translated">Strom výrazu lambda nesmí obsahovat volání COM, které v argumentech vynechává parametr Ref.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidFormatForGuidForOption">
<source>Command-line syntax error: Invalid Guid format '{0}' for option '{1}'</source>
<target state="translated">Chyba syntaxe příkazového řádku: Neplatný formát GUID {0} pro možnost {1}</target>
<note />
</trans-unit>
<trans-unit id="ERR_MissingGuidForOption">
<source>Command-line syntax error: Missing Guid for option '{1}'</source>
<target state="translated">Chyba syntaxe příkazového řádku: Chybí GUID pro možnost {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_NoVarArgs">
<source>Methods with variable arguments are not CLS-compliant</source>
<target state="translated">Metody s proměnnými argumenty nejsou kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_NoVarArgs_Title">
<source>Methods with variable arguments are not CLS-compliant</source>
<target state="translated">Metody s proměnnými argumenty nejsou kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadArgType">
<source>Argument type '{0}' is not CLS-compliant</source>
<target state="translated">Typ argumentu {0} není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadArgType_Title">
<source>Argument type is not CLS-compliant</source>
<target state="translated">Typ argumentu není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadReturnType">
<source>Return type of '{0}' is not CLS-compliant</source>
<target state="translated">Typ vrácené hodnoty {0} není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadReturnType_Title">
<source>Return type is not CLS-compliant</source>
<target state="translated">Návratový typ není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadFieldPropType">
<source>Type of '{0}' is not CLS-compliant</source>
<target state="translated">Typ {0} není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadFieldPropType_Title">
<source>Type is not CLS-compliant</source>
<target state="translated">Typ není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadFieldPropType_Description">
<source>A public, protected, or protected internal variable must be of a type that is compliant with the Common Language Specification (CLS).</source>
<target state="translated">Veřejná, chráněná nebo interně chráněná proměnná musí být typu, který je kompatibilní se specifikací CLS (Common Language Specification).</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadIdentifierCase">
<source>Identifier '{0}' differing only in case is not CLS-compliant</source>
<target state="translated">Identifikátor {0} lišící se jenom použitím velkých a malých písmen není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadIdentifierCase_Title">
<source>Identifier differing only in case is not CLS-compliant</source>
<target state="translated">Identifikátor lišící se jenom použitím velkých a malých písmen není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_OverloadRefOut">
<source>Overloaded method '{0}' differing only in ref or out, or in array rank, is not CLS-compliant</source>
<target state="translated">Přetěžovaná metoda {0} lišící se jen parametrem ref nebo out nebo rozměrem pole není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_OverloadRefOut_Title">
<source>Overloaded method differing only in ref or out, or in array rank, is not CLS-compliant</source>
<target state="translated">Přetěžovaná metoda lišící se jen parametrem ref nebo out nebo rozměrem pole není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_OverloadUnnamed">
<source>Overloaded method '{0}' differing only by unnamed array types is not CLS-compliant</source>
<target state="translated">Přetěžovaná metoda {0} lišící se jenom nepojmenovanými typy pole není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_OverloadUnnamed_Title">
<source>Overloaded method differing only by unnamed array types is not CLS-compliant</source>
<target state="translated">Přetěžovaná metoda lišící se jenom nepojmenovanými typy pole není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_OverloadUnnamed_Description">
<source>This error occurs if you have an overloaded method that takes a jagged array and the only difference between the method signatures is the element type of the array. To avoid this error, consider using a rectangular array rather than a jagged array; use an additional parameter to disambiguate the function call; rename one or more of the overloaded methods; or, if CLS Compliance is not needed, remove the CLSCompliantAttribute attribute.</source>
<target state="translated">Tato chyba se objeví, pokud máte přetěžovanou metodu, která přebírá vícenásobné pole, a jediný rozdíl mezi signaturami metody je typ elementu tohoto pole. Aby nedošlo k této chybě, zvažte použití pravoúhlého pole namísto vícenásobného, použijte další parametr, aby volání této funkce bylo jednoznačné, přejmenujte nejmíň jednu přetěžovanou metodu nebo (pokud kompatibilita s CLS není nutná) odeberte atribut CLSCompliantAttribute.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadIdentifier">
<source>Identifier '{0}' is not CLS-compliant</source>
<target state="translated">Identifikátor {0} není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadIdentifier_Title">
<source>Identifier is not CLS-compliant</source>
<target state="translated">Identifikátor není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadBase">
<source>'{0}': base type '{1}' is not CLS-compliant</source>
<target state="translated">{0}: Základní typ {1} není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadBase_Title">
<source>Base type is not CLS-compliant</source>
<target state="translated">Základní typ není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadBase_Description">
<source>A base type was marked as not having to be compliant with the Common Language Specification (CLS) in an assembly that was marked as being CLS compliant. Either remove the attribute that specifies the assembly is CLS compliant or remove the attribute that indicates the type is not CLS compliant.</source>
<target state="translated">Základní typ byl označený tak, že nemusí být kompatibilní se specifikací CLS (Common Language Specification) v sestavení, které bylo označené jako kompatibilní s CLS. Buď odeberte atribut, který sestavení určuje jako kompatibilní s CLS, nebo odeberte atribut, který označuje typ jako nekompatibilní s CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadInterfaceMember">
<source>'{0}': CLS-compliant interfaces must have only CLS-compliant members</source>
<target state="translated">{0}: Rozhraní kompatibilní se specifikací CLS musí obsahovat jenom členy kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadInterfaceMember_Title">
<source>CLS-compliant interfaces must have only CLS-compliant members</source>
<target state="translated">Rozhraní kompatibilní se specifikací CLS musí obsahovat jenom členy kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_NoAbstractMembers">
<source>'{0}': only CLS-compliant members can be abstract</source>
<target state="translated">{0}: Jenom členy kompatibilní se specifikací CLS můžou být abstraktní.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_NoAbstractMembers_Title">
<source>Only CLS-compliant members can be abstract</source>
<target state="translated">Jenom členy kompatibilní se specifikací CLS můžou být abstraktní.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_NotOnModules">
<source>You must specify the CLSCompliant attribute on the assembly, not the module, to enable CLS compliance checking</source>
<target state="translated">Pokud chcete povolit kontrolu kompatibility se specifikací CLS, musíte zadat atribut CLSCompliant sestavení, ne modulu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_NotOnModules_Title">
<source>You must specify the CLSCompliant attribute on the assembly, not the module, to enable CLS compliance checking</source>
<target state="translated">Pokud chcete povolit kontrolu kompatibility se specifikací CLS, musíte zadat atribut CLSCompliant sestavení, ne modulu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_ModuleMissingCLS">
<source>Added modules must be marked with the CLSCompliant attribute to match the assembly</source>
<target state="translated">Aby přidávané moduly odpovídaly sestavení, musí být označené atributem CLSCompliant.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_ModuleMissingCLS_Title">
<source>Added modules must be marked with the CLSCompliant attribute to match the assembly</source>
<target state="translated">Aby přidávané moduly odpovídaly sestavení, musí být označené atributem CLSCompliant.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_AssemblyNotCLS">
<source>'{0}' cannot be marked as CLS-compliant because the assembly does not have a CLSCompliant attribute</source>
<target state="translated">{0} nejde označit jako kompatibilní se specifikací CLS, protože sestavení nemá atribut CLSCompliant.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_AssemblyNotCLS_Title">
<source>Type or member cannot be marked as CLS-compliant because the assembly does not have a CLSCompliant attribute</source>
<target state="translated">Typ nebo člen nejde označit jako kompatibilní se specifikací CLS, protože sestavení nemá atribut CLSCompliant.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadAttributeType">
<source>'{0}' has no accessible constructors which use only CLS-compliant types</source>
<target state="translated">{0} nemá žádné přístupné konstruktory, které používají jenom typy kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadAttributeType_Title">
<source>Type has no accessible constructors which use only CLS-compliant types</source>
<target state="translated">Typ nemá žádné přístupné konstruktory, které používají jenom typy kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_ArrayArgumentToAttribute">
<source>Arrays as attribute arguments is not CLS-compliant</source>
<target state="translated">Pole jako argumenty atributu nejsou kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_ArrayArgumentToAttribute_Title">
<source>Arrays as attribute arguments is not CLS-compliant</source>
<target state="translated">Pole jako argumenty atributu nejsou kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_NotOnModules2">
<source>You cannot specify the CLSCompliant attribute on a module that differs from the CLSCompliant attribute on the assembly</source>
<target state="translated">Nejde zadat atribut CLSCompliant u modulu, který se liší od atributu CLSCompliant sestavení.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_NotOnModules2_Title">
<source>You cannot specify the CLSCompliant attribute on a module that differs from the CLSCompliant attribute on the assembly</source>
<target state="translated">Nejde zadat atribut CLSCompliant u modulu, který se liší od atributu CLSCompliant sestavení.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_IllegalTrueInFalse">
<source>'{0}' cannot be marked as CLS-compliant because it is a member of non-CLS-compliant type '{1}'</source>
<target state="translated">{0} nejde označit jako kompatibilní se specifikací CLS, protože se jedná o člen typu {1}, který není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_IllegalTrueInFalse_Title">
<source>Type cannot be marked as CLS-compliant because it is a member of non-CLS-compliant type</source>
<target state="translated">Typ nejde označit jako kompatibilní se specifikací CLS, protože se jedná o člen typu, který není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_MeaninglessOnPrivateType">
<source>CLS compliance checking will not be performed on '{0}' because it is not visible from outside this assembly</source>
<target state="translated">Pro prvek {0} se neprovede kontrola kompatibility se specifikací CLS, protože není viditelný mimo toto sestavení.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_MeaninglessOnPrivateType_Title">
<source>CLS compliance checking will not be performed because it is not visible from outside this assembly</source>
<target state="translated">Kontrola kompatibility se specifikací CLS se neprovede, protože není viditelná zvnějšku tohoto sestavení.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_AssemblyNotCLS2">
<source>'{0}' does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute</source>
<target state="translated">{0} nepotřebuje atribut CLSCompliant, protože sestavení nemá atribut CLSCompliant.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_AssemblyNotCLS2_Title">
<source>Type or member does not need a CLSCompliant attribute because the assembly does not have a CLSCompliant attribute</source>
<target state="translated">Typ nebo člen nepotřebuje atribut CLSCompliant, protože sestavení nemá atribut CLSCompliant.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_MeaninglessOnParam">
<source>CLSCompliant attribute has no meaning when applied to parameters. Try putting it on the method instead.</source>
<target state="translated">Atribut CLSCompliant nemá žádný význam při použití u parametrů. Použijte jej místo toho u metody.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_MeaninglessOnParam_Title">
<source>CLSCompliant attribute has no meaning when applied to parameters</source>
<target state="translated">Atribut CLSCompliant nemá žádný význam při použití u parametrů.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_MeaninglessOnReturn">
<source>CLSCompliant attribute has no meaning when applied to return types. Try putting it on the method instead.</source>
<target state="translated">Atribut CLSCompliant nemá žádný význam při použití u typů vrácených hodnot. Použijte jej místo toho u metody.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_MeaninglessOnReturn_Title">
<source>CLSCompliant attribute has no meaning when applied to return types</source>
<target state="translated">Atribut CLSCompliant nemá žádný význam při použití u návratových typů.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadTypeVar">
<source>Constraint type '{0}' is not CLS-compliant</source>
<target state="translated">Typ omezení {0} není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadTypeVar_Title">
<source>Constraint type is not CLS-compliant</source>
<target state="translated">Typ omezení není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_VolatileField">
<source>CLS-compliant field '{0}' cannot be volatile</source>
<target state="translated">Pole kompatibilní se specifikací CLS {0} nemůže být typu volatile.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_VolatileField_Title">
<source>CLS-compliant field cannot be volatile</source>
<target state="translated">Pole kompatibilní se specifikací CLS nemůže být typu volatile.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadInterface">
<source>'{0}' is not CLS-compliant because base interface '{1}' is not CLS-compliant</source>
<target state="translated">{0} není kompatibilní se specifikací CLS, protože základní rozhraní {1} není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CLS_BadInterface_Title">
<source>Type is not CLS-compliant because base interface is not CLS-compliant</source>
<target state="translated">Typ není kompatibilní se specifikací CLS, protože základní rozhraní není kompatibilní se specifikací CLS.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAwaitArg">
<source>'await' requires that the type {0} have a suitable 'GetAwaiter' method</source>
<target state="translated">'Operátor await vyžaduje, aby typ {0} měl odpovídající metodu GetAwaiter.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAwaitArgIntrinsic">
<source>Cannot await '{0}'</source>
<target state="translated">Operátor await nejde použít pro {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAwaiterPattern">
<source>'await' requires that the return type '{0}' of '{1}.GetAwaiter()' have suitable 'IsCompleted', 'OnCompleted', and 'GetResult' members, and implement 'INotifyCompletion' or 'ICriticalNotifyCompletion'</source>
<target state="translated">'Operátor await vyžaduje, aby návratový typ {0} metody {1}.GetAwaiter() měl odpovídající členy IsCompleted, OnCompleted a GetResult a implementoval rozhraní INotifyCompletion nebo ICriticalNotifyCompletion.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAwaitArg_NeedSystem">
<source>'await' requires that the type '{0}' have a suitable 'GetAwaiter' method. Are you missing a using directive for 'System'?</source>
<target state="translated">'Operátor await vyžaduje, aby typ {0} měl odpovídající metodu GetAwaiter. Chybí vám direktiva using pro položku System?</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAwaitArgVoidCall">
<source>Cannot await 'void'</source>
<target state="translated">Operátor await nejde použít pro void.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAwaitAsIdentifier">
<source>'await' cannot be used as an identifier within an async method or lambda expression</source>
<target state="translated">'Operátor Await nejde použít jako identifikátor v asynchronní metodě nebo výrazu lambda.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DoesntImplementAwaitInterface">
<source>'{0}' does not implement '{1}'</source>
<target state="translated">{0} neimplementuje {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TaskRetNoObjectRequired">
<source>Since '{0}' is an async method that returns 'Task', a return keyword must not be followed by an object expression. Did you intend to return 'Task<T>'?</source>
<target state="translated">Protože metoda {0} je asynchronní a její návratový typ je Task, za klíčovým slovem return nesmí následovat objektový výraz. Měli jste v úmyslu vrátit hodnotu typu Task<T>?</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAsyncReturn">
<source>The return type of an async method must be void, Task, Task<T>, a task-like type, IAsyncEnumerable<T>, or IAsyncEnumerator<T></source>
<target state="translated">Návratový typ asynchronní metody musí být void, Task, Task<T>, typ podobný úloze, IAsyncEnumerable<T> nebo IAsyncEnumerator<T>.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantReturnVoid">
<source>Cannot return an expression of type 'void'</source>
<target state="translated">Nejde vrátit výraz typu void.</target>
<note />
</trans-unit>
<trans-unit id="ERR_VarargsAsync">
<source>__arglist is not allowed in the parameter list of async methods</source>
<target state="translated">Klíčové slovo __arglist není povolené v seznamu parametrů asynchronních metod.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ByRefTypeAndAwait">
<source>'await' cannot be used in an expression containing the type '{0}'</source>
<target state="translated">'Operátor await nejde použít ve výrazu, který obsahuje typ {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnsafeAsyncArgType">
<source>Async methods cannot have unsafe parameters or return types</source>
<target state="translated">Asynchronní metody nemůžou mít návratové typy nebo parametry, které nejsou bezpečné.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAsyncArgType">
<source>Async methods cannot have ref, in or out parameters</source>
<target state="translated">Asynchronní metody nemůžou mít parametry ref, in nebo out.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAwaitWithoutAsync">
<source>The 'await' operator can only be used when contained within a method or lambda expression marked with the 'async' modifier</source>
<target state="translated">Operátor await jde použít, jenom pokud je obsažen v metodě nebo výrazu lambda označeném pomocí modifikátoru async.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAwaitWithoutAsyncLambda">
<source>The 'await' operator can only be used within an async {0}. Consider marking this {0} with the 'async' modifier.</source>
<target state="translated">Operátor await jde použít jenom v asynchronní metodě {0}. Zvažte označení této metody modifikátorem async.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAwaitWithoutAsyncMethod">
<source>The 'await' operator can only be used within an async method. Consider marking this method with the 'async' modifier and changing its return type to 'Task<{0}>'.</source>
<target state="translated">Operátor await jde použít jenom v asynchronních metodách. Zvažte označení této metody modifikátorem async a změnu jejího návratového typu na Task<{0}>.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAwaitWithoutVoidAsyncMethod">
<source>The 'await' operator can only be used within an async method. Consider marking this method with the 'async' modifier and changing its return type to 'Task'.</source>
<target state="translated">Operátor await jde použít jenom v asynchronní metodě. Zvažte označení této metody pomocí modifikátoru async a změnu jejího návratového typu na Task.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAwaitInFinally">
<source>Cannot await in the body of a finally clause</source>
<target state="translated">Nejde použít operátor await v těle klauzule finally.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAwaitInCatch">
<source>Cannot await in a catch clause</source>
<target state="translated">Operátor await nejde použít v klauzuli catch.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAwaitInCatchFilter">
<source>Cannot await in the filter expression of a catch clause</source>
<target state="translated">Nejde použít operátor await ve výrazu filtru klauzule catch.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAwaitInLock">
<source>Cannot await in the body of a lock statement</source>
<target state="translated">Operátor await nejde použít v příkazu lock.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAwaitInStaticVariableInitializer">
<source>The 'await' operator cannot be used in a static script variable initializer.</source>
<target state="translated">Operátor await nejde použít v inicializátoru proměnné statického skriptu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AwaitInUnsafeContext">
<source>Cannot await in an unsafe context</source>
<target state="translated">Operátor await nejde použít v nezabezpečeném kontextu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAsyncLacksBody">
<source>The 'async' modifier can only be used in methods that have a body.</source>
<target state="translated">Modifikátor async se dá použít jenom v metodách, které mají tělo.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadSpecialByRefLocal">
<source>Parameters or locals of type '{0}' cannot be declared in async methods or async lambda expressions.</source>
<target state="translated">Parametry nebo lokální proměnné typu {0} nemůžou být deklarované v asynchronních metodách nebo asynchronních výrazech lambda.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadSpecialByRefIterator">
<source>foreach statement cannot operate on enumerators of type '{0}' in async or iterator methods because '{0}' is a ref struct.</source>
<target state="translated">Výraz foreach nejde použít na enumerátorech typu {0} v asynchronních metodách nebo metodách iterátoru, protože {0} je struktura REF.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SecurityCriticalOrSecuritySafeCriticalOnAsync">
<source>Security attribute '{0}' cannot be applied to an Async method.</source>
<target state="translated">Atribut zabezpečení {0} nejde použít pro metodu Async.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SecurityCriticalOrSecuritySafeCriticalOnAsyncInClassOrStruct">
<source>Async methods are not allowed in an Interface, Class, or Structure which has the 'SecurityCritical' or 'SecuritySafeCritical' attribute.</source>
<target state="translated">Asynchronní metody nejsou povolené v rozhraní, třídě nebo struktuře, které mají atribut SecurityCritical nebo SecuritySafeCritical.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAwaitInQuery">
<source>The 'await' operator may only be used in a query expression within the first collection expression of the initial 'from' clause or within the collection expression of a 'join' clause</source>
<target state="translated">Operátor await jde použít jenom ve výrazu dotazu v rámci první kolekce výrazu počáteční klauzule from nebo v rámci výrazu kolekce klauzule join.</target>
<note />
</trans-unit>
<trans-unit id="WRN_AsyncLacksAwaits">
<source>This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.</source>
<target state="translated">V této asynchronní metodě chybí operátory await a spustí se synchronně. Zvažte použití operátoru await pro čekání na neblokující volání rozhraní API nebo vykonání činnosti vázané na procesor ve vlákně na pozadí pomocí výrazu await Task.Run(...).</target>
<note />
</trans-unit>
<trans-unit id="WRN_AsyncLacksAwaits_Title">
<source>Async method lacks 'await' operators and will run synchronously</source>
<target state="translated">V této asynchronní metodě chybí operátory await a spustí se synchronně.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnobservedAwaitableExpression">
<source>Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.</source>
<target state="translated">Protože se toto volání neočekává, vykonávání aktuální metody pokračuje před dokončením volání. Zvažte použití operátoru await na výsledek volání.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnobservedAwaitableExpression_Title">
<source>Because this call is not awaited, execution of the current method continues before the call is completed</source>
<target state="translated">Protože se toto volání neočekává, vykonávání aktuální metody pokračuje před dokončením volání.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnobservedAwaitableExpression_Description">
<source>The current method calls an async method that returns a Task or a Task<TResult> and doesn't apply the await operator to the result. The call to the async method starts an asynchronous task. However, because no await operator is applied, the program continues without waiting for the task to complete. In most cases, that behavior isn't what you expect. Usually other aspects of the calling method depend on the results of the call or, minimally, the called method is expected to complete before you return from the method that contains the call.
An equally important issue is what happens to exceptions that are raised in the called async method. An exception that's raised in a method that returns a Task or Task<TResult> is stored in the returned task. If you don't await the task or explicitly check for exceptions, the exception is lost. If you await the task, its exception is rethrown.
As a best practice, you should always await the call.
You should consider suppressing the warning only if you're sure that you don't want to wait for the asynchronous call to complete and that the called method won't raise any exceptions. In that case, you can suppress the warning by assigning the task result of the call to a variable.</source>
<target state="translated">Aktuální metoda volá asynchronní metodu, která vrací úlohu nebo úlohu<TResult> a ve výsledku nepoužije operátor await. Volání asynchronní metody spustí asynchronní úlohu. Vzhledem k tomu, že se ale nepoužil žádný operátor await, bude program pokračovat bez čekání na dokončení úlohy. Ve většině případů se nejedná o chování, které byste očekávali. Ostatní aspekty volání metody obvykle závisí na výsledcích volání nebo se aspoň očekává, že se volaná metoda dokončí před vaším návratem z metody obsahující volání.
Stejně důležité je i to, co se stane s výjimkami, ke kterým dojde ve volané asynchronní metodě. Výjimka, ke které dojde v metodě vracející úlohu nebo úlohu<TResult>, se uloží do vrácené úlohy. Pokud úlohu neočekáváte nebo explicitně výjimky nekontrolujete, dojde ke ztrátě výjimky. Pokud úlohu očekáváte, dojde k výjimce znovu.
Nejvhodnějším postupem je volání vždycky očekávat.
Potlačení upozornění zvažte jenom v případě, když určitě nechcete čekat na dokončení asynchronního volání a jste si jistí, že volaná metoda nevyvolá žádné výjimky. V takovém případě můžete upozornění potlačit tak, že výsledek úlohy volání přidružíte proměnné.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SynchronizedAsyncMethod">
<source>'MethodImplOptions.Synchronized' cannot be applied to an async method</source>
<target state="translated">'Možnost MethodImplOptions.Synchronized nejde použít pro asynchronní metodu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoConversionForCallerLineNumberParam">
<source>CallerLineNumberAttribute cannot be applied because there are no standard conversions from type '{0}' to type '{1}'</source>
<target state="translated">CallerLineNumberAttribute nejde použít, protože neexistuje žádný standardní převod z typu {0} na {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoConversionForCallerFilePathParam">
<source>CallerFilePathAttribute cannot be applied because there are no standard conversions from type '{0}' to type '{1}'</source>
<target state="translated">CallerFilePathAttribute nejde použít, protože neexistuje žádný standardní převod z typu {0} na {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoConversionForCallerMemberNameParam">
<source>CallerMemberNameAttribute cannot be applied because there are no standard conversions from type '{0}' to type '{1}'</source>
<target state="translated">CallerMemberNameAttribute nejde použít, protože neexistuje žádný standardní převod z typu {0} na {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadCallerLineNumberParamWithoutDefaultValue">
<source>The CallerLineNumberAttribute may only be applied to parameters with default values</source>
<target state="translated">Atribut CallerLineNumberAttribute jde použít jenom pro parametry s výchozími hodnotami.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadCallerFilePathParamWithoutDefaultValue">
<source>The CallerFilePathAttribute may only be applied to parameters with default values</source>
<target state="translated">Atribut CallerFilePathAttribute jde použít jenom pro parametry s výchozími hodnotami.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadCallerMemberNameParamWithoutDefaultValue">
<source>The CallerMemberNameAttribute may only be applied to parameters with default values</source>
<target state="translated">Atribut CallerMemberNameAttribute jde použít jenom pro parametry s výchozími hodnotami.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerLineNumberParamForUnconsumedLocation">
<source>The CallerLineNumberAttribute applied to parameter '{0}' will have no effect because it applies to a member that is used in contexts that do not allow optional arguments</source>
<target state="translated">CallerLineNumberAttribute použitý u parametru {0} nebude mít žádný účinek, protože se aplikuje u člena, který se používá v kontextech nepovolujících volitelné argumenty.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerLineNumberParamForUnconsumedLocation_Title">
<source>The CallerLineNumberAttribute will have no effect because it applies to a member that is used in contexts that do not allow optional arguments</source>
<target state="translated">CallerLineNumberAttribute nebude mít žádný efekt, protože platí pro člena, který se používá v kontextech nedovolujících nepovinné argumenty.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerFilePathParamForUnconsumedLocation">
<source>The CallerFilePathAttribute applied to parameter '{0}' will have no effect because it applies to a member that is used in contexts that do not allow optional arguments</source>
<target state="translated">CallerFilePathAttribute použitý u parametru {0} nebude mít žádný vliv, protože se vztahuje na člen, který je použitý v kontextech nepovolujících volitelné argumenty.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerFilePathParamForUnconsumedLocation_Title">
<source>The CallerFilePathAttribute will have no effect because it applies to a member that is used in contexts that do not allow optional arguments</source>
<target state="translated">CallerFilePathAttribute nebude mít žádný vliv, protože se vztahuje na člen, který je použitý v kontextech nepovolujících volitelné argumenty.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerMemberNameParamForUnconsumedLocation">
<source>The CallerMemberNameAttribute applied to parameter '{0}' will have no effect because it applies to a member that is used in contexts that do not allow optional arguments</source>
<target state="translated">CallerMemberNameAttribute použitý u parametru {0} nebude mít žádný účinek, protože se aplikuje u člena, který se používá v kontextech nepovolujících volitelné argumenty.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerMemberNameParamForUnconsumedLocation_Title">
<source>The CallerMemberNameAttribute will have no effect because it applies to a member that is used in contexts that do not allow optional arguments</source>
<target state="translated">CallerMemberNameAttribute nebude mít žádný efekt, protože platí pro člena, který se používá v kontextech nedovolujících nepovinné argumenty.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoEntryPoint">
<source>Program does not contain a static 'Main' method suitable for an entry point</source>
<target state="translated">Program neobsahuje statickou metodu Main vhodnou pro vstupní bod.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ArrayInitializerIncorrectLength">
<source>An array initializer of length '{0}' is expected</source>
<target state="translated">Očekává se inicializátor pole s délkou {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ArrayInitializerExpected">
<source>A nested array initializer is expected</source>
<target state="translated">Očekává se inicializátor vnořeného pole.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IllegalVarianceSyntax">
<source>Invalid variance modifier. Only interface and delegate type parameters can be specified as variant.</source>
<target state="translated">Modifikátor odchylky je neplatný. Jako variant můžou být určeny jenom parametry typu delegát nebo rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnexpectedAliasedName">
<source>Unexpected use of an aliased name</source>
<target state="translated">Neočekávané použití názvu v aliasu</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnexpectedGenericName">
<source>Unexpected use of a generic name</source>
<target state="translated">Neočekávané použití obecného názvu</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnexpectedUnboundGenericName">
<source>Unexpected use of an unbound generic name</source>
<target state="translated">Neočekávané použití odvázaného obecného názvu</target>
<note />
</trans-unit>
<trans-unit id="ERR_GlobalStatement">
<source>Expressions and statements can only occur in a method body</source>
<target state="translated">Výrazy a příkazy se můžou vyskytnout jenom v těle metody.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NamedArgumentForArray">
<source>An array access may not have a named argument specifier</source>
<target state="translated">Přístup k poli nemůže mít specifikátor pojmenovaného argumentu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NotYetImplementedInRoslyn">
<source>This language feature ('{0}') is not yet implemented.</source>
<target state="translated">Tato jazyková funkce ({0}) zatím není implementovaná.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DefaultValueNotAllowed">
<source>Default values are not valid in this context.</source>
<target state="translated">Výchozí hodnoty nejsou v tomto kontextu platné.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantOpenIcon">
<source>Error opening icon file {0} -- {1}</source>
<target state="translated">Chyba při otevírání souboru ikony {0} -- {1}</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantOpenWin32Manifest">
<source>Error opening Win32 manifest file {0} -- {1}</source>
<target state="translated">Chyba při otevírání souboru manifestu Win32 {0} -- {1}</target>
<note />
</trans-unit>
<trans-unit id="ERR_ErrorBuildingWin32Resources">
<source>Error building Win32 resources -- {0}</source>
<target state="translated">Chyba při sestavování prostředků Win32 -- {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_DefaultValueBeforeRequiredValue">
<source>Optional parameters must appear after all required parameters</source>
<target state="translated">Volitelné parametry musí následovat po všech povinných parametrech</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExplicitImplCollisionOnRefOut">
<source>Cannot inherit interface '{0}' with the specified type parameters because it causes method '{1}' to contain overloads which differ only on ref and out</source>
<target state="translated">Nejde dědit rozhraní {0} se zadanými parametry typu, protože to způsobuje, že metoda {1} obsahuje víc přetížení, která se liší jen deklaracemi ref a out.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PartialWrongTypeParamsVariance">
<source>Partial declarations of '{0}' must have the same type parameter names and variance modifiers in the same order</source>
<target state="translated">Částečné deklarace {0} musí obsahovat názvy parametrů stejného typu a modifikátory odchylek ve stejném pořadí.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnexpectedVariance">
<source>Invalid variance: The type parameter '{1}' must be {3} valid on '{0}'. '{1}' is {2}.</source>
<target state="translated">Neplatná odchylka: Parametr typu {1} musí být {3} platný v {0}. {1} je {2}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DeriveFromDynamic">
<source>'{0}': cannot derive from the dynamic type</source>
<target state="translated">{0}: Nejde odvozovat z dynamického typu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DeriveFromConstructedDynamic">
<source>'{0}': cannot implement a dynamic interface '{1}'</source>
<target state="translated">{0}: Nemůže implementovat dynamické rozhraní {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DynamicTypeAsBound">
<source>Constraint cannot be the dynamic type</source>
<target state="translated">Omezení nemůže být dynamický typ.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConstructedDynamicTypeAsBound">
<source>Constraint cannot be a dynamic type '{0}'</source>
<target state="translated">Omezení nemůže být dynamický typ {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DynamicRequiredTypesMissing">
<source>One or more types required to compile a dynamic expression cannot be found. Are you missing a reference?</source>
<target state="translated">Jeden nebo více typů požadovaných pro kompilaci dynamického výrazu nejde najít. Nechybí odkaz?</target>
<note />
</trans-unit>
<trans-unit id="ERR_MetadataNameTooLong">
<source>Name '{0}' exceeds the maximum length allowed in metadata.</source>
<target state="translated">Název {0} překračuje maximální délku povolenou v metadatech.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AttributesNotAllowed">
<source>Attributes are not valid in this context.</source>
<target state="translated">Atributy nejsou v tomto kontextu platné.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExternAliasNotAllowed">
<source>'extern alias' is not valid in this context</source>
<target state="translated">'Alias extern není v tomto kontextu platný.</target>
<note />
</trans-unit>
<trans-unit id="WRN_IsDynamicIsConfusing">
<source>Using '{0}' to test compatibility with '{1}' is essentially identical to testing compatibility with '{2}' and will succeed for all non-null values</source>
<target state="translated">Použití operátoru {0} pro testování kompatibility s typem {1} je v podstatě totožné s testováním kompatibility s typem {2} a bude úspěšné pro všechny hodnoty, které nejsou null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_IsDynamicIsConfusing_Title">
<source>Using 'is' to test compatibility with 'dynamic' is essentially identical to testing compatibility with 'Object'</source>
<target state="translated">Použití operátoru is pro testování kompatibility s typem dynamic je v podstatě totožné s testováním kompatibility s typem Object.</target>
<note />
</trans-unit>
<trans-unit id="ERR_YieldNotAllowedInScript">
<source>Cannot use 'yield' in top-level script code</source>
<target state="translated">Příkaz yield se nedá použít v kódu skriptu nejvyšší úrovně.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NamespaceNotAllowedInScript">
<source>Cannot declare namespace in script code</source>
<target state="translated">Obor názvů se nedá deklarovat v kódu skriptu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_GlobalAttributesNotAllowed">
<source>Assembly and module attributes are not allowed in this context</source>
<target state="translated">Atributy sestavení a modulů nejsou v tomto kontextu povolené.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidDelegateType">
<source>Delegate '{0}' has no invoke method or an invoke method with a return type or parameter types that are not supported.</source>
<target state="translated">Delegát {0} nemá žádnou metodu invoke nebo má jeho metoda invoke nepodporovaný návratový typ nebo typy parametrů.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MainIgnored">
<source>The entry point of the program is global code; ignoring '{0}' entry point.</source>
<target state="translated">Vstupním bodem programu je globální kód. Vstupní bod {0} se ignoruje.</target>
<note />
</trans-unit>
<trans-unit id="WRN_MainIgnored_Title">
<source>The entry point of the program is global code; ignoring entry point</source>
<target state="translated">Vstupním bodem programu je globální kód. Vstupní bod se ignoruje</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadVisEventType">
<source>Inconsistent accessibility: event type '{1}' is less accessible than event '{0}'</source>
<target state="translated">Nekonzistentní dostupnost: Typ události {1} je míň dostupný než událost {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NamedArgumentSpecificationBeforeFixedArgument">
<source>Named argument specifications must appear after all fixed arguments have been specified. Please use language version {0} or greater to allow non-trailing named arguments.</source>
<target state="translated">Specifikace pojmenovaných argumentů musí následovat po specifikaci všech pevných argumentů. Pokud chcete povolit pojmenované argumenty, které nejsou na konci, použijte prosím jazyk verze {0} nebo vyšší.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NamedArgumentSpecificationBeforeFixedArgumentInDynamicInvocation">
<source>Named argument specifications must appear after all fixed arguments have been specified in a dynamic invocation.</source>
<target state="translated">Specifikace pojmenovaných argumentů musí následovat po specifikaci všech pevných argumentů v dynamickém vyvolání.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadNamedArgument">
<source>The best overload for '{0}' does not have a parameter named '{1}'</source>
<target state="translated">Nejlepší přetížení pro {0} neobsahuje parametr s názvem {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadNamedArgumentForDelegateInvoke">
<source>The delegate '{0}' does not have a parameter named '{1}'</source>
<target state="translated">Delegát {0} neobsahuje parametr s názvem {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateNamedArgument">
<source>Named argument '{0}' cannot be specified multiple times</source>
<target state="translated">Pojmenovaný argument {0} nejde zadat víckrát.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NamedArgumentUsedInPositional">
<source>Named argument '{0}' specifies a parameter for which a positional argument has already been given</source>
<target state="translated">Pojmenovaný argument {0} určuje parametr, pro který už byl poskytnut poziční argument.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadNonTrailingNamedArgument">
<source>Named argument '{0}' is used out-of-position but is followed by an unnamed argument</source>
<target state="translated">Pojmenovaný argument {0} se používá mimo pozici, je ale následovaný nepojmenovaným argumentem.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DefaultValueUsedWithAttributes">
<source>Cannot specify default parameter value in conjunction with DefaultParameterAttribute or OptionalAttribute</source>
<target state="translated">Nejde zadat výchozí hodnotu parametru v kombinaci s atributy DefaultParameterAttribute nebo OptionalAttribute.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DefaultValueMustBeConstant">
<source>Default parameter value for '{0}' must be a compile-time constant</source>
<target state="translated">Výchozí hodnota parametru pro {0} musí být konstanta definovaná při kompilaci.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefOutDefaultValue">
<source>A ref or out parameter cannot have a default value</source>
<target state="translated">Parametr Ref nebo Uut nemůže mít výchozí hodnotu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DefaultValueForExtensionParameter">
<source>Cannot specify a default value for the 'this' parameter</source>
<target state="translated">Nejde zadat výchozí hodnotu pro parametr this.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DefaultValueForParamsParameter">
<source>Cannot specify a default value for a parameter array</source>
<target state="translated">Nejde zadat výchozí hodnotu pro pole parametrů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoConversionForDefaultParam">
<source>A value of type '{0}' cannot be used as a default parameter because there are no standard conversions to type '{1}'</source>
<target state="translated">Hodnotu typu {0} nejde použít jako výchozí parametr, protože neexistují žádné standardní převody na typ {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoConversionForNubDefaultParam">
<source>A value of type '{0}' cannot be used as default parameter for nullable parameter '{1}' because '{0}' is not a simple type</source>
<target state="translated">Hodnotu typu {0} nejde použít jako výchozí hodnotu parametru {1} s možnou hodnotou null, protože {0} není jednoduchý typ.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NotNullRefDefaultParameter">
<source>'{0}' is of type '{1}'. A default parameter value of a reference type other than string can only be initialized with null</source>
<target state="translated">{0} je typu {1}. Výchozí hodnotu parametru s jiným než řetězcovým typem odkazu jde inicializovat jenom hodnotou null.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DefaultValueForUnconsumedLocation">
<source>The default value specified for parameter '{0}' will have no effect because it applies to a member that is used in contexts that do not allow optional arguments</source>
<target state="translated">Výchozí hodnota zadaná pro parametr {0} nebude mít žádný efekt, protože platí pro člen, který se používá v kontextech nedovolujících nepovinné argumenty.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DefaultValueForUnconsumedLocation_Title">
<source>The default value specified will have no effect because it applies to a member that is used in contexts that do not allow optional arguments</source>
<target state="translated">Určená výchozí hodnota nebude mít žádný efekt, protože platí pro člena, který se používá v kontextech nedovolujících nepovinné argumenty.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PublicKeyFileFailure">
<source>Error signing output with public key from file '{0}' -- {1}</source>
<target state="translated">Chyba při podepisování výstupu pomocí veřejného klíče ze souboru {0} -- {1}</target>
<note />
</trans-unit>
<trans-unit id="ERR_PublicKeyContainerFailure">
<source>Error signing output with public key from container '{0}' -- {1}</source>
<target state="translated">Chyba při podepisování výstupu pomocí veřejného klíče z kontejneru {0} -- {1}</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadDynamicTypeof">
<source>The typeof operator cannot be used on the dynamic type</source>
<target state="translated">Operátor typeof nejde použít na tento dynamický typ.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsDynamicOperation">
<source>An expression tree may not contain a dynamic operation</source>
<target state="translated">Strom výrazu nemůže obsahovat dynamickou operaci.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAsyncExpressionTree">
<source>Async lambda expressions cannot be converted to expression trees</source>
<target state="translated">Asynchronní výrazy lambda nejde převést na stromy výrazů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DynamicAttributeMissing">
<source>Cannot define a class or member that utilizes 'dynamic' because the compiler required type '{0}' cannot be found. Are you missing a reference?</source>
<target state="translated">Nejde definovat třídu nebo člen, který používá typ dynamic, protože se nedá najít typ {0} požadovaný kompilátorem. Nechybí odkaz?</target>
<note />
</trans-unit>
<trans-unit id="ERR_CannotPassNullForFriendAssembly">
<source>Cannot pass null for friend assembly name</source>
<target state="translated">Jako název sestavení typu Friend nejde předat hodnotu Null.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SignButNoPrivateKey">
<source>Key file '{0}' is missing the private key needed for signing</source>
<target state="translated">V souboru klíče {0} chybí privátní klíč potřebný k podepsání.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PublicSignButNoKey">
<source>Public signing was specified and requires a public key, but no public key was specified.</source>
<target state="translated">Byl určený veřejný podpis, který vyžaduje veřejný klíč, nebyl ale zadaný žádný veřejný klíč.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PublicSignNetModule">
<source>Public signing is not supported for netmodules.</source>
<target state="translated">Veřejné podepisování netmodulů se nepodporuje.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DelaySignButNoKey">
<source>Delay signing was specified and requires a public key, but no public key was specified</source>
<target state="translated">Je určené zpožděné podepsání, které vyžaduje veřejný klíč, ale není zadaný žádný veřejný klíč.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DelaySignButNoKey_Title">
<source>Delay signing was specified and requires a public key, but no public key was specified</source>
<target state="translated">Je určené zpožděné podepsání, které vyžaduje veřejný klíč, ale není zadaný žádný veřejný klíč.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidVersionFormat">
<source>The specified version string does not conform to the required format - major[.minor[.build[.revision]]]</source>
<target state="translated">Zadaný řetězec verze není v souladu s požadovaným formátem – hlavní_verze[.dílčí_verze[.build[.revize]]].</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidVersionFormatDeterministic">
<source>The specified version string contains wildcards, which are not compatible with determinism. Either remove wildcards from the version string, or disable determinism for this compilation</source>
<target state="translated">Zadaný řetězec verze obsahuje zástupné znaky, které nejsou kompatibilní s determinismem. Odeberte zástupné znaky z řetězce verze nebo pro tuto kompilaci zakažte determinismus.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidVersionFormat2">
<source>The specified version string does not conform to the required format - major.minor.build.revision (without wildcards)</source>
<target state="translated">Zadaný řetězec verze není v souladu s požadovaným formátem – hlavní_verze.dílčí_verze.build.revize (bez zástupných znaků).</target>
<note />
</trans-unit>
<trans-unit id="WRN_InvalidVersionFormat">
<source>The specified version string does not conform to the recommended format - major.minor.build.revision</source>
<target state="translated">Zadaný řetězec verze není v souladu s doporučeným formátem – hlavní_verze.dílčí_verze.build.revize.</target>
<note />
</trans-unit>
<trans-unit id="WRN_InvalidVersionFormat_Title">
<source>The specified version string does not conform to the recommended format - major.minor.build.revision</source>
<target state="translated">Zadaný řetězec verze není v souladu s doporučeným formátem – hlavní_verze.dílčí_verze.build.revize.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidAssemblyCultureForExe">
<source>Executables cannot be satellite assemblies; culture should always be empty</source>
<target state="translated">Spustitelné soubory nemůžou být satelitními sestaveními; jazyková verze by vždy měla být prázdná.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoCorrespondingArgument">
<source>There is no argument given that corresponds to the required formal parameter '{0}' of '{1}'</source>
<target state="translated">Není dán žádný argument, který by odpovídal požadovanému formálnímu parametru {0} v {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnimplementedCommandLineSwitch">
<source>The command line switch '{0}' is not yet implemented and was ignored.</source>
<target state="translated">Přepínač příkazového řádku {0} ještě není implementovaný, a tak se ignoroval.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnimplementedCommandLineSwitch_Title">
<source>Command line switch is not yet implemented</source>
<target state="translated">Přepínač příkazového řádku zatím není implementovaný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ModuleEmitFailure">
<source>Failed to emit module '{0}': {1}</source>
<target state="translated">Nepovedlo se vygenerovat modul {0}: {1}</target>
<note />
</trans-unit>
<trans-unit id="ERR_FixedLocalInLambda">
<source>Cannot use fixed local '{0}' inside an anonymous method, lambda expression, or query expression</source>
<target state="translated">Pevnou lokální proměnnou {0} nejde použít v anonymní metodě, lambda výrazu nebo výrazu dotazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsNamedArgument">
<source>An expression tree may not contain a named argument specification</source>
<target state="translated">Strom výrazu nemůže obsahovat specifikaci pojmenovaného argumentu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsOptionalArgument">
<source>An expression tree may not contain a call or invocation that uses optional arguments</source>
<target state="translated">Strom výrazu nemůže obsahovat volání, které používá nepovinné argumenty.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsIndexedProperty">
<source>An expression tree may not contain an indexed property</source>
<target state="translated">Strom výrazu nemůže obsahovat indexovanou vlastnost.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IndexedPropertyRequiresParams">
<source>Indexed property '{0}' has non-optional arguments which must be provided</source>
<target state="translated">Indexovaná vlastnost {0} má argumenty, které nejsou nepovinné a je třeba je zadat.</target>
<note />
</trans-unit>
<trans-unit id="ERR_IndexedPropertyMustHaveAllOptionalParams">
<source>Indexed property '{0}' must have all arguments optional</source>
<target state="translated">Indexovaná vlastnost {0} musí mít všechny argumenty volitelné.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SpecialByRefInLambda">
<source>Instance of type '{0}' cannot be used inside a nested function, query expression, iterator block or async method</source>
<target state="translated">Instance typu {0} nelze použít uvnitř vnořené funkce, výrazu dotazu, bloku iterátoru nebo asynchronní metody.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SecurityAttributeMissingAction">
<source>First argument to a security attribute must be a valid SecurityAction</source>
<target state="translated">První argument atributu zabezpečení musí být platný SecurityAction.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SecurityAttributeInvalidAction">
<source>Security attribute '{0}' has an invalid SecurityAction value '{1}'</source>
<target state="translated">Atribut zabezpečení {0} má neplatnou hodnotu SecurityAction {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SecurityAttributeInvalidActionAssembly">
<source>SecurityAction value '{0}' is invalid for security attributes applied to an assembly</source>
<target state="translated">Hodnota SecurityAction {0} není platná pro atributy zabezpečení použité u sestavení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SecurityAttributeInvalidActionTypeOrMethod">
<source>SecurityAction value '{0}' is invalid for security attributes applied to a type or a method</source>
<target state="translated">Hodnota SecurityAction {0} není platná pro atributy zabezpečení použité u typu nebo metody.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PrincipalPermissionInvalidAction">
<source>SecurityAction value '{0}' is invalid for PrincipalPermission attribute</source>
<target state="translated">Hodnota SecurityAction {0} není platná pro atribut PrincipalPermission.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FeatureNotValidInExpressionTree">
<source>An expression tree may not contain '{0}'</source>
<target state="translated">Strom výrazu nesmí obsahovat {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PermissionSetAttributeInvalidFile">
<source>Unable to resolve file path '{0}' specified for the named argument '{1}' for PermissionSet attribute</source>
<target state="translated">Nejde vyřešit cestu k souboru {0} zadanému pro pojmenovaný argument {1} pro atribut PermissionSet.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PermissionSetAttributeFileReadError">
<source>Error reading file '{0}' specified for the named argument '{1}' for PermissionSet attribute: '{2}'</source>
<target state="translated">Chyba při čtení souboru {0} zadaného pro pojmenovaný argument {1} pro atribut PermissionSet: {2}</target>
<note />
</trans-unit>
<trans-unit id="ERR_GlobalSingleTypeNameNotFoundFwd">
<source>The type name '{0}' could not be found in the global namespace. This type has been forwarded to assembly '{1}' Consider adding a reference to that assembly.</source>
<target state="translated">Název typu {0} se nepovedlo najít v globálním oboru názvů. Tento typ se předal do sestavení {1}. Zvažte přidání odkazu do tohoto sestavení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DottedTypeNameNotFoundInNSFwd">
<source>The type name '{0}' could not be found in the namespace '{1}'. This type has been forwarded to assembly '{2}' Consider adding a reference to that assembly.</source>
<target state="translated">Název typu {0} se nepovedlo najít v oboru názvů {1}. Tento typ se předal do sestavení {2}. Zvažte přidání odkazu do tohoto sestavení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SingleTypeNameNotFoundFwd">
<source>The type name '{0}' could not be found. This type has been forwarded to assembly '{1}'. Consider adding a reference to that assembly.</source>
<target state="translated">Název typu {0} se nenašel. Typ se předal do sestavení {1}. Zvažte přidání odkazu do tohoto sestavení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AssemblySpecifiedForLinkAndRef">
<source>Assemblies '{0}' and '{1}' refer to the same metadata but only one is a linked reference (specified using /link option); consider removing one of the references.</source>
<target state="translated">Sestavení {0} a {1} odkazují na stejná metadata, ale jenom v jednom případě je to propojený odkaz (zadaný s možností /link). Zvažte odebrání jednoho z odkazů.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DeprecatedCollectionInitAdd">
<source>The best overloaded Add method '{0}' for the collection initializer element is obsolete.</source>
<target state="translated">Optimální přetěžovaná metoda Add {0} pro element inicializátoru kolekce je zastaralá.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DeprecatedCollectionInitAdd_Title">
<source>The best overloaded Add method for the collection initializer element is obsolete</source>
<target state="translated">Optimální přetěžovaná metoda Add pro element inicializátoru kolekce je zastaralá.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DeprecatedCollectionInitAddStr">
<source>The best overloaded Add method '{0}' for the collection initializer element is obsolete. {1}</source>
<target state="translated">Optimální přetěžovaná metoda Add {0} pro element inicializátoru kolekce je zastaralá. {1}</target>
<note />
</trans-unit>
<trans-unit id="WRN_DeprecatedCollectionInitAddStr_Title">
<source>The best overloaded Add method for the collection initializer element is obsolete</source>
<target state="translated">Optimální přetěžovaná metoda Add pro element inicializátoru kolekce je zastaralá.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DeprecatedCollectionInitAddStr">
<source>The best overloaded Add method '{0}' for the collection initializer element is obsolete. {1}</source>
<target state="translated">Optimální přetěžovaná metoda Add {0} pro element inicializátoru kolekce je zastaralá. {1}</target>
<note />
</trans-unit>
<trans-unit id="ERR_SecurityAttributeInvalidTarget">
<source>Security attribute '{0}' is not valid on this declaration type. Security attributes are only valid on assembly, type and method declarations.</source>
<target state="translated">Atribut zabezpečení {0} není platný u tohoto typu deklarace. Atributy zabezpečení jsou platné jenom u deklarací sestavení, typu a metody.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadDynamicMethodArg">
<source>Cannot use an expression of type '{0}' as an argument to a dynamically dispatched operation.</source>
<target state="translated">Nejde použít výraz typu {0} jako argument pro dynamicky volanou operaci.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadDynamicMethodArgLambda">
<source>Cannot use a lambda expression as an argument to a dynamically dispatched operation without first casting it to a delegate or expression tree type.</source>
<target state="translated">Výraz lambda nejde použít jako argument dynamicky volané operace, aniž byste ho nejprve použili na typy delegát nebo strom výrazů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadDynamicMethodArgMemgrp">
<source>Cannot use a method group as an argument to a dynamically dispatched operation. Did you intend to invoke the method?</source>
<target state="translated">Skupinu metod nejde použít jako argument v dynamicky volané operaci. Měli jste v úmyslu tuto metodu vyvolat?</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoDynamicPhantomOnBase">
<source>The call to method '{0}' needs to be dynamically dispatched, but cannot be because it is part of a base access expression. Consider casting the dynamic arguments or eliminating the base access.</source>
<target state="translated">Volání do metody {0} je nutné volat dynamicky, což ale není možné, protože je součástí výrazu základního přístupu. Zvažte přetypování dynamických argumentů nebo eliminaci základního přístupu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadDynamicQuery">
<source>Query expressions over source type 'dynamic' or with a join sequence of type 'dynamic' are not allowed</source>
<target state="translated">Výrazy dotazů se zdrojovým typem dynamic nebo se spojenou sekvencí typu dynamic nejsou povolené.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoDynamicPhantomOnBaseIndexer">
<source>The indexer access needs to be dynamically dispatched, but cannot be because it is part of a base access expression. Consider casting the dynamic arguments or eliminating the base access.</source>
<target state="translated">Přístup indexeru je nutné volat dynamicky, což ale není možné, protože je součástí výrazu základního přístupu. Zvažte použití dynamických argumentů nebo eliminaci základního přístupu.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DynamicDispatchToConditionalMethod">
<source>The dynamically dispatched call to method '{0}' may fail at runtime because one or more applicable overloads are conditional methods.</source>
<target state="translated">Dynamicky volané volání do metody {0} se za běhu nemusí zdařit, protože nejmíň jedno použitelné přetížení je podmíněná metoda.</target>
<note />
</trans-unit>
<trans-unit id="WRN_DynamicDispatchToConditionalMethod_Title">
<source>Dynamically dispatched call may fail at runtime because one or more applicable overloads are conditional methods</source>
<target state="translated">Dynamicky volané volání může za běhu selhat, protože nejmíň jedno použitelné přetížení představuje podmíněnou metodu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadArgTypeDynamicExtension">
<source>'{0}' has no applicable method named '{1}' but appears to have an extension method by that name. Extension methods cannot be dynamically dispatched. Consider casting the dynamic arguments or calling the extension method without the extension method syntax.</source>
<target state="translated">{0} nemá žádnou použitelnou metodu s názvem {1}, ale zřejmě má metodu rozšíření s tímto názvem. Metody rozšíření se nedají volat dynamicky. Zvažte použití dynamických argumentů nebo volání metody rozšíření bez syntaxe metody rozšíření.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerFilePathPreferredOverCallerMemberName">
<source>The CallerMemberNameAttribute applied to parameter '{0}' will have no effect. It is overridden by the CallerFilePathAttribute.</source>
<target state="translated">CallerMemberNameAttribute použitý u parametru {0} nebude mít žádný účinek. Přepíše ho CallerFilePathAttribute.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerFilePathPreferredOverCallerMemberName_Title">
<source>The CallerMemberNameAttribute will have no effect; it is overridden by the CallerFilePathAttribute</source>
<target state="translated">CallerMemberNameAttribute nebude mít žádný efekt. Přepisuje ho CallerFilePathAttribute.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerLineNumberPreferredOverCallerMemberName">
<source>The CallerMemberNameAttribute applied to parameter '{0}' will have no effect. It is overridden by the CallerLineNumberAttribute.</source>
<target state="translated">CallerMemberNameAttribute použitý u parametru {0} nebude mít žádný účinek. Přepíše ho CallerLineNumberAttribute.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerLineNumberPreferredOverCallerMemberName_Title">
<source>The CallerMemberNameAttribute will have no effect; it is overridden by the CallerLineNumberAttribute</source>
<target state="translated">CallerMemberNameAttribute nebude mít žádný efekt. Přepisuje ho CallerLineNumberAttribute.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerLineNumberPreferredOverCallerFilePath">
<source>The CallerFilePathAttribute applied to parameter '{0}' will have no effect. It is overridden by the CallerLineNumberAttribute.</source>
<target state="translated">CallerFilePathAttribute použitý u parametru {0} nebude mít žádný účinek. Přepíše ho CallerLineNumberAttribute.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CallerLineNumberPreferredOverCallerFilePath_Title">
<source>The CallerFilePathAttribute will have no effect; it is overridden by the CallerLineNumberAttribute</source>
<target state="translated">CallerFilePathAttribute nebude mít žádný efekt. Přepisuje ho CallerLineNumberAttribute.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidDynamicCondition">
<source>Expression must be implicitly convertible to Boolean or its type '{0}' must define operator '{1}'.</source>
<target state="translated">Výraz musí být implicitně převeditelný na logickou hodnotu nebo její typ {0} musí definovat operátor {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MixingWinRTEventWithRegular">
<source>'{0}' cannot implement '{1}' because '{2}' is a Windows Runtime event and '{3}' is a regular .NET event.</source>
<target state="translated">{0} nemůže implementovat {1}, protože {2} je událost Windows Runtimu a {3} je normální událost .NET.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CA2000_DisposeObjectsBeforeLosingScope1">
<source>Call System.IDisposable.Dispose() on allocated instance of {0} before all references to it are out of scope.</source>
<target state="translated">Vyvolejte System.IDisposable.Dispose() na přidělenou instanci {0} dřív, než budou všechny odkazy na ni mimo obor.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CA2000_DisposeObjectsBeforeLosingScope1_Title">
<source>Call System.IDisposable.Dispose() on allocated instance before all references to it are out of scope</source>
<target state="translated">Vyvolejte System.IDisposable.Dispose() u přidělené instance, než budou všechny odkazy na ni mimo rozsah.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CA2000_DisposeObjectsBeforeLosingScope2">
<source>Allocated instance of {0} is not disposed along all exception paths. Call System.IDisposable.Dispose() before all references to it are out of scope.</source>
<target state="translated">Přidělená instance {0} se neuvolní v průběhu všech cest výjimky. Vyvolejte System.IDisposable.Dispose() dřív, než budou všechny odkazy na ni mimo obor.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CA2000_DisposeObjectsBeforeLosingScope2_Title">
<source>Allocated instance is not disposed along all exception paths</source>
<target state="translated">Přidělená instance není uvolněná v průběhu všech cest výjimek.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CA2202_DoNotDisposeObjectsMultipleTimes">
<source>Object '{0}' can be disposed more than once.</source>
<target state="translated">Objekt {0} se dá uvolnit víc než jednou.</target>
<note />
</trans-unit>
<trans-unit id="WRN_CA2202_DoNotDisposeObjectsMultipleTimes_Title">
<source>Object can be disposed more than once</source>
<target state="translated">Objekt se dá uvolnit víc než jednou.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NewCoClassOnLink">
<source>Interop type '{0}' cannot be embedded. Use the applicable interface instead.</source>
<target state="translated">Typ spolupráce {0} nemůže být vložený. Místo něho použijte použitelné rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoPIANestedType">
<source>Type '{0}' cannot be embedded because it is a nested type. Consider setting the 'Embed Interop Types' property to false.</source>
<target state="translated">Typ {0} nemůže být vložený, protože je vnořeným typem. Zvažte nastavení vlastnosti Vložit typy spolupráce na false.</target>
<note />
</trans-unit>
<trans-unit id="ERR_GenericsUsedInNoPIAType">
<source>Type '{0}' cannot be embedded because it has a generic argument. Consider setting the 'Embed Interop Types' property to false.</source>
<target state="translated">Typ {0} nemůže být vložený, protože má obecný argument. Zvažte nastavení vlastnosti Vložit typy spolupráce na hodnotu false.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InteropStructContainsMethods">
<source>Embedded interop struct '{0}' can contain only public instance fields.</source>
<target state="translated">Vložená struktura spolupráce {0} může obsahovat jenom veřejné položky instance.</target>
<note />
</trans-unit>
<trans-unit id="ERR_WinRtEventPassedByRef">
<source>A Windows Runtime event may not be passed as an out or ref parameter.</source>
<target state="translated">Událost Windows Runtimu se nesmí předat jako parametr out nebo ref.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MissingMethodOnSourceInterface">
<source>Source interface '{0}' is missing method '{1}' which is required to embed event '{2}'.</source>
<target state="translated">Zdrojovému rozhraní {0} chybí metoda {1}, která se vyžaduje pro vložení události {2}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MissingSourceInterface">
<source>Interface '{0}' has an invalid source interface which is required to embed event '{1}'.</source>
<target state="translated">Rozhraní {0} má neplatné zdrojové rozhraní, které se vyžaduje pro vložení události {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InteropTypeMissingAttribute">
<source>Interop type '{0}' cannot be embedded because it is missing the required '{1}' attribute.</source>
<target state="translated">Typ spolupráce {0} nemůže být vložený, protože postrádá požadovaný atribut {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoPIAAssemblyMissingAttribute">
<source>Cannot embed interop types from assembly '{0}' because it is missing the '{1}' attribute.</source>
<target state="translated">Nejde vložit typy spolupráce pro sestavení {0}, protože postrádá atribut {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoPIAAssemblyMissingAttributes">
<source>Cannot embed interop types from assembly '{0}' because it is missing either the '{1}' attribute or the '{2}' attribute.</source>
<target state="translated">Nejde vložit typy spolupráce ze sestavení {0}, protože postrádá buď atribut {1}, nebo atribut {2}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InteropTypesWithSameNameAndGuid">
<source>Cannot embed interop type '{0}' found in both assembly '{1}' and '{2}'. Consider setting the 'Embed Interop Types' property to false.</source>
<target state="translated">Nejde vložit typ spolupráce {0} nalezený v sestavení {1} i {2}. Zvažte nastavení vlastnosti Vložit typy spolupráce na hodnotu false.</target>
<note />
</trans-unit>
<trans-unit id="ERR_LocalTypeNameClash">
<source>Embedding the interop type '{0}' from assembly '{1}' causes a name clash in the current assembly. Consider setting the 'Embed Interop Types' property to false.</source>
<target state="translated">Vložení typu spolupráce {0} ze sestavení {1} způsobí konflikt názvů v aktuálním sestavení. Zvažte nastavení vlastnosti Vložit typy spolupráce na false.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ReferencedAssemblyReferencesLinkedPIA">
<source>A reference was created to embedded interop assembly '{0}' because of an indirect reference to that assembly created by assembly '{1}'. Consider changing the 'Embed Interop Types' property on either assembly.</source>
<target state="translated">Vytvořil se odkaz na vložené sestavení vzájemné spolupráce {0}, protože existuje nepřímý odkaz na toto sestavení ze sestavení {1}. Zvažte změnu vlastnosti Vložit typy vzájemné spolupráce u obou sestavení.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ReferencedAssemblyReferencesLinkedPIA_Title">
<source>A reference was created to embedded interop assembly because of an indirect assembly reference</source>
<target state="translated">Byl vytvořený odkaz na vložené definiční sestavení z důvodu nepřímého odkazu na toto sestavení.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ReferencedAssemblyReferencesLinkedPIA_Description">
<source>You have added a reference to an assembly using /link (Embed Interop Types property set to True). This instructs the compiler to embed interop type information from that assembly. However, the compiler cannot embed interop type information from that assembly because another assembly that you have referenced also references that assembly using /reference (Embed Interop Types property set to False).
To embed interop type information for both assemblies, use /link for references to each assembly (set the Embed Interop Types property to True).
To remove the warning, you can use /reference instead (set the Embed Interop Types property to False). In this case, a primary interop assembly (PIA) provides interop type information.</source>
<target state="translated">Přidali jste odkaz na sestavení pomocí parametru /link (vlastnost Přibalit definované typy nastavená na True). Tím se kompilátoru dává instrukce, aby vložil informace o typech spolupráce z tohoto sestavení. Kompilátor ale nemůže tyto informace z tohoto sestavení vložit, protože jiné sestavení, na které jste nastavili odkaz, odkazuje taky na toto sestavení, a to pomocí parametru /reference (vlastnost Přibalit definované typy nastavená na False).
Pokud chcete vložit informace o typech spolupráce pro obě sestavení, odkazujte na každé z nich pomocí parametru /link (vlastnost Přibalit definované typy nastavená na True).
Pokud chcete odstranit toto varování, můžete místo toho použít /reference (vlastnost Přibalit definované typy nastavená na False). V tomto případě uvedené informace poskytne primární definiční sestavení (PIA).</target>
<note />
</trans-unit>
<trans-unit id="ERR_GenericsUsedAcrossAssemblies">
<source>Type '{0}' from assembly '{1}' cannot be used across assembly boundaries because it has a generic type argument that is an embedded interop type.</source>
<target state="translated">Typ {0} ze sestavení {1} se nedá použít přes hranice sestavení, protože má argument obecného typu, který je vloženým definičním typem.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoCanonicalView">
<source>Cannot find the interop type that matches the embedded interop type '{0}'. Are you missing an assembly reference?</source>
<target state="translated">Nejde najít typ spolupráce, který odpovídá vloženému typu {0}. Nechybí odkaz na sestavení?</target>
<note />
</trans-unit>
<trans-unit id="ERR_NetModuleNameMismatch">
<source>Module name '{0}' stored in '{1}' must match its filename.</source>
<target state="translated">Název modulu {0} uložený v {1} musí odpovídat svému názvu souboru.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadModuleName">
<source>Invalid module name: {0}</source>
<target state="translated">Neplatný název modulu: {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadCompilationOptionValue">
<source>Invalid '{0}' value: '{1}'.</source>
<target state="translated">Neplatná hodnota {0}: {1}</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAppConfigPath">
<source>AppConfigPath must be absolute.</source>
<target state="translated">AppConfigPath musí být absolutní.</target>
<note />
</trans-unit>
<trans-unit id="WRN_AssemblyAttributeFromModuleIsOverridden">
<source>Attribute '{0}' from module '{1}' will be ignored in favor of the instance appearing in source</source>
<target state="translated">Atribut {0} z modulu {1} se bude ignorovat ve prospěch instance, která se objeví ve zdroji.</target>
<note />
</trans-unit>
<trans-unit id="WRN_AssemblyAttributeFromModuleIsOverridden_Title">
<source>Attribute will be ignored in favor of the instance appearing in source</source>
<target state="translated">Atribut se bude ignorovat ve prospěch instance zobrazené ve zdroji.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CmdOptionConflictsSource">
<source>Attribute '{0}' given in a source file conflicts with option '{1}'.</source>
<target state="translated">Atribut {0} daný ve zdrojovém souboru je v konfliktu s možností {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FixedBufferTooManyDimensions">
<source>A fixed buffer may only have one dimension.</source>
<target state="translated">Pevná vyrovnávací paměť může mít jen jednu dimenzi.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ReferencedAssemblyDoesNotHaveStrongName">
<source>Referenced assembly '{0}' does not have a strong name.</source>
<target state="translated">Odkazované sestavení {0} nemá silný název.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ReferencedAssemblyDoesNotHaveStrongName_Title">
<source>Referenced assembly does not have a strong name</source>
<target state="translated">Odkazované sestavení nemá silný název.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidSignaturePublicKey">
<source>Invalid signature public key specified in AssemblySignatureKeyAttribute.</source>
<target state="translated">V atributu AssemblySignatureKeyAttribute je uvedený neplatný veřejný klíč podpisu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExportedTypeConflictsWithDeclaration">
<source>Type '{0}' exported from module '{1}' conflicts with type declared in primary module of this assembly.</source>
<target state="translated">Typ {0} exportovaný z modulu {1} je v konfliktu s typem deklarovaným v primárním modulu tohoto sestavení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExportedTypesConflict">
<source>Type '{0}' exported from module '{1}' conflicts with type '{2}' exported from module '{3}'.</source>
<target state="translated">Typ {0} exportovaný z modulu {1} je v konfliktu s typem {2} exportovaným z modulu {3}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ForwardedTypeConflictsWithDeclaration">
<source>Forwarded type '{0}' conflicts with type declared in primary module of this assembly.</source>
<target state="translated">Předaný typ {0} je v konfliktu s typem deklarovaným v primárním modulu tohoto sestavení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ForwardedTypesConflict">
<source>Type '{0}' forwarded to assembly '{1}' conflicts with type '{2}' forwarded to assembly '{3}'.</source>
<target state="translated">Typ {0} předaný do sestavení {1} je v konfliktu s typem {2} předaným do sestavení {3}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ForwardedTypeConflictsWithExportedType">
<source>Type '{0}' forwarded to assembly '{1}' conflicts with type '{2}' exported from module '{3}'.</source>
<target state="translated">Typ {0} předaný do sestavení {1} je v konfliktu s typem {2} exportovaným z modulu {3}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_RefCultureMismatch">
<source>Referenced assembly '{0}' has different culture setting of '{1}'.</source>
<target state="translated">Odkazované sestavení {0} má jiné nastavení jazykové verze {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_RefCultureMismatch_Title">
<source>Referenced assembly has different culture setting</source>
<target state="translated">Odkazované sestavení má jiné nastavení jazykové verze.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AgnosticToMachineModule">
<source>Agnostic assembly cannot have a processor specific module '{0}'.</source>
<target state="translated">Agnostické sestavení nemůže mít modul {0} určený pro konkrétní procesor.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConflictingMachineModule">
<source>Assembly and module '{0}' cannot target different processors.</source>
<target state="translated">Sestavení a modul {0} nemůžou mířit na různé procesory.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ConflictingMachineAssembly">
<source>Referenced assembly '{0}' targets a different processor.</source>
<target state="translated">Odkazované sestavení {0} míří na jiný procesor.</target>
<note />
</trans-unit>
<trans-unit id="WRN_ConflictingMachineAssembly_Title">
<source>Referenced assembly targets a different processor</source>
<target state="translated">Odkazované sestavení míří na jiný procesor.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CryptoHashFailed">
<source>Cryptographic failure while creating hashes.</source>
<target state="translated">Při vytváření čísel hash došlo ke kryptografické chybě.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MissingNetModuleReference">
<source>Reference to '{0}' netmodule missing.</source>
<target state="translated">Chybí odkaz na netmodule {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NetModuleNameMustBeUnique">
<source>Module '{0}' is already defined in this assembly. Each module must have a unique filename.</source>
<target state="translated">Modul {0} je už v tomto sestavení definovaný. Každý modul musí mít jedinečný název souboru.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantReadConfigFile">
<source>Cannot read config file '{0}' -- '{1}'</source>
<target state="translated">Nejde přečíst konfigurační soubor {0} -- {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_EncNoPIAReference">
<source>Cannot continue since the edit includes a reference to an embedded type: '{0}'.</source>
<target state="translated">Nedá se pokračovat, protože úprava obsahuje odkaz na vložený typ: {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_EncReferenceToAddedMember">
<source>Member '{0}' added during the current debug session can only be accessed from within its declaring assembly '{1}'.</source>
<target state="translated">Ke členu {0} přidanému během aktuální relace ladění se dá přistupovat jenom z jeho deklarovaného sestavení {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MutuallyExclusiveOptions">
<source>Compilation options '{0}' and '{1}' can't both be specified at the same time.</source>
<target state="translated">Možnosti kompilace {0} a {1} se nedají zadat současně.</target>
<note />
</trans-unit>
<trans-unit id="ERR_LinkedNetmoduleMetadataMustProvideFullPEImage">
<source>Linked netmodule metadata must provide a full PE image: '{0}'.</source>
<target state="translated">Propojená metadata netmodule musí poskytovat plnou image PE: {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadPrefer32OnLib">
<source>/platform:anycpu32bitpreferred can only be used with /t:exe, /t:winexe and /t:appcontainerexe</source>
<target state="translated">Možnost /platform:anycpu32bitpreferred jde použít jenom s možnostmi /t:exe, /t:winexe a /t:appcontainerexe.</target>
<note />
</trans-unit>
<trans-unit id="IDS_PathList">
<source><path list></source>
<target state="translated"><seznam cest></target>
<note />
</trans-unit>
<trans-unit id="IDS_Text">
<source><text></source>
<target state="translated"><text></target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureNullPropagatingOperator">
<source>null propagating operator</source>
<target state="translated">operátor šířící null</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureExpressionBodiedMethod">
<source>expression-bodied method</source>
<target state="translated">metoda s výrazem v těle</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureExpressionBodiedProperty">
<source>expression-bodied property</source>
<target state="translated">vlastnost s výrazem v těle</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureExpressionBodiedIndexer">
<source>expression-bodied indexer</source>
<target state="translated">indexer s výrazem v těle</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureAutoPropertyInitializer">
<source>auto property initializer</source>
<target state="translated">automatický inicializátor vlastnosti</target>
<note />
</trans-unit>
<trans-unit id="IDS_Namespace1">
<source><namespace></source>
<target state="translated"><obor názvů></target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureRefLocalsReturns">
<source>byref locals and returns</source>
<target state="translated">lokální proměnné a vrácení podle odkazu</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureReadOnlyReferences">
<source>readonly references</source>
<target state="translated">odkazy jen pro čtení</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureRefStructs">
<source>ref structs</source>
<target state="translated">struktury REF</target>
<note />
</trans-unit>
<trans-unit id="CompilationC">
<source>Compilation (C#): </source>
<target state="translated">Kompilace (C#): </target>
<note />
</trans-unit>
<trans-unit id="SyntaxNodeIsNotWithinSynt">
<source>Syntax node is not within syntax tree</source>
<target state="translated">Uzel syntaxe není ve stromu syntaxe.</target>
<note />
</trans-unit>
<trans-unit id="LocationMustBeProvided">
<source>Location must be provided in order to provide minimal type qualification.</source>
<target state="translated">Musí být zadané umístění, aby se zajistila minimální kvalifikace typu.</target>
<note />
</trans-unit>
<trans-unit id="SyntaxTreeSemanticModelMust">
<source>SyntaxTreeSemanticModel must be provided in order to provide minimal type qualification.</source>
<target state="translated">Musí být zadaný SyntaxTreeSemanticModel, aby se zajistila minimální kvalifikace typu.</target>
<note />
</trans-unit>
<trans-unit id="CantReferenceCompilationOf">
<source>Can't reference compilation of type '{0}' from {1} compilation.</source>
<target state="translated">Na kompilaci typu {0} nejde odkazovat z kompilace {1}.</target>
<note />
</trans-unit>
<trans-unit id="SyntaxTreeAlreadyPresent">
<source>Syntax tree already present</source>
<target state="translated">Strom syntaxe už je přítomný.</target>
<note />
</trans-unit>
<trans-unit id="SubmissionCanOnlyInclude">
<source>Submission can only include script code.</source>
<target state="translated">Odeslání může zahrnovat jenom kód skriptu.</target>
<note />
</trans-unit>
<trans-unit id="SubmissionCanHaveAtMostOne">
<source>Submission can have at most one syntax tree.</source>
<target state="translated">Odeslání musí mít aspoň jeden strom syntaxe.</target>
<note />
</trans-unit>
<trans-unit id="TreeMustHaveARootNodeWith">
<source>tree must have a root node with SyntaxKind.CompilationUnit</source>
<target state="translated">strom musí mít kořenový uzel s prvkem SyntaxKind.CompilationUnit</target>
<note />
</trans-unit>
<trans-unit id="TypeArgumentCannotBeNull">
<source>Type argument cannot be null</source>
<target state="translated">Argument typu nemůže být null.</target>
<note />
</trans-unit>
<trans-unit id="WrongNumberOfTypeArguments">
<source>Wrong number of type arguments</source>
<target state="translated">Chybný počet argumentů typu</target>
<note />
</trans-unit>
<trans-unit id="NameConflictForName">
<source>Name conflict for name {0}</source>
<target state="translated">Konflikt u názvu {0}</target>
<note />
</trans-unit>
<trans-unit id="LookupOptionsHasInvalidCombo">
<source>LookupOptions has an invalid combination of options</source>
<target state="translated">LookupOptions má neplatnou kombinaci možností.</target>
<note />
</trans-unit>
<trans-unit id="ItemsMustBeNonEmpty">
<source>items: must be non-empty</source>
<target state="translated">Položky: Nesmí být prázdné.</target>
<note />
</trans-unit>
<trans-unit id="UseVerbatimIdentifier">
<source>Use Microsoft.CodeAnalysis.CSharp.SyntaxFactory.Identifier or Microsoft.CodeAnalysis.CSharp.SyntaxFactory.VerbatimIdentifier to create identifier tokens.</source>
<target state="translated">Pomocí Microsoft.CodeAnalysis.CSharp.SyntaxFactory.Identifier nebo Microsoft.CodeAnalysis.CSharp.SyntaxFactory.VerbatimIdentifier můžete vytvořit tokeny identifikátorů.</target>
<note />
</trans-unit>
<trans-unit id="UseLiteralForTokens">
<source>Use Microsoft.CodeAnalysis.CSharp.SyntaxFactory.Literal to create character literal tokens.</source>
<target state="translated">Pomocí Microsoft.CodeAnalysis.CSharp.SyntaxFactory.Literal můžete vytvořit znakové literálové tokeny.</target>
<note />
</trans-unit>
<trans-unit id="UseLiteralForNumeric">
<source>Use Microsoft.CodeAnalysis.CSharp.SyntaxFactory.Literal to create numeric literal tokens.</source>
<target state="translated">Pomocí Microsoft.CodeAnalysis.CSharp.SyntaxFactory.Literal můžete vytvořit numerické literálové tokeny.</target>
<note />
</trans-unit>
<trans-unit id="ThisMethodCanOnlyBeUsedToCreateTokens">
<source>This method can only be used to create tokens - {0} is not a token kind.</source>
<target state="translated">Tato metoda se dá používat jenom k vytváření tokenů – {0} není druh tokenu.</target>
<note />
</trans-unit>
<trans-unit id="GenericParameterDefinition">
<source>Generic parameter is definition when expected to be reference {0}</source>
<target state="translated">Obecný parametr je definice, i když se očekával odkaz {0}.</target>
<note />
</trans-unit>
<trans-unit id="InvalidGetDeclarationNameMultipleDeclarators">
<source>Called GetDeclarationName for a declaration node that can possibly contain multiple variable declarators.</source>
<target state="translated">Proběhlo volání funkce GetDeclarationName kvůli uzlu deklarací, který by mohl obsahovat několik variabilních deklarátorů.</target>
<note />
</trans-unit>
<trans-unit id="TreeNotPartOfCompilation">
<source>tree not part of compilation</source>
<target state="translated">strom není součástí kompilace</target>
<note />
</trans-unit>
<trans-unit id="PositionIsNotWithinSyntax">
<source>Position is not within syntax tree with full span {0}</source>
<target state="translated">Pozice není v rámci stromu syntaxe s plným rozpětím {0}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_BadUILang">
<source>The language name '{0}' is invalid.</source>
<target state="translated">Název jazyka {0} je neplatný.</target>
<note />
</trans-unit>
<trans-unit id="WRN_BadUILang_Title">
<source>The language name is invalid</source>
<target state="translated">Název jazyka je neplatný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnsupportedTransparentIdentifierAccess">
<source>Transparent identifier member access failed for field '{0}' of '{1}'. Does the data being queried implement the query pattern?</source>
<target state="translated">U pole {0} v {1} selhal přístup pro členy s transparentním identifikátorem. Implementují dotazovaná data vzor dotazu?</target>
<note />
</trans-unit>
<trans-unit id="ERR_ParamDefaultValueDiffersFromAttribute">
<source>The parameter has multiple distinct default values.</source>
<target state="translated">Parametr má víc odlišných výchozích hodnot.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FieldHasMultipleDistinctConstantValues">
<source>The field has multiple distinct constant values.</source>
<target state="translated">Pole má víc odlišných konstantních hodnot.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnqualifiedNestedTypeInCref">
<source>Within cref attributes, nested types of generic types should be qualified.</source>
<target state="translated">V atributech cref by měly být kvalifikované vnořené typy obecných typů.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnqualifiedNestedTypeInCref_Title">
<source>Within cref attributes, nested types of generic types should be qualified</source>
<target state="translated">V atributech cref by měly být kvalifikované vnořené typy obecných typů.</target>
<note />
</trans-unit>
<trans-unit id="NotACSharpSymbol">
<source>Not a C# symbol.</source>
<target state="translated">Nepředstavuje symbol C#.</target>
<note />
</trans-unit>
<trans-unit id="HDN_UnusedUsingDirective">
<source>Unnecessary using directive.</source>
<target state="translated">Nepotřebná direktiva using</target>
<note />
</trans-unit>
<trans-unit id="HDN_UnusedExternAlias">
<source>Unused extern alias.</source>
<target state="translated">Nepoužívaný alias extern</target>
<note />
</trans-unit>
<trans-unit id="ElementsCannotBeNull">
<source>Elements cannot be null.</source>
<target state="translated">Elementy nemůžou mít hodnotu null.</target>
<note />
</trans-unit>
<trans-unit id="IDS_LIB_ENV">
<source>LIB environment variable</source>
<target state="translated">proměnná prostředí LIB</target>
<note />
</trans-unit>
<trans-unit id="IDS_LIB_OPTION">
<source>/LIB option</source>
<target state="translated">parametr /LIB</target>
<note />
</trans-unit>
<trans-unit id="IDS_REFERENCEPATH_OPTION">
<source>/REFERENCEPATH option</source>
<target state="translated">Možnost /REFERENCEPATH</target>
<note />
</trans-unit>
<trans-unit id="IDS_DirectoryDoesNotExist">
<source>directory does not exist</source>
<target state="translated">adresář neexistuje</target>
<note />
</trans-unit>
<trans-unit id="IDS_DirectoryHasInvalidPath">
<source>path is too long or invalid</source>
<target state="translated">cesta je moc dlouhá nebo neplatná.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NoRuntimeMetadataVersion">
<source>No value for RuntimeMetadataVersion found. No assembly containing System.Object was found nor was a value for RuntimeMetadataVersion specified through options.</source>
<target state="translated">Nenašla se žádná hodnota RuntimeMetadataVersion, žádné sestavení obsahující System.Object ani nebyla v možnostech zadaná hodnota pro RuntimeMetadataVersion.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NoRuntimeMetadataVersion_Title">
<source>No value for RuntimeMetadataVersion found</source>
<target state="translated">Nenašla se žádná hodnota pro RuntimeMetadataVersion.</target>
<note />
</trans-unit>
<trans-unit id="WrongSemanticModelType">
<source>Expected a {0} SemanticModel.</source>
<target state="translated">Očekával se SemanticModel {0}.</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureLambda">
<source>lambda expression</source>
<target state="translated">výraz lambda</target>
<note />
</trans-unit>
<trans-unit id="ERR_FeatureNotAvailableInVersion1">
<source>Feature '{0}' is not available in C# 1. Please use language version {1} or greater.</source>
<target state="translated">Funkce {0} není dostupná v jazyce C# 1. Použijte prosím jazyk verze {1} nebo vyšší.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FeatureNotAvailableInVersion2">
<source>Feature '{0}' is not available in C# 2. Please use language version {1} or greater.</source>
<target state="translated">Funkce {0} není dostupná v jazyce C# 2. Použijte prosím jazyk verze {1} nebo vyšší.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FeatureNotAvailableInVersion3">
<source>Feature '{0}' is not available in C# 3. Please use language version {1} or greater.</source>
<target state="translated">Funkce {0} není dostupná v jazyce C# 3. Použijte prosím jazyk verze {1} nebo vyšší.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FeatureNotAvailableInVersion4">
<source>Feature '{0}' is not available in C# 4. Please use language version {1} or greater.</source>
<target state="translated">Funkce {0} není dostupná v jazyce C# 4. Použijte prosím jazyk verze {1} nebo vyšší.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FeatureNotAvailableInVersion5">
<source>Feature '{0}' is not available in C# 5. Please use language version {1} or greater.</source>
<target state="translated">Funkce {0} není dostupná v jazyce C# 5. Použijte prosím jazyk verze {1} nebo vyšší.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FeatureNotAvailableInVersion6">
<source>Feature '{0}' is not available in C# 6. Please use language version {1} or greater.</source>
<target state="translated">Funkce {0} není dostupná v jazyce C# 6. Použijte prosím jazyk verze {1} nebo vyšší.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FeatureNotAvailableInVersion7">
<source>Feature '{0}' is not available in C# 7.0. Please use language version {1} or greater.</source>
<target state="translated">Funkce {0} není dostupná v jazyce C# 7.0. Použijte prosím jazyk verze {1} nebo vyšší.</target>
<note />
</trans-unit>
<trans-unit id="IDS_VersionExperimental">
<source>'experimental'</source>
<target state="translated">'"experimentální"</target>
<note />
</trans-unit>
<trans-unit id="PositionNotWithinTree">
<source>Position must be within span of the syntax tree.</source>
<target state="translated">Pozice musí být v rozpětí stromu syntaxe.</target>
<note />
</trans-unit>
<trans-unit id="SpeculatedSyntaxNodeCannotBelongToCurrentCompilation">
<source>Syntax node to be speculated cannot belong to a syntax tree from the current compilation.</source>
<target state="translated">Uzel syntaxe určený ke spekulaci nemůže patřit do stromu syntaxe z aktuální kompilace.</target>
<note />
</trans-unit>
<trans-unit id="ChainingSpeculativeModelIsNotSupported">
<source>Chaining speculative semantic model is not supported. You should create a speculative model from the non-speculative ParentModel.</source>
<target state="translated">Zřetězení spekulativního sémantického modelu se nepodporuje. Měli byste vytvořit spekulativní model z nespekulativního modelu ParentModel.</target>
<note />
</trans-unit>
<trans-unit id="IDS_ToolName">
<source>Microsoft (R) Visual C# Compiler</source>
<target state="translated">Kompilátor Microsoft (R) Visual C#</target>
<note />
</trans-unit>
<trans-unit id="IDS_LogoLine1">
<source>{0} version {1}</source>
<target state="translated">{0} verze {1}</target>
<note />
</trans-unit>
<trans-unit id="IDS_LogoLine2">
<source>Copyright (C) Microsoft Corporation. All rights reserved.</source>
<target state="translated">Copyright (C) Microsoft Corporation. Všechna práva vyhrazena.</target>
<note />
</trans-unit>
<trans-unit id="IDS_LangVersions">
<source>Supported language versions:</source>
<target state="translated">Podporované jazykové verze:</target>
<note />
</trans-unit>
<trans-unit id="ERR_ComImportWithInitializers">
<source>'{0}': a class with the ComImport attribute cannot specify field initializers.</source>
<target state="translated">{0}: Třída s atributem ComImport nemůže určovat inicializátory polí.</target>
<note />
</trans-unit>
<trans-unit id="WRN_PdbLocalNameTooLong">
<source>Local name '{0}' is too long for PDB. Consider shortening or compiling without /debug.</source>
<target state="translated">Místní název {0} je moc dlouhý pro PDB. Zvažte jeho zkrácení nebo kompilaci bez /debug.</target>
<note />
</trans-unit>
<trans-unit id="WRN_PdbLocalNameTooLong_Title">
<source>Local name is too long for PDB</source>
<target state="translated">Lokální název je moc dlouhý pro PDB.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RetNoObjectRequiredLambda">
<source>Anonymous function converted to a void returning delegate cannot return a value</source>
<target state="translated">Anonymní funkce převedená na void, která vrací delegáta, nemůže vracet hodnotu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TaskRetNoObjectRequiredLambda">
<source>Async lambda expression converted to a 'Task' returning delegate cannot return a value. Did you intend to return 'Task<T>'?</source>
<target state="translated">Asynchronní lambda výraz převedený na Task a vracející delegáta nemůže vrátit hodnotu. Měli jste v úmyslu vrátit Task<T>?</target>
<note />
</trans-unit>
<trans-unit id="WRN_AnalyzerCannotBeCreated">
<source>An instance of analyzer {0} cannot be created from {1} : {2}.</source>
<target state="translated">Instance analyzátoru {0} nejde vytvořit z {1} : {2}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_AnalyzerCannotBeCreated_Title">
<source>An analyzer instance cannot be created</source>
<target state="translated">Nedá se vytvořit instance analyzátoru.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NoAnalyzerInAssembly">
<source>The assembly {0} does not contain any analyzers.</source>
<target state="translated">Sestavení {0} neobsahuje žádné analyzátory.</target>
<note />
</trans-unit>
<trans-unit id="WRN_NoAnalyzerInAssembly_Title">
<source>Assembly does not contain any analyzers</source>
<target state="translated">Sestavení neobsahuje žádné analyzátory.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnableToLoadAnalyzer">
<source>Unable to load Analyzer assembly {0} : {1}</source>
<target state="translated">Nejde načíst sestavení analyzátoru {0} : {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnableToLoadAnalyzer_Title">
<source>Unable to load Analyzer assembly</source>
<target state="translated">Nejde načíst sestavení analyzátoru.</target>
<note />
</trans-unit>
<trans-unit id="INF_UnableToLoadSomeTypesInAnalyzer">
<source>Skipping some types in analyzer assembly {0} due to a ReflectionTypeLoadException : {1}.</source>
<target state="translated">Přeskočí se některé typy v sestavení analyzátoru {0} kvůli výjimce ReflectionTypeLoadException: {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantReadRulesetFile">
<source>Error reading ruleset file {0} - {1}</source>
<target state="translated">Chyba při čtení souboru sady pravidel {0} - {1}</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadPdbData">
<source>Error reading debug information for '{0}'</source>
<target state="translated">Chyba při čtení informací ladění pro {0}</target>
<note />
</trans-unit>
<trans-unit id="IDS_OperationCausedStackOverflow">
<source>Operation caused a stack overflow.</source>
<target state="translated">Operace způsobila přetečení zásobníku.</target>
<note />
</trans-unit>
<trans-unit id="WRN_IdentifierOrNumericLiteralExpected">
<source>Expected identifier or numeric literal.</source>
<target state="translated">Očekával se identifikátor nebo číselný literál.</target>
<note />
</trans-unit>
<trans-unit id="WRN_IdentifierOrNumericLiteralExpected_Title">
<source>Expected identifier or numeric literal</source>
<target state="translated">Očekával se identifikátor nebo číselný literál.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InitializerOnNonAutoProperty">
<source>Only auto-implemented properties can have initializers.</source>
<target state="translated">Jenom automaticky implementované vlastnosti můžou mít inicializátory.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AutoPropertyMustHaveGetAccessor">
<source>Auto-implemented properties must have get accessors.</source>
<target state="translated">Automaticky implementované vlastnosti musí mít přistupující objekty get.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AutoPropertyMustOverrideSet">
<source>Auto-implemented properties must override all accessors of the overridden property.</source>
<target state="translated">Automaticky implementované vlastnosti musí přepsat všechny přistupující objekty přepsané vlastnosti.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InitializerInStructWithoutExplicitConstructor">
<source>Structs without explicit constructors cannot contain members with initializers.</source>
<target state="translated">Struktury bez explicitních konstruktorů nemůžou obsahovat členy s inicializátory.</target>
<note />
</trans-unit>
<trans-unit id="ERR_EncodinglessSyntaxTree">
<source>Cannot emit debug information for a source text without encoding.</source>
<target state="translated">Nejde vygenerovat ladicí informace pro zdrojový text bez kódování.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BlockBodyAndExpressionBody">
<source>Block bodies and expression bodies cannot both be provided.</source>
<target state="translated">Nejde zadat těla bloků i těla výrazů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SwitchFallOut">
<source>Control cannot fall out of switch from final case label ('{0}')</source>
<target state="translated">Řízení nemůže opustit příkaz switch z posledního příkazu case ('{0}')</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnexpectedBoundGenericName">
<source>Type arguments are not allowed in the nameof operator.</source>
<target state="translated">Argumenty typů nejsou v operátoru nameof povoleny.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NullPropagatingOpInExpressionTree">
<source>An expression tree lambda may not contain a null propagating operator.</source>
<target state="translated">Strom výrazu lambda nesmí obsahovat operátor šířící null.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DictionaryInitializerInExpressionTree">
<source>An expression tree lambda may not contain a dictionary initializer.</source>
<target state="translated">Strom výrazu lambda nesmí obsahovat inicializátor slovníku.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExtensionCollectionElementInitializerInExpressionTree">
<source>An extension Add method is not supported for a collection initializer in an expression lambda.</source>
<target state="translated">Rozšiřující metoda Add není pro inicializátor kolekce v lambda výrazu podporovaná.</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureNameof">
<source>nameof operator</source>
<target state="translated">operátor nameof</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureDictionaryInitializer">
<source>dictionary initializer</source>
<target state="translated">inicializátor slovníku</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnclosedExpressionHole">
<source>Missing close delimiter '}' for interpolated expression started with '{'.</source>
<target state="translated">Chybí uzavírací oddělovač } pro interpolovaný výraz začínající na {.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SingleLineCommentInExpressionHole">
<source>A single-line comment may not be used in an interpolated string.</source>
<target state="translated">V interpolovaném řetězci se nemůže používat jednořádkový komentář.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InsufficientStack">
<source>An expression is too long or complex to compile</source>
<target state="translated">Výraz je pro zkompilování moc dlouhý nebo složitý.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionHasNoName">
<source>Expression does not have a name.</source>
<target state="translated">Výraz není pojmenovaný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SubexpressionNotInNameof">
<source>Sub-expression cannot be used in an argument to nameof.</source>
<target state="translated">Dílčí výraz se jako argument nameof nedá použít.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AliasQualifiedNameNotAnExpression">
<source>An alias-qualified name is not an expression.</source>
<target state="translated">Název kvalifikovaný pomocí aliasu není výraz.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NameofMethodGroupWithTypeParameters">
<source>Type parameters are not allowed on a method group as an argument to 'nameof'.</source>
<target state="translated">Parametry typu se u skupiny metod nedají použít jako argument nameof.</target>
<note />
</trans-unit>
<trans-unit id="NoNoneSearchCriteria">
<source>SearchCriteria is expected.</source>
<target state="translated">Očekává se třída SearchCriteria.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidAssemblyCulture">
<source>Assembly culture strings may not contain embedded NUL characters.</source>
<target state="translated">Řetězce jazykové verze sestavení nesmí obsahovat vložené znaky NUL.</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureUsingStatic">
<source>using static</source>
<target state="translated">using static</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureInterpolatedStrings">
<source>interpolated strings</source>
<target state="translated">interpolované řetězce</target>
<note />
</trans-unit>
<trans-unit id="IDS_AwaitInCatchAndFinally">
<source>await in catch blocks and finally blocks</source>
<target state="translated">očekávat v blocích catch a blocích finally</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureBinaryLiteral">
<source>binary literals</source>
<target state="translated">binární literály</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureDigitSeparator">
<source>digit separators</source>
<target state="translated">oddělovače číslic</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureLocalFunctions">
<source>local functions</source>
<target state="translated">místní funkce</target>
<note />
</trans-unit>
<trans-unit id="ERR_UnescapedCurly">
<source>A '{0}' character must be escaped (by doubling) in an interpolated string.</source>
<target state="translated">Znak {0} musí být v interpolovaném řetězci uvozený (zdvojeným znakem).</target>
<note />
</trans-unit>
<trans-unit id="ERR_EscapedCurly">
<source>A '{0}' character may only be escaped by doubling '{0}{0}' in an interpolated string.</source>
<target state="translated">V interpolovaném řetězci může být znak {0} uvozený jenom zdvojeným znakem ({0}{0}).</target>
<note />
</trans-unit>
<trans-unit id="ERR_TrailingWhitespaceInFormatSpecifier">
<source>A format specifier may not contain trailing whitespace.</source>
<target state="translated">Specifikátor formátu nesmí na konci obsahovat mezeru.</target>
<note />
</trans-unit>
<trans-unit id="ERR_EmptyFormatSpecifier">
<source>Empty format specifier.</source>
<target state="translated">Prázdný specifikátor formátu</target>
<note />
</trans-unit>
<trans-unit id="ERR_ErrorInReferencedAssembly">
<source>There is an error in a referenced assembly '{0}'.</source>
<target state="translated">V odkazovaném sestavení {0} je chyba.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionOrDeclarationExpected">
<source>Expression or declaration statement expected.</source>
<target state="translated">Očekával se příkaz s výrazem nebo deklarací.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NameofExtensionMethod">
<source>Extension method groups are not allowed as an argument to 'nameof'.</source>
<target state="translated">Skupiny metod rozšíření nejsou povolené jako argument pro nameof.</target>
<note />
</trans-unit>
<trans-unit id="WRN_AlignmentMagnitude">
<source>Alignment value {0} has a magnitude greater than {1} and may result in a large formatted string.</source>
<target state="translated">Hodnota zarovnání {0} má velikost větší než {1} a jejím výsledkem může být velký formátovaný řetězec.</target>
<note />
</trans-unit>
<trans-unit id="HDN_UnusedExternAlias_Title">
<source>Unused extern alias</source>
<target state="translated">Nepoužívaný externí alias</target>
<note />
</trans-unit>
<trans-unit id="HDN_UnusedUsingDirective_Title">
<source>Unnecessary using directive</source>
<target state="translated">Nepotřebná direktiva using</target>
<note />
</trans-unit>
<trans-unit id="INF_UnableToLoadSomeTypesInAnalyzer_Title">
<source>Skip loading types in analyzer assembly that fail due to a ReflectionTypeLoadException</source>
<target state="translated">Přeskočí načtení typů v sestavení analyzátoru, které selžou kvůli výjimce ReflectionTypeLoadException.</target>
<note />
</trans-unit>
<trans-unit id="WRN_AlignmentMagnitude_Title">
<source>Alignment value has a magnitude that may result in a large formatted string</source>
<target state="translated">Hodnota zarovnání má velikost, jejímž výsledkem může být velký formátovaný řetězec.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConstantStringTooLong">
<source>Length of String constant resulting from concatenation exceeds System.Int32.MaxValue. Try splitting the string into multiple constants.</source>
<target state="translated">Délka konstanty String, která je výsledkem zřetězení, překračuje hodnotu System.Int32.MaxValue. Zkuste rozdělit řetězec na více konstant.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TupleTooFewElements">
<source>Tuple must contain at least two elements.</source>
<target state="translated">Řazená kolekce členů musí obsahovat minimálně dva elementy.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DebugEntryPointNotSourceMethodDefinition">
<source>Debug entry point must be a definition of a method declared in the current compilation.</source>
<target state="translated">Vstupní bod ladění musí být definicí metody deklarované v aktuální kompilaci.</target>
<note />
</trans-unit>
<trans-unit id="ERR_LoadDirectiveOnlyAllowedInScripts">
<source>#load is only allowed in scripts</source>
<target state="translated">#load se povoluje jenom ve skriptech</target>
<note />
</trans-unit>
<trans-unit id="ERR_PPLoadFollowsToken">
<source>Cannot use #load after first token in file</source>
<target state="translated">Za prvním tokenem v souboru se nedá použít #load.</target>
<note />
</trans-unit>
<trans-unit id="CouldNotFindFile">
<source>Could not find file.</source>
<target state="translated">Nepovedlo se najít soubor.</target>
<note>File path referenced in source (#load) could not be resolved.</note>
</trans-unit>
<trans-unit id="SyntaxTreeFromLoadNoRemoveReplace">
<source>SyntaxTree resulted from a #load directive and cannot be removed or replaced directly.</source>
<target state="translated">SyntaxTree je výsledkem direktivy #load a nedá se odebrat nebo nahradit přímo.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SourceFileReferencesNotSupported">
<source>Source file references are not supported.</source>
<target state="translated">Odkazy na zdrojový soubor se nepodporují.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidPathMap">
<source>The pathmap option was incorrectly formatted.</source>
<target state="translated">Možnost pathmap nebyla správně naformátovaná.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidReal">
<source>Invalid real literal.</source>
<target state="translated">Neplatný literál real</target>
<note />
</trans-unit>
<trans-unit id="ERR_AutoPropertyCannotBeRefReturning">
<source>Auto-implemented properties cannot return by reference</source>
<target state="translated">Automaticky implementované vlastnosti nejde vrátit pomocí odkazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefPropertyMustHaveGetAccessor">
<source>Properties which return by reference must have a get accessor</source>
<target state="translated">Vlastnosti, které vracejí pomocí odkazu, musí mít přístupový objekt get.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefPropertyCannotHaveSetAccessor">
<source>Properties which return by reference cannot have set accessors</source>
<target state="translated">Vlastnosti, které vracejí pomocí odkazu, nemůžou mít přístupové objekty set.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantChangeRefReturnOnOverride">
<source>'{0}' must match by reference return of overridden member '{1}'</source>
<target state="translated">{0} musí odpovídat návratu pomocí odkazu přepsaného člena {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MustNotHaveRefReturn">
<source>By-reference returns may only be used in methods that return by reference</source>
<target state="translated">Vrácení podle odkazu se dají používat jenom v metodách, které vracejí pomocí odkazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MustHaveRefReturn">
<source>By-value returns may only be used in methods that return by value</source>
<target state="translated">Vrácení podle hodnoty se dají používat jenom v metodách, které vracejí podle hodnoty.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturnMustHaveIdentityConversion">
<source>The return expression must be of type '{0}' because this method returns by reference</source>
<target state="translated">Návratový výraz musí být typu {0}, protože tato metoda vrací pomocí odkazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CloseUnimplementedInterfaceMemberWrongRefReturn">
<source>'{0}' does not implement interface member '{1}'. '{2}' cannot implement '{1}' because it does not have matching return by reference.</source>
<target state="translated">{0} neimplementuje člena rozhraní {1}. {2} nemůže implementovat {1}, protože nemá odpovídající návrat pomocí odkazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadIteratorReturnRef">
<source>The body of '{0}' cannot be an iterator block because '{0}' returns by reference</source>
<target state="translated">Hlavní část objektu {0} nemůže představovat blok iterátoru, protože {0} se vrací pomocí odkazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadRefReturnExpressionTree">
<source>Lambda expressions that return by reference cannot be converted to expression trees</source>
<target state="translated">Výrazy lambda, které se vrací pomocí odkazu, nejde převést na stromy výrazů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturningCallInExpressionTree">
<source>An expression tree lambda may not contain a call to a method, property, or indexer that returns by reference</source>
<target state="translated">Lambda stromu výrazů nesmí obsahovat volání do metody, vlastnosti nebo indexeru, které vrací pomocí odkazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturnLvalueExpected">
<source>An expression cannot be used in this context because it may not be passed or returned by reference</source>
<target state="translated">Výraz nelze v tomto kontextu použít, protože nesmí být předaný nebo vrácený pomocí odkazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturnNonreturnableLocal">
<source>Cannot return '{0}' by reference because it was initialized to a value that cannot be returned by reference</source>
<target state="translated">{0} nejde vrátit pomocí odkazu, protože bylo inicializované na hodnotu, která nemůže být vrácená pomocí odkazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturnNonreturnableLocal2">
<source>Cannot return by reference a member of '{0}' because it was initialized to a value that cannot be returned by reference</source>
<target state="translated">Člen pro {0} nejde vrátit pomocí odkazu, protože bylo inicializované na hodnotu, která nemůže být vrácená pomocí odkazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturnReadonlyLocal">
<source>Cannot return '{0}' by reference because it is read-only</source>
<target state="translated">{0} nejde vrátit pomocí odkazu, protože je to hodnota jen pro čtení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturnRangeVariable">
<source>Cannot return the range variable '{0}' by reference</source>
<target state="translated">Proměnnou rozsahu {0} nejde vrátit pomocí odkazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturnReadonlyLocalCause">
<source>Cannot return '{0}' by reference because it is a '{1}'</source>
<target state="translated">{0} nejde vrátit pomocí odkazu, protože je to {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturnReadonlyLocal2Cause">
<source>Cannot return fields of '{0}' by reference because it is a '{1}'</source>
<target state="translated">Pole elementu {0} nejde vrátit pomocí odkazu, protože je to {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturnReadonly">
<source>A readonly field cannot be returned by writable reference</source>
<target state="translated">Pole jen pro čtení nejde vrátit zapisovatelným odkazem.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturnReadonlyStatic">
<source>A static readonly field cannot be returned by writable reference</source>
<target state="translated">Statické pole jen pro čtení nejde vrátit zapisovatelným odkazem.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturnReadonly2">
<source>Members of readonly field '{0}' cannot be returned by writable reference</source>
<target state="translated">Členy pole jen pro čtení {0} nejde vrátit zapisovatelným odkazem.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturnReadonlyStatic2">
<source>Fields of static readonly field '{0}' cannot be returned by writable reference</source>
<target state="translated">Pole statického pole jen pro čtení {0} nejdou vrátit zapisovatelným odkazem.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturnParameter">
<source>Cannot return a parameter by reference '{0}' because it is not a ref or out parameter</source>
<target state="translated">Parametr nejde vrátit pomocí odkazu {0}, protože nejde o parametr Ref nebo Out.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturnParameter2">
<source>Cannot return by reference a member of parameter '{0}' because it is not a ref or out parameter</source>
<target state="translated">Člen parametru {0} nejde vrátit pomocí odkazu, protože nejde o parametr ref nebo out.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturnLocal">
<source>Cannot return local '{0}' by reference because it is not a ref local</source>
<target state="translated">Lokální proměnnou {0} nejde vrátit pomocí odkazu, protože nejde o lokální proměnnou podle odkazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturnLocal2">
<source>Cannot return a member of local '{0}' by reference because it is not a ref local</source>
<target state="translated">Člen lokální proměnné {0} nejde vrátit pomocí odkazu, protože nejde o lokální proměnnou podle odkazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturnStructThis">
<source>Struct members cannot return 'this' or other instance members by reference</source>
<target state="translated">Členy struktury nemůžou vracet this nebo jiné členy instance pomocí odkazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_EscapeOther">
<source>Expression cannot be used in this context because it may indirectly expose variables outside of their declaration scope</source>
<target state="translated">V tomto kontextu nejde výraz použít, protože může nepřímo vystavit proměnné mimo jejich rozsah deklarace.</target>
<note />
</trans-unit>
<trans-unit id="ERR_EscapeLocal">
<source>Cannot use local '{0}' in this context because it may expose referenced variables outside of their declaration scope</source>
<target state="translated">V tomto kontextu nejde použít místní {0}, protože může vystavit odkazované proměnné mimo jejich rozsah deklarace.</target>
<note />
</trans-unit>
<trans-unit id="ERR_EscapeCall">
<source>Cannot use a result of '{0}' in this context because it may expose variables referenced by parameter '{1}' outside of their declaration scope</source>
<target state="translated">V tomto kontextu nejde použít výsledek z {0}, protože může vystavit proměnné, na které odkazuje parametr {1}, mimo jejich rozsah deklarace.</target>
<note />
</trans-unit>
<trans-unit id="ERR_EscapeCall2">
<source>Cannot use a member of result of '{0}' in this context because it may expose variables referenced by parameter '{1}' outside of their declaration scope</source>
<target state="translated">V tomto kontextu nejde použít člena výsledku z {0}, protože může vystavit proměnné, na které odkazuje parametr {1}, mimo jejich rozsah deklarace.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CallArgMixing">
<source>This combination of arguments to '{0}' is disallowed because it may expose variables referenced by parameter '{1}' outside of their declaration scope</source>
<target state="translated">Tato kombinace argumentů pro {0} je zakázaná, protože může vystavit proměnné, na které odkazuje parametr {1}, mimo jejich rozsah deklarace.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MismatchedRefEscapeInTernary">
<source>Branches of a ref conditional operator cannot refer to variables with incompatible declaration scopes</source>
<target state="translated">Větve podmíněného operátoru REF nemůžou odkazovat na proměnné s nekompatibilními obory deklarace.</target>
<note />
</trans-unit>
<trans-unit id="ERR_EscapeStackAlloc">
<source>A result of a stackalloc expression of type '{0}' cannot be used in this context because it may be exposed outside of the containing method</source>
<target state="translated">Výsledek výrazu stackalloc typu {0} nejde v tomto kontextu použít, protože může být vystavený mimo obsahující metodu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InitializeByValueVariableWithReference">
<source>Cannot initialize a by-value variable with a reference</source>
<target state="translated">Proměnnou podle hodnoty nejde inicializovat odkazem.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InitializeByReferenceVariableWithValue">
<source>Cannot initialize a by-reference variable with a value</source>
<target state="translated">Proměnnou podle odkazu nejde inicializovat hodnotou.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefAssignmentMustHaveIdentityConversion">
<source>The expression must be of type '{0}' because it is being assigned by reference</source>
<target state="translated">Výraz musí být typu {0}, protože se přiřazuje pomocí odkazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ByReferenceVariableMustBeInitialized">
<source>A declaration of a by-reference variable must have an initializer</source>
<target state="translated">Deklarace proměnné podle odkazu musí mít inicializátor.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AnonDelegateCantUseLocal">
<source>Cannot use ref local '{0}' inside an anonymous method, lambda expression, or query expression</source>
<target state="translated">Místní hodnotu odkazu {0} nejde použít uvnitř anonymní metody, výrazu lambda nebo výrazu dotazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadIteratorLocalType">
<source>Iterators cannot have by-reference locals</source>
<target state="translated">Iterátory nemůžou mít lokální proměnné podle odkazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAsyncLocalType">
<source>Async methods cannot have by-reference locals</source>
<target state="translated">Asynchronní metody nemůžou mít lokální proměnné podle odkazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefReturningCallAndAwait">
<source>'await' cannot be used in an expression containing a call to '{0}' because it returns by reference</source>
<target state="translated">'Argument await nejde použít ve výrazu obsahujícím volání do {0}, protože se vrací pomocí odkazu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefConditionalAndAwait">
<source>'await' cannot be used in an expression containing a ref conditional operator</source>
<target state="translated">'Await nejde použít ve výrazu, který obsahuje podmíněný operátor REF.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefConditionalNeedsTwoRefs">
<source>Both conditional operator values must be ref values or neither may be a ref value</source>
<target state="translated">Obě hodnoty podmíněného operátoru musí být hodnoty ref nebo ani jedna z nich nesmí být hodnota ref.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefConditionalDifferentTypes">
<source>The expression must be of type '{0}' to match the alternative ref value</source>
<target state="translated">Výraz musí být typu {0}, aby odpovídal alternativní hodnotě ref.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsLocalFunction">
<source>An expression tree may not contain a reference to a local function</source>
<target state="translated">Strom výrazů nesmí obsahovat odkaz na místní funkci.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DynamicLocalFunctionParamsParameter">
<source>Cannot pass argument with dynamic type to params parameter '{0}' of local function '{1}'.</source>
<target state="translated">Nejde předat argument dynamického typu s parametrem params {0} místní funkce {1}.</target>
<note />
</trans-unit>
<trans-unit id="SyntaxTreeIsNotASubmission">
<source>Syntax tree should be created from a submission.</source>
<target state="translated">Strom syntaxe by se měl vytvořit z odeslání.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TooManyUserStrings">
<source>Combined length of user strings used by the program exceeds allowed limit. Try to decrease use of string literals.</source>
<target state="translated">Kombinovaná délka uživatelských řetězců, které používá tento program, překročila povolený limit. Zkuste omezit použití řetězcových literálů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PatternNullableType">
<source>It is not legal to use nullable type '{0}?' in a pattern; use the underlying type '{0}' instead.</source>
<target state="translated">Ve vzoru se nepovoluje použití typu s možnou hodnotou null {0}?. Místo toho použijte základní typ {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PeWritingFailure">
<source>An error occurred while writing the output file: {0}.</source>
<target state="translated">Při zápisu výstupního souboru došlo k chybě: {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TupleDuplicateElementName">
<source>Tuple element names must be unique.</source>
<target state="translated">Názvy elementů řazené kolekce členů musí být jedinečné.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TupleReservedElementName">
<source>Tuple element name '{0}' is only allowed at position {1}.</source>
<target state="translated">Název elementu řazené kolekce členů {0} je povolený jenom v pozici {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TupleReservedElementNameAnyPosition">
<source>Tuple element name '{0}' is disallowed at any position.</source>
<target state="translated">Název elementu řazené kolekce členů {0} je zakázaný v jakékoliv pozici.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PredefinedTypeMemberNotFoundInAssembly">
<source>Member '{0}' was not found on type '{1}' from assembly '{2}'.</source>
<target state="translated">Nenašel se člen {0} v typu {1} ze sestavení {2}.</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureTuples">
<source>tuples</source>
<target state="translated">řazené kolekce členů</target>
<note />
</trans-unit>
<trans-unit id="ERR_MissingDeconstruct">
<source>No suitable 'Deconstruct' instance or extension method was found for type '{0}', with {1} out parameters and a void return type.</source>
<target state="translated">Pro typ {0} s výstupními parametry ({1}) a návratovým typem void se nenašla žádná vhodná instance Deconstruct nebo rozšiřující metoda.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DeconstructRequiresExpression">
<source>Deconstruct assignment requires an expression with a type on the right-hand-side.</source>
<target state="translated">Dekonstrukční přiřazení vyžaduje výraz s typem na pravé straně.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SwitchExpressionValueExpected">
<source>The switch expression must be a value; found '{0}'.</source>
<target state="translated">Výraz switch musí být hodnota. Bylo nalezeno: {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PatternWrongType">
<source>An expression of type '{0}' cannot be handled by a pattern of type '{1}'.</source>
<target state="translated">Výraz typu {0} nelze zpracovat vzorem typu {1}.</target>
<note />
</trans-unit>
<trans-unit id="WRN_AttributeIgnoredWhenPublicSigning">
<source>Attribute '{0}' is ignored when public signing is specified.</source>
<target state="translated">Atribut {0} se ignoruje, když je zadané veřejné podepisování.</target>
<note />
</trans-unit>
<trans-unit id="WRN_AttributeIgnoredWhenPublicSigning_Title">
<source>Attribute is ignored when public signing is specified.</source>
<target state="translated">Atribut se ignoruje, když je zadané veřejné podepisování.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OptionMustBeAbsolutePath">
<source>Option '{0}' must be an absolute path.</source>
<target state="translated">Možnost {0} musí být absolutní cesta.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConversionNotTupleCompatible">
<source>Tuple with {0} elements cannot be converted to type '{1}'.</source>
<target state="translated">Řazená kolekce členů s {0} elementy se nedá převést na typ {1}.</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureOutVar">
<source>out variable declaration</source>
<target state="translated">deklarace externí proměnné</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImplicitlyTypedOutVariableUsedInTheSameArgumentList">
<source>Reference to an implicitly-typed out variable '{0}' is not permitted in the same argument list.</source>
<target state="translated">Odkaz na implicitně typovanou externí proměnnou {0} není povolený ve stejném seznamu argumentů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TypeInferenceFailedForImplicitlyTypedOutVariable">
<source>Cannot infer the type of implicitly-typed out variable '{0}'.</source>
<target state="translated">Nejde odvodit typ implicitně typované externí proměnné {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TypeInferenceFailedForImplicitlyTypedDeconstructionVariable">
<source>Cannot infer the type of implicitly-typed deconstruction variable '{0}'.</source>
<target state="translated">Nejde odvodit typ dekonstrukční proměnné {0} s implicitním typem.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DiscardTypeInferenceFailed">
<source>Cannot infer the type of implicitly-typed discard.</source>
<target state="translated">Nejde odvodit typ zahození s implicitním typem.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DeconstructWrongCardinality">
<source>Cannot deconstruct a tuple of '{0}' elements into '{1}' variables.</source>
<target state="translated">Řazenou kolekci členů s {0} prvky nejde dekonstruovat na proměnné {1}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CannotDeconstructDynamic">
<source>Cannot deconstruct dynamic objects.</source>
<target state="translated">Dynamické objekty nejde dekonstruovat.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DeconstructTooFewElements">
<source>Deconstruction must contain at least two variables.</source>
<target state="translated">Dekonstrukce musí obsahovat aspoň dvě proměnné.</target>
<note />
</trans-unit>
<trans-unit id="WRN_TupleLiteralNameMismatch">
<source>The tuple element name '{0}' is ignored because a different name or no name is specified by the target type '{1}'.</source>
<target state="translated">Název elementu řazené kolekce členů {0} se ignoruje, protože cílovým typem {1} je určený jiný nebo žádný název.</target>
<note />
</trans-unit>
<trans-unit id="WRN_TupleLiteralNameMismatch_Title">
<source>The tuple element name is ignored because a different name or no name is specified by the assignment target.</source>
<target state="translated">Název elementu řazené kolekce členů se ignoruje, protože cílem přiřazení je určený jiný nebo žádný název.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PredefinedValueTupleTypeMustBeStruct">
<source>Predefined type '{0}' must be a struct.</source>
<target state="translated">Předdefinovaný typ {0} musí být struktura.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NewWithTupleTypeSyntax">
<source>'new' cannot be used with tuple type. Use a tuple literal expression instead.</source>
<target state="translated">'new není možné použít s typem řazené kolekce členů. Použijte raději literálový výraz řazené kolekce členů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DeconstructionVarFormDisallowsSpecificType">
<source>Deconstruction 'var (...)' form disallows a specific type for 'var'.</source>
<target state="translated">Forma dekonstrukce var (...) neumožňuje použít pro var konkrétní typ.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TupleElementNamesAttributeMissing">
<source>Cannot define a class or member that utilizes tuples because the compiler required type '{0}' cannot be found. Are you missing a reference?</source>
<target state="translated">Nejde definovat třídu nebo člen, který používá řazenou kolekci členů, protože se nenašel kompilátor požadovaný typem {0}. Chybí vám odkaz?</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExplicitTupleElementNamesAttribute">
<source>Cannot reference 'System.Runtime.CompilerServices.TupleElementNamesAttribute' explicitly. Use the tuple syntax to define tuple names.</source>
<target state="translated">System.Runtime.CompilerServices.TupleElementNamesAttribute nejde odkazovat explicitně. K definici názvů řazené kolekce členů použijte její syntaxi.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsOutVariable">
<source>An expression tree may not contain an out argument variable declaration.</source>
<target state="translated">Strom výrazů nesmí obsahovat deklaraci proměnné argumentu out.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsDiscard">
<source>An expression tree may not contain a discard.</source>
<target state="translated">Strom výrazů nesmí obsahovat zahození.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsIsMatch">
<source>An expression tree may not contain an 'is' pattern-matching operator.</source>
<target state="translated">Strom výrazů nesmí obsahovat operátor odpovídající vzoru is.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsTupleLiteral">
<source>An expression tree may not contain a tuple literal.</source>
<target state="translated">Strom výrazů nesmí obsahovat literál řazené kolekce členů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsTupleConversion">
<source>An expression tree may not contain a tuple conversion.</source>
<target state="translated">Strom výrazů nesmí obsahovat převod řazené kolekce členů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SourceLinkRequiresPdb">
<source>/sourcelink switch is only supported when emitting PDB.</source>
<target state="translated">Přepínač /sourcelink je podporovaný jen při vydávání PDB.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CannotEmbedWithoutPdb">
<source>/embed switch is only supported when emitting a PDB.</source>
<target state="translated">Přepínač /embed je podporovaný jen při vydávání souboru PDB.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidInstrumentationKind">
<source>Invalid instrumentation kind: {0}</source>
<target state="translated">Neplatný typ instrumentace: {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_VarInvocationLvalueReserved">
<source>The syntax 'var (...)' as an lvalue is reserved.</source>
<target state="translated">Syntaxe 'var (...)' jako l-hodnota je vyhrazená.</target>
<note />
</trans-unit>
<trans-unit id="ERR_SemiOrLBraceOrArrowExpected">
<source>{ or ; or => expected</source>
<target state="translated">Očekávaly se znaky { nebo ; nebo =>.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ThrowMisplaced">
<source>A throw expression is not allowed in this context.</source>
<target state="translated">Výraz throw není v tomto kontextu povolený.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DeclarationExpressionNotPermitted">
<source>A declaration is not allowed in this context.</source>
<target state="translated">Deklarace není v tomto kontextu povolená.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MustDeclareForeachIteration">
<source>A foreach loop must declare its iteration variables.</source>
<target state="translated">Smyčka foreach musí deklarovat své proměnné iterace.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TupleElementNamesInDeconstruction">
<source>Tuple element names are not permitted on the left of a deconstruction.</source>
<target state="translated">Na levé straně dekonstrukce nejsou povolené názvy prvků řazené kolekce členů.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PossibleBadNegCast">
<source>To cast a negative value, you must enclose the value in parentheses.</source>
<target state="translated">Pokud se má přetypovat záporná hodnota, musí být uzavřená v závorkách.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsThrowExpression">
<source>An expression tree may not contain a throw-expression.</source>
<target state="translated">Strom výrazů nesmí obsahovat výraz throw.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAssemblyName">
<source>Invalid assembly name: {0}</source>
<target state="translated">Neplatný název sestavení: {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAsyncMethodBuilderTaskProperty">
<source>For type '{0}' to be used as an AsyncMethodBuilder for type '{1}', its Task property should return type '{1}' instead of type '{2}'.</source>
<target state="translated">Aby se typ {0} mohl použít jako AsyncMethodBuilder pro typ {1}, měla by jeho vlastnost Task vracet typ {1} místo typu {2}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TypeForwardedToMultipleAssemblies">
<source>Module '{0}' in assembly '{1}' is forwarding the type '{2}' to multiple assemblies: '{3}' and '{4}'.</source>
<target state="translated">Modul {0} v sestavení {1} předává typ {2} několika sestavením: {3} a {4}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PatternDynamicType">
<source>It is not legal to use the type 'dynamic' in a pattern.</source>
<target state="translated">Není povoleno použít typ dynamic ve vzorku.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadDocumentationMode">
<source>Provided documentation mode is unsupported or invalid: '{0}'.</source>
<target state="translated">Zadaný režim dokumentace je nepodporovaný nebo neplatný: {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadSourceCodeKind">
<source>Provided source code kind is unsupported or invalid: '{0}'</source>
<target state="translated">Zadaný druh zdrojového kódu je nepodporovaný nebo neplatný: {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadLanguageVersion">
<source>Provided language version is unsupported or invalid: '{0}'.</source>
<target state="translated">Zadaná verze jazyka je nepodporovaná nebo neplatná: {0}.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidPreprocessingSymbol">
<source>Invalid name for a preprocessing symbol; '{0}' is not a valid identifier</source>
<target state="translated">Neplatný název pro symbol předzpracování; {0} není platný identifikátor.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FeatureNotAvailableInVersion7_1">
<source>Feature '{0}' is not available in C# 7.1. Please use language version {1} or greater.</source>
<target state="translated">Funkce {0} není dostupná v jazyce C# 7.1. Použijte prosím jazyk verze {1} nebo vyšší.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FeatureNotAvailableInVersion7_2">
<source>Feature '{0}' is not available in C# 7.2. Please use language version {1} or greater.</source>
<target state="translated">Funkce {0} není dostupná v jazyce C# 7.2. Použijte prosím jazyk verze {1} nebo vyšší.</target>
<note />
</trans-unit>
<trans-unit id="ERR_LanguageVersionCannotHaveLeadingZeroes">
<source>Specified language version '{0}' cannot have leading zeroes</source>
<target state="translated">Zadaná verze jazyka {0} nemůže obsahovat úvodní nuly.</target>
<note />
</trans-unit>
<trans-unit id="ERR_VoidAssignment">
<source>A value of type 'void' may not be assigned.</source>
<target state="translated">Hodnota typu void se nesmí přiřazovat.</target>
<note />
</trans-unit>
<trans-unit id="WRN_Experimental">
<source>'{0}' is for evaluation purposes only and is subject to change or removal in future updates.</source>
<target state="translated">{0} slouží jen pro účely vyhodnocení a v budoucích aktualizacích může dojít ke změně nebo odebrání.</target>
<note />
</trans-unit>
<trans-unit id="WRN_Experimental_Title">
<source>Type is for evaluation purposes only and is subject to change or removal in future updates.</source>
<target state="translated">Typ slouží jen pro účely vyhodnocení a v budoucích aktualizacích může dojít ke změnám nebo odebrání.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CompilerAndLanguageVersion">
<source>Compiler version: '{0}'. Language version: {1}.</source>
<target state="translated">Verze kompilátoru: {0}. Jazyková verze: {1}</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureAsyncMain">
<source>async main</source>
<target state="translated">Asynchronní funkce main</target>
<note />
</trans-unit>
<trans-unit id="ERR_TupleInferredNamesNotAvailable">
<source>Tuple element name '{0}' is inferred. Please use language version {1} or greater to access an element by its inferred name.</source>
<target state="translated">Název elementu řazené kolekce členů {0} je odvozený. Pokud k elementu chcete získat přístup pomocí jeho odvozeného názvu, použijte prosím jazyk verze {1} nebo vyšší.</target>
<note />
</trans-unit>
<trans-unit id="ERR_VoidInTuple">
<source>A tuple may not contain a value of type 'void'.</source>
<target state="translated">Řazená kolekce členů nemůže obsahovat hodnotu typu void.</target>
<note />
</trans-unit>
<trans-unit id="ERR_NonTaskMainCantBeAsync">
<source>A void or int returning entry point cannot be async</source>
<target state="translated">Vstupní bod, který vrací void nebo int, nemůže být asynchronní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_PatternWrongGenericTypeInVersion">
<source>An expression of type '{0}' cannot be handled by a pattern of type '{1}' in C# {2}. Please use language version {3} or greater.</source>
<target state="translated">V C# {2} nelze výraz typu {0} zpracovat vzorem typu {1}. Použijte prosím jazyk verze {3} nebo vyšší.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnreferencedLocalFunction">
<source>The local function '{0}' is declared but never used</source>
<target state="translated">Lokální funkce {0} je deklarovaná, ale vůbec se nepoužívá.</target>
<note />
</trans-unit>
<trans-unit id="WRN_UnreferencedLocalFunction_Title">
<source>Local function is declared but never used</source>
<target state="translated">Lokální funkce je deklarovaná, ale vůbec se nepoužívá.</target>
<note />
</trans-unit>
<trans-unit id="ERR_LocalFunctionMissingBody">
<source>Local function '{0}' must declare a body because it is not marked 'static extern'.</source>
<target state="translated">Místní funkce {0} musí deklarovat tělo, protože není označená jako static extern.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InvalidDebugInfo">
<source>Unable to read debug information of method '{0}' (token 0x{1:X8}) from assembly '{2}'</source>
<target state="translated">Informace o ladění metody {0} (token 0x{1:X8}) ze sestavení {2} nelze přečíst.</target>
<note />
</trans-unit>
<trans-unit id="IConversionExpressionIsNotCSharpConversion">
<source>{0} is not a valid C# conversion expression</source>
<target state="translated">Výraz {0} není platným výrazem převodu C#.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DynamicLocalFunctionTypeParameter">
<source>Cannot pass argument with dynamic type to generic local function '{0}' with inferred type arguments.</source>
<target state="translated">Obecné lokální funkci {0} s odvozenými argumenty typu nelze předat argument s dynamickým typem.</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureLeadingDigitSeparator">
<source>leading digit separator</source>
<target state="translated">oddělovač úvodní číslice</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExplicitReservedAttr">
<source>Do not use '{0}'. This is reserved for compiler usage.</source>
<target state="translated">Nepoužívejte {0}. Je vyhrazený pro použití v kompilátoru.</target>
<note />
</trans-unit>
<trans-unit id="ERR_TypeReserved">
<source>The type name '{0}' is reserved to be used by the compiler.</source>
<target state="translated">Název typu {0} je vyhrazený pro použití kompilátorem.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InExtensionMustBeValueType">
<source>The first parameter of the 'in' extension method '{0}' must be a concrete (non-generic) value type.</source>
<target state="translated">Prvním parametrem metody rozšíření in {0} musí být konkrétní (neobecný) typ hodnoty.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FieldsInRoStruct">
<source>Instance fields of readonly structs must be readonly.</source>
<target state="translated">Pole instancí struktur jen pro čtení musí být jen pro čtení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_AutoPropsInRoStruct">
<source>Auto-implemented instance properties in readonly structs must be readonly.</source>
<target state="translated">Vlastnosti automaticky implementované instance ve strukturách jen pro čtení musí být jen pro čtení.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FieldlikeEventsInRoStruct">
<source>Field-like events are not allowed in readonly structs.</source>
<target state="translated">Události podobné poli nejsou povolené ve strukturách jen pro čtení.</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureRefExtensionMethods">
<source>ref extension methods</source>
<target state="translated">rozšiřující metody REF</target>
<note />
</trans-unit>
<trans-unit id="ERR_StackAllocConversionNotPossible">
<source>Conversion of a stackalloc expression of type '{0}' to type '{1}' is not possible.</source>
<target state="translated">Převod výrazu stackalloc typu {0} na typ {1} není možný.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RefExtensionMustBeValueTypeOrConstrainedToOne">
<source>The first parameter of a 'ref' extension method '{0}' must be a value type or a generic type constrained to struct.</source>
<target state="translated">První parametr rozšiřující metody ref {0} musí být typem hodnoty nebo obecným typem omezeným na strukturu.</target>
<note />
</trans-unit>
<trans-unit id="ERR_OutAttrOnInParam">
<source>An in parameter cannot have the Out attribute.</source>
<target state="translated">Parametr in nemůže obsahovat atribut Out.</target>
<note />
</trans-unit>
<trans-unit id="ICompoundAssignmentOperationIsNotCSharpCompoundAssignment">
<source>{0} is not a valid C# compound assignment operation</source>
<target state="translated">{0} není platná operace složeného přiřazení jazyka C#.</target>
<note />
</trans-unit>
<trans-unit id="WRN_FilterIsConstantFalse">
<source>Filter expression is a constant 'false', consider removing the catch clause</source>
<target state="translated">Výraz filtru je konstantní hodnota false. Zvažte odebrání klauzule catch.</target>
<note />
</trans-unit>
<trans-unit id="WRN_FilterIsConstantFalse_Title">
<source>Filter expression is a constant 'false'</source>
<target state="translated">Výraz filtru je konstantní hodnota false.</target>
<note />
</trans-unit>
<trans-unit id="WRN_FilterIsConstantFalseRedundantTryCatch">
<source>Filter expression is a constant 'false', consider removing the try-catch block</source>
<target state="translated">Výraz filtru je konstantní hodnota false. Zvažte odebrání bloku try-catch.</target>
<note />
</trans-unit>
<trans-unit id="WRN_FilterIsConstantFalseRedundantTryCatch_Title">
<source>Filter expression is a constant 'false'. </source>
<target state="translated">Výraz filtru je konstantní hodnota false. </target>
<note />
</trans-unit>
<trans-unit id="ERR_CantUseVoidInArglist">
<source>__arglist cannot have an argument of void type</source>
<target state="translated">__arglist nemůže mít argument typu void.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConditionalInInterpolation">
<source>A conditional expression cannot be used directly in a string interpolation because the ':' ends the interpolation. Parenthesize the conditional expression.</source>
<target state="translated">Podmíněný výraz se nedá použít přímo v interpolaci řetězce, protože na konci interpolace je dvojtečka. Dejte podmíněný výraz do závorek.</target>
<note />
</trans-unit>
<trans-unit id="ERR_DoNotUseFixedBufferAttrOnProperty">
<source>Do not use 'System.Runtime.CompilerServices.FixedBuffer' attribute on a property</source>
<target state="translated">Nepoužívejte u vlastnosti atribut System.Runtime.CompilerServices.FixedBuffer.</target>
<note />
</trans-unit>
<trans-unit id="ERR_FeatureNotAvailableInVersion7_3">
<source>Feature '{0}' is not available in C# 7.3. Please use language version {1} or greater.</source>
<target state="translated">Funkce {0} není dostupná v jazyce C# 7.3. Použijte prosím jazyk verze {1} nebo vyšší.</target>
<note />
</trans-unit>
<trans-unit id="WRN_AttributesOnBackingFieldsNotAvailable">
<source>Field-targeted attributes on auto-properties are not supported in language version {0}. Please use language version {1} or greater.</source>
<target state="translated">Atributy cílící na pole se u automatických vlastností v jazyku verze {0} nepodporují. Použijte prosím jazyk verze {1} nebo vyšší.</target>
<note />
</trans-unit>
<trans-unit id="WRN_AttributesOnBackingFieldsNotAvailable_Title">
<source>Field-targeted attributes on auto-properties are not supported in this version of the language.</source>
<target state="translated">Atributy cílící na pole se u automatických vlastností v této verzi jazyka nepodporují.</target>
<note />
</trans-unit>
<trans-unit id="IDS_FeatureAsyncStreams">
<source>async streams</source>
<target state="translated">asynchronní streamy</target>
<note />
</trans-unit>
<trans-unit id="ERR_NoConvToIAsyncDisp">
<source>'{0}': type used in an asynchronous using statement must be implicitly convertible to 'System.IAsyncDisposable' or implement a suitable 'DisposeAsync' method.</source>
<target state="translated">{0}: typ použitý v asynchronním příkazu using musí být implicitně převoditelný na System.IAsyncDisposable nebo musí implementovat odpovídající metodu DisposeAsync.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadGetAsyncEnumerator">
<source>Asynchronous foreach requires that the return type '{0}' of '{1}' must have a suitable public 'MoveNextAsync' method and public 'Current' property</source>
<target state="translated">Asynchronní příkaz foreach vyžaduje, aby návratový typ {0} pro {1} měl vhodnou veřejnou metodu MoveNextAsync a veřejnou vlastnost Current.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MultipleIAsyncEnumOfT">
<source>Asynchronous foreach statement cannot operate on variables of type '{0}' because it implements multiple instantiations of '{1}'; try casting to a specific interface instantiation</source>
<target state="translated">Asynchronní příkaz foreach nejde použít pro proměnné typu {0}, protože implementuje vytváření víc instancí {1}. Zkuste přetypování na konkrétní instanci rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_InterfacesCantContainConversionOrEqualityOperators">
<source>Conversion, equality, or inequality operators declared in interfaces must be abstract</source>
<target state="needs-review-translation">Rozhraní nemůžou obsahovat operátory převodu, rovnosti nebo nerovnosti.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RuntimeDoesNotSupportDefaultInterfaceImplementation">
<source>Target runtime doesn't support default interface implementation.</source>
<target state="translated">Cílový modul runtime nepodporuje implementaci výchozího rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_RuntimeDoesNotSupportDefaultInterfaceImplementationForMember">
<source>'{0}' cannot implement interface member '{1}' in type '{2}' because the target runtime doesn't support default interface implementation.</source>
<target state="translated">{0} nemůže implementovat člen rozhraní {1} v typu {2}, protože cílový modul runtime nepodporuje implementaci výchozího rozhraní.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImplicitImplementationOfNonPublicInterfaceMember">
<source>'{0}' does not implement interface member '{1}'. '{2}' cannot implicitly implement a non-public member in C# {3}. Please use language version '{4}' or greater.</source>
<target state="new">'{0}' does not implement interface member '{1}'. '{2}' cannot implicitly implement a non-public member in C# {3}. Please use language version '{4}' or greater.</target>
<note />
</trans-unit>
<trans-unit id="ERR_MostSpecificImplementationIsNotFound">
<source>Interface member '{0}' does not have a most specific implementation. Neither '{1}', nor '{2}' are most specific.</source>
<target state="translated">Člen rozhraní {0} nemá nejvíce specifickou implementaci. {1} ani {2} nejsou nejvíce specifické.</target>
<note />
</trans-unit>
<trans-unit id="ERR_LanguageVersionDoesNotSupportDefaultInterfaceImplementationForMember">
<source>'{0}' cannot implement interface member '{1}' in type '{2}' because feature '{3}' is not available in C# {4}. Please use language version '{5}' or greater.</source>
<target state="translated">{0} nemůže implementovat člen rozhraní {1} v typu {2}, protože funkce {3} není v jazyce C# {4} k dispozici. Použijte prosím verzi jazyka {5} nebo vyšší.</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | -1 |
dotnet/roslyn | 56,030 | Remove RemoveUnusedReferences command hotkey | Resolves https://github.com/dotnet/roslyn/issues/56028 | JoeRobich | "2021-08-31T17:18:07Z" | "2021-08-31T18:42:08Z" | e01c311bd91e6290eefe9be9eeef76c64b08b2d5 | 2be2c34f110e7ce2f4cfd8e4b1f8153603087679 | Remove RemoveUnusedReferences command hotkey. Resolves https://github.com/dotnet/roslyn/issues/56028 | ./src/CodeStyle/VisualBasic/Analyzers/xlf/VBCodeStyleResources.zh-Hans.xlf | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="zh-Hans" original="../VBCodeStyleResources.resx">
<body>
<trans-unit id="EmptyResource">
<source>Remove this value when another is added.</source>
<target state="translated">在添加其他值时删除此值。</target>
<note>https://github.com/Microsoft/msbuild/issues/1661</note>
</trans-unit>
</body>
</file>
</xliff> | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="zh-Hans" original="../VBCodeStyleResources.resx">
<body>
<trans-unit id="EmptyResource">
<source>Remove this value when another is added.</source>
<target state="translated">在添加其他值时删除此值。</target>
<note>https://github.com/Microsoft/msbuild/issues/1661</note>
</trans-unit>
</body>
</file>
</xliff> | -1 |
dotnet/roslyn | 56,030 | Remove RemoveUnusedReferences command hotkey | Resolves https://github.com/dotnet/roslyn/issues/56028 | JoeRobich | "2021-08-31T17:18:07Z" | "2021-08-31T18:42:08Z" | e01c311bd91e6290eefe9be9eeef76c64b08b2d5 | 2be2c34f110e7ce2f4cfd8e4b1f8153603087679 | Remove RemoveUnusedReferences command hotkey. Resolves https://github.com/dotnet/roslyn/issues/56028 | ./src/ExpressionEvaluator/Core/Source/ResultProvider/Portable/xlf/Resources.zh-Hant.xlf | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="zh-Hant" original="../Resources.resx">
<body>
<trans-unit id="DynamicView">
<source>Dynamic View</source>
<target state="translated">動態檢視</target>
<note>IDynamicMetaObjectProvider and System.__ComObject expansion</note>
</trans-unit>
<trans-unit id="DynamicViewNotDynamic">
<source>Only COM or Dynamic objects can have Dynamic View</source>
<target state="translated">只有 COM 或 Dynamic 物件可以有動態檢視</target>
<note>Cannot use "dynamic" format specifier on a non-dynamic type</note>
</trans-unit>
<trans-unit id="DynamicViewValueWarning">
<source>Expanding the Dynamic View will get the dynamic members for the object</source>
<target state="translated">展開動態檢視會取得物件的動態成員</target>
<note>Warning reported in Dynamic View value</note>
</trans-unit>
<trans-unit id="ErrorName">
<source>Error</source>
<target state="translated">錯誤</target>
<note>Error result name</note>
</trans-unit>
<trans-unit id="ExceptionThrown">
<source>'{0}' threw an exception of type '{1}'</source>
<target state="translated">'{0}' 擲回 '{1}' 類型的例外狀況</target>
<note>Threw an exception while evaluating a value.</note>
</trans-unit>
<trans-unit id="HostValueNotFound">
<source>Cannot provide the value: host value not found</source>
<target state="translated">無法提供值: 找不到主機值</target>
<note />
</trans-unit>
<trans-unit id="InvalidPointerDereference">
<source>Cannot dereference '{0}'. The pointer is not valid.</source>
<target state="translated">無法取值 '{0}'。指標無效。</target>
<note>Invalid pointer dereference</note>
</trans-unit>
<trans-unit id="NativeView">
<source>Native View</source>
<target state="translated">原生檢視</target>
<note>Native COM object expansion</note>
</trans-unit>
<trans-unit id="NativeViewNotNativeDebugging">
<source>To inspect the native object, enable native code debugging.</source>
<target state="translated">若要檢查原生物件,請啟用機器碼偵錯。</target>
<note>Display value of Native View node when native debugging is not enabled</note>
</trans-unit>
<trans-unit id="NonPublicMembers">
<source>Non-Public members</source>
<target state="translated">非公用成員</target>
<note>Non-public type members</note>
</trans-unit>
<trans-unit id="RawView">
<source>Raw View</source>
<target state="translated">未經處理的檢視</target>
<note>DebuggerTypeProxy "Raw View"</note>
</trans-unit>
<trans-unit id="ResultsView">
<source>Results View</source>
<target state="translated">結果檢視</target>
<note>IEnumerable results expansion</note>
</trans-unit>
<trans-unit id="ResultsViewNoSystemCore">
<source>Results View requires System.Core.dll to be referenced</source>
<target state="translated">結果檢視必須參考 System.Core.dll</target>
<note>"results" format specifier requires System.Core.dll</note>
</trans-unit>
<trans-unit id="ResultsViewNotEnumerable">
<source>Only Enumerable types can have Results View</source>
<target state="translated">只有可列舉類型才能有結果檢視</target>
<note>Cannot use "results" format specifier on non-enumerable type</note>
</trans-unit>
<trans-unit id="ResultsViewValueWarning">
<source>Expanding the Results View will enumerate the IEnumerable</source>
<target state="translated">展開結果檢視時將會列舉 IEnumerable</target>
<note>Warning reported in Results View value</note>
</trans-unit>
<trans-unit id="SharedMembers">
<source>Shared members</source>
<target state="translated">共用的成員</target>
<note>Shared type members (VB only)</note>
</trans-unit>
<trans-unit id="StaticMembers">
<source>Static members</source>
<target state="translated">靜態成員</target>
<note>Static type members (C# only)</note>
</trans-unit>
<trans-unit id="TypeVariablesName">
<source>Type variables</source>
<target state="translated">類型變數</target>
<note>Type variables result name</note>
</trans-unit>
</body>
</file>
</xliff> | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="zh-Hant" original="../Resources.resx">
<body>
<trans-unit id="DynamicView">
<source>Dynamic View</source>
<target state="translated">動態檢視</target>
<note>IDynamicMetaObjectProvider and System.__ComObject expansion</note>
</trans-unit>
<trans-unit id="DynamicViewNotDynamic">
<source>Only COM or Dynamic objects can have Dynamic View</source>
<target state="translated">只有 COM 或 Dynamic 物件可以有動態檢視</target>
<note>Cannot use "dynamic" format specifier on a non-dynamic type</note>
</trans-unit>
<trans-unit id="DynamicViewValueWarning">
<source>Expanding the Dynamic View will get the dynamic members for the object</source>
<target state="translated">展開動態檢視會取得物件的動態成員</target>
<note>Warning reported in Dynamic View value</note>
</trans-unit>
<trans-unit id="ErrorName">
<source>Error</source>
<target state="translated">錯誤</target>
<note>Error result name</note>
</trans-unit>
<trans-unit id="ExceptionThrown">
<source>'{0}' threw an exception of type '{1}'</source>
<target state="translated">'{0}' 擲回 '{1}' 類型的例外狀況</target>
<note>Threw an exception while evaluating a value.</note>
</trans-unit>
<trans-unit id="HostValueNotFound">
<source>Cannot provide the value: host value not found</source>
<target state="translated">無法提供值: 找不到主機值</target>
<note />
</trans-unit>
<trans-unit id="InvalidPointerDereference">
<source>Cannot dereference '{0}'. The pointer is not valid.</source>
<target state="translated">無法取值 '{0}'。指標無效。</target>
<note>Invalid pointer dereference</note>
</trans-unit>
<trans-unit id="NativeView">
<source>Native View</source>
<target state="translated">原生檢視</target>
<note>Native COM object expansion</note>
</trans-unit>
<trans-unit id="NativeViewNotNativeDebugging">
<source>To inspect the native object, enable native code debugging.</source>
<target state="translated">若要檢查原生物件,請啟用機器碼偵錯。</target>
<note>Display value of Native View node when native debugging is not enabled</note>
</trans-unit>
<trans-unit id="NonPublicMembers">
<source>Non-Public members</source>
<target state="translated">非公用成員</target>
<note>Non-public type members</note>
</trans-unit>
<trans-unit id="RawView">
<source>Raw View</source>
<target state="translated">未經處理的檢視</target>
<note>DebuggerTypeProxy "Raw View"</note>
</trans-unit>
<trans-unit id="ResultsView">
<source>Results View</source>
<target state="translated">結果檢視</target>
<note>IEnumerable results expansion</note>
</trans-unit>
<trans-unit id="ResultsViewNoSystemCore">
<source>Results View requires System.Core.dll to be referenced</source>
<target state="translated">結果檢視必須參考 System.Core.dll</target>
<note>"results" format specifier requires System.Core.dll</note>
</trans-unit>
<trans-unit id="ResultsViewNotEnumerable">
<source>Only Enumerable types can have Results View</source>
<target state="translated">只有可列舉類型才能有結果檢視</target>
<note>Cannot use "results" format specifier on non-enumerable type</note>
</trans-unit>
<trans-unit id="ResultsViewValueWarning">
<source>Expanding the Results View will enumerate the IEnumerable</source>
<target state="translated">展開結果檢視時將會列舉 IEnumerable</target>
<note>Warning reported in Results View value</note>
</trans-unit>
<trans-unit id="SharedMembers">
<source>Shared members</source>
<target state="translated">共用的成員</target>
<note>Shared type members (VB only)</note>
</trans-unit>
<trans-unit id="StaticMembers">
<source>Static members</source>
<target state="translated">靜態成員</target>
<note>Static type members (C# only)</note>
</trans-unit>
<trans-unit id="TypeVariablesName">
<source>Type variables</source>
<target state="translated">類型變數</target>
<note>Type variables result name</note>
</trans-unit>
</body>
</file>
</xliff> | -1 |
dotnet/roslyn | 56,030 | Remove RemoveUnusedReferences command hotkey | Resolves https://github.com/dotnet/roslyn/issues/56028 | JoeRobich | "2021-08-31T17:18:07Z" | "2021-08-31T18:42:08Z" | e01c311bd91e6290eefe9be9eeef76c64b08b2d5 | 2be2c34f110e7ce2f4cfd8e4b1f8153603087679 | Remove RemoveUnusedReferences command hotkey. Resolves https://github.com/dotnet/roslyn/issues/56028 | ./src/Workspaces/Core/MSBuild/xlf/WorkspaceMSBuildResources.pt-BR.xlf | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="pt-BR" original="../WorkspaceMSBuildResources.resx">
<body>
<trans-unit id="Failed_to_load_solution_filter_0">
<source>Failed to load solution filter: '{0}'</source>
<target state="translated">Falha ao carregar o filtro da solução: '{0}'</target>
<note />
</trans-unit>
<trans-unit id="Found_project_reference_without_a_matching_metadata_reference_0">
<source>Found project reference without a matching metadata reference: {0}</source>
<target state="translated">Referência de projeto encontrada sem uma referência de metadados correspondentes: {0}</target>
<note />
</trans-unit>
<trans-unit id="Invalid_0_specified_1">
<source>Invalid {0} specified: {1}</source>
<target state="translated">Inválido {0} especificado: {1}</target>
<note />
</trans-unit>
<trans-unit id="Msbuild_failed_when_processing_the_file_0">
<source>Msbuild failed when processing the file '{0}'</source>
<target state="translated">Falha do MSBuild ao processar o arquivo '{0}'</target>
<note />
</trans-unit>
<trans-unit id="Msbuild_failed_when_processing_the_file_0_with_message_1">
<source>Msbuild failed when processing the file '{0}' with message: {1}</source>
<target state="translated">Falha do MSBuild ao processar o arquivo '{0}' com a mensagem: {1}</target>
<note />
</trans-unit>
<trans-unit id="Parameter_cannot_be_null_empty_or_contain_whitespace">
<source>Parameter cannot be null, empty, or contain whitespace.</source>
<target state="translated">O parâmetro não pode ser nulo, vazio ou conter espaços em branco.</target>
<note />
</trans-unit>
<trans-unit id="Path_for_additional_document_0_was_null">
<source>Path for additional document '{0}' was null}</source>
<target state="translated">O caminho para o documento adicional '{0}' era nulo}</target>
<note />
</trans-unit>
<trans-unit id="Path_for_document_0_was_null">
<source>Path for document '{0}' was null</source>
<target state="translated">O caminho para o documento '{0}' era nulo</target>
<note />
</trans-unit>
<trans-unit id="Project_already_added">
<source>Project already added.</source>
<target state="translated">Projeto já adicionado.</target>
<note />
</trans-unit>
<trans-unit id="Project_does_not_contain_0_target">
<source>Project does not contain '{0}' target.</source>
<target state="translated">O projeto não contém o destino '{0}'.</target>
<note />
</trans-unit>
<trans-unit id="Found_project_with_the_same_file_path_and_output_path_as_another_project_0">
<source>Found project with the same file path and output path as another project: {0}</source>
<target state="translated">Foi encontrado um projeto com o mesmo caminho do arquivo e caminho da saída de outro projeto: {0}</target>
<note />
</trans-unit>
<trans-unit id="Duplicate_project_discovered_and_skipped_0">
<source>Duplicate project discovered and skipped: {0}</source>
<target state="translated">Projeto duplicado descoberto e ignorado: {0}</target>
<note />
</trans-unit>
<trans-unit id="Project_does_not_have_a_path">
<source>Project does not have a path.</source>
<target state="translated">O projeto não tem um caminho.</target>
<note />
</trans-unit>
<trans-unit id="Project_path_for_0_was_null">
<source>Project path for '{0}' was null</source>
<target state="translated">O caminho do projeto para '{0}' era nulo</target>
<note />
</trans-unit>
<trans-unit id="Unable_to_add_metadata_reference_0">
<source>Unable to add metadata reference '{0}'</source>
<target state="translated">Não foi possível adicionar a referência de metadados '{0}'</target>
<note />
</trans-unit>
<trans-unit id="Unable_to_find_0">
<source>Unable to find '{0}'</source>
<target state="translated">Não é possível localizar {0}</target>
<note />
</trans-unit>
<trans-unit id="Unable_to_find_a_0_for_1">
<source>Unable to find a '{0}' for '{1}'</source>
<target state="translated">Não foi possível encontrar um '{0}' para '{1}'</target>
<note />
</trans-unit>
<trans-unit id="Unable_to_remove_metadata_reference_0">
<source>Unable to remove metadata reference '{0}'</source>
<target state="translated">Não foi possível remover a referência de metadados '{0}'</target>
<note />
</trans-unit>
<trans-unit id="Unresolved_metadata_reference_removed_from_project_0">
<source>Unresolved metadata reference removed from project: {0}</source>
<target state="translated">Referência de metadados não resolvidos removida do projeto: {0}</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="pt-BR" original="../WorkspaceMSBuildResources.resx">
<body>
<trans-unit id="Failed_to_load_solution_filter_0">
<source>Failed to load solution filter: '{0}'</source>
<target state="translated">Falha ao carregar o filtro da solução: '{0}'</target>
<note />
</trans-unit>
<trans-unit id="Found_project_reference_without_a_matching_metadata_reference_0">
<source>Found project reference without a matching metadata reference: {0}</source>
<target state="translated">Referência de projeto encontrada sem uma referência de metadados correspondentes: {0}</target>
<note />
</trans-unit>
<trans-unit id="Invalid_0_specified_1">
<source>Invalid {0} specified: {1}</source>
<target state="translated">Inválido {0} especificado: {1}</target>
<note />
</trans-unit>
<trans-unit id="Msbuild_failed_when_processing_the_file_0">
<source>Msbuild failed when processing the file '{0}'</source>
<target state="translated">Falha do MSBuild ao processar o arquivo '{0}'</target>
<note />
</trans-unit>
<trans-unit id="Msbuild_failed_when_processing_the_file_0_with_message_1">
<source>Msbuild failed when processing the file '{0}' with message: {1}</source>
<target state="translated">Falha do MSBuild ao processar o arquivo '{0}' com a mensagem: {1}</target>
<note />
</trans-unit>
<trans-unit id="Parameter_cannot_be_null_empty_or_contain_whitespace">
<source>Parameter cannot be null, empty, or contain whitespace.</source>
<target state="translated">O parâmetro não pode ser nulo, vazio ou conter espaços em branco.</target>
<note />
</trans-unit>
<trans-unit id="Path_for_additional_document_0_was_null">
<source>Path for additional document '{0}' was null}</source>
<target state="translated">O caminho para o documento adicional '{0}' era nulo}</target>
<note />
</trans-unit>
<trans-unit id="Path_for_document_0_was_null">
<source>Path for document '{0}' was null</source>
<target state="translated">O caminho para o documento '{0}' era nulo</target>
<note />
</trans-unit>
<trans-unit id="Project_already_added">
<source>Project already added.</source>
<target state="translated">Projeto já adicionado.</target>
<note />
</trans-unit>
<trans-unit id="Project_does_not_contain_0_target">
<source>Project does not contain '{0}' target.</source>
<target state="translated">O projeto não contém o destino '{0}'.</target>
<note />
</trans-unit>
<trans-unit id="Found_project_with_the_same_file_path_and_output_path_as_another_project_0">
<source>Found project with the same file path and output path as another project: {0}</source>
<target state="translated">Foi encontrado um projeto com o mesmo caminho do arquivo e caminho da saída de outro projeto: {0}</target>
<note />
</trans-unit>
<trans-unit id="Duplicate_project_discovered_and_skipped_0">
<source>Duplicate project discovered and skipped: {0}</source>
<target state="translated">Projeto duplicado descoberto e ignorado: {0}</target>
<note />
</trans-unit>
<trans-unit id="Project_does_not_have_a_path">
<source>Project does not have a path.</source>
<target state="translated">O projeto não tem um caminho.</target>
<note />
</trans-unit>
<trans-unit id="Project_path_for_0_was_null">
<source>Project path for '{0}' was null</source>
<target state="translated">O caminho do projeto para '{0}' era nulo</target>
<note />
</trans-unit>
<trans-unit id="Unable_to_add_metadata_reference_0">
<source>Unable to add metadata reference '{0}'</source>
<target state="translated">Não foi possível adicionar a referência de metadados '{0}'</target>
<note />
</trans-unit>
<trans-unit id="Unable_to_find_0">
<source>Unable to find '{0}'</source>
<target state="translated">Não é possível localizar {0}</target>
<note />
</trans-unit>
<trans-unit id="Unable_to_find_a_0_for_1">
<source>Unable to find a '{0}' for '{1}'</source>
<target state="translated">Não foi possível encontrar um '{0}' para '{1}'</target>
<note />
</trans-unit>
<trans-unit id="Unable_to_remove_metadata_reference_0">
<source>Unable to remove metadata reference '{0}'</source>
<target state="translated">Não foi possível remover a referência de metadados '{0}'</target>
<note />
</trans-unit>
<trans-unit id="Unresolved_metadata_reference_removed_from_project_0">
<source>Unresolved metadata reference removed from project: {0}</source>
<target state="translated">Referência de metadados não resolvidos removida do projeto: {0}</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | -1 |
dotnet/roslyn | 56,030 | Remove RemoveUnusedReferences command hotkey | Resolves https://github.com/dotnet/roslyn/issues/56028 | JoeRobich | "2021-08-31T17:18:07Z" | "2021-08-31T18:42:08Z" | e01c311bd91e6290eefe9be9eeef76c64b08b2d5 | 2be2c34f110e7ce2f4cfd8e4b1f8153603087679 | Remove RemoveUnusedReferences command hotkey. Resolves https://github.com/dotnet/roslyn/issues/56028 | ./src/VisualStudio/Core/Def/xlf/VSPackage.zh-Hans.xlf | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="zh-Hans" original="../VSPackage.resx">
<body />
</file>
</xliff> | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="zh-Hans" original="../VSPackage.resx">
<body />
</file>
</xliff> | -1 |
dotnet/roslyn | 56,030 | Remove RemoveUnusedReferences command hotkey | Resolves https://github.com/dotnet/roslyn/issues/56028 | JoeRobich | "2021-08-31T17:18:07Z" | "2021-08-31T18:42:08Z" | e01c311bd91e6290eefe9be9eeef76c64b08b2d5 | 2be2c34f110e7ce2f4cfd8e4b1f8153603087679 | Remove RemoveUnusedReferences command hotkey. Resolves https://github.com/dotnet/roslyn/issues/56028 | ./src/VisualStudio/VisualStudioDiagnosticsToolWindow/xlf/VSPackage.tr.xlf | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="tr" original="../VSPackage.resx">
<body>
<trans-unit id="110">
<source>Roslyn Diagnostics</source>
<target state="translated">Roslyn Diagnostics</target>
<note />
</trans-unit>
<trans-unit id="112">
<source>Roslyn Diagnostics</source>
<target state="translated">Roslyn Diagnostics</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="tr" original="../VSPackage.resx">
<body>
<trans-unit id="110">
<source>Roslyn Diagnostics</source>
<target state="translated">Roslyn Diagnostics</target>
<note />
</trans-unit>
<trans-unit id="112">
<source>Roslyn Diagnostics</source>
<target state="translated">Roslyn Diagnostics</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | -1 |
dotnet/roslyn | 56,030 | Remove RemoveUnusedReferences command hotkey | Resolves https://github.com/dotnet/roslyn/issues/56028 | JoeRobich | "2021-08-31T17:18:07Z" | "2021-08-31T18:42:08Z" | e01c311bd91e6290eefe9be9eeef76c64b08b2d5 | 2be2c34f110e7ce2f4cfd8e4b1f8153603087679 | Remove RemoveUnusedReferences command hotkey. Resolves https://github.com/dotnet/roslyn/issues/56028 | ./src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/xlf/CSharpCompilerExtensionsResources.zh-Hant.xlf | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="zh-Hant" original="../CSharpCompilerExtensionsResources.resx">
<body>
<trans-unit id="Code_block_preferences">
<source>Code-block preferences</source>
<target state="translated">程式碼區塊喜好設定</target>
<note />
</trans-unit>
<trans-unit id="Expected_string_or_char_literal">
<source>Expected string or char literal</source>
<target state="translated">必須是字串或字元常值</target>
<note />
</trans-unit>
<trans-unit id="Expression_bodied_members">
<source>Expression-bodied members</source>
<target state="translated">運算式主體成員</target>
<note />
</trans-unit>
<trans-unit id="Null_checking_preferences">
<source>Null-checking preferences</source>
<target state="translated">Null 檢查喜好設定</target>
<note />
</trans-unit>
<trans-unit id="Pattern_matching_preferences">
<source>Pattern matching preferences</source>
<target state="translated">模式比對喜好設定</target>
<note />
</trans-unit>
<trans-unit id="_0_1_is_not_supported_in_this_version">
<source>'{0}.{1}' is not supported in this version</source>
<target state="translated">此版本不支援 '{0}.{1}'</target>
<note>{0}: A type name
{1}: A member name</note>
</trans-unit>
<trans-unit id="using_directive_preferences">
<source>'using' directive preferences</source>
<target state="translated">'using' 指示詞的喜好設定</target>
<note>{Locked="using"} "using" is a C# keyword and should not be localized.</note>
</trans-unit>
<trans-unit id="var_preferences">
<source>var preferences</source>
<target state="translated">var 喜好設定</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="zh-Hant" original="../CSharpCompilerExtensionsResources.resx">
<body>
<trans-unit id="Code_block_preferences">
<source>Code-block preferences</source>
<target state="translated">程式碼區塊喜好設定</target>
<note />
</trans-unit>
<trans-unit id="Expected_string_or_char_literal">
<source>Expected string or char literal</source>
<target state="translated">必須是字串或字元常值</target>
<note />
</trans-unit>
<trans-unit id="Expression_bodied_members">
<source>Expression-bodied members</source>
<target state="translated">運算式主體成員</target>
<note />
</trans-unit>
<trans-unit id="Null_checking_preferences">
<source>Null-checking preferences</source>
<target state="translated">Null 檢查喜好設定</target>
<note />
</trans-unit>
<trans-unit id="Pattern_matching_preferences">
<source>Pattern matching preferences</source>
<target state="translated">模式比對喜好設定</target>
<note />
</trans-unit>
<trans-unit id="_0_1_is_not_supported_in_this_version">
<source>'{0}.{1}' is not supported in this version</source>
<target state="translated">此版本不支援 '{0}.{1}'</target>
<note>{0}: A type name
{1}: A member name</note>
</trans-unit>
<trans-unit id="using_directive_preferences">
<source>'using' directive preferences</source>
<target state="translated">'using' 指示詞的喜好設定</target>
<note>{Locked="using"} "using" is a C# keyword and should not be localized.</note>
</trans-unit>
<trans-unit id="var_preferences">
<source>var preferences</source>
<target state="translated">var 喜好設定</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | -1 |
dotnet/roslyn | 56,030 | Remove RemoveUnusedReferences command hotkey | Resolves https://github.com/dotnet/roslyn/issues/56028 | JoeRobich | "2021-08-31T17:18:07Z" | "2021-08-31T18:42:08Z" | e01c311bd91e6290eefe9be9eeef76c64b08b2d5 | 2be2c34f110e7ce2f4cfd8e4b1f8153603087679 | Remove RemoveUnusedReferences command hotkey. Resolves https://github.com/dotnet/roslyn/issues/56028 | ./src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.ru.xlf | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="ru" original="../VisualBasicAnalyzersResources.resx">
<body>
<trans-unit id="GetType_can_be_converted_to_NameOf">
<source>'GetType' can be converted to 'NameOf'</source>
<target state="translated">"GetType" можно преобразовать в "NameOf".</target>
<note />
</trans-unit>
<trans-unit id="If_statement_can_be_simplified">
<source>'If' statement can be simplified</source>
<target state="translated">Оператор if можно упростить</target>
<note />
</trans-unit>
<trans-unit id="Imports_statement_is_unnecessary">
<source>Imports statement is unnecessary.</source>
<target state="translated">Оператор Imports не нужен.</target>
<note />
</trans-unit>
<trans-unit id="Object_creation_can_be_simplified">
<source>Object creation can be simplified</source>
<target state="translated">Создание объектов можно упростить</target>
<note />
</trans-unit>
<trans-unit id="Remove_ByVal">
<source>'ByVal' keyword is unnecessary and can be removed.</source>
<target state="translated">Ключевое слово "ByVal" является необязательным и может быть удалено.</target>
<note>{locked: ByVal}This is a Visual Basic keyword and should not be localized or have its casing changed</note>
</trans-unit>
<trans-unit id="Use_IsNot_Nothing_check">
<source>Use 'IsNot Nothing' check</source>
<target state="translated">Использовать флажок "IsNot Nothing"</target>
<note />
</trans-unit>
<trans-unit id="Use_IsNot_expression">
<source>Use 'IsNot' expression</source>
<target state="translated">Использовать выражение IsNot</target>
<note>{locked: IsNot}This is a Visual Basic keyword and should not be localized or have its casing changed</note>
</trans-unit>
<trans-unit id="Use_Is_Nothing_check">
<source>Use 'Is Nothing' check</source>
<target state="translated">Использовать флажок "Is Nothing"</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="ru" original="../VisualBasicAnalyzersResources.resx">
<body>
<trans-unit id="GetType_can_be_converted_to_NameOf">
<source>'GetType' can be converted to 'NameOf'</source>
<target state="translated">"GetType" можно преобразовать в "NameOf".</target>
<note />
</trans-unit>
<trans-unit id="If_statement_can_be_simplified">
<source>'If' statement can be simplified</source>
<target state="translated">Оператор if можно упростить</target>
<note />
</trans-unit>
<trans-unit id="Imports_statement_is_unnecessary">
<source>Imports statement is unnecessary.</source>
<target state="translated">Оператор Imports не нужен.</target>
<note />
</trans-unit>
<trans-unit id="Object_creation_can_be_simplified">
<source>Object creation can be simplified</source>
<target state="translated">Создание объектов можно упростить</target>
<note />
</trans-unit>
<trans-unit id="Remove_ByVal">
<source>'ByVal' keyword is unnecessary and can be removed.</source>
<target state="translated">Ключевое слово "ByVal" является необязательным и может быть удалено.</target>
<note>{locked: ByVal}This is a Visual Basic keyword and should not be localized or have its casing changed</note>
</trans-unit>
<trans-unit id="Use_IsNot_Nothing_check">
<source>Use 'IsNot Nothing' check</source>
<target state="translated">Использовать флажок "IsNot Nothing"</target>
<note />
</trans-unit>
<trans-unit id="Use_IsNot_expression">
<source>Use 'IsNot' expression</source>
<target state="translated">Использовать выражение IsNot</target>
<note>{locked: IsNot}This is a Visual Basic keyword and should not be localized or have its casing changed</note>
</trans-unit>
<trans-unit id="Use_Is_Nothing_check">
<source>Use 'Is Nothing' check</source>
<target state="translated">Использовать флажок "Is Nothing"</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | -1 |
dotnet/roslyn | 56,030 | Remove RemoveUnusedReferences command hotkey | Resolves https://github.com/dotnet/roslyn/issues/56028 | JoeRobich | "2021-08-31T17:18:07Z" | "2021-08-31T18:42:08Z" | e01c311bd91e6290eefe9be9eeef76c64b08b2d5 | 2be2c34f110e7ce2f4cfd8e4b1f8153603087679 | Remove RemoveUnusedReferences command hotkey. Resolves https://github.com/dotnet/roslyn/issues/56028 | ./src/ExpressionEvaluator/VisualBasic/Source/ExpressionCompiler/xlf/Resources.ru.xlf | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="ru" original="../Resources.resx">
<body>
<trans-unit id="InvalidDebuggerStatement">
<source>Statements of type '{0}' are not allowed in the Immediate window.</source>
<target state="translated">Операторы типа "{0}" запрещено использовать в окне интерпретации.</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="ru" original="../Resources.resx">
<body>
<trans-unit id="InvalidDebuggerStatement">
<source>Statements of type '{0}' are not allowed in the Immediate window.</source>
<target state="translated">Операторы типа "{0}" запрещено использовать в окне интерпретации.</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | -1 |
dotnet/roslyn | 56,030 | Remove RemoveUnusedReferences command hotkey | Resolves https://github.com/dotnet/roslyn/issues/56028 | JoeRobich | "2021-08-31T17:18:07Z" | "2021-08-31T18:42:08Z" | e01c311bd91e6290eefe9be9eeef76c64b08b2d5 | 2be2c34f110e7ce2f4cfd8e4b1f8153603087679 | Remove RemoveUnusedReferences command hotkey. Resolves https://github.com/dotnet/roslyn/issues/56028 | ./src/Workspaces/Core/Desktop/xlf/WorkspaceDesktopResources.es.xlf | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="es" original="../WorkspaceDesktopResources.resx">
<body>
<trans-unit id="Invalid_assembly_name">
<source>Invalid assembly name</source>
<target state="translated">Nombre de ensamblado no válido</target>
<note />
</trans-unit>
<trans-unit id="Invalid_characters_in_assembly_name">
<source>Invalid characters in assembly name</source>
<target state="translated">Caracteres no válidos en el nombre de ensamblado</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="es" original="../WorkspaceDesktopResources.resx">
<body>
<trans-unit id="Invalid_assembly_name">
<source>Invalid assembly name</source>
<target state="translated">Nombre de ensamblado no válido</target>
<note />
</trans-unit>
<trans-unit id="Invalid_characters_in_assembly_name">
<source>Invalid characters in assembly name</source>
<target state="translated">Caracteres no válidos en el nombre de ensamblado</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | -1 |
dotnet/roslyn | 56,030 | Remove RemoveUnusedReferences command hotkey | Resolves https://github.com/dotnet/roslyn/issues/56028 | JoeRobich | "2021-08-31T17:18:07Z" | "2021-08-31T18:42:08Z" | e01c311bd91e6290eefe9be9eeef76c64b08b2d5 | 2be2c34f110e7ce2f4cfd8e4b1f8153603087679 | Remove RemoveUnusedReferences command hotkey. Resolves https://github.com/dotnet/roslyn/issues/56028 | ./src/EditorFeatures/Text/xlf/TextEditorResources.it.xlf | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="it" original="../TextEditorResources.resx">
<body>
<trans-unit id="The_snapshot_does_not_contain_the_specified_position">
<source>The snapshot does not contain the specified position.</source>
<target state="translated">Lo snapshot non contiene la posizione specificata.</target>
<note />
</trans-unit>
<trans-unit id="The_snapshot_does_not_contain_the_specified_span">
<source>The snapshot does not contain the specified span.</source>
<target state="translated">Lo snapshot non contiene la selezione specificata.</target>
<note />
</trans-unit>
<trans-unit id="textContainer_is_not_a_SourceTextContainer_that_was_created_from_an_ITextBuffer">
<source>textContainer is not a SourceTextContainer that was created from an ITextBuffer.</source>
<target state="translated">textContainer non è un elemento SourceTextContainer creato da ITextBuffer.</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="it" original="../TextEditorResources.resx">
<body>
<trans-unit id="The_snapshot_does_not_contain_the_specified_position">
<source>The snapshot does not contain the specified position.</source>
<target state="translated">Lo snapshot non contiene la posizione specificata.</target>
<note />
</trans-unit>
<trans-unit id="The_snapshot_does_not_contain_the_specified_span">
<source>The snapshot does not contain the specified span.</source>
<target state="translated">Lo snapshot non contiene la selezione specificata.</target>
<note />
</trans-unit>
<trans-unit id="textContainer_is_not_a_SourceTextContainer_that_was_created_from_an_ITextBuffer">
<source>textContainer is not a SourceTextContainer that was created from an ITextBuffer.</source>
<target state="translated">textContainer non è un elemento SourceTextContainer creato da ITextBuffer.</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | -1 |
dotnet/roslyn | 56,030 | Remove RemoveUnusedReferences command hotkey | Resolves https://github.com/dotnet/roslyn/issues/56028 | JoeRobich | "2021-08-31T17:18:07Z" | "2021-08-31T18:42:08Z" | e01c311bd91e6290eefe9be9eeef76c64b08b2d5 | 2be2c34f110e7ce2f4cfd8e4b1f8153603087679 | Remove RemoveUnusedReferences command hotkey. Resolves https://github.com/dotnet/roslyn/issues/56028 | ./src/Analyzers/CSharp/CodeFixes/xlf/CSharpCodeFixesResources.de.xlf | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="de" original="../CSharpCodeFixesResources.resx">
<body>
<trans-unit id="Add_this">
<source>Add 'this.'</source>
<target state="translated">"this." hinzufügen</target>
<note />
</trans-unit>
<trans-unit id="Convert_typeof_to_nameof">
<source>Convert 'typeof' to 'nameof'</source>
<target state="translated">"typeof" in "nameof" konvertieren</target>
<note />
</trans-unit>
<trans-unit id="Pass_in_captured_variables_as_arguments">
<source>Pass in captured variables as arguments</source>
<target state="translated">Erfasste Variablen als Argumente übergeben</target>
<note />
</trans-unit>
<trans-unit id="Place_colon_on_following_line">
<source>Place colon on following line</source>
<target state="translated">Doppelpunkt in folgender Zeile platzieren</target>
<note />
</trans-unit>
<trans-unit id="Place_statement_on_following_line">
<source>Place statement on following line</source>
<target state="translated">Anweisung in folgender Zeile platzieren</target>
<note />
</trans-unit>
<trans-unit id="Remove_Unnecessary_Usings">
<source>Remove Unnecessary Usings</source>
<target state="translated">Nicht benötigte Using-Direktiven entfernen</target>
<note />
</trans-unit>
<trans-unit id="Remove_blank_lines_between_braces">
<source>Remove blank line between braces</source>
<target state="translated">Leerzeile zwischen geschweiften Klammern entfernen</target>
<note />
</trans-unit>
<trans-unit id="Remove_unreachable_code">
<source>Remove unreachable code</source>
<target state="translated">Nicht erreichbaren Code entfernen</target>
<note />
</trans-unit>
<trans-unit id="Warning_colon_Adding_parameters_to_local_function_declaration_may_produce_invalid_code">
<source>Warning: Adding parameters to local function declaration may produce invalid code.</source>
<target state="translated">Warnung: Das Hinzufügen von Parametern zur Deklaration einer lokalen Funktion kann zu ungültigem Code führen.</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="de" original="../CSharpCodeFixesResources.resx">
<body>
<trans-unit id="Add_this">
<source>Add 'this.'</source>
<target state="translated">"this." hinzufügen</target>
<note />
</trans-unit>
<trans-unit id="Convert_typeof_to_nameof">
<source>Convert 'typeof' to 'nameof'</source>
<target state="translated">"typeof" in "nameof" konvertieren</target>
<note />
</trans-unit>
<trans-unit id="Pass_in_captured_variables_as_arguments">
<source>Pass in captured variables as arguments</source>
<target state="translated">Erfasste Variablen als Argumente übergeben</target>
<note />
</trans-unit>
<trans-unit id="Place_colon_on_following_line">
<source>Place colon on following line</source>
<target state="translated">Doppelpunkt in folgender Zeile platzieren</target>
<note />
</trans-unit>
<trans-unit id="Place_statement_on_following_line">
<source>Place statement on following line</source>
<target state="translated">Anweisung in folgender Zeile platzieren</target>
<note />
</trans-unit>
<trans-unit id="Remove_Unnecessary_Usings">
<source>Remove Unnecessary Usings</source>
<target state="translated">Nicht benötigte Using-Direktiven entfernen</target>
<note />
</trans-unit>
<trans-unit id="Remove_blank_lines_between_braces">
<source>Remove blank line between braces</source>
<target state="translated">Leerzeile zwischen geschweiften Klammern entfernen</target>
<note />
</trans-unit>
<trans-unit id="Remove_unreachable_code">
<source>Remove unreachable code</source>
<target state="translated">Nicht erreichbaren Code entfernen</target>
<note />
</trans-unit>
<trans-unit id="Warning_colon_Adding_parameters_to_local_function_declaration_may_produce_invalid_code">
<source>Warning: Adding parameters to local function declaration may produce invalid code.</source>
<target state="translated">Warnung: Das Hinzufügen von Parametern zur Deklaration einer lokalen Funktion kann zu ungültigem Code führen.</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | -1 |
dotnet/roslyn | 56,030 | Remove RemoveUnusedReferences command hotkey | Resolves https://github.com/dotnet/roslyn/issues/56028 | JoeRobich | "2021-08-31T17:18:07Z" | "2021-08-31T18:42:08Z" | e01c311bd91e6290eefe9be9eeef76c64b08b2d5 | 2be2c34f110e7ce2f4cfd8e4b1f8153603087679 | Remove RemoveUnusedReferences command hotkey. Resolves https://github.com/dotnet/roslyn/issues/56028 | ./src/Workspaces/Core/Portable/xlf/WorkspacesResources.tr.xlf | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="tr" original="../WorkspacesResources.resx">
<body>
<trans-unit id="A_project_may_not_reference_itself">
<source>A project may not reference itself.</source>
<target state="translated">Bir proje kendisine başvuru içeremez.</target>
<note />
</trans-unit>
<trans-unit id="Adding_analyzer_config_documents_is_not_supported">
<source>Adding analyzer config documents is not supported.</source>
<target state="translated">Çözümleyici yapılandırma belgelerinin eklenmesi desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="An_error_occurred_while_reading_the_specified_configuration_file_colon_0">
<source>An error occurred while reading the specified configuration file: {0}</source>
<target state="translated">Belirtilen yapılandırma dosyası okunurken bir hata oluştu: {0}</target>
<note />
</trans-unit>
<trans-unit id="CSharp_files">
<source>C# files</source>
<target state="translated">C# dosyalarını</target>
<note />
</trans-unit>
<trans-unit id="Cannot_apply_action_that_is_not_in_0">
<source>Cannot apply action that is not in '{0}'</source>
<target state="translated">'{0}' içinde olmayan eylem uygulanamıyor</target>
<note />
</trans-unit>
<trans-unit id="Changing_analyzer_config_documents_is_not_supported">
<source>Changing analyzer config documents is not supported.</source>
<target state="translated">Çözümleyici yapılandırma belgelerinin değiştirilmesi desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="Changing_document_0_is_not_supported">
<source>Changing document '{0}' is not supported.</source>
<target state="translated">Değişen belge '{0}' desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="CodeAction_{0}_did_not_produce_a_changed_solution">
<source>CodeAction '{0}' did not produce a changed solution</source>
<target state="translated">'{0}' CodeAction, değiştirilmiş çözüm üretmedi</target>
<note>"CodeAction" is a specific type, and {0} represents the title shown by the action.</note>
</trans-unit>
<trans-unit id="Core_EditorConfig_Options">
<source>Core EditorConfig Options</source>
<target state="translated">Çekirdek EditorConfig seçenekleri</target>
<note />
</trans-unit>
<trans-unit id="DateTimeKind_must_be_Utc">
<source>DateTimeKind must be Utc</source>
<target state="translated">DateTimeKind Utc olmalıdır</target>
<note />
</trans-unit>
<trans-unit id="Destination_type_must_be_a_0_1_2_or_3_but_given_one_is_4">
<source>Destination type must be a {0}, {1}, {2} or {3}, but given one is {4}.</source>
<target state="translated">Hedef tür bir {0}, {1}, {2} veya {3} olmalı, ancak {4} belirtildi.</target>
<note />
</trans-unit>
<trans-unit id="Document_does_not_support_syntax_trees">
<source>Document does not support syntax trees</source>
<target state="translated">Belge, söz dizimi ağaçlarını desteklemiyor</target>
<note />
</trans-unit>
<trans-unit id="Error_reading_content_of_source_file_0_1">
<source>Error reading content of source file '{0}' -- '{1}'.</source>
<target state="translated">'{0}' kaynak dosyasının içeriği okunurken hata oluştu -- '{1}'.</target>
<note />
</trans-unit>
<trans-unit id="Indentation_and_spacing">
<source>Indentation and spacing</source>
<target state="translated">Girinti ve aralığı</target>
<note />
</trans-unit>
<trans-unit id="New_line_preferences">
<source>New line preferences</source>
<target state="translated">Yeni satır tercihleri</target>
<note />
</trans-unit>
<trans-unit id="Only_submission_project_can_reference_submission_projects">
<source>Only submission project can reference submission projects.</source>
<target state="translated">Gönderim projelerine yalnızca gönderim projesi başvurabilir.</target>
<note />
</trans-unit>
<trans-unit id="Options_did_not_come_from_specified_Solution">
<source>Options did not come from specified Solution</source>
<target state="translated">Seçenekler belirtilen Çözümden gelmedi</target>
<note />
</trans-unit>
<trans-unit id="Predefined_conversion_from_0_to_1">
<source>Predefined conversion from {0} to {1}.</source>
<target state="translated">{0} öğesinden {1} öğesine dönüştürme önceden tanımlandı.</target>
<note />
</trans-unit>
<trans-unit id="Project_does_not_contain_specified_reference">
<source>Project does not contain specified reference</source>
<target state="translated">Proje belirtilen başvuruyu içermiyor</target>
<note />
</trans-unit>
<trans-unit id="Refactoring_Only">
<source>Refactoring Only</source>
<target state="translated">Sadece Yeniden Düzenlenme</target>
<note />
</trans-unit>
<trans-unit id="Remove_the_line_below_if_you_want_to_inherit_dot_editorconfig_settings_from_higher_directories">
<source>Remove the line below if you want to inherit .editorconfig settings from higher directories</source>
<target state="translated">.Editorconfig ayarları daha yüksek dizinlerden devralmak isterseniz aşağıdaki satırı Kaldır</target>
<note />
</trans-unit>
<trans-unit id="Removing_analyzer_config_documents_is_not_supported">
<source>Removing analyzer config documents is not supported.</source>
<target state="translated">Çözümleyici yapılandırma belgelerinin kaldırılması desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="Rename_0_to_1">
<source>Rename '{0}' to '{1}'</source>
<target state="translated">'{0}' öğesini '{1}' olarak yeniden adlandır</target>
<note />
</trans-unit>
<trans-unit id="Solution_does_not_contain_specified_reference">
<source>Solution does not contain specified reference</source>
<target state="translated">Çözüm belirtilen başvuruyu içermiyor</target>
<note />
</trans-unit>
<trans-unit id="Symbol_0_is_not_from_source">
<source>Symbol "{0}" is not from source.</source>
<target state="translated">"{0}" sembolü kaynağa ait değil.</target>
<note />
</trans-unit>
<trans-unit id="Documentation_comment_id_must_start_with_E_F_M_N_P_or_T">
<source>Documentation comment id must start with E, F, M, N, P or T</source>
<target state="translated">Belge açıklaması kimliği E, F, M, N, P veya T ile başlamalıdır</target>
<note />
</trans-unit>
<trans-unit id="Cycle_detected_in_extensions">
<source>Cycle detected in extensions</source>
<target state="translated">Uzantılarda döngü algılandı</target>
<note />
</trans-unit>
<trans-unit id="Destination_type_must_be_a_0_but_given_one_is_1">
<source>Destination type must be a {0}, but given one is {1}.</source>
<target state="translated">Hedef tür bir {0} olmalı, ancak {1} belirtildi.</target>
<note />
</trans-unit>
<trans-unit id="Destination_type_must_be_a_0_or_a_1_but_given_one_is_2">
<source>Destination type must be a {0} or a {1}, but given one is {2}.</source>
<target state="translated">Hedef tür bir {0} veya {1} olmalı, ancak {2} belirtildi.</target>
<note />
</trans-unit>
<trans-unit id="Destination_type_must_be_a_0_1_or_2_but_given_one_is_3">
<source>Destination type must be a {0}, {1} or {2}, but given one is {3}.</source>
<target state="translated">Hedef tür bir {0}, {1} veya {2} olmalı, ancak {3} belirtildi.</target>
<note />
</trans-unit>
<trans-unit id="Could_not_find_location_to_generation_symbol_into">
<source>Could not find location to generation symbol into.</source>
<target state="translated">Sembolün üretileceği konum bulunamadı.</target>
<note />
</trans-unit>
<trans-unit id="No_location_provided_to_add_statements_to">
<source>No location provided to add statements to.</source>
<target state="translated">Deyimlerin ekleneceği konum sağlanmadı.</target>
<note />
</trans-unit>
<trans-unit id="Destination_location_was_not_in_source">
<source>Destination location was not in source.</source>
<target state="translated">Hedef konum kaynakta değildi.</target>
<note />
</trans-unit>
<trans-unit id="Destination_location_was_from_a_different_tree">
<source>Destination location was from a different tree.</source>
<target state="translated">Hedef konum farklı bir ağaçtandı.</target>
<note />
</trans-unit>
<trans-unit id="Node_is_of_the_wrong_type">
<source>Node is of the wrong type.</source>
<target state="translated">Düğüm yanlış türde.</target>
<note />
</trans-unit>
<trans-unit id="Location_must_be_null_or_from_source">
<source>Location must be null or from source.</source>
<target state="translated">Konum boş veya kaynağa ait olmalıdır.</target>
<note />
</trans-unit>
<trans-unit id="Duplicate_source_file_0_in_project_1">
<source>Duplicate source file '{0}' in project '{1}'</source>
<target state="translated">'{1}' projesinde yinelenen kaynak dosyası '{0}'</target>
<note />
</trans-unit>
<trans-unit id="Removing_projects_is_not_supported">
<source>Removing projects is not supported.</source>
<target state="translated">Projelerin kaldırılması desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="Adding_projects_is_not_supported">
<source>Adding projects is not supported.</source>
<target state="translated">Projelerin eklenmesi desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="Symbols_project_could_not_be_found_in_the_provided_solution">
<source>Symbol's project could not be found in the provided solution</source>
<target state="translated">Sembolün projesi, sağlanan çözümde bulunamadı</target>
<note />
</trans-unit>
<trans-unit id="Sync_namespace_to_folder_structure">
<source>Sync namespace to folder structure</source>
<target state="translated">Ad alanını klasör yapısına eşitle</target>
<note />
</trans-unit>
<trans-unit id="The_contents_of_a_SourceGeneratedDocument_may_not_be_changed">
<source>The contents of a SourceGeneratedDocument may not be changed.</source>
<target state="translated">SourceGeneratedDocument'ın içeriği değiştirilemez.</target>
<note>{locked:SourceGeneratedDocument}</note>
</trans-unit>
<trans-unit id="The_project_already_contains_the_specified_reference">
<source>The project already contains the specified reference.</source>
<target state="translated">Proje belirtilen başvuruyu zaten içeriyor.</target>
<note />
</trans-unit>
<trans-unit id="The_solution_already_contains_the_specified_reference">
<source>The solution already contains the specified reference.</source>
<target state="translated">Çözüm belirtilen başvuruyu zaten içeriyor.</target>
<note />
</trans-unit>
<trans-unit id="Unknown">
<source>Unknown</source>
<target state="translated">Bilinmiyor</target>
<note />
</trans-unit>
<trans-unit id="Visual_Basic_files">
<source>Visual Basic files</source>
<target state="translated">Visual Basic dosyaları</target>
<note />
</trans-unit>
<trans-unit id="Warning_adding_imports_will_bring_an_extension_method_into_scope_with_the_same_name_as_member_access">
<source>Adding imports will bring an extension method into scope with the same name as '{0}'</source>
<target state="translated">İçeri aktarmalar eklemek, bir genişletme yöntemini '{0}' ile aynı ada sahip kapsam içine alacaktır</target>
<note />
</trans-unit>
<trans-unit id="Workspace_error">
<source>Workspace error</source>
<target state="translated">Çalışma alanı hatası</target>
<note />
</trans-unit>
<trans-unit id="Workspace_is_not_empty">
<source>Workspace is not empty.</source>
<target state="translated">Çalışma alanı boş değil.</target>
<note />
</trans-unit>
<trans-unit id="_0_is_in_a_different_project">
<source>{0} is in a different project.</source>
<target state="translated">{0}, farklı bir projede.</target>
<note />
</trans-unit>
<trans-unit id="_0_is_not_part_of_the_workspace">
<source>'{0}' is not part of the workspace.</source>
<target state="translated">'{0}' çalışma alanının parçası değildir.</target>
<note />
</trans-unit>
<trans-unit id="_0_is_already_part_of_the_workspace">
<source>'{0}' is already part of the workspace.</source>
<target state="translated">'{0}' zaten çalışma alanının parçasıdır.</target>
<note />
</trans-unit>
<trans-unit id="_0_is_not_referenced">
<source>'{0}' is not referenced.</source>
<target state="translated">'{0}' öğesine başvurulmadı.</target>
<note />
</trans-unit>
<trans-unit id="_0_is_already_referenced">
<source>'{0}' is already referenced.</source>
<target state="translated">'{0}' öğesine zaten başvuruldu.</target>
<note />
</trans-unit>
<trans-unit id="Adding_project_reference_from_0_to_1_will_cause_a_circular_reference">
<source>Adding project reference from '{0}' to '{1}' will cause a circular reference.</source>
<target state="translated">Proje başvurusunu '{0}' üzerinden '{1}' üzerine eklemek döngüsel başvuruya neden olur.</target>
<note />
</trans-unit>
<trans-unit id="Metadata_is_not_referenced">
<source>Metadata is not referenced.</source>
<target state="translated">Meta verilere başvurulmadı.</target>
<note />
</trans-unit>
<trans-unit id="Metadata_is_already_referenced">
<source>Metadata is already referenced.</source>
<target state="translated">Meta verilere zaten başvuruldu.</target>
<note />
</trans-unit>
<trans-unit id="_0_is_not_present">
<source>{0} is not present.</source>
<target state="translated">{0} yok.</target>
<note />
</trans-unit>
<trans-unit id="_0_is_already_present">
<source>{0} is already present.</source>
<target state="translated">{0} zaten var.</target>
<note />
</trans-unit>
<trans-unit id="The_specified_document_is_not_a_version_of_this_document">
<source>The specified document is not a version of this document.</source>
<target state="translated">Belirtilen belge bu belgenin bir sürümü değil.</target>
<note />
</trans-unit>
<trans-unit id="The_language_0_is_not_supported">
<source>The language '{0}' is not supported.</source>
<target state="translated">'{0}' dili desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="The_solution_already_contains_the_specified_project">
<source>The solution already contains the specified project.</source>
<target state="translated">Çözüm belirtilen projeyi zaten içeriyor.</target>
<note />
</trans-unit>
<trans-unit id="The_solution_does_not_contain_the_specified_project">
<source>The solution does not contain the specified project.</source>
<target state="translated">Çözüm belirtilen projeyi içermiyor.</target>
<note />
</trans-unit>
<trans-unit id="The_project_already_references_the_target_project">
<source>The project already references the target project.</source>
<target state="translated">Proje zaten hedef projeye başvuruyor.</target>
<note />
</trans-unit>
<trans-unit id="The_solution_already_contains_the_specified_document">
<source>The solution already contains the specified document.</source>
<target state="translated">Çözüm belirtilen belgeyi zaten içeriyor.</target>
<note />
</trans-unit>
<trans-unit id="Temporary_storage_cannot_be_written_more_than_once">
<source>Temporary storage cannot be written more than once.</source>
<target state="translated">Geçici depolamaya birden fazla kez yazılamaz.</target>
<note />
</trans-unit>
<trans-unit id="_0_is_not_open">
<source>'{0}' is not open.</source>
<target state="translated">'{0}' açık değil.</target>
<note />
</trans-unit>
<trans-unit id="A_language_name_cannot_be_specified_for_this_option">
<source>A language name cannot be specified for this option.</source>
<target state="translated">Bu seçenek için bir dil adı belirtilemiyor.</target>
<note />
</trans-unit>
<trans-unit id="A_language_name_must_be_specified_for_this_option">
<source>A language name must be specified for this option.</source>
<target state="translated">Bu seçenek için bir dil adı belirtilmelidir.</target>
<note />
</trans-unit>
<trans-unit id="File_was_externally_modified_colon_0">
<source>File was externally modified: {0}.</source>
<target state="translated">Dosya dışarıdan değiştirildi: {0}.</target>
<note />
</trans-unit>
<trans-unit id="Unrecognized_language_name">
<source>Unrecognized language name.</source>
<target state="translated">Tanınmayan dil adı.</target>
<note />
</trans-unit>
<trans-unit id="Can_t_resolve_metadata_reference_colon_0">
<source>Can't resolve metadata reference: '{0}'.</source>
<target state="translated">Meta veri başvurusu çözümlenemiyor: '{0}'.</target>
<note />
</trans-unit>
<trans-unit id="Can_t_resolve_analyzer_reference_colon_0">
<source>Can't resolve analyzer reference: '{0}'.</source>
<target state="translated">Çözümleyici başvurusu çözümlenemiyor: '{0}'.</target>
<note />
</trans-unit>
<trans-unit id="Invalid_project_block_expected_after_Project">
<source>Invalid project block, expected "=" after Project.</source>
<target state="translated">Proje bloğu geçersiz, Proje'den sonra "=" bekleniyor.</target>
<note />
</trans-unit>
<trans-unit id="Invalid_project_block_expected_after_project_name">
<source>Invalid project block, expected "," after project name.</source>
<target state="translated">Proje bloğu geçersiz, proje adından sonra "," bekleniyor.</target>
<note />
</trans-unit>
<trans-unit id="Invalid_project_block_expected_after_project_path">
<source>Invalid project block, expected "," after project path.</source>
<target state="translated">Proje bloğu geçersiz, proje yolundan sonra "," bekleniyor.</target>
<note />
</trans-unit>
<trans-unit id="Expected_0">
<source>Expected {0}.</source>
<target state="translated">{0} bekleniyor.</target>
<note />
</trans-unit>
<trans-unit id="_0_must_be_a_non_null_and_non_empty_string">
<source>"{0}" must be a non-null and non-empty string.</source>
<target state="translated">"{0}" null olmayan ve boş olmayan bir dize olmalıdır.</target>
<note />
</trans-unit>
<trans-unit id="Expected_header_colon_0">
<source>Expected header: "{0}".</source>
<target state="translated">Üst bilgi bekleniyor: "{0}".</target>
<note />
</trans-unit>
<trans-unit id="Expected_end_of_file">
<source>Expected end-of-file.</source>
<target state="translated">Dosya sonu bekleniyor.</target>
<note />
</trans-unit>
<trans-unit id="Expected_0_line">
<source>Expected {0} line.</source>
<target state="translated">{0} satırı bekleniyor.</target>
<note />
</trans-unit>
<trans-unit id="This_submission_already_references_another_submission_project">
<source>This submission already references another submission project.</source>
<target state="translated">Bu gönderim zaten farklı bir gönderim projesine başvuruyor.</target>
<note />
</trans-unit>
<trans-unit id="_0_still_contains_open_documents">
<source>{0} still contains open documents.</source>
<target state="translated">{0} hala açık belgeler içeriyor.</target>
<note />
</trans-unit>
<trans-unit id="_0_is_still_open">
<source>{0} is still open.</source>
<target state="translated">{0} hala açık.</target>
<note />
</trans-unit>
<trans-unit id="Arrays_with_more_than_one_dimension_cannot_be_serialized">
<source>Arrays with more than one dimension cannot be serialized.</source>
<target state="translated">Birden çok boyutlu diziler seri hale getirilemez.</target>
<note />
</trans-unit>
<trans-unit id="Value_too_large_to_be_represented_as_a_30_bit_unsigned_integer">
<source>Value too large to be represented as a 30 bit unsigned integer.</source>
<target state="translated">Değer, 30 bit işaretsiz tamsayı olarak temsil edilemeyecek kadar büyük.</target>
<note />
</trans-unit>
<trans-unit id="Specified_path_must_be_absolute">
<source>Specified path must be absolute.</source>
<target state="translated">Belirtilen yol mutlak olmalıdır.</target>
<note />
</trans-unit>
<trans-unit id="Name_can_be_simplified">
<source>Name can be simplified.</source>
<target state="translated">Ad basitleştirilebilir.</target>
<note />
</trans-unit>
<trans-unit id="Unknown_identifier">
<source>Unknown identifier.</source>
<target state="translated">Bilinmeyen tanıtıcı.</target>
<note />
</trans-unit>
<trans-unit id="Cannot_generate_code_for_unsupported_operator_0">
<source>Cannot generate code for unsupported operator '{0}'</source>
<target state="translated">Desteklenmeyen operatör '{0}' için kod üretilemiyor</target>
<note />
</trans-unit>
<trans-unit id="Invalid_number_of_parameters_for_binary_operator">
<source>Invalid number of parameters for binary operator.</source>
<target state="translated">İkili operatör için parametre sayısı geçersiz.</target>
<note />
</trans-unit>
<trans-unit id="Invalid_number_of_parameters_for_unary_operator">
<source>Invalid number of parameters for unary operator.</source>
<target state="translated">Birli operatör için parametre sayısı geçersiz.</target>
<note />
</trans-unit>
<trans-unit id="Cannot_open_project_0_because_the_file_extension_1_is_not_associated_with_a_language">
<source>Cannot open project '{0}' because the file extension '{1}' is not associated with a language.</source>
<target state="translated">Dosya uzantısı '{1}' bir dil ile ilişkili olmadığı için '{0}' projesi açılamıyor.</target>
<note />
</trans-unit>
<trans-unit id="Cannot_open_project_0_because_the_language_1_is_not_supported">
<source>Cannot open project '{0}' because the language '{1}' is not supported.</source>
<target state="translated">'{1}' dili desteklenmediği için '{0}' projesi açılamıyor.</target>
<note />
</trans-unit>
<trans-unit id="Invalid_project_file_path_colon_0">
<source>Invalid project file path: '{0}'</source>
<target state="translated">Geçersiz proje dosyası yolu: '{0}'</target>
<note />
</trans-unit>
<trans-unit id="Invalid_solution_file_path_colon_0">
<source>Invalid solution file path: '{0}'</source>
<target state="translated">Geçersiz çözüm dosyası yolu: '{0}'</target>
<note />
</trans-unit>
<trans-unit id="Project_file_not_found_colon_0">
<source>Project file not found: '{0}'</source>
<target state="translated">Proje dosyası bulunamadı: '{0}'</target>
<note />
</trans-unit>
<trans-unit id="Solution_file_not_found_colon_0">
<source>Solution file not found: '{0}'</source>
<target state="translated">Çözüm dosyası bulunamadı: '{0}'</target>
<note />
</trans-unit>
<trans-unit id="Unmerged_change_from_project_0">
<source>Unmerged change from project '{0}'</source>
<target state="translated">'{0}' projesinden birleştirilmemiş değişiklik</target>
<note />
</trans-unit>
<trans-unit id="Added_colon">
<source>Added:</source>
<target state="translated">Eklendi:</target>
<note />
</trans-unit>
<trans-unit id="After_colon">
<source>After:</source>
<target state="translated">Önce:</target>
<note />
</trans-unit>
<trans-unit id="Before_colon">
<source>Before:</source>
<target state="translated">Sonra:</target>
<note />
</trans-unit>
<trans-unit id="Removed_colon">
<source>Removed:</source>
<target state="translated">Kaldırıldı:</target>
<note />
</trans-unit>
<trans-unit id="Invalid_CodePage_value_colon_0">
<source>Invalid CodePage value: {0}</source>
<target state="translated">Geçersiz CodePage değeri: {0}</target>
<note />
</trans-unit>
<trans-unit id="Adding_additional_documents_is_not_supported">
<source>Adding additional documents is not supported.</source>
<target state="translated">Ek belgelerin eklenmesi desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="Adding_analyzer_references_is_not_supported">
<source>Adding analyzer references is not supported.</source>
<target state="translated">Çözümleyici başvurularının eklenmesi desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="Adding_documents_is_not_supported">
<source>Adding documents is not supported.</source>
<target state="translated">Belgelerin eklenmesi desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="Adding_metadata_references_is_not_supported">
<source>Adding metadata references is not supported.</source>
<target state="translated">Meta veri başvurularının eklenmesi desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="Adding_project_references_is_not_supported">
<source>Adding project references is not supported.</source>
<target state="translated">Proje başvurularının eklenmesi desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="Changing_additional_documents_is_not_supported">
<source>Changing additional documents is not supported.</source>
<target state="translated">Ek belgelerin değiştirilmesi desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="Changing_documents_is_not_supported">
<source>Changing documents is not supported.</source>
<target state="translated">Belgelerin değiştirilmesi desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="Changing_project_properties_is_not_supported">
<source>Changing project properties is not supported.</source>
<target state="translated">Proje özelliklerinin değiştirilmesi desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="Removing_additional_documents_is_not_supported">
<source>Removing additional documents is not supported.</source>
<target state="translated">Ek belgelerin kaldırılması desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="Removing_analyzer_references_is_not_supported">
<source>Removing analyzer references is not supported.</source>
<target state="translated">Çözümleyici başvurularının kaldırılması desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="Removing_documents_is_not_supported">
<source>Removing documents is not supported.</source>
<target state="translated">Belgelerin kaldırılması desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="Removing_metadata_references_is_not_supported">
<source>Removing metadata references is not supported.</source>
<target state="translated">Meta veri başvurularının kaldırılması desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="Removing_project_references_is_not_supported">
<source>Removing project references is not supported.</source>
<target state="translated">Proje başvurularının kaldırılması desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="Service_of_type_0_is_required_to_accomplish_the_task_but_is_not_available_from_the_workspace">
<source>Service of type '{0}' is required to accomplish the task but is not available from the workspace.</source>
<target state="translated">Görevi gerçekleştirmek için '{0}' türünde hizmet gerekli, ancak bu hizmet çalışma alanında yok.</target>
<note />
</trans-unit>
<trans-unit id="At_least_one_diagnostic_must_be_supplied">
<source>At least one diagnostic must be supplied.</source>
<target state="translated">En az bir tanı sağlanmalıdır.</target>
<note />
</trans-unit>
<trans-unit id="Diagnostic_must_have_span_0">
<source>Diagnostic must have span '{0}'</source>
<target state="translated">Tanı, '{0}' yayılmasına sahip olmalıdır</target>
<note />
</trans-unit>
<trans-unit id="Cannot_deserialize_type_0">
<source>Cannot deserialize type '{0}'.</source>
<target state="translated">'{0}' türü seri durumdan çıkarılamıyor.</target>
<note />
</trans-unit>
<trans-unit id="Cannot_serialize_type_0">
<source>Cannot serialize type '{0}'.</source>
<target state="translated">'{0}' türü seri hale getirilemiyor.</target>
<note />
</trans-unit>
<trans-unit id="The_type_0_is_not_understood_by_the_serialization_binder">
<source>The type '{0}' is not understood by the serialization binder.</source>
<target state="translated">'{0}' türü, serileştirme bağlayıcısı tarafından anlaşılamıyor.</target>
<note />
</trans-unit>
<trans-unit id="Label_for_node_0_is_invalid_it_must_be_within_bracket_0_1">
<source>Label for node '{0}' is invalid, it must be within [0, {1}).</source>
<target state="translated">'{0}' düğümünün etiketi geçersiz, etiket [0, {1}) içerisinde olmalıdır.</target>
<note />
</trans-unit>
<trans-unit id="Matching_nodes_0_and_1_must_have_the_same_label">
<source>Matching nodes '{0}' and '{1}' must have the same label.</source>
<target state="translated">Eşleşen '{0}' ve '{1}' düğümlerinin etiketi aynı olmalıdır.</target>
<note />
</trans-unit>
<trans-unit id="Node_0_must_be_contained_in_the_new_tree">
<source>Node '{0}' must be contained in the new tree.</source>
<target state="translated">Yeni ağaçta '{0}' düğümü bulunmalıdır.</target>
<note />
</trans-unit>
<trans-unit id="Node_0_must_be_contained_in_the_old_tree">
<source>Node '{0}' must be contained in the old tree.</source>
<target state="translated">Eski ağaçta '{0}' düğümü bulunmalıdır.</target>
<note />
</trans-unit>
<trans-unit id="The_member_0_is_not_declared_within_the_declaration_of_the_symbol">
<source>The member '{0}' is not declared within the declaration of the symbol.</source>
<target state="translated">'{0}' üyesi, sembolün bildirimi içerisinde bildirilmedi.</target>
<note />
</trans-unit>
<trans-unit id="The_position_is_not_within_the_symbol_s_declaration">
<source>The position is not within the symbol's declaration</source>
<target state="translated">Konum, sembolün bildirimi içinde bildirilmedi</target>
<note />
</trans-unit>
<trans-unit id="The_symbol_0_cannot_be_located_within_the_current_solution">
<source>The symbol '{0}' cannot be located within the current solution.</source>
<target state="translated">'{0}' sembolü geçerli çözümde bulunamaz.</target>
<note />
</trans-unit>
<trans-unit id="Changing_compilation_options_is_not_supported">
<source>Changing compilation options is not supported.</source>
<target state="translated">Derleme seçeneklerini değiştirme desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="Changing_parse_options_is_not_supported">
<source>Changing parse options is not supported.</source>
<target state="translated">Ayrıştırma seçeneklerini değiştirme desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="The_node_is_not_part_of_the_tree">
<source>The node is not part of the tree.</source>
<target state="translated">Düğüm, ağacın bir parçası değil.</target>
<note />
</trans-unit>
<trans-unit id="This_workspace_does_not_support_opening_and_closing_documents">
<source>This workspace does not support opening and closing documents.</source>
<target state="translated">Bu çalışma alanı, belgeleri açıp kapatmayı desteklemiyor.</target>
<note />
</trans-unit>
<trans-unit id="Exceptions_colon">
<source>Exceptions:</source>
<target state="translated">Özel Durumlar:</target>
<note />
</trans-unit>
<trans-unit id="_0_returned_an_uninitialized_ImmutableArray">
<source>'{0}' returned an uninitialized ImmutableArray</source>
<target state="translated">'{0}' başlatılmamış bir ImmutableArray döndürdü</target>
<note />
</trans-unit>
<trans-unit id="Failure">
<source>Failure</source>
<target state="translated">Hata</target>
<note />
</trans-unit>
<trans-unit id="Warning">
<source>Warning</source>
<target state="translated">Uyarı</target>
<note />
</trans-unit>
<trans-unit id="Enable">
<source>Enable</source>
<target state="translated">Etkinleştir</target>
<note />
</trans-unit>
<trans-unit id="Enable_and_ignore_future_errors">
<source>Enable and ignore future errors</source>
<target state="translated">Etkinleştir ve gelecekteki hataları yoksay</target>
<note />
</trans-unit>
<trans-unit id="_0_encountered_an_error_and_has_been_disabled">
<source>'{0}' encountered an error and has been disabled.</source>
<target state="translated">'{0}' bir hatayla karşılaştı ve devre dışı bırakıldı.</target>
<note />
</trans-unit>
<trans-unit id="Show_Stack_Trace">
<source>Show Stack Trace</source>
<target state="translated">Yığın İzlemesini Göster</target>
<note />
</trans-unit>
<trans-unit id="Stream_is_too_long">
<source>Stream is too long.</source>
<target state="translated">Akış çok uzun.</target>
<note />
</trans-unit>
<trans-unit id="Deserialization_reader_for_0_read_incorrect_number_of_values">
<source>Deserialization reader for '{0}' read incorrect number of values.</source>
<target state="translated">'{0}' türünün seri durumdan çıkarma okuyucusu, yanlış sayıda değer okudu.</target>
<note />
</trans-unit>
<trans-unit id="Async_Method">
<source>Async Method</source>
<target state="translated">Zaman Uyumsuz Metot</target>
<note>{locked: async}{locked: method} These are keywords (unless the order of words or capitalization should be handled differently)</note>
</trans-unit>
<trans-unit id="Error">
<source>Error</source>
<target state="translated">Hata</target>
<note />
</trans-unit>
<trans-unit id="None">
<source>None</source>
<target state="translated">yok</target>
<note />
</trans-unit>
<trans-unit id="Suggestion">
<source>Suggestion</source>
<target state="translated">Öneri</target>
<note />
</trans-unit>
<trans-unit id="File_0_size_of_1_exceeds_maximum_allowed_size_of_2">
<source>File '{0}' size of {1} exceeds maximum allowed size of {2}</source>
<target state="translated">'{0}' adlı dosyanın boyutu ({1}), izin verilen üst sınırı ({2}) aşıyor</target>
<note />
</trans-unit>
<trans-unit id="Changing_document_property_is_not_supported">
<source>Changing document properties is not supported</source>
<target state="translated">Belge özelliklerinin değiştirilmesi desteklenmiyor</target>
<note />
</trans-unit>
<trans-unit id="dot_NET_Coding_Conventions">
<source>.NET Coding Conventions</source>
<target state="translated">.NET kodlama kuralları</target>
<note />
</trans-unit>
<trans-unit id="Variables_captured_colon">
<source>Variables captured:</source>
<target state="translated">Toplanan değişkenler:</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="tr" original="../WorkspacesResources.resx">
<body>
<trans-unit id="A_project_may_not_reference_itself">
<source>A project may not reference itself.</source>
<target state="translated">Bir proje kendisine başvuru içeremez.</target>
<note />
</trans-unit>
<trans-unit id="Adding_analyzer_config_documents_is_not_supported">
<source>Adding analyzer config documents is not supported.</source>
<target state="translated">Çözümleyici yapılandırma belgelerinin eklenmesi desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="An_error_occurred_while_reading_the_specified_configuration_file_colon_0">
<source>An error occurred while reading the specified configuration file: {0}</source>
<target state="translated">Belirtilen yapılandırma dosyası okunurken bir hata oluştu: {0}</target>
<note />
</trans-unit>
<trans-unit id="CSharp_files">
<source>C# files</source>
<target state="translated">C# dosyalarını</target>
<note />
</trans-unit>
<trans-unit id="Cannot_apply_action_that_is_not_in_0">
<source>Cannot apply action that is not in '{0}'</source>
<target state="translated">'{0}' içinde olmayan eylem uygulanamıyor</target>
<note />
</trans-unit>
<trans-unit id="Changing_analyzer_config_documents_is_not_supported">
<source>Changing analyzer config documents is not supported.</source>
<target state="translated">Çözümleyici yapılandırma belgelerinin değiştirilmesi desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="Changing_document_0_is_not_supported">
<source>Changing document '{0}' is not supported.</source>
<target state="translated">Değişen belge '{0}' desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="CodeAction_{0}_did_not_produce_a_changed_solution">
<source>CodeAction '{0}' did not produce a changed solution</source>
<target state="translated">'{0}' CodeAction, değiştirilmiş çözüm üretmedi</target>
<note>"CodeAction" is a specific type, and {0} represents the title shown by the action.</note>
</trans-unit>
<trans-unit id="Core_EditorConfig_Options">
<source>Core EditorConfig Options</source>
<target state="translated">Çekirdek EditorConfig seçenekleri</target>
<note />
</trans-unit>
<trans-unit id="DateTimeKind_must_be_Utc">
<source>DateTimeKind must be Utc</source>
<target state="translated">DateTimeKind Utc olmalıdır</target>
<note />
</trans-unit>
<trans-unit id="Destination_type_must_be_a_0_1_2_or_3_but_given_one_is_4">
<source>Destination type must be a {0}, {1}, {2} or {3}, but given one is {4}.</source>
<target state="translated">Hedef tür bir {0}, {1}, {2} veya {3} olmalı, ancak {4} belirtildi.</target>
<note />
</trans-unit>
<trans-unit id="Document_does_not_support_syntax_trees">
<source>Document does not support syntax trees</source>
<target state="translated">Belge, söz dizimi ağaçlarını desteklemiyor</target>
<note />
</trans-unit>
<trans-unit id="Error_reading_content_of_source_file_0_1">
<source>Error reading content of source file '{0}' -- '{1}'.</source>
<target state="translated">'{0}' kaynak dosyasının içeriği okunurken hata oluştu -- '{1}'.</target>
<note />
</trans-unit>
<trans-unit id="Indentation_and_spacing">
<source>Indentation and spacing</source>
<target state="translated">Girinti ve aralığı</target>
<note />
</trans-unit>
<trans-unit id="New_line_preferences">
<source>New line preferences</source>
<target state="translated">Yeni satır tercihleri</target>
<note />
</trans-unit>
<trans-unit id="Only_submission_project_can_reference_submission_projects">
<source>Only submission project can reference submission projects.</source>
<target state="translated">Gönderim projelerine yalnızca gönderim projesi başvurabilir.</target>
<note />
</trans-unit>
<trans-unit id="Options_did_not_come_from_specified_Solution">
<source>Options did not come from specified Solution</source>
<target state="translated">Seçenekler belirtilen Çözümden gelmedi</target>
<note />
</trans-unit>
<trans-unit id="Predefined_conversion_from_0_to_1">
<source>Predefined conversion from {0} to {1}.</source>
<target state="translated">{0} öğesinden {1} öğesine dönüştürme önceden tanımlandı.</target>
<note />
</trans-unit>
<trans-unit id="Project_does_not_contain_specified_reference">
<source>Project does not contain specified reference</source>
<target state="translated">Proje belirtilen başvuruyu içermiyor</target>
<note />
</trans-unit>
<trans-unit id="Refactoring_Only">
<source>Refactoring Only</source>
<target state="translated">Sadece Yeniden Düzenlenme</target>
<note />
</trans-unit>
<trans-unit id="Remove_the_line_below_if_you_want_to_inherit_dot_editorconfig_settings_from_higher_directories">
<source>Remove the line below if you want to inherit .editorconfig settings from higher directories</source>
<target state="translated">.Editorconfig ayarları daha yüksek dizinlerden devralmak isterseniz aşağıdaki satırı Kaldır</target>
<note />
</trans-unit>
<trans-unit id="Removing_analyzer_config_documents_is_not_supported">
<source>Removing analyzer config documents is not supported.</source>
<target state="translated">Çözümleyici yapılandırma belgelerinin kaldırılması desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="Rename_0_to_1">
<source>Rename '{0}' to '{1}'</source>
<target state="translated">'{0}' öğesini '{1}' olarak yeniden adlandır</target>
<note />
</trans-unit>
<trans-unit id="Solution_does_not_contain_specified_reference">
<source>Solution does not contain specified reference</source>
<target state="translated">Çözüm belirtilen başvuruyu içermiyor</target>
<note />
</trans-unit>
<trans-unit id="Symbol_0_is_not_from_source">
<source>Symbol "{0}" is not from source.</source>
<target state="translated">"{0}" sembolü kaynağa ait değil.</target>
<note />
</trans-unit>
<trans-unit id="Documentation_comment_id_must_start_with_E_F_M_N_P_or_T">
<source>Documentation comment id must start with E, F, M, N, P or T</source>
<target state="translated">Belge açıklaması kimliği E, F, M, N, P veya T ile başlamalıdır</target>
<note />
</trans-unit>
<trans-unit id="Cycle_detected_in_extensions">
<source>Cycle detected in extensions</source>
<target state="translated">Uzantılarda döngü algılandı</target>
<note />
</trans-unit>
<trans-unit id="Destination_type_must_be_a_0_but_given_one_is_1">
<source>Destination type must be a {0}, but given one is {1}.</source>
<target state="translated">Hedef tür bir {0} olmalı, ancak {1} belirtildi.</target>
<note />
</trans-unit>
<trans-unit id="Destination_type_must_be_a_0_or_a_1_but_given_one_is_2">
<source>Destination type must be a {0} or a {1}, but given one is {2}.</source>
<target state="translated">Hedef tür bir {0} veya {1} olmalı, ancak {2} belirtildi.</target>
<note />
</trans-unit>
<trans-unit id="Destination_type_must_be_a_0_1_or_2_but_given_one_is_3">
<source>Destination type must be a {0}, {1} or {2}, but given one is {3}.</source>
<target state="translated">Hedef tür bir {0}, {1} veya {2} olmalı, ancak {3} belirtildi.</target>
<note />
</trans-unit>
<trans-unit id="Could_not_find_location_to_generation_symbol_into">
<source>Could not find location to generation symbol into.</source>
<target state="translated">Sembolün üretileceği konum bulunamadı.</target>
<note />
</trans-unit>
<trans-unit id="No_location_provided_to_add_statements_to">
<source>No location provided to add statements to.</source>
<target state="translated">Deyimlerin ekleneceği konum sağlanmadı.</target>
<note />
</trans-unit>
<trans-unit id="Destination_location_was_not_in_source">
<source>Destination location was not in source.</source>
<target state="translated">Hedef konum kaynakta değildi.</target>
<note />
</trans-unit>
<trans-unit id="Destination_location_was_from_a_different_tree">
<source>Destination location was from a different tree.</source>
<target state="translated">Hedef konum farklı bir ağaçtandı.</target>
<note />
</trans-unit>
<trans-unit id="Node_is_of_the_wrong_type">
<source>Node is of the wrong type.</source>
<target state="translated">Düğüm yanlış türde.</target>
<note />
</trans-unit>
<trans-unit id="Location_must_be_null_or_from_source">
<source>Location must be null or from source.</source>
<target state="translated">Konum boş veya kaynağa ait olmalıdır.</target>
<note />
</trans-unit>
<trans-unit id="Duplicate_source_file_0_in_project_1">
<source>Duplicate source file '{0}' in project '{1}'</source>
<target state="translated">'{1}' projesinde yinelenen kaynak dosyası '{0}'</target>
<note />
</trans-unit>
<trans-unit id="Removing_projects_is_not_supported">
<source>Removing projects is not supported.</source>
<target state="translated">Projelerin kaldırılması desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="Adding_projects_is_not_supported">
<source>Adding projects is not supported.</source>
<target state="translated">Projelerin eklenmesi desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="Symbols_project_could_not_be_found_in_the_provided_solution">
<source>Symbol's project could not be found in the provided solution</source>
<target state="translated">Sembolün projesi, sağlanan çözümde bulunamadı</target>
<note />
</trans-unit>
<trans-unit id="Sync_namespace_to_folder_structure">
<source>Sync namespace to folder structure</source>
<target state="translated">Ad alanını klasör yapısına eşitle</target>
<note />
</trans-unit>
<trans-unit id="The_contents_of_a_SourceGeneratedDocument_may_not_be_changed">
<source>The contents of a SourceGeneratedDocument may not be changed.</source>
<target state="translated">SourceGeneratedDocument'ın içeriği değiştirilemez.</target>
<note>{locked:SourceGeneratedDocument}</note>
</trans-unit>
<trans-unit id="The_project_already_contains_the_specified_reference">
<source>The project already contains the specified reference.</source>
<target state="translated">Proje belirtilen başvuruyu zaten içeriyor.</target>
<note />
</trans-unit>
<trans-unit id="The_solution_already_contains_the_specified_reference">
<source>The solution already contains the specified reference.</source>
<target state="translated">Çözüm belirtilen başvuruyu zaten içeriyor.</target>
<note />
</trans-unit>
<trans-unit id="Unknown">
<source>Unknown</source>
<target state="translated">Bilinmiyor</target>
<note />
</trans-unit>
<trans-unit id="Visual_Basic_files">
<source>Visual Basic files</source>
<target state="translated">Visual Basic dosyaları</target>
<note />
</trans-unit>
<trans-unit id="Warning_adding_imports_will_bring_an_extension_method_into_scope_with_the_same_name_as_member_access">
<source>Adding imports will bring an extension method into scope with the same name as '{0}'</source>
<target state="translated">İçeri aktarmalar eklemek, bir genişletme yöntemini '{0}' ile aynı ada sahip kapsam içine alacaktır</target>
<note />
</trans-unit>
<trans-unit id="Workspace_error">
<source>Workspace error</source>
<target state="translated">Çalışma alanı hatası</target>
<note />
</trans-unit>
<trans-unit id="Workspace_is_not_empty">
<source>Workspace is not empty.</source>
<target state="translated">Çalışma alanı boş değil.</target>
<note />
</trans-unit>
<trans-unit id="_0_is_in_a_different_project">
<source>{0} is in a different project.</source>
<target state="translated">{0}, farklı bir projede.</target>
<note />
</trans-unit>
<trans-unit id="_0_is_not_part_of_the_workspace">
<source>'{0}' is not part of the workspace.</source>
<target state="translated">'{0}' çalışma alanının parçası değildir.</target>
<note />
</trans-unit>
<trans-unit id="_0_is_already_part_of_the_workspace">
<source>'{0}' is already part of the workspace.</source>
<target state="translated">'{0}' zaten çalışma alanının parçasıdır.</target>
<note />
</trans-unit>
<trans-unit id="_0_is_not_referenced">
<source>'{0}' is not referenced.</source>
<target state="translated">'{0}' öğesine başvurulmadı.</target>
<note />
</trans-unit>
<trans-unit id="_0_is_already_referenced">
<source>'{0}' is already referenced.</source>
<target state="translated">'{0}' öğesine zaten başvuruldu.</target>
<note />
</trans-unit>
<trans-unit id="Adding_project_reference_from_0_to_1_will_cause_a_circular_reference">
<source>Adding project reference from '{0}' to '{1}' will cause a circular reference.</source>
<target state="translated">Proje başvurusunu '{0}' üzerinden '{1}' üzerine eklemek döngüsel başvuruya neden olur.</target>
<note />
</trans-unit>
<trans-unit id="Metadata_is_not_referenced">
<source>Metadata is not referenced.</source>
<target state="translated">Meta verilere başvurulmadı.</target>
<note />
</trans-unit>
<trans-unit id="Metadata_is_already_referenced">
<source>Metadata is already referenced.</source>
<target state="translated">Meta verilere zaten başvuruldu.</target>
<note />
</trans-unit>
<trans-unit id="_0_is_not_present">
<source>{0} is not present.</source>
<target state="translated">{0} yok.</target>
<note />
</trans-unit>
<trans-unit id="_0_is_already_present">
<source>{0} is already present.</source>
<target state="translated">{0} zaten var.</target>
<note />
</trans-unit>
<trans-unit id="The_specified_document_is_not_a_version_of_this_document">
<source>The specified document is not a version of this document.</source>
<target state="translated">Belirtilen belge bu belgenin bir sürümü değil.</target>
<note />
</trans-unit>
<trans-unit id="The_language_0_is_not_supported">
<source>The language '{0}' is not supported.</source>
<target state="translated">'{0}' dili desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="The_solution_already_contains_the_specified_project">
<source>The solution already contains the specified project.</source>
<target state="translated">Çözüm belirtilen projeyi zaten içeriyor.</target>
<note />
</trans-unit>
<trans-unit id="The_solution_does_not_contain_the_specified_project">
<source>The solution does not contain the specified project.</source>
<target state="translated">Çözüm belirtilen projeyi içermiyor.</target>
<note />
</trans-unit>
<trans-unit id="The_project_already_references_the_target_project">
<source>The project already references the target project.</source>
<target state="translated">Proje zaten hedef projeye başvuruyor.</target>
<note />
</trans-unit>
<trans-unit id="The_solution_already_contains_the_specified_document">
<source>The solution already contains the specified document.</source>
<target state="translated">Çözüm belirtilen belgeyi zaten içeriyor.</target>
<note />
</trans-unit>
<trans-unit id="Temporary_storage_cannot_be_written_more_than_once">
<source>Temporary storage cannot be written more than once.</source>
<target state="translated">Geçici depolamaya birden fazla kez yazılamaz.</target>
<note />
</trans-unit>
<trans-unit id="_0_is_not_open">
<source>'{0}' is not open.</source>
<target state="translated">'{0}' açık değil.</target>
<note />
</trans-unit>
<trans-unit id="A_language_name_cannot_be_specified_for_this_option">
<source>A language name cannot be specified for this option.</source>
<target state="translated">Bu seçenek için bir dil adı belirtilemiyor.</target>
<note />
</trans-unit>
<trans-unit id="A_language_name_must_be_specified_for_this_option">
<source>A language name must be specified for this option.</source>
<target state="translated">Bu seçenek için bir dil adı belirtilmelidir.</target>
<note />
</trans-unit>
<trans-unit id="File_was_externally_modified_colon_0">
<source>File was externally modified: {0}.</source>
<target state="translated">Dosya dışarıdan değiştirildi: {0}.</target>
<note />
</trans-unit>
<trans-unit id="Unrecognized_language_name">
<source>Unrecognized language name.</source>
<target state="translated">Tanınmayan dil adı.</target>
<note />
</trans-unit>
<trans-unit id="Can_t_resolve_metadata_reference_colon_0">
<source>Can't resolve metadata reference: '{0}'.</source>
<target state="translated">Meta veri başvurusu çözümlenemiyor: '{0}'.</target>
<note />
</trans-unit>
<trans-unit id="Can_t_resolve_analyzer_reference_colon_0">
<source>Can't resolve analyzer reference: '{0}'.</source>
<target state="translated">Çözümleyici başvurusu çözümlenemiyor: '{0}'.</target>
<note />
</trans-unit>
<trans-unit id="Invalid_project_block_expected_after_Project">
<source>Invalid project block, expected "=" after Project.</source>
<target state="translated">Proje bloğu geçersiz, Proje'den sonra "=" bekleniyor.</target>
<note />
</trans-unit>
<trans-unit id="Invalid_project_block_expected_after_project_name">
<source>Invalid project block, expected "," after project name.</source>
<target state="translated">Proje bloğu geçersiz, proje adından sonra "," bekleniyor.</target>
<note />
</trans-unit>
<trans-unit id="Invalid_project_block_expected_after_project_path">
<source>Invalid project block, expected "," after project path.</source>
<target state="translated">Proje bloğu geçersiz, proje yolundan sonra "," bekleniyor.</target>
<note />
</trans-unit>
<trans-unit id="Expected_0">
<source>Expected {0}.</source>
<target state="translated">{0} bekleniyor.</target>
<note />
</trans-unit>
<trans-unit id="_0_must_be_a_non_null_and_non_empty_string">
<source>"{0}" must be a non-null and non-empty string.</source>
<target state="translated">"{0}" null olmayan ve boş olmayan bir dize olmalıdır.</target>
<note />
</trans-unit>
<trans-unit id="Expected_header_colon_0">
<source>Expected header: "{0}".</source>
<target state="translated">Üst bilgi bekleniyor: "{0}".</target>
<note />
</trans-unit>
<trans-unit id="Expected_end_of_file">
<source>Expected end-of-file.</source>
<target state="translated">Dosya sonu bekleniyor.</target>
<note />
</trans-unit>
<trans-unit id="Expected_0_line">
<source>Expected {0} line.</source>
<target state="translated">{0} satırı bekleniyor.</target>
<note />
</trans-unit>
<trans-unit id="This_submission_already_references_another_submission_project">
<source>This submission already references another submission project.</source>
<target state="translated">Bu gönderim zaten farklı bir gönderim projesine başvuruyor.</target>
<note />
</trans-unit>
<trans-unit id="_0_still_contains_open_documents">
<source>{0} still contains open documents.</source>
<target state="translated">{0} hala açık belgeler içeriyor.</target>
<note />
</trans-unit>
<trans-unit id="_0_is_still_open">
<source>{0} is still open.</source>
<target state="translated">{0} hala açık.</target>
<note />
</trans-unit>
<trans-unit id="Arrays_with_more_than_one_dimension_cannot_be_serialized">
<source>Arrays with more than one dimension cannot be serialized.</source>
<target state="translated">Birden çok boyutlu diziler seri hale getirilemez.</target>
<note />
</trans-unit>
<trans-unit id="Value_too_large_to_be_represented_as_a_30_bit_unsigned_integer">
<source>Value too large to be represented as a 30 bit unsigned integer.</source>
<target state="translated">Değer, 30 bit işaretsiz tamsayı olarak temsil edilemeyecek kadar büyük.</target>
<note />
</trans-unit>
<trans-unit id="Specified_path_must_be_absolute">
<source>Specified path must be absolute.</source>
<target state="translated">Belirtilen yol mutlak olmalıdır.</target>
<note />
</trans-unit>
<trans-unit id="Name_can_be_simplified">
<source>Name can be simplified.</source>
<target state="translated">Ad basitleştirilebilir.</target>
<note />
</trans-unit>
<trans-unit id="Unknown_identifier">
<source>Unknown identifier.</source>
<target state="translated">Bilinmeyen tanıtıcı.</target>
<note />
</trans-unit>
<trans-unit id="Cannot_generate_code_for_unsupported_operator_0">
<source>Cannot generate code for unsupported operator '{0}'</source>
<target state="translated">Desteklenmeyen operatör '{0}' için kod üretilemiyor</target>
<note />
</trans-unit>
<trans-unit id="Invalid_number_of_parameters_for_binary_operator">
<source>Invalid number of parameters for binary operator.</source>
<target state="translated">İkili operatör için parametre sayısı geçersiz.</target>
<note />
</trans-unit>
<trans-unit id="Invalid_number_of_parameters_for_unary_operator">
<source>Invalid number of parameters for unary operator.</source>
<target state="translated">Birli operatör için parametre sayısı geçersiz.</target>
<note />
</trans-unit>
<trans-unit id="Cannot_open_project_0_because_the_file_extension_1_is_not_associated_with_a_language">
<source>Cannot open project '{0}' because the file extension '{1}' is not associated with a language.</source>
<target state="translated">Dosya uzantısı '{1}' bir dil ile ilişkili olmadığı için '{0}' projesi açılamıyor.</target>
<note />
</trans-unit>
<trans-unit id="Cannot_open_project_0_because_the_language_1_is_not_supported">
<source>Cannot open project '{0}' because the language '{1}' is not supported.</source>
<target state="translated">'{1}' dili desteklenmediği için '{0}' projesi açılamıyor.</target>
<note />
</trans-unit>
<trans-unit id="Invalid_project_file_path_colon_0">
<source>Invalid project file path: '{0}'</source>
<target state="translated">Geçersiz proje dosyası yolu: '{0}'</target>
<note />
</trans-unit>
<trans-unit id="Invalid_solution_file_path_colon_0">
<source>Invalid solution file path: '{0}'</source>
<target state="translated">Geçersiz çözüm dosyası yolu: '{0}'</target>
<note />
</trans-unit>
<trans-unit id="Project_file_not_found_colon_0">
<source>Project file not found: '{0}'</source>
<target state="translated">Proje dosyası bulunamadı: '{0}'</target>
<note />
</trans-unit>
<trans-unit id="Solution_file_not_found_colon_0">
<source>Solution file not found: '{0}'</source>
<target state="translated">Çözüm dosyası bulunamadı: '{0}'</target>
<note />
</trans-unit>
<trans-unit id="Unmerged_change_from_project_0">
<source>Unmerged change from project '{0}'</source>
<target state="translated">'{0}' projesinden birleştirilmemiş değişiklik</target>
<note />
</trans-unit>
<trans-unit id="Added_colon">
<source>Added:</source>
<target state="translated">Eklendi:</target>
<note />
</trans-unit>
<trans-unit id="After_colon">
<source>After:</source>
<target state="translated">Önce:</target>
<note />
</trans-unit>
<trans-unit id="Before_colon">
<source>Before:</source>
<target state="translated">Sonra:</target>
<note />
</trans-unit>
<trans-unit id="Removed_colon">
<source>Removed:</source>
<target state="translated">Kaldırıldı:</target>
<note />
</trans-unit>
<trans-unit id="Invalid_CodePage_value_colon_0">
<source>Invalid CodePage value: {0}</source>
<target state="translated">Geçersiz CodePage değeri: {0}</target>
<note />
</trans-unit>
<trans-unit id="Adding_additional_documents_is_not_supported">
<source>Adding additional documents is not supported.</source>
<target state="translated">Ek belgelerin eklenmesi desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="Adding_analyzer_references_is_not_supported">
<source>Adding analyzer references is not supported.</source>
<target state="translated">Çözümleyici başvurularının eklenmesi desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="Adding_documents_is_not_supported">
<source>Adding documents is not supported.</source>
<target state="translated">Belgelerin eklenmesi desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="Adding_metadata_references_is_not_supported">
<source>Adding metadata references is not supported.</source>
<target state="translated">Meta veri başvurularının eklenmesi desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="Adding_project_references_is_not_supported">
<source>Adding project references is not supported.</source>
<target state="translated">Proje başvurularının eklenmesi desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="Changing_additional_documents_is_not_supported">
<source>Changing additional documents is not supported.</source>
<target state="translated">Ek belgelerin değiştirilmesi desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="Changing_documents_is_not_supported">
<source>Changing documents is not supported.</source>
<target state="translated">Belgelerin değiştirilmesi desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="Changing_project_properties_is_not_supported">
<source>Changing project properties is not supported.</source>
<target state="translated">Proje özelliklerinin değiştirilmesi desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="Removing_additional_documents_is_not_supported">
<source>Removing additional documents is not supported.</source>
<target state="translated">Ek belgelerin kaldırılması desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="Removing_analyzer_references_is_not_supported">
<source>Removing analyzer references is not supported.</source>
<target state="translated">Çözümleyici başvurularının kaldırılması desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="Removing_documents_is_not_supported">
<source>Removing documents is not supported.</source>
<target state="translated">Belgelerin kaldırılması desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="Removing_metadata_references_is_not_supported">
<source>Removing metadata references is not supported.</source>
<target state="translated">Meta veri başvurularının kaldırılması desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="Removing_project_references_is_not_supported">
<source>Removing project references is not supported.</source>
<target state="translated">Proje başvurularının kaldırılması desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="Service_of_type_0_is_required_to_accomplish_the_task_but_is_not_available_from_the_workspace">
<source>Service of type '{0}' is required to accomplish the task but is not available from the workspace.</source>
<target state="translated">Görevi gerçekleştirmek için '{0}' türünde hizmet gerekli, ancak bu hizmet çalışma alanında yok.</target>
<note />
</trans-unit>
<trans-unit id="At_least_one_diagnostic_must_be_supplied">
<source>At least one diagnostic must be supplied.</source>
<target state="translated">En az bir tanı sağlanmalıdır.</target>
<note />
</trans-unit>
<trans-unit id="Diagnostic_must_have_span_0">
<source>Diagnostic must have span '{0}'</source>
<target state="translated">Tanı, '{0}' yayılmasına sahip olmalıdır</target>
<note />
</trans-unit>
<trans-unit id="Cannot_deserialize_type_0">
<source>Cannot deserialize type '{0}'.</source>
<target state="translated">'{0}' türü seri durumdan çıkarılamıyor.</target>
<note />
</trans-unit>
<trans-unit id="Cannot_serialize_type_0">
<source>Cannot serialize type '{0}'.</source>
<target state="translated">'{0}' türü seri hale getirilemiyor.</target>
<note />
</trans-unit>
<trans-unit id="The_type_0_is_not_understood_by_the_serialization_binder">
<source>The type '{0}' is not understood by the serialization binder.</source>
<target state="translated">'{0}' türü, serileştirme bağlayıcısı tarafından anlaşılamıyor.</target>
<note />
</trans-unit>
<trans-unit id="Label_for_node_0_is_invalid_it_must_be_within_bracket_0_1">
<source>Label for node '{0}' is invalid, it must be within [0, {1}).</source>
<target state="translated">'{0}' düğümünün etiketi geçersiz, etiket [0, {1}) içerisinde olmalıdır.</target>
<note />
</trans-unit>
<trans-unit id="Matching_nodes_0_and_1_must_have_the_same_label">
<source>Matching nodes '{0}' and '{1}' must have the same label.</source>
<target state="translated">Eşleşen '{0}' ve '{1}' düğümlerinin etiketi aynı olmalıdır.</target>
<note />
</trans-unit>
<trans-unit id="Node_0_must_be_contained_in_the_new_tree">
<source>Node '{0}' must be contained in the new tree.</source>
<target state="translated">Yeni ağaçta '{0}' düğümü bulunmalıdır.</target>
<note />
</trans-unit>
<trans-unit id="Node_0_must_be_contained_in_the_old_tree">
<source>Node '{0}' must be contained in the old tree.</source>
<target state="translated">Eski ağaçta '{0}' düğümü bulunmalıdır.</target>
<note />
</trans-unit>
<trans-unit id="The_member_0_is_not_declared_within_the_declaration_of_the_symbol">
<source>The member '{0}' is not declared within the declaration of the symbol.</source>
<target state="translated">'{0}' üyesi, sembolün bildirimi içerisinde bildirilmedi.</target>
<note />
</trans-unit>
<trans-unit id="The_position_is_not_within_the_symbol_s_declaration">
<source>The position is not within the symbol's declaration</source>
<target state="translated">Konum, sembolün bildirimi içinde bildirilmedi</target>
<note />
</trans-unit>
<trans-unit id="The_symbol_0_cannot_be_located_within_the_current_solution">
<source>The symbol '{0}' cannot be located within the current solution.</source>
<target state="translated">'{0}' sembolü geçerli çözümde bulunamaz.</target>
<note />
</trans-unit>
<trans-unit id="Changing_compilation_options_is_not_supported">
<source>Changing compilation options is not supported.</source>
<target state="translated">Derleme seçeneklerini değiştirme desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="Changing_parse_options_is_not_supported">
<source>Changing parse options is not supported.</source>
<target state="translated">Ayrıştırma seçeneklerini değiştirme desteklenmiyor.</target>
<note />
</trans-unit>
<trans-unit id="The_node_is_not_part_of_the_tree">
<source>The node is not part of the tree.</source>
<target state="translated">Düğüm, ağacın bir parçası değil.</target>
<note />
</trans-unit>
<trans-unit id="This_workspace_does_not_support_opening_and_closing_documents">
<source>This workspace does not support opening and closing documents.</source>
<target state="translated">Bu çalışma alanı, belgeleri açıp kapatmayı desteklemiyor.</target>
<note />
</trans-unit>
<trans-unit id="Exceptions_colon">
<source>Exceptions:</source>
<target state="translated">Özel Durumlar:</target>
<note />
</trans-unit>
<trans-unit id="_0_returned_an_uninitialized_ImmutableArray">
<source>'{0}' returned an uninitialized ImmutableArray</source>
<target state="translated">'{0}' başlatılmamış bir ImmutableArray döndürdü</target>
<note />
</trans-unit>
<trans-unit id="Failure">
<source>Failure</source>
<target state="translated">Hata</target>
<note />
</trans-unit>
<trans-unit id="Warning">
<source>Warning</source>
<target state="translated">Uyarı</target>
<note />
</trans-unit>
<trans-unit id="Enable">
<source>Enable</source>
<target state="translated">Etkinleştir</target>
<note />
</trans-unit>
<trans-unit id="Enable_and_ignore_future_errors">
<source>Enable and ignore future errors</source>
<target state="translated">Etkinleştir ve gelecekteki hataları yoksay</target>
<note />
</trans-unit>
<trans-unit id="_0_encountered_an_error_and_has_been_disabled">
<source>'{0}' encountered an error and has been disabled.</source>
<target state="translated">'{0}' bir hatayla karşılaştı ve devre dışı bırakıldı.</target>
<note />
</trans-unit>
<trans-unit id="Show_Stack_Trace">
<source>Show Stack Trace</source>
<target state="translated">Yığın İzlemesini Göster</target>
<note />
</trans-unit>
<trans-unit id="Stream_is_too_long">
<source>Stream is too long.</source>
<target state="translated">Akış çok uzun.</target>
<note />
</trans-unit>
<trans-unit id="Deserialization_reader_for_0_read_incorrect_number_of_values">
<source>Deserialization reader for '{0}' read incorrect number of values.</source>
<target state="translated">'{0}' türünün seri durumdan çıkarma okuyucusu, yanlış sayıda değer okudu.</target>
<note />
</trans-unit>
<trans-unit id="Async_Method">
<source>Async Method</source>
<target state="translated">Zaman Uyumsuz Metot</target>
<note>{locked: async}{locked: method} These are keywords (unless the order of words or capitalization should be handled differently)</note>
</trans-unit>
<trans-unit id="Error">
<source>Error</source>
<target state="translated">Hata</target>
<note />
</trans-unit>
<trans-unit id="None">
<source>None</source>
<target state="translated">yok</target>
<note />
</trans-unit>
<trans-unit id="Suggestion">
<source>Suggestion</source>
<target state="translated">Öneri</target>
<note />
</trans-unit>
<trans-unit id="File_0_size_of_1_exceeds_maximum_allowed_size_of_2">
<source>File '{0}' size of {1} exceeds maximum allowed size of {2}</source>
<target state="translated">'{0}' adlı dosyanın boyutu ({1}), izin verilen üst sınırı ({2}) aşıyor</target>
<note />
</trans-unit>
<trans-unit id="Changing_document_property_is_not_supported">
<source>Changing document properties is not supported</source>
<target state="translated">Belge özelliklerinin değiştirilmesi desteklenmiyor</target>
<note />
</trans-unit>
<trans-unit id="dot_NET_Coding_Conventions">
<source>.NET Coding Conventions</source>
<target state="translated">.NET kodlama kuralları</target>
<note />
</trans-unit>
<trans-unit id="Variables_captured_colon">
<source>Variables captured:</source>
<target state="translated">Toplanan değişkenler:</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | -1 |
dotnet/roslyn | 56,030 | Remove RemoveUnusedReferences command hotkey | Resolves https://github.com/dotnet/roslyn/issues/56028 | JoeRobich | "2021-08-31T17:18:07Z" | "2021-08-31T18:42:08Z" | e01c311bd91e6290eefe9be9eeef76c64b08b2d5 | 2be2c34f110e7ce2f4cfd8e4b1f8153603087679 | Remove RemoveUnusedReferences command hotkey. Resolves https://github.com/dotnet/roslyn/issues/56028 | ./src/Analyzers/VisualBasic/Analyzers/xlf/VisualBasicAnalyzersResources.ko.xlf | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="ko" original="../VisualBasicAnalyzersResources.resx">
<body>
<trans-unit id="GetType_can_be_converted_to_NameOf">
<source>'GetType' can be converted to 'NameOf'</source>
<target state="translated">'GetType'을 'NameOf'로 변환할 수 없습니다.</target>
<note />
</trans-unit>
<trans-unit id="If_statement_can_be_simplified">
<source>'If' statement can be simplified</source>
<target state="translated">'if' 문을 단순화할 수 있습니다.</target>
<note />
</trans-unit>
<trans-unit id="Imports_statement_is_unnecessary">
<source>Imports statement is unnecessary.</source>
<target state="translated">Imports 문은 필요하지 않습니다.</target>
<note />
</trans-unit>
<trans-unit id="Object_creation_can_be_simplified">
<source>Object creation can be simplified</source>
<target state="translated">개체 만들기를 단순화할 수 있습니다.</target>
<note />
</trans-unit>
<trans-unit id="Remove_ByVal">
<source>'ByVal' keyword is unnecessary and can be removed.</source>
<target state="translated">'ByVal' 키워드는 불필요하며 제거할 수 있습니다.</target>
<note>{locked: ByVal}This is a Visual Basic keyword and should not be localized or have its casing changed</note>
</trans-unit>
<trans-unit id="Use_IsNot_Nothing_check">
<source>Use 'IsNot Nothing' check</source>
<target state="translated">IsNot Nothing' 검사 사용</target>
<note />
</trans-unit>
<trans-unit id="Use_IsNot_expression">
<source>Use 'IsNot' expression</source>
<target state="translated">'IsNot' 식 사용</target>
<note>{locked: IsNot}This is a Visual Basic keyword and should not be localized or have its casing changed</note>
</trans-unit>
<trans-unit id="Use_Is_Nothing_check">
<source>Use 'Is Nothing' check</source>
<target state="translated">Is Nothing' 검사 사용</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="ko" original="../VisualBasicAnalyzersResources.resx">
<body>
<trans-unit id="GetType_can_be_converted_to_NameOf">
<source>'GetType' can be converted to 'NameOf'</source>
<target state="translated">'GetType'을 'NameOf'로 변환할 수 없습니다.</target>
<note />
</trans-unit>
<trans-unit id="If_statement_can_be_simplified">
<source>'If' statement can be simplified</source>
<target state="translated">'if' 문을 단순화할 수 있습니다.</target>
<note />
</trans-unit>
<trans-unit id="Imports_statement_is_unnecessary">
<source>Imports statement is unnecessary.</source>
<target state="translated">Imports 문은 필요하지 않습니다.</target>
<note />
</trans-unit>
<trans-unit id="Object_creation_can_be_simplified">
<source>Object creation can be simplified</source>
<target state="translated">개체 만들기를 단순화할 수 있습니다.</target>
<note />
</trans-unit>
<trans-unit id="Remove_ByVal">
<source>'ByVal' keyword is unnecessary and can be removed.</source>
<target state="translated">'ByVal' 키워드는 불필요하며 제거할 수 있습니다.</target>
<note>{locked: ByVal}This is a Visual Basic keyword and should not be localized or have its casing changed</note>
</trans-unit>
<trans-unit id="Use_IsNot_Nothing_check">
<source>Use 'IsNot Nothing' check</source>
<target state="translated">IsNot Nothing' 검사 사용</target>
<note />
</trans-unit>
<trans-unit id="Use_IsNot_expression">
<source>Use 'IsNot' expression</source>
<target state="translated">'IsNot' 식 사용</target>
<note>{locked: IsNot}This is a Visual Basic keyword and should not be localized or have its casing changed</note>
</trans-unit>
<trans-unit id="Use_Is_Nothing_check">
<source>Use 'Is Nothing' check</source>
<target state="translated">Is Nothing' 검사 사용</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | -1 |
dotnet/roslyn | 56,030 | Remove RemoveUnusedReferences command hotkey | Resolves https://github.com/dotnet/roslyn/issues/56028 | JoeRobich | "2021-08-31T17:18:07Z" | "2021-08-31T18:42:08Z" | e01c311bd91e6290eefe9be9eeef76c64b08b2d5 | 2be2c34f110e7ce2f4cfd8e4b1f8153603087679 | Remove RemoveUnusedReferences command hotkey. Resolves https://github.com/dotnet/roslyn/issues/56028 | ./src/VisualStudio/CSharp/Impl/xlf/CSharpVSResources.es.xlf | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="es" original="../CSharpVSResources.resx">
<body>
<trans-unit id="Add_missing_using_directives_on_paste">
<source>Add missing using directives on paste</source>
<target state="translated">Agregar las directivas using que faltan al pegar</target>
<note>'using' is a C# keyword and should not be localized</note>
</trans-unit>
<trans-unit id="Allow_bank_line_after_colon_in_constructor_initializer">
<source>Allow blank line after colon in constructor initializer</source>
<target state="translated">Permitir una línea en blanco después de dos puntos en el inicializador del constructor</target>
<note />
</trans-unit>
<trans-unit id="Allow_blank_lines_between_consecutive_braces">
<source>Allow blank lines between consecutive braces</source>
<target state="translated">Permitir líneas en blanco entre llaves consecutivas</target>
<note />
</trans-unit>
<trans-unit id="Allow_embedded_statements_on_same_line">
<source>Allow embedded statements on same line</source>
<target state="translated">Permitir instrucciones incrustadas en la misma línea</target>
<note />
</trans-unit>
<trans-unit id="Apply_all_csharp_formatting_rules_indentation_wrapping_spacing">
<source>Apply all C# formatting rules (indentation, wrapping, spacing)</source>
<target state="translated">Aplicar todas las reglas de formato de C# (sangría, ajuste, espaciado)</target>
<note />
</trans-unit>
<trans-unit id="Automatically_complete_statement_on_semicolon">
<source>Automatically complete statement on semicolon</source>
<target state="translated">Completar automáticamente la instrucción al introducir punto y coma</target>
<note />
</trans-unit>
<trans-unit id="Automatically_show_completion_list_in_argument_lists">
<source>Automatically show completion list in argument lists</source>
<target state="translated">Mostrar automáticamente la lista de finalización en las listas de argumentos</target>
<note />
</trans-unit>
<trans-unit id="Block_scoped">
<source>Block scoped</source>
<target state="new">Block scoped</target>
<note />
</trans-unit>
<trans-unit id="CSharp">
<source>C#</source>
<target state="translated">C#</target>
<note />
</trans-unit>
<trans-unit id="CSharp_Coding_Conventions">
<source>C# Coding Conventions</source>
<target state="translated">Convenciones de código de C#</target>
<note />
</trans-unit>
<trans-unit id="CSharp_Formatting_Rules">
<source>C# Formatting Rules</source>
<target state="translated">Reglas de formato de C#</target>
<note />
</trans-unit>
<trans-unit id="Completion">
<source>Completion</source>
<target state="translated">Finalización</target>
<note />
</trans-unit>
<trans-unit id="Discard">
<source>Discard</source>
<target state="translated">Descartar</target>
<note />
</trans-unit>
<trans-unit id="Edit_color_scheme">
<source>Edit color scheme</source>
<target state="translated">Editar esquema de color</target>
<note />
</trans-unit>
<trans-unit id="File_scoped">
<source>File scoped</source>
<target state="new">File scoped</target>
<note />
</trans-unit>
<trans-unit id="Format_document_settings">
<source>Format Document Settings (Experiment) </source>
<target state="translated">Configuración de “Dar formato al documento” (experimento)</target>
<note />
</trans-unit>
<trans-unit id="General">
<source>General</source>
<target state="translated">General</target>
<note>Title of the control group on the General Formatting options page</note>
</trans-unit>
<trans-unit id="In_relational_binary_operators">
<source>In relational operators: < > <= >= is as == !=</source>
<target state="translated">En los operadores relacionales: < > <= >= is as == !=</target>
<note>'is' and 'as' are C# keywords and should not be localized</note>
</trans-unit>
<trans-unit id="Insert_slash_slash_at_the_start_of_new_lines_when_writing_slash_slash_comments">
<source>Insert // at the start of new lines when writing // comments</source>
<target state="translated">Insertar // al comienzo de las líneas nuevas al escribir comentarios //</target>
<note />
</trans-unit>
<trans-unit id="Inside_namespace">
<source>Inside namespace</source>
<target state="translated">namespace interior</target>
<note>'namespace' is a C# keyword and should not be localized</note>
</trans-unit>
<trans-unit id="Outside_namespace">
<source>Outside namespace</source>
<target state="translated">namespace exterior</target>
<note>'namespace' is a C# keyword and should not be localized</note>
</trans-unit>
<trans-unit id="Pattern_matching_preferences_colon">
<source>Pattern matching preferences:</source>
<target state="translated">Preferencias de coincidencia de patrón:</target>
<note />
</trans-unit>
<trans-unit id="Perform_additional_code_cleanup_during_formatting">
<source>Perform additional code cleanup during formatting</source>
<target state="translated">Realizar limpieza de código adicional durante la aplicación de formato</target>
<note />
</trans-unit>
<trans-unit id="Place_open_brace_on_new_line_for_object_collection_array_and_with_initializers">
<source>Place open brace on new line for object, collection, array, and with initializers</source>
<target state="translated">Colocar llave de apertura en la nueva línea para los inicializadores de objeto, colección, matriz y with</target>
<note>{Locked="with"}</note>
</trans-unit>
<trans-unit id="Prefer_implicit_object_creation_when_type_is_apparent">
<source>Prefer implicit object creation when type is apparent</source>
<target state="translated">Preferir la creación implícita de objetos cuando el tipo sea aparente</target>
<note />
</trans-unit>
<trans-unit id="Prefer_is_null_for_reference_equality_checks">
<source>Prefer 'is null' for reference equality checks</source>
<target state="translated">Preferir “is null” para comprobaciones de igualdad de referencias</target>
<note>'is null' is a C# string and should not be localized.</note>
</trans-unit>
<trans-unit id="Prefer_null_check_over_type_check">
<source>Prefer 'null' check over type check</source>
<target state="new">Prefer 'null' check over type check</target>
<note />
</trans-unit>
<trans-unit id="Prefer_pattern_matching">
<source>Prefer pattern matching</source>
<target state="translated">Preferir coincidencia de patrones</target>
<note />
</trans-unit>
<trans-unit id="Prefer_pattern_matching_over_mixed_type_check">
<source>Prefer pattern matching over mixed type check</source>
<target state="translated">Anteponer coincidencia de patrón a la comprobación de tipo mixto</target>
<note />
</trans-unit>
<trans-unit id="Prefer_switch_expression">
<source>Prefer switch expression</source>
<target state="translated">Preferir expresión switch</target>
<note />
</trans-unit>
<trans-unit id="Preferred_using_directive_placement">
<source>Preferred 'using' directive placement</source>
<target state="translated">Selección de ubicación de directiva "using" preferida</target>
<note>'using' is a C# keyword and should not be localized</note>
</trans-unit>
<trans-unit id="Remove_unnecessary_usings">
<source>Remove unnecessary usings</source>
<target state="translated">Eliminar instrucciones Using innecesarias</target>
<note />
</trans-unit>
<trans-unit id="Show_hints_for_new_expressions">
<source>Show hints for 'new' expressions</source>
<target state="translated">Mostrar sugerencias para las expresiones "new"</target>
<note />
</trans-unit>
<trans-unit id="Show_items_from_unimported_namespaces">
<source>Show items from unimported namespaces</source>
<target state="translated">Mostrar elementos de espacios de nombres no importados</target>
<note />
</trans-unit>
<trans-unit id="Show_remarks_in_Quick_Info">
<source>Show remarks in Quick Info</source>
<target state="translated">Mostrar comentarios en Información rápida</target>
<note />
</trans-unit>
<trans-unit id="Sort_usings">
<source>Sort usings</source>
<target state="translated">Ordenar instrucciones Using</target>
<note />
</trans-unit>
<trans-unit id="Suggest_usings_for_types_in_dotnet_framework_assemblies">
<source>Suggest usings for types in .NET Framework assemblies</source>
<target state="translated">Sugerir usos para tipos en ensamblados .NET Framework</target>
<note />
</trans-unit>
<trans-unit id="Surround_With">
<source>Surround With</source>
<target state="translated">Rodear con</target>
<note />
</trans-unit>
<trans-unit id="Insert_Snippet">
<source>Insert Snippet</source>
<target state="translated">Insertar fragmento de código</target>
<note />
</trans-unit>
<trans-unit id="Automatically_format_block_on_close_brace">
<source>Automatically format _block on }</source>
<target state="translated">Dar formato automáticamente al _bloque al introducir }</target>
<note />
</trans-unit>
<trans-unit id="Automatically_format_on_paste">
<source>Automatically format on _paste</source>
<target state="translated">Dar formato automáticamente al _pegar</target>
<note />
</trans-unit>
<trans-unit id="Automatically_format_statement_on_semicolon">
<source>Automatically format _statement on ;</source>
<target state="translated">Dar formato automáticamente _a la instrucción al introducir ;</target>
<note />
</trans-unit>
<trans-unit id="Place_members_in_anonymous_types_on_new_line">
<source>Place members in anonymous types on new line</source>
<target state="translated">Colocar miembros en tipos anónimos en nueva línea</target>
<note />
</trans-unit>
<trans-unit id="Leave_block_on_single_line">
<source>Leave block on single line</source>
<target state="translated">Mantener bloque en una sola línea</target>
<note />
</trans-unit>
<trans-unit id="Place_catch_on_new_line">
<source>Place "catch" on new line</source>
<target state="translated">Colocar "catch" en nueva línea</target>
<note />
</trans-unit>
<trans-unit id="Place_else_on_new_line">
<source>Place "else" on new line</source>
<target state="translated">Colocar "else" en nueva línea</target>
<note />
</trans-unit>
<trans-unit id="Indent_block_contents">
<source>Indent block contents</source>
<target state="translated">Aplicar sangría al contenido del bloque</target>
<note />
</trans-unit>
<trans-unit id="Indent_open_and_close_braces">
<source>Indent open and close braces</source>
<target state="translated">Aplicar sangría a llaves de apertura y cierre</target>
<note />
</trans-unit>
<trans-unit id="Indent_case_contents">
<source>Indent case contents</source>
<target state="translated">Aplicar sangría al contenido de case</target>
<note />
</trans-unit>
<trans-unit id="Indent_case_labels">
<source>Indent case labels</source>
<target state="translated">Aplicar sangría a etiquetas case</target>
<note />
</trans-unit>
<trans-unit id="Place_finally_on_new_line">
<source>Place "finally" on new line</source>
<target state="translated">Colocar "finally" en nueva línea</target>
<note />
</trans-unit>
<trans-unit id="Place_goto_labels_in_leftmost_column">
<source>Place goto labels in leftmost column</source>
<target state="translated">Colocar etiquetas goto en primera columna de la izquierda</target>
<note />
</trans-unit>
<trans-unit id="Indent_labels_normally">
<source>Indent labels normally</source>
<target state="translated">Aplicar sangría normal a etiquetas</target>
<note />
</trans-unit>
<trans-unit id="Place_goto_labels_one_indent_less_than_current">
<source>Place goto labels one indent less than current</source>
<target state="translated">Reducir una sangría para las etiquetas goto</target>
<note />
</trans-unit>
<trans-unit id="Label_Indentation">
<source>Label Indentation</source>
<target state="translated">Sangría de etiquetas</target>
<note />
</trans-unit>
<trans-unit id="Place_members_in_object_initializers_on_new_line">
<source>Place members in object initializers on new line</source>
<target state="translated">Colocar miembros de inicializadores de objetos en nueva línea</target>
<note />
</trans-unit>
<trans-unit id="Place_open_brace_on_new_line_for_anonymous_methods">
<source>Place open brace on new line for anonymous methods</source>
<target state="translated">Colocar llave de apertura para métodos anónimos en nueva línea</target>
<note />
</trans-unit>
<trans-unit id="Place_open_brace_on_new_line_for_anonymous_types">
<source>Place open brace on new line for anonymous types</source>
<target state="translated">Colocar llave de apertura para tipos anónimos en nueva línea</target>
<note />
</trans-unit>
<trans-unit id="Place_open_brace_on_new_line_for_control_blocks">
<source>Place open brace on new line for control blocks</source>
<target state="translated">Colocar llave de apertura para bloques de control en nueva línea</target>
<note />
</trans-unit>
<trans-unit id="Place_open_brace_on_new_line_for_lambda_expression">
<source>Place open brace on new line for lambda expression</source>
<target state="translated">Colocar llave de apertura para expresión lambda en nueva línea</target>
<note />
</trans-unit>
<trans-unit id="Place_open_brace_on_new_line_for_methods_local_functions">
<source>Place open brace on new line for methods and local functions</source>
<target state="translated">Poner la llave de apertura en una línea nueva para los métodos y las funciones locales</target>
<note />
</trans-unit>
<trans-unit id="Place_open_brace_on_new_line_for_types">
<source>Place open brace on new line for types</source>
<target state="translated">Colocar llave de apertura para tipos en nueva línea</target>
<note />
</trans-unit>
<trans-unit id="Place_query_expression_clauses_on_new_line">
<source>Place query expression clauses on new line</source>
<target state="translated">Colocar cláusulas de expresiones de consulta en nueva línea</target>
<note />
</trans-unit>
<trans-unit id="Leave_statements_and_member_declarations_on_the_same_line">
<source>Leave statements and member declarations on the same line</source>
<target state="translated">Mantener instrucciones y declaraciones de miembros en la misma línea</target>
<note />
</trans-unit>
<trans-unit id="Insert_space_before_and_after_binary_operators">
<source>Insert space before and after binary operators</source>
<target state="translated">Insertar espacio delante y detrás de operadores binarios</target>
<note />
</trans-unit>
<trans-unit id="Ignore_spaces_around_binary_operators">
<source>Ignore spaces around binary operators</source>
<target state="translated">Omitir espacios alrededor de operadores binarios</target>
<note />
</trans-unit>
<trans-unit id="Remove_spaces_before_and_after_binary_operators">
<source>Remove spaces before and after binary operators</source>
<target state="translated">Quitar espacios delante y detrás de operadores binarios</target>
<note />
</trans-unit>
<trans-unit id="Insert_space_after_colon_for_base_or_interface_in_type_declaration">
<source>Insert space after colon for base or interface in type declaration</source>
<target state="translated">Insertar espacio tras dos puntos para base o interfaz en una declaración de tipo</target>
<note />
</trans-unit>
<trans-unit id="Insert_space_after_comma">
<source>Insert space after comma</source>
<target state="translated">Insertar espacio tras coma</target>
<note />
</trans-unit>
<trans-unit id="Insert_space_after_dot">
<source>Insert space after dot</source>
<target state="translated">Insertar espacio tras punto</target>
<note />
</trans-unit>
<trans-unit id="Insert_space_after_semicolon_in_for_statement">
<source>Insert space after semicolon in "for" statement</source>
<target state="translated">Insertar espacio tras punto y coma en instrucción "for"</target>
<note />
</trans-unit>
<trans-unit id="Insert_space_before_colon_for_base_or_interface_in_type_declaration">
<source>Insert space before colon for base or interface in type declaration</source>
<target state="translated">Insertar espacio delante de dos puntos para base o interfaz en una declaración de tipo</target>
<note />
</trans-unit>
<trans-unit id="Insert_space_before_comma">
<source>Insert space before comma</source>
<target state="translated">Insertar espacio delante de coma</target>
<note />
</trans-unit>
<trans-unit id="Insert_space_before_dot">
<source>Insert space before dot</source>
<target state="translated">Insertar espacio delante de punto</target>
<note />
</trans-unit>
<trans-unit id="Insert_space_before_semicolon_in_for_statement">
<source>Insert space before semicolon in "for" statement</source>
<target state="translated">Insertar espacio delante de punto y coma en instrucciones "for"</target>
<note />
</trans-unit>
<trans-unit id="Insert_space_within_argument_list_parentheses">
<source>Insert space within argument list parentheses</source>
<target state="translated">Insertar espacio entre paréntesis de la lista de argumentos</target>
<note />
</trans-unit>
<trans-unit id="Insert_space_within_empty_argument_list_parentheses">
<source>Insert space within empty argument list parentheses</source>
<target state="translated">Insertar espacio entre paréntesis vacíos de la lista de argumentos</target>
<note />
</trans-unit>
<trans-unit id="Insert_space_between_method_name_and_its_opening_parenthesis1">
<source>Insert space between method name and its opening parenthesis</source>
<target state="translated">Insertar espacio entre el nombre del método y el paréntesis de apertura</target>
<note />
</trans-unit>
<trans-unit id="Insert_space_within_empty_parameter_list_parentheses">
<source>Insert space within empty parameter list parentheses</source>
<target state="translated">Insertar espacio entre paréntesis vacíos de la lista de parámetros</target>
<note />
</trans-unit>
<trans-unit id="Insert_space_between_method_name_and_its_opening_parenthesis2">
<source>Insert space between method name and its opening parenthesis</source>
<target state="translated">Insertar espacio entre el nombre del método y el paréntesis de apertura</target>
<note />
</trans-unit>
<trans-unit id="Insert_space_within_parameter_list_parentheses">
<source>Insert space within parameter list parentheses</source>
<target state="translated">Insertar espacio entre paréntesis de la lista de parámetros</target>
<note />
</trans-unit>
<trans-unit id="Insert_space_after_keywords_in_control_flow_statements">
<source>Insert space after keywords in control flow statements</source>
<target state="translated">Insertar espacio después de las palabras clave en instrucciones de flujo de control</target>
<note />
</trans-unit>
<trans-unit id="Insert_space_within_parentheses_of_expressions">
<source>Insert space within parentheses of expressions</source>
<target state="translated">Insertar espacio entre paréntesis de expresiones</target>
<note />
</trans-unit>
<trans-unit id="Insert_space_after_cast">
<source>Insert space after cast</source>
<target state="translated">Insertar espacio tras conversión</target>
<note />
</trans-unit>
<trans-unit id="Insert_spaces_within_parentheses_of_control_flow_statements">
<source>Insert spaces within parentheses of control flow statements</source>
<target state="translated">Insertar espacios entre paréntesis de instrucciones de flujo de control</target>
<note />
</trans-unit>
<trans-unit id="Insert_space_within_parentheses_of_type_casts">
<source>Insert space within parentheses of type casts</source>
<target state="translated">Insertar espacio entre paréntesis de conversiones de tipo</target>
<note />
</trans-unit>
<trans-unit id="Ignore_spaces_in_declaration_statements">
<source>Ignore spaces in declaration statements</source>
<target state="translated">Omitir espacios en instrucciones de declaración</target>
<note />
</trans-unit>
<trans-unit id="Set_other_spacing_options">
<source>Set other spacing options</source>
<target state="translated">Establecer otras opciones de espaciado</target>
<note />
</trans-unit>
<trans-unit id="Set_spacing_for_brackets">
<source>Set spacing for brackets</source>
<target state="translated">Establecer espaciado para corchetes</target>
<note />
</trans-unit>
<trans-unit id="Set_spacing_for_delimiters">
<source>Set spacing for delimiters</source>
<target state="translated">Establecer espaciado para delimitadores</target>
<note />
</trans-unit>
<trans-unit id="Set_spacing_for_method_calls">
<source>Set spacing for method calls</source>
<target state="translated">Establecer espaciado para llamadas a métodos</target>
<note />
</trans-unit>
<trans-unit id="Set_spacing_for_method_declarations">
<source>Set spacing for method declarations</source>
<target state="translated">Establecer espaciado para declaraciones de método</target>
<note />
</trans-unit>
<trans-unit id="Set_spacing_for_operators">
<source>Set spacing for operators</source>
<target state="translated">Establecer espaciado para operadores</target>
<note />
</trans-unit>
<trans-unit id="Insert_spaces_within_square_brackets">
<source>Insert spaces within square brackets</source>
<target state="translated">Insertar espacios entre corchetes</target>
<note />
</trans-unit>
<trans-unit id="Insert_space_before_open_square_bracket">
<source>Insert space before open square bracket</source>
<target state="translated">Insertar espacio delante de corchete de apertura</target>
<note />
</trans-unit>
<trans-unit id="Insert_space_within_empty_square_brackets">
<source>Insert space within empty square brackets</source>
<target state="translated">Insertar espacio entre corchetes vacíos</target>
<note />
</trans-unit>
<trans-unit id="New_line_options_for_braces">
<source>New line options for braces</source>
<target state="translated">Opciones de nueva línea para llaves</target>
<note />
</trans-unit>
<trans-unit id="New_line_options_for_expressions">
<source>New line options for expressions</source>
<target state="translated">Opciones de nueva línea para expresiones</target>
<note />
</trans-unit>
<trans-unit id="New_line_options_for_keywords">
<source>New line options for keywords</source>
<target state="translated">Opciones de nueva línea para palabras clave</target>
<note />
</trans-unit>
<trans-unit id="Unused_local">
<source>Unused local</source>
<target state="translated">Local sin uso</target>
<note />
</trans-unit>
<trans-unit id="Use_var_when_generating_locals">
<source>Use 'var' when generating locals</source>
<target state="translated">Usar 'var' al generar variables locales</target>
<note />
</trans-unit>
<trans-unit id="Show_procedure_line_separators">
<source>_Show procedure line separators</source>
<target state="translated">Mo_strar separadores de líneas de procedimientos</target>
<note />
</trans-unit>
<trans-unit id="Don_t_put_ref_or_out_on_custom_struct">
<source>_Don't put ref or out on custom struct</source>
<target state="translated">_No colocar 'out' o 'ref' en estructura personalizada</target>
<note />
</trans-unit>
<trans-unit id="Editor_Help">
<source>Editor Help</source>
<target state="translated">Ayuda de editor</target>
<note />
</trans-unit>
<trans-unit id="Highlight_related_keywords_under_cursor">
<source>Highlight related _keywords under cursor</source>
<target state="translated">Resaltar palabras cla_ve relacionadas bajo el cursor</target>
<note />
</trans-unit>
<trans-unit id="Highlight_references_to_symbol_under_cursor">
<source>_Highlight references to symbol under cursor</source>
<target state="translated">_Resaltar referencias al símbolo bajo el cursor</target>
<note />
</trans-unit>
<trans-unit id="Enter_outlining_mode_when_files_open">
<source>Enter _outlining mode when files open</source>
<target state="translated">Entrar en m_odo de esquematización al abrir archivos</target>
<note />
</trans-unit>
<trans-unit id="Extract_Method">
<source>Extract Method</source>
<target state="translated">Extraer método</target>
<note />
</trans-unit>
<trans-unit id="Generate_XML_documentation_comments_for">
<source>_Generate XML documentation comments for ///</source>
<target state="translated">_Generar comentarios de documentación XML con ///</target>
<note />
</trans-unit>
<trans-unit id="Highlighting">
<source>Highlighting</source>
<target state="translated">Resaltar</target>
<note />
</trans-unit>
<trans-unit id="Insert_at_the_start_of_new_lines_when_writing_comments">
<source>_Insert * at the start of new lines when writing /* */ comments</source>
<target state="translated">_Insertar * al comienzo de nuevas líneas al escribir comentarios /* */</target>
<note />
</trans-unit>
<trans-unit id="Optimize_for_solution_size">
<source>Optimize for solution size</source>
<target state="translated">Optimizar para tamaño de la solución</target>
<note />
</trans-unit>
<trans-unit id="Large">
<source>Large</source>
<target state="translated">Grande</target>
<note />
</trans-unit>
<trans-unit id="Regular">
<source>Regular</source>
<target state="translated">Normal</target>
<note />
</trans-unit>
<trans-unit id="Small">
<source>Small</source>
<target state="translated">Pequeño</target>
<note />
</trans-unit>
<trans-unit id="Using_Directives">
<source>Using Directives</source>
<target state="translated">Directivas Using</target>
<note />
</trans-unit>
<trans-unit id="Performance">
<source>Performance</source>
<target state="translated">Rendimiento</target>
<note />
</trans-unit>
<trans-unit id="Place_System_directives_first_when_sorting_usings">
<source>_Place 'System' directives first when sorting usings</source>
<target state="translated">Al ordenar instrucciones Using, _colocar primero las directivas 'System'</target>
<note />
</trans-unit>
<trans-unit id="Show_completion_list_after_a_character_is_typed">
<source>_Show completion list after a character is typed</source>
<target state="translated">_Mostrar lista de finalización después de escribir un carácter</target>
<note />
</trans-unit>
<trans-unit id="Place_keywords_in_completion_lists">
<source>Place _keywords in completion lists</source>
<target state="translated">Colocar _palabras clave en listas de finalización</target>
<note />
</trans-unit>
<trans-unit id="Place_code_snippets_in_completion_lists">
<source>Place _code snippets in completion lists</source>
<target state="translated">Colocar _fragmentos de código en listas de finalización</target>
<note />
</trans-unit>
<trans-unit id="Selection_In_Completion_List">
<source>Selection In Completion List</source>
<target state="translated">Selección en la lista de finalización</target>
<note />
</trans-unit>
<trans-unit id="Show_preview_for_rename_tracking">
<source>Show preview for rename _tracking</source>
<target state="translated">Mostrar vista previa para _seguimiento de cambio de nombre</target>
<note />
</trans-unit>
<trans-unit id="Place_open_brace_on_new_line_for_property_indexer_and_event_accessors">
<source>Place open brace on new line for property, indexer, and event accessors</source>
<target state="translated">Colocar llave de apertura para descriptores de acceso de eventos, indizadores y propiedades en nueva línea</target>
<note />
</trans-unit>
<trans-unit id="Place_open_brace_on_new_line_for_properties_indexers_and_events">
<source>Place open brace on new line for properties, indexers, and events</source>
<target state="translated">Colocar llave de apertura para propiedades, indizadores y eventos en nueva línea</target>
<note />
</trans-unit>
<trans-unit id="Suggest_usings_for_types_in_NuGet_packages">
<source>Suggest usings for types in _NuGet packages</source>
<target state="translated">Sugerir usos para tipos de paquetes _NuGet</target>
<note />
</trans-unit>
<trans-unit id="Type_Inference_preferences_colon">
<source>Type Inference preferences:</source>
<target state="translated">Preferencias de inferencia de tipo:</target>
<note />
</trans-unit>
<trans-unit id="For_built_in_types">
<source>For built-in types</source>
<target state="translated">Para tipos integrados</target>
<note />
</trans-unit>
<trans-unit id="Elsewhere">
<source>Elsewhere</source>
<target state="translated">En otro lugar</target>
<note />
</trans-unit>
<trans-unit id="When_on_multiple_lines">
<source>When on multiple lines</source>
<target state="translated">Cuando se usan varias líneas</target>
<note />
</trans-unit>
<trans-unit id="When_variable_type_is_apparent">
<source>When variable type is apparent</source>
<target state="translated">Cuando el tipo de variable es aparente</target>
<note />
</trans-unit>
<trans-unit id="Qualify_event_access_with_this">
<source>Qualify event access with 'this'</source>
<target state="translated">Calificar acceso a evento con 'this'</target>
<note />
</trans-unit>
<trans-unit id="Qualify_field_access_with_this">
<source>Qualify field access with 'this'</source>
<target state="translated">Calificar acceso a campo con 'this'</target>
<note />
</trans-unit>
<trans-unit id="Qualify_method_access_with_this">
<source>Qualify method access with 'this'</source>
<target state="translated">Calificar acceso a método con 'this'</target>
<note />
</trans-unit>
<trans-unit id="Qualify_property_access_with_this">
<source>Qualify property access with 'this'</source>
<target state="translated">Calificar acceso a propiedad con 'this'</target>
<note />
</trans-unit>
<trans-unit id="Prefer_explicit_type">
<source>Prefer explicit type</source>
<target state="translated">Preferir tipo explícito</target>
<note />
</trans-unit>
<trans-unit id="Prefer_this">
<source>Prefer 'this.'</source>
<target state="translated">Preferir "this."</target>
<note />
</trans-unit>
<trans-unit id="Prefer_var">
<source>Prefer 'var'</source>
<target state="translated">Preferir 'var'</target>
<note />
</trans-unit>
<trans-unit id="this_preferences_colon">
<source>'this.' preferences:</source>
<target state="translated">'Preferencias de "this.":</target>
<note />
</trans-unit>
<trans-unit id="using_preferences_colon">
<source>'using' preferences:</source>
<target state="translated">Preferencias de "using":</target>
<note>'using' is a C# keyword and should not be localized</note>
</trans-unit>
<trans-unit id="var_preferences_colon">
<source>'var' preferences:</source>
<target state="translated">'Preferencias de 'var':</target>
<note />
</trans-unit>
<trans-unit id="Do_not_prefer_this">
<source>Do not prefer 'this.'</source>
<target state="translated">No preferir "this."</target>
<note />
</trans-unit>
<trans-unit id="predefined_type_preferences_colon">
<source>predefined type preferences:</source>
<target state="translated">Preferencias de tipos predefinidos:</target>
<note />
</trans-unit>
<trans-unit id="Split_string_literals_on_enter">
<source>Split string literals on _enter</source>
<target state="translated">Dividir literales de cadena al presionar _Entrar</target>
<note />
</trans-unit>
<trans-unit id="Highlight_matching_portions_of_completion_list_items">
<source>_Highlight matching portions of completion list items</source>
<target state="translated">_Resaltar partes coincidentes de elementos de lista de finalización</target>
<note />
</trans-unit>
<trans-unit id="Show_completion_item_filters">
<source>Show completion item _filters</source>
<target state="translated">Mostrar _filtros de elementos de finalización</target>
<note />
</trans-unit>
<trans-unit id="Enter_key_behavior_colon">
<source>Enter key behavior:</source>
<target state="translated">Comportamiento de la tecla Entrar:</target>
<note />
</trans-unit>
<trans-unit id="Only_add_new_line_on_enter_after_end_of_fully_typed_word">
<source>_Only add new line on enter after end of fully typed word</source>
<target state="translated">_Agregar solo una nueva línea con Entrar al final de palabras</target>
<note />
</trans-unit>
<trans-unit id="Always_add_new_line_on_enter">
<source>_Always add new line on enter</source>
<target state="translated">_Agregar siempre una nueva línea al presionar Entrar</target>
<note />
</trans-unit>
<trans-unit id="Never_add_new_line_on_enter">
<source>_Never add new line on enter</source>
<target state="translated">_No agregar nunca una nueva línea al presionar Entrar</target>
<note />
</trans-unit>
<trans-unit id="Always_include_snippets">
<source>Always include snippets</source>
<target state="translated">Incluir siempre fragmentos de código</target>
<note />
</trans-unit>
<trans-unit id="Include_snippets_when_Tab_is_typed_after_an_identifier">
<source>Include snippets when ?-Tab is typed after an identifier</source>
<target state="translated">Incluir fragmentos de código cuando ?-Tab se escriba después de un identificador</target>
<note />
</trans-unit>
<trans-unit id="Never_include_snippets">
<source>Never include snippets</source>
<target state="translated">No incluir nunca fragmentos de código</target>
<note />
</trans-unit>
<trans-unit id="Snippets_behavior">
<source>Snippets behavior</source>
<target state="translated">Comportamiento de los fragmentos de código</target>
<note />
</trans-unit>
<trans-unit id="Show_completion_list_after_a_character_is_deleted">
<source>Show completion list after a character is _deleted</source>
<target state="translated">Mostrar lista de finalización después de _eliminar un carácter</target>
<note />
</trans-unit>
<trans-unit id="null_checking_colon">
<source>'null' checking:</source>
<target state="translated">'Comprobación de "null":</target>
<note />
</trans-unit>
<trans-unit id="Prefer_throw_expression">
<source>Prefer throw-expression</source>
<target state="translated">Preferir expresión throw</target>
<note />
</trans-unit>
<trans-unit id="Prefer_conditional_delegate_call">
<source>Prefer conditional delegate call</source>
<target state="translated">Preferir llamada de delegado condicional</target>
<note />
</trans-unit>
<trans-unit id="Prefer_pattern_matching_over_is_with_cast_check">
<source>Prefer pattern matching over 'is' with 'cast' check</source>
<target state="translated">Preferir coincidencia de patrones en lugar de "is" con comprobación de "cast"</target>
<note />
</trans-unit>
<trans-unit id="Prefer_pattern_matching_over_as_with_null_check">
<source>Prefer pattern matching over 'as' with 'null' check</source>
<target state="translated">Preferir coincidencia de patrones en lugar de "as" con comprobación de "null"</target>
<note />
</trans-unit>
<trans-unit id="Prefer_block_body">
<source>Prefer block body</source>
<target state="translated">Preferir cuerpo del bloque</target>
<note />
</trans-unit>
<trans-unit id="Prefer_expression_body">
<source>Prefer expression body</source>
<target state="translated">Preferir cuerpo de expresiones</target>
<note />
</trans-unit>
<trans-unit id="Automatically_format_on_return">
<source>Automatically format on return</source>
<target state="translated">Dar formato automáticamente al volver</target>
<note />
</trans-unit>
<trans-unit id="Automatically_format_when_typing">
<source>Automatically format when typing</source>
<target state="translated">Dar formato automáticamente al escribir</target>
<note />
</trans-unit>
<trans-unit id="Never">
<source>Never</source>
<target state="translated">Nunca</target>
<note />
</trans-unit>
<trans-unit id="When_on_single_line">
<source>When on single line</source>
<target state="translated">Cuando esté en una sola línea</target>
<note />
</trans-unit>
<trans-unit id="When_possible">
<source>When possible</source>
<target state="translated">Cuando sea posible</target>
<note />
</trans-unit>
<trans-unit id="Indent_case_contents_when_block">
<source>Indent case contents (when block)</source>
<target state="translated">Aplicar sangría al contenido de case (cuando esté bloqueado)</target>
<note />
</trans-unit>
<trans-unit id="Fade_out_unused_usings">
<source>Fade out unused usings</source>
<target state="translated">Atenuar directivas using no usadas</target>
<note />
</trans-unit>
<trans-unit id="Report_invalid_placeholders_in_string_dot_format_calls">
<source>Report invalid placeholders in 'string.Format' calls</source>
<target state="translated">Informar sobre marcadores de posición no válidos en llamadas a "String.Format"</target>
<note />
</trans-unit>
<trans-unit id="Separate_using_directive_groups">
<source>Separate using directive groups</source>
<target state="translated">Separar grupos de directivas using</target>
<note />
</trans-unit>
<trans-unit id="Show_name_suggestions">
<source>Show name s_uggestions</source>
<target state="translated">Mostrar s_ugerencias de nombres</target>
<note />
</trans-unit>
<trans-unit id="In_arithmetic_binary_operators">
<source>In arithmetic operators: * / % + - << >> & ^ |</source>
<target state="translated">En operadores aritméticos: * / % + - << >> & ^ |</target>
<note />
</trans-unit>
<trans-unit id="In_other_binary_operators">
<source>In other binary operators: && || ?? and or</source>
<target state="translated">En otros operadores binarios: && || ?? and or</target>
<note>'and' and 'or' are C# keywords and should not be localized</note>
</trans-unit>
</body>
</file>
</xliff> | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="es" original="../CSharpVSResources.resx">
<body>
<trans-unit id="Add_missing_using_directives_on_paste">
<source>Add missing using directives on paste</source>
<target state="translated">Agregar las directivas using que faltan al pegar</target>
<note>'using' is a C# keyword and should not be localized</note>
</trans-unit>
<trans-unit id="Allow_bank_line_after_colon_in_constructor_initializer">
<source>Allow blank line after colon in constructor initializer</source>
<target state="translated">Permitir una línea en blanco después de dos puntos en el inicializador del constructor</target>
<note />
</trans-unit>
<trans-unit id="Allow_blank_lines_between_consecutive_braces">
<source>Allow blank lines between consecutive braces</source>
<target state="translated">Permitir líneas en blanco entre llaves consecutivas</target>
<note />
</trans-unit>
<trans-unit id="Allow_embedded_statements_on_same_line">
<source>Allow embedded statements on same line</source>
<target state="translated">Permitir instrucciones incrustadas en la misma línea</target>
<note />
</trans-unit>
<trans-unit id="Apply_all_csharp_formatting_rules_indentation_wrapping_spacing">
<source>Apply all C# formatting rules (indentation, wrapping, spacing)</source>
<target state="translated">Aplicar todas las reglas de formato de C# (sangría, ajuste, espaciado)</target>
<note />
</trans-unit>
<trans-unit id="Automatically_complete_statement_on_semicolon">
<source>Automatically complete statement on semicolon</source>
<target state="translated">Completar automáticamente la instrucción al introducir punto y coma</target>
<note />
</trans-unit>
<trans-unit id="Automatically_show_completion_list_in_argument_lists">
<source>Automatically show completion list in argument lists</source>
<target state="translated">Mostrar automáticamente la lista de finalización en las listas de argumentos</target>
<note />
</trans-unit>
<trans-unit id="Block_scoped">
<source>Block scoped</source>
<target state="new">Block scoped</target>
<note />
</trans-unit>
<trans-unit id="CSharp">
<source>C#</source>
<target state="translated">C#</target>
<note />
</trans-unit>
<trans-unit id="CSharp_Coding_Conventions">
<source>C# Coding Conventions</source>
<target state="translated">Convenciones de código de C#</target>
<note />
</trans-unit>
<trans-unit id="CSharp_Formatting_Rules">
<source>C# Formatting Rules</source>
<target state="translated">Reglas de formato de C#</target>
<note />
</trans-unit>
<trans-unit id="Completion">
<source>Completion</source>
<target state="translated">Finalización</target>
<note />
</trans-unit>
<trans-unit id="Discard">
<source>Discard</source>
<target state="translated">Descartar</target>
<note />
</trans-unit>
<trans-unit id="Edit_color_scheme">
<source>Edit color scheme</source>
<target state="translated">Editar esquema de color</target>
<note />
</trans-unit>
<trans-unit id="File_scoped">
<source>File scoped</source>
<target state="new">File scoped</target>
<note />
</trans-unit>
<trans-unit id="Format_document_settings">
<source>Format Document Settings (Experiment) </source>
<target state="translated">Configuración de “Dar formato al documento” (experimento)</target>
<note />
</trans-unit>
<trans-unit id="General">
<source>General</source>
<target state="translated">General</target>
<note>Title of the control group on the General Formatting options page</note>
</trans-unit>
<trans-unit id="In_relational_binary_operators">
<source>In relational operators: < > <= >= is as == !=</source>
<target state="translated">En los operadores relacionales: < > <= >= is as == !=</target>
<note>'is' and 'as' are C# keywords and should not be localized</note>
</trans-unit>
<trans-unit id="Insert_slash_slash_at_the_start_of_new_lines_when_writing_slash_slash_comments">
<source>Insert // at the start of new lines when writing // comments</source>
<target state="translated">Insertar // al comienzo de las líneas nuevas al escribir comentarios //</target>
<note />
</trans-unit>
<trans-unit id="Inside_namespace">
<source>Inside namespace</source>
<target state="translated">namespace interior</target>
<note>'namespace' is a C# keyword and should not be localized</note>
</trans-unit>
<trans-unit id="Outside_namespace">
<source>Outside namespace</source>
<target state="translated">namespace exterior</target>
<note>'namespace' is a C# keyword and should not be localized</note>
</trans-unit>
<trans-unit id="Pattern_matching_preferences_colon">
<source>Pattern matching preferences:</source>
<target state="translated">Preferencias de coincidencia de patrón:</target>
<note />
</trans-unit>
<trans-unit id="Perform_additional_code_cleanup_during_formatting">
<source>Perform additional code cleanup during formatting</source>
<target state="translated">Realizar limpieza de código adicional durante la aplicación de formato</target>
<note />
</trans-unit>
<trans-unit id="Place_open_brace_on_new_line_for_object_collection_array_and_with_initializers">
<source>Place open brace on new line for object, collection, array, and with initializers</source>
<target state="translated">Colocar llave de apertura en la nueva línea para los inicializadores de objeto, colección, matriz y with</target>
<note>{Locked="with"}</note>
</trans-unit>
<trans-unit id="Prefer_implicit_object_creation_when_type_is_apparent">
<source>Prefer implicit object creation when type is apparent</source>
<target state="translated">Preferir la creación implícita de objetos cuando el tipo sea aparente</target>
<note />
</trans-unit>
<trans-unit id="Prefer_is_null_for_reference_equality_checks">
<source>Prefer 'is null' for reference equality checks</source>
<target state="translated">Preferir “is null” para comprobaciones de igualdad de referencias</target>
<note>'is null' is a C# string and should not be localized.</note>
</trans-unit>
<trans-unit id="Prefer_null_check_over_type_check">
<source>Prefer 'null' check over type check</source>
<target state="new">Prefer 'null' check over type check</target>
<note />
</trans-unit>
<trans-unit id="Prefer_pattern_matching">
<source>Prefer pattern matching</source>
<target state="translated">Preferir coincidencia de patrones</target>
<note />
</trans-unit>
<trans-unit id="Prefer_pattern_matching_over_mixed_type_check">
<source>Prefer pattern matching over mixed type check</source>
<target state="translated">Anteponer coincidencia de patrón a la comprobación de tipo mixto</target>
<note />
</trans-unit>
<trans-unit id="Prefer_switch_expression">
<source>Prefer switch expression</source>
<target state="translated">Preferir expresión switch</target>
<note />
</trans-unit>
<trans-unit id="Preferred_using_directive_placement">
<source>Preferred 'using' directive placement</source>
<target state="translated">Selección de ubicación de directiva "using" preferida</target>
<note>'using' is a C# keyword and should not be localized</note>
</trans-unit>
<trans-unit id="Remove_unnecessary_usings">
<source>Remove unnecessary usings</source>
<target state="translated">Eliminar instrucciones Using innecesarias</target>
<note />
</trans-unit>
<trans-unit id="Show_hints_for_new_expressions">
<source>Show hints for 'new' expressions</source>
<target state="translated">Mostrar sugerencias para las expresiones "new"</target>
<note />
</trans-unit>
<trans-unit id="Show_items_from_unimported_namespaces">
<source>Show items from unimported namespaces</source>
<target state="translated">Mostrar elementos de espacios de nombres no importados</target>
<note />
</trans-unit>
<trans-unit id="Show_remarks_in_Quick_Info">
<source>Show remarks in Quick Info</source>
<target state="translated">Mostrar comentarios en Información rápida</target>
<note />
</trans-unit>
<trans-unit id="Sort_usings">
<source>Sort usings</source>
<target state="translated">Ordenar instrucciones Using</target>
<note />
</trans-unit>
<trans-unit id="Suggest_usings_for_types_in_dotnet_framework_assemblies">
<source>Suggest usings for types in .NET Framework assemblies</source>
<target state="translated">Sugerir usos para tipos en ensamblados .NET Framework</target>
<note />
</trans-unit>
<trans-unit id="Surround_With">
<source>Surround With</source>
<target state="translated">Rodear con</target>
<note />
</trans-unit>
<trans-unit id="Insert_Snippet">
<source>Insert Snippet</source>
<target state="translated">Insertar fragmento de código</target>
<note />
</trans-unit>
<trans-unit id="Automatically_format_block_on_close_brace">
<source>Automatically format _block on }</source>
<target state="translated">Dar formato automáticamente al _bloque al introducir }</target>
<note />
</trans-unit>
<trans-unit id="Automatically_format_on_paste">
<source>Automatically format on _paste</source>
<target state="translated">Dar formato automáticamente al _pegar</target>
<note />
</trans-unit>
<trans-unit id="Automatically_format_statement_on_semicolon">
<source>Automatically format _statement on ;</source>
<target state="translated">Dar formato automáticamente _a la instrucción al introducir ;</target>
<note />
</trans-unit>
<trans-unit id="Place_members_in_anonymous_types_on_new_line">
<source>Place members in anonymous types on new line</source>
<target state="translated">Colocar miembros en tipos anónimos en nueva línea</target>
<note />
</trans-unit>
<trans-unit id="Leave_block_on_single_line">
<source>Leave block on single line</source>
<target state="translated">Mantener bloque en una sola línea</target>
<note />
</trans-unit>
<trans-unit id="Place_catch_on_new_line">
<source>Place "catch" on new line</source>
<target state="translated">Colocar "catch" en nueva línea</target>
<note />
</trans-unit>
<trans-unit id="Place_else_on_new_line">
<source>Place "else" on new line</source>
<target state="translated">Colocar "else" en nueva línea</target>
<note />
</trans-unit>
<trans-unit id="Indent_block_contents">
<source>Indent block contents</source>
<target state="translated">Aplicar sangría al contenido del bloque</target>
<note />
</trans-unit>
<trans-unit id="Indent_open_and_close_braces">
<source>Indent open and close braces</source>
<target state="translated">Aplicar sangría a llaves de apertura y cierre</target>
<note />
</trans-unit>
<trans-unit id="Indent_case_contents">
<source>Indent case contents</source>
<target state="translated">Aplicar sangría al contenido de case</target>
<note />
</trans-unit>
<trans-unit id="Indent_case_labels">
<source>Indent case labels</source>
<target state="translated">Aplicar sangría a etiquetas case</target>
<note />
</trans-unit>
<trans-unit id="Place_finally_on_new_line">
<source>Place "finally" on new line</source>
<target state="translated">Colocar "finally" en nueva línea</target>
<note />
</trans-unit>
<trans-unit id="Place_goto_labels_in_leftmost_column">
<source>Place goto labels in leftmost column</source>
<target state="translated">Colocar etiquetas goto en primera columna de la izquierda</target>
<note />
</trans-unit>
<trans-unit id="Indent_labels_normally">
<source>Indent labels normally</source>
<target state="translated">Aplicar sangría normal a etiquetas</target>
<note />
</trans-unit>
<trans-unit id="Place_goto_labels_one_indent_less_than_current">
<source>Place goto labels one indent less than current</source>
<target state="translated">Reducir una sangría para las etiquetas goto</target>
<note />
</trans-unit>
<trans-unit id="Label_Indentation">
<source>Label Indentation</source>
<target state="translated">Sangría de etiquetas</target>
<note />
</trans-unit>
<trans-unit id="Place_members_in_object_initializers_on_new_line">
<source>Place members in object initializers on new line</source>
<target state="translated">Colocar miembros de inicializadores de objetos en nueva línea</target>
<note />
</trans-unit>
<trans-unit id="Place_open_brace_on_new_line_for_anonymous_methods">
<source>Place open brace on new line for anonymous methods</source>
<target state="translated">Colocar llave de apertura para métodos anónimos en nueva línea</target>
<note />
</trans-unit>
<trans-unit id="Place_open_brace_on_new_line_for_anonymous_types">
<source>Place open brace on new line for anonymous types</source>
<target state="translated">Colocar llave de apertura para tipos anónimos en nueva línea</target>
<note />
</trans-unit>
<trans-unit id="Place_open_brace_on_new_line_for_control_blocks">
<source>Place open brace on new line for control blocks</source>
<target state="translated">Colocar llave de apertura para bloques de control en nueva línea</target>
<note />
</trans-unit>
<trans-unit id="Place_open_brace_on_new_line_for_lambda_expression">
<source>Place open brace on new line for lambda expression</source>
<target state="translated">Colocar llave de apertura para expresión lambda en nueva línea</target>
<note />
</trans-unit>
<trans-unit id="Place_open_brace_on_new_line_for_methods_local_functions">
<source>Place open brace on new line for methods and local functions</source>
<target state="translated">Poner la llave de apertura en una línea nueva para los métodos y las funciones locales</target>
<note />
</trans-unit>
<trans-unit id="Place_open_brace_on_new_line_for_types">
<source>Place open brace on new line for types</source>
<target state="translated">Colocar llave de apertura para tipos en nueva línea</target>
<note />
</trans-unit>
<trans-unit id="Place_query_expression_clauses_on_new_line">
<source>Place query expression clauses on new line</source>
<target state="translated">Colocar cláusulas de expresiones de consulta en nueva línea</target>
<note />
</trans-unit>
<trans-unit id="Leave_statements_and_member_declarations_on_the_same_line">
<source>Leave statements and member declarations on the same line</source>
<target state="translated">Mantener instrucciones y declaraciones de miembros en la misma línea</target>
<note />
</trans-unit>
<trans-unit id="Insert_space_before_and_after_binary_operators">
<source>Insert space before and after binary operators</source>
<target state="translated">Insertar espacio delante y detrás de operadores binarios</target>
<note />
</trans-unit>
<trans-unit id="Ignore_spaces_around_binary_operators">
<source>Ignore spaces around binary operators</source>
<target state="translated">Omitir espacios alrededor de operadores binarios</target>
<note />
</trans-unit>
<trans-unit id="Remove_spaces_before_and_after_binary_operators">
<source>Remove spaces before and after binary operators</source>
<target state="translated">Quitar espacios delante y detrás de operadores binarios</target>
<note />
</trans-unit>
<trans-unit id="Insert_space_after_colon_for_base_or_interface_in_type_declaration">
<source>Insert space after colon for base or interface in type declaration</source>
<target state="translated">Insertar espacio tras dos puntos para base o interfaz en una declaración de tipo</target>
<note />
</trans-unit>
<trans-unit id="Insert_space_after_comma">
<source>Insert space after comma</source>
<target state="translated">Insertar espacio tras coma</target>
<note />
</trans-unit>
<trans-unit id="Insert_space_after_dot">
<source>Insert space after dot</source>
<target state="translated">Insertar espacio tras punto</target>
<note />
</trans-unit>
<trans-unit id="Insert_space_after_semicolon_in_for_statement">
<source>Insert space after semicolon in "for" statement</source>
<target state="translated">Insertar espacio tras punto y coma en instrucción "for"</target>
<note />
</trans-unit>
<trans-unit id="Insert_space_before_colon_for_base_or_interface_in_type_declaration">
<source>Insert space before colon for base or interface in type declaration</source>
<target state="translated">Insertar espacio delante de dos puntos para base o interfaz en una declaración de tipo</target>
<note />
</trans-unit>
<trans-unit id="Insert_space_before_comma">
<source>Insert space before comma</source>
<target state="translated">Insertar espacio delante de coma</target>
<note />
</trans-unit>
<trans-unit id="Insert_space_before_dot">
<source>Insert space before dot</source>
<target state="translated">Insertar espacio delante de punto</target>
<note />
</trans-unit>
<trans-unit id="Insert_space_before_semicolon_in_for_statement">
<source>Insert space before semicolon in "for" statement</source>
<target state="translated">Insertar espacio delante de punto y coma en instrucciones "for"</target>
<note />
</trans-unit>
<trans-unit id="Insert_space_within_argument_list_parentheses">
<source>Insert space within argument list parentheses</source>
<target state="translated">Insertar espacio entre paréntesis de la lista de argumentos</target>
<note />
</trans-unit>
<trans-unit id="Insert_space_within_empty_argument_list_parentheses">
<source>Insert space within empty argument list parentheses</source>
<target state="translated">Insertar espacio entre paréntesis vacíos de la lista de argumentos</target>
<note />
</trans-unit>
<trans-unit id="Insert_space_between_method_name_and_its_opening_parenthesis1">
<source>Insert space between method name and its opening parenthesis</source>
<target state="translated">Insertar espacio entre el nombre del método y el paréntesis de apertura</target>
<note />
</trans-unit>
<trans-unit id="Insert_space_within_empty_parameter_list_parentheses">
<source>Insert space within empty parameter list parentheses</source>
<target state="translated">Insertar espacio entre paréntesis vacíos de la lista de parámetros</target>
<note />
</trans-unit>
<trans-unit id="Insert_space_between_method_name_and_its_opening_parenthesis2">
<source>Insert space between method name and its opening parenthesis</source>
<target state="translated">Insertar espacio entre el nombre del método y el paréntesis de apertura</target>
<note />
</trans-unit>
<trans-unit id="Insert_space_within_parameter_list_parentheses">
<source>Insert space within parameter list parentheses</source>
<target state="translated">Insertar espacio entre paréntesis de la lista de parámetros</target>
<note />
</trans-unit>
<trans-unit id="Insert_space_after_keywords_in_control_flow_statements">
<source>Insert space after keywords in control flow statements</source>
<target state="translated">Insertar espacio después de las palabras clave en instrucciones de flujo de control</target>
<note />
</trans-unit>
<trans-unit id="Insert_space_within_parentheses_of_expressions">
<source>Insert space within parentheses of expressions</source>
<target state="translated">Insertar espacio entre paréntesis de expresiones</target>
<note />
</trans-unit>
<trans-unit id="Insert_space_after_cast">
<source>Insert space after cast</source>
<target state="translated">Insertar espacio tras conversión</target>
<note />
</trans-unit>
<trans-unit id="Insert_spaces_within_parentheses_of_control_flow_statements">
<source>Insert spaces within parentheses of control flow statements</source>
<target state="translated">Insertar espacios entre paréntesis de instrucciones de flujo de control</target>
<note />
</trans-unit>
<trans-unit id="Insert_space_within_parentheses_of_type_casts">
<source>Insert space within parentheses of type casts</source>
<target state="translated">Insertar espacio entre paréntesis de conversiones de tipo</target>
<note />
</trans-unit>
<trans-unit id="Ignore_spaces_in_declaration_statements">
<source>Ignore spaces in declaration statements</source>
<target state="translated">Omitir espacios en instrucciones de declaración</target>
<note />
</trans-unit>
<trans-unit id="Set_other_spacing_options">
<source>Set other spacing options</source>
<target state="translated">Establecer otras opciones de espaciado</target>
<note />
</trans-unit>
<trans-unit id="Set_spacing_for_brackets">
<source>Set spacing for brackets</source>
<target state="translated">Establecer espaciado para corchetes</target>
<note />
</trans-unit>
<trans-unit id="Set_spacing_for_delimiters">
<source>Set spacing for delimiters</source>
<target state="translated">Establecer espaciado para delimitadores</target>
<note />
</trans-unit>
<trans-unit id="Set_spacing_for_method_calls">
<source>Set spacing for method calls</source>
<target state="translated">Establecer espaciado para llamadas a métodos</target>
<note />
</trans-unit>
<trans-unit id="Set_spacing_for_method_declarations">
<source>Set spacing for method declarations</source>
<target state="translated">Establecer espaciado para declaraciones de método</target>
<note />
</trans-unit>
<trans-unit id="Set_spacing_for_operators">
<source>Set spacing for operators</source>
<target state="translated">Establecer espaciado para operadores</target>
<note />
</trans-unit>
<trans-unit id="Insert_spaces_within_square_brackets">
<source>Insert spaces within square brackets</source>
<target state="translated">Insertar espacios entre corchetes</target>
<note />
</trans-unit>
<trans-unit id="Insert_space_before_open_square_bracket">
<source>Insert space before open square bracket</source>
<target state="translated">Insertar espacio delante de corchete de apertura</target>
<note />
</trans-unit>
<trans-unit id="Insert_space_within_empty_square_brackets">
<source>Insert space within empty square brackets</source>
<target state="translated">Insertar espacio entre corchetes vacíos</target>
<note />
</trans-unit>
<trans-unit id="New_line_options_for_braces">
<source>New line options for braces</source>
<target state="translated">Opciones de nueva línea para llaves</target>
<note />
</trans-unit>
<trans-unit id="New_line_options_for_expressions">
<source>New line options for expressions</source>
<target state="translated">Opciones de nueva línea para expresiones</target>
<note />
</trans-unit>
<trans-unit id="New_line_options_for_keywords">
<source>New line options for keywords</source>
<target state="translated">Opciones de nueva línea para palabras clave</target>
<note />
</trans-unit>
<trans-unit id="Unused_local">
<source>Unused local</source>
<target state="translated">Local sin uso</target>
<note />
</trans-unit>
<trans-unit id="Use_var_when_generating_locals">
<source>Use 'var' when generating locals</source>
<target state="translated">Usar 'var' al generar variables locales</target>
<note />
</trans-unit>
<trans-unit id="Show_procedure_line_separators">
<source>_Show procedure line separators</source>
<target state="translated">Mo_strar separadores de líneas de procedimientos</target>
<note />
</trans-unit>
<trans-unit id="Don_t_put_ref_or_out_on_custom_struct">
<source>_Don't put ref or out on custom struct</source>
<target state="translated">_No colocar 'out' o 'ref' en estructura personalizada</target>
<note />
</trans-unit>
<trans-unit id="Editor_Help">
<source>Editor Help</source>
<target state="translated">Ayuda de editor</target>
<note />
</trans-unit>
<trans-unit id="Highlight_related_keywords_under_cursor">
<source>Highlight related _keywords under cursor</source>
<target state="translated">Resaltar palabras cla_ve relacionadas bajo el cursor</target>
<note />
</trans-unit>
<trans-unit id="Highlight_references_to_symbol_under_cursor">
<source>_Highlight references to symbol under cursor</source>
<target state="translated">_Resaltar referencias al símbolo bajo el cursor</target>
<note />
</trans-unit>
<trans-unit id="Enter_outlining_mode_when_files_open">
<source>Enter _outlining mode when files open</source>
<target state="translated">Entrar en m_odo de esquematización al abrir archivos</target>
<note />
</trans-unit>
<trans-unit id="Extract_Method">
<source>Extract Method</source>
<target state="translated">Extraer método</target>
<note />
</trans-unit>
<trans-unit id="Generate_XML_documentation_comments_for">
<source>_Generate XML documentation comments for ///</source>
<target state="translated">_Generar comentarios de documentación XML con ///</target>
<note />
</trans-unit>
<trans-unit id="Highlighting">
<source>Highlighting</source>
<target state="translated">Resaltar</target>
<note />
</trans-unit>
<trans-unit id="Insert_at_the_start_of_new_lines_when_writing_comments">
<source>_Insert * at the start of new lines when writing /* */ comments</source>
<target state="translated">_Insertar * al comienzo de nuevas líneas al escribir comentarios /* */</target>
<note />
</trans-unit>
<trans-unit id="Optimize_for_solution_size">
<source>Optimize for solution size</source>
<target state="translated">Optimizar para tamaño de la solución</target>
<note />
</trans-unit>
<trans-unit id="Large">
<source>Large</source>
<target state="translated">Grande</target>
<note />
</trans-unit>
<trans-unit id="Regular">
<source>Regular</source>
<target state="translated">Normal</target>
<note />
</trans-unit>
<trans-unit id="Small">
<source>Small</source>
<target state="translated">Pequeño</target>
<note />
</trans-unit>
<trans-unit id="Using_Directives">
<source>Using Directives</source>
<target state="translated">Directivas Using</target>
<note />
</trans-unit>
<trans-unit id="Performance">
<source>Performance</source>
<target state="translated">Rendimiento</target>
<note />
</trans-unit>
<trans-unit id="Place_System_directives_first_when_sorting_usings">
<source>_Place 'System' directives first when sorting usings</source>
<target state="translated">Al ordenar instrucciones Using, _colocar primero las directivas 'System'</target>
<note />
</trans-unit>
<trans-unit id="Show_completion_list_after_a_character_is_typed">
<source>_Show completion list after a character is typed</source>
<target state="translated">_Mostrar lista de finalización después de escribir un carácter</target>
<note />
</trans-unit>
<trans-unit id="Place_keywords_in_completion_lists">
<source>Place _keywords in completion lists</source>
<target state="translated">Colocar _palabras clave en listas de finalización</target>
<note />
</trans-unit>
<trans-unit id="Place_code_snippets_in_completion_lists">
<source>Place _code snippets in completion lists</source>
<target state="translated">Colocar _fragmentos de código en listas de finalización</target>
<note />
</trans-unit>
<trans-unit id="Selection_In_Completion_List">
<source>Selection In Completion List</source>
<target state="translated">Selección en la lista de finalización</target>
<note />
</trans-unit>
<trans-unit id="Show_preview_for_rename_tracking">
<source>Show preview for rename _tracking</source>
<target state="translated">Mostrar vista previa para _seguimiento de cambio de nombre</target>
<note />
</trans-unit>
<trans-unit id="Place_open_brace_on_new_line_for_property_indexer_and_event_accessors">
<source>Place open brace on new line for property, indexer, and event accessors</source>
<target state="translated">Colocar llave de apertura para descriptores de acceso de eventos, indizadores y propiedades en nueva línea</target>
<note />
</trans-unit>
<trans-unit id="Place_open_brace_on_new_line_for_properties_indexers_and_events">
<source>Place open brace on new line for properties, indexers, and events</source>
<target state="translated">Colocar llave de apertura para propiedades, indizadores y eventos en nueva línea</target>
<note />
</trans-unit>
<trans-unit id="Suggest_usings_for_types_in_NuGet_packages">
<source>Suggest usings for types in _NuGet packages</source>
<target state="translated">Sugerir usos para tipos de paquetes _NuGet</target>
<note />
</trans-unit>
<trans-unit id="Type_Inference_preferences_colon">
<source>Type Inference preferences:</source>
<target state="translated">Preferencias de inferencia de tipo:</target>
<note />
</trans-unit>
<trans-unit id="For_built_in_types">
<source>For built-in types</source>
<target state="translated">Para tipos integrados</target>
<note />
</trans-unit>
<trans-unit id="Elsewhere">
<source>Elsewhere</source>
<target state="translated">En otro lugar</target>
<note />
</trans-unit>
<trans-unit id="When_on_multiple_lines">
<source>When on multiple lines</source>
<target state="translated">Cuando se usan varias líneas</target>
<note />
</trans-unit>
<trans-unit id="When_variable_type_is_apparent">
<source>When variable type is apparent</source>
<target state="translated">Cuando el tipo de variable es aparente</target>
<note />
</trans-unit>
<trans-unit id="Qualify_event_access_with_this">
<source>Qualify event access with 'this'</source>
<target state="translated">Calificar acceso a evento con 'this'</target>
<note />
</trans-unit>
<trans-unit id="Qualify_field_access_with_this">
<source>Qualify field access with 'this'</source>
<target state="translated">Calificar acceso a campo con 'this'</target>
<note />
</trans-unit>
<trans-unit id="Qualify_method_access_with_this">
<source>Qualify method access with 'this'</source>
<target state="translated">Calificar acceso a método con 'this'</target>
<note />
</trans-unit>
<trans-unit id="Qualify_property_access_with_this">
<source>Qualify property access with 'this'</source>
<target state="translated">Calificar acceso a propiedad con 'this'</target>
<note />
</trans-unit>
<trans-unit id="Prefer_explicit_type">
<source>Prefer explicit type</source>
<target state="translated">Preferir tipo explícito</target>
<note />
</trans-unit>
<trans-unit id="Prefer_this">
<source>Prefer 'this.'</source>
<target state="translated">Preferir "this."</target>
<note />
</trans-unit>
<trans-unit id="Prefer_var">
<source>Prefer 'var'</source>
<target state="translated">Preferir 'var'</target>
<note />
</trans-unit>
<trans-unit id="this_preferences_colon">
<source>'this.' preferences:</source>
<target state="translated">'Preferencias de "this.":</target>
<note />
</trans-unit>
<trans-unit id="using_preferences_colon">
<source>'using' preferences:</source>
<target state="translated">Preferencias de "using":</target>
<note>'using' is a C# keyword and should not be localized</note>
</trans-unit>
<trans-unit id="var_preferences_colon">
<source>'var' preferences:</source>
<target state="translated">'Preferencias de 'var':</target>
<note />
</trans-unit>
<trans-unit id="Do_not_prefer_this">
<source>Do not prefer 'this.'</source>
<target state="translated">No preferir "this."</target>
<note />
</trans-unit>
<trans-unit id="predefined_type_preferences_colon">
<source>predefined type preferences:</source>
<target state="translated">Preferencias de tipos predefinidos:</target>
<note />
</trans-unit>
<trans-unit id="Split_string_literals_on_enter">
<source>Split string literals on _enter</source>
<target state="translated">Dividir literales de cadena al presionar _Entrar</target>
<note />
</trans-unit>
<trans-unit id="Highlight_matching_portions_of_completion_list_items">
<source>_Highlight matching portions of completion list items</source>
<target state="translated">_Resaltar partes coincidentes de elementos de lista de finalización</target>
<note />
</trans-unit>
<trans-unit id="Show_completion_item_filters">
<source>Show completion item _filters</source>
<target state="translated">Mostrar _filtros de elementos de finalización</target>
<note />
</trans-unit>
<trans-unit id="Enter_key_behavior_colon">
<source>Enter key behavior:</source>
<target state="translated">Comportamiento de la tecla Entrar:</target>
<note />
</trans-unit>
<trans-unit id="Only_add_new_line_on_enter_after_end_of_fully_typed_word">
<source>_Only add new line on enter after end of fully typed word</source>
<target state="translated">_Agregar solo una nueva línea con Entrar al final de palabras</target>
<note />
</trans-unit>
<trans-unit id="Always_add_new_line_on_enter">
<source>_Always add new line on enter</source>
<target state="translated">_Agregar siempre una nueva línea al presionar Entrar</target>
<note />
</trans-unit>
<trans-unit id="Never_add_new_line_on_enter">
<source>_Never add new line on enter</source>
<target state="translated">_No agregar nunca una nueva línea al presionar Entrar</target>
<note />
</trans-unit>
<trans-unit id="Always_include_snippets">
<source>Always include snippets</source>
<target state="translated">Incluir siempre fragmentos de código</target>
<note />
</trans-unit>
<trans-unit id="Include_snippets_when_Tab_is_typed_after_an_identifier">
<source>Include snippets when ?-Tab is typed after an identifier</source>
<target state="translated">Incluir fragmentos de código cuando ?-Tab se escriba después de un identificador</target>
<note />
</trans-unit>
<trans-unit id="Never_include_snippets">
<source>Never include snippets</source>
<target state="translated">No incluir nunca fragmentos de código</target>
<note />
</trans-unit>
<trans-unit id="Snippets_behavior">
<source>Snippets behavior</source>
<target state="translated">Comportamiento de los fragmentos de código</target>
<note />
</trans-unit>
<trans-unit id="Show_completion_list_after_a_character_is_deleted">
<source>Show completion list after a character is _deleted</source>
<target state="translated">Mostrar lista de finalización después de _eliminar un carácter</target>
<note />
</trans-unit>
<trans-unit id="null_checking_colon">
<source>'null' checking:</source>
<target state="translated">'Comprobación de "null":</target>
<note />
</trans-unit>
<trans-unit id="Prefer_throw_expression">
<source>Prefer throw-expression</source>
<target state="translated">Preferir expresión throw</target>
<note />
</trans-unit>
<trans-unit id="Prefer_conditional_delegate_call">
<source>Prefer conditional delegate call</source>
<target state="translated">Preferir llamada de delegado condicional</target>
<note />
</trans-unit>
<trans-unit id="Prefer_pattern_matching_over_is_with_cast_check">
<source>Prefer pattern matching over 'is' with 'cast' check</source>
<target state="translated">Preferir coincidencia de patrones en lugar de "is" con comprobación de "cast"</target>
<note />
</trans-unit>
<trans-unit id="Prefer_pattern_matching_over_as_with_null_check">
<source>Prefer pattern matching over 'as' with 'null' check</source>
<target state="translated">Preferir coincidencia de patrones en lugar de "as" con comprobación de "null"</target>
<note />
</trans-unit>
<trans-unit id="Prefer_block_body">
<source>Prefer block body</source>
<target state="translated">Preferir cuerpo del bloque</target>
<note />
</trans-unit>
<trans-unit id="Prefer_expression_body">
<source>Prefer expression body</source>
<target state="translated">Preferir cuerpo de expresiones</target>
<note />
</trans-unit>
<trans-unit id="Automatically_format_on_return">
<source>Automatically format on return</source>
<target state="translated">Dar formato automáticamente al volver</target>
<note />
</trans-unit>
<trans-unit id="Automatically_format_when_typing">
<source>Automatically format when typing</source>
<target state="translated">Dar formato automáticamente al escribir</target>
<note />
</trans-unit>
<trans-unit id="Never">
<source>Never</source>
<target state="translated">Nunca</target>
<note />
</trans-unit>
<trans-unit id="When_on_single_line">
<source>When on single line</source>
<target state="translated">Cuando esté en una sola línea</target>
<note />
</trans-unit>
<trans-unit id="When_possible">
<source>When possible</source>
<target state="translated">Cuando sea posible</target>
<note />
</trans-unit>
<trans-unit id="Indent_case_contents_when_block">
<source>Indent case contents (when block)</source>
<target state="translated">Aplicar sangría al contenido de case (cuando esté bloqueado)</target>
<note />
</trans-unit>
<trans-unit id="Fade_out_unused_usings">
<source>Fade out unused usings</source>
<target state="translated">Atenuar directivas using no usadas</target>
<note />
</trans-unit>
<trans-unit id="Report_invalid_placeholders_in_string_dot_format_calls">
<source>Report invalid placeholders in 'string.Format' calls</source>
<target state="translated">Informar sobre marcadores de posición no válidos en llamadas a "String.Format"</target>
<note />
</trans-unit>
<trans-unit id="Separate_using_directive_groups">
<source>Separate using directive groups</source>
<target state="translated">Separar grupos de directivas using</target>
<note />
</trans-unit>
<trans-unit id="Show_name_suggestions">
<source>Show name s_uggestions</source>
<target state="translated">Mostrar s_ugerencias de nombres</target>
<note />
</trans-unit>
<trans-unit id="In_arithmetic_binary_operators">
<source>In arithmetic operators: * / % + - << >> & ^ |</source>
<target state="translated">En operadores aritméticos: * / % + - << >> & ^ |</target>
<note />
</trans-unit>
<trans-unit id="In_other_binary_operators">
<source>In other binary operators: && || ?? and or</source>
<target state="translated">En otros operadores binarios: && || ?? and or</target>
<note>'and' and 'or' are C# keywords and should not be localized</note>
</trans-unit>
</body>
</file>
</xliff> | -1 |
dotnet/roslyn | 56,030 | Remove RemoveUnusedReferences command hotkey | Resolves https://github.com/dotnet/roslyn/issues/56028 | JoeRobich | "2021-08-31T17:18:07Z" | "2021-08-31T18:42:08Z" | e01c311bd91e6290eefe9be9eeef76c64b08b2d5 | 2be2c34f110e7ce2f4cfd8e4b1f8153603087679 | Remove RemoveUnusedReferences command hotkey. Resolves https://github.com/dotnet/roslyn/issues/56028 | ./src/VisualStudio/Core/Impl/xlf/SolutionExplorerShim.ko.xlf | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="ko" original="../SolutionExplorerShim.resx">
<body>
<trans-unit id="Analyzers">
<source>Analyzers</source>
<target state="translated">분석기</target>
<note />
</trans-unit>
<trans-unit id="Folder_Properties">
<source>Folder Properties</source>
<target state="translated">폴더 속성</target>
<note />
</trans-unit>
<trans-unit id="Analyzer_Properties">
<source>Analyzer Properties</source>
<target state="translated">분석기 속성</target>
<note />
</trans-unit>
<trans-unit id="Add_Analyzer">
<source>Add Analyzer</source>
<target state="translated">분석기 추가</target>
<note />
</trans-unit>
<trans-unit id="Analyzer_Files">
<source>Analyzer Files</source>
<target state="translated">분석기 파일</target>
<note />
</trans-unit>
<trans-unit id="Diagnostic_Properties">
<source>Diagnostic Properties</source>
<target state="translated">진단 속성</target>
<note />
</trans-unit>
<trans-unit id="No_rule_set_file_is_specified_or_the_file_does_not_exist">
<source>No rule set file is specified, or the file does not exist.</source>
<target state="translated">규칙 설정 파일을 지정하지 않았거나 파일이 없습니다.</target>
<note />
</trans-unit>
<trans-unit id="Source_Generated_File_Properties">
<source>Source Generated File Properties</source>
<target state="translated">소스에서 생성된 파일 속성</target>
<note />
</trans-unit>
<trans-unit id="Source_Generator_Properties">
<source>Source Generator Properties</source>
<target state="translated">소스 생성기 속성</target>
<note />
</trans-unit>
<trans-unit id="The_rule_set_file_could_not_be_opened">
<source>The rule set file could not be opened.</source>
<target state="translated">규칙 설정 파일을 열 수 없습니다.</target>
<note />
</trans-unit>
<trans-unit id="The_rule_set_file_could_not_be_updated">
<source>The rule set file could not be updated.</source>
<target state="translated">규칙 집합 파일을 업데이트할 수 없습니다.</target>
<note />
</trans-unit>
<trans-unit id="Could_not_create_a_rule_set_for_project_0">
<source>Could not create a rule set for project {0}.</source>
<target state="translated">{0} 프로젝트에 대한 규칙 집합을 만들 수 없습니다.</target>
<note />
</trans-unit>
<trans-unit id="Default_">
<source>Default</source>
<target state="translated">기본값</target>
<note />
</trans-unit>
<trans-unit id="Error_">
<source>Error</source>
<target state="translated">오류</target>
<note />
</trans-unit>
<trans-unit id="This_generator_is_not_generating_files">
<source>This generator is not generating files.</source>
<target state="translated">이 생성기는 파일을 생성하고 있지 않습니다.</target>
<note />
</trans-unit>
<trans-unit id="Type_Name">
<source>Type Name</source>
<target state="translated">형식 이름</target>
<note />
</trans-unit>
<trans-unit id="Warning">
<source>Warning</source>
<target state="translated">경고</target>
<note />
</trans-unit>
<trans-unit id="Info">
<source>Info</source>
<target state="translated">정보</target>
<note />
</trans-unit>
<trans-unit id="Hidden">
<source>Hidden</source>
<target state="translated">숨김</target>
<note />
</trans-unit>
<trans-unit id="Suppressed">
<source>Suppressed</source>
<target state="translated">표시 안 함</target>
<note />
</trans-unit>
<trans-unit id="Rule_Set">
<source>Rule Set</source>
<target state="translated">규칙 집합</target>
<note />
</trans-unit>
<trans-unit id="Checking_out_0_for_editing">
<source>Checking out {0} for editing...</source>
<target state="translated">편집을 위해 {0}을(를) 체크 아웃하는 중...</target>
<note />
</trans-unit>
<trans-unit id="Name">
<source>(Name)</source>
<target state="translated">(이름)</target>
<note />
</trans-unit>
<trans-unit id="Path">
<source>Path</source>
<target state="translated">경로</target>
<note />
</trans-unit>
<trans-unit id="Category">
<source>Category</source>
<target state="translated">범주</target>
<note />
</trans-unit>
<trans-unit id="Default_severity">
<source>Default severity</source>
<target state="translated">기본 심각도</target>
<note />
</trans-unit>
<trans-unit id="Description">
<source>Description</source>
<target state="translated">설명</target>
<note />
</trans-unit>
<trans-unit id="Effective_severity">
<source>Effective severity</source>
<target state="translated">유효 심각도</target>
<note />
</trans-unit>
<trans-unit id="Enabled_by_default">
<source>Enabled by default</source>
<target state="translated">기본값으로 사용 가능</target>
<note />
</trans-unit>
<trans-unit id="Help_link">
<source>Help link</source>
<target state="translated">도움말 링크</target>
<note />
</trans-unit>
<trans-unit id="ID">
<source>ID</source>
<target state="translated">ID</target>
<note />
</trans-unit>
<trans-unit id="Message">
<source>Message</source>
<target state="translated">메시지</target>
<note />
</trans-unit>
<trans-unit id="Tags">
<source>Tags</source>
<target state="translated">태그</target>
<note />
</trans-unit>
<trans-unit id="Title">
<source>Title</source>
<target state="translated">제목</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="ko" original="../SolutionExplorerShim.resx">
<body>
<trans-unit id="Analyzers">
<source>Analyzers</source>
<target state="translated">분석기</target>
<note />
</trans-unit>
<trans-unit id="Folder_Properties">
<source>Folder Properties</source>
<target state="translated">폴더 속성</target>
<note />
</trans-unit>
<trans-unit id="Analyzer_Properties">
<source>Analyzer Properties</source>
<target state="translated">분석기 속성</target>
<note />
</trans-unit>
<trans-unit id="Add_Analyzer">
<source>Add Analyzer</source>
<target state="translated">분석기 추가</target>
<note />
</trans-unit>
<trans-unit id="Analyzer_Files">
<source>Analyzer Files</source>
<target state="translated">분석기 파일</target>
<note />
</trans-unit>
<trans-unit id="Diagnostic_Properties">
<source>Diagnostic Properties</source>
<target state="translated">진단 속성</target>
<note />
</trans-unit>
<trans-unit id="No_rule_set_file_is_specified_or_the_file_does_not_exist">
<source>No rule set file is specified, or the file does not exist.</source>
<target state="translated">규칙 설정 파일을 지정하지 않았거나 파일이 없습니다.</target>
<note />
</trans-unit>
<trans-unit id="Source_Generated_File_Properties">
<source>Source Generated File Properties</source>
<target state="translated">소스에서 생성된 파일 속성</target>
<note />
</trans-unit>
<trans-unit id="Source_Generator_Properties">
<source>Source Generator Properties</source>
<target state="translated">소스 생성기 속성</target>
<note />
</trans-unit>
<trans-unit id="The_rule_set_file_could_not_be_opened">
<source>The rule set file could not be opened.</source>
<target state="translated">규칙 설정 파일을 열 수 없습니다.</target>
<note />
</trans-unit>
<trans-unit id="The_rule_set_file_could_not_be_updated">
<source>The rule set file could not be updated.</source>
<target state="translated">규칙 집합 파일을 업데이트할 수 없습니다.</target>
<note />
</trans-unit>
<trans-unit id="Could_not_create_a_rule_set_for_project_0">
<source>Could not create a rule set for project {0}.</source>
<target state="translated">{0} 프로젝트에 대한 규칙 집합을 만들 수 없습니다.</target>
<note />
</trans-unit>
<trans-unit id="Default_">
<source>Default</source>
<target state="translated">기본값</target>
<note />
</trans-unit>
<trans-unit id="Error_">
<source>Error</source>
<target state="translated">오류</target>
<note />
</trans-unit>
<trans-unit id="This_generator_is_not_generating_files">
<source>This generator is not generating files.</source>
<target state="translated">이 생성기는 파일을 생성하고 있지 않습니다.</target>
<note />
</trans-unit>
<trans-unit id="Type_Name">
<source>Type Name</source>
<target state="translated">형식 이름</target>
<note />
</trans-unit>
<trans-unit id="Warning">
<source>Warning</source>
<target state="translated">경고</target>
<note />
</trans-unit>
<trans-unit id="Info">
<source>Info</source>
<target state="translated">정보</target>
<note />
</trans-unit>
<trans-unit id="Hidden">
<source>Hidden</source>
<target state="translated">숨김</target>
<note />
</trans-unit>
<trans-unit id="Suppressed">
<source>Suppressed</source>
<target state="translated">표시 안 함</target>
<note />
</trans-unit>
<trans-unit id="Rule_Set">
<source>Rule Set</source>
<target state="translated">규칙 집합</target>
<note />
</trans-unit>
<trans-unit id="Checking_out_0_for_editing">
<source>Checking out {0} for editing...</source>
<target state="translated">편집을 위해 {0}을(를) 체크 아웃하는 중...</target>
<note />
</trans-unit>
<trans-unit id="Name">
<source>(Name)</source>
<target state="translated">(이름)</target>
<note />
</trans-unit>
<trans-unit id="Path">
<source>Path</source>
<target state="translated">경로</target>
<note />
</trans-unit>
<trans-unit id="Category">
<source>Category</source>
<target state="translated">범주</target>
<note />
</trans-unit>
<trans-unit id="Default_severity">
<source>Default severity</source>
<target state="translated">기본 심각도</target>
<note />
</trans-unit>
<trans-unit id="Description">
<source>Description</source>
<target state="translated">설명</target>
<note />
</trans-unit>
<trans-unit id="Effective_severity">
<source>Effective severity</source>
<target state="translated">유효 심각도</target>
<note />
</trans-unit>
<trans-unit id="Enabled_by_default">
<source>Enabled by default</source>
<target state="translated">기본값으로 사용 가능</target>
<note />
</trans-unit>
<trans-unit id="Help_link">
<source>Help link</source>
<target state="translated">도움말 링크</target>
<note />
</trans-unit>
<trans-unit id="ID">
<source>ID</source>
<target state="translated">ID</target>
<note />
</trans-unit>
<trans-unit id="Message">
<source>Message</source>
<target state="translated">메시지</target>
<note />
</trans-unit>
<trans-unit id="Tags">
<source>Tags</source>
<target state="translated">태그</target>
<note />
</trans-unit>
<trans-unit id="Title">
<source>Title</source>
<target state="translated">제목</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | -1 |
dotnet/roslyn | 56,030 | Remove RemoveUnusedReferences command hotkey | Resolves https://github.com/dotnet/roslyn/issues/56028 | JoeRobich | "2021-08-31T17:18:07Z" | "2021-08-31T18:42:08Z" | e01c311bd91e6290eefe9be9eeef76c64b08b2d5 | 2be2c34f110e7ce2f4cfd8e4b1f8153603087679 | Remove RemoveUnusedReferences command hotkey. Resolves https://github.com/dotnet/roslyn/issues/56028 | ./src/VisualStudio/CSharp/Impl/Interactive/xlf/Commands.vsct.ja.xlf | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="ja" original="../Commands.vsct">
<body>
<trans-unit id="cmdidCSharpInteractiveToolWindow|ButtonText">
<source>C# Interactive</source>
<target state="translated">C# インタラクティブ</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | <?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="ja" original="../Commands.vsct">
<body>
<trans-unit id="cmdidCSharpInteractiveToolWindow|ButtonText">
<source>C# Interactive</source>
<target state="translated">C# インタラクティブ</target>
<note />
</trans-unit>
</body>
</file>
</xliff> | -1 |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.