# Runtime\_CompilerServices\_CallerLineNumberAttribute

***

1. **Get the line number of the caller:**

   ```csharp
   [Runtime_CompilerServices.CallerLineNumber]
   public int GetLineNumber()
   {
       return 0;
   }
   ```
2. **Get the file name of the caller:**

   ```csharp
   [Runtime_CompilerServices.CallerFilePath]
   public string GetFileName()
   {
       return null;
   }
   ```
3. **Get the method name of the caller:**

   ```csharp
   [Runtime_CompilerServices.CallerMemberName]
   public string GetMethodName()
   {
       return null;
   }
   ```
4. **Get the type name of the caller:**

   ```csharp
   [Runtime_CompilerServices.CallerTypeName]
   public string GetTypeName()
   {
       return null;
   }
   ```
5. **Get the assembly name of the caller:**

   ```csharp
   [Runtime_CompilerServices.CompilationRelaxations]
   public string GetAssemblyName()
   {
       return null;
   }
   ```
6. **Get the module name of the caller:**

   ```csharp
   [Runtime_CompilerServices.CompilationRelaxations]
   public string GetModuleName()
   {
       return null;
   }
   ```
7. **Get the full path of the caller:**

   ```csharp
   [Runtime_CompilerServices.CompilationRelaxations]
   public string GetFullPath()
   {
       return null;
   }
   ```
8. **Get the line number of the caller in a specific file:**

   ```csharp
   [Runtime_CompilerServices.CallerLineNumber]
   public int GetLineNumber(string fileName)
   {
       return 0;
   }
   ```
9. **Get the file name of the caller in a specific directory:**

   ```csharp
   [Runtime_CompilerServices.CallerFilePath]
   public string GetFileName(string directoryName)
   {
       return null;
   }
   ```
10. **Get the method name of the caller in a specific class:**

```csharp
[Runtime_CompilerServices.CallerMemberName]
public string GetMethodName(string className)
{
    return null;
}
```

11. **Get the type name of the caller in a specific assembly:**

```csharp
[Runtime_CompilerServices.CallerTypeName]
public string GetTypeName(string assemblyName)
{
    return null;
}
```

12. **Get the assembly name of the caller in a specific directory:**

```csharp
[Runtime_CompilerServices.CompilationRelaxations]
public string GetAssemblyName(string directoryName)
{
    return null;
}
```

13. **Get the module name of the caller in a specific file:**

```csharp
[Runtime_CompilerServices.CompilationRelaxations]
public string GetModuleName(string fileName)
{
    return null;
}
```

14. **Get the full path of the caller in a specific directory:**

```csharp
[Runtime_CompilerServices.CompilationRelaxations]
public string GetFullPath(string directoryName)
{
    return null;
}
```

15. **Get the line number of the caller in a specific file and directory:**

```csharp
[Runtime_CompilerServices.CallerLineNumber]
public int GetLineNumber(string fileName, string directoryName)
{
    return 0;
}
```

16. **Get the file name of the caller in a specific directory and assembly:**

```csharp
[Runtime_CompilerServices.CallerFilePath]
public string GetFileName(string directoryName, string assemblyName)
{
    return null;
}
```

17. **Get the method name of the caller in a specific class and assembly:**

```csharp
[Runtime_CompilerServices.CallerMemberName]
public string GetMethodName(string className, string assemblyName)
{
    return null;
}
```

18. **Get the type name of the caller in a specific assembly and directory:**

```csharp
[Runtime_CompilerServices.CallerTypeName]
public string GetTypeName(string assemblyName, string directoryName)
{
    return null;
}
```

19. **Get the assembly name of the caller in a specific directory and file:**

```csharp
[Runtime_CompilerServices.CompilationRelaxations]
public string GetAssemblyName(string directoryName, string fileName)
{
    return null;
}
```

20. **Get the module name of the caller in a specific file and assembly:**

```csharp
[Runtime_CompilerServices.CompilationRelaxations]
public string GetModuleName(string fileName, string assemblyName)
{
    return null;
}
```

21. **Get the full path of the caller in a specific directory, file, and assembly:**

```csharp
[Runtime_CompilerServices.CompilationRelaxations]
public string GetFullPath(string directoryName, string fileName, string assemblyName)
{
    return null;
}
```

22. **Get the line number of the caller in a specific file, directory, and assembly:**

```csharp
[Runtime_CompilerServices.CallerLineNumber]
public int GetLineNumber(string fileName, string directoryName, string assemblyName)
{
    return 0;
}
```

23. **Get the file name of the caller in a specific directory, file, and assembly:**

```csharp
[Runtime_CompilerServices.CallerFilePath]
public string GetFileName(string directoryName, string fileName, string assemblyName)
{
    return null;
}
```

24. **Get the method name of the caller in a specific class, directory, and assembly:**

```csharp
[Runtime_CompilerServices.CallerMemberName]
public string GetMethodName(string className, string directoryName, string assemblyName)
{
    return null;
}
```

25. **Get the type name of the caller in a specific assembly, directory, and file:**

```csharp
[Runtime_CompilerServices.CallerTypeName]
public string GetTypeName(string assemblyName, string directoryName, string fileName)
{
    return null;
}
```

26. **Get the assembly name of the caller in a specific directory, file, and class:**

```csharp
[Runtime_CompilerServices.CompilationRelaxations]
public string GetAssemblyName(string directoryName, string fileName, string className)
{
    return null;
}
```

27. **Get the module name of the caller in a specific file, assembly, and class:**

```csharp
[Runtime_CompilerServices.CompilationRelaxations]
public string GetModuleName(string fileName, string assemblyName, string className)
{
    return null;
}
```

28. **Get the full path of the caller in a specific directory, file, assembly, and class:**

```csharp
[Runtime_CompilerServices.CompilationRelaxations]
public string GetFullPath(string directoryName, string fileName, string assemblyName, string className)
{
    return null;
}
```

29. **Get the line number of the caller in a specific file, directory, assembly, and class:**

```csharp
[Runtime_CompilerServices.CallerLineNumber]
public int GetLineNumber(string fileName, string directoryName, string assemblyName, string className)
{
    return 0;
}
```

30. \*\*Get the file name of the caller in a specific d
