/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Compilers/CSharp/Portable/Emitter/Model/CustomModifierAdapter.cs
25 строк
817 B
Jared Parsons
Fix #line directive in rebuild scenarios (#52960)
07 май 2021, 00:10
Не верифицирован
07 май 2021, 00:10
c42df4b
Код
Авторство
О чём код?
// 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.CSharp.Emit; using System.Diagnostics; using Microsoft.CodeAnalysis.Emit; namespace Microsoft.CodeAnalysis.CSharp.Symbols { internal partial class CSharpCustomModifier : Cci.ICustomModifier { bool Cci.ICustomModifier.IsOptional { get { return this.IsOptional; } } Cci.ITypeReference Cci.ICustomModifier.GetModifier(EmitContext context) { return ((PEModuleBuilder)context.Module).Translate(this.ModifierSymbol, (CSharpSyntaxNode)context.SyntaxNode, context.Diagnostics); } } }