Merge pull request #87253 from van800/van800/analyser
Provide a roslyn analyzers corresponding to the GD0001 and GD0002
This commit is contained in:
commit
c6d091e0f3
15 changed files with 230 additions and 76 deletions
|
|
@ -0,0 +1,6 @@
|
|||
using Godot;
|
||||
|
||||
public class {|GD0001:ClassPartialModifier|} : Node
|
||||
{
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
using Godot;
|
||||
|
||||
public class {|GD0002:OuterOuterClassPartialModifierAnalyzer|}
|
||||
{
|
||||
public class {|GD0002:OuterClassPartialModifierAnalyzer|}
|
||||
{
|
||||
// MyNode is contained in a non-partial type so the source generators
|
||||
// can't enhance this type to work with Godot.
|
||||
public partial class MyNode : Node { }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue