16 references to VariableDeclarator
Microsoft.Analyzers.Extra.Tests (2)
SyntaxNodeExtensionsTests.cs (2)
21var node = SyntaxFactory.VariableDeclarator("v"); 99var node = SyntaxFactory.VariableDeclarator("v");
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
548[SyntaxFactory.VariableDeclarator(name)]));
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
CodeGeneration\SyntaxGeneratorTests.cs (1)
4161Generator.ReplaceNode(declC, declX.GetAncestorOrThis<VariableDeclaratorSyntax>(), VariableDeclarator("Q")),
Microsoft.Interop.ComInterfaceGenerator (7)
ComClassGenerator.cs (1)
91SingletonSeparatedList(VariableDeclarator(vtablesField))))
ComInterfaceGenerator.cs (6)
618.AddVariables(VariableDeclarator("QueryInterface_0"))) 632.AddVariables(VariableDeclarator("AddRef_1"))) 646.AddVariables(VariableDeclarator("Release_2"))) 673.AddVariables(VariableDeclarator($"{inheritedMethod.MethodInfo.MethodName}_{inheritedMethod.GenerationContext.VtableIndexData.Index}"))) 690.AddVariables(VariableDeclarator($"{declaredMethod.MethodInfo.MethodName}_{declaredMethod.GenerationContext.VtableIndexData.Index}"))) 838.AddVariables(VariableDeclarator("Vtable")))
Microsoft.Interop.SourceGeneration (5)
Marshalling\CharMarshaller.cs (1)
72VariableDeclarator(nativeIdentifier)
Marshalling\StatefulMarshallingStrategy.cs (1)
159VariableDeclarator(unusedIdentifier)
Marshalling\StatelessMarshallingStrategy.cs (2)
177VariableDeclarator(bufferIdentifier) 426VariableDeclarator(numElementsIdentifier))));
Utils\SyntaxFactoryExtensions.cs (1)
30VariableDeclaratorSyntax decl = VariableDeclarator(identifier);