| File: RoslynCodeTaskFactory\RoslynCodeTaskFactoryCodeType.cs | Web Access |
| Project: src\msbuild\src\Tasks\Microsoft.Build.Tasks.csproj (Microsoft.Build.Tasks.Core) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.Build.Tasks { /// <summary> /// Represents the kind of code contained in the code task definition. /// </summary> internal enum RoslynCodeTaskFactoryCodeType { /// <summary> /// The code is a fragment and should be included within a method. /// </summary> Fragment, /// <summary> /// The code is a method and should be included within a class. /// </summary> Method, /// <summary> /// The code is a whole class and no modifications should be made to it. /// </summary> Class, } }