50 references to Name
Microsoft.CodeAnalysis.VisualBasic (43)
Binding\Binder_Attributes.vb (14)
48
Return DirectCast(binder.BindTypeSyntax(attribute.
Name
, diagnostics), NamedTypeSymbol)
115
Dim namedType As NamedTypeSymbol = DirectCast(BindTypeSyntax(node.
Name
, diagnostics), NamedTypeSymbol)
286
Dim constructorsGroup = New BoundMethodGroup(node.
Name
, Nothing, accessibleConstructors, LookupResultKind.Good, Nothing, QualificationKind.QualifiedViaTypeName)
288
Dim results As OverloadResolution.OverloadResolutionResult = OverloadResolution.MethodInvocationOverloadResolution(constructorsGroup, boundArguments, Nothing, Me, callerInfoOpt:=node.
Name
,
291
If diagnostics.Add(node.
Name
, useSiteInfo) Then
303
results = OverloadResolution.MethodInvocationOverloadResolution(constructorsGroup, boundArguments, Nothing, Me, includeEliminatedCandidates:=True, callerInfoOpt:=node.
Name
,
314
boundArguments, Nothing, results, diagnostics, callerInfoOpt:=node.
Name
)
327
ReportDiagnostic(diagnostics, node.
Name
, ERRID.ERR_BadAttributeConstructor1, param.Type)
330
ReportDiagnostic(diagnostics, node.
Name
, ERRID.ERR_BadAttributeConstructor2, param.Type)
336
ReportDiagnostic(diagnostics, node.
Name
, ERRID.ERR_BadAttributeNonPublicType1, param.Type)
343
ReportDiagnostic(diagnostics, node.
Name
, ERRID.ERR_BadAttributeNonPublicContType2, param.Type, container)
350
CheckRequiredMembersInObjectInitializer(methodSym, methodSym.ContainingType, boundNamedArguments, node.
Name
, diagnostics)
355
Dim argumentInfo As (Arguments As ImmutableArray(Of BoundExpression), DefaultArguments As BitVector) = PassArguments(node.
Name
, methodResult, boundArguments, diagnostics)
361
ReportDiagnostic(diagnostics, node.
Name
, ERRID.ERR_BadAttributeNonPublicConstructor)
Errors\MessageProvider.vb (2)
515
diagnostics.Add(ERRID.ERR_AttributeParameterRequired1, node.
Name
.GetLocation(), parameterName)
520
diagnostics.Add(ERRID.ERR_AttributeParameterRequired2, node.
Name
.GetLocation(), parameterName1, parameterName2)
Generated\Syntax.xml.Main.Generated.vb (2)
2659
Dim newName = DirectCast(Visit(node.
Name
), TypeSyntax)
2660
If node.
Name
IsNot newName Then anyChanges = True
Generated\Syntax.xml.Syntax.Generated.vb (4)
12184
return Update(target, Me.
Name
, Me.ArgumentList)
12223
return Update(Me.Target, Me.
Name
, argumentList)
12249
Return Me.
Name
12280
If target IsNot Me.Target OrElse name IsNot Me.
Name
OrElse argumentList IsNot Me.ArgumentList Then
Symbols\Attributes\AttributeData.vb (2)
240
diagnostics.Add(If(nodeOpt IsNot Nothing, nodeOpt.
Name
.GetLocation, NoLocation.Singleton), useSiteInfo)
245
If(nodeOpt IsNot Nothing, nodeOpt.
Name
.GetLocation, NoLocation.Singleton))
Symbols\Source\QuickAttributeChecker.vb (1)
98
Dim attrTypeSyntax = attr.
Name
Symbols\Source\SourceMethodSymbol.vb (7)
1810
diagnostics.Add(ERRID.ERR_DllImportNotLegalOnDeclare, syntax.
Name
.GetLocation())
1814
diagnostics.Add(ERRID.ERR_DllImportNotLegalOnGetOrSet, syntax.
Name
.GetLocation())
1818
diagnostics.Add(ERRID.ERR_DllImportNotLegalOnEventMethod, syntax.
Name
.GetLocation())
1823
diagnostics.Add(ERRID.ERR_DllImportOnInterfaceMethod, syntax.
Name
.GetLocation())
1828
diagnostics.Add(ERRID.ERR_DllImportOnGenericSubOrFunction, syntax.
Name
.GetLocation())
1833
diagnostics.Add(ERRID.ERR_DllImportOnInstanceMethod, syntax.
Name
.GetLocation())
1852
diagnostics.Add(ERRID.ERR_DllImportOnNonEmptySubOrFunction, syntax.
Name
.GetLocation())
Symbols\Symbol_Attributes.vb (8)
542
diagnostics.Add(ERRID.ERR_InvalidAssemblyAttribute1, node.
Name
.GetLocation, CustomSymbolDisplayFormatter.ShortErrorName(attributeType))
545
diagnostics.Add(ERRID.ERR_InvalidModuleAttribute1, node.
Name
.GetLocation, CustomSymbolDisplayFormatter.ShortErrorName(attributeType))
555
diagnostics.Add(ERRID.ERR_InvalidAttributeUsageOnAccessor, node.
Name
.GetLocation,
562
diagnostics.Add(ERRID.ERR_InvalidAttributeUsage2, node.
Name
.GetLocation,
574
diagnostics.Add(ERRID.ERR_InvalidAttributeUsage2, node.
Name
.GetLocation, CustomSymbolDisplayFormatter.ShortErrorName(attributeType), ownerName)
577
diagnostics.Add(ERRID.ERR_InvalidAttributeUsage2, node.
Name
.GetLocation, CustomSymbolDisplayFormatter.ShortErrorName(attributeType),
581
diagnostics.Add(ERRID.ERR_InvalidAttributeUsage2, node.
Name
.GetLocation, CustomSymbolDisplayFormatter.ShortErrorName(attributeType),
594
diagnostics.Add(ERRID.ERR_SecurityAttributeInvalidTarget, node.
Name
.GetLocation, CustomSymbolDisplayFormatter.ShortErrorName(attributeType))
Syntax\SyntaxFacts.vb (3)
99
Return DirectCast(parent, AttributeSyntax).
Name
Is node
646
If attribute.
Name
Is node Then
650
Dim name As QualifiedNameSyntax = TryCast(attribute.
Name
, QualifiedNameSyntax)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicSyntaxFacts.vb (1)
1758
name = attribute.
Name
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
src\roslyn\src\Analyzers\VisualBasic\CodeFixes\GenerateConstructor\GenerateConstructorCodeFixProvider.vb (1)
50
Return attribute.
Name
Microsoft.CodeAnalysis.VisualBasic.Features (1)
src\roslyn\src\Analyzers\VisualBasic\CodeFixes\GenerateConstructor\GenerateConstructorCodeFixProvider.vb (1)
50
Return attribute.
Name
Microsoft.CodeAnalysis.VisualBasic.NetAnalyzers (1)
Microsoft.NetCore.Analyzers\Resources\BasicMarkAssembliesWithNeutralResourcesLanguage.vb (1)
37
Return (attribute?.
Name
?.GetLastToken().Text.Equals(GeneratedCodeAttribute, StringComparison.Ordinal) = True AndAlso
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicSyntaxFacts.vb (1)
1758
name = attribute.
Name
Roslyn.Diagnostics.VisualBasic.Analyzers (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Services\SyntaxFacts\VisualBasicSyntaxFacts.vb (1)
1758
name = attribute.
Name
System.Windows.Forms.Analyzers.CodeFixes.VisualBasic (1)
AddDesignerSerializationVisibility\AddDesignerSerializationVisibilityCodeFixProvider.vb (1)
79
Function(a) a.
Name
.ToString() = DesignerSerializationVisibilityAttributeName) Then