Skip to content

Commit 9487f08

Browse files
author
Unity Technologies
committed
Unity 2021.2.0a9 C# reference source code
1 parent 5241b65 commit 9487f08

File tree

97 files changed

+1987
-693
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+1987
-693
lines changed
Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4+
<PropertyGroup>
5+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7+
<ProjectGuid>{236F6903-2F21-1CCA-571E-C6D1D859E1EA}</ProjectGuid>
8+
<OutputType>Library</OutputType>
9+
<RootNamespace>BeeBuildProgramCommon.Data</RootNamespace>
10+
<AssemblyName>BeeBuildProgramCommon.Data</AssemblyName>
11+
<FileAlignment>512</FileAlignment>
12+
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
13+
<LangVersion>latest</LangVersion>
14+
</PropertyGroup>
15+
<ItemGroup>
16+
<Compile Include="Data.cs" />
17+
</ItemGroup>
18+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
19+
<PlatformTarget>AnyCPU</PlatformTarget>
20+
<DebugSymbols>true</DebugSymbols>
21+
<DebugType>full</DebugType>
22+
<Optimize>false</Optimize>
23+
<OutputPath>..\..\..\artifacts\BeeBuildProgramCommon.Data.dll\Debug</OutputPath>
24+
<DefineConstants></DefineConstants>
25+
<ErrorReport>prompt</ErrorReport>
26+
<WarningLevel>4</WarningLevel>
27+
<NoWarn></NoWarn>
28+
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
29+
<Prefer32Bit>false</Prefer32Bit>
30+
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
31+
</PropertyGroup>
32+
<ItemGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
33+
<Reference Include="Microsoft.Build.Engine" />
34+
<Reference Include="Microsoft.Build.Framework" />
35+
<Reference Include="Microsoft.Build.Tasks.v4.0" />
36+
<Reference Include="Microsoft.Build.Utilities.v4.0" />
37+
<Reference Include="Microsoft.Build" />
38+
<Reference Include="Microsoft.CSharp" />
39+
<Reference Include="Microsoft.VisualBasic" />
40+
<Reference Include="Microsoft.VisualC" />
41+
<Reference Include="System.ComponentModel.Composition" />
42+
<Reference Include="System.ComponentModel.DataAnnotations" />
43+
<Reference Include="System.Configuration.Install" />
44+
<Reference Include="System.Configuration" />
45+
<Reference Include="System.Core" />
46+
<Reference Include="System.Data.DataSetExtensions" />
47+
<Reference Include="System.Data.Entity" />
48+
<Reference Include="System.Data.Linq" />
49+
<Reference Include="System.Data.OracleClient" />
50+
<Reference Include="System.Data.Services.Client" />
51+
<Reference Include="System.Data.Services" />
52+
<Reference Include="System.Data" />
53+
<Reference Include="System.Deployment" />
54+
<Reference Include="System.Design" />
55+
<Reference Include="System.DirectoryServices.Protocols" />
56+
<Reference Include="System.DirectoryServices" />
57+
<Reference Include="System.Drawing.Design" />
58+
<Reference Include="System.Drawing" />
59+
<Reference Include="System.Dynamic" />
60+
<Reference Include="System.EnterpriseServices" />
61+
<Reference Include="System.IO.Compression.FileSystem" />
62+
<Reference Include="System.IO.Compression" />
63+
<Reference Include="System.IdentityModel.Selectors" />
64+
<Reference Include="System.IdentityModel" />
65+
<Reference Include="System.Management" />
66+
<Reference Include="System.Messaging" />
67+
<Reference Include="System.Net.Http.WebRequest" />
68+
<Reference Include="System.Net.Http" />
69+
<Reference Include="System.Net" />
70+
<Reference Include="System.Numerics" />
71+
<Reference Include="System.Reflection.Context" />
72+
<Reference Include="System.Runtime.Caching" />
73+
<Reference Include="System.Runtime.DurableInstancing" />
74+
<Reference Include="System.Runtime.InteropServices.RuntimeInformation" />
75+
<Reference Include="System.Runtime.Remoting" />
76+
<Reference Include="System.Runtime.Serialization.Formatters.Soap" />
77+
<Reference Include="System.Runtime.Serialization" />
78+
<Reference Include="System.Security" />
79+
<Reference Include="System.ServiceModel.Activation" />
80+
<Reference Include="System.ServiceModel.Discovery" />
81+
<Reference Include="System.ServiceModel.Internals" />
82+
<Reference Include="System.ServiceModel.Routing" />
83+
<Reference Include="System.ServiceModel.Web" />
84+
<Reference Include="System.ServiceModel" />
85+
<Reference Include="System.ServiceProcess" />
86+
<Reference Include="System.Transactions" />
87+
<Reference Include="System.Web.Abstractions" />
88+
<Reference Include="System.Web.ApplicationServices" />
89+
<Reference Include="System.Web.DynamicData" />
90+
<Reference Include="System.Web.Extensions.Design" />
91+
<Reference Include="System.Web.Extensions" />
92+
<Reference Include="System.Web.Mobile" />
93+
<Reference Include="System.Web.RegularExpressions" />
94+
<Reference Include="System.Web.Routing" />
95+
<Reference Include="System.Web.Services" />
96+
<Reference Include="System.Web" />
97+
<Reference Include="System.Windows.Forms.DataVisualization" />
98+
<Reference Include="System.Windows.Forms" />
99+
<Reference Include="System.Windows" />
100+
<Reference Include="System.Workflow.Activities" />
101+
<Reference Include="System.Workflow.ComponentModel" />
102+
<Reference Include="System.Workflow.Runtime" />
103+
<Reference Include="System.Xaml" />
104+
<Reference Include="System.Xml.Linq" />
105+
<Reference Include="System.Xml.Serialization" />
106+
<Reference Include="System.Xml" />
107+
<Reference Include="System" />
108+
<Reference Include="WindowsBase" />
109+
<Reference Include="mscorlib" />
110+
</ItemGroup>
111+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
112+
<Target Name="GenerateTargetFrameworkMonikerAttribute" />
113+
</Project>
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
// Unity C# reference source
2+
// Copyright (c) Unity Technologies. For terms of use, see
3+
// https://unity3d.com/legal/licenses/Unity_Reference_Only_License
4+
5+
namespace BeeBuildProgramCommon.Data
6+
{
7+
public class PackageInfo
8+
{
9+
public string Name;
10+
public string ResolvedPath;
11+
public bool Immutable;
12+
}
13+
14+
public class ConfigurationData
15+
{
16+
public string Il2CppDir;
17+
public string NetCoreRunPath;
18+
public string EditorContentsPath;
19+
public string ProjectDirectory;
20+
public PackageInfo[] Packages;
21+
public string UnityVersion;
22+
public string UnitySourceCodePath;
23+
}
24+
}
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
// Unity C# reference source
2+
// Copyright (c) Unity Technologies. For terms of use, see
3+
// https://unity3d.com/legal/licenses/Unity_Reference_Only_License
4+
5+
namespace PlayerBuildProgramLibrary.Data
6+
{
7+
public class Plugin
8+
{
9+
public string AssetPath;
10+
public string DestinationPath;
11+
}
12+
13+
public class PluginsData
14+
{
15+
public Plugin[] Plugins = new Plugin[0];
16+
}
17+
18+
public class PlayerBuildConfig
19+
{
20+
public string DestinationPath;
21+
public string StagingArea;
22+
public string DataFolder;
23+
public string CompanyName;
24+
public string ProductName;
25+
public string PlayerPackage;
26+
public string ApplicationIdentifier;
27+
public string Architecture;
28+
public bool UseIl2Cpp;
29+
public bool InstallIntoBuildsFolder;
30+
public bool GenerateIdeProject;
31+
public bool Development;
32+
}
33+
34+
public class BuiltFilesOutput
35+
{
36+
public string[] Files = new string[0];
37+
}
38+
39+
public class LinkerConfig
40+
{
41+
public string[] LinkXmlFiles = new string[0];
42+
public string[] AssembliesToProcess = new string[0];
43+
public string[] SearchDirectories = new string[0];
44+
public string EditorToLinkerData;
45+
public string Runtime;
46+
public string Profile;
47+
public string Ruleset;
48+
public string ModulesAssetPath;
49+
public string[] AdditionalArgs = new string[0];
50+
public bool AllowDebugging;
51+
public bool PerformEngineStripping;
52+
public string[] EngineStrippingFlags = new string[0];
53+
}
54+
55+
public class Il2CppConfig
56+
{
57+
public bool EnableDeepProfilingSupport;
58+
public string Profile;
59+
60+
public string ConfigurationName;
61+
public bool GcWBarrierValidation;
62+
public bool GcIncremental;
63+
64+
public string[] AdditionalCppFiles = new string[0];
65+
public string[] AdditionalArgs = new string[0];
66+
public string ExtraTypes;
67+
public bool CreateSymbolFiles;
68+
}
69+
}
Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4+
<PropertyGroup>
5+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7+
<ProjectGuid>{0B340C5C-3844-3B45-E3FD-DA591C333973}</ProjectGuid>
8+
<OutputType>Library</OutputType>
9+
<RootNamespace>PlayerBuildProgramLibrary.Data</RootNamespace>
10+
<AssemblyName>PlayerBuildProgramLibrary.Data</AssemblyName>
11+
<FileAlignment>512</FileAlignment>
12+
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
13+
<LangVersion>latest</LangVersion>
14+
</PropertyGroup>
15+
<ItemGroup>
16+
<Compile Include="Data.cs" />
17+
</ItemGroup>
18+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
19+
<PlatformTarget>AnyCPU</PlatformTarget>
20+
<DebugSymbols>true</DebugSymbols>
21+
<DebugType>full</DebugType>
22+
<Optimize>false</Optimize>
23+
<OutputPath>..\..\..\artifacts\PlayerBuildProgramLibrary.Data.dll\Debug</OutputPath>
24+
<DefineConstants></DefineConstants>
25+
<ErrorReport>prompt</ErrorReport>
26+
<WarningLevel>4</WarningLevel>
27+
<NoWarn></NoWarn>
28+
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
29+
<Prefer32Bit>false</Prefer32Bit>
30+
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
31+
</PropertyGroup>
32+
<ItemGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
33+
<Reference Include="Microsoft.Build.Engine" />
34+
<Reference Include="Microsoft.Build.Framework" />
35+
<Reference Include="Microsoft.Build.Tasks.v4.0" />
36+
<Reference Include="Microsoft.Build.Utilities.v4.0" />
37+
<Reference Include="Microsoft.Build" />
38+
<Reference Include="Microsoft.CSharp" />
39+
<Reference Include="Microsoft.VisualBasic" />
40+
<Reference Include="Microsoft.VisualC" />
41+
<Reference Include="System.ComponentModel.Composition" />
42+
<Reference Include="System.ComponentModel.DataAnnotations" />
43+
<Reference Include="System.Configuration.Install" />
44+
<Reference Include="System.Configuration" />
45+
<Reference Include="System.Core" />
46+
<Reference Include="System.Data.DataSetExtensions" />
47+
<Reference Include="System.Data.Entity" />
48+
<Reference Include="System.Data.Linq" />
49+
<Reference Include="System.Data.OracleClient" />
50+
<Reference Include="System.Data.Services.Client" />
51+
<Reference Include="System.Data.Services" />
52+
<Reference Include="System.Data" />
53+
<Reference Include="System.Deployment" />
54+
<Reference Include="System.Design" />
55+
<Reference Include="System.DirectoryServices.Protocols" />
56+
<Reference Include="System.DirectoryServices" />
57+
<Reference Include="System.Drawing.Design" />
58+
<Reference Include="System.Drawing" />
59+
<Reference Include="System.Dynamic" />
60+
<Reference Include="System.EnterpriseServices" />
61+
<Reference Include="System.IO.Compression.FileSystem" />
62+
<Reference Include="System.IO.Compression" />
63+
<Reference Include="System.IdentityModel.Selectors" />
64+
<Reference Include="System.IdentityModel" />
65+
<Reference Include="System.Management" />
66+
<Reference Include="System.Messaging" />
67+
<Reference Include="System.Net.Http.WebRequest" />
68+
<Reference Include="System.Net.Http" />
69+
<Reference Include="System.Net" />
70+
<Reference Include="System.Numerics" />
71+
<Reference Include="System.Reflection.Context" />
72+
<Reference Include="System.Runtime.Caching" />
73+
<Reference Include="System.Runtime.DurableInstancing" />
74+
<Reference Include="System.Runtime.InteropServices.RuntimeInformation" />
75+
<Reference Include="System.Runtime.Remoting" />
76+
<Reference Include="System.Runtime.Serialization.Formatters.Soap" />
77+
<Reference Include="System.Runtime.Serialization" />
78+
<Reference Include="System.Security" />
79+
<Reference Include="System.ServiceModel.Activation" />
80+
<Reference Include="System.ServiceModel.Discovery" />
81+
<Reference Include="System.ServiceModel.Internals" />
82+
<Reference Include="System.ServiceModel.Routing" />
83+
<Reference Include="System.ServiceModel.Web" />
84+
<Reference Include="System.ServiceModel" />
85+
<Reference Include="System.ServiceProcess" />
86+
<Reference Include="System.Transactions" />
87+
<Reference Include="System.Web.Abstractions" />
88+
<Reference Include="System.Web.ApplicationServices" />
89+
<Reference Include="System.Web.DynamicData" />
90+
<Reference Include="System.Web.Extensions.Design" />
91+
<Reference Include="System.Web.Extensions" />
92+
<Reference Include="System.Web.Mobile" />
93+
<Reference Include="System.Web.RegularExpressions" />
94+
<Reference Include="System.Web.Routing" />
95+
<Reference Include="System.Web.Services" />
96+
<Reference Include="System.Web" />
97+
<Reference Include="System.Windows.Forms.DataVisualization" />
98+
<Reference Include="System.Windows.Forms" />
99+
<Reference Include="System.Windows" />
100+
<Reference Include="System.Workflow.Activities" />
101+
<Reference Include="System.Workflow.ComponentModel" />
102+
<Reference Include="System.Workflow.Runtime" />
103+
<Reference Include="System.Xaml" />
104+
<Reference Include="System.Xml.Linq" />
105+
<Reference Include="System.Xml.Serialization" />
106+
<Reference Include="System.Xml" />
107+
<Reference Include="System" />
108+
<Reference Include="WindowsBase" />
109+
<Reference Include="mscorlib" />
110+
<ProjectReference Include="..\BeeBuildProgramCommon.Data\BeeBuildProgramCommon.Data.gen.csproj">
111+
<Project>{236F6903-2F21-1CCA-571E-C6D1D859E1EA}</Project>
112+
<Name>BeeBuildProgramCommon.Data</Name>
113+
</ProjectReference>
114+
</ItemGroup>
115+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
116+
<Target Name="GenerateTargetFrameworkMonikerAttribute" />
117+
</Project>
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
// Unity C# reference source
2+
// Copyright (c) Unity Technologies. For terms of use, see
3+
// https://unity3d.com/legal/licenses/Unity_Reference_Only_License
4+
5+
namespace ScriptCompilationBuildProgram.Data
6+
{
7+
public static class Constants
8+
{
9+
public const string ScriptAssembliesTarget = "ScriptAssemblies";
10+
public const string MovedFromExtension = "movedfrom";
11+
}
12+
13+
public class ScriptCompilationData
14+
{
15+
public AssemblyData[] Assemblies;
16+
public AssemblyData[] CodegenAssemblies;
17+
public string DotnetRuntimePath;
18+
public string DotnetRoslynPath;
19+
public string MovedFromExtractorPath;
20+
public string OutputDirectory;
21+
public bool Debug;
22+
public string BuildTarget;
23+
public string Localization;
24+
}
25+
26+
public class AssemblyData
27+
{
28+
public string Name;
29+
public string[] SourceFiles = new string[0];
30+
public string[] Defines = new string[0];
31+
public string[] PrebuiltReferences = new string[0];
32+
public int[] References = new int[0];
33+
public bool AllowUnsafeCode;
34+
public string RuleSet;
35+
public string LanguageVersion;
36+
public bool UseDeterministicCompilation;
37+
public string[] Analyzers = new string[0];
38+
public string Asmdef;
39+
public string[] BclDirectories = new string[0];
40+
public string[] CustomCompilerOptions = new string[0];
41+
public int DebugIndex;
42+
}
43+
44+
public class ScriptCompilationData_Out
45+
{
46+
public AssemblyData_Out[] Assemblies;
47+
}
48+
49+
public class AssemblyData_Out
50+
{
51+
public string Path;
52+
public string ScriptUpdaterRsp;
53+
public string MovedFromExtractorFile;
54+
}
55+
}

0 commit comments

Comments
 (0)