wip: DisposableGenerator

This commit is contained in:
hypercross 2025-10-06 12:13:08 +08:00
parent 4497f33ccc
commit 1b0bfa0a58
8 changed files with 107 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,59 @@
fileFormatVersion: 2
guid: 8bf509d46045e354e891fc10bf70c25b
labels:
- RoslynAnalyzer
PluginImporter:
externalObjects: {}
serializedVersion: 3
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 1
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
Android:
enabled: 0
settings:
AndroidLibraryDependee: UnityLibrary
AndroidSharedLibraryType: Executable
CPU: ARMv7
Any:
enabled: 0
settings:
Exclude Android: 1
Exclude Editor: 1
Exclude Linux64: 1
Exclude OSXUniversal: 1
Exclude Win: 1
Exclude Win64: 1
Editor:
enabled: 0
settings:
CPU: AnyCPU
DefaultValueInitialized: true
OS: AnyOS
Linux64:
enabled: 0
settings:
CPU: None
OSXUniversal:
enabled: 0
settings:
CPU: None
Win:
enabled: 0
settings:
CPU: None
Win64:
enabled: 0
settings:
CPU: None
WindowsStoreApps:
enabled: 0
settings:
CPU: AnyCPU
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,14 @@
{
"name": "DisposableGeneratorAttributes",
"rootNamespace": "",
"references": [],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": false
}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 734b2e0bb38eef8428eec13e7f740776
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,9 @@
using System;
namespace DisposableGenerator
{
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
public class GenerateDisableCancellationTokenAttribute : Attribute
{
}
}

View File

@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 98ef9da9ca2dfa445bd3ea67501c6f79

View File

@ -0,0 +1,9 @@
{
"name": "disposablegenerator",
"displayName": "DisposableGenerator",
"version": "1.0.0",
"unity": "2022.3",
"keywords": [
],
"category": "Unity"
}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 9f15f2de891ff1b4aacc33a88195c313
PackageManifestImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant: