' Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.ImportsSystem.Collections.ImmutableImportsMicrosoft.CodeAnalysis.VisualBasicNamespaceMicrosoft.CodeAnalysis.Diagnostics.VisualBasic''' <summary>''' DiagnosticAnalyzer for VB compiler's syntax/semantic/compilation diagnostics.''' </summary><DiagnosticAnalyzer(LanguageNames.VisualBasic)>FriendClassVisualBasicCompilerDiagnosticAnalyzerInheritsCompilerDiagnosticAnalyzerFriendOverridesReadOnlyPropertyMessageProviderAsCommonMessageProviderGetReturnCodeAnalysis.VisualBasic.MessageProvider.InstanceEndGetEndPropertyFriendOverridesFunctionGetSupportedErrorCodes()AsImmutableArray(OfInteger)DimerrorCodesAsArray=[Enum].GetValues(GetType(ERRID))Dimbuilder=ImmutableArray.CreateBuilder(OfInteger)ForEacherrorCodeAsIntegerInerrorCodesIferrorCode>ERRID.ERR_NoneAndAlsoerrorCode<ERRID.FEATUREID_FirstThenbuilder.Add(errorCode)EndIfNextReturnbuilder.ToImmutableEndFunctionEndClassEndNamespace