Solution.RemoveAnalyzerReference 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
RemoveAnalyzerReference(AnalyzerReference) |
创建一个新的解决方案实例,其中指定的项目已更新为不再包含指定的分析器引用。 |
RemoveAnalyzerReference(ProjectId, AnalyzerReference) |
创建一个新的解决方案实例,其中指定的项目已更新为不再包含指定的分析器引用。 |
RemoveAnalyzerReference(AnalyzerReference)
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
创建一个新的解决方案实例,其中指定的项目已更新为不再包含指定的分析器引用。
public Microsoft.CodeAnalysis.Solution RemoveAnalyzerReference (Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference analyzerReference);
member this.RemoveAnalyzerReference : Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference -> Microsoft.CodeAnalysis.Solution
Public Function RemoveAnalyzerReference (analyzerReference As AnalyzerReference) As Solution
参数
- analyzerReference
- AnalyzerReference
返回
例外
analyzerReference
上声明的默认值为 null
。
解决方案不包含指定的引用。
适用于
RemoveAnalyzerReference(ProjectId, AnalyzerReference)
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
- Source:
- Solution.cs
创建一个新的解决方案实例,其中指定的项目已更新为不再包含指定的分析器引用。
public:
Microsoft::CodeAnalysis::Solution ^ RemoveAnalyzerReference(Microsoft::CodeAnalysis::ProjectId ^ projectId, Microsoft::CodeAnalysis::Diagnostics::AnalyzerReference ^ analyzerReference);
public Microsoft.CodeAnalysis.Solution RemoveAnalyzerReference (Microsoft.CodeAnalysis.ProjectId projectId, Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference analyzerReference);
member this.RemoveAnalyzerReference : Microsoft.CodeAnalysis.ProjectId * Microsoft.CodeAnalysis.Diagnostics.AnalyzerReference -> Microsoft.CodeAnalysis.Solution
Public Function RemoveAnalyzerReference (projectId As ProjectId, analyzerReference As AnalyzerReference) As Solution
参数
- projectId
- ProjectId
- analyzerReference
- AnalyzerReference
返回
例外
analyzerReference
上声明的默认值为 null
。
项目不包含指定的引用。